GNU bug report logs - #17324
24.3.90; (wrong-type-argument number-or-marker-p nil) in redisplay--update-region-highlight

Previous Next

Package: emacs;

Reported by: Nicolas Richard <theonewiththeevillook <at> yahoo.fr>

Date: Wed, 23 Apr 2014 11:55:01 UTC

Severity: normal

Found in version 24.3.90

Done: Stefan Monnier <monnier <at> IRO.UMontreal.CA>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 17324 in the body.
You can then email your comments to 17324 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#17324; Package emacs. (Wed, 23 Apr 2014 11:55:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Nicolas Richard <theonewiththeevillook <at> yahoo.fr>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 23 Apr 2014 11:55:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Richard <theonewiththeevillook <at> yahoo.fr>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3.90; (wrong-type-argument number-or-marker-p nil) in
 redisplay--update-region-highlight
Date: Wed, 23 Apr 2014 13:54:58 +0200
Hi,

I got the following error (but I can't reproduce it in a fresh session) :

Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil)
  min(2623 nil)
  (let* ((pt (window-point window)) (mark (mark)) (start (min pt mark)) (end (max pt mark)) (new (funcall redisplay-highlight-region-function start end window rol))) (if (equal new rol) nil (set-window-parameter window (quote internal-region-overlay) new)))
  (if (not (region-active-p)) (funcall redisplay-unhighlight-region-function rol) (let* ((pt (window-point window)) (mark (mark)) (start (min pt mark)) (end (max pt mark)) (new (funcall redisplay-highlight-region-function start end window rol))) (if (equal new rol) nil (set-window-parameter window (quote internal-region-overlay) new))))
  (let ((rol (window-parameter window (quote internal-region-overlay)))) (if (not (region-active-p)) (funcall redisplay-unhighlight-region-function rol) (let* ((pt (window-point window)) (mark (mark)) (start (min pt mark)) (end (max pt mark)) (new (funcall redisplay-highlight-region-function start end window rol))) (if (equal new rol) nil (set-window-parameter window (quote internal-region-overlay) new)))))
  (save-current-buffer (set-buffer (window-buffer window)) (let ((rol (window-parameter window (quote internal-region-overlay)))) (if (not (region-active-p)) (funcall redisplay-unhighlight-region-function rol) (let* ((pt (window-point window)) (mark (mark)) (start (min pt mark)) (end (max pt mark)) (new (funcall redisplay-highlight-region-function start end window rol))) (if (equal new rol) nil (set-window-parameter window (quote internal-region-overlay) new))))))
  redisplay--update-region-highlight(#<window 3 on *Backtrace*>)
  #[0 "\300\242\204\n.\303\304 !\207\300\242<\204.\300\305\306\211\307#\240\210	\203\".\310\303\300\242\"\207\311 \205).\312 \300\242\211\205S.\211@\211\304 =\204>.\211.=\203E.\303.!\210\202L.\n\313.\314\"!\210.A\266\202\202+.\262.\207" [((#<window 3 on *Backtrace*> #<window 7 on *magit: math-f-108-via-git*> #<window 1 on *scratch*>)) highlight-nonselected-windows redisplay-unhighlight-region-function redisplay--update-region-highlight selected-window window-list-1 nil t mapc window-minibuffer-p minibuffer-selected-window window-parameter internal-region-overlay] 7 "\n\n(fn)"]()
  funcall(#[0 "\300\242\204\n.\303\304 !\207\300\242<\204.\300\305\306\211\307#\240\210	\203\".\310\303\300\242\"\207\311 \205).\312 \300\242\211\205S.\211@\211\304 =\204>.\211.=\203E.\303.!\210\202L.\n\313.\314\"!\210.A\266\202\202+.\262.\207" [((#<window 3 on *Backtrace*> #<window 7 on *magit: math-f-108-via-git*> #<window 1 on *scratch*>)) highlight-nonselected-windows redisplay-unhighlight-region-function redisplay--update-region-highlight selected-window window-list-1 nil t mapc window-minibuffer-p minibuffer-selected-window window-parameter internal-region-overlay] 7 "\n\n(fn)"])
  redisplay--update-region-highlights(t)
  apply(redisplay--update-region-highlights t)
  #[128 "\300\301.\"\210\300\302.\"\207" [apply redisplay--update-region-highlights ignore nil] 4 nil nil](t)
  redisplay_internal\ \(C\ function\)()

In GNU Emacs 24.3.90.7 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2014-04-23 on geodiff-mac3
Windowing system distributor `The X.Org Foundation', version 11.0.11304000
System Description:	Gentoo Base System release 2.2

Configured using:
 `configure --with-x-toolkit=lucid --enable-checking 'CFLAGS= -O0 -g3''

Important settings:
  value of $LANG: fr_FR.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Debugger

Minor modes in effect:
  semantic-minor-modes-format: ((:eval (if (or semantic-highlight-edits-mode semantic-show-unmatched-syntax-mode)  S)))
  global-semanticdb-minor-mode: t
  global-semantic-idle-scheduler-mode: t
  semantic-mode: t
  yas/global-mode: t
  projectile-global-mode: t
  projectile-mode: t
  dynamic-completion-mode: t
  magit-auto-revert-mode: t
  shell-dirtrack-mode: t
  diff-auto-refine-mode: t
  minibuffer-depth-indicate-mode: t
  show-paren-mode: t
  recentf-mode: t
  winner-mode: t
  global-discover-mode: t
  discover-mode: t
  server-mode: t
  display-time-mode: t
  override-global-mode: t
  tooltip-mode: t
  electric-indent-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
  buffer-read-only: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
M-! e c h o SPC f o o <return> M-! <up> <up> <down> 
<down> M-! C-g M-= c C-n C-n C-n C-n C-n b b C-g M-! 
<up> <up> M-o C-c o a / t r e e <return> y C-s C-s 
g i t C-n M-o C-s C-s C-n C-n <return> C-n C-n C-a 
C-f C-f C-SPC C-e M-w M-o C-x b m a g i <return> l 
- a l <switch-frame> ESC O B w q <switch-frame> l <next> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<up> <up> <up> <up> <up> <up> <up> C-w M-! C-y M-y 
C-/ C-a C-k C-y M-y M-y C-b <C-left> C-y M-y <C-left> 
<S-up> <S-right> C-w <S-down> C-y C-k <return> <return> 
<f5> <S-left> <up> <up> <up> <up> <home> <C-right> 
<C-left> C-SPC <end> <C-left> M-w M-o M-! C-y SPC <backspace> 
C-y M-y <return> <left> <left> <down> q C-h e M-o C-p 
C-p C-p C-e C-p C-p C-b C-n C-e C-b C-b M-x m a g i 
t - s h o <tab> - c o m <tab> <tab> <return> <S-up> 
<C-left> C-SPC <C-right> w <S-down> C-y <return> c 
q M-o M-o c q C-n C-n C-n C-n <up> <up> v <up> v <up> 
v <down> <up> <down> <down> <down> <down> <down> <down> 
<up> <up> <up> <up> <up> <up> <return> <down> <down> 
C-M-x <S-left> <S-right> M-o C-p h C-n d c c <down> 
<down> <down> <down> <down> <up> <up> <up> <left> <left> 
<return> <left> <down> <up> <down> <tab> <up> <up> 
<down> <down> <return> <down> <down> <down> <down> 
<right> <right> <down> C-s m i n C-p C-n M-f C-p C-p 
C-p C-p C-p C-p C-p C-M-b C-M-SPC M-w M-o <C-home> 
C-SPC <C-end> M-w M-x r e p o r t - e m <tab> <tab> 
<return>

Recent messages:
Proceeding, will debug on next eval or call.
Entering debugger...
Continuing.
Back to top level.
Entering debugger...
Continuing.
Entering debugger...
mouse-2, RET: find function's definition
Mark saved where search started
Mark set [3 times]

Load-path shadows:
/home/youngfrog/.emacs.d/elpa/git-commit-mode-20140125.1553/git-commit-mode hides ~/sources/magit/git-commit-mode
/home/youngfrog/.emacs.d/elpa/git-rebase-mode-20140125.1553/git-rebase-mode hides ~/sources/magit/git-rebase-mode
~/.emacs.d/lisp/asy-mode hides /usr/local/texlive/2012/texmf/asymptote/asy-mode
~/sources/org-mode/lisp/org-footnote hides /home/youngfrog/sources/running-emacs/lisp/org/org-footnote
~/sources/org-mode/lisp/ob-asymptote hides /home/youngfrog/sources/running-emacs/lisp/org/ob-asymptote
~/sources/org-mode/lisp/ob-sqlite hides /home/youngfrog/sources/running-emacs/lisp/org/ob-sqlite
~/sources/org-mode/lisp/ob-ditaa hides /home/youngfrog/sources/running-emacs/lisp/org/ob-ditaa
~/sources/org-mode/lisp/org-protocol hides /home/youngfrog/sources/running-emacs/lisp/org/org-protocol
~/sources/org-mode/lisp/ox-beamer hides /home/youngfrog/sources/running-emacs/lisp/org/ox-beamer
~/sources/org-mode/lisp/org-irc hides /home/youngfrog/sources/running-emacs/lisp/org/org-irc
~/sources/org-mode/lisp/ob-scheme hides /home/youngfrog/sources/running-emacs/lisp/org/ob-scheme
~/sources/org-mode/lisp/org-capture hides /home/youngfrog/sources/running-emacs/lisp/org/org-capture
~/sources/org-mode/lisp/ob-plantuml hides /home/youngfrog/sources/running-emacs/lisp/org/ob-plantuml
~/sources/org-mode/lisp/ox-html hides /home/youngfrog/sources/running-emacs/lisp/org/ox-html
~/sources/org-mode/lisp/org-table hides /home/youngfrog/sources/running-emacs/lisp/org/org-table
~/sources/org-mode/lisp/ob-eval hides /home/youngfrog/sources/running-emacs/lisp/org/ob-eval
~/sources/org-mode/lisp/ob-exp hides /home/youngfrog/sources/running-emacs/lisp/org/ob-exp
~/sources/org-mode/lisp/org-eshell hides /home/youngfrog/sources/running-emacs/lisp/org/org-eshell
~/sources/org-mode/lisp/ob-sql hides /home/youngfrog/sources/running-emacs/lisp/org/ob-sql
~/sources/org-mode/lisp/org-colview hides /home/youngfrog/sources/running-emacs/lisp/org/org-colview
~/sources/org-mode/lisp/ox-publish hides /home/youngfrog/sources/running-emacs/lisp/org/ox-publish
~/sources/org-mode/lisp/ob-comint hides /home/youngfrog/sources/running-emacs/lisp/org/ob-comint
~/sources/org-mode/lisp/org-element hides /home/youngfrog/sources/running-emacs/lisp/org/org-element
~/sources/org-mode/lisp/org-indent hides /home/youngfrog/sources/running-emacs/lisp/org/org-indent
~/sources/org-mode/lisp/ob-sass hides /home/youngfrog/sources/running-emacs/lisp/org/ob-sass
~/sources/org-mode/lisp/org-compat hides /home/youngfrog/sources/running-emacs/lisp/org/org-compat
~/sources/org-mode/lisp/org-list hides /home/youngfrog/sources/running-emacs/lisp/org/org-list
~/sources/org-mode/lisp/ox hides /home/youngfrog/sources/running-emacs/lisp/org/ox
~/sources/org-mode/lisp/ob-mscgen hides /home/youngfrog/sources/running-emacs/lisp/org/ob-mscgen
~/sources/org-mode/lisp/ob-keys hides /home/youngfrog/sources/running-emacs/lisp/org/ob-keys
~/sources/org-mode/lisp/org-info hides /home/youngfrog/sources/running-emacs/lisp/org/org-info
~/sources/org-mode/lisp/org-ctags hides /home/youngfrog/sources/running-emacs/lisp/org/org-ctags
~/sources/org-mode/lisp/org-habit hides /home/youngfrog/sources/running-emacs/lisp/org/org-habit
~/sources/org-mode/lisp/org-datetree hides /home/youngfrog/sources/running-emacs/lisp/org/org-datetree
~/sources/org-mode/lisp/ox-texinfo hides /home/youngfrog/sources/running-emacs/lisp/org/ox-texinfo
~/sources/org-mode/lisp/org-clock hides /home/youngfrog/sources/running-emacs/lisp/org/org-clock
~/sources/org-mode/lisp/org-bbdb hides /home/youngfrog/sources/running-emacs/lisp/org/org-bbdb
~/sources/org-mode/lisp/ob-maxima hides /home/youngfrog/sources/running-emacs/lisp/org/ob-maxima
~/sources/org-mode/lisp/ob-fortran hides /home/youngfrog/sources/running-emacs/lisp/org/ob-fortran
~/sources/org-mode/lisp/ob-picolisp hides /home/youngfrog/sources/running-emacs/lisp/org/ob-picolisp
~/sources/org-mode/lisp/ob-java hides /home/youngfrog/sources/running-emacs/lisp/org/ob-java
~/sources/org-mode/lisp/ox-icalendar hides /home/youngfrog/sources/running-emacs/lisp/org/ox-icalendar
~/sources/org-mode/lisp/org-gnus hides /home/youngfrog/sources/running-emacs/lisp/org/org-gnus
~/sources/org-mode/lisp/ob-table hides /home/youngfrog/sources/running-emacs/lisp/org/ob-table
~/sources/org-mode/lisp/ob-ocaml hides /home/youngfrog/sources/running-emacs/lisp/org/ob-ocaml
~/sources/org-mode/lisp/ob-tangle hides /home/youngfrog/sources/running-emacs/lisp/org/ob-tangle
~/sources/org-mode/lisp/ox-md hides /home/youngfrog/sources/running-emacs/lisp/org/ox-md
~/sources/org-mode/lisp/org-install hides /home/youngfrog/sources/running-emacs/lisp/org/org-install
~/sources/org-mode/lisp/ob-org hides /home/youngfrog/sources/running-emacs/lisp/org/ob-org
~/sources/org-mode/lisp/org-docview hides /home/youngfrog/sources/running-emacs/lisp/org/org-docview
~/sources/org-mode/lisp/org-timer hides /home/youngfrog/sources/running-emacs/lisp/org/org-timer
~/sources/org-mode/lisp/ob-makefile hides /home/youngfrog/sources/running-emacs/lisp/org/ob-makefile
~/sources/org-mode/lisp/ob-calc hides /home/youngfrog/sources/running-emacs/lisp/org/ob-calc
~/sources/org-mode/lisp/org-rmail hides /home/youngfrog/sources/running-emacs/lisp/org/org-rmail
~/sources/org-mode/lisp/org-plot hides /home/youngfrog/sources/running-emacs/lisp/org/org-plot
~/sources/org-mode/lisp/ob-haskell hides /home/youngfrog/sources/running-emacs/lisp/org/ob-haskell
~/sources/org-mode/lisp/ob-shen hides /home/youngfrog/sources/running-emacs/lisp/org/ob-shen
~/sources/org-mode/lisp/ox-latex hides /home/youngfrog/sources/running-emacs/lisp/org/ox-latex
~/sources/org-mode/lisp/org-mhe hides /home/youngfrog/sources/running-emacs/lisp/org/org-mhe
~/sources/org-mode/lisp/org-pcomplete hides /home/youngfrog/sources/running-emacs/lisp/org/org-pcomplete
~/sources/org-mode/lisp/org-mouse hides /home/youngfrog/sources/running-emacs/lisp/org/org-mouse
~/sources/org-mode/lisp/ox-man hides /home/youngfrog/sources/running-emacs/lisp/org/ox-man
~/sources/org-mode/lisp/org-archive hides /home/youngfrog/sources/running-emacs/lisp/org/org-archive
~/sources/org-mode/lisp/ox-ascii hides /home/youngfrog/sources/running-emacs/lisp/org/ox-ascii
~/sources/org-mode/lisp/ob-python hides /home/youngfrog/sources/running-emacs/lisp/org/ob-python
~/sources/org-mode/lisp/ox-org hides /home/youngfrog/sources/running-emacs/lisp/org/ox-org
~/sources/org-mode/lisp/ob-gnuplot hides /home/youngfrog/sources/running-emacs/lisp/org/ob-gnuplot
~/sources/org-mode/lisp/org-agenda hides /home/youngfrog/sources/running-emacs/lisp/org/org-agenda
~/sources/org-mode/lisp/ob-core hides /home/youngfrog/sources/running-emacs/lisp/org/ob-core
~/sources/org-mode/lisp/ob-perl hides /home/youngfrog/sources/running-emacs/lisp/org/ob-perl
~/sources/org-mode/lisp/ob-octave hides /home/youngfrog/sources/running-emacs/lisp/org/ob-octave
~/sources/org-mode/lisp/org-crypt hides /home/youngfrog/sources/running-emacs/lisp/org/org-crypt
~/sources/org-mode/lisp/org-macs hides /home/youngfrog/sources/running-emacs/lisp/org/org-macs
~/sources/org-mode/lisp/org-w3m hides /home/youngfrog/sources/running-emacs/lisp/org/org-w3m
~/sources/org-mode/lisp/org-feed hides /home/youngfrog/sources/running-emacs/lisp/org/org-feed
~/sources/org-mode/lisp/org-mobile hides /home/youngfrog/sources/running-emacs/lisp/org/org-mobile
~/sources/org-mode/lisp/org-version hides /home/youngfrog/sources/running-emacs/lisp/org/org-version
~/sources/org-mode/lisp/ob-ledger hides /home/youngfrog/sources/running-emacs/lisp/org/ob-ledger
~/sources/org-mode/lisp/org-inlinetask hides /home/youngfrog/sources/running-emacs/lisp/org/org-inlinetask
~/sources/org-mode/lisp/ob-latex hides /home/youngfrog/sources/running-emacs/lisp/org/ob-latex
~/sources/org-mode/lisp/ob-dot hides /home/youngfrog/sources/running-emacs/lisp/org/ob-dot
~/sources/org-mode/lisp/ob-screen hides /home/youngfrog/sources/running-emacs/lisp/org/ob-screen
~/sources/org-mode/lisp/org-src hides /home/youngfrog/sources/running-emacs/lisp/org/org-src
~/sources/org-mode/lisp/ob-ruby hides /home/youngfrog/sources/running-emacs/lisp/org/ob-ruby
~/sources/org-mode/lisp/org-macro hides /home/youngfrog/sources/running-emacs/lisp/org/org-macro
~/sources/org-mode/lisp/ob hides /home/youngfrog/sources/running-emacs/lisp/org/ob
~/sources/org-mode/lisp/ob-io hides /home/youngfrog/sources/running-emacs/lisp/org/ob-io
~/sources/org-mode/lisp/ob-matlab hides /home/youngfrog/sources/running-emacs/lisp/org/ob-matlab
~/sources/org-mode/lisp/ob-ref hides /home/youngfrog/sources/running-emacs/lisp/org/ob-ref
~/sources/org-mode/lisp/org-bibtex hides /home/youngfrog/sources/running-emacs/lisp/org/org-bibtex
~/sources/org-mode/lisp/org-entities hides /home/youngfrog/sources/running-emacs/lisp/org/org-entities
~/sources/org-mode/lisp/org hides /home/youngfrog/sources/running-emacs/lisp/org/org
~/sources/org-mode/lisp/ob-R hides /home/youngfrog/sources/running-emacs/lisp/org/ob-R
~/sources/org-mode/lisp/ob-C hides /home/youngfrog/sources/running-emacs/lisp/org/ob-C
~/sources/org-mode/lisp/ob-lob hides /home/youngfrog/sources/running-emacs/lisp/org/ob-lob
~/sources/org-mode/lisp/ob-awk hides /home/youngfrog/sources/running-emacs/lisp/org/ob-awk
~/sources/org-mode/lisp/ob-clojure hides /home/youngfrog/sources/running-emacs/lisp/org/ob-clojure
~/sources/org-mode/lisp/org-faces hides /home/youngfrog/sources/running-emacs/lisp/org/org-faces
~/sources/org-mode/lisp/ox-odt hides /home/youngfrog/sources/running-emacs/lisp/org/ox-odt
~/sources/org-mode/lisp/ob-css hides /home/youngfrog/sources/running-emacs/lisp/org/ob-css
~/sources/org-mode/lisp/ob-lisp hides /home/youngfrog/sources/running-emacs/lisp/org/ob-lisp
~/sources/org-mode/lisp/ob-lilypond hides /home/youngfrog/sources/running-emacs/lisp/org/ob-lilypond
~/sources/org-mode/lisp/org-attach hides /home/youngfrog/sources/running-emacs/lisp/org/org-attach
~/sources/org-mode/lisp/ob-emacs-lisp hides /home/youngfrog/sources/running-emacs/lisp/org/ob-emacs-lisp
~/sources/org-mode/lisp/ob-scala hides /home/youngfrog/sources/running-emacs/lisp/org/ob-scala
~/sources/org-mode/lisp/ob-js hides /home/youngfrog/sources/running-emacs/lisp/org/ob-js
~/sources/org-mode/lisp/org-id hides /home/youngfrog/sources/running-emacs/lisp/org/org-id
~/sources/org-mode/lisp/org-loaddefs hides /home/youngfrog/sources/running-emacs/lisp/org/org-loaddefs

Features:
(shadow sort bbdb-message mail-extr gnus-msg gnus-art mm-uu mml2015
mm-view mml-smime smime dig gnus-sum nnoo gnus-group gnus-undo nnmail
mail-source gnus-start gnus-spec gnus-int gnus-range gnus-win gnus
gnus-ems nnheader emacsbug sendmail semantic/db-mode semantic/db
semantic/idle semantic/format ezimage semantic/tag-ls semantic/find
semantic/ctxt semantic/util-modes semantic/util semantic semantic/tag
semantic/lex semantic/fw mode-local cedet yasnippet assoc projectile
pkg-info epl s completion ob-dot ob-R ob-shell mule-util tramp-sh slime
etags arc-mode archive-mode pp hyperspec browse-url misearch
multi-isearch vc-git org-indent disp-table org-rmail org-mhe org-irc
org-info org-gnus org-docview doc-view image-mode org-bibtex bibtex
org-bbdb org-w3m org-agenda magit-key-mode magit view tramp tramp-compat
tramp-loaddefs trampver shell help-mode grep compile diff-mode
autorevert filenotify git-rebase-mode git-commit-mode log-edit message
rfc822 mml mml-sec mm-decode mm-bodies mm-encode mailabbrev mail-utils
gmm-utils mailheader pcvs-util add-log ffap thingatpt xterm hideshow
org-caldav icalendar diary-lib diary-loaddefs org-id latexenc ox-latex
ox-icalendar ox-html ox-ascii ox-publish ox org-element avl-tree url-dav
url-http url-auth mail-parse rfc2231 rfc2047 rfc2045 ietf-drums url-gw
url-handlers etable etable-selection-model etable-cell-renderer
etable-table-column-model etable-table-column etable-table-model
eieio-base interval-list dash helm-config helm-aliases bbdb bbdb-site
timezone yf-asy preview-latex mb-depth icomplete autoinsert hippie-exp
warnings ert ewoc debug jka-compr paredit windmove paren dired recentf
tree-widget wid-edit org-inlinetask winner ampc-autoloads
nlinum-autoloads info sicp-autoloads slime-autoloads finder-inf
w3-autoloads workspaces-autoloads wtf-autoloads pcase discover
makey-key-mode server twittering-mode edmacro kmacro epa derived epg
epg-config tls cl-macs gv url url-proxy url-privacy url-expand
url-methods url-history url-cookie url-domsuf url-util url-parse
auth-source eieio eieio-core gnus-util mm-util mail-prsvr password-cache
url-vars mailcap xml cl cl-loaddefs cl-lib time cus-start cus-load
two-mode-mode tex-site auto-loads ido-hacks ido org byte-opt advice
help-fns org-macro org-footnote org-pcomplete pcomplete org-list
org-faces org-entities time-date noutline outline org-version
ob-emacs-lisp ob ob-tangle org-src ob-ref ob-lob ob-table ob-keys ob-exp
ob-comint comint ansi-color ring ob-core ob-eval org-compat org-macs
org-loaddefs format-spec find-func cal-menu easymenu calendar
cal-loaddefs package use-package bytecomp byte-compile cconv bind-key
easy-mmode tooltip electric uniquify 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 prog-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 nadvice loaddefs button
faces cus-face macroexp files text-properties overlay sha1 md5 base64
format env code-pages mule custom widget hashtable-print-readable
backquote make-network-process dbusbind gfilenotify dynamic-setting
system-font-setting font-render-setting x-toolkit x multi-tty emacs)

Memory information:
((conses 8 1211328 33930)
 (symbols 24 56568 0)
 (miscs 20 19479 8235)
 (strings 16 142444 26207)
 (string-bytes 1 4594156)
 (vectors 8 51281)
 (vector-slots 4 888532 4234)
 (floats 8 669 118)
 (intervals 28 102369 0)
 (buffers 512 88)
 (heap 1024 31847 1754))

-- 
Nico.




Reply sent to Stefan Monnier <monnier <at> IRO.UMontreal.CA>:
You have taken responsibility. (Wed, 23 Apr 2014 12:55:03 GMT) Full text and rfc822 format available.

Notification sent to Nicolas Richard <theonewiththeevillook <at> yahoo.fr>:
bug acknowledged by developer. (Wed, 23 Apr 2014 12:55:05 GMT) Full text and rfc822 format available.

Message #10 received at 17324-done <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: Nicolas Richard <theonewiththeevillook <at> yahoo.fr>
Cc: 17324-done <at> debbugs.gnu.org
Subject: Re: bug#17324: 24.3.90;
 (wrong-type-argument number-or-marker-p nil) in
 redisplay--update-region-highlight
Date: Wed, 23 Apr 2014 08:54:18 -0400
> I got the following error (but I can't reproduce it in a fresh session) :
> Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil)
>   min(2623 nil)
[...]
>   redisplay--update-region-highlight(#<window 3 on *Backtrace*>)

I've been tracking down this problem for a while now, but can't seem to
find its source.  So I installed the patch below to work around it for now.


        Stefan


--- lisp/simple.el	2014-04-12 19:20:44 +0000
+++ lisp/simple.el	2014-04-23 12:50:59 +0000
@@ -4495,7 +4495,12 @@
 mode is enabled.  Usually, such commands should use
 `use-region-p' instead of this function, because `use-region-p'
 also checks the value of `use-empty-active-region'."
-  (and transient-mark-mode mark-active))
+  (and transient-mark-mode mark-active
+       ;; FIXME: Somehow we sometimes end up with mark-active non-nil but
+       ;; without the mark being set (e.g. bug#17324).  We really should fix
+       ;; that problem, but in the mean time, let's make sure we don't say the
+       ;; region is active when there's no mark.
+       (mark)))
 
 
 (defvar redisplay-unhighlight-region-function




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 22 May 2014 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 11 years and 87 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.