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

120535 commits

Author SHA1 Message Date
Stefan Monnier
8bb64d2722 * lisp/emacs-lisp/edebug.el (edebug--display): Save-excursion.
Fixes: debbugs:19611

* lisp/emacs-lisp/debug.el (debugger-env-macro): Remove redundant
save-excursion.
2015-02-25 01:03:14 -05:00
Katsumi Yamaoka
b86ba30d17 Gnus: Revert my bogus changes (2014-06-05)
* mm-decode.el (mm-shr)
* mm-view.el (mm-inline-text-html-render-with-w3m):
Revert my bogus change that made the start marker of a part
the "moves after insertion" type.
2015-02-25 02:39:47 +00:00
Paul Eggert
27bd6dadf4 Merge from gnulib
* lib/getdtablesize.c, m4/dup2.m4, m4/fcntl.m4:
Update from gnulib, incorporating:
2015-02-23 dup2: doc and test for Android bug
2015-02-23 Replace dup2() on Android
2015-02-22 Android doesn't define RLIM_SAVED_*
2015-02-24 16:40:23 -08:00
Paul Eggert
b74db6347c Backtrace after malloc arena is corrupted
Without this change, if the malloc arena is corrupted and then
'backtrace' is called, the backtrace can crash because 'backtrace'
calls 'malloc'.  For more, please see:
https://sourceware.org/ml/libc-alpha/2015-02/msg00678.html
* emacs.c (main): Initialize tables used by 'backtrace'.
* sysdep.c (emacs_backtrace): Document the newly used part of the API.
2015-02-24 16:35:03 -08:00
Glenn Morris
0c4f73a09d rmailsum.el tiny simplification
* lisp/mail/rmailsum.el (rmail-summary-previous-all)
(rmail-summary-previous-msg): Simplify.
2015-02-24 18:10:36 -05:00
Artur Malabarba
341e5f3c86 simple.el (region-active-p): Fix doc to say non-nil. 2015-02-24 22:51:15 -03:00
Samer Masterson
450bebaec9 * lisp/eshell: Fix history substitution error
Fixes: debbugs:18960

* lisp/eshell/em-hist.el (eshell-hist-parse-word-designator):
Return args joined with " ".
* lisp/eshell/em-pred.el (eshell-parse-modifiers): Correct docstring.
(eshell-hist-parse-modifier): Pass mod a list instead of a string.
2015-02-24 14:03:54 -05:00
Karl Fogel
feb49cb7a4 * comint.el (comint-mode-map): Fix obvious typo. 2015-02-24 09:30:56 -06:00
Johan Claesson
7a77ed9147 * filecache.el (file-cache-filter-regexps): Add lock files (tiny change)
Fixes: debbugs:19516
2015-02-23 23:50:44 -08:00
Glenn Morris
f418e991c0 rmailsum.el minor optional argument fix
* lisp/mail/rmailsum.el (rmail-summary-next-all)
(rmail-summary-previous-all, rmail-summary-next-msg):
Fix handling of optional argument.

Fixes: debbugs:19916
2015-02-23 23:43:58 -08:00
Glenn Morris
e8a11db943 f90.el: add some support for continued strings without leading '&'
* lisp/progmodes/f90.el (f90-beginning-of-subprogram)
(f90-end-of-subprogram, f90-match-end):
Handle continued strings where the continuation does not start
with "&" and happens to match our regexp.

* test/automated/f90.el (f90-test-bug-19809): New test.

Fixes: debbugs:19809
2015-02-23 23:13:49 -08:00
Bozhidar Batsov
eaf9499a7f Add new interactive command comint-clear-buffer
The command clears the entire comint buffer. It's bound to C-c M-o.
2015-02-24 08:53:04 +02:00
Paul Eggert
ed7005c0e9 Fix previous change's attribution 2015-02-23 10:17:21 -08:00
Paul Eggert
6b62d26589 Use ${EXEEXT} more uniformly in makefiles
When porting Emacs to run on NaCl, we need to make sure that we always
call it with the proper extension (.nexe in this case) during the build.
* leim/Makefile.in, lib-src/Makefile.in, lisp/Makefile.in (EMACS):
Append ${EXEEXT}.
(tiny change)
2015-02-23 10:10:24 -08:00
Sam Steingold
a0edb0160b `auto-save-list-file-prefix' can be a directory name
* lisp/files.el (recover-session): Handle `auto-save-list-file-prefix'
being a directory (empty non-directory part).
2015-02-23 09:13:31 -05:00
Tassilo Horn
931e7babcb lisp/gnus/mailcap.el: Support PDF Tools for PDF viewing of attachments
* mailcap.el (mailcap-mime-data): Support `pdf-view-mode' (from PDF
Tools: https://github.com/politza/pdf-tools) for viewing PDF
attachments in emacs.
2015-02-23 09:36:06 +00:00
Magnus Henoch
80e50144d8 Fix SCRAM-SHA-1 SASL mechanism
The symbol used in sasl-mechanism-alist needs to match the name that
can be required.  Move sasl-make-mechanism call to end of file, to
ensure that it can refer to the specified step functions.

* net/sasl.el (sasl-mechanism-alist): Refer to sasl-scram-rfc
instead of sasl-scram-sha-1, as the former is the name that can be
required.

* net/sasl-scram-rfc.el (sasl-scram-sha-1-steps)
(sasl-scram-sha-1-client-final-message)
(sasl-scram-sha-1-authenticate-server): Move to end of file.
2015-02-23 09:09:46 +00:00
Paul Eggert
34871865de Fix the desired binding for comment-line
* bindings.el (ctl-x-map): Use [?\C-\;] to get the desired binding.
Fixes: bug#19826
2015-02-22 22:00:26 -08:00
Stefan Monnier
e846bbf360 * lisp/emacs-lisp/macroexp.el (macroexp-parse-body): Handle cl-declare
and :documentation.  Change return value format accordingly.
* lisp/emacs-lisp/cl-generic.el (cl--generic-lambda):
* lisp/emacs-lisp/pcase.el (pcase-lambda): Adjust accordingly.
* lisp/emacs-lisp/cl-macs.el (cl--transform-lambda): Use macroexp-parse-body.
2015-02-22 23:50:03 -05:00
Katsumi Yamaoka
3f006e1d47 lisp/gnus/gnus-art.el (gnus-mime-display-single): Avoid "End of buffer" error 2015-02-23 02:40:12 +00:00
Dmitry Gutov
f6bb2ccb9b Introduce `xref-etags-mode'
Fixes: debbugs:19466

* lisp/progmodes/xref.el (xref-etags-mode--saved): New variable.
(xref-etags-mode): New minor mode.
2015-02-23 04:00:01 +02:00
Michael Albinus
c7cdc8ed5b Suppress localized settings in Tramp test.
* automated/tramp-tests.el (tramp-test17-insert-directory):
Suppress localized settings in order to have a proper check for
the summary line.
2015-02-22 19:58:05 +01:00
Jan D
9f5a24a6fd Implement x-frame-geometry for NS.
* src/nsfns.m (Fx_frame_geometry): New function.
(syms_of_nsfns): Defsubr Sx_frame_geometry.
2015-02-22 17:24:32 +01:00
Lars Magne Ingebrigtsen
32af8a39c4 * lisp/dom.el (dom-previous-sibling): New function. 2015-02-22 13:09:54 +01:00
Lars Magne Ingebrigtsen
f113707a07 * lisp/dom.el (dom-previous-sibling): New function. 2015-02-22 13:09:54 +01:00
Michael Albinus
4a5190ff48 Fix ChangeLog. 2015-02-22 11:07:17 +01:00
Paul Eggert
14b4e657e2 Spelling fixes
* lisp/cedet/semantic/doc.el (semantic-documentation-comment-preceding-tag):
Rename from semantic-documentation-comment-preceeding-tag.  All
uses changed.  Leave an obsolete alias behind.
* src/lisp.h (DEFINE_NON_NIL_Q_SYMBOL_MACROS):
Rename from DEFINE_NONNIL_Q_SYMBOL_MACROS.  All uses changed.
2015-02-21 20:01:05 -08:00
Paul Eggert
1cb3428546 * bindings.el (ctl-x-map): There is no 'C-;'.
For now, make do with 'M-;'; this allows 'make bootstrap' to work.
Perhaps some other binding should be chosen.
Fixes: bug#19826
2015-02-21 12:54:58 -08:00
Artur Malabarba
e38be5c483 lisp/ChangeLog: Fix entry to mention (Bug#19826) 2015-02-21 18:08:16 -02:00
Artur Malabarba
48415204e8 bindings.el (ctl-x-map): Fix `comment-line' binding. 2015-02-21 18:06:07 -02:00
Eli Zaretskii
9074a68499 Prefer 'Qfoo' to 'intern ("foo")' in w32 source files
src/w32term.c (queue_notifications):
 src/w32inevt.c (handle_file_notifications):
 src/w32font.c (w32_enumfont_pattern_entity): Prefer 'Qfoo' to
 'intern ("foo")'.
2015-02-21 14:54:08 +02:00
Michael Albinus
a2e6668dee Mention file notification support for dired buffers and autorevert. 2015-02-21 13:21:24 +01:00
Michael Albinus
629ed7714a Support file notifications for dired auto-revert
* autorevert.el (auto-revert-notify-add-watch)
(auto-revert-notify-handler, auto-revert-buffers): Handle also
buffers without an associated file, like dired buffers.
2015-02-21 13:11:55 +01:00
Dima Kogan
6982acc4e1 Install notification handlers when enabling the auto-revert modes.
* autorevert.el (auto-revert-mode, auto-revert-tail-mode)
(global-auto-revert-mode): Remove (let (auto-revert-use-notify) ... )
wrappers.  Call (auto-revert-buffers) consequently in order to
install handlers.
2015-02-21 10:47:22 +01:00
Paul Eggert
3ebf06300b Prefer 'Qfoo' to 'intern ("foo")'
* buffer.c (syms_of_buffer):
* bytecode.c (exec_byte_code):
* callint.c (Fcall_interactively):
* callproc.c (create_temp_file):
* charset.c (define_charset_internal):
* coding.c (syms_of_coding):
* editfns.c (syms_of_editfns):
* emacs.c (main):
* fns.c (syms_of_fns):
* frame.c (delete_frame, Fframe_parameters):
* keyboard.c (syms_of_keyboard):
* keymap.c (syms_of_keymap):
* minibuf.c (read_minibuf, syms_of_minibuf):
* nsfns.m (ns_cursor_type_to_lisp):
* textprop.c (syms_of_textprop):
* xdisp.c (Fformat_mode_line, syms_of_xdisp):
* xfns.c (x_create_tip_frame, Fx_select_font):
* xml.c (parse_region):
Prefer constants like 'Qfoo' to calls like 'intern ("foo")'.
* buffer.c (syms_of_buffer): OK to do (put 'erase-buffer 'disabled
t) here now ...
(keys_of_buffer): ... instead of here.
* ftfont.c (syms_of_ftfont): Move DEFSYM of Qmono from here ...
* xfns.c (syms_of_xfns): ... to here, since ftfont.c is more
optional than xfns.c.
2015-02-21 00:27:00 -08:00
Paul Eggert
066b17df68 Merge from gnulib
* doc/misc/texinfo.tex: Update from gnulib.
* lib/getdtablesize.c, lib/getopt.c, lib/signal.in.h, lib/tempname.c:
* lib/tempname.h, m4/dup2.m4, m4/fcntl.m4, m4/getdtablesize.m4:
Update from gnulib, incorporating:
2015-02-20 getdtablesize: port better for Android
2015-02-19 fcntl: Fix cross compiling
2015-02-18 dup2, fcntl: cross-compile better for Android
2015-02-18 getopt: don't crash on memory exhaustion
2015-02-17 tempname: allow compilation with C++ (trivial)
2015-02-17 dup2, fcntl: port to AIX
2015-02-16 getdtablesize, dup2, fcntl: port to Android
2015-02-11 getdtablesize, signal_h: Fix Android build
2015-02-11 maint: various whitespace cleanups in tempname
2015-02-20 23:32:45 -08:00
Glenn Morris
43fb42da8b # etc/TODO: More elpa additions 2015-02-20 20:38:43 -05:00
Glenn Morris
5169b71181 # etc/TODO: Add idlwave 2015-02-20 19:54:02 -05:00
Wilson Snyder
852947baf0 Sync with upstream verilog-mode revision 0d6420b
* lisp/progmodes/verilog-mode.el (verilog-mode-version): Update.
(vector-skip-list): Remove.
(verilog-auto-inst-port, verilog-auto-inst-port-list)
(verilog-auto-inst, verilog-auto-inst-param):
Use arguments rather than vector-skip.
(verilog-auto-inst-port): Fix AUTOINST interfaces to not show modport
if signal attachment is itself a modport.  Reported by Matthew Lovell.
2015-02-20 19:50:46 -05:00
Glenn Morris
1ee99b6fbd # ChangeLog fix 2015-02-20 19:36:54 -05:00
Reto Zimmermann
80e67e434c Sync with upstream vhdl mode v3.37.1. Add VHDL'08 support.
* lisp/progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp)
(vhdl-doc-release-notes): Update.
(vhdl-standard): Add VHDL'08 option.
(vhdl-sensitivity-list-all): New option.
(vhdl-directive-keywords): Add psl.
(vhdl-offsets-alist-default, vhdl-mode-abbrev-table-init)
(vhdl-template-construct-alist-init, vhdl-create-mode-menu):
(vhdl-imenu-generic-expression): Add context, directive.
(vhdl-offsets-alist, vhdl-mode, vhdl-doc-keywords): Doc fixes.
(vhdl-template-map-init): Add vhdl-template-context.
(vhdl-mode-syntax-table): Support VHDL'08 block comments.
(vhdl-create-mode-menu): Add some entries.
(vhdl-08-keywords, vhdl-08-types, vhdl-08-attributes)
(vhdl-08-functions, vhdl-08-packages, vhdl-08-directives): New constants.
(vhdl-directives): New variable.
(vhdl-words-init, vhdl-template-process)
(vhdl-template-replace-header-keywords): Support VHDL'08.
(vhdl-abbrev-list-init): Add vhdl-directives.
(vhdl-in-comment-p, vhdl-in-literal, vhdl-win-il)
(vhdl-forward-syntactic-ws, vhdl-get-syntactic-context)
(vhdl-lineup-comment): Handle block comments and directives.
(vhdl-beginning-of-directive, vhdl-template-context)
(vhdl-template-context-hook): New functions.
(vhdl-libunit-re, vhdl-defun-re, vhdl-begin-p)
(vhdl-corresponding-begin, vhdl-get-library-unit, vhdl-regress-line)
(vhdl-align-declarations, vhdl-beginning-of-block, vhdl-end-of-block)
(vhdl-font-lock-keywords-2, vhdl-get-end-of-unit)
(vhdl-scan-context-clause): Add context.

* etc/NEWS: Mention this.
2015-02-20 19:35:25 -05:00
Glenn Morris
226c1224b5 # Auto-commit of loaddefs files. 2015-02-20 06:18:36 -05:00
Jan Djärv
51d475a8d8 Avoid endless loop when handling fatal signal.
* src/emacs.c (terminate_due_to_signal): Move totally_unblock_input after
setting fatal_error_in_progress, so gobble_input and *read_socket are
not read if there are pending_signals.
2015-02-20 08:46:38 +01:00
Glenn Morris
98cb7d9e4d solar.el: Tweak sunrise-sunset output
* lisp/calendar/solar.el (solar-sunrise-sunset-string): Shorten message a bit.
(sunrise-sunset): Use message rather than a window.

Fixes: debbugs:19859
2015-02-19 22:24:34 -08:00
Glenn Morris
4fa6da01eb f90.el: Add some F2008 keywords
* lisp/progmodes/f90.el (f90-keywords-re, f90-procedures-re)
(f90-font-lock-keywords-2): Some F2008 additions.
2015-02-19 21:28:12 -08:00
Paul Eggert
3bbf517072 Simplify binary I/O configuration
* lib-src/etags.c: Include <sysstdio.h> rather than <stdio.h>.
(process_file_name, analyze_regex): Use FOPEN_BINARY rather than
hard-coded "b".
* src/lread.c (Fload): Prefer FOPEN_TEXT and FOPEN_BINARY to
#ifdef DOS_NT.
* src/sysstdio.h: Add copyright notice.  Include <fcntl.h>.
(FOPEN_BINARY, FOPEN_TEXT): New macros.
* src/xfaces.c (Fx_load_color_file): Use FOPEN_TEXT, since POSIX
doesn't guarantee that "t" will work.
2015-02-19 19:21:32 -08:00
Dima Kogan
12ab957193 auto-revert-mode can now revert immediately in response to a change event
Fixes: debbugs:18958

* autorevert.el (auto-revert-buffers-counter)
(auto-revert-buffers-counter-lockedout): New variables.
(auto-revert-buffers): Increase `auto-revert-buffers-counter'.
(auto-revert-notify-handler): Apply `auto-revert-handler' if not
suppressed by lockout.
2015-02-19 21:36:03 +01:00
Stefan Monnier
d4ed798d25 * lisp/emacs-lisp/eieio-opt.el (eieio-help-class): Fix bug#19891
Fixes: debbugs:19891

* lisp/emacs-lisp/eieio-opt.el (eieio-help-class): `eieio-class-parents'
returns classes, not class names.
2015-02-19 13:22:21 -05:00
Stefan Monnier
235c3cb105 * lisp/emacs-lisp/cl-macs.el (cl-struct-slot-value): Handle a nil type. 2015-02-19 13:14:51 -05:00
Eli Zaretskii
a2f904981d Avoid aborts when input-method-function changes this-command-keys (Bug#19774)
src/keyboard.c (read_char): Make sure this_single_command_key_start
 is in sync with this_command_key_count, around the call to
 input-method-function.
2015-02-19 18:48:39 +02:00