GNU bug report logs - #21567
25.0.50; ediff-region-wordwise fails for latex buffers, emacs -Q

Previous Next

Package: emacs;

Reported by: Uwe Brauer <oub <at> mat.ucm.es>

Date: Sat, 26 Sep 2015 09:05:02 UTC

Severity: minor

Merged with 21565

Found in version 25.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

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 21567 in the body.
You can then email your comments to 21567 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#21567; Package emacs. (Sat, 26 Sep 2015 09:05:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Uwe Brauer <oub <at> mat.ucm.es> :
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 26 Sep 2015 09:05:02 GMT) Full text and rfc822 format available.

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

From: Uwe Brauer <oub <at> mat.ucm.es> 
To: bug-gnu-emacs <at> gnu.org
Subject: 25.0.50; ediff-region-wordwise fails for latex buffers, emacs -Q
Date: Sat, 26 Sep 2015 11:03:48 +0200
[Message part 1 (text/plain, inline)]
Hello

this bug report should replace the one I sent yesterday. This time I
started emacs -Q and also deleted jit-lock file which shadowed the one
emacs ships. I send this bug reported after the error occurred


[bug-ediff-emacs-q.txt (text/plain, inline)]
Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil)
  redisplay--update-region-highlight(#<window 16 on section-0005.tex-Region.A->)
  run-hook-with-args(redisplay--update-region-highlight #<window 16 on section-0005.tex-Region.A->)
  redisplay--pre-redisplay-functions(t)
  apply(redisplay--pre-redisplay-functions t)
  #[128 "\300\301\"\210\300\302\"\207" [apply redisplay--pre-redisplay-functions ignore nil] 4 nil nil](t)
  redisplay_internal\ \(C\ function\)()
  recursive-edit()
  ediff-clone-buffer-for-region-comparison("section-0005.tex" "-Region.A-")
  ediff-regions-wordwise("section-0005.tex" "section-0005-rev-1.5.tex")
  funcall-interactively(ediff-regions-wordwise "section-0005.tex" "section-0005-rev-1.5.tex")
  call-interactively(ediff-regions-wordwise record nil)
  command-execute(ediff-regions-wordwise record)
  execute-extended-command(nil "ediff-regions-wordwise" "ediff-regions-wo")
  funcall-interactively(execute-extended-command nil "ediff-regions-wordwise" "ediff-regions-wo")
  call-interactively(execute-extended-command nil nil)
  command-execute(execute-extended-command)
[Message part 3 (text/plain, inline)]



In GNU Emacs 25.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.20.1)
 of 2015-09-20
Repository revision: 00a65e3238a888fc92b0c2aab8cb5bda8bd99c29
Windowing system distributor 'The X.Org Foundation', version 11.0.10706000
System Description:	Ubuntu 10.04.4 LTS

Configured using:
 'configure --prefix=/opt/emacs25/'

Configured features:
XPM JPEG TIFF GIF PNG RSVG SOUND GPM DBUS NOTIFY GNUTLS LIBXML2 FREETYPE
M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK2 X11

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

Major mode: Debugger

Minor modes in effect:
  shell-dirtrack-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Quit
Making completion list... [2 times]
Please type y, n, or !: y
Making completion list... [2 times]
Quit
Making completion list...
Entering debugger...
Saving file /home/oub/ALLES/Karp/Static-Solutions/EulerPoisson_Uwe/split-euler-poisson/bug-ediff-emacs-q.txt...
Wrote /home/oub/ALLES/Karp/Static-Solutions/EulerPoisson_Uwe/split-euler-poisson/bug-ediff-emacs-q.txt

Load-path shadows:
None found.

Features:
(shadow sort hashcash gnus-util mail-extr emacsbug message dired
format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse
rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045
ietf-drums mm-util mail-prsvr mail-utils debug ediff-merg ediff-wind
ediff-diff ediff-mult ediff-help ediff-init ediff-util ediff cus-edit
wid-edit cus-start cus-load help-fns help-mode easymenu cl-loaddefs
pcase cl-lib vc-filewise vc-rcs tex-mode compile shell pcomplete comint
ansi-color ring latexenc time-date mule-util tooltip eldoc electric
uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win
term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe
tabulated-list newcomment elisp-mode lisp-mode prog-mode register page
menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock
syntax facemenu font-core frame cl-generic cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms
cp51932 hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help
simple abbrev minibuffer cl-preloaded 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
dbusbind inotify dynamic-setting font-render-setting move-toolbar gtk
x-toolkit x multi-tty make-network-process emacs)

Memory information:
((conses 8 129843 7363)
 (symbols 24 27705 0)
 (miscs 20 88 202)
 (strings 16 32544 5067)
 (string-bytes 1 768131)
 (vectors 8 15316)
 (vector-slots 4 464379 4700)
 (floats 8 166 193)
 (intervals 28 557 14)
 (buffers 520 18)
 (heap 1024 24667 410))


Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#21567; Package emacs. (Sat, 26 Sep 2015 09:32:02 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Uwe Brauer <oub <at> mat.ucm.es>
Cc: 21567 <at> debbugs.gnu.org
Subject: Re: bug#21567: 25.0.50;
 ediff-region-wordwise fails for latex buffers, emacs -Q
Date: Sat, 26 Sep 2015 12:31:40 +0300
> From: Uwe Brauer <oub <at> mat.ucm.es> 
> Date: Sat, 26 Sep 2015 11:03:48 +0200
> 
> this bug report should replace the one I sent yesterday. This time I
> started emacs -Q and also deleted jit-lock file which shadowed the one
> emacs ships. I send this bug reported after the error occurred

Thanks.

I'm sorry: I forgot that reporting the last keystrokes was removed
from the bug report "for privacy reasons".  So please do show the
sequence of the commands needed to reproduce this problem, starting
from "emacs -Q".




Severity set to 'minor' from 'normal' Request was from Eli Zaretskii <eliz <at> gnu.org> to control <at> debbugs.gnu.org. (Sat, 26 Sep 2015 09:52:02 GMT) Full text and rfc822 format available.

Merged 21565 21567. Request was from Eli Zaretskii <eliz <at> gnu.org> to control <at> debbugs.gnu.org. (Sat, 26 Sep 2015 09:52:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#21567; Package emacs. (Sat, 26 Sep 2015 09:57:01 GMT) Full text and rfc822 format available.

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

From: Uwe Brauer <oub <at> mat.ucm.es>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 21567 <at> debbugs.gnu.org
Subject: Re: bug#21567: 25.0.50; ediff-region-wordwise fails for latex
 buffers, emacs -Q
Date: Sat, 26 Sep 2015 11:56:21 +0200
[Message part 1 (text/plain, inline)]
On 09/26/2015 11:31 AM, Eli Zaretskii wrote:
>> From: Uwe Brauer <oub <at> mat.ucm.es> 
>> Date: Sat, 26 Sep 2015 11:03:48 +0200
>> 
>> this bug report should replace the one I sent yesterday. This time I
>> started emacs -Q and also deleted jit-lock file which shadowed the one
>> emacs ships. I send this bug reported after the error occurred
> 
> Thanks.
> 
> I'm sorry: I forgot that reporting the last keystrokes was removed
> from the bug report "for privacy reasons".  So please do show the
> sequence of the commands needed to reproduce this problem, starting
> from "emacs -Q".
> 
do you mean the ones shown by lossage C-h l?

[smime.p7s (application/pkcs7-signature, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#21567; Package emacs. (Sat, 26 Sep 2015 10:07:02 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Uwe Brauer <oub <at> mat.ucm.es>
Cc: 21567 <at> debbugs.gnu.org
Subject: Re: bug#21567: 25.0.50;
 ediff-region-wordwise fails for latex buffers, emacs -Q
Date: Sat, 26 Sep 2015 13:06:13 +0300
> Date: Sat, 26 Sep 2015 11:56:21 +0200
> From: Uwe Brauer <oub <at> mat.ucm.es>
> CC: 21567 <at> debbugs.gnu.org
> 
> > I'm sorry: I forgot that reporting the last keystrokes was removed
> > from the bug report "for privacy reasons".  So please do show the
> > sequence of the commands needed to reproduce this problem, starting
> > from "emacs -Q".
> > 
> do you mean the ones shown by lossage C-h l?

Yes.  Or simply describe in your own words what you did after starting
Emacs.

TIA




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#21567; Package emacs. (Mon, 28 Sep 2015 12:40:02 GMT) Full text and rfc822 format available.

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

From: Uwe Brauer <oub <at> mat.ucm.es>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Uwe Brauer <oub <at> mat.ucm.es>, 21567 <at> debbugs.gnu.org
Subject: Re: bug#21567: 25.0.50;
 ediff-region-wordwise fails for latex buffers, emacs -Q
Date: Mon, 28 Sep 2015 14:39:37 +0200
[Message part 1 (text/plain, inline)]

> Yes.  Or simply describe in your own words what you did after starting
> Emacs.

Sorry for the delay. Attached you find two short latex files for which
the problem occurs. I prefer to describe the steps.

    -  emacs -Q

    -  set-variable debug-on-error t

    -  open old.tex via find-file

    -  open new.tex via find-file

    -  in new tex run ediff-regions-wordswise

    -  enter buffer new.tex and buffer old.tex  

    -  the error described occurs.

Uwe Brauer 

[new.tex (text/x-tex, inline)]
\documentclass[12pt]{article}
\newcommand*{\setR}{\mathbb{R}}
\usepackage{amsmath,amssymb}
% (setq font-latex-fontify-script 'invisible)
% (setq font-latex-fontify-script nil) 
% (setq font-latex-fontify-script t) 
% (setq font-latex-fontify-script 'multi-level)
% (font-lock-flush) this 
\begin{document}

New Integral: 
  \begin{equation*}
    \left\|\left( \Psi_m A^a\right)_{2^j}\right\|_{H^{s}}\lesssim
    \left\|\left( (\psi_m A^a)_{2^m}\right)_{2^{j-m}}\right\|_{H^{s}}\leq C(2^{j-m})
    \left\| (\psi_m A^a)_{2^m}\right\|_{H^{s}}.
  \end{equation*} 
\begin{equation}
\label{eq:new:2}
\int_{a+1} A^{a} dx = \sum\limits_a^b \lambda  \varrho 
\end{equation}
\begin{equation}
\label{eq:klaus-t15sep:6}
\int\limits_a^b \quad \qquad \qquad \qquad 
\end{equation}
\begin{equation}
\int_a
\end{equation}
\begin{equation}
  \label{eq:new:1}
  \int_1 y_{n+1} \int_{n} \quad 
\end{equation}
\end{document}


%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% End:
[old.tex (text/x-tex, inline)]
\documentclass[12pt]{article}
\newcommand*{\setR}{\mathbb{R}}
\usepackage{amsmath,amssymb}
% (setq font-latex-fontify-script 'invisible)
% (setq font-latex-fontify-script nil) 
% (setq font-latex-fontify-script t) 
% (setq font-latex-fontify-script 'multi-level)
% (font-lock-flush) this 
\begin{document}

old Integral:
\begin{equation}
  \label{eq:new:2}
  \int_{a+1} A^{a} dx = \sum\limits_a^b \lambda  \varrho 
\end{equation}
\begin{equation}
  \label{eq:klaus-t15sep:6}
  \int\limits_a^b \quad \qquad \qquad \qquad 
\end{equation}
\begin{equation}
  \int_a
\end{equation}
\begin{equation}
  \label{eq:new:1}
  \int_1 y_{n+1} \int_{n} \quad 
\end{equation}
\end{document}


%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% End:

Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Mon, 28 Sep 2015 15:55:02 GMT) Full text and rfc822 format available.

Notification sent to Uwe Brauer <oub <at> mat.ucm.es> :
bug acknowledged by developer. (Mon, 28 Sep 2015 15:55:03 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Uwe Brauer <oub <at> mat.ucm.es>
Cc: 21567-done <at> debbugs.gnu.org
Subject: Re: bug#21567: 25.0.50;
 ediff-region-wordwise fails for latex buffers, emacs -Q
Date: Mon, 28 Sep 2015 18:54:53 +0300
> From: Uwe Brauer <oub <at> mat.ucm.es>
> Cc: Uwe Brauer <oub <at> mat.ucm.es>, 21567 <at> debbugs.gnu.org
> Date: Mon, 28 Sep 2015 14:39:37 +0200
> 
> > Yes.  Or simply describe in your own words what you did after starting
> > Emacs.
> 
> Sorry for the delay. Attached you find two short latex files for which
> the problem occurs. I prefer to describe the steps.
> 
>     -  emacs -Q
> 
>     -  set-variable debug-on-error t
> 
>     -  open old.tex via find-file
> 
>     -  open new.tex via find-file
> 
>     -  in new tex run ediff-regions-wordswise
> 
>     -  enter buffer new.tex and buffer old.tex  
> 
>     -  the error described occurs.

Thanks, fixed.




Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Mon, 28 Sep 2015 15:55:04 GMT) Full text and rfc822 format available.

Notification sent to Uwe Brauer <oub <at> mat.ucm.es>:
bug acknowledged by developer. (Mon, 28 Sep 2015 15:55:04 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#21567; Package emacs. (Mon, 28 Sep 2015 20:46:02 GMT) Full text and rfc822 format available.

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

From: Uwe Brauer <oub <at> mat.ucm.es>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: "21567-done <at> debbugs.gnu.org" <21567-done <at> debbugs.gnu.org>
Subject: Re: bug#21567: 25.0.50;
 ediff-region-wordwise fails for latex buffers, emacs -Q
Date: Mon, 28 Sep 2015 22:45:53 +0200
[Message part 1 (text/plain, inline)]



> On 28 Sep 2015, at 17:54, Eli Zaretskii <eliz <at> gnu.org> wrote:
> 
> Thanks, fixed.

Confirm fix. 
[smime.p7s (application/pkcs7-signature, attachment)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 27 Oct 2015 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 9 years and 316 days ago.

Previous Next


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