]> git.eshelyaron.com Git - emacs.git/log
emacs.git
11 years agoauto upstream
Joakim Verona [Tue, 23 Apr 2013 06:30:55 +0000 (08:30 +0200)]
auto upstream

11 years agoemacs-lisp-intro.texi fixes.
Xue Fuqiao [Tue, 23 Apr 2013 00:43:07 +0000 (08:43 +0800)]
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)

11 years ago* info-look.el: Prefer latex2e.info.
Leo Liu [Mon, 22 Apr 2013 14:41:32 +0000 (22:41 +0800)]
* info-look.el: Prefer latex2e.info.

Fixes: debbugs:14240
11 years ago* net/tramp-compat.el (tramp-compat-call-process): Move function ...
Michael Albinus [Mon, 22 Apr 2013 10:26:09 +0000 (12:26 +0200)]
* 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.

11 years agoauto upstream
Joakim Verona [Mon, 22 Apr 2013 06:30:55 +0000 (08:30 +0200)]
auto upstream

11 years ago* Makefile.in (bootstrap-clean): Remove stamp-h1 too.
Paul Eggert [Mon, 22 Apr 2013 05:18:30 +0000 (22:18 -0700)]
* Makefile.in (bootstrap-clean): Remove stamp-h1 too.

Without this fix, "make distclean" leaves stamp-h1 behind.

11 years ago* make-dist: Do not distribute admin/unidata/Makefile.
Paul Eggert [Mon, 22 Apr 2013 05:08:36 +0000 (22:08 -0700)]
* make-dist: Do not distribute admin/unidata/Makefile.

It is generated by 'configure'.

11 years ago* build-aux/update-subdirs: Don't leave subdirs.el~ behind.
Paul Eggert [Mon, 22 Apr 2013 05:01:33 +0000 (22:01 -0700)]
* 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.

11 years agoepg.el: support pinentry mode added in GnuPG 2.1
Daiki Ueno [Mon, 22 Apr 2013 04:53:05 +0000 (13:53 +0900)]
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.

11 years agoChangeLog fix
Glenn Morris [Mon, 22 Apr 2013 01:47:58 +0000 (18:47 -0700)]
ChangeLog fix

11 years ago* emacs-lisp-intro.texi (defcustom, defun, simplified-beginning-of-buffer, defvar...
Xue Fuqiao [Sun, 21 Apr 2013 11:56:28 +0000 (19:56 +0800)]
* 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)

11 years ago* doc/lispref/internals.texi (Writing Emacs Primitives): Remove unnecessary reference...
Xue Fuqiao [Sun, 21 Apr 2013 11:16:30 +0000 (19:16 +0800)]
* doc/lispref/internals.texi (Writing Emacs Primitives): Remove unnecessary references to the sources. (Bug#13800)

11 years agoauto upstream
Joakim Verona [Sun, 21 Apr 2013 06:31:00 +0000 (08:31 +0200)]
auto upstream

11 years agosearching.texi (Regexp Backslash): Doc fix for backslash constructs in regular expres...
Xue Fuqiao [Sun, 21 Apr 2013 03:27:51 +0000 (11:27 +0800)]
searching.texi (Regexp Backslash): Doc fix for backslash constructs in regular expressions.

11 years agocomint.el: (comint-dynamic-complete-functions, comint-mode-map): `comint-dynamic...
Xue Fuqiao [Sun, 21 Apr 2013 03:13:04 +0000 (11:13 +0800)]
comint.el: (comint-dynamic-complete-functions, comint-mode-map): `comint-dynamic-complete' is obsolete since 24.1, replaced by `completion-at-point'. (Bug#13774)

11 years agostartup.el (normal-no-mouse-startup-screen): Bug fix, the default key binding for...
Xue Fuqiao [Sun, 21 Apr 2013 02:45:38 +0000 (10:45 +0800)]
startup.el (normal-no-mouse-startup-screen): Bug fix, the default key binding for C-h C-o'.  (Bug#13970)

11 years agovc.el doc fixes
Glenn Morris [Sun, 21 Apr 2013 00:37:54 +0000 (17:37 -0700)]
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.

11 years agoNo longer include timestamp in header of .elc files
Glenn Morris [Sat, 20 Apr 2013 19:48:04 +0000 (12:48 -0700)]
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.

11 years agoMerge from emacs-24; up to 2012-12-26T22:30:58Z!yamaoka@jpl.org
Glenn Morris [Sat, 20 Apr 2013 19:11:25 +0000 (12:11 -0700)]
Merge from emacs-24; up to 2012-12-26T22:30:58Z!yamaoka@jpl.org

11 years agolisp/faces.el (read-face-name): Bug fix, return just one face if arg multiple is nil
Roland Winkler [Sat, 20 Apr 2013 17:33:52 +0000 (12:33 -0500)]
lisp/faces.el (read-face-name): Bug fix, return just one face if arg multiple is nil

11 years agoUse add/remove-function to manipulate process-filters.
Stefan Monnier [Sat, 20 Apr 2013 16:24:04 +0000 (12:24 -0400)]
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.

11 years agoBetter full-screen frame support on MS-Windows.
Erik Charlebois [Sat, 20 Apr 2013 07:32:31 +0000 (10:32 +0300)]
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
11 years agoauto upstream
Joakim Verona [Sat, 20 Apr 2013 06:30:34 +0000 (08:30 +0200)]
auto upstream

11 years agoAdded bug number (Bug#14112) to my last ChangeLog entries.
Masatake YAMATO [Fri, 19 Apr 2013 19:56:16 +0000 (04:56 +0900)]
Added bug number (Bug#14112) to my last ChangeLog entries.

11 years ago* automated/imenu-tests.el: New file.
Masatake YAMATO [Fri, 19 Apr 2013 19:02:55 +0000 (04:02 +0900)]
* automated/imenu-tests.el: New file.

11 years ago* lisp/progmodes/sh-script.el (sh-imenu-generic-expression): Handle
Masatake YAMATO [Fri, 19 Apr 2013 18:50:28 +0000 (03:50 +0900)]
* lisp/progmodes/sh-script.el (sh-imenu-generic-expression): Handle
function names with a single character.

11 years ago* lisp/progmodes/gud.el (gud-perldb-marker-filter): Understand position info
Dima Kogan [Fri, 19 Apr 2013 15:58:07 +0000 (11:58 -0400)]
* lisp/progmodes/gud.el (gud-perldb-marker-filter): Understand position info
for subroutines defined in an eval.

Fixes: debbugs:14182
11 years agoSmall fixes to 2013-04-19T02:31:09Z!fgallina@gnu.org
Fabián Ezequiel Gallina [Fri, 19 Apr 2013 13:29:41 +0000 (10:29 -0300)]
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.

11 years agoAuto-commit of generated files.
Glenn Morris [Fri, 19 Apr 2013 10:17:40 +0000 (06:17 -0400)]
Auto-commit of generated files.

11 years agoauto upstream
Joakim Verona [Fri, 19 Apr 2013 06:30:26 +0000 (08:30 +0200)]
auto upstream

11 years ago* lisp/bookmark.el (bookmark-completing-read): Improve handling of empty
Thierry Volpiatto [Fri, 19 Apr 2013 05:11:16 +0000 (01:11 -0400)]
* lisp/bookmark.el (bookmark-completing-read): Improve handling of empty
string.

Fixes: debbugs:14176
11 years ago* lisp/vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
Stefan Monnier [Fri, 19 Apr 2013 04:09:08 +0000 (00:09 -0400)]
* lisp/vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.

11 years agoNew faster Imenu implementation.
Fabián Ezequiel Gallina [Fri, 19 Apr 2013 02:31:09 +0000 (23:31 -0300)]
New faster Imenu implementation.

* lisp/progmodes/python.el:
(python-imenu-prev-index-position):
(python-imenu-format-item-label-function)
(python-imenu-format-parent-item-label-function)
(python-imenu-format-parent-item-jump-label-function):
New vars.
(python-imenu-format-item-label)
(python-imenu-format-parent-item-label)
(python-imenu-format-parent-item-jump-label)
(python-imenu--put-parent, python-imenu--build-tree)
(python-imenu-create-index, python-imenu-create-flat-index)
(python-util-popn): New functions.
(python-mode): Set imenu-create-index-function to
python-imenu-create-index.

* test/automated/python-tests.el (python-imenu-prev-index-position-1):
Removed test.
(python-imenu-create-index-1, python-imenu-create-flat-index-1):
New tests.

Fixes: debbugs:14058
11 years ago* configure.ac: Add DragonFly BSD, mostly same as FreeBSD (tiny change)
John Marino [Thu, 18 Apr 2013 17:12:21 +0000 (10:12 -0700)]
* configure.ac: Add DragonFly BSD, mostly same as FreeBSD (tiny change)

Fixes: debbugs:14068
11 years ago* lisp/winner.el (winner-active-region): Use region-active-p, activate-mark
Stefan Monnier [Thu, 18 Apr 2013 13:15:08 +0000 (09:15 -0400)]
* lisp/winner.el (winner-active-region): Use region-active-p, activate-mark
and deactivate-mark.
* lisp/simple.el (deactivate-mark): Don't inline it.

Fixes: debbugs:14225
11 years ago* net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
Michael Albinus [Thu, 18 Apr 2013 12:47:01 +0000 (14:47 +0200)]
* net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".

11 years agoAuto-commit of generated files.
Glenn Morris [Thu, 18 Apr 2013 10:17:38 +0000 (06:17 -0400)]
Auto-commit of generated files.

11 years agoauto upstream
Joakim Verona [Thu, 18 Apr 2013 06:33:35 +0000 (08:33 +0200)]
auto upstream

11 years ago* files.el (auto-mode-alist): Delete OpenDocument and StarOffice
Tassilo Horn [Thu, 18 Apr 2013 06:24:10 +0000 (08:24 +0200)]
* files.el (auto-mode-alist): Delete OpenDocument and StarOffice
file extensions from the archive-mode entry in order to prefer
doc-view-mode-maybe with archive-mode as fallback (bug#14188).

11 years agoReplace AC_PROG_LN_S by a less strict configure test
Glenn Morris [Thu, 18 Apr 2013 05:03:53 +0000 (22:03 -0700)]
Replace AC_PROG_LN_S by a less strict configure test

* configure.ac (AC_PROG_LN_S): Remove, too restrictive.
(LN_S_FILEONLY): New output variable.
* Makefile.in (LN_S): Remove.
(LN_S_FILEONLY): New, set by configure.
(install-arch-dep): Use LN_S_FILEONLY rather than LN_S.

11 years agoAdd an additional key ? for describe-prefix-bindings
Leo Liu [Thu, 18 Apr 2013 02:20:12 +0000 (10:20 +0800)]
Add an additional key ? for describe-prefix-bindings

11 years ago* lisp/subr.el (with-wrapper-hook): Declare obsolete.
Stefan Monnier [Thu, 18 Apr 2013 00:12:33 +0000 (20:12 -0400)]
* lisp/subr.el (with-wrapper-hook): Declare obsolete.
* lisp/simple.el (filter-buffer-substring-function): New hook.
(filter-buffer-substring): Use it.
(filter-buffer-substring-functions): Mark obsolete.
* lisp/minibuffer.el (completion-in-region-function): New hook.
(completion-in-region): Use it.
(completion-in-region-functions): Mark obsolete.
* lisp/mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
* lisp/abbrev.el (abbrev-expand-function): New hook.
(expand-abbrev): Use it.
(abbrev-expand-functions): Mark obsolete.
* lisp/emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
and :filter-return.
* lisp/org/org-agenda.el (org-agenda-mode):
* lisp/org/org-indent.el (org-indent-mode): Use the `local' arg of
add-hook/remove-hook.

11 years ago* lisp/progmodes/python.el (python-nav--syntactically): Fix cornercases
Fabián Ezequiel Gallina [Wed, 17 Apr 2013 22:23:13 +0000 (19:23 -0300)]
* lisp/progmodes/python.el (python-nav--syntactically): Fix cornercases
and do not care about match data.

* test/automated/python-tests.el (python-nav-backward-defun-2)
(python-nav-backward-defun-3, python-nav-forward-defun-2)
(python-nav-forward-defun-3): New tests.

11 years ago* lisp/emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
Stefan Monnier [Wed, 17 Apr 2013 20:52:02 +0000 (16:52 -0400)]
* lisp/emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
completion tables when completing error conditions and
`declare' arguments.
(lisp-complete-symbol, field-complete): Mark as obsolete.
(check-parens): Unmatched parens are user errors.
* lisp/minibuffer.el (minibuffer-completion-contents): Mark as obsolete.

11 years agoupstream
Joakim Verona [Wed, 17 Apr 2013 19:56:43 +0000 (21:56 +0200)]
upstream

11 years agoupstream
Joakim Verona [Wed, 17 Apr 2013 19:52:11 +0000 (21:52 +0200)]
upstream

11 years agotextmodes/flyspell.el: Don't check pre-word if buffer was switched.
Agustín Martín [Wed, 17 Apr 2013 18:03:46 +0000 (20:03 +0200)]
textmodes/flyspell.el: Don't check pre-word if buffer was switched.

If command changed the buffer, the decision may be made based on the
current buffer even though it should based on the previous one.  This
may lead to false positives and more importantly to errors since
`flyspell-pre-point' is buffer local so it may have unsanitised value
(such as nil) in previous buffer.

To be honest, I'm not sure how this can happen since
`flyspell-pre-point' is set in previous buffer, but nonetheless, I've
been encountering the error for quite some time and finally decided to
fix it.  Interestingly, line making `flyspell-pre-point'
a buffer-local variable has a very revealing "Why?? --Stef" comment.

To avoid the problem, change flyspell-check-pre-word-p so that it does
not allow checking of pre-word if command changed buffer
(ie. `flyspell-pre-buffer' is not current buffer).

11 years agoispell.el: use `comment-normalize-vars' in ispell-add-per-file-word-list (Bug #14214).
Agustín Martín [Wed, 17 Apr 2013 17:48:10 +0000 (19:48 +0200)]
ispell.el: use `comment-normalize-vars' in ispell-add-per-file-word-list (Bug #14214).

11 years agoauto upstream
Joakim Verona [Wed, 17 Apr 2013 06:30:36 +0000 (08:30 +0200)]
auto upstream

11 years agoNew defun movement commands.
Fabián Ezequiel Gallina [Wed, 17 Apr 2013 05:08:20 +0000 (02:08 -0300)]
New defun movement commands.

* lisp/progmodes/python.el (python-nav--syntactically)
(python-nav--forward-defun, python-nav-backward-defun)
(python-nav-forward-defun): New functions.

* test/automated/python-tests.el (python-nav-backward-defun-1)
(python-nav-forward-defun-1): New tests.

11 years ago* progmodes/python.el (python-syntax--context-compiler-macro): New defun.
Fabián Ezequiel Gallina [Wed, 17 Apr 2013 02:52:50 +0000 (23:52 -0300)]
* progmodes/python.el (python-syntax--context-compiler-macro): New defun.
(python-syntax-context): Use named compiler-macro for backwards
compatibility with Emacs 24.x.

11 years agoFix last change
Leo Liu [Wed, 17 Apr 2013 01:49:22 +0000 (09:49 +0800)]
Fix last change

11 years ago* progmodes/octave-mod.el (octave-mode-map): Fix key binding to
Leo Liu [Wed, 17 Apr 2013 01:46:26 +0000 (09:46 +0800)]
* progmodes/octave-mod.el (octave-mode-map): Fix key binding to
octave-hide-process-buffer.

11 years ago* lisp/vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names.
Stefan Monnier [Wed, 17 Apr 2013 00:50:44 +0000 (20:50 -0400)]
* lisp/vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names.

Fixes: debbugs:14216
11 years ago* lisp/progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
Jean-Philippe Gravel [Wed, 17 Apr 2013 00:35:22 +0000 (20:35 -0400)]
* lisp/progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
Fix adjustment of offset when receiving incomplete responses from GDB.

Fixes: debbugs:14129
11 years ago* lisp/progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
Stefan Monnier [Tue, 16 Apr 2013 17:28:11 +0000 (13:28 -0400)]
* lisp/progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
python-mode-abbrev-table.
(python-skeleton-define): Adjust accordingly.
(python-mode-abbrev-table): New table that inherits from it so that
python-skeleton-autoinsert does not affect non-skeleton abbrevs.
* lisp/abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
(abbrev-symbol): Use it.
(abbrev--before-point): Use it since we already handle inheritance.

11 years ago* progmodes/octave-mod.el (octave-mode-map): Remove redundant key
Leo Liu [Tue, 16 Apr 2013 16:38:31 +0000 (00:38 +0800)]
* progmodes/octave-mod.el (octave-mode-map): Remove redundant key
binding to info-lookup-symbol.

11 years ago* tramp.texi (Frequently Asked Questions): Precise, how to define
Michael Albinus [Tue, 16 Apr 2013 08:11:56 +0000 (10:11 +0200)]
* tramp.texi (Frequently Asked Questions): Precise, how to define
an own ControlPath.

11 years agolisp/gnus/ChangeLog: Fix last change
Katsumi Yamaoka [Tue, 16 Apr 2013 06:49:46 +0000 (06:49 +0000)]
lisp/gnus/ChangeLog: Fix last change

11 years agolisp/gnus/shr.el: Support <img src="data:...">
David Edmondson [Tue, 16 Apr 2013 06:44:35 +0000 (06:44 +0000)]
lisp/gnus/shr.el: Support <img src="data:...">

11 years agoauto upstream
Joakim Verona [Tue, 16 Apr 2013 06:30:37 +0000 (08:30 +0200)]
auto upstream

11 years agoFix typos in ChangeLogs.
Juanma Barranquero [Tue, 16 Apr 2013 02:52:53 +0000 (04:52 +0200)]
Fix typos in ChangeLogs.

11 years agoSilence byte-compiler warnings.
Juanma Barranquero [Tue, 16 Apr 2013 02:41:37 +0000 (04:41 +0200)]
Silence byte-compiler warnings.
lisp/minibuffer.el (completion--twq-all):
lisp/term/ns-win.el (ns-initialize-window-system):
lisp/term/w32-win.el (w32-initialize-window-system): Mark unused argument.

11 years agosrc/minibuf.c (Ftest_completion): Silence compiler warning.
Juanma Barranquero [Tue, 16 Apr 2013 02:39:47 +0000 (04:39 +0200)]
src/minibuf.c (Ftest_completion): Silence compiler warning.

11 years ago* lisp/emacs-lisp/nadvice.el (add-function): Default simple vars to their
Stefan Monnier [Tue, 16 Apr 2013 02:10:16 +0000 (22:10 -0400)]
* lisp/emacs-lisp/nadvice.el (add-function): Default simple vars to their
global bindings.

11 years ago* lisp/doc-view.el (doc-view-start-process): Handle url-handler directories.
Stefan Monnier [Tue, 16 Apr 2013 00:51:46 +0000 (20:51 -0400)]
* lisp/doc-view.el (doc-view-start-process): Handle url-handler directories.

11 years ago* lisp/progmodes/ruby-mode.el (ruby-beginning-of-defun)
Dmitry Gutov [Mon, 15 Apr 2013 23:07:14 +0000 (03:07 +0400)]
* lisp/progmodes/ruby-mode.el (ruby-beginning-of-defun)
(ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
to nil.
(ruby-end-of-defun): Remove the unused arg, change the docstring
to reflect that this function is only used as the value of
`end-of-defun-function'.
(ruby-beginning-of-defun): Remove "top-level" from the docstring,
to reflect an earlier change that beginning/end-of-defun functions
jump between methods in a class definition, as well as top-level
functions.

11 years ago* lisp/minibuffer.el (minibuffer-complete): Don't just scroll
Stefan Monnier [Mon, 15 Apr 2013 19:55:41 +0000 (15:55 -0400)]
* lisp/minibuffer.el (minibuffer-complete): Don't just scroll
a *Completions* that's been iconified.
(minibuffer-force-complete): Make sure repetitions do cycle when going
through completion-in-region -> minibuffer-complete.

11 years ago* etc/NEWS, doc/lispref/tips.texi (Coding Conventions): Mention
Christopher Schmidt [Mon, 15 Apr 2013 17:01:00 +0000 (19:01 +0200)]
* etc/NEWS, doc/lispref/tips.texi (Coding Conventions): Mention
separation of package descriptor and name of internal symbols by
two hyphens.

11 years agoCorrect the placement of c-cpp-delimiters when there're #s not at col 0.
Alan Mackenzie [Mon, 15 Apr 2013 16:10:24 +0000 (16:10 +0000)]
Correct the placement of c-cpp-delimiters when there're #s not at col 0.

        * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
        place a submatch around the #.
        * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP): Start
        a search at BOL.  Put the c-cpp-delimiter category text propertiy
        on the #, not BOL.

11 years agominor doc
Joakim Verona [Mon, 15 Apr 2013 15:54:33 +0000 (17:54 +0200)]
minor doc

11 years ago* lisp/emacs-lisp/nadvice.el: Properly test names when adding advice.
Stefan Monnier [Mon, 15 Apr 2013 15:06:51 +0000 (11:06 -0400)]
* lisp/emacs-lisp/nadvice.el: Properly test names when adding advice.
(advice--member-p): New arg `name'.
(advice--add-function, advice-member-p): Use it.

Fixes: debbugs:14202
11 years agoReformulate java imenu-generic-expression.
Alan Mackenzie [Mon, 15 Apr 2013 14:32:20 +0000 (14:32 +0000)]
Reformulate java imenu-generic-expression.
        The old expression contained ill formed regexps.

        * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
        (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
        (cc-imenu-java-method-arg-regexp): New defconsts.
        (cc-imenu-java-build-type-args-regex): New defun.
        (cc-imenu-java-generic-expression): Fixed, to remove "ambiguous"
        handling of spaces in the regexp.

11 years agonet/tramp.texi: Improve last change.
Michael Albinus [Mon, 15 Apr 2013 13:42:29 +0000 (15:42 +0200)]
net/tramp.texi: Improve last change.

11 years agoispell.el: No longer mark as wrong-by-flyspell words just accepted by ispell (bug...
Agustín Martín [Mon, 15 Apr 2013 10:00:14 +0000 (12:00 +0200)]
ispell.el: No longer mark as wrong-by-flyspell words just accepted by ispell (bug #14178).

textmodes/ispell.el (ispell-command-loop): Remove flyspell highlighting
of a word when ispell accepts it (bug #14178).

11 years ago* net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
Michael Albinus [Mon, 15 Apr 2013 09:43:20 +0000 (11:43 +0200)]
* net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
uses code from the previous `ange-ftp-run-real-handler'.
(ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
only in case that function exist.  This is needed for proper
unloading of Tramp.

11 years ago* tramp.texi (Frequently Asked Questions): New item for
Michael Albinus [Mon, 15 Apr 2013 08:52:19 +0000 (10:52 +0200)]
* tramp.texi (Frequently Asked Questions): New item for
ControlPath settings.

11 years ago* textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
Tassilo Horn [Mon, 15 Apr 2013 07:55:05 +0000 (09:55 +0200)]
* textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.

* textmodes/reftex.el (reftex-compile-variables): Use it.

11 years agoChangeLog for the last commit.
Eli Zaretskii [Mon, 15 Apr 2013 07:29:39 +0000 (10:29 +0300)]
ChangeLog for the last commit.

11 years agoMore debugging code to investigate bug #14062.
Eli Zaretskii [Mon, 15 Apr 2013 07:27:56 +0000 (10:27 +0300)]
More debugging code to investigate bug #14062.

 src/w32fns.c (w32_wnd_proc): Add more assertions to investigate
 bug#14062.
 src/frame.h (WINDOW_FRAME): Protect macro and its argument with
 parentheses.
 src/dispextern.h (CURRENT_MODE_LINE_HEIGHT)
 (CURRENT_HEADER_LINE_HEIGHT, WINDOW_WANTS_MODELINE_P)
 (WINDOW_WANTS_HEADER_LINE_P): Protect macro arguments with
 parentheses where appropriate.

11 years agoauto upstream
Joakim Verona [Mon, 15 Apr 2013 06:30:29 +0000 (08:30 +0200)]
auto upstream

11 years agolisp/gnus/nnir.el (nnir-request-set-mark): Make sure we are in the right group
Andrew Cohen [Sun, 14 Apr 2013 22:16:44 +0000 (22:16 +0000)]
lisp/gnus/nnir.el (nnir-request-set-mark): Make sure we are in the right group

11 years agoSpelling fixes.
Paul Eggert [Sun, 14 Apr 2013 21:57:21 +0000 (14:57 -0700)]
Spelling fixes.

11 years ago* keyboard.c (timer_start_idle): Remove no-longer-used local.
Paul Eggert [Sun, 14 Apr 2013 20:33:57 +0000 (13:33 -0700)]
* keyboard.c (timer_start_idle): Remove no-longer-used local.

11 years agoImprove doc strings of left/right-margin/fringe-width.
Eli Zaretskii [Sun, 14 Apr 2013 06:51:15 +0000 (09:51 +0300)]
Improve doc strings of left/right-margin/fringe-width.

 src/buffer.c (syms_of_buffer) <left-margin-width, right-margin-width>
 <left-fringe-width, right-fringe-width, fringes-outside-margins>:
 Mention in the doc string that setting these variables takes
 effect only after a call to set-window-buffer.  (Bug#14200)

11 years agoauto upstream
Joakim Verona [Sun, 14 Apr 2013 06:30:42 +0000 (08:30 +0200)]
auto upstream

11 years ago* lisp/files.el (normal-mode): Only use default major-mode if no other mode
Stefan Monnier [Sun, 14 Apr 2013 02:55:21 +0000 (22:55 -0400)]
* lisp/files.el (normal-mode): Only use default major-mode if no other mode
was specified.

Fixes: debbugs:14089
11 years ago* lisp/emacs-lisp/trace.el (trace-values): New function.
Stefan Monnier [Sun, 14 Apr 2013 01:02:29 +0000 (21:02 -0400)]
* lisp/emacs-lisp/trace.el (trace-values): New function.

11 years ago* lisp/files.el: Allow : in local variables.
Stefan Monnier [Sun, 14 Apr 2013 00:59:48 +0000 (20:59 -0400)]
* lisp/files.el: Allow : in local variables.
(hack-local-variable-regexp): New var.
(hack-local-variables-prop-line, hack-local-variables): Use it.

Fixes: debbugs:14089
11 years ago* src/w32fns.c (w32_fullscreen_rect): New function to compute the
Erik Charlebois [Sun, 14 Apr 2013 00:58:45 +0000 (20:58 -0400)]
* 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.

11 years agolisp/textmodes/bibtex.el (bibtex-search-entries): Bug fix
Roland Winkler [Sat, 13 Apr 2013 20:45:03 +0000 (15:45 -0500)]
lisp/textmodes/bibtex.el (bibtex-search-entries): Bug fix

11 years agolisp/textmodes/bibtex.el (bibtex-url): Doc fix
Roland Winkler [Sat, 13 Apr 2013 20:41:52 +0000 (15:41 -0500)]
lisp/textmodes/bibtex.el (bibtex-url): Doc fix

11 years agolisp/textmodes/bibtex.el (bibtex-initialize): If the current buffer does not visit...
Roland Winkler [Sat, 13 Apr 2013 20:38:52 +0000 (15:38 -0500)]
lisp/textmodes/bibtex.el (bibtex-initialize): If the current buffer does not visit a BibTeX file, exclude it from the list of buffers returned by bibtex-initialize

11 years agoMake `split-window' a non-interactive function.
Stephen Berman [Sat, 13 Apr 2013 14:37:20 +0000 (16:37 +0200)]
Make `split-window' a non-interactive function.

* doc/lispref/windows.texi (Splitting Windows): Change category of
split-window from a command to a function.

* etc/NEWS: Mention fixing `split-window' to be non-interactive.

* window.el (split-window): Remove interactive form, since as a
command this function is a special case of split-window-below.
Correct doc string.

11 years agoAuto-commit of generated files.
Glenn Morris [Sat, 13 Apr 2013 10:17:45 +0000 (06:17 -0400)]
Auto-commit of generated files.

11 years agoFix vertical cursor motion when there are overlay strings at EOL.
Eli Zaretskii [Sat, 13 Apr 2013 08:54:02 +0000 (11:54 +0300)]
Fix vertical cursor motion when there are overlay strings at EOL.

 src/indent.c (Fvertical_motion): Don't consider display strings on
 overlay strings as display strings on the buffer position we
 started from.  This prevents vertical cursor motion from jumping
 more than one line when there's an overlay string with a display
 property at end of line.
 Reported by Karl Chen <Karl.Chen@quarl.org> in
 http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00362.html.

11 years agoauto upstream
Joakim Verona [Sat, 13 Apr 2013 06:30:33 +0000 (08:30 +0200)]
auto upstream

11 years agofaces.el (read-face-name): Do not override value of arg default, call instead face...
Roland Winkler [Sat, 13 Apr 2013 01:10:09 +0000 (20:10 -0500)]
faces.el (read-face-name): Do not override value of arg default, call instead face-at-point

11 years ago* src/window.c (select_window): `record_buffer' even if window is
Stefan Monnier [Fri, 12 Apr 2013 17:32:52 +0000 (13:32 -0400)]
* src/window.c (select_window): `record_buffer' even if window is
already selected.

Fixes: debbugs:14191
11 years agognus-msg.el (gnus-msg-mail): Make it avoid using posting styles corresponding to...
Katsumi Yamaoka [Fri, 12 Apr 2013 15:17:47 +0000 (15:17 +0000)]
gnus-msg.el (gnus-msg-mail): Make it avoid using posting styles corresponding to any existing group (Bug#14166)