Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: sigurd@12move.de (Karl Pflästerer)
Subject: Re: boxquote: Article ID?
Date: Sun, 07 Mar 2004 01:24:53 +0100	[thread overview]
Message-ID: <m3n06t8q3x.fsf@hamster.pflaesterer.de> (raw)
In-Reply-To: <Szs2c.41924$Ri6.23822@lakeread04>

On  6 Mar 2004, Bob Bernstein <- bernstein@cesmail.net wrote:

> How does one actually put into effect the "non-trivial example" for
> the value of 'boxquote-kill-ring-save-title' shown above? 

With `M-x customize-variable RET boxquote-kill-ring-save-title RET' or a
setq in your .gnus.el

Could be:

(setq boxquote-kill-ring-save-title 
	#'(lambda ()
	    (if (string= mode-name \"Article\")
	      (aref gnus-current-headers 4)
	      (buffer-name))))

Simply eval that form (put your cursor behind the last closing
parentheses and press `C-x C-e'.  Then try to copy something from an
article buffer.
 
> As it stands, using the sequence described in the snippet above,

How did you use it?



   KP

-- 
"But it has nothing to do with what a _value_ is.  This has to do with
whether you pass whatever-a-value-is or wherever-whatever-is-a-value-is
whenever you pass an argument to a function.  (Call it the Shakira
theory. :)"    [Erik Naggum in cllisp über call-by-value und call-by-reference]


       reply	other threads:[~2004-03-07  0:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Szs2c.41924$Ri6.23822@lakeread04>
2004-03-07  0:24 ` Karl Pflästerer [this message]
     [not found]   ` <GBw2c.44036$Ri6.28700@lakeread04>
2004-03-07  4:14     ` Bob Bernstein

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3n06t8q3x.fsf@hamster.pflaesterer.de \
    --to=sigurd@12move.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).