unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* defcustoms for `line-spacing' and `indicate-buffer-boundaries'
@ 2005-06-12  6:48 Daniel Brockman
  2005-06-12 19:57 ` Richard Stallman
  0 siblings, 1 reply; 4+ messages in thread
From: Daniel Brockman @ 2005-06-12  6:48 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 347 bytes --]

How about the following patch to make `line-spacing' and
`indicate-buffer-boundaries' customizable?

I don't understand why this part is necessary,

		       :value ((t . nil))

but if I leave it out, choosing ``Manual configuration'' in the
Customize buffer will show the value as ``invalid ((nil))'' and won't
let me add anything to the alist.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 2609 bytes --]

*** cus-start.el	16 Feb 2005 10:37:20 +0100	1.68
--- cus-start.el	12 Jun 2005 08:44:47 +0200	
***************
*** 57,77 ****
  	     ;; buffer.c
  	     (mode-line-format modeline sexp) ;Hard to do right.
  	     (default-major-mode internal function)
- 	     (enable-multibyte-characters mule boolean)
  	     (case-fold-search matching boolean)
  	     (fill-column fill integer)
  	     (left-margin fill integer)
  	     (tab-width editing-basics integer)
  	     (ctl-arrow display boolean)
  	     (truncate-lines display boolean)
  	     (selective-display-ellipses display boolean)
  	     (indicate-empty-lines display boolean "21.1")
  	     (scroll-up-aggressively windows
  				     (choice (const :tag "off" nil) number)
  				     "21.1")
  	     (scroll-down-aggressively windows
  				       (choice (const :tag "off" nil) number)
  				       "21.1")
  	     ;; callint.c
  	     (mark-even-if-inactive editing-basics boolean)
  	     ;; callproc.c
--- 57,95 ----
  	     ;; buffer.c
  	     (mode-line-format modeline sexp) ;Hard to do right.
  	     (default-major-mode internal function)
  	     (case-fold-search matching boolean)
  	     (fill-column fill integer)
  	     (left-margin fill integer)
  	     (tab-width editing-basics integer)
  	     (ctl-arrow display boolean)
+ 	     (enable-multibyte-characters mule boolean)
  	     (truncate-lines display boolean)
  	     (selective-display-ellipses display boolean)
  	     (indicate-empty-lines display boolean "21.1")
+ 	     (indicate-buffer-boundaries
+ 	      display
+ 	      (choice (const :tag "Off" nil)
+ 		      (const :tag "Everything to the left" left)
+ 		      (const :tag "Everything to the right" right)
+ 		      (const :tag "Angles to the left, arrows off" t)
+ 		      (alist
+ 		       :tag "Manual configuration"
+ 		       :value ((t . nil))
+ 		       :key-type (choice (const :tag "Top angle" top)
+ 					 (const :tag "Bottom angle" bottom)
+ 					 (const :tag "Up arrow" up)
+ 					 (const :tag "Down arrow" down)
+ 					 (const :tag "Other indicators" t))
+ 		       :value-type (choice (const :tag "To the left" left)
+ 					   (const :tag "To the right" right)
+ 					   (const :tag "Do not show" nil)))))
  	     (scroll-up-aggressively windows
  				     (choice (const :tag "off" nil) number)
  				     "21.1")
  	     (scroll-down-aggressively windows
  				       (choice (const :tag "off" nil) number)
  				       "21.1")
+ 	     (line-spacing display (choice (const :tag "none" nil) integer))
  	     ;; callint.c
  	     (mark-even-if-inactive editing-basics boolean)
  	     ;; callproc.c

[-- Attachment #3: Type: text/plain, Size: 159 bytes --]


-- 
Daniel Brockman <daniel@brockman.se>

   ``Why fix an old bug if you can write three new ones
     in the same time?'' --- David Kastrup (on emacs-devel)

[-- Attachment #4: Type: text/plain, Size: 142 bytes --]

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: defcustoms for `line-spacing' and `indicate-buffer-boundaries'
  2005-06-12  6:48 defcustoms for `line-spacing' and `indicate-buffer-boundaries' Daniel Brockman
@ 2005-06-12 19:57 ` Richard Stallman
  2005-06-12 20:54   ` Daniel Brockman
  0 siblings, 1 reply; 4+ messages in thread
From: Richard Stallman @ 2005-06-12 19:57 UTC (permalink / raw)
  Cc: emacs-devel

    + 	     (enable-multibyte-characters mule boolean)

This variable is already customizable.

    + 	     (indicate-buffer-boundaries
    + 	      display
    + 	      (choice (const :tag "Off" nil)
    + 		      (const :tag "Everything to the left" left)

That is useful.  However, it is long enough that we would
need to get copyright papers form you.

    + 	     (line-spacing display (choice (const :tag "none" nil) integer))

That is also useful.

(Customizing those variables would set the default for
new buffers.  It might affect some existing buffers too.)

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: defcustoms for `line-spacing' and `indicate-buffer-boundaries'
  2005-06-12 19:57 ` Richard Stallman
@ 2005-06-12 20:54   ` Daniel Brockman
  2005-06-13 18:15     ` Richard Stallman
  0 siblings, 1 reply; 4+ messages in thread
From: Daniel Brockman @ 2005-06-12 20:54 UTC (permalink / raw)


Richard Stallman <rms@gnu.org> writes:

>     + 	     (enable-multibyte-characters mule boolean)
>
> This variable is already customizable.

I'm sorry, I think I moved that line to match the order in which the
variable definitions appeared in the C source.

>     + 	     (indicate-buffer-boundaries
>     + 	      display
>     + 	      (choice (const :tag "Off" nil)
>     + 		      (const :tag "Everything to the left" left)
>
> That is useful.  However, it is long enough that we would
> need to get copyright papers form you.

I'd be happy to sign such papers, but I don't know how to go about
doing it.

-- 
Daniel Brockman <daniel@brockman.se>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: defcustoms for `line-spacing' and `indicate-buffer-boundaries'
  2005-06-12 20:54   ` Daniel Brockman
@ 2005-06-13 18:15     ` Richard Stallman
  0 siblings, 0 replies; 4+ messages in thread
From: Richard Stallman @ 2005-06-13 18:15 UTC (permalink / raw)
  Cc: emacs-devel

    I'd be happy to sign such papers, but I don't know how to go about
    doing it.

I'll tell you how.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-06-13 18:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-12  6:48 defcustoms for `line-spacing' and `indicate-buffer-boundaries' Daniel Brockman
2005-06-12 19:57 ` Richard Stallman
2005-06-12 20:54   ` Daniel Brockman
2005-06-13 18:15     ` Richard Stallman

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).