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

54919 commits

Author SHA1 Message Date
Eli Zaretskii
2ce2526364 Commit auto-generated files. 2011-12-10 15:48:35 +02:00
Eli Zaretskii
92a8eba505 Fix incorrect display of RFC2047 encoded names in Rmail summary buffers
lisp/mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
 `from' or `to' address before taking its substring.  Fixes
 incorrect display in Rmail summary buffer whereby an RFC2047
 encoded name is chopped in the middle of the encoded string, and
 thus displayed encoded.
2011-12-10 15:46:25 +02:00
Juanma Barranquero
e152e577f0 update-subdirs: Don't set no-byte-compile twice (bug#10260).
lisp/makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
2011-12-10 13:49:33 +01:00
Eli Zaretskii
b8830d2864 Fix bug #2975 with insufficient docs of texinfo-master-menu.
lisp/textmodes/texnfo-upd.el: Correct outdated description about
 texinfo-master-menu.
 (texinfo-master-menu): Explain better in the doc string what the
 function really does.
 (texinfo-insert-master-menu-list): Improve the error message
 displayed if there's no menu in the Top node.
2011-12-10 14:22:25 +02:00
Eli Zaretskii
e5d84bfe06 Fix documentation and one misfeature of Texinfo mode update commands.
lisp/textmodes/texnfo-upd.el: Update commentary.  Add a warning not
 to use texinfo-update-node and commands that call it if the
 Texinfo file uses @node lines without next/prev/up pointers.
 (texinfo-all-menus-update, texinfo-master-menu)
 (texinfo-update-node, texinfo-every-node-update)
 (texinfo-multiple-files-update): Doc fix.  Warn against updating
 all the @node lines.
 (texinfo-master-menu): Only call texinfo-update-node if the prefix
 argument is numeric.  See also this thread:
 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.

Fixes: debbugs:2975
2011-12-10 12:49:33 +02:00
Tassilo Horn
bacede64e6 message.el (message-valid-fqdn-regexp): Udate with newly approved top-level domain names ".tel" and ".asia". 2011-12-10 01:51:53 +00:00
Manuel Gómez
1d84e9bbab lisp/speedbar.el (speedbar-supported-extension-expressions): Add .adb, .ads.
Fixes: debbugs:10256
2011-12-09 20:54:01 +01:00
Juanma Barranquero
382c953bbe Fix typos. 2011-12-09 04:12:38 +01:00
Stefan Monnier
98449af85c * lisp/emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt.
Fixes: debbugs:10244
2011-12-08 08:23:43 -05:00
Stefan Monnier
39c9faef2f * lisp/pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
(pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
end in ".mk".
(pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
when reading the makefile.

Fixes: debbugs:10116
2011-12-08 08:20:20 -05:00
Katsumi Yamaoka
8b8059decd gnus-sum.el (gnus-summary-show-article): Don't load shr unconditionally. 2011-12-08 06:22:03 +00:00
Katsumi Yamaoka
1ea1c2fa5f message.el (message-pop-to-buffer): Use pop-to-buffer instead of pop-to-buffer-same-window for old Emacsen. 2011-12-07 06:07:53 +00:00
Stefan Monnier
86ed9fdc57 * lisp/pcmpl-gnu.el (pcomplete/make): Also allow filename arguments.
Fixes: debbugs:10116
2011-12-06 17:14:32 -05:00
Glenn Morris
5580f89da8 * lisp/emacs-lisp/package.el (package-archives): Doc fix re riskiness. 2011-12-06 00:31:42 -08:00
Chong Yidong
28d3917c73 * progmodes/cc-fonts.el (c-annotation-face): Use defface. 2011-12-06 10:22:48 +08:00
Juanma Barranquero
a98edce9ec Fix typos. 2011-12-06 02:30:54 +01:00
Christopher Genovese
e65adfac3b * lisp/emacs-lisp/assoc.el (aput): Fix return value
Fixes: debbugs:10146
2011-12-05 17:22:15 -05:00
Eli Zaretskii
71cc0b7439 Fix "C-x =" wrt display of strong RTL characters and directional controls.
lisp/descr-text.el (describe-char): Fix display of strong
 right-to-left characters and directional embeddings and overrides.
 lisp/simple.el (what-cursor-position): Fix display of codepoints of
 strong right-to-left characters by appending LRM.
2011-12-05 19:46:27 +02:00
Chong Yidong
315bc30ddb * lisp/faces.el (read-color): Minor doc fix. 2011-12-05 23:23:56 +08:00
Juanma Barranquero
e7926664f3 Fix typo. 2011-12-05 12:59:28 +01:00
Glenn Morris
ea824a4594 Auto-commit of loaddefs files. 2011-12-05 06:21:43 -05:00
Paul Eggert
fa46310344 Spelling fixes. 2011-12-05 00:55:25 -08:00
Glenn Morris
58a70b943c align.el marker fix.
* lisp/align.el (align--set-marker): Add doc-string.
Don't try to move something that is not a marker. 
Eg the first call from align-region passes eol == 0.

Fixes: debbugs:10216
2011-12-04 18:47:53 -08:00
Glenn Morris
5158face2e appt.el trivia.
* lisp/calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
overly zealous deletion of trailing whitespace.
2011-12-04 11:41:44 -08:00
Glenn Morris
55dc42fcf3 * appt.el: Restore significant whitespace deleted by "spelling fix". 2011-12-04 11:31:41 -08:00
Juanma Barranquero
520fca41d6 Fix emacsclient bug where "-n -c" does not open a new frame on Windows.
* lib-src/emacsclient.c (decode_options) [WINDOWSNT]: Don't force tty = 0;
instead, treat both -c and -t as always requesting a new "tty" frame,
and let server.el decide which kind is actually required.
Reported by Uwe Siart <usenet@siart.de> in this thread:
http://lists.gnu.org/archive/html/emacs-devel/2011-11/msg00303.html

* lisp/server.el (server-delete-client): On Windows, do not try to delete
the only terminal.
(server-process-filter): On Windows, treat requests for a tty frame as
if they were for a GUI frame if the running server is in GUI mode.
2011-12-04 18:13:01 +01:00
Glenn Morris
cdbbc22d1f Auto-commit of loaddefs files. 2011-12-04 06:25:33 -05:00
Paul Eggert
c80e3b4aed Spelling fixes. 2011-12-04 00:02:42 -08:00
Chong Yidong
a92f50ad7e message.el (message-pop-to-buffer): Use pop-to-buffer-same-window for last change. 2011-12-04 10:02:45 +08:00
Chong Yidong
527497423d * message.el (message-pop-to-buffer): Partially revert 2011-11-30 change (Bug#10200). 2011-12-04 09:55:49 +08:00
Glenn Morris
5e605a2e52 * lisp/textmodes/texinfmt.el (batch-texinfo-format): Doc fix.
Fixes: debbugs:10207
2011-12-03 12:44:19 -08:00
Glenn Morris
b902223709 Auto-commit of loaddefs files. 2011-12-03 06:18:40 -05:00
Stefan Monnier
6f5e57e773 * lisp/electric.el: Streamline electric-indent's hook.
(electric-indent-chars): Revert to simple list.
(electric-indent-functions): New var.
(electric-indent-post-self-insert-function): Use it.
2011-12-03 00:01:41 -05:00
Stefan Monnier
5c3fe83faf * lisp/progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
there's no inferior buffer.
(prolog-consult-compile): Don't use toggle-read-only.

Fixes: debbugs:10196
2011-12-02 23:12:11 -05:00
Michael Albinus
6bdac7360d * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
interrupt.  (Bug#10187)
2011-12-02 20:23:19 +01:00
Stefan Monnier
99c79fee51 * lisp/pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil.
Fixes: debbugs:9160
2011-12-02 09:44:19 -05:00
Stefan Monnier
6131ba7f18 * lisp/dired-aux.el (dired-query): Don't assume help-char is modifier-free.
Fixes: debbugs:10191
2011-12-02 09:18:18 -05:00
Juri Linkov
cb0a02ea73 * lisp/info.el (Info-search): Display "end of manual" when Isearch
reaches the end of single-file Info manual.

Fixes: debbugs:9918
2011-12-02 12:45:44 +02:00
Eli Zaretskii
dd782f24e5 Fix commentary for the last commit. 2011-12-02 12:37:53 +02:00
Eli Zaretskii
66e0570cde Fix part 3 of bug #10183 with input-method prompt in I-search.
lisp/isearch.el (isearch-message-prefix): Run the input method part
 of the prompt through bidi-string-mark-left-to-right.
2011-12-02 12:35:17 +02:00
Juri Linkov
02b16839f5 Change wordify' to word-search-regexp'.
* lisp/isearch.el (isearch-occur): Use `word-search-regexp' for
`isearch-word'.
(isearch-search-and-update): Add condition for `isearch-word' and
call `word-search-regexp'. 

* src/search.c (Fword_search_regexp): New Lisp function created from
`wordify'.  Change type of arg `lax' from `int' to `Lisp_Object'.
(Fword_search_backward, Fword_search_forward)
(Fword_search_backward_lax, Fword_search_forward_lax):
Use `Fword_search_regexp' instead of `wordify'.  Doc fix.
(syms_of_search): Define `Sword_search_regexp'.

Fixes: debbugs:10145
2011-12-02 12:19:49 +02:00
Katsumi Yamaoka
71c90957bf Gnus: Update the header format of icon data for the most recent icontopbm program. 2011-12-02 04:00:32 +00:00
Glenn Morris
e8087a7609 Fix some em-hist custom types.
* lisp/eshell/em-hist.el (eshell-history-file-name, eshell-history-size):
Fix custom type.
2011-12-01 17:34:24 -05:00
Glenn Morris
e2154d9437 Tweak previous em-hist.el change. 2011-12-01 17:30:12 -05:00
Glenn Morris
0b95068862 Small eshell-history-size fix.
* lisp/eshell/em-hist.el (eshell-hist-initialize):
Handle eshell-history-size nil and HISTSIZE set or unset.
2011-12-01 17:28:10 -05:00
Stefan Monnier
9505c3c799 * lisp/man.el (Man-completion-table): Fix the lambda case.
Fixes: debbugs:10168
2011-12-01 14:38:24 -05:00
Glenn Morris
ccc6b7b343 Auto-commit of loaddefs files. 2011-12-01 06:22:19 -05:00
Katsumi Yamaoka
f65bd83340 Gnus: Share the value of the buffer-local `message-options' variable between a draft buffer and temprary working buffers. 2011-12-01 04:55:39 +00:00
Glenn Morris
1bbe96b252 Relocate ChangeLog entries to correct date. 2011-11-30 20:37:04 -08:00
Michael McNamara
9489a4507f Update verilog-mode.el from master.
* progmodes/verilog-mode.el (verilog-pretty-expr): Rework
verilog-pretty-expr to handle new assignment operators in system
verilog, such as += *= and the like.
(verilog-assignment-operator-re): Regular expression to find the
assigment operator in a verilog assignment.
(verilog-assignment-operation-re): Regular expression to find an
assignment statement for pretty-expr.
(verilog-in-attribute-p): Query returns true if point is in an
attribute context; used to skip these for expression line up from
pretty-expr.
(verilog-in-parameter-p): Query returns true if point is in an
parameter definition context; used to skip these for expression
line up from pretty-expr.
(verilog-in-parenthesis-p): Query returns true if point is in a
parenthetical expression, specifically ( ) but not [ ] or { };
used by pretty-expr.
(verilog-just-one-space): If there is no space, don't add one.
(verilog-get-lineup-indent-2): Specifically skip just attribute
contexts for expression lineup, rather than skipping all
parenthetical expressions.
(verilog-calculate-indent): Fix comment, and fix indent.
(verilog-do-indent): Indent declarations in lists (suggested by
Joachim Lechner).
(verilog-mode-abbrev-table): Populate abbrev mode with the various
skeleton items.
(verilog-sk-ovm-class): Add skeleton for OVM classes (reported
by Alain Mellan).

* verilog-mode.el (verilog-read-defines): Fix reading parameters
with embedded comments.  Reported by Ray Stevens.
(verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
Reported by Tim Holt.
(verilog-auto): Fix AUTOing a upper module then AUTOing module
instantiated by upper module causing wrong expansion until AUTOed a
second time.  Reported by K C Buckenmaier.
(verilog-diff-auto): Fix showing .* as a difference when
`verilog-auto-star-save' off.  Reported by Dan Dever.
(verilog-auto-reset, verilog-read-always-signals)
(verilog-auto-reset-blocking-in-non): Fix AUTORESET including
temporary signals in reset list if
verilog-auto-reset-blocking-in-non is nil, and match assignment
style to each signal's assignment type, bug381.  Reported by
Thomas Esposito.
(verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
(verilog-uvm-statement-re): Support UVM indentation and
highlighting, with old OVM keywords only.
(verilog-auto-tieoff, verilog-auto-tieoff-declaration): Support
AUTOTIEOFF creating non-wire data types.  Suggested by Jonathan
Greenlaw.
(verilog-auto-insert-lisp, verilog-delete-to-paren)
(verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
(verilog-inject-sense, verilog-read-inst-pins)
(verilog-read-sub-decls, verilog-read-sub-decls-line): Fix
mismatching parenthesis inside commented out code when deleting
AUTOINST, bug383. Reported by Jonathan Greenlaw.
(verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
non-numeric vector width.  Reported by Alex Reed.
(verilog-auto-ascii-enum): Add "onehot" option to work around not
detecting signals with parameter widths. Reported by Alex Reed.
(verilog-auto-delete-trailing-whitespace): With
`verilog-auto-delete-trailing-whitespace' remove trailing
whitespace in auto expansion, bug371.  Reported by Brad Dobbie.
(verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
Fix verilog-scan-cache corruption when running user AUTO expansion
hooks that call indentation routines.
(verilog-simplify-range-expression): Fix typo ignoring lower case
identifiers.
(verilog-delete-auto): Fix delete-autos to also remove user created
automatics, as long as they start with AUTO.
(verilog-batch-diff-auto, verilog-diff-auto)
(verilog-diff-function): Add `verilog-diff-auto' and bind to
"C-c?"  to report differences in AUTO expansion, ignoring spaces.
(verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
(verilog-in-paren-quick, verilog-re-search-backward-quick)
(verilog-re-search-forward-quick, verilog-syntax-ppss): Fix
calling `syntax-ppss' when inside auto expansions as the ppss hook
is disabled and its cache will get corrupt, causing AUTOS not to
expand.  Instead use only -quick functions.
(verilog-scan-region): Fix scanning over escaped quotes.
(verilog-inside-comment-or-string-p, verilog-inside-comment-p)
(verilog-re-search-backward-quick)
(verilog-re-search-forward-quick, verilog-scan): verilog-scan and
related functions now ignore strings, to fix misparsing of strings
with magic comments embedded in them.
(verilog-read-auto-template): Fix
'verilog-auto-inst-template-numbers' with extra newline before (.
Reported by Brad Dobbie.
(verilog-read-auto-template): Fix
'verilog-auto-inst-template-numbers' with comments.  Reported by
Brad Dobbie.
(verilog-auto-inst, verilog-auto-inst-param)
(verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
merge conflicts with AUTOINST, bug358.  Reported by Brad Dobbie.
(verilog-auto-inst-template-numbers): Add 'lhs' policy for
debugging templates without merge conflicts, bug357.  Reported by
Brad Dobbie.
(verilog-read-auto-template): Fix
verilog-auto-inst-template-numbers with multiple templates.
Reported by Brad Dobbie.
(verilog-define-abbrev): Fix verilog-mode abbrevs to be system
abbrevs so user won't be asked to save.
(verilog-read-auto-lisp-present): Fix to start at beginning of
buffer in case called outside of verilog-auto.
(verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
to "X-2".  Reported by Matthew Myers.
(verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
all inputs from module templates.  Reported by Leith Johnson.
(verilog-module-inside-filename-p): Fix locating programs as with
modules.
(verilog-auto-inst-port): Fix vl-width expressions when using
verilog-auto-inst-param-value, bug331.  Reported by Julian Gorfajn.
(verilog-decls-get-regs, verilog-decls-get-signals,
verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
verilog-read-decls): Combine reg and wire structures into one var
structure to represent SystemVerilog concepts.
(verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
(verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
(verilog-auto-wire-type, verilog-insert-definition): Add
verilog-auto-wire-type and AUTOLOGIC to support using
SystemVerilog "logic" keyword instead of "wire"/"reg".
(verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
to declares outputs that also have assignments (presumably in an
ifdef or generate if so there's not a driver conflict).  Reported
by Matthew Myers.
(verilog-auto-declare-nettype, verilog-insert-definition): Add
verilog-auto-declare-nettype to fix declarations using
`default_nettype none.  Reported by Julian Gorfajn.
(verilog-read-always-signals-recurse, verilog-read-decls)
(verilog-read-sub-decls-gate): Fix infinite loop with (*) and
malformed end statement, bug325.  Reported by Joshua Wise and
Andrew Drake.
(verilog-auto-star-safe, verilog-delete-auto-star-implicit)
(verilog-inst-comment-re): Fix not deleting Interfaced comment
when expanding .* in interfaces, bug320.  Reported by Pierre-David
Pfister.
(verilog-read-module-name): Fix import statements between module
name and open parenthesis, bug317.  Reported by Pierre-David
Pfister.
(verilog-simplify-range-expression): Fix simplification of
multiplications inside AUTOWIRE connections, bug303.
(verilog-auto-inst-port): Support parameter expansion in
multidimensional arrays.
(verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
after "assert property".  Reported by Julian Gorfajn.
(verilog-simplify-range-expression): Fix "couldn't merge" errors
with multiplication, bug303.
(verilog-read-decls): Fix parsing of unsigned data types, bug302.
2011-11-30 19:41:47 -07:00