Joakim Verona
5cf62a1639
Merge remote-tracking branch 'origin/trunk' into xwidget
...
Conflicts:
ChangeLog
lisp/ChangeLog
lisp/progmodes/octave.el
src/Makefile.in
2013-05-27 23:14:19 +02:00
Sam Steingold
72d3cfca0a
* lisp/thingatpt.el (thing-at-point): Accept optional second argument
...
NO-PROPERTIES to strip the text properties from the return value.
* lisp/net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
to `thing-at-point' instead of stripping the properties ourselves.
Also, when `thing-at-point' fails to find a url, prepend "http://"
to the filename at point on the assumption that the user is
pointing at something like gnu.org/gnu.
2013-05-08 11:13:25 -04:00
Joakim Verona
c6b5fe1e94
auto upstream
2013-01-03 00:06:25 +01:00
Paul Eggert
ab422c4d68
Update copyright notices for 2013.
2013-01-01 09:11:05 +00:00
Joakim Verona
6c86337db3
not compiling yet
2012-09-19 01:09:51 +02:00
Chong Yidong
865fe16fd2
Update docstrings and comments to use "init file" terminology.
...
* bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
* comint.el (comint-prompt-read-only):
* custom.el (defcustom):
* hi-lock.el (hi-lock-mode):
* ibuffer.el (ibuffer-formats):
* ielm.el (ielm-prompt-read-only):
* novice.el (disable-command):
* saveplace.el (toggle-save-place):
* speedbar.el (speedbar-supported-extension-expressions):
* startup.el (auto-save-list-file-prefix, init-file-user)
(after-init-hook, inhibit-startup-echo-area-message):
* strokes.el (strokes-help):
* time-stamp.el (time-stamp):
* calendar/calendar.el (calendar, diary-file):
* calendar/diary-lib.el (diary-mail-entries, diary)
(diary-list-entries-hook):
* calendar/holidays.el (holidays, calendar-holidays):
* calendar/lunar.el (lunar-phases):
* calendar/solar.el (sunrise-sunset):
* emulation/edt.el (edt-load-keys):
* emulation/viper.el (viper-mode):
* eshell/em-alias.el (eshell-command-aliases-list):
* eshell/esh-util.el (eshell-convert-numeric-arguments):
* international/ogonek.el (ogonek-information):
* net/tramp-cmds.el (tramp-bug):
* net/quickurl.el (quickurl-reread-hook-postfix):
* play/decipher.el (decipher-font-lock-keywords):
* progmodes/cc-styles.el (c-set-style):
* progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
* progmodes/inf-lisp.el (inferior-lisp-prompt):
* progmodes/octave-mod.el (octave-mode):
* progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
* progmodes/verilog-mode.el (verilog-read-defines):
* textmodes/two-column.el (2C-mode): Likewise.
2012-09-17 13:41:04 +08:00
Joakim Verona
b035a30e5c
upstream
2012-09-10 16:03:53 +02:00
Chong Yidong
e5c2edf79b
Add a utility function buffer-narrowed-p, and use it.
...
* lisp/subr.el (buffer-narrowed-p): New function.
* lisp/ses.el (ses-widen):
* lisp/simple.el (count-words--buffer-message):
* lisp/net/browse-url.el (browse-url-of-buffer): Use it
* lisp/simple.el (count-words-region): Don't signal an error if there
is a non-nil prefix arg and the mark is not set.
* doc/lispref/positions.texi (Narrowing): Document buffer-narrowed-p.
2012-09-07 16:58:31 +08:00
Joakim Verona
5fb6319784
upstream
2012-07-27 02:22:03 +02:00
Stefan Monnier
a464a6c73a
More CL cleanups and reduction of use of cl.el.
...
* woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
* vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
* textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
* strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
* progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
* play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
* play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
* net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
* image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
* eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
* eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
* eshell/em-cmpl.el, eshell/em-banner.el:
* url/url.el, url/url-queue.el, url/url-parse.el, url/url-http.el:
* url/url-future.el, url/url-dav.el, url/url-cookie.el:
* calendar/parse-time.el, test/eshell.el: Use cl-lib.
* wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
* vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
* textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
* term/ns-win.el, term.el, shell.el, ps-samp.el:
* progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
* progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
* play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
* net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
* net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
* mail/mailheader.el, mail/feedmail.el:
* url/url-util.el, url/url-privacy.el, url/url-nfs.el, url/url-misc.el:
* url/url-methods.el, url/url-gw.el, url/url-file.el, url/url-expand.el:
Dont use CL.
* ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
* eshell/esh-opt.el (eshell-eval-using-options): Quote code with
`lambda' rather than with `quote'.
(eshell-do-opt): Adjust accordingly.
(eshell-process-option): Simplify.
* eshell/esh-var.el:
* eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
* emacs-pcase.el (pcase--dontcare-upats, pcase--let*)
(pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
to `pcase--dontcare'.
* emacs-cl.el (labels): Mark obsolete.
(cl--letf, letf): Move to cl-lib.
(cl--letf*, letf*): Remove.
* emacs-cl-lib.el (cl-nth-value): Use defalias.
* emacs-cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
(cl-progv): Rewrite.
(cl--letf, cl-letf): Move from cl.el.
(cl-letf*): New macro.
* emacs-cl-extra.el (cl--progv-before, cl--progv-after): Remove.
2012-07-11 19:13:41 -04:00
Joakim Verona
74f082445c
upstream, fix conflicts
2012-05-21 00:37:29 +02:00
Chong Yidong
00fd78ed4f
Encoding fix for browse-url-encode-url.
...
* lisp/net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
(browse-url-encode-url): Encode spaces and quotes.
Fixes: debbugs:6300
2012-05-09 20:39:40 +08:00
Joakim Verona
ab5b626f97
upstream partial out of memory
2012-04-26 11:52:04 +02:00
Ken Brown
70e74021ee
Adapt browse-url.el to improvements in Cygwin's cygstart utility.
...
* lisp/net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
this is no longer needed now that cygstart understands file://
URLs.
(browse-url-filename-alist): For the same reason, don't modify
file:// URLs on Cygwin.
2012-04-13 11:15:42 -04:00
Joakim Verona
28485daaf7
upstream
2012-03-06 09:23:09 +01:00
Glenn Morris
44e97401cd
Standardize possessive apostrophe usage in manuals, docs, and comments
...
Ref: http://lists.gnu.org/archive/html/emacs-devel/2012-02/msg00649.html
2012-02-28 00:17:21 -08:00
Joakim Verona
736ab04e27
upstream
2012-02-14 11:39:05 +01:00
Glenn Morris
3f88cd72e9
Doc fixes for emacsbug.el
...
* lisp/mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
(report-emacs-bug-can-use-xdg-email):
(report-emacs-bug-insert-to-mailer): Doc fixes.
(report-emacs-bug): Message fix.
* etc/NEWS: Related edit.
* lisp/net/browse-url.el: Comment.
2012-02-08 22:29:41 -05:00
Glenn Morris
d95b247d1d
Doc fixes for browse-url
...
* lisp/net/browse-url.el (browse-url-can-use-xdg-open, browse-url-xdg-open):
Doc fixes.
2012-02-08 22:14:22 -05:00
Joakim Verona
e4f761f1e3
upstream
2012-01-09 11:26:23 +01:00
Glenn Morris
acaf905b11
Add 2012 to FSF copyright years for Emacs files
2012-01-05 01:46:05 -08:00
Joakim Verona
a9c1e05add
upstream
2011-11-22 15:46:22 +01:00
Joakim Verona
40bb789236
upstream
2011-11-22 15:39:42 +01:00
Paul Eggert
e1dbe924b5
Spelling fixes.
2011-11-19 18:29:42 -08:00
Paul Eggert
3ed8598c49
Spelling fixes.
2011-11-18 00:31:02 -08:00
Paul Eggert
09e80d9fb9
Spelling fixes.
2011-11-13 22:27:12 -08:00
Joakim Verona
e40ee7bd1e
improvement to 'g'
2011-11-03 22:25:57 +01:00
Joakim Verona
ac8bd0ce49
upstream
2011-10-24 08:53:10 +02:00
Juri Linkov
5214e501a2
* lisp/net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
...
by checking environment variables "DESKTOP_SESSION" and
"XDG_CURRENT_DESKTOP".
Fixes: debbugs:9779
2011-10-19 12:10:10 +03:00
Juri Linkov
195f8db97d
* lisp/net/browse-url.el (browse-url-browser-function): Add "Chromium".
...
(browse-url-chromium-program, browse-url-chromium-arguments):
New defcustoms.
(browse-url-default-browser): Check for `browse-url-chromium' and
call `browse-url-chromium-program'.
(browse-url-chromium): New command.
Fixes: debbugs:9779
2011-10-19 12:03:39 +03:00
Joakim Verona
e1745b4659
url-tidy, user request
2011-10-15 22:58:58 +02:00
Chong Yidong
a3f2468a08
Fix for browse-url-firefox on Windows.
...
* lisp/net/browse-url.el (browse-url-firefox): Don't call
browse-url-firefox-sentinel unless using -remote.
Fixes: debbugs:9328
2011-08-20 21:01:12 -04:00
Lawrence Mitchell
2a517d45db
Make the default browser choice a bit more logical
...
* net/browse-url.el (browse-url-default-browser)
(browse-url-browser-function): Make the default browser choice a
bit more logical. Also clean up the doc string.
Fixes: debbugs:4300
2011-07-13 15:49:55 +02:00
Giuseppe Scrivano
f9ad64f3c1
Add icecat to the firefox candidates list.
2011-06-25 11:31:24 +02:00
Jan Djärv
1c0f1a199c
From Lawrence Mitchell <wence@gmx.li>: Don't hang in browse-url-xdg-open.
...
* net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
BUFFER in call-process.
2011-06-22 18:44:53 +02:00
Ralph Schleicher
2a86a00c4f
Expand file names during browse-url-of-dired-file (Bug#8259).
...
* lisp/net/browse-url.el (browse-url-of-dired-file): Allow browsing of
special file names `.' and `..'.
2011-05-08 14:34:51 -04:00
Glenn Morris
3c4671f409
browse-url.el trivia.
...
* lisp/net/browse-url.el (browse-url-firefox):
Test system-type, not system-configuration.
2011-04-07 20:26:40 -07:00
Glenn Morris
9d9827395a
browse-url fix for bug#6077.
...
* lisp/net/browse-url.el (browse-url): Handle deleted default-directory.
2011-03-04 00:21:56 -08:00
Glenn Morris
95df8112a0
Refill some long/short copyright headers.
2011-01-26 00:36:39 -08:00
Glenn Morris
73b0cd5003
Convert consecutive FSF copyright years to ranges.
2011-01-24 20:08:28 -08:00
Glenn Morris
e9bffc61f2
Refill some copyright headers.
2011-01-15 18:21:30 -08:00
Stefan Monnier
77ab81d054
Merge from emacs-23
2011-01-14 12:18:41 -05:00
Glenn Morris
5df4f04cd3
Add 2011 to FSF/AIST copyright years.
2011-01-02 15:50:46 -08:00
Glenn Morris
c5fd0ab5bf
Remove some browse-url.el autoloads.
...
* lisp/net/browse-url.el (browse-url-url-at-point)
(browse-url-default-browser): Remove autoload cookies.
2010-12-02 19:04:29 -08:00
Lars Magne Ingebrigtsen
876d1684cf
Introduce a new `browse-url-mailto-function' variable for mailto: URLs.
2010-11-24 07:29:06 +01:00
Lars Magne Ingebrigtsen
afe2870bf5
* net/browse-url.el (browse-url-browser-function): Change the
...
default to use `browse-url-mail' on mailto: URLs.
2010-11-10 23:27:02 +01:00
Katsumi Yamaoka
5ad3e88588
net/browse-url.el (browse-url-mail): Insert body part of mailto url in mail buffer; make yank-action always a command that yanks original buffer.
2010-11-10 00:02:44 +00:00
Glenn Morris
a1ab97d068
browse-url.el trivia.
...
* lisp/net/browse-url.el: Don't require thingatpt, term, dired,
executable, or w3-auto when compiling.
(dired-get-filename, term-char-mode, term-send-down, term-send-string):
Declare.
(browse-url-text-emacs): Require term.
2010-10-08 17:52:12 -07:00
Andreas Schwab
2187e5bba7
* net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
2010-10-08 19:32:14 +02:00
Glenn Morris
e4adf61e9a
* lisp/net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
2010-10-07 20:23:31 -07:00