1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-16 09:50:25 +00:00
Commit Graph

58 Commits

Author SHA1 Message Date
Eli Zaretskii
7b8e334c0d (ffap-rfc-path): Change the address of the RFC repository to
ftp.rfc-editor.org, as ds.internic.net seems to be gone.
2006-10-01 17:11:58 +00:00
John Paul Wallington
07556e354b (ffap-read-file-or-url): Bind `completion-ignore-case' to value of
`read-file-name-completion-ignore-case'.  From Ryan Yeske.
2006-02-19 23:28:42 +00:00
Juri Linkov
dfe7296633 (ffap) <defface>: Add explicit face declaration.
(ffap-highlight): Use face `ffap' directly instead of checking
for its existence.
2006-02-17 21:54:17 +00:00
Richard M. Stallman
516bf0ee5f Comment changes. 2006-02-12 20:30:49 +00:00
Thien-Thi Nguyen
aaef169dc6 Update years in copyright notice; nfc. 2006-02-06 15:23:23 +00:00
Eli Zaretskii
e27de09e24 (ffap-menu-rescan): Use inhibit-read-only instead of binding
buffer-read-only to nil.
2005-11-19 12:18:37 +00:00
Romain Francoise
57eb2e2490 (find-file-at-point): Doc fix. 2005-10-18 09:46:34 +00:00
Richard M. Stallman
9890a22957 (gnus-summary-buffer, gnus-article-buffer): Add defvars. 2005-08-09 02:53:19 +00:00
Thien-Thi Nguyen
0d30b33766 Update years in copyright notice; nfc. 2005-08-06 22:13:43 +00:00
Lute Kamstra
086add1519 Update FSF's address. 2005-07-04 23:32:44 +00:00
Juri Linkov
5b523a7744 (ffap-pass-wildcards-to-dired): New user option to
ensure dired always handles wildcards passed to ffap.
(find-file-at-point): Use it.
(ffap-dired-wildcards): Doc fix.
2005-04-07 15:44:30 +00:00
Richard M. Stallman
186369d4ac (ffap-string-at-point-mode-alist): Add "*" to url chars,
it can appear unencoded and has been seen from yahoo.
2004-12-27 15:41:08 +00:00
Juri Linkov
c99310d548 (ffap-dired-wildcards): Set default to "[*?][^/]*\\'". Doc fix.
(ffap-directory-finder): New variable.
(ffap-string-at-point-mode-alist): Add * and ? to `file'.
(ffap-file-at-point): Add /* to immediately rejected names.
Return absolute file names matching ffap-dired-wildcards.
(ffap-read-file-or-url): Set default value for `completing-read'
to `buffer-file-name'.
(find-file-at-point): When filename matches ffap-dired-wildcards,
call ffap-file-finder with t arg `wildcards', instead of dired.
(ffap-other-window, ffap-other-frame): Return visited buffers.
(ffap-read-only, ffap-read-only-other-window)
(ffap-read-only-other-frame, ffap-alternate-file): New commands.
(dired-at-point): Call ffap-directory-finder instead of dired.
(ffap-dired-other-window, ffap-dired-other-frame)
(ffap-list-directory): New commands.
(ffap-bindings): New keybindings for new commands.
2004-12-13 05:16:25 +00:00
Rajesh Vaidheeswarran
067eac9b58 Fix for url mode alist to recognize patterns such as &<str>; as valid 2004-06-09 18:32:06 +00:00
Juri Linkov
0f76d837dd (dired-at-point): Additional writability test for relative directory names.
(dired-at-point-prompter): Treat directories as a directory,
get the directory component from files.
(ffap-string-at-point): Return string from region if region is active.
(ffap-file-at-point): Remove redundant code.
2004-02-28 05:00:19 +00:00
Eli Zaretskii
7e1626fbe8 (ffap-file-at-point): Try parent directories. 2004-02-21 13:42:04 +00:00
Luc Teirlinck
7b86ef7dbb (ffap-read-file-or-url): Revert previous change. 2003-12-25 17:44:48 +00:00
Luc Teirlinck
220898759c (ffap-read-file-or-url): Eliminate reliance of the call to
`completing-read' on a recently fixed bug.
2003-12-24 02:07:48 +00:00
Rajesh Vaidheeswarran
8daa9f3dd9 removed defadvice related code from ffap 2003-10-02 02:21:27 +00:00
Richard M. Stallman
bea0003ace Change maintainer. 2003-09-30 12:49:04 +00:00
Rajesh Vaidheeswarran
c98ddbe5da whitespace.el now takes user customizable variable to display cleanliness of
files.

ffap.el - bugfix.
2003-09-29 18:05:31 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Juanma Barranquero
3fa86f26fe (dired-at-point): Check whether the user can create a directory before asking
about creating it.
2003-03-06 20:30:05 +00:00
Richard M. Stallman
95a85681fb Many doc fixes.
(ffap-replace-file-component):
Renamed from ffap-replace-path-component.  Callers changed.
(ffap-host-to-filename): Renamed from ffap-host-to-path.  Callers chgd.
2003-02-15 19:26:25 +00:00
Stefan Monnier
9925c4191b (ffap-complete-as-file-p): Use minibuffer-completing-file-name. 2003-02-10 22:21:46 +00:00
Juanma Barranquero
71296446d3 Trailing whitespace deleted. 2003-02-04 11:26:42 +00:00
Richard M. Stallman
28ccdfff96 Comment change. 2002-11-18 04:57:08 +00:00
Markus Rost
22ac7ca0e4 (ffap): Don't hide it behind the autoload-cookie. 2002-05-07 19:32:33 +00:00
Richard M. Stallman
001f558366 (ffap-newsgroup-p): Test for non-nil symbol-value of htb. 2002-02-07 17:50:25 +00:00
Eli Zaretskii
e75e894bcc (ffap-machine-p): Always return nil if
open-network-stream is not fboundp.
2001-06-17 10:44:45 +00:00
Eli Zaretskii
148b5960d4 (ffap-bindings): Doc fix. 2001-01-06 18:55:45 +00:00
Eli Zaretskii
25050dab1d (ffap-bindings): Make interactive and add an autoload cookie.
(ffap-bindings): Doc fix, to reflect the above change.
2000-12-27 14:08:34 +00:00
Gerd Moellmann
d4021fd9f9 (ffap-read-file-or-url-internal): Handle case the
DIR or STRING are nil.
2000-08-08 18:30:21 +00:00
Eli Zaretskii
3351481016 (ffap-menu-text-plist): Use display-mouse-p, not window-system.
(ffap-highlight): Always default to t.
2000-05-25 16:56:34 +00:00
Stefan Monnier
e5eee690ff (ffap-highlight): Use facep rather than internal-find-face. 2000-05-23 19:57:48 +00:00
Gerd Moellmann
1d34daaee7 (ffap-url-regexp): Add `https'. 2000-05-23 15:27:21 +00:00
Dave Love
32fd797262 Autoload the ffap alias directly. 1999-12-06 16:26:36 +00:00
Richard M. Stallman
8005ea3f21 (ffap-file-at-point): Test local file names
immediately.  Strip off line numbers.
1999-02-13 16:28:34 +00:00
Richard M. Stallman
88b5c6b38e (ffap-machine-p-local): Fix editing error. 1998-10-13 15:31:30 +00:00
Karl Heuer
ee79ced8a2 Doc fixes. 1998-09-30 19:06:27 +00:00
Richard M. Stallman
a22f073505 (ffap-read-file-or-url): Bind minibuffer-completing-file-name to t. 1998-07-02 07:02:47 +00:00
Karl Heuer
3d729a9a75 (ffap-bindings): Fix the dired-at-point binding. 1998-05-30 13:27:52 +00:00
Dan Nicolaescu
f5f727f8ff *** empty log message *** 1998-05-26 09:23:23 +00:00
Richard M. Stallman
b8e2ae0580 (dired-at-point): Eliminate var dired-function; use `dired'.
(ffap-bindings): Include a binding for C-x d.
1998-05-24 17:12:16 +00:00
Richard M. Stallman
6e76c5e558 Comment change. 1998-04-28 23:41:15 +00:00
Richard M. Stallman
6115425227 (dired-at-point): Add autoload cookie.
(dired-at-point-require-prefix): New option.
(dired-at-point): New command.
(dired-at-point-prompter): New function.
1998-04-28 23:40:39 +00:00
Richard M. Stallman
3c2c6be2b0 (ffap-file-at-point): store-match-data => set-match-data. 1998-03-14 04:44:25 +00:00
Karl Heuer
3788c735f7 XEmacs compatibility hacks cleaned up.
(ffap-url-fetcher): If `browse-url' is bound, use that.
(ffap-locate-file): New optional arg dir-ok.
(ffap-at-mouse): Fix return value.
1997-06-28 21:27:18 +00:00
Karl Heuer
0948761df6 (ffap-soft-value): Make this a function again; the macro
version does intern-soft too early.  Deleted XEmacs-specific code.

(ffap-string-at-point-mode-alist): added "=" and
"&" to the url syntax, as suggested by SJE.
(ffap-read-file-or-url): fixed the HIST argument to
completing-read (only visible in XEmacs?), as reported by
Christoph Wedler <wedler@fmi.uni-passau.de>.
(ffap-kpathsea-expand-path) New func, replaces ffap-add-subdirs,
a first attempt at kpathsea emulation.  Also convert "" to "." in
path lists, for XEmacs. Suggestions from SJE.
Added mouse-track support (but no binding), as
suggested by MDB. Moved Emacs mouse bindings from
"down-mouse" events to ordinary mouse events.
(ffap-alist): added ffap-fortran-mode, as requested by MDB.
Rewrote and merged XEmacs support, eliminating file
ffap-xe.el.  Modified ffap-other-frame to work in dedicated
frames, fixing a bug reported by JENS.
(ffap-menu-rescan): avoid modifying the buffer.
Two bugs reported by Christoph Wedler <wedler@fmi.uni-passau.de>:
(ffap-fixup-url): avoid autoloading through url-normalize-url.
(ffap-read-file-or-url): for XEmacs, give extra HACK-HOMEDIR arg
to `abbreviate-file-name'.
(ffap-file-at-point): suppress errors from `ffap-alist'.
(ffap-url-at-point): modified regexp to accept
mail hostnames ending with a digit.  Fixes bug report of SJE.
(ffap-url-at-point): use higher level function
(w3-view-this-url t) suggested by wmperry, instead of
w3-zone-at/w3-zone-data or widget-at/widget-get.
(ffap-url-at-point): modified to work with
w3-version "WWW 2.3.64 1996/06/02 06:20:23" alpha, which
uses the 'widget package rather than the old w3-zone-at.
Bug was reported by JENS.
Adopted comments and doc strings to Emacs coding
conventions.  Reorganized.  Retired v18 support.
(ffap-bindings): Offers a default installation.
(ffap-string-at-point): Modified arguments.
(ffap-gnus-hook): Updated for Gnus 5.
(ffap-tex-init): Delayed initialization of `ffap-tex-path'.
(ffap-dired): New entry in `ffap-alist'.
(ffap-menu-rescan): May fontify the choices in buffer.
(ffap-read-file-or-url): `PC-completion-as-file-name-predicate'
used if available, to work with complete.el.
1997-06-18 04:24:37 +00:00
Richard M. Stallman
c9ae986937 (ffap-alist): Delete `math-mode'.
Move all defvars and defuns out of this, to top level.
Use a constant list as the initial value.
(ffap-soft-value): Rewrite as a macro.
And now it is used only at run time, not at load time.
(ffap-ftp-default-user): Use just "anonymous" as default value.
(ffap-what-domain): Don't set mail-extr-all-top-level-domains here.
(ffap-newsgroup-regexp, ffap-newsgroup-heads): Move up past first use.
(ffap-string-at-point-region): Likewise.
1997-05-05 23:40:22 +00:00