aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/ffap.el (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Cleanups and improvements for FFAP and URL.Chong Yidong2012-05-101-97/+113
| | | | | | | | | | | | | | | | | | | | | | | | | | | * ffap.el (ffap-url-unwrap-local): Make it work right. Use url-generic-parse-url, and handle host names and Windows filenames properly. (ffap-url-unwrap-remote): Use url-generic-parse-url. (ffap-url-unwrap-remote): Accept list values, specifying a list of URL schemes to work on. (ffap--toggle-read-only): New function. (ffap-read-only, ffap-read-only-other-window) (ffap-read-only-other-frame): Use it. (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not necessary for ffap-url-unwrap-remote. * url-parse.el (url-path-and-query, url-port-if-non-default): New functions. (url-generic-parse-url): Don't set the portspec slot if it is not specified; that is what `url-port' is for. (url-port): Only require the scheme to be specified to call url-scheme-get-property. * url-util.el (url-encode-url): Use url-path-and-query. * url-vars.el (url-mime-charset-string): Load mm-util lazily. Fixes: debbugs:9131
* Convert more defvars to defcustoms.Chong Yidong2012-05-041-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * dos-w32.el (file-name-buffer-file-type-alist) (direct-print-region-use-command-dot-com): * ffap.el (ffap-menu-regexp): * follow.el (follow-debug): * forms.el (forms--debug): * iswitchb.el (iswitchb-all-frames): * ido.el (ido-all-frames): * mail/feedmail.el (feedmail-mail-send-hook) (feedmail-mail-send-hook-queued): * mail/footnote.el (footnote-signature-separator): * mail/mailabbrev.el (mail-alias-separator-string) (mail-abbrev-mode-regexp): * mail/rmail.el (rmail-speedbar-match-folder-regexp): * progmodes/idlwave.el (idlwave-libinfo-file) (idlwave-default-completion-case-is-down) (idlwave-library-routines): Convert defvars to defcustoms. * mail/rmail.el (rmail-decode-mime-charset): * progmodes/idlw-shell.el (idlwave-shell-print-expression-function) (idlwave-shell-fix-inserted-breaks) (idlwave-shell-activate-alt-keybindings) (idlwave-shell-use-breakpoint-glyph): * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars. * doc/lispref/os.texi (Timers): Use defopt for timer-max-repeats.
* Remove unnecessary use of minibuffer-completing-file-name.Stefan Monnier2012-04-251-14/+0
| | | | | | * lisp/ffap.el: Remove old code for obsolete package. (ffap-complete-as-file-p): Remove. * lisp/mh-e/mh-utils.el (minibuffer-completing-file-name): Don't declare.
* Remove * characters from the front of variable docstrings.Chong Yidong2012-04-091-1/+1
|
* Fixes related to /usr/include path on multiarch systemsGlenn Morris2012-02-221-2/+17
| | | | | | | * lisp/ffap.el (ffap-c-path): * lisp/man.el (Man-header-file-path): Handle multiarch. Fixes: debbugs:10702
* Add 2012 to FSF copyright years for Emacs filesGlenn Morris2012-01-051-1/+1
|
* Spelling fixes.Paul Eggert2011-11-171-1/+1
|
* Convert consecutive FSF copyright years to ranges.Glenn Morris2011-01-241-2/+1
|
* Nuke arch-tags.Glenn Morris2011-01-151-1/+0
|
* Add 2011 to FSF/AIST copyright years.Glenn Morris2011-01-021-1/+1
|
* * ffap.el (dired-at-point): Fix docstring. (Bug#5565)Juri Linkov2010-02-121-1/+2
|
* Add 2010 to copyright years.Glenn Morris2010-01-131-1/+1
|
* Fix typos in ffap.el.Juanma Barranquero2010-01-111-17/+17
| | | | | | | | | | * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p) (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp) (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url) (ffap-read-url-internal, ffap-menu, ffap-at-mouse): Fix typos in docstrings. (ffap-url-regexp): Doc fix. (ffap-at-mouse): Fix typo in message.
* Minor cleanup.Stefan Monnier2009-12-091-53/+48
| | | | | | | * ffap.el (ffap-symbol-value): Replace ffap-soft-value. Adjust all callers. (ffap-locate-file): Remove unused arg `dir-ok' and make other args compulsory. Adjust callers. (ffap-gopher-at-point): Remove unused var `name'.
* * ffap.el (ffap-rfc-path): Make this a defcustom sinceKevin Ryde2009-12-061-3/+10
| | | | `ffap-rfc-directories' is also a defcustom. (My Bug#4514.)
* Provide additional default values (file name at point or at theJuri Linkov2009-11-251-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | current Dired line) via M-n for file reading minibuffers. (Bug#5010) * minibuffer.el (read-file-name-defaults): New function. (read-file-name): Reset `minibuffer-default' to nil when it duplicates initial input `insdef'. Bind `minibuffer-default-add-function' to lambda that calls `read-file-name-defaults' in `minibuffer-selected-window'. (minibuffer-insert-file-name-at-point): New command. * files.el (file-name-at-point-functions): New defcustom. (find-file-default): Remove defvar. (find-file-read-args): Don't use `find-file-default'. Move `minibuffer-with-setup-hook' that sets `minibuffer-default' to `read-file-name'. (find-file-literally): Use `read-file-name' with `confirm-nonexistent-file-or-buffer'. * ffap.el (ffap-guess-file-name-at-point): New autoloaded function. * dired.el (dired-read-dir-and-switches): Move `minibuffer-with-setup-hook' that sets `minibuffer-default' to `read-file-name'. (dired-file-name-at-point): New function. (dired-mode): Add hook `dired-file-name-at-point' to `file-name-at-point-functions'.
* (ffap-alternate-file-other-window, ffap-literally): New functions.Juri Linkov2009-11-121-0/+16
| | | | (find-file-literally-at-point): Alias of `ffap-literally'.
* Use `called-interactively-p' instead of `interactive-p'.Juanma Barranquero2009-10-021-4/+4
|
* (ffap-file-at-point): Handle absolute (non-remote) files with lineGlenn Morris2009-09-091-2/+5
| | | | numbers too. (Bug#4374)
* (ffap): Remove defunct URL from custom group.Glenn Morris2009-07-061-1/+2
|
* (ffap-version): Make it an obsolete alias for emacs-version.Glenn Morris2009-07-061-6/+2
| | | | (top-level): Move provide to the end.
* Add 2009 to copyright years.Glenn Morris2009-01-051-1/+1
|
* * align.el:Lute Kamstra2008-12-031-18/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * allout.el: * apropos.el: * arc-mode.el: * autoinsert.el: * avoid.el: * battery.el: * bookmark.el: * buff-menu.el: * calculator.el: * chistory.el: * cmuscheme.el: * comint.el: * compare-w.el: * dabbrev.el: * delim-col.el: * desktop.el: * diff-mode.el: * diff.el: * dired-aux.el: * dired-x.el: * dired.el: * dos-vars.el: * ediff-diff.el: * ediff-help.el: * ediff-init.el: * ediff-merg.el: * ediff-mult.el: * ediff-ptch.el: * ediff-vers.el: * ediff-wind.el: * ediff.el: * emerge.el: * facemenu.el: * faces.el: * ffap.el: * filecache.el: * find-dired.el: * font-core.el: * font-lock.el: * forms.el: * fringe.el: * help-at-pt.el: * hippie-exp.el: * ido.el: * image-file.el: * imenu.el: * indent.el: * info.el: * isearchb.el: * iswitchb.el: * jit-lock.el: * jka-compr.el: * log-edit.el: * lpr.el: * ls-lisp.el: * man.el: * menu-bar.el: * midnight.el: * mouse-sel.el: * mouse.el: * msb.el: * outline.el: * paren.el: * pcmpl-cvs.el: * pcmpl-gnu.el: * pcomplete.el: * pcvs-info.el: * pcvs-parse.el: * printing.el: * ps-mule.el: * ps-print.el: * replace.el: * ruler-mode.el: * saveplace.el: * sb-image.el: * scroll-bar.el: * sha1.el: * shadowfile.el: * shell.el: * sort.el: * speedbar.el: * strokes.el: * tempo.el: * term.el: * terminal.el: * time-stamp.el: * time.el: * tree-widget.el: * type-break.el: * vc-cvs.el: * vc-hg.el: * vc-mcvs.el: * vc-rcs.el: * vc-sccs.el: * vc.el: * view.el: * w32-vars.el: * whitespace.el: * wid-edit.el: Remove leading * from docstrings of defcustoms, deffaces, defconsts and defuns.
* (ffap-fixup-url): Don't call url-normalize-url. (Bug#898)Glenn Morris2008-09-251-2/+3
|
* (ffap-string-at-point-mode-alist): Use alpha rather than lower.Stefan Monnier2008-06-101-3/+3
|
* (ffap-prompter): Don't use the region.Stefan Monnier2008-06-051-1/+5
|
* Switch to recommended form of GPLv3 permissions notice.Glenn Morris2008-05-061-6/+4
|
* (ffap-read-file-or-url): Do not abuse completing-read'sStefan Monnier2008-04-211-23/+22
| | | | | | `predicate' argument to pass non-predicate data. (ffap-read-url-internal, ffap-read-file-or-url-internal): Use second arg as proper predicate.
* Fix up comment convention on the arch-tag lines.Stefan Monnier2008-04-101-1/+1
|
* Merge from emacs--rel--22Miles Bader2008-02-241-1/+1
|\ | | | | | | Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1074
| * *** empty log message ***Juanma Barranquero2008-02-051-1/+1
| |
| * (ffap-string-at-point-mode-alist): Add `\' to file entry, for Windows.Glenn Morris2008-01-091-1/+1
| |
* | (ffap-rfc-directories): Add :version.Glenn Morris2008-02-111-0/+1
| |
* | Kevin Ryde <user42 at zip.com.au>Glenn Morris2008-02-111-2/+9
| | | | | | | | | | (ffap-rfc-directories): New variable. (ffap-rfc): Look in those dirs before offering ffap-rfc-path.
* | (ffap-alist): Remove space from RFC regexp.Glenn Morris2008-01-181-1/+4
| |
* | (ffap-string-at-point-mode-alist): Add `\' to file entry, for Windows.Glenn Morris2008-01-091-1/+1
| |
* | (ffap-read-file-or-url): Don't use let-binding to temporarilyStefan Monnier2008-01-091-14/+19
| | | | | | | | add a file-name handler.
* | Merge from emacs--rel--22Miles Bader2008-01-081-2/+6
|\ \ | |/ | | | | Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
| * Add 2008 to copyright years.Glenn Morris2008-01-071-1/+1
| |
| * * ffap.el (ffap-read-file-or-url): Let-bindMichael Albinus2008-01-061-1/+5
| | | | | | | | `file-name-handler-alist' due to `rfn-eshadow-update-overlay'.
* | (w3-view-this-url): Declare as a function.Glenn Morris2007-11-291-1/+1
| |
* | (ffap-bug, ffap-submit-bug): Redefine as obsolete aliases forGlenn Morris2007-11-271-14/+12
| | | | | | | | | | report-emacs-bug. (gnus-summary-select-article, gnus-configure-windows): Declare as functions.
* | (ffap-replace-file-component): Use `mapc' rather than `mapcar'.Juanma Barranquero2007-09-251-1/+1
| |
* | Merge from emacs--rel--22Miles Bader2007-07-261-1/+1
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * emacs--rel--22 (patch 70-73) - Update from CVS 2007-07-25 Glenn Morris <rgm@gnu.org> * Relicense all FSF files to GPLv3 or later. Revision: emacs@sv.gnu.org/emacs--devo--0--patch-828
| * Switch license to GPLv3 or later.Glenn Morris2007-07-251-1/+1
| |
* | (dired-at-point-prompter): Improve prompt inMartin Rudalics2007-07-021-1/+5
|/ | | | list-directory case.
* (ffap-file-at-point): Lower the priority of theGlenn Morris2007-04-071-8/+11
| | | | ffap-ftp-sans-slash-regexp check.
* (ffap-next-regexp, ffap-machine-p, ffap-newsgroup-regexp)Stefan Monnier2007-01-101-13/+13
| | | | | (ffap-newsgroup-p, ffap-alist, ffap-string-at-point-mode-alist) (ffap-url-at-point): Use char-classes rather than "a-z".
* Update copyright years.Glenn Morris2006-12-051-1/+1
|
* No maintainer now.Richard M. Stallman2006-11-061-1/+1
|