--- Begin Message ---
Subject: |
24.1.50; special-display-p is t for any non-string object |
Date: |
Fri, 15 Jun 2012 07:42:12 +0200 |
The function should return `t` if and only if the argument is a string
containing the name of some special buffer.
(special-display-p pi)
=> t
diff -c -L /usr/share/emacs/24.1.50/lisp/window.el.gz -L \#\<buffer\
window.el.gz\> /tmp/jka-com3126ioz /tmp/buffer-content-3126h8I
*** /usr/share/emacs/24.1.50/lisp/window.el.gz
--- #<buffer window.el.gz>
***************
*** 4179,4185 ****
entry."
(let (tmp)
(cond
! ((not (stringp buffer-name)))
((member buffer-name special-display-buffer-names)
t)
((setq tmp (assoc buffer-name special-display-buffer-names))
--- 4179,4185 ----
entry."
(let (tmp)
(cond
! ((not (stringp buffer-name)) nil)
((member buffer-name special-display-buffer-names)
t)
((setq tmp (assoc buffer-name special-display-buffer-names))
Diff finished. Fri Jun 15 07:38:16 2012
In GNU Emacs 24.1.50.1 (x86_64-pc-linux-gnu, GTK+ Version 2.20.1)
of 2012-06-05 on cw-bkp0, modified by Debian
(emacs-snapshot package, version 2:20120524-1+squeeze)
Windowing system distributor `The X.Org Foundation', version 11.0.10707000
Configured using:
`configure '--build' 'x86_64-linux-gnu' '--host' 'x86_64-linux-gnu'
'--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib'
'--localstatedir=/var' '--infodir=/usr/share/info'
'--mandir=/usr/share/man' '--with-pop=yes'
'--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/24.1.50/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.1.50/site-lisp:/usr/share/emacs/site-lisp'
'--without-compress-info' '--with-crt-dir=/usr/lib//' '--with-x=yes'
'--with-x-toolkit=gtk' '--with-imagemagick=yes'
'build_alias=x86_64-linux-gnu' 'host_alias=x86_64-linux-gnu'
'CFLAGS=-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2' 'LDFLAGS=-g
-Wl,--as-needed -znocombreloc' 'CPPFLAGS=''
Important settings:
value of $LC_ALL: C
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: de_DE.UTF-8
value of $XMODIFIERS: nil
locale-coding-system: utf-8-unix
default enable-multibyte-characters: t
Major mode: Emacs-Lisp
Minor modes in effect:
diff-auto-refine-mode: t
cl-format-font-lock-mode: t
iswitchb-mode: t
ispell-track-input-method: t
recentf-mode: t
yas/global-mode: t
yas/minor-mode: t
workgroups-mode: t
window-numbering-mode: t
shell-dirtrack-mode: t
savehist-mode: t
ekey-mode: t
TeX-PDF-mode: t
eldoc-mode: t
tooltip-mode: t
mouse-wheel-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
column-number-mode: t
line-number-mode: t
transient-mark-mode: t
Recent input:
o M-/ M-/ SPC M-/ C-M-b C-x C-g C-f C-k s p c i a l
DEL DEL DEL DEL e c i a l - d i s p l a y - <M-tab>
<M-tab> C-, f <return> C-x b <return> C-x 1 C-u C-SPC
C-x b f r a m e <return> C-l C-/ C-g C-/ C-e M-b M-b
M-b C-e C-M-b r e m v DEL o v e - i f - n o t SPC '
C-e SPC C-j ( b u f f e r - l i s t ) C-M-b ( r e m
o v e SPC ( c u r r e n t - b u f f e r ) SPC C-b C-x
C-e C-M-f ) C-x C-e ) C-x C-e C-p M-b M-b M-b M-b C-b
M-d C-M-u C-M-f C-x C-e C-M-b C-M-q C-M-f C-x C-e C-p
C-M-b M-h M-h C-d m a p c a r SPC ' C-M-u C-M-q C-M-f
C-x C-e C-p M-b C-, g <return> C-u C-M-x C-x b <return>
C-x b C-s C-r C-s C-s C-s C-s f r a m <return> C-x
b <return> C-x b C-g <switch-frame> C-x b i f n <return>
<switch-frame> C-x b <return> C-M-e C-M-e C-M-e C-n
C-n C-e C-x C-e SPC SPC SPC SPC SPC SPC SPC q C-x C-e
SPC SPC SPC f SPC SPC SPC SPC q C-x o C-n C-n C-x C-q
M-f C-M-f C-f SPC n i l C-/ C-M-b C-M-f C-j ( s p e
c i a l - d i s M-/ C-/ C-/ C-/ SPC n i l C-M-x C-x
o C-x C-e C-x o M-x d i f f - b u f <return> <return>
M-x r e p o r <tab> b u g <return>
Recent messages:
Back to top level.
Auto-saving...
Auto-saving window.el.gz: Opening output file: permission denied,
/usr/share/emacs/24.1.50/lisp/#window.el.gz#
Undo!
Using try-expand-dabbrev
Undo! [3 times]
special-display-p
(nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil
nil nil nil nil nil nil nil nil)
uncompressing window.el.gz...done
Load-path shadows:
/home/politza/.emacs.d/plugins/predictive/pos-tip hides
/home/politza/.emacs.d/plugins/pos-tip
/home/politza/.emacs.d/plugins/haskell/haskell-cabal hides
/usr/share/emacs/site-lisp/haskell-mode/haskell-cabal
/home/politza/.emacs.d/plugins/haskell/haskell-doc hides
/usr/share/emacs/site-lisp/haskell-mode/haskell-doc
/home/politza/.emacs.d/plugins/haskell/haskell-mode hides
/usr/share/emacs/site-lisp/haskell-mode/haskell-mode
/home/politza/.emacs.d/plugins/haskell/haskell-c hides
/usr/share/emacs/site-lisp/haskell-mode/haskell-c
/home/politza/.emacs.d/plugins/haskell/haskell-indentation hides
/usr/share/emacs/site-lisp/haskell-mode/haskell-indentation
/home/politza/.emacs.d/plugins/haskell/haskell-site-file hides
/usr/share/emacs/site-lisp/haskell-mode/haskell-site-file
/home/politza/.emacs.d/plugins/haskell/haskell-ghci hides
/usr/share/emacs/site-lisp/haskell-mode/haskell-ghci
/home/politza/.emacs.d/plugins/haskell/inf-haskell hides
/usr/share/emacs/site-lisp/haskell-mode/inf-haskell
/home/politza/.emacs.d/plugins/haskell/haskell-hugs hides
/usr/share/emacs/site-lisp/haskell-mode/haskell-hugs
/home/politza/.emacs.d/plugins/haskell/haskell-font-lock hides
/usr/share/emacs/site-lisp/haskell-mode/haskell-font-lock
/home/politza/.emacs.d/plugins/haskell/haskell-simple-indent hides
/usr/share/emacs/site-lisp/haskell-mode/haskell-simple-indent
/home/politza/.emacs.d/plugins/haskell/haskell-decl-scan hides
/usr/share/emacs/site-lisp/haskell-mode/haskell-decl-scan
/home/politza/.emacs.d/plugins/haskell/haskell-indent hides
/usr/share/emacs/site-lisp/haskell-mode/haskell-indent
/home/politza/.emacs.d/plugins/haskell/haskell-decl-scan hides
/usr/share/emacs/24.1.50/site-lisp/haskell-mode/haskell-decl-scan
/home/politza/.emacs.d/plugins/haskell/haskell-c hides
/usr/share/emacs/24.1.50/site-lisp/haskell-mode/haskell-c
/home/politza/.emacs.d/plugins/haskell/haskell-ghci hides
/usr/share/emacs/24.1.50/site-lisp/haskell-mode/haskell-ghci
/home/politza/.emacs.d/plugins/haskell/haskell-doc hides
/usr/share/emacs/24.1.50/site-lisp/haskell-mode/haskell-doc
/home/politza/.emacs.d/plugins/haskell/haskell-indent hides
/usr/share/emacs/24.1.50/site-lisp/haskell-mode/haskell-indent
/home/politza/.emacs.d/plugins/haskell/haskell-mode hides
/usr/share/emacs/24.1.50/site-lisp/haskell-mode/haskell-mode
/home/politza/.emacs.d/plugins/haskell/haskell-hugs hides
/usr/share/emacs/24.1.50/site-lisp/haskell-mode/haskell-hugs
/home/politza/.emacs.d/plugins/haskell/haskell-site-file hides
/usr/share/emacs/24.1.50/site-lisp/haskell-mode/haskell-site-file
/home/politza/.emacs.d/plugins/haskell/haskell-cabal hides
/usr/share/emacs/24.1.50/site-lisp/haskell-mode/haskell-cabal
/home/politza/.emacs.d/plugins/haskell/inf-haskell hides
/usr/share/emacs/24.1.50/site-lisp/haskell-mode/inf-haskell
/home/politza/.emacs.d/plugins/haskell/haskell-font-lock hides
/usr/share/emacs/24.1.50/site-lisp/haskell-mode/haskell-font-lock
/home/politza/.emacs.d/plugins/haskell/haskell-simple-indent hides
/usr/share/emacs/24.1.50/site-lisp/haskell-mode/haskell-simple-indent
/home/politza/.emacs.d/plugins/haskell/haskell-indentation hides
/usr/share/emacs/24.1.50/site-lisp/haskell-mode/haskell-indentation
/usr/share/emacs/24.1.50/site-lisp/cscope/xcscope hides
/usr/share/emacs/site-lisp/xcscope
/usr/share/emacs/24.1.50/site-lisp/debian-startup hides
/usr/share/emacs/site-lisp/debian-startup
/home/politza/.emacs.d/plugins/term hides /usr/share/emacs/24.1.50/lisp/term
/usr/share/emacs/site-lisp/remember-el/remember hides
/usr/share/emacs/24.1.50/lisp/textmodes/remember
/home/politza/.emacs.d/plugins/python/python/python hides
/usr/share/emacs/24.1.50/lisp/progmodes/python
/home/politza/.emacs.d/plugins/predictive/avl-tree hides
/usr/share/emacs/24.1.50/lisp/emacs-lisp/avl-tree
/home/politza/.emacs.d/plugins/python/python/sym-comp hides
/usr/share/emacs/24.1.50/lisp/obsolete/sym-comp
Features:
(shadow mail-extr emacsbug message rfc822 mml mml-sec mm-decode
mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader
sendmail rfc2047 rfc2045 ietf-drums mail-utils diff-mode diff vc-bzr
cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine
cc-vars cc-defs reposition edebug two-column ediff-wind ediff-init
desktop winner windmove follow ibuf-ext ibuffer find-func
haskell-decl-scan haskell-doc imenu haskell-indent haskell-indentation
haskell-font-lock haskell-mode apropos jka-compr dired-aux face-remap
reveal python-21 python sym-comp multi-isearch vc-dispatcher vc-svn
cl-format cl-format-builtins clisp-format cl-format-def
emacs-customizations nogroup-customizations wp-customizations
view-customizations tex-customizations reftex-customizations
reftex-miscellaneous-configurations-customizations
reftex-label-support-customizations
reftex-defining-label-environments-customizations AUCTeX-customizations
preview-customizations preview-appearance-customizations
TeX-parse-customizations TeX-command-customizations
TeX-view-customizations LaTeX-customizations
LaTeX-indentation-customizations table-customizations
table-hooks-customizations outlines-customizations
programming-customizations tools-customizations vc-customizations
makefile-customizations ediff-customizations ediff-window-customizations
languages-customizations matlab-customizations python-customizations
haskell-customizations c-customizations multimedia-customizations
image-customizations help-customizations ekey-customizations
info-lookup-customizations info-customizations customize-customizations
custom-buffer-customizations apropos-customizations help-mode view
files-customizations uniquify-customizations uniquify
sunrise-customizations recentf-customizations find-file-customizations
backup-customizations external-customizations server-customizations
processes-customizations shell-customizations gud-customizations
tooltip-customizations grep-customizations compilation-customizations
comint-customizations man-customizations environment-customizations
windows-customizations minibuffer-customizations savehist-customizations
menu-customizations initialization-customizations dired-customizations
dired-x-customizations dired-details-customizations
editing-customizations yasnippet-customizations matching-customizations
paren-matching-customizations paren-showing-customizations
isearch-customizations bookmark-customizations killing-customizations
indent-customizations emulations-customizations
editing-basics-customizations development-customizations
lisp-customizations re-builder-customizations
inferior-lisp-customizations ielm-customizations ert-customizations
edebug-customizations bytecomp-customizations advice-customizations
extensions-customizations eldoc-customizations cust-print-customizations
data-customizations save-place-customizations convenience-customizations
workgroups-customizations window-numbering-customizations
pabbrev-customizations kmacro-customizations imenu-customizations
ibuffer-customizations hippie-expand-customizations ffap-customizations
completion-customizations iswitchb-customizations iswitchb
auto-complete-customizations auto-revert-customizations
comm-customizations tramp-customizations browse-url-customizations
applications-customizations mediawiki-customizations w3m-customizations
package-customizations mail-customizations smtpmail-customizations
sendmail-customizations ispell-customizations doc-view-customizations
calendar-customizations org-customizations org-structure-customizations
org-plain-lists-customizations org-edit-structure-customizations
org-startup-customizations org-link-customizations
org-latex-customizations org-appearance-customizations
calc-customizations server recentf tree-widget yasnippet dropdown-list
workgroups bookmark pp window-numbering w3m browse-url timezone w3m-hist
w3m-e23 w3m-ccl ccl w3m-fsf w3m-favicon w3m-image w3m-proc w3m-util
tramp tramp-compat shell tramp-loaddefs saveplace savehist reftex
reftex-vars pabbrev thingatpt org ob-emacs-lisp ob-tangle ob-ref ob-lob
ob-table org-footnote org-src ob-comint ob-keys ob ob-eval org-pcomplete
pcomplete org-list org-faces org-compat org-entities org-macs noutline
outline format-spec cal-menu calendar cal-loaddefs lib-kbd lib-isearch
lib-basic lib-lispext info-look hippie-exp grep compile comint
ansi-color eldoc-eval ekey assoc dired-details+ dired-details latex
easy-mmode tex-style tex warnings anticus edmacro kmacro derived ffap
url-parse auth-source eieio byte-opt bytecomp byte-compile cconv
macroexp gnus-util mm-util mail-prsvr password-cache url-vars eldoc
cus-edit cus-start cus-load wid-edit cl all-autoloads auctex-autoloads
tex-site info browse-kill-ring-autoloads c-eldoc-autoloads
cl-format-autoloads company-autoloads eldoc-eval-autoloads
sunrise-x-loop-autoloads sunrise-x-loop sunrise-commander advice
help-fns advice-preload term ehelp electric ring sort find-dired
disp-table enriched dired-x easymenu dired sunrise-commander-autoloads
package remember-autoloads planner-autoloads w3m-load muse-autoloads
time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd
tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment
lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar
mouse jit-lock font-lock syntax facemenu font-core frame cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev
minibuffer loaddefs button faces cus-face files text-properties overlay
sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote make-network-process dbusbind
dynamic-setting font-render-setting move-toolbar gtk x-toolkit x
multi-tty emacs)
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#11713: 24.1.50; special-display-p is t for any non-string object |
Date: |
Sun, 17 Jun 2012 12:46:31 +0200 |
Why is this check needed at all? Non-strings should just get an error.
They should do now.
Thanks for noticing, martin
--- End Message ---