* gnus-art.el, gnus.texi: buttons
@ 2003-03-31 20:40 Reiner Steib
2003-03-31 22:46 ` Xavier Maillard
2003-04-01 9:52 ` Vasily Korytov
0 siblings, 2 replies; 6+ messages in thread
From: Reiner Steib @ 2003-03-31 20:40 UTC (permalink / raw)
Hi,
I've committed some stuff concerning buttons in `gnus-art.el'. If you
see problems (e.g. false positives), please holler.
,----
| 2003-03-31 Reiner Steib <Reiner.Steib@gmx.de>
|
| * gnus-art.el (gnus-button-valid-fqdn-regexp): Use
| `message-valid-fqdn-regexp' for initialization.
| (gnus-button-handle-info-url): Renamed and extended version of
| `gnus-button-handle-info'.
| (gnus-button-message-level): Renamed from `gnus-button-mail-level'
| (gnus-button-handle-symbol, gnus-button-handle-library)
| (gnus-button-handle-info-keystrokes): New functions.
| (gnus-button-browse-level): New variable.
| (gnus-button-alist): Use them. Added levels.
| (gnus-header-button-alist): Added levels.
`----
In the manual (gnus.texi), I have added some stuff to (Info-goto-node
"(gnus)Article Buttons") and (info "(gnus)Article Button Levels"), a
new node. Does this make sense? Feel free to suggest corrections or
improvements?
Obviously, this is also a test posting, so here are more examples for
the new buttons:
- (setq gnus-button-emacs-level 9)
- If you set `gnus-button-emacs-level' (from `gnus-art.el') high
enough in this group, you'll see buttons in this sentence too. :-)
But to avoid false positives, this is not enabled by default.
- C-h i d m CC Mode RET, `f1 i m gnus RET', or <f1> i d m
Emacs-lisp-intro RET
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- PGP key available via WWW http://rsteib.home.pages.de/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: gnus-art.el, gnus.texi: buttons
2003-03-31 20:40 gnus-art.el, gnus.texi: buttons Reiner Steib
@ 2003-03-31 22:46 ` Xavier Maillard
2003-04-01 13:12 ` Reiner Steib
2003-04-01 9:52 ` Vasily Korytov
1 sibling, 1 reply; 6+ messages in thread
From: Xavier Maillard @ 2003-03-31 22:46 UTC (permalink / raw)
[-- Attachment #1: Type: text/plain, Size: 1754 bytes --]
On 31 mar 2003, Reiner Steib stated:
> Hi,
Yo :)
> I've committed some stuff concerning buttons in `gnus-art.el'. If
> you see problems (e.g. false positives), please holler.
>
> ,----
> > 2003-03-31 Reiner Steib <Reiner.Steib@gmx.de>
> >
> > * gnus-art.el (gnus-button-valid-fqdn-regexp): Use
> > `message-valid-fqdn-regexp' for initialization.
> > (gnus-button-handle-info-url): Renamed and extended version
> > of `gnus-button-handle-info'. (gnus-button-message-level):
> > Renamed from `gnus-button-mail-level'
> > (gnus-button-handle-symbol, gnus-button-handle-library)
> > (gnus-button-handle-info-keystrokes): New functions.
> > (gnus-button-browse-level): New variable.
> > (gnus-button-alist): Use them. Added levels.
> > (gnus-header-button-alist): Added levels.
> `----
>
> In the manual (gnus.texi), I have added some stuff to (Info-goto-node
> "(gnus)Article Buttons") and (info "(gnus)Article Button Levels"), a
> new node. Does this make sense? Feel free to suggest corrections or
> improvements?
>
> Obviously, this is also a test posting, so here are more examples for
> the new buttons:
Ah, maybe I should try it to see what it looks like before asking
questions ;)
> - (setq gnus-button-emacs-level 9)
>
> - If you set `gnus-button-emacs-level' (from `gnus-art.el') high
> enough in this group, you'll see buttons in this sentence too. :-)
> But to avoid false positives, this is not enabled by default.
Hmm I am not sure that I understand well the aim of this. Can you
explain me it please ?
zeDek
--
http://www.gnusfr.org -- French Gnus user site
Anti-war disclaimer:
"Bombing for peace is like fucking for virginity"
[-- Attachment #2: Type: application/pgp-signature, Size: 188 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: gnus-art.el, gnus.texi: buttons
2003-03-31 20:40 gnus-art.el, gnus.texi: buttons Reiner Steib
2003-03-31 22:46 ` Xavier Maillard
@ 2003-04-01 9:52 ` Vasily Korytov
2003-04-01 12:46 ` Reiner Steib
1 sibling, 1 reply; 6+ messages in thread
From: Vasily Korytov @ 2003-04-01 9:52 UTC (permalink / raw)
[-- Attachment #1: Type: text/plain, Size: 827 bytes --]
On 1 Apr 2003, Reiner Steib wrote:
> In the manual (gnus.texi), I have added some stuff to (Info-goto-node
> "(gnus)Article Buttons") and (info "(gnus)Article Button Levels"), a
> new node. Does this make sense? Feel free to suggest corrections or
> improvements?
I think, that's really nice.
But here are examples, that provide false positives. Maybe, we whould
really skip the cite prefix?
DD> (modify-coding-system-alist 'network 2628 'koi8-r) (setq
DD> dictionary-coding-systems-for-dictionaries '(("mueller" . koi8-r)))
>> (modify-coding-system-alist 'network 2628 'koi8-r) (setq
>> dictionary-coding-systems-for-dictionaries '(("mueller" . koi8-r)))
--
I accept RFC3156 and RFC2440-compatible encrypted mail.
PGP key fingerprint: 123A 7CCE 6E26 6233 0D87 E01A A0F8 3524 FCD8 1841
[-- Attachment #2: Type: application/pgp-signature, Size: 188 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: gnus-art.el, gnus.texi: buttons
2003-04-01 9:52 ` Vasily Korytov
@ 2003-04-01 12:46 ` Reiner Steib
2003-04-01 14:36 ` Reiner Steib
0 siblings, 1 reply; 6+ messages in thread
From: Reiner Steib @ 2003-04-01 12:46 UTC (permalink / raw)
On Tue, Apr 01 2003, Vasily Korytov wrote:
> On 1 Apr 2003, Reiner Steib wrote:
^^^^^^^^^^ In my time zone, it was "Mon, 31 Mar 2003 22:40:43",
when I wrote this. Is this intended behavior or a bug in your
`message-citation-line-function'? :-)
> I think, that's really nice.
> But here are examples, that provide false positives.
Thanks for the feedback. After the commit I noticed false positives
concerning `setq'[1] too, so I will change the rexexp and the level;
maybe like this:
("(setq[ \t\n]+\\([a-z][a-z0-9]+-[-a-z0-9]\\))"
1 (>= gnus-button-emacs-level 7) gnus-button-handle-describe-variable 1)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Note: The default for `gnus-button-*-level' is 5, i.e. this will
turned off by default. Should it be turned on, say with level 5?
Opinions?
> Maybe, we whould really skip the cite prefix?
> DD> (modify-coding-system-alist 'network 2628 'koi8-r) (setq
> DD> dictionary-coding-systems-for-dictionaries '(("mueller" . koi8-r)))
This should no longer produce a match after my change.
Bye, Reiner.
[1] E.g. in <news:un0jbmb53.fsf@xpediantsolutions.com>.
--
,,,
(o o)
---ooO-(_)-Ooo--- PGP key available via WWW http://rsteib.home.pages.de/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: gnus-art.el, gnus.texi: buttons
2003-03-31 22:46 ` Xavier Maillard
@ 2003-04-01 13:12 ` Reiner Steib
0 siblings, 0 replies; 6+ messages in thread
From: Reiner Steib @ 2003-04-01 13:12 UTC (permalink / raw)
On Tue, Apr 01 2003, Xavier Maillard wrote:
| Reply-To: ding@gnus.org
How are people supposed to reply to you by mail with this setting?
Please don't do this. Use Mail-Followup-To instead. Or read the list
from Gmane (gmane.emacs.gnus.general) and simply set Mail-Copies-To to
"nobody" or "never", which will be transformed to a suitable
Mail-Followup-To.
,----[ (Info-goto-node "(gnus)Group Parameters") ]
| `broken-reply-to'
| Elements like `(broken-reply-to . t)' signals that `Reply-To'
| headers in this group are to be ignored. This can be useful if
| you're reading a mailing list group where the listserv has inserted
| `Reply-To' headers that point back to the listserv itself. This is
| broken behavior. So there!
`----
> On 31 mar 2003, Reiner Steib stated:
[...]
>> In the manual (gnus.texi), I have added some stuff to (Info-goto-node
>> "(gnus)Article Buttons") [...]
> Ah, maybe I should try it to see what it looks like before asking
> questions ;)
Yes. :-)
> Hmm I am not sure that I understand well the aim of this. Can you
> explain me it please ?
What's wrong or unclear in the manual?
,----[ (Info-goto-node "(gnus)Article Buttons") ]
| People often include references to other stuff in articles, and it
| would be nice if Gnus could just fetch whatever it is that people talk
| about with the minimum of fuzz when you hit `RET' or use the middle
| mouse button on these references.
|
| Gnus adds "buttons" to certain standard references by default:
| Well-formed URLs, mail addresses, Message-IDs, Info links, man pages and
| Emacs or Gnus related references.
`----
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- PGP key available via WWW http://rsteib.home.pages.de/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: gnus-art.el, gnus.texi: buttons
2003-04-01 12:46 ` Reiner Steib
@ 2003-04-01 14:36 ` Reiner Steib
0 siblings, 0 replies; 6+ messages in thread
From: Reiner Steib @ 2003-04-01 14:36 UTC (permalink / raw)
On Tue, Apr 01 2003, Reiner Steib wrote:
> I will change the rexexp and the level; maybe like this:
> ("(setq[ \t\n]+\\([a-z][a-z0-9]+-[-a-z0-9]\\))"
Nonsense. Maybe ...
"(setq[ \t\n]+\\([a-z][a-z0-9]+-[-a-z0-9]+\\)[ \t\n]+.+)"
or
"(setq[ \t\n]+\\([a-z][a-z0-9]+-[-a-z0-9]+\\)[ \t\n]+['(\"a-z0-9]+.*)".
Hm.
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- PGP key available via WWW http://rsteib.home.pages.de/
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2003-04-01 14:36 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-31 20:40 gnus-art.el, gnus.texi: buttons Reiner Steib
2003-03-31 22:46 ` Xavier Maillard
2003-04-01 13:12 ` Reiner Steib
2003-04-01 9:52 ` Vasily Korytov
2003-04-01 12:46 ` Reiner Steib
2003-04-01 14:36 ` Reiner Steib
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).