GNU bug report logs -
#32564
27.0.50; cedet/ede/pconf.el
Previous Next
Reported by: Pierre Lorenzon <devel <at> pollock-nageoire.net>
Date: Wed, 29 Aug 2018 03:55:01 UTC
Severity: normal
Tags: fixed
Merged with 28416
Found in versions 26.0.50, 27.0.50
Done: Noam Postavsky <npostavs <at> gmail.com>
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 32564 in the body.
You can then email your comments to 32564 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#32564
; Package
emacs
.
(Wed, 29 Aug 2018 03:55:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Pierre Lorenzon <devel <at> pollock-nageoire.net>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Wed, 29 Aug 2018 03:55:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Bug in pconf.el has not been fixed yet. Here is a diff
indicating what has to be done. I have to do it each time I
upgrade my git copy of emacs otherwise C-c . C in ede mode
crashes.
>>> -- Diff
diff -u /usr/share/emacs/27.0.50/lisp/cedet/ede/pconf.el /usr/share/emacs/27.0.50/lisp/cedet/ede/pconf.fix.el
--- /usr/share/emacs/27.0.50/lisp/cedet/ede/pconf.el 2018-08-28 05:41:17.000000000 +0200
+++ /usr/share/emacs/27.0.50/lisp/cedet/ede/pconf.fix.el 2017-09-11 14:25:51.000000000 +0200
@@ -1,6 +1,6 @@
;;; ede/pconf.el --- configure.ac maintenance for EDE
-;;; Copyright (C) 1998-2000, 2005, 2008-2018 Free Software Foundation,
+;;; Copyright (C) 1998-2000, 2005, 2008-2017 Free Software Foundation,
;;; Inc.
;; Author: Eric M. Ludlam <zappo <at> gnu.org>
@@ -19,7 +19,7 @@
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
-;; along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>.
+;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
;;; Commentary:
;;
@@ -135,7 +135,7 @@
(with-current-buffer "*compilation*"
(goto-char (point-max))
- (when (not (string= mode-line-process ":exit [0]"))
+ (when (not (string= (car mode-line-process) ":exit [0]"))
(error "Configure failed!"))
;; The Makefile is now recreated by configure?
Diff finished. Wed Aug 29 05:09:19 2018
>>> -- End Diff
The problem is that this code do not take care of the fact that
type of variable `mode-line-process' has been changed from
string to list.
Regards
Pierre
In GNU Emacs 27.0.50 (build 2, x86_64-pc-linux-gnu)
of 2018-08-28 built on jabberwocky
Repository revision: bf1b147b55e1328efca6e40181e79dd9a369895d
Configured using:
'configure --prefix=/usr --libdir=/usr/lib64 'CC=gcc -m64'
PKG_CONFIG_PATH=/usr/lib64/pkgconfig'
Configured features:
JPEG SOUND NOTIFY GNUTLS LIBXML2 ZLIB THREADS
Important settings:
value of $LANG: C
locale-coding-system: nil
Major mode: Autoconf
Minor modes in effect:
diff-auto-refine-mode: t
gpm-mouse-mode: t
shell-dirtrack-mode: t
global-ede-mode: t
ede-minor-mode: t
desktop-save-mode: t
global-speechd-speak-mode: t
speechd-speak-mode: t
global-speechd-speak-map-mode: t
speechd-speak-map-mode: t
cl-old-struct-compat-mode: t
tooltip-mode: t
electric-indent-mode: t
menu-bar-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
line-number-mode: t
transient-mark-mode: t
Load-path shadows:
/home/devel/.emacs.d/elpa/auctex-12.1.0/auctex hides /usr/share/emacs/site-lisp/auctex
/home/devel/.emacs.d/elpa/auctex-12.1.0/tex-site hides /usr/share/emacs/site-lisp/tex-site
/usr/local/share/emacs/site-lisp/Plnltx/env/replace hides /usr/share/emacs/27.0.50/lisp/replace
Features:
(shadow emacsbug sendmail help-fns radix-tree cl-print debug
backtrace help-mode compile make-mode ede/locate
semantic/lex-spp plnltxprj-target-exercise
plnltxprj-target-history plnltxprj-target-student
plnltxprj-target edext-target-symlink smerge-mode diff-mode
diff dired-x log-edit easy-mmode message rfc822 mml mml-sec epa
derived epg mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader pcvs-util add-log vc-cvs vc-rcs
vc-dir ewoc plnltxprj-project project/edext-project
edext-project-project edext-utils-vc vc-svn vc vc-dispatcher pp
qp mew-varsx mew-unix dired-aux ede/dired t-mouse term/linux
elec-pair pln-w3m mew-w3m w3m doc-view dired dired-loaddefs
image-mode timezone w3m-hist w3m-fb bookmark-w3m w3m-ems
w3m-ccl ccl w3m-favicon w3m-image w3m-proc w3m-util pln-mew
mew-auth mew-config mew-imap2 mew-imap mew-nntp2 mew-nntp
mew-pop mew-smtp mew-ssl mew-ssh mew-net mew-highlight mew-sort
mew-fib mew-ext mew-refile mew-demo mew-attach mew-draft
mew-message mew-thread mew-virtual mew-summary4 mew-summary3
mew-summary2 mew-summary mew-search mew-pick mew-passwd
mew-scan mew-syntax mew-bq mew-smime mew-pgp mew-header
mew-exec mew-mark mew-mime mew-edit mew-decode mew-encode
mew-cache mew-minibuf mew-complete mew-addrbook mew-local
mew-vars3 mew-vars2 mew-vars mew-env mew-mule3 mew-mule
mew-gemacs mew-key mew-func mew-blvs mew-const mew pln-eww
url-file url-dired eww mm-url gnus nnheader gnus-util rmail
rmail-loaddefs rfc2047 rfc2045 ietf-drums mail-utils mm-util
mail-prsvr url-queue url url-proxy url-privacy url-history
url-cookie url-domsuf mailcap shr text-property-search svg xml
dom browse-url url-expand url-util url-methods plnltx plnltxref
plnltxprj plnltxtss plnltxenv j++-basic-package
j++-packages-subsystems-descriptors-descriptor
j++-packages-subsystems-descriptors-class
j++-packages-databases-items-item j++-basic-mastered
j++-basic-widgets-open-close-title j++-basic-widgets-title
j++-basic-widgets-open-close-object j++-packages-scmel-results
j++-packages-scmel-output speechd-el-extension
j++-packages-subsystems-subsystems
j++-packages-subsystems-basic-lists-pointed
j++-packages-subsystems-basic-lists-list
j++-interfaces-loadable-basic-lists-pointed
j++-interfaces-basic-lists-pointed
j++-interfaces-loadable-basic-lists-list
j++-interfaces-basic-lists-list j++-basic-widgets-lists-mutable
j++-basic-widgets-lists-pointed j++-basic-lists-pointed
j++-basic-creator j++-basic-widgets-lists-list
j++-basic-lists-list j++-basic-mapable j++-basic-sortable
j++-packages-subsystems-basic-logger
j++-interfaces-loadable-basic-logger
j++-interfaces-basic-logger tramp trampver tramp-compat
tramp-loaddefs ucs-normalize shell pcomplete comint regexp-opt
ansi-color ring parse-time format-spec edext edext-automake
edext-srecode semantic/edit srecode/srt-mode semantic/analyze
semantic/sort semantic/scope semantic/analyze/fcn semantic/db
semantic/format srecode/template srecode/srt-wy semantic/wisent
semantic/wisent/wisent semantic/ctxt edext-compat pln-ede
srecode/insert srecode/filters srecode/args srecode/find
srecode/map srecode/ctxt semantic/tag-ls semantic/find
srecode/compile srecode/dictionary srecode/table srecode
semantic/util-modes semantic/util semantic semantic/tag
semantic/lex semantic/fw mode-local find-func ede/proj-elisp
ede/pconf ede/proj-misc ede/proj-shared ede/proj-prog ede/pmake
ede/proj-obj ede/proj ede/make ede/proj-comp ede/autoconf-edit
autoconf autoconf-mode pln-auctex pln-customization
ede/speedbar ede/files ede ede/detect ede/base ede/auto
ede/source eieio-speedbar speedbar sb-image ezimage image
dframe cedet desktop frameset cus-start cus-load time-date
j++-packages-scmel-efm-parameters
j++-packages-scmel-efm-connection network-stream puny nsm
subr-x rmc j++-packages-scmel-efm-driver
j++-packages-scmel-efm-efm j++-packages-scmel-monitor
j++-packages-scmel-scmel j++-basic-logger
j++-basic-processes-network-filtered
j++-basic-processes-filtered j++-basic-processes-put-and-get
j++-basic-processes-network-stream j++-basic-processes-process
j++-packages-subsystems-subsystem
j++-interfaces-loadable-loadable j++-interfaces-interface
j++-basic-widgets-object warnings j++-basic-files-loadable
j++-basic-files-serializable j++-basic-files-stringifiable
j++-basic-state j++-basic-files-load eieio-base eieio-custom
wid-edit speechd-speak advice speechd-brltty speechd-braille
braille mmanager brltty speechd-ssip speechd speechd-out
eieio-compat speechd-common jka-compr j++ j++-compat
j++-precompat cl disp-table mule-util info tool-bar tex-site
finder-inf package easymenu epg-config url-handlers url-parse
auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs
password-cache json map url-vars seq byte-opt gv bytecomp
byte-compile cconv cl-loaddefs cl-lib tooltip eldoc electric
uniquify ediff-hook vc-hooks lisp-float-type tabulated-list
replace newcomment text-mode elisp-mode lisp-mode prog-mode
register page menu-bar rfn-eshadow isearch timer select mouse
jit-lock font-lock syntax facemenu font-core term/tty-colors
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 composite charscript charprop case-table
epa-hook jka-cmpr-hook help simple abbrev obarray 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 threads inotify multi-tty make-network-process emacs)
Memory information:
((conses 16 438091 111605)
(symbols 48 42862 71)
(strings 32 101609 4349)
(string-bytes 1 2912944)
(vectors 16 76365)
(vector-slots 8 2082271 146216)
(floats 8 182 306)
(intervals 56 1816 371)
(buffers 992 33)
(heap 1024 62302 1691))
Merged 28416 32564.
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Wed, 29 Aug 2018 15:36:01 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#32564
; Package
emacs
.
(Sat, 01 Sep 2018 02:17:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 32564 <at> debbugs.gnu.org (full text, mbox):
Pierre Lorenzon <devel <at> pollock-nageoire.net> writes:
> Bug in pconf.el has not been fixed yet. Here is a diff
> indicating what has to be done. I have to do it each time I
> upgrade my git copy of emacs otherwise C-c . C in ede mode
> crashes.
> @@ -135,7 +135,7 @@
> (with-current-buffer "*compilation*"
> (goto-char (point-max))
>
> - (when (not (string= mode-line-process ":exit [0]"))
> + (when (not (string= (car mode-line-process) ":exit [0]"))
> (error "Configure failed!"))
>
> ;; The Makefile is now recreated by configure?
>
> Diff finished. Wed Aug 29 05:09:19 2018
>
>
>>>> -- End Diff
>
>
> The problem is that this code do not take care of the fact that
> type of variable `mode-line-process' has been changed from
> string to list.
Wouldn't it be better to, e.g., add a function to
compilation-finish-functions so that pconf would stop depending on the
exact modeline format used by compile.el?
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#32564
; Package
emacs
.
(Sat, 01 Sep 2018 04:05:01 GMT)
Full text and
rfc822 format available.
Message #13 received at 32564 <at> debbugs.gnu.org (full text, mbox):
Hi Noam,
Thanks answering this problem taht have been pending for a long
time !
From: Noam Postavsky <npostavs <at> gmail.com>
Subject: Re: bug#32564: 27.0.50; cedet/ede/pconf.el
Date: Fri, 31 Aug 2018 22:16:30 -0400
> Pierre Lorenzon <devel <at> pollock-nageoire.net> writes:
>
>> Bug in pconf.el has not been fixed yet. Here is a diff
>> indicating what has to be done. I have to do it each time I
>> upgrade my git copy of emacs otherwise C-c . C in ede mode
>> crashes.
>
>> @@ -135,7 +135,7 @@
>> (with-current-buffer "*compilation*"
>> (goto-char (point-max))
>>
>> - (when (not (string= mode-line-process ":exit [0]"))
>> + (when (not (string= (car mode-line-process) ":exit [0]"))
>> (error "Configure failed!"))
>>
>> ;; The Makefile is now recreated by configure?
>>
>> Diff finished. Wed Aug 29 05:09:19 2018
>>
>>
>>>>> -- End Diff
>>
>>
>> The problem is that this code do not take care of the fact that
>> type of variable `mode-line-process' has been changed from
>> string to list.
>
> Wouldn't it be better to, e.g., add a function to
> compilation-finish-functions so that pconf would stop depending on the
> exact modeline format used by compile.el?
In my opinion your solution is clearly better than the small
dirthy hack I have done ! But I am developer of none of these
packages, so I have simply done the simplest and fastest
thing I could do to be able using C-c . C to compile my codes
!
Regards
Pierre
>
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#32564
; Package
emacs
.
(Mon, 17 Sep 2018 00:40:02 GMT)
Full text and
rfc822 format available.
Message #16 received at 32564 <at> debbugs.gnu.org (full text, mbox):
tags 32564 fixed
close 32564
quit
Pierre Lorenzon <devel <at> pollock-nageoire.net> writes:
> In my opinion your solution is clearly better than the small
> dirthy hack I have done ! But I am developer of none of these
> packages, so I have simply done the simplest and fastest
> thing I could do to be able using C-c . C to compile my codes
> !
Unfortunately, I don't think there are any (active) developers of these
packages. I've pushed your patch since it's obviously better than what
we have now, and added a FIXME note about improving this.
P.S. you're getting somewhat close to the limit of unassigned changes
(which is approximately 15 lines). Would you consider assigning
copyright for Emacs? There is a form at
https://git.savannah.gnu.org/cgit/gnulib.git/tree/doc/Copyright/request-assign.future
[1: b2c1b03f6b]: 2018-09-16 20:25:44 -0400
Update pconf for compile.el mode-line-process changes
https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=b2c1b03f6ba1fbf0514bd51dfbbc36d202d0c807
[2: bc4f4b6e0c]: 2018-09-16 20:25:44 -0400
; Add FIXME regarding previous change
https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=bc4f4b6e0ccbc361f4fabbed5eb2e5a357107588
Added tag(s) fixed.
Request was from
Noam Postavsky <npostavs <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Mon, 17 Sep 2018 00:40:03 GMT)
Full text and
rfc822 format available.
bug closed, send any further explanations to
32564 <at> debbugs.gnu.org and Pierre Lorenzon <devel <at> pollock-nageoire.net>
Request was from
Noam Postavsky <npostavs <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Mon, 17 Sep 2018 00:40:03 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 15 Oct 2018 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 6 years and 254 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.