1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-09 13:10:57 -08:00
Commit graph

120499 commits

Author SHA1 Message Date
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
Kelly Dean
cc273d1c03 emacs-lisp/easy-mmode.el (define-minor-mode): Clarify docs 2015-02-17 22:15:10 -02:00
Kelly Dean
3194809d24 emacs-lisp/easy-mmode.el: Process macro arguments correctly
* emacs-lisp/easy-mmode.el (define-minor-mode): Process macro
arguments correctly. (Bug#19685)
2015-02-17 22:08:52 -02:00
Kelly Dean
1f2c4f817e emacs-lisp/package-x.el: Create valid tar files
* emacs-lisp/package-x.el (package-upload-buffer-internal):
Create valid tar files. (Bug#19536)
2015-02-17 22:08:51 -02:00
Kelly Dean
1e00ee2497 desktop.el: Conditionally re-enable desktop autosave
* desktop.el (desktop-read): Conditionally re-enable
desktop autosave. (Bug#19059)
2015-02-17 22:08:51 -02:00
Kelly Dean
77052f4baa * help-mode.el: Prevent duplicated display of Info buffer. (Bug#13190) 2015-02-17 22:08:51 -02:00
Kelly Dean
cec04fb220 * src/keyboard.c (timer_check_2): Fix incorrect comment 2015-02-17 22:08:51 -02:00
Fabián Ezequiel Gallina
16d91bce1d python.el: Do not deactivate mark on shell fontification.
Fixes: debbugs:19871

* lisp/progmodes/python.el (python-shell-font-lock-post-command-hook):
Do not deactivate mark on fontification.
2015-02-16 19:53:59 -03:00
Ivan Shmakov
8b36bfafee Add autoload cookie for the eww-suggest-uris variable.
* lisp/net/eww.el (eww-suggest-uris): Add autoload cookie, so that
add-hook works correctly even if the file is not yet loaded.
2015-02-16 19:01:50 +00:00
Ivan Shmakov
2ea5364ca8 Fix eww.el desktop support.
* lisp/net/eww.el (eww-mode): Add autoload cookie.
(eww-restore-desktop): Use inhibit-read-only.

Fixes: debbugs:19226
2015-02-16 18:55:02 +00:00
Stefan Monnier
c4e2be4587 * lisp/emacs-lisp/eieio*.el: Align a bit better with CLOS
* lisp/cedet/semantic/db-el.el (semanticdb-elisp-sym->tag): Fix copy&paste
error (semanticdb-project-database => sym).  Avoid eieio--class-public-a
when possible.

* lisp/emacs-lisp/eieio-base.el (make-instance): Add a method here rather
than on eieio-constructor.

* lisp/emacs-lisp/eieio-core.el (eieio--class-print-name): New function.
(eieio-class-name): Make it do what the docstring claims.
(eieio-defclass-internal): Simplify since `prots' isn't used any more.
(eieio--slot-name-index): Simplify accordingly.
(eieio-barf-if-slot-unbound): Pass the class object rather than its
name to `slot-unbound'.

* lisp/emacs-lisp/eieio.el (defclass): Use make-instance rather than
eieio-constructor.
(set-slot-value): Mark as obsolete.
(eieio-object-class-name): Improve call to eieio-class-name.
(eieio-slot-descriptor-name, eieio-class-slots): New functions.
(object-slots): Use it.  Declare obsolete.
(eieio-constructor): Merge it with `make-instance'.
(initialize-instance): Use `dolist'.
(eieio-override-prin1, eieio-edebug-prin1-to-string):
Use eieio--class-print-name.

* test/automated/eieio-test-methodinvoke.el (make-instance): Add methods
here rather than on eieio-constructor.
2015-02-16 02:22:46 -05:00
Stefan Monnier
6bf61df8ab * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Keep type=nil by default.
* lisp/emacs-lisp/cl-preloaded.el (cl-struct-define): Add sanity checks
about relationship between `type', `named', and `slots'.
* lisp/emacs-lisp/cl-generic.el (cl--generic-struct-tagcode): Adjust to new
value of `cl-struct-type' property.
2015-02-16 01:37:57 -05:00
Katsumi Yamaoka
e59feb3c15 lisp/ChangeLog: Restore entries accidentally deleted 2015-02-16 03:42:00 +00:00
Lars Magne Ingebrigtsen
0d38b2f403 Don't mark nnimap articles as read on a server hangup
* lisp/gnus/nnimap.el (nnimap-retrieve-headers): If the server closes connection
during header retrieval, error out instead of interpreting the data in
the buffer as the only messages there.  This way, we don't mark
articles as read on a server hangup (bug#19035).
2015-02-15 23:11:41 +00:00
Lars Magne Ingebrigtsen
6090b8f68d Revert previous patch
(let ((url-news-server "news.gmane.org"))
  (url-retrieve-synchronously  "news:87y4p9y2cq.fsf@violet.siamics.net"))

works fine for me
2015-02-15 23:10:06 +00:00
Ivan Shmakov
4aafd19a0e Make `url-retrieve-synchronously' work again with news:
* lisp/gnus/nntp.el (nntp-open-server): Set variables in the correct buffer
(bug#19583).
2015-02-15 23:08:03 +00:00
Lars Magne Ingebrigtsen
45c5ccd48c Fix inserting parts with `E' in Gnus
* lisp/gnus/mm-decode.el (mm-head-p): New function.
(mm-display-part): Go to a blank line when inserting parts internally.
Fix inserting parts with `E' in Gnus

* lisp/gnus/mm-decode.el (mm-head-p): New function.
(mm-display-part): Go to a blank line when inserting parts internally.
2015-02-15 23:05:46 +00:00
Jérémy Compostella
ba5bc0ee7c Tramp: Disable paging with PAGER=cat.
Fixes: debbugs:19870

* net/tramp-sh.el (tramp-remote-process-environment): Disable paging
with PAGER=cat.
2015-02-15 10:57:33 +01:00
Martin Rudalics
ffec11d9b4 Fix doc-string of x_frame_normalize_before_maximize.
* xterm.c (x_frame_normalize_before_maximize): Fix doc-string.
Suggested by Alan Mackenzie <acm@muc.de>.
2015-02-14 18:50:37 +01:00
Artur Malabarba
f4f4f93e42 emacs-lisp/package.el (describe-package-1): Describe incompatibility. 2015-02-14 15:09:50 -02:00
Eli Zaretskii
93888585de Fix assertion violations when popping menus on TTY (Bug#19862)
src/menu.c (Fx_popup_menu) [HAVE_X_WINDOWS]: Call
 x_relative_mouse_position only for X frames.
2015-02-14 15:11:30 +02:00
Artur Malabarba
34c7535912 emacs-lisp/package.el: Move the compatibility-table building logic. 2015-02-14 11:13:29 -02:00
Stefan Monnier
61b4c22c6e * lisp/emacs-lisp/cl*.el: Use define-inline and move some code
* lisp/emacs-lisp/cl-lib.el: Move autoloaded code to cl-preload.

* lisp/emacs-lisp/cl-preloaded.el (cl-struct-define): Register as children
of the parent.
(cl--assertion-failed): New function.
(cl-assertion-failed): Move in from cl-lib.el.

* lisp/emacs-lisp/cl-macs.el (cl-defstruct): Don't generate code to register
as children of its parents.
(cl--make-type-test, cl--compiler-macro-typep): Remove functions.
(cl-typep): Reimplement using define-inline.
(cl-assert): Use cl--assertion-failed.
(cl-struct-slot-value): Use define-inline.
2015-02-14 00:46:29 -05:00
Stefan Monnier
0d54f2f51c * lisp/textmodes/flyspell.el (flyspell-word): Defvar.
Fixes: debbugs:19844

(flyspell-generic-check-word-p): Mark as obsolete.
* lisp/erc/erc-spelling.el (erc-spelling-init):
Use flyspell-generic-check-word-predicate.
2015-02-13 22:45:18 -05:00