unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: Changes to emacs/lisp/buff-menu.el,v
       [not found] <E1L3BZ7-0003N9-HK@cvs.savannah.gnu.org>
@ 2008-11-20 18:13 ` Romain Francoise
  2008-11-21  2:32   ` Miles Bader
  0 siblings, 1 reply; 5+ messages in thread
From: Romain Francoise @ 2008-11-20 18:13 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: emacs-devel

Stefan Monnier <monnier@iro.umontreal.ca> writes:

> +(defconst Buffer-menu-short-ellipsis (if (char-displayable-p ?…) "…" ":"))

This breaks bootstrap:

| Loading textmodes/text-mode...
| Loading textmodes/fill...
| ((60987 . 15306) (12539 . 0) (645 . 35) 90741 1300175 (109 . 11) (22 . 13) (5645 . 6325))
| Loading replace...
| Loading buff-menu...
| Attempt to autoload char-displayable-p while preparing to dump
| make[2]: *** [emacs] Error 255
| make[2]: Leaving directory `/srv/buildbot/slave/emacs-trunk/build/src'
| make[1]: *** [src] Error 2
| make[1]: Leaving directory `/srv/buildbot/slave/emacs-trunk/build'
| make: *** [bootstrap] Error 2

http://emacsbuild.orebokech.com/emacs-trunk/builds/1147/step-compile/0




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

* Re: Changes to emacs/lisp/buff-menu.el,v
  2008-11-20 18:13 ` Changes to emacs/lisp/buff-menu.el,v Romain Francoise
@ 2008-11-21  2:32   ` Miles Bader
  2008-11-21  2:52     ` Glenn Morris
  0 siblings, 1 reply; 5+ messages in thread
From: Miles Bader @ 2008-11-21  2:32 UTC (permalink / raw)
  To: Romain Francoise; +Cc: Stefan Monnier, emacs-devel

Romain Francoise <romain@orebokech.com> writes:
>> +(defconst Buffer-menu-short-ellipsis (if (char-displayable-p ?…) "…" ":"))
>
> This breaks bootstrap:
> | Attempt to autoload char-displayable-p while preparing to dump
> | make[2]: *** [emacs] Error 255

... and surely any environmental tests in the initializer of a dumped
variable are obviously wrong anyway...

-Miles

-- 
97% of everything is grunge




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

* Re: Changes to emacs/lisp/buff-menu.el,v
  2008-11-21  2:32   ` Miles Bader
@ 2008-11-21  2:52     ` Glenn Morris
  2008-11-21  5:37       ` Stefan Monnier
  0 siblings, 1 reply; 5+ messages in thread
From: Glenn Morris @ 2008-11-21  2:52 UTC (permalink / raw)
  To: Miles Bader; +Cc: Romain Francoise, Stefan Monnier, emacs-devel

Miles Bader wrote:

> ... and surely any environmental tests in the initializer of a dumped
> variable are obviously wrong anyway...

And these days, the same Emacs instance can be accessed simultaneously
from displays with different capabilities; so bad form all round really. ;)




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

* Re: Changes to emacs/lisp/buff-menu.el,v
  2008-11-21  2:52     ` Glenn Morris
@ 2008-11-21  5:37       ` Stefan Monnier
  2008-11-22 19:09         ` Juri Linkov
  0 siblings, 1 reply; 5+ messages in thread
From: Stefan Monnier @ 2008-11-21  5:37 UTC (permalink / raw)
  To: Glenn Morris; +Cc: Romain Francoise, emacs-devel, Miles Bader

>> ... and surely any environmental tests in the initializer of a dumped
>> variable are obviously wrong anyway...
> And these days, the same Emacs instance can be accessed simultaneously
> from displays with different capabilities; so bad form all round really. ;)

Yup... undone.  This said, nowadays, I'd really like to just always
use "…".


        Stefan




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

* Re: Changes to emacs/lisp/buff-menu.el,v
  2008-11-21  5:37       ` Stefan Monnier
@ 2008-11-22 19:09         ` Juri Linkov
  0 siblings, 0 replies; 5+ messages in thread
From: Juri Linkov @ 2008-11-22 19:09 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: emacs-devel

>>> ... and surely any environmental tests in the initializer of a dumped
>>> variable are obviously wrong anyway...
>> And these days, the same Emacs instance can be accessed simultaneously
>> from displays with different capabilities; so bad form all round really. ;)
>
> Yup... undone.  This said, nowadays, I'd really like to just always
> use "…".

Maybe a function is better:

(defun Buffer-menu-short-ellipsis ()
 (if (char-displayable-p ?…) "…" ":"))

We already do such customization-by-function-redefinition
e.g. in `help-default-arg-highlight'.

-- 
Juri Linkov
http://www.jurta.org/emacs/




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

end of thread, other threads:[~2008-11-22 19:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <E1L3BZ7-0003N9-HK@cvs.savannah.gnu.org>
2008-11-20 18:13 ` Changes to emacs/lisp/buff-menu.el,v Romain Francoise
2008-11-21  2:32   ` Miles Bader
2008-11-21  2:52     ` Glenn Morris
2008-11-21  5:37       ` Stefan Monnier
2008-11-22 19:09         ` Juri Linkov

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).