G Anna | 2 Apr 17:49 2002
Picon

message-citation-line-function

Dear All,

I would like to have a custom message-citation-line-function.  Instead
of having a single line like,

Hallvard B Furuseth <h.b.furuseth <at> usit.uio.no> writes:
> yanked message follows...

I'd like to have 

> Date: ....
> From: ....
> Subject: ....
>
> yanked message follows...

Where "> " is the message-yank-prefix.

Can anybody help?  Or any pointers?

Thank you all for the time.

Cheers,
anna

--

-- 

Get your free e-mail account at http://www.linuxmail.org
Murray Stokely | 2 Apr 19:07 2002
Picon

Highlighting whitespace at EOL.

  I'm interested in writing a minor mode for marking up man pages with
the mdoc macros.  One of the things I would like to do is have
whitespace characters at the end of a nonblank line show up in a
different color, so I can easily notice (and remove) these stray marks
(which can easily be done with a macro, but thats not the point).

  I don't need to setup a syntax table for something so trivial, do I?
Is there a good example minor mode to help learn some of this stuff?

   - Murray
Alexander Koptelov | 3 Apr 14:37 2002
Picon

Re: message-citation-line-function

>>>>> "GA" == G Anna <drguruolai <at> eth.net> writes:

    GA> Dear All, I would like to have a custom message-citation-line-function.
    GA> Instead of having a single line like,

    GA> Hallvard B Furuseth <h.b.furuseth <at> usit.uio.no> writes:
    >> yanked message follows...

    GA> I'd like to have

    >> Date: ....  From: ....  Subject: ....
    >> 
    >> yanked message follows...

    GA> Where "> " is the message-yank-prefix.

    GA> Can anybody help?  Or any pointers?

You should redefine `message-citation-line-function' variable in appropriate
manner (i.e. it should fetch from original article all headers you need and
`insert's it). May be anybody already did it? I didn't =)

    GA> Thank you all for the time.

    GA> Cheers, anna

    GA> --

    GA> Get your free e-mail account at http://www.linuxmail.org

(Continue reading)

G Anna | 3 Apr 18:47 2002
Picon

Re: message-citation-line-function


> Date: 03 Apr 2002 16:37:09 +0400
> From: Alexander Koptelov <steve <at> ispras.ru>
> Subject: Re: message-citation-line-function
> 

[snip]

> You should redefine `message-citation-line-function' variable in
> appropriate manner (i.e. it should fetch from original article all
> headers you need and `insert's it). May be anybody already did it? I
> didn't =)

This is working!

(defun anna-message-insert-citation-line ()
  "Insert custom citation line."
  (when message-reply-headers
    (insert "\n" message-yank-prefix "Date: ")
    (insert (mail-header-date message-reply-headers) "\n")
    (insert message-yank-prefix "From: ")
    (insert (mail-header-from message-reply-headers) "\n")
    (insert message-yank-prefix "Subject: ")
    (insert (mail-header-subject message-reply-headers) "\n")
    (insert message-yank-prefix "\n")))

(setq message-citation-line-function 'anna-message-insert-citation-line)

Cheers,
anna
(Continue reading)

Chuck Siska | 3 Apr 20:40 2002

Re: Highlighting whitespace at EOL.

murray --

if all you want to do is remove them, there is a simple "command"
to do this:  C-c i C-c C-c.  i use this extensively working with 
funnelweb source code, which doesn't like trailing whitespace.
this is actually two separate commands.  the first, C-c i, enters
picture-mode and the second, C-c C-c, exits it.  it is exiting
picture-mode which does the trailing whitespace removal.
good luck.

-- chuck

Murray Stokely wrote:
> 
>   I'm interested in writing a minor mode for marking up man pages with
> the mdoc macros.  One of the things I would like to do is have
> whitespace characters at the end of a nonblank line show up in a
> different color, so I can easily notice (and remove) these stray marks
> (which can easily be done with a macro, but thats not the point).
> 
>   I don't need to setup a syntax table for something so trivial, do I?
> Is there a good example minor mode to help learn some of this stuff?
> 
>    - Murray

--

-- 
                                           |\_/\_.-'""``:-._       
What is life without looking for           . . `; -._      )-;-,_`)
the next cute little bug to play with?     v_,-    _  ),(,.\  ``-' 
                                          _.- _.,-_/ /  ((.'       
(Continue reading)

Greg Hill | 3 Apr 21:07 2002

Re: Highlighting whitespace at EOL.

Murray,

Just last night I ran across a customization variable named 
"show-trailing-whitespace" in chapter 38 of the GNU Emacs Lisp 
Reference Manual.
It seems to be new with Emacs-21.

At 9:07 AM -0800 4/2/02, Murray Stokely wrote:
>   I'm interested in writing a minor mode for marking up man pages with
>the mdoc macros.  One of the things I would like to do is have
>whitespace characters at the end of a nonblank line show up in a
>different color, so I can easily notice (and remove) these stray marks
>(which can easily be done with a macro, but thats not the point).
>
>   I don't need to setup a syntax table for something so trivial, do I?
>Is there a good example minor mode to help learn some of this stuff?
>
>    - Murray
>
>_______________________________________________
>Help-gnu-emacs mailing list
>Help-gnu-emacs <at> gnu.org
>http://mail.gnu.org/mailman/listinfo/help-gnu-emacs
Ambardekar, Shailesh | 4 Apr 18:15 2002
Picon

command help : matching braces

In gnu emacs 20.3.1 under Sun Solaris 2.6,
what is the emacs command for going to the matching brace ?
( looking for emacs equivalent of % vi command ).

Thanks in advance.

Shailesh

**********************************************************************
This message contains confidential information and is intended only for the individual named.  If you are
not the named addressee you should not disseminate, distribute or copy this e-mail: to do so could be a
breach of confidence.  Please notify us immediately by reply e-mail and then delete this e-mail from your
system.  Please contact our IT Helpdesk on +44 (0)20 7212 0000 or e-mail ukithelpdesk <at> corp.vizzavi.net
if you need assistance.

E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted,
corrupted, lost, destroyed, arrive late or incomplete or contain viruses. The sender therefore does not
accept liability for any errors or omissions in the contents of this message that arise as a result of
e-mail transmission.  If verification is required please request a hard-copy version.  This message is
provided for informational purposes and should not be construed as a solicitation or offer to buy or sell
any securities or related financial instruments.

This e-mail has been sent through the e-mail gateway of Vizzavi Europe Limited ("VEL") on its own account or
on behalf of and for the benefit of other Vizzavi group companies who use this facility from time to time.  

VEL Registered office - 80 Strand London WC2R ORJ England. Registered in England No. 04064873

For this message in Dutch, French, German, Greek, Italian, Portuguese and Spanish, click on http://www.corp.vizzavi.net/disclaimer/

Visit Vizzavi at: http://www.vizzavi.net/
(Continue reading)

Chuck Siska | 4 Apr 20:17 2002

Re: command help : matching braces

shailesh --

depends on which way you're going.  from on or just before
the "{", type C-M-f.  from just after the "}", type C-M-b.
these same commands also work for "(", ")", and "[", "]".
oh, note that you can't do this for braces in a lisp-mode
buffer.  the reason for all this is that these commands
work for whatever is considered matching delimiters in the
major mode of the buffer.  hope this helps.

-- chuck

"Ambardekar, Shailesh" wrote:
> 
> In gnu emacs 20.3.1 under Sun Solaris 2.6,
> what is the emacs command for going to the matching brace ?
> ( looking for emacs equivalent of % vi command ).
> 
> Thanks in advance.
> 
> Shailesh

--

-- 
                                           |\_/\_.-'""``:-._       
What is life without looking for           . . `; -._      )-;-,_`)
the next cute little bug to play with?     v_,-    _  ),(,.\  ``-' 
                                          _.- _.,-_/ /  ((.'       
-- chuck.siska <at> conexant.com  `<}:..     ((,.-'   ((,/
Murray Stokely | 5 Apr 00:42 2002
Picon

Re: Highlighting whitespace at EOL.

On Wed, Apr 03, 2002 at 11:07:03AM -0800, Greg Hill wrote:
> Just last night I ran across a customization variable named 
> "show-trailing-whitespace" in chapter 38 of the GNU Emacs Lisp 
> Reference Manual.
> It seems to be new with Emacs-21.

  That's exactly what I was looking for, thanks!  I also found a great
.emacs posted online that does some cool stuff with this variable :

  http://www-xray.ast.cam.ac.uk/~gmorris/dotemacs.html

  - Murray
Gurucharan | 5 Apr 07:45 2002

Re: command help : matching braces

Hello Ambardekar,

In gnu emacs 20.3.1 under Sun Solaris 2.6,
what is the emacs command for going to the matching brace ?
( looking for emacs equivalent of % vi command ).
It is by holding the CTRL and ALT keys and then using the
"F" key to do a front brace matching or "B" key for back brace
matching.

Hope this works.

Warm Regards,
             gurucharan

**************************Disclaimer************************************

Information contained in this E-MAIL being proprietary to Wipro Limited
is 'privileged' and 'confidential' and intended for use only by the
individual or entity to which it is addressed. You are notified that any
use, copying or dissemination of the information contained in the E-MAIL
in any manner whatsoever is strictly prohibited.

 ********************************************************************

Gmane