* name of group
@ 2005-10-26 9:42 Uwe Brauer
2005-10-26 10:29 ` Reiner Steib
2005-10-26 16:15 ` Simon Josefsson
0 siblings, 2 replies; 6+ messages in thread
From: Uwe Brauer @ 2005-10-26 9:42 UTC (permalink / raw)
Hello
Does anybody know about a function which allows me to determine in
which group I am actually in. Right I just have to look at the
modeline, but does there exist a function or say a variable which
would give me that information?
Thanks
Uwe Brauer
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: name of group
2005-10-26 9:42 name of group Uwe Brauer
@ 2005-10-26 10:29 ` Reiner Steib
2005-10-26 11:47 ` Uwe Brauer
2005-10-26 16:15 ` Simon Josefsson
1 sibling, 1 reply; 6+ messages in thread
From: Reiner Steib @ 2005-10-26 10:29 UTC (permalink / raw)
On Wed, Oct 26 2005, Uwe Brauer wrote:
> Does anybody know about a function which allows me to determine in
> which group I am actually in. Right I just have to look at the
> modeline, but does there exist a function or say a variable which
> would give me that information?
The variable `gnus-newsgroup-name'.
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: name of group
2005-10-26 10:29 ` Reiner Steib
@ 2005-10-26 11:47 ` Uwe Brauer
2005-10-26 12:20 ` Reiner Steib
0 siblings, 1 reply; 6+ messages in thread
From: Uwe Brauer @ 2005-10-26 11:47 UTC (permalink / raw)
>>>>> "Reiner" == Reiner Steib <reinersteib+gmane@imap.cc> writes:
Reiner> The variable `gnus-newsgroup-name'.
Thanks, now I realized that there is no function which would allow me
to insert that name, given by the variable you mentioned above, as a
string into a buffer. Something like (current-buffer), which
unfortunately is a built-in function so no easy possibility to get an
idea how it works.
Thanks anyhow
Uwe
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: name of group
2005-10-26 11:47 ` Uwe Brauer
@ 2005-10-26 12:20 ` Reiner Steib
2005-10-26 13:10 ` Uwe Brauer
0 siblings, 1 reply; 6+ messages in thread
From: Reiner Steib @ 2005-10-26 12:20 UTC (permalink / raw)
On Wed, Oct 26 2005, Uwe Brauer wrote:
>>>>>> "Reiner" == Reiner Steib <reinersteib+gmane@imap.cc> writes:
>
> Reiner> The variable `gnus-newsgroup-name'.
>
> Thanks, now I realized that there is no function which would allow me
> to insert that name, given by the variable you mentioned above, as a
> string into a buffer.
I'm not sure if I understand what you want. Maybe...
(insert gnus-newsgroup-name)
or better (`gnus-newsgroup-name' might be nil and `insert' wants a
char or a string) ...
(insert (format "%s" gnus-newsgroup-name))
or...
(defun uwe-insert-gnus-newsgroup-name ()
(insert (format "%s" gnus-newsgroup-name)))
(uwe-insert-gnus-newsgroup-name)
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: name of group
2005-10-26 12:20 ` Reiner Steib
@ 2005-10-26 13:10 ` Uwe Brauer
0 siblings, 0 replies; 6+ messages in thread
From: Uwe Brauer @ 2005-10-26 13:10 UTC (permalink / raw)
>>>>> "Reiner" == Reiner Steib <reinersteib+gmane@imap.cc> writes:
Reiner> or better (`gnus-newsgroup-name' might be nil and `insert' wants a
Reiner> char or a string) ...
Right,
Reiner> (insert (format "%s" gnus-newsgroup-name))
This it was, I must say I did not understand the doc string of insert.
In any case *many thanks*, the above lines were precisely what I wanted.
Uwe
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: name of group
2005-10-26 9:42 name of group Uwe Brauer
2005-10-26 10:29 ` Reiner Steib
@ 2005-10-26 16:15 ` Simon Josefsson
1 sibling, 0 replies; 6+ messages in thread
From: Simon Josefsson @ 2005-10-26 16:15 UTC (permalink / raw)
Cc: ding
Uwe Brauer <oub@mat.ucm.es> writes:
> Hello
>
> Does anybody know about a function which allows me to determine in
> which group I am actually in. Right I just have to look at the
> modeline, but does there exist a function or say a variable which
> would give me that information?
Try gnus-newsgroup-name, available in the summary and article buffers.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-10-26 16:15 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-26 9:42 name of group Uwe Brauer
2005-10-26 10:29 ` Reiner Steib
2005-10-26 11:47 ` Uwe Brauer
2005-10-26 12:20 ` Reiner Steib
2005-10-26 13:10 ` Uwe Brauer
2005-10-26 16:15 ` Simon Josefsson
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).