GNU bug report logs -
#11934
24.1; provide variable for pp.el to control max display width
Previous Next
Reported by: "Drew Adams" <drew.adams <at> oracle.com>
Date: Fri, 13 Jul 2012 14:55:01 UTC
Severity: wishlist
Merged with 14754,
14764
Found in versions 24.1, 24.3.50
Fixed in version 29.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #18 received at 11934 <at> debbugs.gnu.org (full text, mbox):
Michael Heerdegen <michael_heerdegen <at> web.de> writes:
> But of course handling this problem is not trivial: we can't distinguish
> "simple lists" from code, and what might look good for the first might
> look weird for a macro call with a special lisp-indent-function value
> (e.g. imagine a `defun' call with a line break inserted just after
> "defun").
Well, pp isn't really designed for handling code. I pp'd a function at
random... it may be pretty, but it sure is unusual for code...
So I don't really think that's a consideration here.
(defun menu-bar-buffer-vector
(alist)
(let
((buffers-vec
(make-vector
(length alist)
nil))
(i
(length alist)))
(dolist
(pair alist)
(setq i
(1- i))
(aset buffers-vec i
(cons
(car pair)
`(lambda nil
(interactive)
(funcall menu-bar-select-buffer-function ,(cdr pair))))))
buffers-vec))
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
This bug report was last modified 3 years and 32 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.