emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: eval-print-last-sexp and newline


From: Per Abrahamsen
Subject: Re: eval-print-last-sexp and newline
Date: Mon, 02 Jun 2003 11:54:48 +0200
User-agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.1 (sparc-sun-solaris2.8)

I got an error with the code you send.

Th following code seem to indent correctly with "emacs -nw".  Making
it indent currectly under X would require either to stop using buton
face for "[ins]" and "[del]", or to teach widget about propertional
fonts. 

(defcustom latex-block-args-alist
  '(("array" nil ?\{ (skeleton-read "[options]: ") ?\})
    ("tabular" nil ?\{ (skeleton-read "[options]: ") ?\}))
  "Skeleton element to use for arguments to particular environments.
Every element of the list has the form (NAME . SKEL-ELEM) where NAME is
the name of the environment and SKEL-ELEM is an element to use in
a skeleton (see `skeleton-insert')."
  :type '(repeat (group (string :tag "Environment")
                        (menu-choice
                         :tag "Interactor"
                         (const :tag "None" nil)
                         (string :tag "Prompt")
                         (repeat (string :tag "Prompt"))
                         (sexp :tag "Expression"))
                        (repeat
                         :tag "Elements"
                         :inline t
                         (menu-choice
                          :tag "Element"
                          string
                          character
                          (const :tag "Indent" >)
                          (const :tag "Newline" \n)
                          (const :tag "Place point and region" _)
                          (const :tag "Place point" -)
                          (const :tag "Remembered location" @)
                          (list :tag "Side effecting expression"
                                (const :format "" quote) 
                                (sexp :format "%v"))
                          (sexp :tag "Expression"))))))




reply via email to

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