listhelper-moderate
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

help-gnu-emacs post from address@hidden requires approval


From: help-gnu-emacs-owner
Subject: help-gnu-emacs post from address@hidden requires approval
Date: Thu, 05 Jul 2007 03:40:24 -0400

As list administrator, your authorization is requested for the
following mailing list posting:

    List:    address@hidden
    From:    address@hidden
    Subject: Re: newbie. skeleton question.
    Reason:  Post by non-member to a members-only list

At your convenience, visit:

    http://lists.gnu.org/mailman/admindb/help-gnu-emacs
        
to approve or deny the request.
--- Begin Message --- Subject: Re: newbie. skeleton question. Date: Thu, 05 Jul 2007 08:45:35 +0200 User-agent: Wanderlust/2.15.5 (Almost Unreal) Emacs/22.0 Mule/5.0 (SAKAKI)
At Wed, 4 Jul 2007 18:42:59 +0200,
Pawel wrote:
> 
> I defined simple skeleton:
> 
> (define-skeleton sexpr-example
>   "Insert a silly example."
>   ""
>   > "Emacs version is: " emacs-version \n
>   > "And time is: " (current-time-string))
> 
> (define-abbrev text-mode-abbrev-table "slly" 
>    "silly text: " 'sexpr-example)
> 
> M-x sexpr-example : works for me.
> 
> while,
> slly<SPC> does not. I am of course in buffer with text-mode.

Everything works as expected here (some GNU Emacs 22). Maybe you want
to turn on abbrev-mode? Otherwise, you'd have to type something like
this:

  sllyC-x a e

to get the skeleton expanded.

To activate abbrev-mode automatically for all buffers in text-mode,
add something like this to your .emacs:

(add-hook 'text-mode-hook 
          (lambda () (abbrev-mode 1)))

HTH, 

Anselm

--- End Message ---
--- Begin Message --- Subject: confirm cfd5d4e7e248e9d9ea5edbe94b50eb1dcd2e3038
If you reply to this message, keeping the Subject: header intact,
Mailman will discard the held message.  Do this if the message is
spam.  If you reply to this message and include an Approved: header
with the list password in it, the message will be approved for posting
to the list.  The Approved: header can also appear in the first line
of the body of the reply.

--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]