GNU bug report logs - #28909
27.0.50; C-c C-c fails in page directory

Previous Next

Package: emacs;

Reported by: Marco Wahl <marcowahlsoft <at> gmail.com>

Date: Fri, 20 Oct 2017 12:18:02 UTC

Severity: normal

Tags: confirmed, fixed, patch

Found in version 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 28909 in the body.
You can then email your comments to 28909 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#28909; Package emacs. (Fri, 20 Oct 2017 12:18:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Marco Wahl <marcowahlsoft <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 20 Oct 2017 12:18:02 GMT) Full text and rfc822 format available.

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

From: Marco Wahl <marcowahlsoft <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 27.0.50; C-c C-c fails in page directory
Date: Fri, 20 Oct 2017 14:16:47 +0200
M-x load-library page-ext
C-x C-p C-d
Move cursor to a line representing a page.
C-c C-c

Outcome: Watch the message

    command-execute: pages-directory-goto must be bound to an event with parameters

Expectation: A jump to the respective page.



In GNU Emacs 27.0.50 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.22.24)
 of 2017-10-18 built on tm6592
Repository revision: 94281c9a1cc0f756841fdc9b266657853df94a29
Windowing system distributor 'The X.Org Foundation', version 11.0.11905000
System Description:	Arch Linux

Recent messages:
Creating directory for: org-dired.el 
6 matching lines in: org-dired.el
pages-directory-goto
command-execute: pages-directory-goto must be bound to an event with parameters
Creating directory for: *Directory for: org-dired.el 
1 matching lines in: *Directory for: org-dired.el
Creating directory for: org-dired.el 
6 matching lines in: org-dired.el
command-execute: pages-directory-goto must be bound to an event with parameters
Error in post-command-hook (ido-exhibit): (error "Attempt to modify read-only object" "debug")
Quit
Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTIFY
ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS
GTK3 X11 LIBSYSTEMD LCMS2

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

Major mode: Pages-Directory

Minor modes in effect:
  semantic-minor-modes-format: ((:eval (if (or semantic-highlight-edits-mode semantic-show-unmatched-syntax-mode)  S)))
  TeX-PDF-mode: t
  beacon-mode: t
  moz-controller-global-mode: t
  moz-controller-mode: t
  zen-reward-mode: t
  nyan-mode: t
  global-company-mode: t
  company-mode: t
  diff-auto-refine-mode: t
  magit-auto-revert-mode: t
  global-git-commit-mode: t
  async-bytecomp-package-mode: t
  global-lentic-mode: t
  lentic-mode: t
  ido-hacks-mode: t
  ido-everywhere: t
  on-screen-global-mode: t
  wrap-region-global-mode: t
  wrap-region-mode: t
  keyfreq-autosave-mode: t
  keyfreq-mode: t
  dired-async-mode: t
  override-global-mode: t
  winner-mode: t
  shell-dirtrack-mode: t
  timeclock-mode-line-display: t
  show-paren-mode: t
  erc-list-mode: t
  erc-menu-mode: t
  erc-autojoin-mode: t
  erc-ring-mode: t
  erc-networks-mode: t
  erc-pcomplete-mode: t
  erc-track-mode: t
  erc-track-minor-mode: t
  erc-match-mode: t
  erc-button-mode: t
  erc-fill-mode: t
  erc-stamp-mode: t
  erc-netsplit-mode: t
  erc-irccontrols-mode: t
  erc-noncommands-mode: t
  erc-move-to-prompt-mode: t
  erc-readonly-mode: t
  display-time-mode: t
  cl-old-struct-compat-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-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
  buffer-read-only: t
  transient-mark-mode: t
  abbrev-mode: t

Load-path shadows:
Error during checking
Features:
(shadow emacsbug pulse bug-reference hippie-exp ledger-mode ledger-check
ledger-texi ledger-test ledger-sort ledger-report ledger-reconcile
ledger-occur ledger-fontify ledger-state ledger-fonts ledger-complete
ledger-schedule ledger-init ledger-xact ledger-post ledger-exec
ledger-navigate ledger-context ledger-commodities ledger-regex find-lisp
preview prv-emacs tex-buf font-latex latex-mode-expansions latex
tex-ispell tex-style tex tex-mode latexenc macrostep-c cmacexp
ox-koma-letter org-table org-archive org-colview org-indent cal-move
korea-util cl-print ripgrep grep ein-shared-output
python-el-fgallina-expansions python tramp-sh ein-multilang-fontify
ein-connect ein-ac rst ein-dev ein-loaddefs flycheck wdired
markdown-mode color names autoload tar-mode hl-line cal-iso
magit-bookmark bookmark tabify misearch multi-isearch view url-cache
ein-org ein-notebooklist ein-file ein-notebook eieio-opt speedbar
sb-image ezimage dframe ein-inspector ein-traceback ein-pytools
ein-pager ein-completer ein-subpackages ein-notification
ein-scratchsheet ein-worksheet ein-kill-ring ein-cell-output
ein-cell-edit ein-cell ein-skewer skewer-mode cache-table
js2-mode-expansions js2-mode js-mode-expansions js html-mode-expansions
sgml-mode simple-httpd ein-output-area ein-kernelinfo ein-kernel
ein-ipdb ein-events ein-websocket websocket bindat ein-contents-api
ein-query request-deferred deferred request ein-node ein-log ein-classes
ein-core ein-utils ein sh-script smie executable ace-window org-duration
em-unix em-term term ehelp em-script em-prompt em-ls em-hist em-pred
em-glob em-dirs em-cmpl em-basic em-banner em-alias esh-var esh-io
esh-cmd esh-opt esh-ext esh-proc esh-arg esh-groups eshell esh-module
esh-mode esh-util gnus-dired password-store qp bbdb-message mailalias
smiley gnus-cite mm-archive mail-extr gnus-async gnus-bcklg gnus-kill
gnus-ml nndraft nnmh nndoc utf-7 epa-file network-stream starttls
nnfolder bbdb-gnus nnnil gnus-agent gnus-srvr gnus-score score-mode
nnvirtual gnus-msg gnus-cache gnus-demon nntp smtpmail sendmail beacon
checkdoc page-ext erc-dcc battery emacsshot rope-read-mode org-timer
org-clock disp-table org-velocity org-learn org-invoice org-elisp-symbol
org-depend org-w3m org-rmail org-mhe org-irc org-inlinetask org-info
org-habit org-gnus org-eww org-docview doc-view jka-compr image-mode
org-crypt org-bibtex bibtex org-bbdb exwm-randr xcb-randr exwm-config
exwm exwm-input xcb-keysyms xcb-xkb exwm-manage exwm-floating xcb-cursor
xcb-render exwm-layout exwm-workspace exwm-core xcb-ewmh xcb-icccm xcb
xcb-xproto xcb-types jl-encrypt maxima maxima-font-lock moz-controller
moz org-section-numbers org-structure-as-dirs-and-files org-bullets
carry-region cursor-color-mode ariadne-marks mw-mark txr-mode
auto-complete herald-the-mode-line reverse-words logbook-sorter go-up
cal-china lunar cal-islam cal-hebrew holidays hol-loaddefs bbdb-anniv
appt diary-lib diary-loaddefs auxies-eww hacks auxies-rest rect
org-supplements little-helpers bbdb-mua bbdb-com gnorb-bbdb bbdb
bbdb-site timezone bbdb-loaddefs emms-librefm-stream
emms-librefm-scrobbler emms-playlist-limit emms-volume
emms-volume-amixer emms-i18n emms-history emms-score emms-stream-info
emms-metaplaylist-mode emms-bookmarks emms-cue emms-mode-line-icon
emms-browser sort emms-playlist-sort emms-last-played emms-player-xine
emms-player-mpd tq emms-playing-time emms-lyrics emms-url emms-streams
emms-show-all emms-tag-editor emms-mark emms-mode-line emms-cache
emms-info-ogginfo emms-info-mp3info emms-info later-do
emms-playlist-mode emms-player-vlc emms-player-mplayer
emms-player-simple emms-source-playlist emms-source-file locate
emms-setup emms emms-compat org-protocol slime-fancy slime-trace-dialog
slime-fontifying-fu slime-package-fu slime-references
slime-compiler-notes-tree slime-scratch slime-presentations bridge
slime-macrostep macrostep slime-mdot-fu slime-enclosing-context
slime-fuzzy slime-fancy-trace slime-fancy-inspector slime-c-p-c
slime-editing-commands slime-autodoc slime-repl elp slime-parse slime
elec-pair lisp-mnt gud apropos arc-mode archive-mode hyperspec
slime-autoloads refine git-timemachine elmacro emr-c emr-elisp emr-lisp
list-utils emr-iedit which-func emr-prog emr popup git-auto-commit-mode
nyan-mode sotlisp skeleton gnuplot info-look helm helm-source
helm-multi-match helm-lib aurel url-http url-auth url-gw nsm bui
bui-list bui-info bui-entry bui-core bui-history bui-button bui-utils
cus-edit rase solar cal-dst gnorb gnorb-org gnorb-registry gnus-registry
registry gnorb-gnus gnorb-utils org-agenda org-capture org-attach vc-git
org-id gnus-art mm-uu mml2015 mm-view mml-smime smime dig nngnorb nnir
gnus-sum gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail
mail-source tls gnutls utf7 netrc gnus-spec gnus-int gnus-range gnus-win
nnoo smartparens lispy hydra lv swiper ivy ivy-overlay ffap iedit
iedit-lib lispy-inline semantic/db eieio-base semantic/util-modes
semantic/util semantic semantic/tag semantic/lex semantic/fw mode-local
cedet ediff-merg ediff-wind ediff-diff ediff-mult ediff-help ediff-init
ediff-util ediff edebug help-fns radix-tree lispy-tags key-chord
company-oddmuse company-keywords company-etags company-gtags
company-dabbrev-code company-dabbrev company-files company-capf
company-cmake company-xcode company-clang company-semantic company-eclim
company-template company-css company-nxml company-bbdb company pcase
magit-obsolete magit-blame magit-stash magit-bisect magit-remote
magit-commit magit-sequence magit-notes magit-worktree magit-branch
magit-files magit-refs magit-status magit magit-repos magit-apply
magit-wip magit-log magit-diff smerge-mode diff-mode magit-core
magit-autorevert autorevert filenotify magit-process magit-margin
magit-mode magit-git magit-section magit-popup git-commit magit-utils
crm log-edit message rmc rfc822 mml mml-sec epa epg mm-decode mm-bodies
mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader pcvs-util
add-log with-editor async-bytecomp server lentic-mode lentic-doc
lentic-ox lentic-org lentic-chunk ox-texinfo ox-org ox-odt rng-loc
rng-uri rng-parse rng-match rng-dt rng-util rng-pttrn nxml-parse nxml-ns
nxml-enc xmltok nxml-util ox-md ox-icalendar ox-html table ox-beamer
ox-latex ox-ascii ox-publish ox eww puny mm-url gnus nnheader gnus-util
rmail rmail-loaddefs rfc2047 rfc2045 ietf-drums mail-utils mm-util
mail-prsvr url-queue shr svg dom browse-url lentic eieio-compat
m-buffer-at m-buffer m-buffer-macro ido-hacks ido expand-region
text-mode-expansions cc-mode-expansions the-org-mode-expansions
er-basic-expansions expand-region-core expand-region-custom
browse-kill-ring form-feed page-break-lines on-screen wrap-region
keyfreq stumpwm-mode dired-narrow delsel dired-hacks-utils chronos
derived notifications dbus xml cl-extra help-mode ace-link avy camcorder
dired-async dired-aux dired dired-loaddefs async elm-mode
elm-interactive url url-proxy url-privacy url-expand url-methods
url-history url-cookie url-domsuf url-util mailcap elm-font-lock
elm-indent elm-imenu elm-format elm-tags elm-util inf-haskell
haskell-decl-scan imenu haskell-mode haskell-cabal haskell-utils
haskell-font-lock haskell-indentation haskell-string
haskell-sort-imports haskell-lexeme rx haskell-align-imports
haskell-compat haskell-complete-module haskell-ghc-support flymake-proc
flymake subr-x warnings etags xref project compile dabbrev
haskell-customize let-alist json map f dash s use-package diminish
bind-key finder-inf tex-site edmacro kmacro cl screenshot-autoloads info
package epg-config url-handlers url-parse url-vars seq org-element
avl-tree generator org org-macro org-footnote org-pcomplete org-list
org-faces org-entities noutline outline easy-mmode org-version ob-octave
ob-makefile ob-forth ob-R ob-haskell ob-maxima ob-java ob-plantuml
ob-sqlite ob-sql ob-screen ob-J ob-io ob-shell ob-clojure ob-scheme
ob-gnuplot ob-dot ob-ditaa ob-lisp ob-css ob-js ob-org ob-ledger
ob-latex ob-calc calc-store calc-trail calc-ext calc calc-loaddefs
calc-macs ob-C cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles
cc-align cc-engine cc-vars cc-defs ob-python ob-awk ob-emacs-lisp ob
ob-tangle org-src ob-ref ob-lob ob-table ob-keys ob-exp ob-comint
ob-core ob-eval org-compat org-macs org-loaddefs cal-menu calendar
cal-loaddefs ert find-func ewoc debug .emacs-custom winner tramp
tramp-compat tramp-loaddefs trampver ucs-normalize shell parse-time
advice timeclock paren avoid image-file erc-list erc-menu easymenu
erc-join erc-ring erc-networks erc-pcomplete time-date pcomplete comint
ansi-color ring erc-track erc-match erc-button wid-edit erc-fill
erc-stamp erc-netsplit erc-goodies erc erc-backend erc-compat
format-spec auth-source cl-seq eieio byte-opt bytecomp byte-compile
cconv eieio-core cl-macs gv eieio-loaddefs password-cache thingatpt pp
time desktop frameset cl-loaddefs cl-lib cus-start cus-load mule-util
tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type
mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image
regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode
lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer
select scroll-bar 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 dbusbind inotify lcms2 dynamic-setting system-font-setting
font-render-setting move-toolbar gtk x-toolkit x multi-tty
make-network-process emacs)

Memory information:
((conses 16 2558970 387750)
 (symbols 48 113210 518)
 (miscs 40 60418 22271)
 (strings 32 512642 34198)
 (string-bytes 1 16173495)
 (vectors 16 195807)
 (vector-slots 8 3909093 279986)
 (floats 8 2206 4462)
 (intervals 56 152525 11617)
 (buffers 992 200))

-- 
Marco Wahl -- Freelancer
https://marcowahl.github.io




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#28909; Package emacs. (Wed, 25 Oct 2017 01:04:01 GMT) Full text and rfc822 format available.

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

From: Glenn Morris <rgm <at> gnu.org>
To: Marco Wahl <marcowahlsoft <at> gmail.com>
Cc: 28909 <at> debbugs.gnu.org
Subject: Re: bug#28909: 27.0.50; C-c C-c fails in page directory
Date: Tue, 24 Oct 2017 21:03:29 -0400
Marco Wahl wrote:

> M-x load-library page-ext
> C-x C-p C-d
> Move cursor to a line representing a page.
> C-c C-c
>
> Outcome: Watch the message
>
>     command-execute: pages-directory-goto must be bound to an event with parameters
>
> Expectation: A jump to the respective page.

Regression from emacs-26 due to 56f7e4c (the dreaded "misc cleanup").




Added tag(s) confirmed. Request was from Noam Postavsky <npostavs <at> users.sourceforge.net> to control <at> debbugs.gnu.org. (Fri, 10 Nov 2017 02:57:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#28909; Package emacs. (Wed, 28 Mar 2018 09:21:02 GMT) Full text and rfc822 format available.

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

From: marcowahlsoft <at> gmail.com
To: Marco Wahl <marcowahlsoft <at> gmail.com>
Cc: 28909 <at> debbugs.gnu.org
Subject: Re: bug#28909: 27.0.50; C-c C-c fails in page directory
Date: Wed, 28 Mar 2018 11:20:49 +0200
[Message part 1 (text/plain, inline)]
Marco Wahl <marcowahlsoft <at> gmail.com> writes:

> M-x load-library page-ext
> C-x C-p C-d
> Move cursor to a line representing a page.
> C-c C-c
>
> Outcome: Watch the message
>
>     command-execute: pages-directory-goto must be bound to an event with parameters
>
> Expectation: A jump to the respective page.

Hereby I propose a patch.  Just copied the interactive call according
to the pattern in `occur-mode-goto-occurrence'.

Thanks for consideration.

[0001-Fix-goto-page-from-page-directory.patch (text/x-patch, attachment)]

Added tag(s) patch. Request was from Noam Postavsky <npostavs <at> gmail.com> to control <at> debbugs.gnu.org. (Sat, 07 Apr 2018 01:59:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#28909; Package emacs. (Sat, 07 Apr 2018 02:36:01 GMT) Full text and rfc822 format available.

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

From: Noam Postavsky <npostavs <at> gmail.com>
To: marcowahlsoft <at> gmail.com
Cc: 28909 <at> debbugs.gnu.org
Subject: Re: bug#28909: 27.0.50; C-c C-c fails in page directory
Date: Fri, 06 Apr 2018 22:35:01 -0400
marcowahlsoft <at> gmail.com writes:

> * lisp/textmodes/page-ext.el (pages-directory-goto): The fix is to use
> the interactive spec as in `occur-mode-goto-occurrence'.

>  (defun pages-directory-goto (&optional event)
>    "Go to the corresponding line in the pages buffer."
>    ;; This function is mostly a copy of `occur-mode-goto-occurrence'
> -  (interactive "@e")
> +  (interactive (list last-nonmenu-event))

Seems like that should be fine.  Do you have copyright assignment for
Emacs? (the change is small enough to install regardless, I'm asking
just to know if it should be marked as a tiny change).





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#28909; Package emacs. (Sat, 07 Apr 2018 06:49:01 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Noam Postavsky <npostavs <at> gmail.com>
Cc: marcowahlsoft <at> gmail.com, 28909 <at> debbugs.gnu.org
Subject: Re: bug#28909: 27.0.50; C-c C-c fails in page directory
Date: Sat, 07 Apr 2018 09:48:29 +0300
> From: Noam Postavsky <npostavs <at> gmail.com>
> Date: Fri, 06 Apr 2018 22:35:01 -0400
> Cc: 28909 <at> debbugs.gnu.org
> 
> Do you have copyright assignment for Emacs?

He does.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#28909; Package emacs. (Sat, 07 Apr 2018 14:14:02 GMT) Full text and rfc822 format available.

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

From: Noam Postavsky <npostavs <at> gmail.com>
To: marcowahlsoft <at> gmail.com
Cc: 28909 <at> debbugs.gnu.org
Subject: Re: bug#28909: 27.0.50; C-c C-c fails in page directory
Date: Sat, 07 Apr 2018 10:13:11 -0400
tags 28909 fixed
close 28909
quit

marcowahlsoft <at> gmail.com writes:

>  (defun pages-directory-goto (&optional event)
>    "Go to the corresponding line in the pages buffer."
>    ;; This function is mostly a copy of `occur-mode-goto-occurrence'
> -  (interactive "@e")
> +  (interactive (list last-nonmenu-event))

Pushed to master.

[1: a4291bf287]: 2018-04-07 10:11:29 -0400
  Fix goto page from page directory (Bug#28909)
  https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=a4291bf287af6ee5a2cf031f8b442674342714df




Added tag(s) fixed. Request was from Noam Postavsky <npostavs <at> gmail.com> to control <at> debbugs.gnu.org. (Sat, 07 Apr 2018 14:14:04 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 28909 <at> debbugs.gnu.org and Marco Wahl <marcowahlsoft <at> gmail.com> Request was from Noam Postavsky <npostavs <at> gmail.com> to control <at> debbugs.gnu.org. (Sat, 07 Apr 2018 14:14:04 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. (Sun, 06 May 2018 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 357 days ago.

Previous Next


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