Commit graph

60435 commits

Author SHA1 Message Date
Leo Liu
38637ccae6 * progmodes/octave.el (octave-mode, inferior-octave-mode): Fix
obsolete variable comment-use-global-state.
2013-11-22 01:33:30 +08:00
Rüdiger Sonderfeld
06e752b48f * progmodes/octave.el (octave-mode-map, octave-mode-menu): Add
`octave-source-file'.
(octave-source-file): New function.

Fixes: debbugs:15935
2013-11-22 01:18:25 +08:00
Ted Zlatanov
604ede6c07 net/eww.el: Detect localhost and similar patterns. 2013-11-21 11:41:35 -05:00
Leo Liu
2021a20053 * pcmpl-x.el (pcmpl-x-ag-options): Handle `[no]' in long options. 2013-11-22 00:30:14 +08:00
Leo Liu
b6ffa04a65 Add completion for command `ag'.
* pcmpl-x.el (pcomplete/ag, pcmpl-x-ag-options): New functions.
(pcmpl-x-ag-options): New variable.
2013-11-21 22:15:44 +08:00
Stefan Monnier
d1a6bccc99 * lisp/emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec.
(make-obsolete): Remove interactive spec.

Fixes: debbugs:14646
2013-11-20 21:46:00 -05:00
Glenn Morris
2df102287e Use path-separator with -L, rather than just :
* lisp/startup.el (command-line-1): Use path-separator with -L.

* test/automated/Makefile.in (PATH_SEPARATOR): New, set by configure.
(EMACSOPT): Use PATH_SEPARATOR.

* doc/emacs/cmdargs.texi (Action Arguments): Use path-separator with -L.

* etc/NEWS: Related edit.
2013-11-20 19:21:50 -05:00
Ted Zlatanov
86fd16b6b4 * emacs-lisp/package.el (describe-package-1): Add package archive. 2013-11-20 16:01:00 -05:00
Bozhidar Batsov
638af3a10f * lisp/progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
Change default to "# encoding: %s" to differentiate it from the
default Ruby encoding comment template.
2013-11-20 12:52:07 +02:00
era eriksson
dc7e8c171f * lisp/ses.el (ses-mode): Doc fix.
Fixes: debbugs:14748
2013-11-20 00:16:20 -08:00
Dave Goldberg
cdd3286fd3 lisp/gnus/message.el (message-beginning-of-line): Use beginning-of-visual-line when visual-line-mode is turned on 2013-11-20 04:25:37 +00:00
Leo Liu
f0cfa5feab * doc/lispref/windows.texi (Choosing Window): Mention `no-display-ok'.
* etc/NEWS: Mention new display action alist entry `no-display-ok'.
(Bug#13594)

* lisp/window.el (display-buffer-alist): Doc fix.  (Bug#13594)
2013-11-20 10:44:38 +08:00
Dan Nicolaescu
826dc7b6b1 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
when rebase or bisect are in progress.
2013-11-19 15:23:53 -05:00
Xue Fuqiao
a6e3a5d5d5 Doc fixes.
* lisp/filenotify.el (file-notify-add-watch): Refine doc string.

* doc/lispref/os.texi (File Notifications): Add an index.

* doc/lispref/loading.texi (Loading): Add an cross-reference.
2013-11-19 17:47:02 +08:00
Leo Liu
e0855d7de9 * obsolete/rcompile.el: Mark obsolete. 2013-11-19 16:59:53 +08:00
Leo Liu
f130cb76b8 * window.el (display-buffer-alist, display-buffer): Document the
new parameter no-display-ok.

* progmodes/compile.el (compilation-start)
(compilation-goto-locus, compilation-find-file): Pass
no-display-ok and handle nil value from display-buffer.

Fixes: debbugs:13594
2013-11-19 10:34:04 +08:00
Stefan Monnier
25158c76b2 * lisp/electric.el (electric-indent-mode-map): Remove.
(electric-indent-mode): Change the global-map instead.

Fixes: debbugs:15915
2013-11-17 21:01:34 -05:00
Stefan Monnier
1f35d401ba * lisp/textmodes/text-mode.el (paragraph-indent-minor-mode): Use add-function. 2013-11-17 20:48:46 -05:00
Stefan Monnier
986545b57f * lisp/emacs-lisp/nadvice.el (remove-function): Align with
add-function's behavior.
2013-11-17 18:11:27 -05:00
Stefan Monnier
9bc67baa5a * lisp/progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
(gdb--string-regexp): New constant.
(gdb-tooltip-print, gdb-var-evaluate-expression-handler)
(gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
(gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
submatch 1.
(gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
Adjust use accordingly.
(gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
2013-11-17 18:01:23 -05:00
Adam Sokolnicki
56cd894e90 * lisp/progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
interpolation curlies.

Fixes: debbugs:15914
2013-11-17 23:39:13 +02:00
Paul Eggert
d138982874 Spelling fixes.
* lisp/org/ob-python.el (org-babel-python-with-earmuffs):
Rename from org-babel-python-with-earmufs.  All uses changed.
(org-babel-python-without-earmuffs):
Rename from org-babel-python-without-earmufs.  All uses changed.
2013-11-16 23:51:24 -08:00
Jay Belanger
014690de70 * calc/calc.el (calc-context-sensitive-enter): New variable.
(calc-enter): Use `calc-context-sensitive-enter'.

* doc/misc/calc.texi (Customizing Calc): Mention the new variable
  `calc-context-sensitive-enter'.
2013-11-16 22:22:24 -06:00
Ted Zlatanov
7e26a6c339 Add CFEngine 3 ElDoc, completion, and compilation glue to cf-promises.
* progmodes/cfengine.el: Version bump.
(cfengine-cf-promises): New defcustom to locate cf-promises.
(cfengine3-vartypes): Add new "data" type.
(cfengine3--current-word): New function to get current name-like
word or its bounds.
(cfengine3--current-function): New function to look up a CFEngine
function's definition.
(cfengine3-format-function-docstring): New function.
(cfengine3-make-syntax-cache): New function.
(cfengine3-documentation-function): New function: ElDoc glue.
(cfengine3-completion-function): New function: completion glue.
(cfengine3-mode): Set `compile-command',
`eldoc-documentation-function', and add to
`completion-at-point-functions'.
2013-11-16 17:36:14 -05:00
Barry O'Reilly
86eaab8920 Fix ChangeLog in last commit. 2013-11-16 15:30:18 -05:00
Barry O'Reilly
2bde2cf143 * semantic/fw.el (semantic-exit-on-input)
(semantic-throw-on-input): Restore point before
accept-process-output because timers which redisplay can run.
(Bug#15045)
2013-11-16 15:27:24 -05:00
Michael Albinus
355204ddd5 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
`tramp-current-connection'.
2013-11-16 12:37:45 +01:00
Dmitry Gutov
43cebc237c * lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
nil/self/true/false with "end of symbol".
2013-11-15 20:09:10 +02:00
Bozhidar Batsov
a3fed6ffab * lisp/subr.el (version-regexp-alist): Fix a typo. 2013-11-15 12:02:13 +02:00
Michael Albinus
e675b3e452 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
"en_US.utf8" and "LC_CTYPE" to "".
(tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
	(tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
2013-11-15 08:37:18 +01:00
Leo Liu
a1f03e8916 * lisp/loadhist.el (read-feature): Get rid of fake feature nil.
* src/minibuf.c (Ftry_completion, Fall_completions)
(Ftest_completion): Use FUNCTIONP.  (Bug#15889)
2013-11-15 14:52:40 +08:00
Jan Tatarik
8ef7141bbe lisp/gnus/gnus-icalendar.el (gnus-icalendar-event->gnus-calendar, gnus-icalendar-event-from-ical, gnus-icalendar-event->org-entry, gnus-icalendar--update-org-event): Required/optional participation, list of attendees synced to org 2013-11-15 00:07:54 +00:00
Christopher Schmidt
5836266237 Add bug reference to previous commit. 2013-11-14 21:30:11 +01:00
Stefan Monnier
5d9d9451d3 * lisp/progmodes/gud.el (ctl-x-map): Remove C-x SPC binding.
(gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
2013-11-14 15:20:11 -05:00
Bozhidar Batsov
0d5363c4cd * lisp/subr.el (version-regexp-alist):
Recognize hg, svn and darcs versions as snapshot versions.
2013-11-14 19:07:03 +02:00
Bozhidar Batsov
99f5d0744e * lisp/progmodes/ruby-mode.el (ruby-mode-set-encoding):
Fix and simplify encoding comment update logic.
2013-11-14 14:39:41 +02:00
Glenn Morris
9caa4907bb Auto-commit of loaddefs files. 2013-11-14 06:21:21 -05:00
Bozhidar Batsov
6c1bf08604 * lisp/progmodes/ruby-mode.el (ruby-mode-set-encoding):
Add support for always inserting an utf-8 encoding comment.
2013-11-14 12:35:49 +02:00
Michael Albinus
2f7e72f83d * net/tramp-gvfs.el (top): Run init code only when
`tramp-gvfs-enabled' is not nil.
(tramp-gvfs-enabled): Check also :system bus.
2013-11-14 08:36:39 +01:00
Stefan Monnier
0f137a73cd Sync with upstream verilog-mode revision 78e66ba.
* lisp/progmodes/verilog-mode.el (verilog-end-of-defun)
(verilog-type-completion, verilog-get-list): Remove unused funcs.
(verilog-get-end-of-defun): Remove unused argument.
(verilog-comment-depth): Remove unused local `e'.
(verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
Don't pass arg to verilog-get-end-of-defun.
2013-11-13 18:58:51 -08:00
Glenn Morris
1c276bdd9e * lisp/obsolete/assoc.el (aget): Prefix dynamic variable. 2013-11-13 18:44:54 -08:00
Glenn Morris
e3d71abf44 * lisp/allout-widgets.el (allout-widgets): No need to autoload defgroup. 2013-11-13 18:43:55 -08:00
Stefan Monnier
ff6ec81d6d * lisp/widget.el, lisp/hfy-cmap.el: Remove bogus package version number. 2013-11-13 19:41:58 -05:00
Jan Tatarik
0f755e302c lisp/gnus/gnus-icalendar.el: Fix for gnus-icalendar handling of empty appt locations; gnus-icalendar can update org entry for canceled appointments 2013-11-13 22:16:42 +00:00
Glenn Morris
1d43dba1a0 * lisp/replace.el (replace-eval-replacement): Try to give more helpful error
message.

Fixes: debbugs:15836
2013-11-13 15:48:35 -05:00
Glenn Morris
ff4b7bd531 * lisp/arc-mode.el (archive-7z-extract, archive-7z-expunge)
(archive-7z-update): Avoid custom type mismatches.
2013-11-13 15:40:12 -05:00
Glenn Morris
75f777b647 * lisp/vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10. 2013-11-13 15:06:37 -05:00
Michael Albinus
11151a064b * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPV6
address can be empty.

* net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
Accept nil SWITCHES.
(tramp-gvfs-handle-write-region): Implement APPEND.
2013-11-13 16:28:06 +01:00
Jan Tatarik
62dfefa0cd lisp/gnus/gnus-icalendar.el (gnus-icalendar-event-from-ical): Fix timezone handling in gnus-icalendar export to org 2013-11-12 22:16:09 +00:00
Bastien Guerry
c71bf86140 org-agenda.el (org-agenda-set-restriction-lock): Autoload
* org-agenda.el (org-agenda-set-restriction-lock): Autoload.
2013-11-12 21:14:21 +01:00