1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00
Commit graph

110716 commits

Author SHA1 Message Date
Stefan Monnier
ced3fc5d2f * lisp/progmodes/octave-mod.el (octave-smie-forward-token): Only emit
semi-colons if the line is not otherwise empty.
* lisp/emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
(smie-indent-keyword): Improve the check to ensure that the next
comment is really on the same line.
(smie-indent-comment): Don't align with a subsequent closer (or eob).

Fixes: debbugs:14218
2013-04-24 23:25:34 -04:00
Glenn Morris
1c141dad87 * lisp/vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case. 2013-04-24 20:53:18 -04:00
Andrew Cohen
f0a9703029 lisp/gnus/nnir.el (nnir-close-group): Make sure we are in the right group 2013-04-24 22:07:21 +00:00
Andrew Cohen
60ad477923 lisp/gnus/gnus-sum.el (gnus-summary-insert-articles): Force dependencies update with newly retrieved headers 2013-04-24 22:06:56 +00:00
Paul Eggert
0a2da075e5 Spelling fix. 2013-04-24 14:02:44 -07:00
Stefan Monnier
5058062aa4 * lisp/progmodes/opascal.el (opascal-set-token-property): Rename from
opascal-set-text-properties and only set `token'.
(opascal-literal-text-properties): Remove.
(opascal-parse-next-literal, opascal-debug-unparse-buffer):
Adjust callers.

Fixes: debbugs:14134
2013-04-24 16:44:45 -04:00
Eli Zaretskii
6139439fac Fix "make info" in doc/lispintro on MS-Windows.
doc/lispintro/makefile.w32-in (INFO_OPTS): Add "-I$(emacsdir)" to fix last
 commit.
2013-04-24 22:06:20 +03:00
Tassilo Horn
5a52e09b9b * themes/tsdh-dark-theme.el (tsdh-dark): Add ido faces and remove
:box from outline faces.
2013-04-24 18:50:14 +02:00
Kenichi Handa
ec5098562a coding.c (decode_coding_iso_2022): When an invalid escape sequence is encountered, reset the invocation and designation status to the safest one. 2013-04-25 00:09:49 +09:00
Bastien Guerry
1ffefcf908 * textmodes/remember.el (remember-handler-functions): Add an
option for a new handler `remember-store-in-files'.
(remember-data-directory, remember-directory-file-name-format):
New options.
(remember-store-in-files): New function to store remember notes
as separate files within a directory.
2013-04-24 16:35:59 +02:00
Magnus Henoch
4391916c58 * lisp/progmodes/compile.el (compilation-next-error-function):
Pass "formats" to compilation-find-file.

Fixes: debbugs:11777
2013-04-24 09:50:22 -04:00
Glenn Morris
3b8fe7527b * vc/vc-bzr.el (vc-bzr-print-log): Improve START-REVISION with LIMIT != 1.
Fixes: debbugs:14168
2013-04-24 01:13:52 -07:00
Glenn Morris
90b4237a6b vc-hg, vc-svn print-log fixes for start-revision with limit != 1
* vc/vc-hg.el (vc-hg-print-log):
* vc/vc-svn.el (vc-svn-print-log): Fix START-REVISION with LIMIT != 1.

Fixes: debbugs:14168
2013-04-24 00:59:29 -07:00
Glenn Morris
bb7cdf58f6 Doc fixes related to vc-print-log
* vc/vc-bzr.el (vc-bzr-print-log):
* vc/vc-cvs.el (vc-cvs-print-log):
* vc/vc-git.el (vc-git-print-log):
* vc/vc-hg.el (vc-hg-print-log):
* vc/vc-mtn.el (vc-mtn-print-log):
* vc/vc-rcs.el (vc-rcs-print-log):
* vc/vc-sccs.el (vc-sccs-print-log):
* vc/vc-svn.el (vc-svn-print-log):
* vc/vc.el (vc-print-log-internal): Doc fixes.
2013-04-24 00:52:00 -07:00
Glenn Morris
6933cefc48 Remove old comments about making various formats (use Makefile instead) 2013-04-23 21:09:00 -04:00
Glenn Morris
09b98a01c1 Minor lispintro tweaks
* doc/lispintro/Makefile.in (emacsdir): New variable..
(MAKEINFO_OPTS, ENVADD): Add $emacsdir.
(srcs): Add emacsver.texi.
(dist): Include emacsver.texi.  Edit emacsdir.

* doc/lispintro/emacs-lisp-intro.texi (emacsver.texi): Include it.
(copying): For non-printed versions, uses Emacs version rather
than that of the printed book.
(Complications, Lisp macro, defvar and asterisk, defcustom): Copyedits.

* doc/lispintro/makefile.w32-in (emacsdir): New variable.
(INFO_SOURCES): Add emacsver.texi.
(ENVADD): Add $emacsdir (and $texinfodir).
2013-04-23 20:58:23 -04:00
Xue Fuqiao
edbf456935 Doc fix for emacs-lisp-intro.texi.
* doc/lispintro/emacs-lisp-intro.texi (Writing Defuns, Prevent confusion,
  Determining the Element, lambda): Refine the doc about Lisp macros,
  reported by Glenn Morris.
2013-04-24 06:26:40 +08:00
Glenn Morris
b46a056ef2 Remove some code duplication in startup.el
"If keys have their default meanings, use precomputed string to save
lots of time" implies substitute-command-keys was slow 20+ years ago
when this was originally written.  But we were accidentally using the
"slow" branch for 5 years and no-one complained about speed (bug#13970).

* lisp/startup.el (normal-no-mouse-startup-screen, normal-about-screen):
Remove venerable code attempting to avoid substitute-command-keys.
2013-04-23 17:51:40 -04:00
Glenn Morris
b02b54814a * doc/lispref/internals.texi (Writing Emacs Primitives): Remove obvious example.
Tweak other to avoid overly long line.
2013-04-23 11:57:44 -07:00
Tassilo Horn
6eca2e74f9 Fix recursive load issue with reftex.el and reftex-vars.el. 2013-04-23 19:07:49 +02:00
Tassilo Horn
92c519507b * textmodes/reftex.el (reftex-compile-variables): Add autoload
cookie.
2013-04-23 17:23:59 +02:00
Tassilo Horn
0aecf71872 * textmodes/reftex-vars.el (reftex-label-regexps): Call
`reftex-compile-variables' after changes to this variable.
2013-04-23 17:18:58 +02:00
Stefan Monnier
117f94cf10 * lisp/jit-lock.el: Fix signals in jit-lock-force-redisplay.
Use lexical-binding.
(jit-lock-force-redisplay): Use markers, check buffer's continued
existence and beware narrowed buffers.
(jit-lock-fontify-now): Adjust call accordingly.
2013-04-23 08:29:14 -04:00
Stefan Monnier
1d829c64d2 * lisp/minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
to avoid misleading the user.
2013-04-23 08:27:06 -04:00
Xue Fuqiao
2325c82f63 emacs-lisp-intro.texi fixes.
* doc/lispintro/emacs-lisp-intro.texi (Complications, defvar): Refine the doc about Lisp macros. (http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00618.html)
2013-04-23 08:43:07 +08:00
Leo Liu
72d548a9d7 * info-look.el: Prefer latex2e.info.
Fixes: debbugs:14240
2013-04-22 22:41:32 +08:00
Michael Albinus
d08536296c * net/tramp-compat.el (tramp-compat-call-process): Move function ...
* net/tramp.el (tramp-call-process): ... here
(tramp-set-completion-function, tramp-parse-putty):
* net/tramp-adb.el (tramp-adb-execute-adb-command):
* net/tramp-gvfs.el (tramp-gvfs-send-command):
* net/tramp-sh.el (tramp-sh-handle-set-file-times)
(tramp-set-file-uid-gid, tramp-sh-handle-write-region)
(tramp-call-local-coding-command): Use `tramp-call-process'
instead of `tramp-compat-call-process'.

* net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
(tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
(tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
(tramp-find-inline-compress):Improve traces.
(tramp-maybe-send-script): Check for Perl binary.
(tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
2013-04-22 12:26:09 +02:00
Paul Eggert
84fc48e57a * Makefile.in (bootstrap-clean): Remove stamp-h1 too.
Without this fix, "make distclean" leaves stamp-h1 behind.
2013-04-21 22:18:30 -07:00
Paul Eggert
1e8589d3d4 * make-dist: Do not distribute admin/unidata/Makefile.
It is generated by 'configure'.
2013-04-21 22:08:36 -07:00
Paul Eggert
c6cb2f53ac * build-aux/update-subdirs: Don't leave subdirs.el~ behind.
It messes up 'make distclean', and contains no useful information
because it's a copy of subdirs.el.
2013-04-21 22:01:33 -07:00
Daiki Ueno
38cc0210f3 epg.el: support pinentry mode added in GnuPG 2.1
* epg.el (epg-context-pinentry-mode): New function.
(epg-context-set-pinentry-mode): New function.
(epg--start): Pass --pinentry-mode option to gpg command.
2013-04-22 13:53:05 +09:00
Glenn Morris
2ebed929d5 ChangeLog fix 2013-04-21 18:47:58 -07:00
Xue Fuqiao
767b8eaef5 * emacs-lisp-intro.texi (defcustom, defun, simplified-beginning-of-buffer, defvar, Building Robots, Review, save-excursion): defun' and defcustom' are now macros rather than special forms. (Bug#13853) 2013-04-21 19:56:28 +08:00
Xue Fuqiao
84ebefe92f * doc/lispref/internals.texi (Writing Emacs Primitives): Remove unnecessary references to the sources. (Bug#13800) 2013-04-21 19:16:30 +08:00
Xue Fuqiao
f8152bcb32 searching.texi (Regexp Backslash): Doc fix for backslash constructs in regular expressions. 2013-04-21 11:27:51 +08:00
Xue Fuqiao
5d4e5c3179 comint.el: (comint-dynamic-complete-functions, comint-mode-map): comint-dynamic-complete' is obsolete since 24.1, replaced by completion-at-point'. (Bug#13774) 2013-04-21 11:13:04 +08:00
Xue Fuqiao
cc641ee19e startup.el (normal-no-mouse-startup-screen): Bug fix, the default key binding for C-h C-o'. (Bug#13970) 2013-04-21 10:45:38 +08:00
Glenn Morris
1b42ee4390 vc.el doc fixes
* lisp/vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
Add doc strings.
(vc-print-log): Clarify interactive prompt.
2013-04-20 17:37:54 -07:00
Glenn Morris
a6d63d97cd No longer include timestamp in header of .elc files
This removes needless differences between files compiled at different
times or by different people, or from sources in different locations.
Ref: http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00187.html

* lisp/emacs-lisp/bytecomp.el (byte-compile-insert-header):
No longer include timestamp etc information.

* etc/NEWS: Mention this.
2013-04-20 12:48:04 -07:00
Glenn Morris
61655fd96c Merge from emacs-24; up to 2012-12-26T22:30:58Z!yamaoka@jpl.org 2013-04-20 12:11:25 -07:00
Roland Winkler
d7f5c16f47 lisp/faces.el (read-face-name): Bug fix, return just one face if arg multiple is nil 2013-04-20 12:33:52 -05:00
Stefan Monnier
bcd7a0a4c5 Use add/remove-function to manipulate process-filters.
* lisp/emacs-lisp/nadvice.el (advice--where-alist): Add :override.
(remove-function): Autoload.

* lisp/comint.el (comint-redirect-original-filter-function): Remove.
(comint-redirect-cleanup, comint-redirect-send-command-to-process):
* lisp/vc/vc-cvs.el (vc-cvs-annotate-process-filter,vc-cvs-annotate-command):
* lisp/progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
* lisp/progmodes/prolog.el (prolog-consult-compile):
* lisp/progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
Use add/remove-function instead.
* lisp/progmodes/gud.el (gud-tooltip-original-filter): Remove.
(gud-tooltip-process-output, gud-tooltip-tips):
Use add/remove-function instead.
* lisp/progmodes/xscheme.el (xscheme-previous-process-state): Remove.
(scheme-interaction-mode, exit-scheme-interaction-mode):
Use add/remove-function instead.

* lisp/vc/vc-dispatcher.el: Use lexical-binding.
(vc--process-sentinel): Rename from vc-process-sentinel.
Change last arg to be the code to run.  Don't use vc-previous-sentinel
and vc-sentinel-commands any more.
(vc-exec-after): Allow code to be a function.  Use add/remove-function.
(compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
2013-04-20 12:24:04 -04:00
Erik Charlebois
806bda47dd Better full-screen frame support on MS-Windows.
src/w32fns.c (w32_fullscreen_rect): New function to compute the
 window rectangle for the given fullscreen mode.
 (w32_wnd_proc): When in a fullscreen mode, WM_WINDOWPOSCHANGING no
 longer tunes the window size.  This keeps the window's edges flush
 with the screen and allows the taskbar to hide itself in fullboth.
 src/w32term.c (w32fullscreen_hook): 'fullboth' now shows without
 window decorations and uses the entire screen.
 src/w32term.h  (w32_fullscreen_rect) Add prototype.
 (struct w32_output): Replace normal_width, normal_height,
 normal_top, and normal_left members with a single normal_placement
 struct.
 (FRAME_NORMAL_WIDTH, FRAME_NORMAL_HEIGHT, FRAME_NORMAL_TOP):
 Remove macros.
 (FRAME_NORMAL_PLACEMENT): New macro.

Fixes: debbugs:14180
2013-04-20 10:32:31 +03:00
Masatake YAMATO
38ef2c8490 Added bug number (Bug#14112) to my last ChangeLog entries. 2013-04-20 04:56:16 +09:00
Masatake YAMATO
1398a54d6a * automated/imenu-tests.el: New file. 2013-04-20 04:02:55 +09:00
Masatake YAMATO
4d3268ba39 * lisp/progmodes/sh-script.el (sh-imenu-generic-expression): Handle
function names with a single character.
2013-04-20 03:50:28 +09:00
Dima Kogan
863beb2713 * lisp/progmodes/gud.el (gud-perldb-marker-filter): Understand position info
for subroutines defined in an eval.

Fixes: debbugs:14182
2013-04-19 11:58:07 -04:00
Fabián Ezequiel Gallina
6bd1a072a8 Small fixes to 2013-04-19T02:31:09Z!fgallina@gnu.org
* lisp/ChangeLog: Fix Changelog Entry.

* progmodes/python.el (python-imenu-create-flat-index): Remove
  leftover `message' call and give credit to old
  imenu--flatten-index-alist.
2013-04-19 10:29:41 -03:00
Glenn Morris
87e1a81114 Auto-commit of generated files. 2013-04-19 06:17:40 -04:00
Thierry Volpiatto
7d6883367a * lisp/bookmark.el (bookmark-completing-read): Improve handling of empty
string.

Fixes: debbugs:14176
2013-04-19 01:11:16 -04:00