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
Eli Zaretskii
d10c3edaf2
Fix generation of TAGS from compressed files (Bug#19735)
...
lib-src/etags.c (process_file_name) [!DOS_NT]: Use "r", not "rb" in the
call to 'popen'.
2015-02-19 18:13:31 +02:00
Fujii Hironori
37e3549055
Fix display of IME window on MS-Windows (Bug#11732)
...
src/w32fns.c (w32_wnd_proc) <WM_IME_STARTCOMPOSITION>: Pass the
message to DefWindowProc, after positioning the IME window, to
trigger its display.
Copyright-paperwork-exempt: yes
2015-02-19 13:40:48 +02:00
Stefan Monnier
99db66a01f
* lisp/emacs-lisp/smie.el (smie-prec2->grammar): Fix corner case problem.
2015-02-18 20:31:17 -05:00
Katsumi Yamaoka
746d2923d6
lisp/gnus/nnimap.el (nnimap-get-groups): Fix XEmacs compilation
2015-02-18 23:06:12 +00:00
Eric Abrahamsen
0a1c83457d
Handle unquoted IMAP group names
...
* lisp/gnus/nnimap.el (nnimap-get-groups): Correctly read unquoted
group names from the server LIST response.
2015-02-18 22:25:22 +00:00
Eli Zaretskii
7932d062cf
Fix exit code when stdin is at EOF (Bug#19897)
...
src/emacs.c (Fkill_emacs): Exit with specified exit code even if
stdin is at EOF.
2015-02-18 23:14:31 +02:00
Kelly Dean
b1d6ddd446
Push mark before goto-char in jump-to-register and check-parens
...
* register.el (jump-to-register):
* emacs-lisp/lisp.el (check-parens):
Push mark before goto-char so user doesn't lose his previous place.
2015-02-18 16:36:24 -02:00
Kelly Dean
56f5ea17f1
rect.el: Suppress superfluous "Mark set" message from push-mark.
2015-02-18 16:36:24 -02:00
Kelly Dean
72f7eded97
Use user-error where error is inappropriate
...
* help-mode.el (help-go-back, help-go-forward, help-follow):
* simple.el (yank-pop, pop-to-mark-command, exchange-point-and-mark):
* winner.el (winner-redo):
* windmove.el (windmove-do-window-select):
* register.el (jump-to-register, increment-register, insert-register)
(append-to-register, prepend-to-register):
* files.el (find-alternate-file, abort-if-file-too-large, write-file)
(set-visited-file-name):
* emacs-lisp/lisp.el (kill-backward-up-list):
Use user-error instead of error. (Bug#14480)
2015-02-18 16:36:22 -02:00
Stefan Monnier
ad6c1be923
* lisp/emacs-lisp/checkdoc.el (checkdoc-show-diagnostics): Don't make bogus
...
assumptions about window ordering.
2015-02-18 11:04:15 -05:00
Oscar Fuentes
81d89d88ae
Fixes display of prefix argument when input-method-function
...
* keyboard.c (read_char): When there is an input method function,
do not restore the echo area if a prefix argument is being
introduced. (Bug#19875)
2015-02-18 05:09:12 +01:00
Kelly Dean
8338e4420d
lisp/files.el (insert-file-contents-literally): Fix typo
2015-02-17 22:16:24 -02:00
Kelly Dean
04096849d5
emacs-lisp/easy-mmode.el: Clarify mode switch messages
...
* emacs-lisp/easy-mmode.el (define-minor-mode): Clarify mode
switch messages for minor modes. (Bug#19690)
2015-02-17 22:16:22 -02:00