From: "Jose A. Ortega Ruiz" <jao@gnu.org>
To: emacs-devel@gnu.org
Cc: emacs-pretest-bug@gnu.org
Subject: Re: 23.0.60; ffap-bindings' find-file-at-point completion broken
Date: Sun, 13 Apr 2008 00:12:22 +0200 [thread overview]
Message-ID: <yr0gwsn2zprt.fsf@google.com> (raw)
In-Reply-To: E1JknZo-0001HO-QT@localhost
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=us-ascii, Size: 3757 bytes --]
A correction: the error below is *not* ffap's fault: it happens too without
calling ffap-bindings.
jao
Jose Ortega <jaortega@gmail.com> writes:
> emacs -q
> M-x ffap-bindings
> C-xC-f .r TAB
>
> (or any other prefix while trying to complete a filename in the
> minibuffer) gives an error because completion-embedded-envvar-table is
> an 'undefined function'. Here's the backtrace:
>
> Debugger entered--Lisp error: (void-function completion-embedded-envvar-table)
> completion-embedded-envvar-table(#("~/.r" 0 2 (auto-composed t) 2 3 (auto-composed t) 3 4 (auto-composed t)) "~/" nil)
> try-completion(#("~/.r" 0 2 (auto-composed t) 2 3 (auto-composed t) 3 4 (auto-composed t)) completion-embedded-envvar-table "~/")
> complete-with-action(nil completion-embedded-envvar-table #("~/.r" 0 2 (auto-composed t) 2 3 (auto-composed t) 3 4 (auto-composed t)) "~/")
> #[(G88405 G88406 string pred action) "Å\b J\n\v$\x11Å\b\fJ\n\v$" [action G88406 string pred G88405 complete-with-action] 5](--b-- --a-- #("~/.r" 0 2 (auto-composed t) 2 3 (auto-composed t) 3 4 (auto-composed t)) "~/" nil)
> apply(#[(G88405 G88406 string pred action) "Å\b J\n\v$\x11Å\b\fJ\n\v$" [action G88406 string pred G88405 complete-with-action] 5] --b-- --a-- (#("~/.r" 0 2 (auto-composed t) 2 3 (auto-composed t) 3 4 (auto-composed t)) "~/" nil))
> read-file-name-internal(#("~/.r" 0 2 (auto-composed t) 2 3 (auto-composed t) 3 4 (auto-composed t)) "~/" nil)
> ffap-read-file-or-url-internal(#("~/.r" 0 2 (auto-composed t) 2 3 (auto-composed t) 3 4 (auto-composed t)) "~/" nil)
> try-completion(#("~/.r" 0 2 (auto-composed t) 2 3 (auto-composed t) 3 4 (auto-composed t)) ffap-read-file-or-url-internal "~/")
> minibuffer--do-completion()
> minibuffer-complete()
> call-interactively(minibuffer-complete nil nil)
> completing-read("Find file or URL: " ffap-read-file-or-url-internal "~/" nil ("~/" . 2) (file-name-history) nil)
> ffap-read-file-or-url("Find file or URL: " nil)
> byte-code("Â\b Ã\nÄ \x10Å \x11\x19Æ \"" [ffap-url-regexp guess ffap-read-file-or-url "Find file or URL: " "Find file: " ffap-guesser ffap-highlight] 4)
> ffap-prompter()
> find-file-at-point()
> call-interactively(find-file-at-point nil nil)
>
>
>
> In GNU Emacs 23.0.60.2 (i686-pc-linux-gnu)
> of 2008-04-12 on rivendell
> configured using `configure '--without-x' '--enable-maintaner-mode''
>
> Important settings:
> value of $LC_ALL: nil
> 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: en_US.UTF-8
> value of $XMODIFIERS: nil
> locale-coding-system: utf-8-unix
> default-enable-multibyte-characters: t
>
> Major mode: Debugger
>
> Minor modes in effect:
> menu-bar-mode: t
> file-name-shadow-mode: t
> global-font-lock-mode: t
> font-lock-mode: t
> global-auto-composition-mode: t
> auto-composition-mode: t
> auto-compression-mode: t
> line-number-mode: t
> transient-mark-mode: t
>
> Recent input:
> ESC x f f a p TAB p TAB DEL DEL p - b TAB RET C-x C-f
> . e TAB C-g ESC x t o o g DEL DEL g g l e - d e TAB
> e r TAB RET C-x C-f . r TAB C-p C-@ C-n C-n C-n C-n
> C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n
> C-n ESC w C-g ESC x r e p o r TAB RET
>
> Recent messages:
> ("emacs" "-q")
> For information about GNU Emacs and the GNU system, type C-h C-a.
> try-completion: Symbol's function definition is void: completion-embedded-envvar-table
> Quit
> Debug on Error enabled globally
> Entering debugger...
> Quit
>
>
>
--
Sometimes I think we're alone in the universe, and sometimes I think we're
not. In either case, the idea is quite staggering.
-Arthur C Clarke, writer (1917- )
prev parent reply other threads:[~2008-04-12 22:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-12 21:48 23.0.60; ffap-bindings' find-file-at-point completion broken Jose Ortega
2008-04-12 22:12 ` Jose A. Ortega Ruiz [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=yr0gwsn2zprt.fsf@google.com \
--to=jao@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=emacs-pretest-bug@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).