[mew-int 01523] Re: only citing marked region?

Rene Rebe rene.rebe at example.com
Fri Sep 12 02:57:06 JST 2003


Hi,

sorry for mailing again so quickly ...

> Well - this seems to be an explicit feature:
> 
> (defun mew-draft-cite (&optional arg force)
>   "Copy and paste a part of message from Message mode with
> citation prefix and label.
> 1. Roughly speaking, it copies the body in Message mode. For example,
>    if text/plain is displayed, the entire Message mode is copied.
>    If message/rfc822 is displayed, the body without the header is copied.
> 2. If called with '\\[universal-argument]', the header is also copied if exists.
> 3. If an Emacs mark exists, the target is the region between the mark and 
>    the cursor."

mew-draft.el:

	     ;; arg will be effect in mew-cite-original
	     ((and (mew-mark) (or (not mew-cite-ignore-mouse-region)
			          (not (mew-mouse-region-p))))

So it is supposed to be configurable, via mew-cite-ignore-mouse-region
- but to let this variable alone configure if a mouse-region should
affect the citation the "or" must be and "and", so I have now
reinstalled mew with:

	     ;; arg will be effect in mew-cite-original
	     ((and (mew-mark) (and (not mew-cite-ignore-mouse-region)
			           (not (mew-mouse-region-p))))

and I have this in my ~/.xemacs/init.el

(setq mew-cite-ignore-mouse-region t)

Now I'm happy ... ;-)

Is this the right fix Kazu?

Sincerely yours,
  René Rebe
    - ROCK Linux stable release maintainer

--  
René Rebe - Europe/Germany/Berlin
  rene at example.com rene.rebe at example.com
http://www.rocklinux.org http://www.rocklinux.net/people/rene
http://gsmp.tfh-berlin.de/gsmp http://gsmp.tfh-berlin.de/rene




More information about the Mew-int mailing list