Follow symlinks in MS-Windows emulations of ACL functions.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
e0d01ef3
MA
12012-12-18 Michael Albinus <michael.albinus@gmx.de>
2
3 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
4 `tramp-cleanup-this-connection', when the process has died.
5 (Bug#13151)
6
2387610d
SM
72012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
8
9 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
10
19156242
KR
112012-12-17 Kevin Ryde <user42@zip.com.au>
12
13 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
14
53b6a8b1
MA
152012-12-17 Michael Albinus <michael.albinus@gmx.de>
16
17 Add support for preserving ACL entries of files.
18
19 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
20 `set-file-acl' handlers.
21
19156242
KR
22 * net/tramp-adb.el (tramp-adb-handle-copy-file):
23 Handle PRESERVE-EXTENDED-ATTRIBUTES.
53b6a8b1 24
19156242
KR
25 * net/tramp-compat.el (tramp-compat-copy-file):
26 Handle PRESERVE-EXTENDED-ATTRIBUTES.
53b6a8b1 27
19156242
KR
28 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
29 Add `file-acl' and `set-file-acl' handlers.
30 (tramp-gvfs-handle-copy-file):
31 Handle PRESERVE-EXTENDED-ATTRIBUTES.
32 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
33 New defuns.
53b6a8b1 34
19156242
KR
35 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
36 Add `file-acl' and `set-file-acl' handlers.
53b6a8b1
MA
37 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
38 (tramp-sh-handle-set-file-acl): New defuns.
19156242
KR
39 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
40 Handle PRESERVE-EXTENDED-ATTRIBUTES.
53b6a8b1 41
19156242
KR
42 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
43 Add `file-acl' and `set-file-acl' handlers.
53b6a8b1
MA
44 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
45
6ae57a67
KD
462012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
47
48 * help-macro.el (make-help-screen): Instead of switch-to-buffer
19156242 49 use pop-to-buffer with NORECORD argument t. As buffer name, use
6ae57a67
KD
50 *Metahelp* with a leading space (Bug#13190).
51
7c3d167f
RF
522012-12-16 Romain Francoise <romain@orebokech.com>
53
54 * files.el (file-extended-attributes)
55 (set-file-extended-attributes): New functions.
56 (backup-buffer): Use them to handle both SELinux context and ACL
57 entries.
58 (backup-buffer-copy): Work with an alist of extended attributes,
59 rather than an SELinux context.
60 (basic-save-buffer-2): Ditto.
61
19b748ad
TM
622012-12-16 Timo Myyrä <timo.myyra@gmail.com>
63
64 * battery.el (battery-bsd-apm): New function.
65
70042c64
JB
662012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
67
68 * calc/calc.el (calc-standard-date-formats): Adjust one of the
69 standard date formats.
70
279f9b06
JL
712012-12-15 Juri Linkov <juri@jurta.org>
72
73 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
74 `isearch-insert-char-by-name'.
75 (with-isearch-suspended): New defmacro with body mostly from
76 `isearch-edit-string' except the part that sets
77 `isearch-new-string' and `isearch-new-message'.
78 (isearch-edit-string): Use new macro `with-isearch-suspended' with
79 body that sets `isearch-new-string' and `isearch-new-message'.
80 (isearch-insert-char-by-name): New command.
81 * international/mule-cmds.el (read-char-by-name): Let-bind
82 `enable-recursive-minibuffers' to t.
83 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
84
8370def5
JL
852012-12-15 Juri Linkov <juri@jurta.org>
86
87 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
88 (Bug#13175)
89
178fb95d
CS
902012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
91
92 * dired-x.el (dired-guess-shell-command): Put colon at the end of
93 the prompt. (Bug#13045)
94
a5f74442
GM
952012-12-14 Glenn Morris <rgm@gnu.org>
96
97 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
98 Try to include filename in non-bytecomp warning. (Bug#13132)
99
97976f9f
PE
1002012-12-14 Paul Eggert <eggert@cs.ucla.edu>
101
102 Fix permissions bugs with setgid directories etc. (Bug#13125)
103 * files.el (backup-buffer): Don't rely on 9th output of
104 file-attributes, as it's now a placeholder. Instead, use the new
105 optional arg of file-ownership-preserved-p.
106 (file-ownership-preserved-p): New optional arg GROUP.
107 Fix mishandling of setuid directories that would cause this
108 function to return t when it should have returned nil.
109 Document what happens if the file does not exist, and when
110 it's not known whether the ownership will be preserved.
111 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
112 Likewise.
113 (tramp-get-local-gid): Use group-gid for integer, as that's
114 faster and more reliable.
115
016b2a42
JD
1162012-12-14 Julien Danjou <julien@danjou.info>
117
19156242
KR
118 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
119 Update keywords list, data type and PL/pgSQL.
016b2a42 120
665e5e07
DA
1212012-12-14 Dave Abrahams <dave@boostpro.com>
122
123 * vc/ediff-util.el (ediff-buffer-type): New function.
124 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
125 rather than taking it as as argument.
126 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
127
d72e9e92
RC
1282012-12-14 Ryan Crum <ryan.crum@eleostech.com>
129
130 * json.el: Add pretty-print option (bug#12634).
131 (json-encoding-separator, json-encoding-default-indentation)
132 (json--encoding-current-indentation, json-encoding-pretty-print)
133 (json-encoding-lisp-style-closings): New vars.
134 (json--with-indentation): New macro.
135 (json-encode-hash-table, json-encode-alist, json-encode-plist)
136 (json-encode-array): Use it to obey json-encoding-pretty-print.
137 (json-pretty-print-buffer, json-pretty-print): New commands.
138
dbb530d9
DG
1392012-12-14 Dmitry Gutov <dgutov@yandex.ru>
140
141 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
142 Extract `ruby-syntax-propertize-expansions'.
143 (ruby-syntax-propertize-expansions): Only change syntax on
144 certain string delimiters, to punctuation. This way the common
145 functions like forward-word and thing-at-point still work.
146 (ruby-match-expression-expansion): Improve readability.
bb808526
DG
147 (ruby-block-contains-point): New function.
148 (ruby-add-log-current-method): Handle several edge cases.
dbb530d9 149
ce0440ff
JB
1502012-12-13 Juanma Barranquero <lekktu@gmail.com>
151
152 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
153 unload-feature finishes even when aborting an ongoing edebug session.
154 Also, do not worry about edebug-mode, unload-feature takes care of it.
155
f10331bf
AS
1562012-12-13 Andreas Schwab <schwab@suse.de>
157
158 * net/tls.el (tls-program): Update customize type.
159
5f3a3bb1
JB
1602012-12-13 Juanma Barranquero <lekktu@gmail.com>
161
162 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
163 (edebug-setup-hook, cl-read-load-hooks): Use it.
164 (edebug-unload-function): New function. (Bug#13163)
165
6ce21463
MA
1662012-12-13 Michael Albinus <michael.albinus@gmx.de>
167
168 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
169 Otherwise, there could be errors in autoloading. (Bug#13151)
170
d754b364
JH
1712012-12-13 Jürgen Hötzel <juergen@archlinux.org>
172
173 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
174 sequences.
175
727f9739 1762012-12-13 Alan Mackenzie <acm@muc.de>
14b8c3d9
AM
177
178 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
179 * progmodes/cc-engine.el (c-backward-comments): Add code to work
180 around `forward-comment' not recognizing ^M as whitespace.
181
727f9739 1822012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
2c43a9ad
FEG
183
184 * progmodes/python.el (python-skeleton-class)
185 (python-skeleton-def): Do not add space after defun name.
186
eb8006c6
SM
1872012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
188
189 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
190 (cl--symbol-function): Remove (now that funbound is like nil).
191
4c74b1e4
GM
1922012-12-12 Glenn Morris <rgm@gnu.org>
193
194 * button.el (button--area-button-p): Fix typo.
195
37f38bca
SS
1962012-12-12 Sam Steingold <sds@gnu.org>
197
198 * frame.el (frame-maximization-style): New user option.
199 (toggle-frame-maximized): Toggle frame maximization according to
200 `frame-maximization-style', bound to <f11>.
201 (cycle-frame-maximized): Cycle between all maximization styles and
202 non-maximized frame, bound to shift-<f11>.
203
fd49a218
DC
2042012-12-12 David Cadé <codename68@gmail.com>
205
206 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
207
69e1c203
JB
2082012-12-12 Jonas Bernoulli <jonas@bernoul.li>
209
210 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
211 (eieio-override-prin1): Don't quote kewords and booleans.
212 (object-write) <eieio-default-superclass>: Don't put closing parens
213 on new line, avoid needless empty lines, align values that are objects
214 with the slot keyword (instead of beginning on the same line).
215 (eieio-list-prin1): Align value with slot keyword; increase
216 eieio-print-depth before printing members of the list.
217
4b0df848
SM
2182012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
219
030f4af5
SM
220 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
221 a display text-property.
222 (report-emacs-bug-hook): Don't bother deleting it any more.
223
6ac1f8ca
SM
224 * hilit-chg.el (highlight-save-buffer-state): Delete.
225 Use with-silent-modifications instead.
226 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
227
4b0df848
SM
228 * button.el: Handle buttons in display text-properties.
229 (button--area-button-p, button--area-button-string):
230 Use (STRING . STRING-POS) representation instead of just STRING.
231
d46d2d3a
EZ
2322012-12-11 Eli Zaretskii <eliz@gnu.org>
233
234 * makefile.w32-in (compile4-SH): Fix a typo that caused term
235 subdirectory be skipped.
236
a0099d31
GM
2372012-12-11 Glenn Morris <rgm@gnu.org>
238
36327e4f
GM
239 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
240
a0099d31
GM
241 * progmodes/f90.el (f90-line-continued, f90-indent-region):
242 Treat preprocessor lines embedded in continuations like comments.
243 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
244
ff3f6c26
JB
2452012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
246
247 * calc/calc.el (calc-standard-date-formats): Add more date
248 formats.
249 * calc/calc-forms.el (math-parse-iso-date): New function.
250 (math-parse-date): Use `math-parse-iso-date' when appropriate.
251 (math-parse-iso-date-validate): Add extra error checking.
252 (calc-date-notation): Add ability to access new date formats.
253
ed6f2cd4
SM
2542012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
255
256 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
257 font-lock as well as when there's no text-property.
258
c868b919
J
2592012-12-10 Jambunathan K <kjambunathan@gmail.com>
260
261 * hi-lock.el: Refine the choice of default face.
262 (hi-lock-keyword->face): New function. Use it wherever we used
263 cadadadr instead.
264 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
265 (hi-lock--last-face): Remove var.
266 (hi-lock--unused-faces): New var to replace it.
267 (hi-lock-read-face-name): Use/maintain it.
268 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
269 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
270 if it has another face.
271
2b8c9064
EZ
2722012-12-10 Eli Zaretskii <eliz@gnu.org>
273
274 * subr.el (w32notify-handle-event): New function.
275 (inotify-handle-event): Doc fix.
276
81606b10
RS
2772012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
278
279 * subr.el (inotify-event-p, inotify-handle-event): New functions.
280
265c2fbf 2812012-12-10 Dani Moncayo <dmoncayo@gmail.com>
6ce49f24
DM
282
283 * simple.el (just-one-space): Doc fix.
284
265c2fbf 2852012-12-10 Eli Zaretskii <eliz@gnu.org>
8d43bd30 286
c868b919 287 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
8d43bd30 288
265c2fbf 2892012-12-10 Le Wang <l26wang@gmail.com>
3a21537c
LW
290
291 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
292 narrowed buffer (bug#12361).
293
265c2fbf 2942012-12-10 Juanma Barranquero <lekktu@gmail.com>
bf741d33
JB
295
296 * vc/vc-hooks.el (vc-state): Doc fix.
297
265c2fbf 2982012-12-10 Glenn Morris <rgm@gnu.org>
07026166
GM
299
300 * mail/rmail.el (rmail-maybe-display-summary):
301 Preserve buffer, in case select-window changes it. (Bug#13066)
302
265c2fbf 3032012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
82e1f390
SM
304
305 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
306 cl-load-hook where they belong.
307
bad162fd
SM
3082012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
309
310 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
311
ca065258
EZ
3122012-12-09 Eli Zaretskii <eliz@gnu.org>
313
314 Parallelize byte compilation on MS-Windows.
315 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
bad162fd 316 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
ca065258
EZ
317 (WINS_BASIC): Define as concatenation of the above.
318 (compile): Subdivide into 4 separate and independent jobs that can
319 be run in parallel.
320 (compile0-CMD, compile0-SH): New targets for compiling
321 COMPILE_FIRST files, which are prerequisites for the rest of the
322 byte-compilation.
bad162fd
SM
323 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
324 New targets for parallel compilation with cmd.exe.
ca065258
EZ
325 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
326 compiling under a Unixy shell.
327
5dea55d2
CY
3282012-12-09 Chong Yidong <cyd@gnu.org>
329
330 * simple.el (set-mark-default-inactive): Delete this
331 accidentally-introduced option.
332 (set-mark-command, exchange-point-and-mark): Remove calls.
333
c6c08d3f
GM
3342012-12-09 Glenn Morris <rgm@gnu.org>
335
336 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
337 Respect a defcustom's :set function, if appropriate. (Bug#109)
338 (eval-defun): Doc fix.
339
858aab4c
JL
3402012-12-08 Juri Linkov <juri@jurta.org>
341
342 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
343 (Info-fontify-node, Info-bookmark-make-record): Remove the
344 file extension from Info-current-file (Bug#13016).
345
2e4ad7e5
SM
3462012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
347
348 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
349 point, still provide some default.
350 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
351 names, since we don't use it right now. Actually return the list.
352 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
353
75498db0
CY
3542012-12-07 Chong Yidong <cyd@gnu.org>
355
ffe7ba8f
CY
356 * novice.el (disabled-command-function): Remove a spurious help
357 xref (Bug#13043). Suggested by Kelly Dean.
358
454eb095
CY
359 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
360 syntax is specified (Bug#13025).
361
75498db0
CY
362 * info.el (Info-set-mode-line): Remove the file extension from
363 Info-current-file if there is one (Bug#13016).
364
13a40633
GM
3652012-12-07 Glenn Morris <rgm@gnu.org>
366
54c8b5ba
GM
367 * mail/rmail.el (rmail-mime-decoded): New permanent local.
368 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
369 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
370 and rmail-mime-decoded. (Bug#9841)
371
13a40633
GM
372 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
373 (batch-unrmail, unrmail): Doc fixes.
374 (unrmail): Respect unrmail-mbox-format.
375 * mail/rmail.el (rmail-mbox-format): New option.
376 (rmail-show-message-1): Respect rmail-mbox-format.
377
4611a3cc
SM
3782012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
379
380 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
381
1812c724
SM
3822012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
383
338bfefa
SM
384 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
385 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
386 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
387 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
388 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
389 (cl-progv): Don't rely on dynamic scoping to find the body.
390 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
391 (cl--proclaims-deferred): Rename from the "cl-" prefix.
392 (cl-declaim): Use backquotes.
393 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
394 Use "cl--" prefix for the object's tag.
395
1812c724
SM
396 * ses.el: Use advice-add/remove.
397 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
398 (copy-region-as-kill, yank): Use advice-add.
399 (ses-unload-function): Use advice-remove.
400
24fc9480
JB
4012012-12-06 Jonas Bernoulli <jonas@bernoul.li>
402
403 * button.el: Make them work in header-lines (bug#12817).
404 (button-map): Add bindings for header-line and mode-line use.
405 (button-get, button-put, button-label): `button' may now be a string.
406 (button-activate): Don't make it a defsubst.
407 (button--area-button-p, button--area-button-string): New functions.
408 (make-text-button): Fix the return value when `beg' was a string.
409 (push-button): Handle the mode-line case.
410
853c1ffc
SM
4112012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
412
93852cb0
SM
413 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
414 (sql-signum): Remove. Use `cl-signum' instead.
415 (sql-read-passwd): Remove; use read-passwd instread.
416 (sql-get-login-ext): Use read-string.
417 (sql-get-login): Use dolist and pcase.
418 (sql--completion-table): Rename from sql-try-completion.
419 Use complete-with-action.
420 (sql-mode): Don't change abbrev-all-caps globally.
421 (sql-connect): Don't rely on dynamic scoping for `new-name'.
422 (sql-postgres-completion-object): Initialize vars in their `let'.
423 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
424 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
425 (sql-comint-interbase): Use a single append, without setq.
426 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
427
853c1ffc
SM
428 * hi-lock.el: Rework the default face and the serialize regexp code.
429 (hi-lock--auto-select-face-defaults): Remove.
430 (hi-lock-string-serialize-serial): Remove.
431 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
432 make weak.
433 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
434 equal string.
435 (hi-lock-set-pattern): Adjust accordingly.
436 (hi-lock--regexps-at-point): Simplify accordingly.
437 (hi-lock--auto-select-face-defaults): Remove.
438 (hi-lock--last-face): New var to replace it.
439 (hi-lock-read-face-name): Rewrite (bug#11095).
440 (hi-lock-unface-buffer): Arrange for the face to be the next default.
441
5504e2c7
MA
4422012-12-06 Michael Albinus <michael.albinus@gmx.de>
443
853c1ffc
SM
444 * net/tramp.el (tramp-replace-environment-variables):
445 Hide compiler warning.
5504e2c7
MA
446 (tramp-file-name-for-operation): Remove `executable-find',
447 `start-process', `call-process' and `call-process-region'.
448
853c1ffc 449 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
5504e2c7
MA
450
451 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
452 compatibility.
453
454 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
455
e1d51545
CY
4562012-12-06 Chong Yidong <cyd@gnu.org>
457
458 * ffap.el (ffap-replace-file-component): Fix typo.
459
d8ad4d3f 4602012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
ef54d315
SM
461
462 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
463 fix open-paren-like token test (bug#12785).
464
d8ad4d3f 4652012-12-06 Glenn Morris <rgm@gnu.org>
52d129cd
GM
466
467 * mail/rmailsum.el (rmail-new-summary): Tweak for
468 rmail-maybe-display-summary changing buffer. (Bug#13066)
469
d8ad4d3f 4702012-12-06 Juri Linkov <juri@jurta.org>
68bf4e09
JL
471
472 * info.el (Info-fontify-node): Don't hide the last newline.
473 (Bug#12272)
474
9ad948e2
KY
4752012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
476
477 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
478 so as to enable message-read-from-minibuffer to expand mail aliases.
479
4b5c89ee
SM
4802012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
481
482 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
483 the `intangible' property.
484 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
485
5602a53a
DD
4862012-12-05 Deniz Dogan <deniz@dogan.se>
487
488 * net/rcirc.el (rcirc-urls): Update documentation.
489 (rcirc-condition-filter): New function.
490 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
491 and exclude consecutive duplicate URLs (Bug#6082).
492
51b890ac
MA
4932012-12-05 Michael Albinus <michael.albinus@gmx.de>
494
d5f97f62
MA
495 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
496 Check return code of copy command.
497
853c1ffc
SM
498 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
499 Use group `tramp'. Add version.
51b890ac 500
04b14f2b
CY
5012012-12-05 Chong Yidong <cyd@gnu.org>
502
a3680194
CY
503 * ffap.el (ffap-url-regexp): Don't require matching at front of
504 string (Bug#4952).
505 (ffap-url-p): If only a substring matches, return that.
506 (ffap-url-at-point): Use the return value of ffap-url-p.
507 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
508 (find-file-at-point, dired-at-point, dired-at-point-prompter)
509 (ffap-guess-file-name-at-point): Likewise.
510 (ffap-replace-file-component): Fix typo.
511
04b14f2b
CY
512 * info.el (info-display-manual): Add existing Info buffers, whose
513 files may not be in Info-directory-list, to the completion.
514 (info--manual-names): New helper function.
515
49596095
GM
5162012-12-05 Glenn Morris <rgm@gnu.org>
517
518 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
519 New functions, for detecting and resolving conflicts. (Bug#10709)
520
b85aec93
J
5212012-12-04 Jambunathan K <kjambunathan@gmail.com>
522
523 * hi-lock.el (hi-lock-auto-select-face): New user variable.
524 (hi-lock-auto-select-face-defaults): New buffer local variable.
525 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
526 (hi-lock-unface-buffer): Prompt user with useful defaults.
527 With prefix arg, unhighlight all hi-lock patterns in buffer.
528
8515507f
SM
5292012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
530
531 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
532
72cebfb7
MA
5332012-12-04 Michael Albinus <michael.albinus@gmx.de>
534
535 * Makefile.in (TRAMP_SRC):
536 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
537
0ec3f7ea
JH
5382012-12-04 Juergen Hoetzel <juergen@archlinux.org>
539
540 * net/tramp-adb.el: New package.
541
770de7cf
CY
5422012-12-04 Chong Yidong <cyd@gnu.org>
543
ce3e7725
CY
544 * terminal.el: Move to obsolete/.
545
770de7cf
CY
546 * longlines.el: Move to obsolete/.
547
548 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
549 Remove code referring to longlines mode.
550
c38a186c
JL
5512012-12-03 Juri Linkov <juri@jurta.org>
552
553 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
554
329bfd64
AM
5552012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
556
557 * textmodes/ispell.el (ispell-init-process)
475eea6f
AM
558 (ispell-start-process, ispell-internal-change-dictionary):
559 Make sure personal dictionary name is expanded after initial
560 `default-directory' value. Use expanded strings for
561 keep/restart checks and for value (Bug#13019).
329bfd64 562
77a74935
JB
5632012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
564
565 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
566
c5bc2d1d 5672012-12-03 Leo Liu <sdl.web@gmail.com>
ff3d86d0
LL
568
569 * files.el (dir-locals-read-from-file): Check file non-empty
570 before reading. (Bug#13038)
571
c5bc2d1d 5722012-12-03 Glenn Morris <rgm@gnu.org>
6247eff5
GM
573
574 * jka-cmpr-hook.el (jka-compr-get-compression-info):
575 Remove any version extension before checking filename. (Bug#13006)
576 (jka-compr-compression-info-list): Belated :version bump.
577
c5bc2d1d 5782012-12-03 Chong Yidong <cyd@gnu.org>
a5bf43ba 579
8ecba97d
CY
580 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
581
a5bf43ba
CY
582 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
583 (buffer-menu): Doc fix (Bug#12294).
584
c5bc2d1d 5852012-12-03 Roland Winkler <winkler@gnu.org>
34755291
RW
586
587 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
588 of diary-show-all-entries in the diary buffer (Bug#12994).
589
c5bc2d1d 5902012-12-03 Michael Albinus <michael.albinus@gmx.de>
c2f5b60a
MA
591
592 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
593 "<STDIN>". This is binary safe.
594
682ceaf8
JB
5952012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
596
597 * calc/calc-forms.el (math-absolute-from-iso-dt)
598 (math-date-to-iso-dt, math-parse-iso-date-validate)
599 (math-iso-dt-to-date): New functions.
600 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
601 (math-fd-isoweekday): New variables.
602 (calc-date-notation, math-parse-standard-date, math-format-date)
603 (math-format-date-part): Add support for more formatting codes.
604
db47d5e9
DG
6052012-12-02 Dmitry Gutov <dgutov@yandex.ru>
606
607 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
608 current buffer's file name when called interactively (Bug#12488).
609
3faf4944
JL
6102012-12-02 Juri Linkov <juri@jurta.org>
611
612 * info.el (info-display-manual): Don't clobber an existing Info
010db6da 613 buffer (Bug#10770). Add completion (Bug#10771).
3faf4944 614
cb5d51dc
YN
6152012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
616
617 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
618 before using it for comparison (Bug#5297).
619
f38cd76e
JA
6202012-12-01 Jari Aalto <jari.aalto@cante.net>
621
622 * textmodes/css-mode.el (css-current-defun-name): New function.
623 (css-mode): Use it.
624
625 * textmodes/sgml-mode.el (html-current-defun-name): New function.
626 (html-mode): Use it.
627
ba03d0d9
CY
6282012-12-01 Chong Yidong <cyd@gnu.org>
629
630 Modularize add-log-current-defun (Bug#2224).
631 Suggested by Jari Aalto.
632
633 * vc/add-log.el (add-log-current-defun-function): Doc fix.
634 (add-log-current-defun): Move mode-specific code to other files.
635 (add-log-lisp-like-modes, add-log-c-like-modes)
636 (add-log-tex-like-modes): Variables deleted.
637
638 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
639 (lisp-mode-variables): Use it.
640
641 * progmodes/cc-mode.el (c-common-init):
642 * progmodes/cperl-mode.el (cperl-mode): Set a value for
643 add-log-current-defun-function.
644
645 * progmodes/m4-mode.el (m4-current-defun-name): New function.
646 (m4-mode): Use it.
647
648 * progmodes/perl-mode.el (perl-current-defun-name): New.
649 (perl-mode): Use it.
650
853c1ffc
SM
651 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
652 Use lisp-current-defun-name.
ba03d0d9
CY
653
654 * textmodes/tex-mode.el (tex-current-defun-name): New.
655 (tex-common-initialization): Use it.
656
657 * textmodes/texinfo.el (texinfo-current-defun-name): New.
658 (texinfo-mode): Use it.
659
92eadba5
CY
6602012-12-01 Chong Yidong <cyd@gnu.org>
661
662 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
663 * progmodes/autoconf.el (autoconf-mode):
664 * progmodes/js.el (js-mode):
665 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
666 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
667 * progmodes/perl-mode.el (perl-mode):
668 * progmodes/sh-script.el (sh-mode, sh-set-shell):
669 * textmodes/css-mode.el (css-mode):
670 * textmodes/sgml-mode.el (html-mode, sgml-mode)
671 (sgml-tags-invisible, sgml-guess-indent):
672 * textmodes/tex-mode.el (tex-common-initialization)
673 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
674 (doctex-mode, plain-tex-mode, latex-mode):
675 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
676
3ddbf803
KK
6772012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
678
679 * vc/vc-hg.el (vc-hg-next-revision):
680 Ensure use of default "tip" output format. (Bug#6968)
681
f0b6ae63
KS
6822012-12-01 Kim F. Storm <storm@cua.dk>
683
684 * startup.el (fancy-startup-tail): Add a clickable link
685 (Bug#2176).
686
c01bf73e
CY
6872012-12-01 Chong Yidong <cyd@gnu.org>
688
689 * startup.el (fancy-startup-tail): Improve the message about
690 auto-save files (Bug#2176).
691
f0b6ae63
KS
692 * files.el (recover-session): Improve the descriptive message, and
693 use substitute-command-keys.
694
a9400458
GM
6952012-12-01 Glenn Morris <rgm@gnu.org>
696
697 * ido.el (ido-file-internal):
698 Handle other-window, other-frame for dired. (Bug#13036)
699
fb3bf6ce
GM
7002012-11-30 Glenn Morris <rgm@gnu.org>
701
702 * icomplete.el (icomplete-separator): Fix :version.
703
a813fe3f
CY
7042012-11-30 Chong Yidong <cyd@gnu.org>
705
706 * shell.el (shell): For C-u M-x shell, use an inactive shell
707 buffer as the default (Bug#1975).
276479fd
CY
708 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
709 (shell-mode): Use them to reapply ansi colorization if Shell mode
710 is re-enabled.
a813fe3f 711
a8b733a5
CY
7122012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
713
714 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
715
6fccd6e8
SB
7162012-11-30 Samuel Bronson <naesten@gmail.com>
717
718 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
719 flag to xargs, for compatibility with BSD xargs (Bug#11703).
720
53c9a337
TT
7212012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
722
723 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
724 by move-to-column (Bug#3234).
725
ccf520bb
CY
7262012-11-30 Chong Yidong <cyd@gnu.org>
727
728 * longlines.el (longlines-wrap-line, longlines-encode-region):
729 Preserve text properties (Bug#1425).
730
171b0949
OT
7312012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
732
733 * vc/vc.el (vc-register): Allow registering a file which is
734 already registered with a different backend (Bug#10589).
735
cc37e70f
J
7362012-11-29 Jambunathan K <kjambunathan@gmail.com>
737 Stefan Monnier <monnier@iro.umontreal.ca>
738
739 * icomplete.el: Change separator; add ido-style commands.
740 (icomplete-show-key-bindings): Remove custom var.
741 (icomplete-get-keys): Remove function.
742 (icomplete-forward-completions, icomplete-backward-completions):
743 New commands.
744 (icomplete-minibuffer-map): New var.
745 (icomplete-minibuffer-setup): Use it.
746 (icomplete-exhibit): Don't delay if the list of completions is known.
747 (icomplete-separator): New custom.
748 (icomplete-completions): Use it.
749 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
750 (minibuffer-force-complete-and-exit): New command.
751 (minibuffer--complete-and-exit): New function extracted from
752 minibuffer-complete-and-exit.
753 (minibuffer-complete-and-exit): Use it.
83e12fe0
SM
754
755 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
756 error message when the file doesn't exist (bug#12974).
757
31646597
KD
7582012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
759
760 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
761
e9df8f87
GM
7622012-11-29 Glenn Morris <rgm@gnu.org>
763
824eefe4
GM
764 * files.el (hack-dir-local-variables): Warn if try to set
765 coding via dir-locals, since it doesn't work. (Bug#7169)
766
4ad900d9
GM
767 Add desktop support for restoring vc-dir buffers. (Bug#10606)
768 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
769 Set buffer-local value of desktop-save-buffer.
770 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
771 New functions.
772 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
773 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
774
e9df8f87
GM
775 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
776 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
777 Doc fix.
778 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
779 Doc fixes.
780
e7c8fcc4
JB
7812012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
782
783 * calc/calc-forms.el (calc-date-notation): Fix regexp
784 used to find time codes. Fix symbol for seconds.
785
48d6d9c0
GM
7862012-11-27 Glenn Morris <rgm@gnu.org>
787
788 * emacs-lisp/derived.el (derived-mode-make-docstring):
789 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
790
369f945d
SM
7912012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
792
793 * textmodes/table.el (table-insert): Don't use `symbol-name' on
794 lexically scoped variables (bug#13005).
795
5c9cf0a3 7962012-11-27 Glenn Morris <rgm@gnu.org>
98f99594 797
999e745e
GM
798 * vc/vc-hooks.el (vc-mistrust-permissions):
799 Default to t, to avoid data-loss. (Bug#11490)
98f99594 800
5c9cf0a3 8012012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
207cb73c 802
999e745e
GM
803 * progmodes/python.el (python-indent-guess-indent-offset):
804 If indentation is guessed make python-indent-offset buffer-local.
805
207cb73c 806 Fix Imenu regression.
999e745e
GM
807 * progmodes/python.el (python-nav-beginning-of-defun):
808 Fix forward movement when statement(s) separates point from defun.
207cb73c
FEG
809 (python-imenu-prev-index-position): New function.
810
5c9cf0a3 8112012-11-27 Eli Zaretskii <eliz@gnu.org>
33a488e4
EZ
812
813 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
814
815 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
865f7d8f 816 Don't set buffer-file-type. Return nil. (Bug#12989)
33a488e4 817
5c9cf0a3 8182012-11-27 Glenn Morris <rgm@gnu.org>
50207191
GM
819
820 * hippie-exp.el (hippie-expand-try-functions-list):
821 Re-autoload it. (Bug#12982)
822
5c9cf0a3 8232012-11-27 Eli Zaretskii <eliz@gnu.org>
2147c6ab 824
369f945d
SM
825 * descr-text.el (describe-char-padded-string):
826 Call internal-char-font only on GUI frames. (Bug#11964)
2147c6ab 827
5c9cf0a3 8282012-11-27 Andreas Schwab <schwab@linux-m68k.org>
58b1ae1e
AS
829
830 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
831 and obsoletion message.
832
5c9cf0a3 8332012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
35a10516
SM
834
835 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
836 the constructs to keep outside of the `cl-block' (bug#12977).
837
5c9cf0a3 8382012-11-27 Chong Yidong <cyd@gnu.org>
0c5ef133
CY
839
840 * mouse.el (mouse-drag-line): Even if the line is not draggable,
841 keep reading until we get the up-event anyway, in order to process
842 the up-event for mouse-1-click-follows-link (Bug#12971).
843
848a2dd1
SM
8442012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
845
846 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
847 base function is not yet defined (bug#12965).
848 (ad-activate-advised-definition): Use ad-compile-function.
849 (ad-activate): Use cond.
850
9ad79506
LL
8512012-11-25 Leo Liu <sdl.web@gmail.com>
852
853 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
854 (Bug#12979)
855
e2cb57f5
VB
8562012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
857
858 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
859 reftex-section-info-function in order to be compatible with
860 Texinfo integration.
861
862 * textmodes/reftex.el (reftex-section-pre-regexp)
848a2dd1
SM
863 (reftex-section-post-regexp, reftex-section-info-function):
864 New variable.
865 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
866 reftex-section-post-regexp, and reftex-section-info-function in order
867 to be compatible with Texinfo integration.
868
869 * textmodes/reftex-toc.el (reftex-toc-promote-action):
870 use reftex-section-pre-regexp variable in order to be compatible with
e2cb57f5
VB
871 Texinfo integration.
872
1c4f115d
CY
8732012-11-25 Chong Yidong <cyd@gnu.org>
874
875 * faces.el: Make face-spec-set more analogous to setq.
876 (face-spec-set): Change the third arg to specify whether this
877 function is being called via defface, customize, or a third party.
878 Set the appropriate symbol properties. Clear the override spec if
879 setting via Custom. Initialize face if necessary. (Bug#4988)
880 (face-spec-recalc): Allow theme faces to completely replace the
881 defface spec, in the same way as custom faces (Bug#8454).
882
883 * cus-face.el (custom-declare-face): Move face initialization to
884 face-spec-set.
885 (custom-theme-set-faces): Don't initialize the face name here, as
886 that is now done in face-spec-set.
887
888 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
889 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
890 Simplify by using the new arg to face-spec-set.
891
892 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
893 reset face-override-spec too, and use custom-declare-face.
894
c2350548
JD
8952012-11-24 Jan Djärv <jan.h.d@swipnet.se>
896
897 * term/ns-win.el (ns-initialize-window-system): Move creation of
898 fontsets here (Bug#11964).
899
ecfc364c
VB
9002012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
901
902 * ses.el (ses-rename-cell): Correct bug on mode-line update after
903 cell renaming.
904
0917cc54
CY
9052012-11-24 Chong Yidong <cyd@gnu.org>
906
433212bf
CY
907 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
908 obsolete.
909
0917cc54
CY
910 * custom.el (custom-theme-set-variables): Use a topological sort
911 for ordering by custom dependencies (Bug#12952).
912 (custom--sort-vars, custom--sort-vars-1): New functions.
913
d125ca15 9142012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
002c019c
SM
915
916 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
917 lexical-binding (bug#12938).
918
d125ca15 9192012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
977f9325
WJ
920
921 * image-mode.el (image-transform-check-size): Use assertions only
922 for images of type imagemagick.
923
924 Otherwise no error, image-transform-fit-to-{width,height} is
925 silently ignored, as before. Doc fix.
926
d125ca15 9272012-11-24 Chong Yidong <cyd@gnu.org>
bccffa83
CY
928
929 * faces.el (color-defined-p): Doc fix (Bug#12853).
930
d125ca15 9312012-11-24 Juri Linkov <juri@jurta.org>
61a2a122
JL
932
933 * dired.el (dired-mark): Add optional arg `interactive'.
934 Check for `use-region-p' if `interactive' is non-nil.
935 (dired-unmark, dired-flag-file-deletion): Add optional arg
936 `interactive'. Call `dired-mark' with the arg `interactive'.
937 (Bug#10624)
938
cc4c01bd
JL
939 * wdired.el: Revert 2012-10-17 change partly and replace it with
940 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
941 (wdired-finish-edit): Add marks for new file names to
942 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
943 after `revert-buffer'.
944 (wdired-do-renames): Remove calls to `dired-remove-file',
945 `dired-add-file', `dired-add-entry'. (Bug#11795)
946
d125ca15 9472012-11-24 Alan Mackenzie <acm@muc.de>
b03aabda 948
dc310ed0
AM
949 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
950
b03aabda
AM
951 Fix bugs in the state cache. Enhance a debugging mechanism.
952 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
953 "brace at column zero" strategy for C++.
954 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
955 (c-parse-state-point): New variable.
956 (c-record-parse-state-state): Record old parse state with
957 `copy-tree'. Record previous value of point.
958 (c-debug-parse-state-double-cons): New debugging function.
959 (c-debug-parse-state): Call the above new function.
960 (c-toggle-parse-state-debug): Output a confirmatory message.
961
002c019c
SM
962 * progmodes/cc-mode.el (c-before-change, c-after-change):
963 Call c-invalidate-state-cache from `c-before-change' instead of
b03aabda
AM
964 `c-after-change'.
965
930a6273
CY
9662012-11-23 Chong Yidong <cyd@gnu.org>
967
968 * find-cmd.el (find-constituents): Add executable, ipath,
969 readable, samefile, writable, daystart, regextype (Bug#12856).
970
15c9d04e
SM
9712012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
972
973 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
974
2ecb2679
PE
9752012-11-22 Paul Eggert <eggert@cs.ucla.edu>
976
977 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
978 definition. This fixes a bootstrap failure.
a14a5a40
PE
979 (calc-gregorian-switch): In menu, put dates before regions.
980 This is easier to follow, lines up better in the menu, and lets us
981 coalesce regions that switch at the same time. Give country
15c9d04e
SM
982 names, not "Vatican", as that's better for non-expert users.
983 Use names that are stable between the date of switch and now, e.g.,
a14a5a40
PE
984 Bohemia and Moravia (which existed then and now) and not
985 Czechoslovakia (which didn't exist then and doesn't exist now).
986 What is now the U.S. mostly did not switch at the same time as
987 Britain, so omit the U.S. Correct spelling of "Britain".
988 Catholic Switzerland was too much of a mess, so omit it.
2ecb2679 989
723da6aa
JB
9902012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
991
992 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
993 after the variable is changed.
994
21fa2482
DC
9952012-11-21 Daniel Colascione <dancol@dancol.org>
996
997 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
b6096e85
DC
998 in SQL declarations for font-lock.
999 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
21fa2482 1000
3ca2f1bf
GM
10012012-11-21 Glenn Morris <rgm@gnu.org>
1002
1bf335cf
GM
1003 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
1004 (face-italic-p): Add optional argument "inherit".
1005
3ca2f1bf
GM
1006 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
1007 Remove -p suffix from names, for consistency with other set-face-*.
1008 (set-face-inverse-video): Fix interactive spec.
1009 * play/gamegrid.el (gamegrid-make-mono-tty-face):
1010 * textmodes/table.el (table--update-cell-face):
1011 Use set-face-inverse-video rather than now obsolete alias.
1012
6ef2e5ef 10132012-11-21 Eli Zaretskii <eliz@gnu.org>
7cf95797
EZ
1014
1015 * simple.el (line-move): Don't call line-move-partial if
1016 scroll-conservatively is in effect. (Bug#12927)
1017
6ef2e5ef 10182012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
63f25172 1019
93b05041
SM
1020 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
1021 Fallback on completion-at-point rather than
1022 pcomplete-expand-and-complete, and only if pcomplete actually failed.
1023 (eshell-cmpl-initialize): Setup completion-at-point.
1024
1025 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
1026
bc715d67
SM
1027 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
1028
6ef2e5ef 10292012-11-21 Michael Albinus <michael.albinus@gmx.de>
d7f2a65c
MA
1030
1031 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
1032 are remote, check out-of-band property for both.
1033
6ef2e5ef 10342012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
d1c0cddf
SM
1035
1036 * window.el (switch-to-buffer): Re-add the warning that was lost in the
1037 code rewrite.
1038
6ef2e5ef 10392012-11-21 Paul Eggert <eggert@cs.ucla.edu>
0c93aa38 1040
535efd4a
PE
1041 More minor time fixes.
1042 * calendar/time-date.el: Commentary fix.
1043 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
1044 too much other code depends on (0 0) time stamps.
1045 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
1046 Add a couple of FIXME comments.
1047
0c93aa38
PE
1048 Minor cleanup for times as lists of four integers.
1049 * files.el (dir-locals-directory-cache):
1050 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
1051 Doc fixes.
1052 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
1053 * ps-bdf.el (bdf-file-newer-than-time):
1054 Process four-integers time stamps, not two. Doc fixes.
1055
23ba2705
SM
10562012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
1057
2e31777b
SM
1058 * uniquify.el (uniquify-managed): Use defvar-local.
1059 (rename-buffer, create-file-buffer): Advise with advice-add.
1060 (uniquify-unload-function): Unadvise accordingly.
1061
8b62d742
SM
1062 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
1063 (trace-buffer): Don't purecopy.
1064 (trace-entry-message, trace-exit-message): Add `context' arg.
1065 (trace--timer): New var.
1066 (trace-make-advice): Adjust for use in nadvice.
1067 Add `context' argument. Delay `display-buffer' via a timer.
1068 (trace-function-internal): Use advice-add.
1069 (trace--read-args): New function.
1070 (trace-function-foreground, trace-function-background): Use it.
1071 (trace-function): Rename to trace-function-foreground and redefine as
1072 an alias to that new name.
1073 (untrace-function, untrace-all): Adjust to the use of nadvice.
1074
5d0ccd95
SM
1075 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
1076
3837d988
SM
1077 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
1078
23ba2705
SM
1079 * subr.el (called-interactively-p-functions): New var.
1080 (internal--called-interactively-p--get-frame): New macro.
1081 (called-interactively-p, interactive-p): Rewrite in Lisp.
1082 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
1083 (called-interactively-p-functions): Use it.
1084 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
1085 (called-interactively-p-functions): Use it.
1086 * allout.el (allout-called-interactively-p): Don't assume
1087 called-interactively-p is a subr.
1088
b0636be7
GM
10892012-11-20 Glenn Morris <rgm@gnu.org>
1090
1091 * profiler.el (profiler-report-mode-map): Add a menu.
1092 No need to bind `q' because we derive from special-mode.
1093 (profiler-report-find-entry): Handle calls from the menu-bar.
1094
855b17af
SM
10952012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
1096
14146222
SM
1097 * emacs-lisp/byte-run.el (defun-declarations-alist):
1098 Allow a compiler-macro to be a lambda expression.
1099
1100 * progmodes/python.el: Use cl-lib. Move var declarations outside of
1101 eval-when-compile.
1102 (python-syntax-context): Add compiler-macro.
1103 (python-font-lock-keywords): Simplify with De Morgan.
1104
1000d895
SM
1105 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
1106
ac5392dc
SM
1107 * files.el (load-file): Require match in minibuffer selection, as was
1108 the case in Emacs-20 before we changed the spec to allow .elc files
1109 (bug#12935).
1110
19dc7206
SM
1111 * json.el: Don't require cl since we don't use it.
1112 * color.el: Don't require cl.
1113 (color-complement): `caddr' -> `nth 2'.
1114
855b17af
SM
1115 * calendar/time-date.el (time-to-seconds): De-obsolete.
1116
e8909bdc
JB
11172012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
1118
1119 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
1120 year numbers.
1121 (math-date-to-julian-dt): Adjust the initial approximation for the
1122 year to deal with the new definition of the DATE.
1123
6e9f7997
DC
11242012-11-19 Daniel Colascione <dancol@dancol.org>
1125
855b17af
SM
1126 * term/w32-win.el (cygwin-convert-path-from-windows):
1127 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
6e9f7997 1128
6a3dd257
CY
11292012-11-18 Chong Yidong <cyd@gnu.org>
1130
1131 * filecache.el (file-cache--read-list): New function.
1132 (file-cache-add-directory-list, file-cache-add-file-list)
1133 (file-cache-delete-file-list, file-cache-delete-directory-list):
1134 Use it to read a list of files or directories (Bug#12846).
1135 (file-cache-add-file, file-cache-add-directory)
1136 (file-cache-delete-file-list, file-cache-delete-file-regexp)
1137 (file-cache-delete-directory): Print an message.
1138
eef97f35
JB
11392012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
1140
1141 * calc/calc-forms.el (math-date-to-dt): Use integer date when
1142 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
1143
913c8291
GM
11442012-11-18 Glenn Morris <rgm@gnu.org>
1145
1146 * image.el (insert-image, insert-sliced-image): Doc fix.
1147
2ac9538d 11482012-11-18 Chong Yidong <cyd@gnu.org>
ec6f8ce6
CY
1149
1150 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
1151 (Bug#12810).
1152
2ac9538d 11532012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
c2d07557
CY
1154
1155 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
1156 response when the target file is in a subdirectory (Bug#12757).
1157
2ac9538d 11582012-11-18 Chong Yidong <cyd@gnu.org>
33f8917c
CY
1159
1160 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
1161
2ac9538d 11622012-11-18 Glenn Morris <rgm@gnu.org>
65463c40 1163
9a5e2ee3
GM
1164 * emacs-lisp/cl-lib.el (face-underline-p):
1165 Use set-face-underline rather than the alias set-face-underline-p.
1166
65463c40 1167 * window.el (with-temp-buffer-window): Doc fix.
95f0501e
GM
1168 * subr.el (with-output-to-temp-buffer):
1169 Add doc xref to with-temp-buffer-window.
65463c40 1170
c9ed8e3d
JB
11712012-11-18 Juanma Barranquero <lekktu@gmail.com>
1172
1173 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
1174 * calc/calc.el (math-format-date-cache): Declare.
1175
310e60d9
PE
11762012-11-17 Paul Eggert <eggert@cs.ucla.edu>
1177
6f6b82d6
PE
1178 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
1179 It also uses January 1, 1 AD as its day number 1.
310e60d9 1180 * calc/calc-forms.el (math-julian-date-beginning)
6f6b82d6 1181 (math-julian-date-beginning-int): Implement this.
310e60d9 1182
d7fe6352
JB
11832012-11-17 Juanma Barranquero <lekktu@gmail.com>
1184
1185 * descr-text.el (quail-find-key):
1186 * dired.el (desktop-file-name):
1187 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
1188 * generic-x.el (comint-mode, comint-exec):
1189 * image-dired.el (widget-forward):
1190 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
1191 (speedbar-change-expand-button-char)
1192 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
1193 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
1194 * printing.el (easy-menu-add-item, easy-menu-remove-item)
1195 (widget-field-action, widget-value-set):
1196 * speedbar.el (imenu--make-index-alist):
1197 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
1198 (ring-length, ring-insert):
1199 * vcursor.el (compare-windows-skip-whitespace):
1200 * woman.el (dired-get-filename):
1201 Declare functions.
1202
1203 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
1204
c9f618db
JB
12052012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1206
1207 * calc/calc.el (calc-gregorian-switch): New variable.
1208
1209 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
1210 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
1211 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
1212 (math-leap-year-p): Add option to distinguish between Julian
1213 and Gregorian calendars.
1214 (math-day-number): Use `math-day-in-year' to do the computations.
1215 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
1216 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
1217 to do the computations.
1218 (math-date-to-dt): Use `math-date-to-julian-dt' and
1219 `math-date-to-gregorian-dt' to do the computations.
1220 (calcFunc-weekday, math-format-date-part): Use the new version of
1221 the DATE to determine the weekday.
1222 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
1223 when necessary.
1224
3804f7bc
EZ
12252012-11-17 Eli Zaretskii <eliz@gnu.org>
1226
1227 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
1228 Cygwin; otherwise use 'file:'. (Bug#12914)
1229 (cygwin-convert-path-from-windows): Declare, to avoid
1230 byte-compiler warnings.
1231
de959d4d
AP
12322012-11-17 Andreas Politz <politza@fh-trier.de>
1233
1234 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
1235 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
1236 prefix and negative numeric prefix args (Bug#12795).
1237
e45deaef
SB
12382012-11-17 Stephen Berman <stephen.berman@gmx.net>
1239
1240 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
1241 Don't signal an error with a score that is too low to add to the
1242 list of top scores. (Bug#12779)
1243
ec15e0ff
CY
12442012-11-17 Chong Yidong <cyd@gnu.org>
1245
8e7696a1
CY
1246 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
1247
ec15e0ff
CY
1248 * filecache.el (file-cache-add-file): Handle relative file name in
1249 the argument (Bug#12694).
1250
60c4ee66
JH
12512012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
1252
1253 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
1254
cdc5d88c
SM
12552012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
1256
dd0c5bbb
SM
1257 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
1258
cdc5d88c
SM
1259 * emacs-lisp/cl-lib.el: Set more meaningful version number.
1260
0ff7851c
MR
12612012-11-16 Martin Rudalics <rudalics@gmx.at>
1262
1263 * window.el (enlarge-window, shrink-window): Don't mention return
1264 value in doc-string (Bug#12896).
1265 (window--display-buffer): Don't resize frames - it won't work
1266 with all window managers and defeat pop-up-frame-alist.
1267 (display-buffer-alist): In doc-string explain that CONDITION can
1268 be a function and which arguments are passed to it (Bug#12854).
1269 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
1270 expressions (Bug#12854).
1271 (display-buffer): Pass ACTION argument to
1272 display-buffer-assq-regexp.
1273
dedd1884
GM
12742012-11-16 Glenn Morris <rgm@gnu.org>
1275
7c82753d
GM
1276 * window.el (fit-frame-to-buffer-bottom-margin)
1277 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
1278
dedd1884
GM
1279 * faces.el (face-underline-p): Use face-attribute-specified-or.
1280
96e05507 12812012-11-16 Juanma Barranquero <lekktu@gmail.com>
662b0ee6
JB
1282
1283 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
1284
96e05507 12852012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
eb31fa40
SM
1286
1287 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
1288
96e05507 12892012-11-16 Glenn Morris <rgm@gnu.org>
e2e13f18 1290
17c083ac
GM
1291 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
1292 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
1293
bde3c6c0
GM
1294 * faces.el (face-underline-p): Doc fix. Handle :underline being
1295 things other than `t' (a string, a list).
1296 (face-inverse-video-p): Doc fix.
1297 (set-face-underline): Rename it back from set-face-underline-p.
1298 Doc fix. Allow interactive input of values other than t.
1299 (read-face-attribute): Apply formatting to :underline,
1300 since like :box and :stipple it can take list values.
1301
e2e13f18
GM
1302 * term.el (ansi-term): Don't let C-x escape-char binding
1303 clobber the more standard C-c binding. (Bug#12842)
1304
e0ea8060
GM
1305 * subr.el (set-temporary-overlay-map): Doc fix.
1306
96e05507 13072012-11-16 Martin Rudalics <rudalics@gmx.at>
92346275
MR
1308
1309 * window.el (record-window-buffer)
1310 (display-buffer-record-window): When copying the markers to
1311 window-point preserve window-point-insertion-type. (Bug#12588)
1312
96e05507 13132012-11-16 Glenn Morris <rgm@gnu.org>
7b1bf173
GM
1314
1315 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
1316 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
1317 Use new names for hooks rather than obsolete aliases.
1318
faeafc01
DC
13192012-11-15 Daniel Colascione <dancol@dancol.org>
1320
1321 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
9533048d
DC
1322 prefix instead of "file:" so that when FILE-NAME begins with "//",
1323 as it does when the target file is on a network share, url-handler
1324 isn't confused.
1325
1232d6c2
SM
13262012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1327
1328 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
1329 a preactivated advice from an old advice.el; they're not compatible!
1330
47f01a8a
KY
13312012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
1332
1333 * emacs-lisp/nadvice.el (advice--make-interactive-form):
1334 Fix string-spec case.
1335
1336 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
1337
a61428c4
SM
13382012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1339
1340 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
1341 (advice--buffer-local-function-sample): New var.
1342 (advice--set-buffer-local, advice--buffer-local): New functions.
1343 (add-function, remove-function): Use them.
1344
875ce3a7
DA
13452012-11-15 Drew Adams <drew.adams@oracle.com>
1346
1347 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
1348
589fc479
SM
13492012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1350
1351 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
1352 potential binding of print-gensym to t, and prettify (back)quotes in
1353 case they appear in args's default values (bug#12884).
1354
1668ea90
SM
13552012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1356
1357 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
1358 (advice-eval-interactive-spec): New function.
1359 (advice--make-interactive-form): Support around advice (bug#12844).
1360
8619323f
DG
13612012-11-14 Dmitry Gutov <dgutov@yandex.ru>
1362
1363 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
1364 more strict. Add docstring.
c62792e7
DG
1365 (ruby-expression-expansion-re): Extract from
1366 `ruby-match-expression-expansion'.
1367 (ruby-syntax-propertize-function): After everything else, search
1368 for expansions in string literals, mark their insides as
1369 whitespace syntax and save match data for font-lock.
1370 (ruby-font-lock-keywords): Use the 2nd group from expression
1371 expansion matches.
1372 (ruby-match-expression-expansion): Use the match data saved to the
1373 text property in ruby-syntax-propertize-function.
8619323f 1374
9c3912d3
SM
13752012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1376
1377 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
1378 (bug#12879).
1379
5e9419e8
DG
13802012-11-13 Dmitry Gutov <dgutov@yandex.ru>
1381
1382 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
1383 start/end keyword a bit harder. Works with different values of N.
1384 Add more comments.
1385 (ruby-end-of-block): Update accordingly.
1386
3c442f8b
SM
13872012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
1388
fa470af0
SM
1389 * woman.el (woman-file-name): Don't mess with unread-command-events
1390 (bug#12861).
1391
3c442f8b
SM
1392 * emacs-lisp/advice.el: Layer on top of nadvice.el.
1393 Remove out of date self-require hack.
1394 (ad-do-advised-functions): Use simple `dolist'.
1395 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
1396 (ad-advice-definition): Redefine as functions.
1397 (ad-advice-classes): Move before first use.
1398 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
fa470af0 1399 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
3c442f8b 1400 (ad--defalias-fset): Remove functions.
fa470af0 1401 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
3c442f8b
SM
1402 (ad-get-orig-definition): Rewrite.
1403 (ad-make-advised-definition-docstring): Change base docstring.
1404 (ad-real-orig-definition): Rewrite.
1405 (ad-map-arglists): Change name of called function.
1406 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
1407 (ad-make-advised-definition): Simplify.
1408 (ad-assemble-advised-definition): Tweak for new calling context.
fa470af0 1409 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
3c442f8b
SM
1410 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
1411 function and call ad-activate if needed.
1412 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
1413 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
1414 (ad-compile-function): Compile ad-Advice-*.
1415 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
1416 (ad-start-advice, ad-stop-advice): Remove.
1417
5745cae6
DG
14182012-11-13 Dmitry Gutov <dgutov@yandex.ru>
1419
1420 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
1421 period before class method names, not after. Remove handling of
1422 one impossible case. Add comments.
1423
413d4689
SM
14242012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
1425
7db1bda8
SM
1426 * emacs-lisp/advice.el: Remove support for freezing.
1427 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
1428 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
1429 Remove support for `freeze'.
1430
413d4689
SM
1431 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
1432 override the default.
1433 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
1434 cl--dotimes/dolist.
1435 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
1436 `cl' is loaded.
1437
1438 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
1439 from add-advice.
1440 (advice--strip-macro): New function.
1441 (advice--defalias-fset): Use them to handle macros.
1442 (advice-add): Use them.
1443 (advice-member-p): Correctly handle macros.
1444
f178c32d
DG
14452012-11-13 Dmitry Gutov <dgutov@yandex.ru>
1446
7db1bda8
SM
1447 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1448 Never font-lock the beginning of singleton class as heredoc.
f178c32d 1449
f78ee6af 14502012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
f8705f6e
SM
1451
1452 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
1453
f78ee6af 14542012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
9db94175
WJ
1455
1456 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
f78ee6af
GM
1457 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
1458 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
9db94175 1459
f78ee6af 14602012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
2e6625b5
FEG
1461
1462 Fix end-of-defun misbehavior.
1463 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
1464 python-beginning-of-defun-function. Handle nested defuns
1465 correctly.
1466 (python-nav-end-of-defun): Rename from
1467 python-end-of-defun-function. Ensure forward movement.
f8705f6e 1468 (python-info-current-defun): Reimplement to work as intended
2e6625b5
FEG
1469 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
1470 parent defuns as soon as possible.
1471
f78ee6af 14722012-11-13 Glenn Morris <rgm@gnu.org>
24c38527
GM
1473
1474 * progmodes/flymake.el (flymake-error-bitmap)
1475 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
1476 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
1477
f78ee6af 14782012-11-13 Dmitry Gutov <dgutov@yandex.ru>
d1e1e53d
DG
1479
1480 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
1481 backward, always stop at indentation. Reverts the change from
1482 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
1483
f78ee6af 14842012-11-13 Glenn Morris <rgm@gnu.org>
68146aa5 1485
a1d3e07e
GM
1486 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
1487 Add ibuffer-filter-by-derived-mode.
1488
84acf328
GM
1489 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
1490 the same name shadowing each other.
1491
38785e75
GM
1492 * window.el (with-temp-buffer-window): Doc tweak.
1493
57fc0fee
GM
1494 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
1495
6ba6a3e5
GM
1496 * help.el (temp-buffer-max-height):
1497 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
68146aa5
GM
1498 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
1499
231d8498
SM
15002012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
1501
1502 * emacs-lisp/nadvice.el: New package.
1503 * subr.el (special-form-p): New function.
1504 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
1505 (elp-all-instrumented-list): Remove var.
1506 (elp-not-profilable): Remove elp-wrapper.
1507 (elp-profilable-p): Use autoloadp and special-form-p.
1508 (elp--advice-name): New const.
1509 (elp-instrument-function): Use advice-add.
1510 (elp--instrumented-p): New predicate.
1511 (elp-restore-function): Use advice-remove.
1512 (elp-restore-all, elp-reset-all): Use mapatoms.
1513 (elp-set-master): Use elp--instrumented-p.
1514 (elp--make-wrapper): Rename from elp-wrapper, return a function
1515 suitable for advice-add. Use cl-inf.
1516 (elp-results): Use mapatoms+elp--instrumented-p.
1517 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
1518 (debug-function-list): Remove var.
1519 (debug): Rename arg, and then let-bind it explicitly inside.
1520 (debugger-setup-buffer): Rename arg.
1521 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
1522 (debugger-frame-number): Adjust to new debug-on-entry setup.
1523 (debug--implement-debug-on-entry): Rename from
1524 implement-debug-on-entry, add argument.
1525 (debugger-special-form-p): Remove, use special-form-p instead.
1526 (debug-on-entry): Use advice-add.
1527 (debug--function-list): New function.
1528 (cancel-debug-on-entry): Use it, along with advice-remove.
1529 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
1530 (debugger-list-functions): Use debug--function-list instead of
1531 debug-function-list.
1532 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
1533 (ad-special-form-p): Remove, use special-form-p instead.
1534 (ad-set-advice-info): Use add-function and remove-function.
1535 (ad--defalias-fset): Adjust accordingly.
1536
19e09879
GM
15372012-11-10 Glenn Morris <rgm@gnu.org>
1538
714cebd1
GM
1539 * mail/emacsbug.el (report-emacs-bug-tracker-url)
1540 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
1541 (report-emacs-bug-create-existing-bugs-buffer)
1542 (report-emacs-bug-parse-query-results)
1543 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
1544
bf67dafa
GM
1545 * term.el (term-default-fg-color, term-default-bg-color):
1546 Make obsolete, rather than just saying "deprecated" in the doc.
1547
19e09879
GM
1548 * term.el (term): Rename from `term-face'.
1549 (term-current-face, ansi-term-color-vector)
1550 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
1551 Update all users.
1552
6baf66d5 15532012-11-10 Jan Djärv <jan.h.d@swipnet.se>
531bdce6
JD
1554
1555 * server.el (server-create-window-system-frame): Handle Nextstep
1556 specially (Bug#12780).
1557
6baf66d5 15582012-11-10 Glenn Morris <rgm@gnu.org>
fedb154e
GM
1559
1560 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
1561 Unautoload, and make obsolete. (Bug#7449)
1562
6baf66d5 15632012-11-10 Chong Yidong <cyd@gnu.org>
9d9e48d9
CY
1564
1565 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
1566 rename from diff-remove-trailing-whitespace (Bug#12831).
1567
6baf66d5 15682012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
32170f7f
SM
1569
1570 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
1571 miscompilation of trace.el.
1572
6baf66d5 15732012-11-10 Glenn Morris <rgm@gnu.org>
26f59676
GM
1574
1575 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
1576
6baf66d5 15772012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
41626722
SM
1578
1579 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
1580 (bug#12812).
1581
6baf66d5 15822012-11-10 Chong Yidong <cyd@gnu.org>
7d806bfe
CY
1583
1584 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
1585 a defcustom with an appropriate :set function.
1586 (minibuffer-default--in-prompt-regexps): New function.
1587
6baf66d5 15882012-11-10 Glenn Morris <rgm@gnu.org>
2ee1d59f 1589
031b2ea7
GM
1590 * emacs-lisp/cl.el (define-setf-expander, defsetf)
1591 (define-modify-macro): Doc fixes.
1592
2ee1d59f
GM
1593 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
1594 (gv-define-simple-setter): Update doc of `fix-return'.
1595
6baf66d5 15962012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
d57c286e 1597
b715ed44
SM
1598 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
1599 twice when `fix-return' is set (bug#12813).
1600
d57c286e
SM
1601 * emacs-lisp/cl.el (defsetf): Pass the third arg to
1602 gv-define-simple-setter (bug#12812).
1603
c9cac599
SM
1604 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
1605 (bug#12756).
1606
6baf66d5 16072012-11-10 Glenn Morris <rgm@gnu.org>
6b3770fb
GM
1608
1609 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
1610
5593ed90
GM
1611 * emacs-lisp/cl-extra.el (cl-prettyexpand):
1612 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
1613 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
1614 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
1615
1616 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
1617
05a859c1
LL
16182012-11-10 Leo Liu <sdl.web@gmail.com>
1619
1620 * ido.el (ido-set-matches-1): Improve flex matching performance by
1621 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
1622
32e5c58c
SM
16232012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1624
1625 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
1626 (ad--defalias-fset): New function.
1627 (ad-safe-fset): Remove.
1628 (ad-make-freeze-definition): Use cl-letf*.
1629
f5925cd9
SM
16302012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1631
da03ef8a
SM
1632 * subr.el (dolist): Don't bind VAR in RESULT.
1633
6858633a
SM
1634 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
1635 (fset, documentation): Don't save real def since we don't advise.
1636 (ad-do-advised-functions): Remove problematic `result-form'.
1637 (ad-safe-fset): `ad-real-fset' => `fset'.
1638 (ad-read-advised-function): Don't assume that ad-do-advised-functions
1639 uses CL's dolist internally.
1640 (ad-arglist): Remove unused arg `name'.
1641 (ad-docstring, ad-make-advised-docstring):
1642 `ad-real-documentation' => `documentation'.
1643 (warning-suppress-types): Declare.
1644 (ad-set-arguments): Simple CSE.
1645 (ad-recover-normality): Sanity check.
1646
f5925cd9
SM
1647 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
1648 (funcall '(lambda ..) ..) into ((lambda ..) ..).
1649
93a66b3a
VB
16502012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
1651
1652 * ses.el: symbol to coordinate mapping is made by symbol property
f5925cd9
SM
1653 `ses-cell'. This means that the same mapping is done for all SES
1654 sheets. That is good enough for cells with standard A1 names, but
1655 not for named cell. So a hash map is added for the latter.
1656 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
93a66b3a
VB
1657 (ses-sym-rowcol): Use hashmap for named cell.
1658 (ses-is-cell-sym-p): New defun.
1659 (ses-decode-cell-symbol): New defun.
f5925cd9
SM
1660 (ses-create-cell-variable): Add cell to hashmap when name is not
1661 A1-like.
93a66b3a
VB
1662 (ses-rename-cell): Check that cell new name is not already in
1663 spreadsheet with the use of ses-is-cell-sym-p
1664 (ses-rename-cell): Use hash map for named cells, but accept also
1665 renaming back to A1-like.
1666
67dd8ad1
SM
16672012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1668
57618ecf
SM
1669 * emacs-lisp/advice.el: Use new dynamic docstrings.
1670 (ad-make-advised-definition-docstring, ad-advised-definition-p):
1671 Use dynamic-docstring-function instead of ad-advice-info.
1672 (ad--make-advised-docstring): New function extracted from
1673 ad-make-advised-docstring.
1674 (ad-make-advised-docstring): Use it.
1675 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
1676 from sql-help.
1677 (sql-help): Use it with dynamic-docstring-function.
1678
67dd8ad1
SM
1679 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
1680
be883b34
SM
16812012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1682
d41706aa
SM
1683 * files.el (hack-one-local-variable--obsolete): New function.
1684 (hack-one-local-variable): Use it for obsolete settings.
1685
85e55412
SM
1686 * subr.el (locate-user-emacs-file): If both old and new name exist, use
1687 the new name.
1688
be883b34
SM
1689 * progmodes/js.el (js--filling-paragraph): New var.
1690 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
1691 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
1692 less sneaky.
1693
cabc040a
JD
16942012-11-08 Julien Danjou <julien@danjou.info>
1695
1696 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
1697 `auto-mode-alist' (Bug#12835).
1698
d14bb752
SM
16992012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1700
79b3e376
SM
1701 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
1702 (perl--prettify-symbols-alist): New const.
1703 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
1704 New functions.
1705 (perl-font-lock-keywords-2): Use them.
1706 (perl-electric-noindent-p): New function.
1707 (perl-mode): Use it to set up electric-indent-mode.
1708 (perl-electric-terminator, perl-indent-command): Mark obsolete.
1709 (perl-mode-map): Remove bindings for them.
1710 (perl-imenu-generic-expression, perl-outline-level):
1711 Match functions&packages in column>0.
1712
3b11e6ac
SM
1713 * env.el (env--substitute-vars-regexp): New const.
1714 (substitute-env-vars): Use it. Add `only-defined' arg.
1715 * net/tramp.el (tramp-replace-environment-variables): Use it.
1716
784c1a7b
SM
1717 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
1718 Byte-compile *before* eval in eval-and-compile.
1719 (byte-compile-log-warning): Remove redundant inhibit-read-only.
1720 (byte-compile-file-form-autoload): Don't hide actual definition.
1721 (byte-compile-maybe-guarded): Accept `functionp' as well.
1722
d14bb752
SM
1723 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
1724
499a0f7a
MA
17252012-11-07 Michael Albinus <michael.albinus@gmx.de>
1726
1727 * notifications.el (notifications-get-server-information-method):
1728 New defconst.
1729 (notifications-get-capabilities): Fix docstring.
1730 (notifications-get-server-information): New defun.
1731
f0704a9a
AM
17322012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1733
1734 * textmodes/ispell.el (ispell-region): Standard re-indent for better
1735 readability.
1736
b159a1fd
AM
1737 * textmodes/ispell.el: Experimental support for support debugging.
1738 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
1739 buffer for ispell.
1740 (ispell-print-if-debug): New function to print stuff to
1741 `ispell-debug-buffer' if debugging is enabled.
1742 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
1743 show some debugging info.
1744 (ispell-buffer-with-debug): New function that creates a debugging
1745 buffer and calls `ispell-buffer' with debugging enabled.
1746
056cb3a1
AM
1747 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
1748 comment in autoconf mode. (Bug#12768)
1749
8e6a67b7
DA
17502012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
1751
1752 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
1753 frame-first-window, frame-root-window, frame-selected-window,
1754 minibuffer-selected-window, minibuffer-window,
1755 window-absolute-pixel-edges, window-at, window-body-height,
1756 window-body-width, window-display-table, window-combination-limit,
1757 window-frame, window-fringes, window-inside-absolute-pixel-edges,
1758 window-inside-edges, window-inside-pixel-edges, window-left-child,
1759 window-left-column, window-margins, window-next-buffers,
1760 window-next-sibling, window-new-normal, window-new-total,
1761 window-normal-size, window-parameter, window-parameters, window-parent,
1762 window-pixel-edges, window-point, window-prev-buffers,
1763 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
1764 window-start, window-text-height, window-top-child, window-top-line,
1765 window-total-height, window-total-width and window-use-time to the list
1766 of functions without side-effects.
1767 (toplevel): Add window-valid-p to the list of error-free functions
1768 without side-effects.
1769
53fc914f
AM
17702012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1771
f5925cd9
SM
1772 * textmodes/ispell.el (ispell-program-name):
1773 Update spellchecker parameters when customized.
53fc914f 1774
9749e2b0
GM
17752012-11-04 Glenn Morris <rgm@gnu.org>
1776
1777 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
1778
2cbafa56
CY
17792012-11-04 Chong Yidong <cyd@gnu.org>
1780
1781 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
1782 same-window-* variables.
1783
85178ca1
JL
17842012-11-04 Juri Linkov <juri@jurta.org>
1785
1786 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
1787 (isearch-describe-key, isearch-describe-mode): Use a display
1788 action instead of binding same-window-* variables (Bug#10040).
1789
5c677d44
GM
17902012-11-03 Glenn Morris <rgm@gnu.org>
1791
49138400
GM
1792 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
1793 Rename handler properties back from cl-- to cl-. (Bug#12788)
1794
5c677d44
GM
1795 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
1796
1d4341f9
EZ
17972012-11-03 Eli Zaretskii <eliz@gnu.org>
1798
1799 * term/pc-win.el: Don't load term/internal from here.
1800
1801 * loadup.el: Load term/internal from here.
1802
12fd5ee1
FEG
18032012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
1804
1805 * progmodes/python.el (inferior-python-mode): Fix hang in
1806 jit-lock (Bug#12645).
1807
43bcfda6
MR
18082012-11-03 Martin Rudalics <rudalics@gmx.at>
1809
1810 * window.el (switch-to-visible-buffer)
1811 (switch-to-buffer-preserve-window-point): Fix doc-strings.
1812
376a8e83
GM
18132012-11-03 Glenn Morris <rgm@gnu.org>
1814
1815 * emacs-lisp/cl-lib.el (cl--random-time):
1816 Rename from cl-random-time. (Bug#12773)
1817 (cl--gensym-counter, cl--random-state): Update callers.
1818 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
1819
0f7b074f
CY
18202012-11-03 Chong Yidong <cyd@gnu.org>
1821
1822 * cus-start.el: Make cursor-type customizable (Bug#11633).
1823
3a6851d9
GM
18242012-11-02 Glenn Morris <rgm@gnu.org>
1825
00a3b041
GM
1826 * filecache.el: No need to load find-lisp when compiling.
1827 (find-lisp-find-files): Autoload it.
1828 (file-cache-add-directory-recursively): Don't require find-lisp.
1829
11fef14a
GM
1830 * image.el (image-type-from-file-name): Trivial simplification.
1831
3a6851d9
GM
1832 * emacs-lisp/bytecomp.el (byte-compile-eval):
1833 Decouple "noruntime" and "cl-functions" warnings.
1834
b4b096e4
SB
18352012-11-01 Stephen Berman <stephen.berman@gmx.net>
1836
1837 * play/gomoku.el (gomoku-display-statistics): Update mode line
1838 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
1839
218e997a
MR
18402012-10-31 Martin Rudalics <rudalics@gmx.at>
1841
1842 * window.el (quit-restore-window): If the window has been
1843 created on an existing frame and ended up as the sole window on
1844 that frame, do not delete it (Bug#12764).
1845
b08b6da7
SM
18462012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
1847
3618df45
SM
1848 * progmodes/sh-script.el (sh--inside-noncommand-expression):
1849 Rename from sh--inside-arithmetic-expression, handle more cases
1850 (bug#11263).
1851
b08b6da7
SM
1852 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
1853 (sh-font-lock-open-heredoc): Use it (bug#12770).
1854
4ddedf94
GM
18552012-10-30 Glenn Morris <rgm@gnu.org>
1856
f43a5263
GM
1857 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
1858
4ddedf94
GM
1859 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
1860
748b0d84
CY
18612012-10-29 Chong Yidong <cyd@gnu.org>
1862
b5dd9a77
CY
1863 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
1864 function key is stored in a keyboard macro (Bug#4894).
1865
748b0d84
CY
1866 * thingatpt.el (number-at-point): Apply a thing-at-point property.
1867
e07fcbdc
SM
18682012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1869
d7f9cc85
SM
1870 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
1871 header comments".
1872 (diff-unified->context, diff-context->unified)
1873 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
1874
c606253c
SM
1875 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
1876
e07fcbdc
SM
1877 * files.el (find-alternate-file): Only ask one question (bug#12487).
1878
894b9dd9
CY
18792012-10-29 Chong Yidong <cyd@gnu.org>
1880
1dc2755a
CY
1881 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
1882 Suggested by Dan Nicolaescu (Bug#6326).
1883
329c48d8
CY
1884 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
1885
2230fa5b 1886 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5c2f2631 1887
e84cad57
CY
1888 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
1889
1913c5f5
CY
1890 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
1891
894b9dd9
CY
1892 * face-remap.el (face-remap-add-relative): Handle the case where a
1893 face-remapping-alist entry is a cons cell (Bug#12762).
1894
329c48d8
CY
18952012-10-29 Kevin Ryde <user42@zip.com.au>
1896
1897 * woman.el (woman-parse-numeric-value): Handle picas correctly
1898 (Bug#12639).
1899
a0ccbcbd
GM
19002012-10-29 Glenn Morris <rgm@gnu.org>
1901
1902 * emacs-lisp/cl.el (defsetf): Doc fix.
1903
b3871e59
SM
19042012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1905
1906 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
1907 syntax to the matching opener, if any (bug#12547).
1908 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
1909 matching open as a "case-(".
1910 (sh-smie-rc-grammar): Add a corresponding rule for it.
1911
cd44022c
DH
19122012-10-28 Daniel Hackney <dan@haxney.org>
1913
1914 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
1915 "PKGNAME-autoloads.el" in case we created it.
1916
70edffb1
SM
19172012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1918
86957a0c
SM
1919 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
1920 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
b9383404 1921 (completion--twq-all): Disable too-strict assertions.
86957a0c 1922
70edffb1
SM
1923 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
1924
d069271c
EZ
19252012-10-27 Eli Zaretskii <eliz@gnu.org>
1926
1927 * profiler.el (profiler-report-make-entry-part): Fix help-echo
1928 text to match the real keybindings.
1929
e2f022a3
JL
19302012-10-27 Juri Linkov <juri@jurta.org>
1931
1932 * wdired.el (wdired-keep-marker-rename): New defcustom.
1933 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
1934 (Bug#11795)
1935
1936 * dired.el (dired-keep-marker-rename): Add reference to
1937 `wdired-keep-marker-rename' in the docstring.
1938 Add default character value ?R to display initially in
1939 Customization UI instead of ?@.
1940
df171c23
MR
19412012-10-27 Martin Rudalics <rudalics@gmx.at>
1942
1943 * window.el (display-buffer): In doc-string describe
1944 window-height and window-width alist entries.
1945
1946 * time.el (display-time-world): Restore fit-window-to-buffer
1947 behavior.
1948
05b621a6
CY
19492012-10-27 Chong Yidong <cyd@gnu.org>
1950
1951 * subr.el (insert-buffer-substring-as-yank): Doc fix.
1952
55f197b2
J
19532012-10-26 Jambunathan K <kjambunathan@gmail.com>
1954
1955 * minibuffer.el (completion-category-overrides): New completion
1956 category `bookmark' (bug#11131).
1957
372212df
SM
19582012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
1959
150f809c
SM
1960 * emacs-lisp/advice.el (ad-assemble-advised-definition):
1961 Silence bogus compiler warnings for ad-do-it.
1962
372212df
SM
1963 * bookmark.el (bookmark-completing-read): Set the completion category
1964 to `bookmark' (bug#11131).
1965
c5772569
B
19662012-10-26 Bastien <bzg@altern.org>
1967 Stefan Monnier <monnier@iro.umontreal.ca>
1968
1969 * face-remap.el: Use lexical-binding.
1970 (text-scale-adjust): Improve docstring. Use itself for the temporary
1971 overlay-map bindings, so as to repeat the "Use..." message each time.
1972
a2be0357
SM
19732012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
1974
63314e57
SM
1975 * emacs-lisp/macroexp.el (macroexp--expand-all):
1976 Obey byte-compile-warning-enabled-p (bug#12486).
1977
a2be0357
SM
1978 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
1979 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
1980
8c7727c3
MR
19812012-10-26 Martin Rudalics <rudalics@gmx.at>
1982
1983 * mouse.el (mouse-drag-line): Move last form into preceding when
1984 clause (Bug#12731).
1985
1986 * help.el (resize-temp-buffer-window): Fix doc-string.
1987
3f2a848d
DE
19882012-10-25 David Engster <deng@randomsample.de>
1989
1990 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
a2be0357 1991 Remove. This feature is already integrated in imenu.
3f2a848d
DE
1992
1993 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
1994 always loaded. Require `speedbar' unconditionally.
1995
a7723be6
SM
19962012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1997
aaabfc8b
SM
1998 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
1999
414a8595
SM
2000 * minibuffer.el (minibuffer-force-complete): Fix thinko.
2001
fb5b9475
SM
2002 * net/ldap.el (ldap-search-internal): The official ldif format starts
2003 with a "version: 1" header (bug#12724).
2004
a7723be6
SM
2005 * emacs-lisp/package.el (package-installed-p): Warn if not ready
2006 (bug#12721).
2007
a05cb6e3
GM
20082012-10-25 Glenn Morris <rgm@gnu.org>
2009
2010 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
2011
3c92de70
SM
20122012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2013
2014 * minibuffer.el (minibuffer-force-complete): Use one more marker
2015 for the temporary-overlay-map command (bug#12619).
2016
a4b6d7c6
CY
20172012-10-24 Chong Yidong <cyd@gnu.org>
2018
2019 * time.el (display-time-world-mode): Derive from special-mode.
2020 (display-time-world): Use display-buffer (Bug#12708).
2021 (display-time-world-mode-map): Variable deleted.
9321d8d7
CY
2022 (display-time-world-display): Wrap the final delete-char inside
2023 inhibit-read-only.
a4b6d7c6 2024
75e8f9d2
CY
20252012-10-24 Chong Yidong <cyd@gnu.org>
2026
cd996018
CY
2027 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
2028 Doc fix.
2029
75e8f9d2
CY
2030 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
2031
d92df117
SM
20322012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2033
2034 * minibuffer.el (completion--all-sorted-completions-location): New var.
2035 (completion--cache-all-sorted-completions)
2036 (completion--flush-all-sorted-completions): Use it.
2037 (completion-in-region, completion-in-region--postch)
2038 (completion-at-point, completion-help-at-point): Use markers in
2039 completion-in-region--data (bug#12619).
2040
9c3e39f3
SM
20412012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2042
c79825bd
SM
2043 * progmodes/compile.el (compilation-start): Try to handle common
2044 quoting of `cd' argument (bug#12640).
2045
9c3e39f3
SM
2046 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
2047 (bug#12671).
2048
a6709bc7
GM
20492012-10-23 Glenn Morris <rgm@gnu.org>
2050
2051 * progmodes/gud.el (gud-menu-map):
2052 Check gdb-active-process is bound. (Bug#12358)
2053
d1069532
SM
20542012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2055
d20d69c0
SM
2056 * repeat.el (repeat): Set real-this-command (bug#12232).
2057
d1069532
SM
2058 * htmlfontify.el (hfy-post-html-hook):
2059 * filesets.el (filesets-cache-fill-content-hook):
2060 * arc-mode.el (archive-extract-hook):
2061 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
2062 * net/rcirc.el (rcirc-sentinel-functions)
2063 (rcirc-receive-message-functions, rcirc-activity-functions)
2064 (rcirc-print-functions):
2065 * net/dbus.el (dbus-event-error-functions):
2066 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
2067 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
2068 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
2069 * term/sun.el (sun-raw-prefix-hooks):
2070 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
2071
f7eac6d8
MA
20722012-10-23 Michael Albinus <michael.albinus@gmx.de>
2073
d1069532
SM
2074 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2075 Set `tramp-chunksize' to 1. This improves the performance.
f7eac6d8
MA
2076 (tramp-smb-wait-for-output): Add timeout to
2077 `tramp-accept-process-output' calls.
2078
608d9d7c
CY
20792012-10-23 Chong Yidong <cyd@gnu.org>
2080
49238e7f
CY
2081 * faces.el (font-list-limit): Define as an obsolete variable.
2082
2083 * startup.el (command-line):
2084 * cus-start.el: Don't refer to font-list-limit.
2085
608d9d7c
CY
2086 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
2087
4ff5b1b2
SM
20882012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2089
2090 * subr.el (internal-temp-output-buffer-show): Rename from
2091 temp-output-buffer-show, since previously compiled files expect this name.
2092
ea1d4aac
GM
20932012-10-23 Glenn Morris <rgm@gnu.org>
2094
2095 * image.el (image-type-from-file-name): If multiple types match,
2096 return the first one that is supported. (Bug#9045)
2097
eda82a31
GM
20982012-10-22 Glenn Morris <rgm@gnu.org>
2099
2100 * image.el (imagemagick-enabled-types): Doc fix.
2101
4f020bec
TA
21022012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
2103
2104 * progmodes/which-func.el (which-func-current): The hash-table may have
2105 an explicit nil (bug#12338).
2106
c77d37e2
SM
21072012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2108
2109 * electric.el (electric-pair-delete-selection-self-insert-function):
2110 Rename to electric-pair-will-use-region, return a boolean.
2111 (electric-pair-mode): Adjust accordingly. Don't require delsel.
2112
2113 * delsel.el (delete-selection-helper): Use a function instead of a hook.
2114 (delete-selection-pre-hook): Use use-region-p.
2115 (delete-selection-self-insert-function): Remove.
2116 (self-insert-command): Obey self-insert-uses-region-functions.
2117 (self-insert-iso): Revert to previous setting, since we don't actually
2118 know what that command does.
2119 (delete-selection-self-insert-hooks): Remove.
2120
b1d39ccc
SL
21212012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
2122
2123 * delsel.el (delete-selection-helper): New function, extracted from
2124 delete-selection-pre-hook.
2125 (delete-selection-pre-hook): Use it.
2126 (delete-selection-self-insert-function): New function.
2127 (delete-selection-self-insert-hooks): New hook.
2128 (self-insert-command, self-insert-iso): Use it.
2129 * electric.el (electric-pair-syntax): New function, extracted from
2130 electric-pair-post-self-insert-function.
2131 (electric-pair-post-self-insert-function): Use it.
2132 (electric-pair-delete-selection-self-insert-function): New function.
2133 (electric-pair-mode): Require delsel and setup
2134 delete-selection-self-insert-hooks (bug#11520).
2135
045ef729
CY
21362012-10-20 Chong Yidong <cyd@gnu.org>
2137
4c5d08a8
CY
2138 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
2139 no changes to show (Bug#12586).
2140
045ef729
CY
2141 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
2142 list explicitly (Bug#12571).
2143
3503c798 21442012-10-20 Arne Jørgensen <arne@arnested.dk>
79e1997a 2145
b1d39ccc
SL
2146 * progmodes/flymake.el (flymake-create-temp-inplace):
2147 Use file-truename.
79e1997a 2148
2068905b
EZ
21492012-10-20 Eli Zaretskii <eliz@gnu.org>
2150
2151 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
2152
4c9e9550
JB
21532012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
2154
2155 * calc/calc-units.el (math-extract-units): Properly extract powers
2156 of units.
2157
1a6e7e38
DC
21582012-10-20 Daniel Colascione <dancol@dancol.org>
2159
2160 * frame.el (make-frame): Set x-display-name as we used to in order
2161 to unbreak creating an X11 frame from an Emacs daemon started
2162 without a display.
2163
8e808318
SM
21642012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2165
2166 * minibuffer.el (minibuffer-force-complete): Make the next completion use
f5925cd9 2167 the same completion-field (bug#12221).
8e808318 2168
fb0104da
MR
21692012-10-19 Martin Rudalics <rudalics@gmx.at>
2170
2171 * emacs-lisp/debug.el (debug): Record height of debugger window
2172 also when debugger will be back (Bug#8789).
2173
8c27235e
CY
21742012-10-18 Chong Yidong <cyd@gnu.org>
2175
2176 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
2177 Convert to defcustom.
2178 (gdb-get-source-file): Don't bind pop-up-windows.
2179
2180 * progmodes/gud.el (gud-display-line): Don't specially re-use
2181 other frames for the gdb-mi case (Bug#12648).
2182
90eacf99
SM
21832012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
2184
aaf0c300
SM
2185 * emacs-lisp/advice.el: Clean up commentary a bit.
2186 (ad-do-advised-functions, ad-with-originals): Use `declare'.
2187 (byte-code-function-p): Never redefine.
2188
90eacf99
SM
2189 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
2190
281c9d2b
GM
21912012-10-18 Glenn Morris <rgm@gnu.org>
2192
40714e3d
GM
2193 * dired.el (dired-sort-toggle): Some ls implementations only allow
2194 a single option string. (Bug#12666)
2195
281c9d2b
GM
2196 * minibuffer.el (completion-cycle-threshold): Doc fix.
2197
b278604e
KH
21982012-10-17 Kenichi Handa <handa@gnu.org>
2199
90eacf99
SM
2200 * international/mule.el (set-keyboard-coding-system):
2201 Recover input meta mode when the new coding system doesn not use 8-bit.
b278604e
KH
2202 Supply TERMINAL arg to set-input-meta-mode.
2203
df171c23 22042012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7ebc5f5a
MH
2205
2206 * wdired.el (wdired-old-marks): New variable.
2207 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
2208 (wdired-do-renames): Move point with renamed file and don't lose
2209 mark status (Bug#11795).
2210
e5a94ec4
JL
22112012-10-16 Juri Linkov <juri@jurta.org>
2212
2213 * replace.el (query-replace-help): Mention multi-buffer replacement
2214 keys in the Help message. (Bug#12655)
2215
d18a0d24
CY
22162012-10-15 Chong Yidong <cyd@gnu.org>
2217
2218 * emacs-lisp/byte-run.el (defsubst): Doc fix.
2219
8111f5e6
EZ
22202012-10-14 Eli Zaretskii <eliz@gnu.org>
2221
7b9abf24
EZ
2222 * window.el (display-buffer): Doc fix.
2223
8111f5e6
EZ
2224 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2225 Adjust the msft regexp to the output of Studio 2010, and move msft
2226 before edg-1. See the discussion on emacs-devel,
2227 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
2228 for the details.
2229
5046ef67
SM
22302012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
2231
9760c73c
SM
2232 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
2233 (oset): Move uses of object-class-fast macro after its definition.
2234
5046ef67
SM
2235 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
2236
0d11ff1c
CY
22372012-10-13 Chong Yidong <cyd@gnu.org>
2238
2239 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
2240 enabled, re-enable it (Bug#11963).
2241
88ded8ac
MR
22422012-10-13 Martin Rudalics <rudalics@gmx.at>
2243
2244 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
2245 non-nil, restore window configuration (Bug#12623).
2246
bd0ffffd
SM
22472012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2248
06485aa8
SM
2249 * help-fns.el (describe-variable, describe-function-1):
2250 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
2251
bd0ffffd
SM
2252 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
2253
3a989246
GM
22542012-10-12 Glenn Morris <rgm@gnu.org>
2255
2256 * mail/rmailsum.el (rmail-header-summary):
2257 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
2258
55cd00c8
FEG
22592012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
2260
bd0ffffd
SM
2261 * progmodes/python.el (python-mode-map):
2262 Replace subtitute-key-definition with proper command remapping.
55cd00c8
FEG
2263 (python-nav--up-list): Fix behavior for blocks on the same level.
2264
ac9fc2c7
SM
22652012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2266
d8cc4c00 2267 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
d8cc4c00 2268
5253a5fd
SM
2269 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
2270 changes to the format of load-history.
2271
ac9fc2c7
SM
2272 * international/mule-cmds.el (read-char-by-name): Move let-binding of
2273 completion-ignore-case in case that var is buffer-local (bug#12615).
2274
cde44a77
KH
22752012-10-11 Kenichi Handa <handa@gnu.org>
2276
2277 * international/eucjp-ms.el: Re-generated.
2278
4ef4a10d
KH
22792012-10-10 Kenichi Handa <handa@gnu.org>
2280
2281 * select.el (xselect--encode-string): If a coding is specified for
2282 selection, and that is compatible with COMPOUND_TEXT, use it.
2283
9d7f027b
MR
22842012-10-10 Martin Rudalics <rudalics@gmx.at>
2285
2286 * window.el (switch-to-buffer-preserve-window-point): New option.
ac9fc2c7
SM
2287 (switch-to-buffer):
2288 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
9d7f027b 2289
238f3a58
SM
22902012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2291
2292 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
2293 Don't document nil as a useful value (bug#12583).
2294
1d51f99c
MA
22952012-10-09 Michael Albinus <michael.albinus@gmx.de>
2296
238f3a58
SM
2297 * net/tramp.el (tramp-debug-message):
2298 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1d51f99c
MA
2299 (with-tramp-progress-reporter): Rename from
2300 `tramp-with-progress-reporter'.
238f3a58
SM
2301 (with-tramp-file-property, with-tramp-connection-property):
2302 Move from tramp-cache.el, rename from `with-file-property' and
1d51f99c
MA
2303 `with-connection-property', respectively.
2304
2305 * net/tramp-cache.el: Remove `with-file-property' and
2306 `with-connection-property'.
2307
2308 * net/tramp.el:
2309 * net/tramp-gvfs.el:
2310 * net/tramp-sh.el:
2311 * net/tramp-smb.el: Adapt callees.
2312
2313 * net/trampver.el: Update release number.
2314
26b77251
GM
23152012-10-09 Glenn Morris <rgm@gnu.org>
2316
9a5f296f
GM
2317 * w32-fns.el (set-message-beep):
2318 * term/w32-win.el (set-message-beep): Update declarations.
2319
94c66ce5
SM
23202012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2321
10766e9e
SM
2322 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
2323 (mode-line-widen, mode-line-input-method-map)
2324 (mode-line-coding-system-map, mode-line-remote)
2325 (mode-line-unbury-buffer, mode-line-bury-buffer)
2326 (mode-line-next-buffer, mode-line-previous-buffer):
2327 Replace save-selected-window+select-window => with-selected-window.
2328
f754db08
SM
2329 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
2330 * progmodes/cc-vars.el (bq-process): Remove, unused.
2331
94c66ce5
SM
2332 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
2333
a4ff7fe1
FEG
23342012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
2335
2336 Implemented `backward-up-list'-like navigation.
2337 * progmodes/python.el (python-nav-up-list)
2338 (python-nav-backward-up-list): New functions.
2339 (python-mode-map): Define substitute key for backward-up-list to
2340 python-nav-backward-up-list.
2341
24517d82
FEG
23422012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
2343
2344 * progmodes/python.el (python-fill-paragraph): Rename from
2345 python-fill-paragraph-function. Fixed fill-paragraph for
2346 decorators (Bug#12605).
2347
51867ae2
FEG
23482012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
2349
2350 * progmodes/python.el (python-shell-output-filter): Handle extra
2351 carriage return in OSX (Bug#12409).
2352
a5b773c4
FEG
23532012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
2354
2355 Fix shell handling of unbalanced quotes and parens in output.
94c66ce5 2356 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
a5b773c4
FEG
2357 (python-syntax-propertize-function): Use it.
2358 (python-shell-output-syntax-table): New var.
2359 (inferior-python-mode): Prevent unbalanced parens/quotes from
2360 previous output mess with current input context.
2361
13373538
JB
23622012-10-08 Juanma Barranquero <lekktu@gmail.com>
2363
2364 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
2365 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
2366
775a132d
MA
23672012-10-08 Michael Albinus <michael.albinus@gmx.de>
2368
2369 * ffap.el (ffap-replace-file-component): Support Tramp file name
2370 syntax, not only ange-ftp's one.
2371
3ab44929
GM
23722012-10-08 Glenn Morris <rgm@gnu.org>
2373
57f1dee4
GM
2374 * cus-start.el (message-log-max): Set :version.
2375
3ab44929
GM
2376 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
2377
6a088630
MR
23782012-10-08 Martin Rudalics <rudalics@gmx.at>
2379
2380 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
2381 the minibuffer window (Bug#10851).
2382
8dbce54c
FEG
23832012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
2384
2385 Enhancements on forward-sexp movement.
2386 * progmodes/python.el (python-nav-beginning-of-statement)
2387 (python-nav-end-of-statement): Return point-marker.
2388 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
2389 (python-info-current-symbol)
2390 (python-info-statement-starts-block-p): Rename from
2391 python-info-beginning-of-block-p.
2392 (python-info-statement-ends-block-p): Rename from
2393 python-info-end-of-block-p.
2394 (python-info-beginning-of-statement-p)
2395 (python-info-end-of-statement-p)
2396 (python-info-beginning-of-block-p, python-info-end-of-block-p):
2397 New functions.
2398
5acd2b3e
SM
23992012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2400
2401 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
2402 frame-selected-windows.
2403
e08348a0
DC
24042012-10-08 Daniel Colascione <dancol@dancol.org>
2405
2406 * battery.el (battery-status-function): Check for
2407 w32-battery-status itself, not system-time windows-nt.
2408
2409 * frame.el: Require cl-lib.
2410 (display-format-alist): New variable mapping frame types to
2411 functions that initialize them.
2412 (window-system-for-display): New function: interprets
2413 display-format-alist.
2414 (make-frame-on-display): Remove existing display-selection logic
2415 and just forward to make-frame, which will now DTRT.
2416 (make-frame): Restructure to use window-system-for-display to
2417 figure out how to create a frame on a given display.
2418 (display-mouse-p): Look for frame-type w32, not a particular
2419 system-type.
2420
2421 * loadup.el: Load w32 lisp code when we have the w32 feature.
2422
2423 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
2424 system-type windows-nt.
2425
2426 * server.el (server-create-window-system-frame): Look for window
2427 type.
2428 (server-proces-filter): Only force a window system when windows-nt
2429 _and_ w32. Explain why.
2430
2431 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
2432 of window systems we configure for the mode.
2433
2434 * startup.el (command-line): Mark window system is initialized
2435 after we've done it.
2436
2437 * common-win.el (x-select-text): Look for w32, not windows-nt.
2438
2439 * ns-win.el: Require cl-lib. Add ourselves to
2440 display-format-alist.
2441 (ns-initialize-window-system): Assert we're not initialized twice.
2442
2443 * w32-win.el: Enable lexical binding; require cl-lib; add
2444 ourselves to display-format-alist.
2445 (w32-handle-dropped-file): Convert incoming dropped files from
2446 Windows paths to Cygwin ones before passing them on to the rest of
2447 Emacs.
2448 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
2449 (w32-initialize-window-system): Assert we're not initialized twice.
2450
2451 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
2452 (x-initialize-window-system): Assert we're not initialized twice.
2453
2454 * w32-common-fns.el: New File.
2455 (w32-version, w32-using-nt, w32-get-clipboard-data)
2456 (w32-set-clipboard-data, x-set-selection, x-get-selection)
2457 (w32-charset-info-alist, x-last-selected, text)
2458 (x-get-selection-value, x-selection-value): Move here.
2459
2460 * w32-fns.el: Require w32-common-fns.
2461 (w32-version, w32-using-nt, w32-get-clipboard-data)
2462 (w32-set-clipboard-data, x-set-selection, x-get-selection)
2463 (w32-charset-info-alist, x-last-selected, text)
2464 (x-get-selection-value, x-selection-value): Move to
2465 w32-common-fns.
2466
2467 * w32-vars.el:
2468 (w32-allow-system-shell, w32-system-shells): Define only in
2469 non-cygwin case.
2470
795b1482
SM
24712012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2472
2473 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
2474 (read-passwd): Remove a few more potential sources of leaks.
2475
f27c99dc
FEG
24762012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
2477
2478 * progmodes/python.el (inferior-python-mode)
795b1482 2479 (python-shell-make-comint): Fix initialization of local
f27c99dc
FEG
2480 variables copied from parent buffer.
2481
fcacb558
JD
24822012-10-07 Jan Djärv <jan.h.d@swipnet.se>
2483
2484 * term/ns-win.el (ns-read-file-name): Update declaration to match
2485 nsfns.m.
2486 (ns-respond-to-change-font): Change fontsize separatly so we are sure
2487 it is set when font is acted upon.
2488
be0d5bae
FEG
24892012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
2490
2491 Enhancements to indentation.
2492 * progmodes/python.el (python-indent-context): Give priority to
2493 inside-string context. Make comments indentation markers.
2494 (python-indent-region): Do not mess with strings, unless it's the
2495 enclosing set of quotes.
2496
13af0d10
SM
24972012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2498
662a9d0e
SM
2499 * window.el (internal--before-save-selected-window)
2500 (internal--after-save-selected-window): New functions extracted from
2501 save-selected-window. Make sure we return the `alist' we construct.
2502 (save-selected-window): Use them.
2503
2504 * textmodes/tex-mode.el (tex-recenter-output-buffer):
2505 Use with-selected-window.
2506
13af0d10
SM
2507 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
2508 forms that define macros (bug#12593).
2509
6aa75fb6
KH
25102012-10-07 Kenichi Handa <handa@gnu.org>
2511
13af0d10
SM
2512 * international/mule-conf.el (compound-text-with-extensions):
2513 Add :mime-charset property as x-ctext.
6aa75fb6 2514
78d876b9
SM
25152012-10-07 Stefan Merten <smerten@oekonux.de>
2516
2517 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
2518 (rst-indent-literal-normal, rst-indent-literal-minimized)
2519 (rst-indent-comment): Correct :version tag.
557337e9 2520 (rst-official-cvs-rev): Correct version string.
78d876b9 2521
99a1e701
GM
25222012-10-07 Glenn Morris <rgm@gnu.org>
2523
2524 * mail/rmailmm.el (rmail-mime-process-multipart):
2525 Do not confuse a multipart message with an epilogue
2526 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
2527
08f18c3d
FEG
25282012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
2529
2530 Fix shell output retrieval and comint-prompt-regexp init.
2531 * progmodes/python.el (inferior-python-mode):
2532 (python-shell-make-comint): Fix initialization of
2533 comint-prompt-regexp from copied file local variables.
2534 (python-shell-fetched-lines): Remove var.
2535 (python-shell-output-filter-in-progress): Rename from
2536 python-shell-fetch-lines-in-progress.
2537 (python-shell-output-filter-buffer): Rename from
2538 python-shell-fetch-lines-string.
2539 (python-shell-fetch-lines-filter): Delete function.
2540 (python-shell-output-filter): New function.
2541 (python-shell-send-string-no-output): Use them.
2542
82ed3ab4
GM
25432012-10-07 Glenn Morris <rgm@gnu.org>
2544
1595ecfa
GM
2545 * hi-lock.el (hi-lock-process-phrase):
2546 Try to make it less fragile. (Bug#7161)
2547
82ed3ab4
GM
2548 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
2549
f1f4dba0
GM
25502012-10-06 Glenn Morris <rgm@gnu.org>
2551
addc11ed 2552 * ehelp.el (electric-help-mode): Use help-mode rather than
32939005
GM
2553 non-existent mode `help'.
2554 (electric-help-map): Use button-buffer-map. (Bug#10917)
addc11ed 2555
460042b8
GM
2556 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
2557 (reftex-create-bibtex-footer): Fix custom types.
2558
67667c70
GM
2559 * progmodes/sh-script.el (sh-indent-after-continuation):
2560 Add explicit :group.
2561
18dec750
GM
2562 * textmodes/rst.el (rst-preferred-decorations)
2563 (rst-shift-basic-offset): Clarify obsolescence versions.
2564
d1a1c7e6
GM
2565 * profiler.el (profiler): Add missing group :version tag.
2566 * avoid.el (mouse-avoidance-banish-position):
2567 * proced.el (proced-renice-command):
2568 * calc/calc.el (calc-ensure-consistent-units):
2569 * calendar/icalendar.el (icalendar-import-format-uid):
2570 * net/tramp.el (tramp-save-ad-hoc-proxies):
2571 * progmodes/bug-reference.el (bug-reference-bug-regexp):
2572 * progmodes/flymake.el (flymake-error-bitmap)
2573 (flymake-warning-bitmap, flymake-fringe-indicator-position):
2574 * progmodes/sh-script.el (sh-indent-after-continuation):
2575 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
2576 (verilog-before-save-font-hook, verilog-after-save-font-hook):
2577 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
2578 (vhdl-array-index-record-field-in-sensitivity-list)
2579 (vhdl-indent-comment-like-next-code-line):
2580 * textmodes/reftex-vars.el (reftex-ref-style-alist)
2581 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
2582 (reftex-cite-key-separator, reftex-create-bibtex-header)
2583 (reftex-create-bibtex-footer):
2584 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
2585 (rst-indent-literal-normal, rst-indent-literal-minimized)
2586 (rst-indent-comment): Add missing custom :version tags.
2587
ef35abb4
GM
2588 * calendar/timeclock.el (timeclock-modeline-display):
2589 Add missing obsolete alias for renamed user option.
2590
d1aae614
GM
2591 * strokes.el (strokes-modeline-string):
2592 * emulation/crisp.el (crisp-mode-modeline-string):
2593 * eshell/esh-mode.el (eshell-status-in-modeline):
2594 Aliases to defcustoms must come before the defcustom.
2595
f1f4dba0
GM
2596 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
2597 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
2598 (cal-tex-cursor-week-monday): Doc fixes.
2599 (cal-tex-cursor-week2-summary): Doc fix.
2600 Rename from cal-tex-cursor-week-at-a-glance.
2601
2602 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
2603 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
2604
2605 * calendar/calendar.el (calendar-mode-map):
2606 Add cal-tex-cursor-week2-summary.
2607
d39109c3
SM
26082012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
2609
685f87b0
SM
2610 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
2611
d39109c3
SM
2612 * subr.el (read-passwd-map): New var.
2613 (read-passwd): Use `read-string' again.
2614 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
2615
5694896d
J
26162012-10-06 Jambunathan K <kjambunathan@gmail.com>
2617
2618 * register.el (append-to-register, prepend-to-register):
2619 Deactivate mark, as does `copy-to-register' (bug#12389).
2620
9414dd8d
CY
26212012-10-06 Chong Yidong <cyd@gnu.org>
2622
2623 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
2624
2b89bca4
KH
26252012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
2626
2627 * international/characters.el: Fix simple mistake ((car chars) ->
2628 elt), delete duplicated code.
2629
d5acb99a
GM
26302012-10-06 Glenn Morris <rgm@gnu.org>
2631
2632 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
2633
123ec157
JS
26342012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
2635
2636 * color.el (color-hsl-to-rgb): Fix incorrect results for
2637 small and large hue values. (Bug#12559)
2638
7fa36ccb
FEG
26392012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
2640
2641 Enhancements to docstring formatting when filling paragraphs.
2642 * progmodes/python.el (python-fill-docstring-style): Rename from
2643 python-fill-string-style. Added new style.
2644 (python-fill-string): Use new style. Better checks for
2645 docstrings.
2646
d8788e1e
GM
26472012-10-05 Glenn Morris <rgm@gnu.org>
2648
204f3953
GM
2649 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
2650
d8788e1e
GM
2651 * color.el (color-name-to-rgb, color-rgb-to-hex)
2652 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
2653 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
2654 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
2655 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
2656
8d956cef
GM
2657 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
2658
e8757f09 26592012-10-05 Juanma Barranquero <lekktu@gmail.com>
ea9a3563
JB
2660
2661 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
2662 to get the correct size across symlinks.
2663
e8757f09
GM
2664 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
2665
0e2ae83d
JL
26662012-10-04 Juri Linkov <juri@jurta.org>
2667
2668 * replace.el (query-replace-interactive): Declare obsolete.
2669 (query-replace-read-from): Add the last incremental search string
2670 to the list of default values accessible via M-n.
2671 (map-query-replace-regexp): Use `read-regexp'.
2672 (query-replace, query-replace-regexp, query-replace-regexp-eval)
2673 (map-query-replace-regexp, replace-string, replace-regexp):
2674 Fix docstrings to replace mentions of `query-replace-interactive'
2675 with alternatives. (Bug#12526)
2676
93cacb6d
JL
26772012-10-04 Juri Linkov <juri@jurta.org>
2678
2679 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
2680 (dired-pop-to-buffer): Declare obsolete.
2681 (dired-mark-pop-up): Doc fix.
2682
fc345011
FEG
26832012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
2684
2685 Allow user to set docstring style for fill-paragraph.
2686 * progmodes/python.el
2687 (python-fill-comment-function, python-fill-string-function)
2688 (python-fill-decorator-function, python-fill-paren-function):
2689 Remove :safe for defcustoms.
2690 (python-fill-string-style): New defcustom
5694896d 2691 (python-fill-paragraph-function): Enhance context detection.
fc345011
FEG
2692 (python-fill-string): Honor python-fill-string-style settings.
2693
6bab5d8b
MR
26942012-10-04 Martin Rudalics <rudalics@gmx.at>
2695
2696 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
2697 after setting its buffer (Bug#10805).
2698
a1a9f411
FEG
26992012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
2700
2701 Fix cornercase for string syntax.
2702 * progmodes/python.el (python-syntax-propertize-function):
2703 Simplify and enhance the regexp for unescaped quotes. Now it also
2704 matches quotes in weird situations like the single quote in
2705 "something\"'".
2706 (python-syntax-stringify): Simplify num-quotes detecting code.
2707
05e153a6
GM
27082012-10-03 Glenn Morris <rgm@gnu.org>
2709
2710 * help-macro.el (three-step-help):
2711 Revert 2012-09-29 change. (Bug#12567)
2712
2e566ecb
MR
27132012-10-03 Martin Rudalics <rudalics@gmx.at>
2714
96ef9ccd
MR
2715 * menu-bar.el (kill-this-buffer): Don't do anything when
2716 `menu-frame' is not alive or visible (Bug#8184).
2717
2e566ecb
MR
2718 * emacs-lisp/debug.el (debug): When quitting the debugger window
2719 restore current buffer (Bug#12502).
2720
a96e1cb7
CY
27212012-10-02 Chong Yidong <cyd@gnu.org>
2722
5694896d
J
2723 * progmodes/hideif.el (hif-lookup, hif-defined):
2724 Handle semantic-c-takeover-hideif.
a96e1cb7 2725
b3ecad33
PE
27262012-10-02 Paul Eggert <eggert@cs.ucla.edu>
2727
2728 Change sampling interval units from ms to ns.
2729 * profiler.el (profiler-sampling-interval): Change units
2730 from ms to ns, multiplying the default by 1000000 so that
2731 it remains 1 ms.
2732 (profiler-report-cpu-line-format): Give enough room for
2733 the maximum counters on 64-bit hosts.
2734 (profiler-report-render-calltree-1): Call them "CPU samples",
2735 not "Time (ms)", since they are not milliseconds now (and
2736 never really were).
2737
8cb51b66 27382012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
c623f81a 2739
5694896d
J
2740 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
2741 Fix querying BBDB for entries without a last name (Bug#11580).
c623f81a 2742
fd795bf4
CY
27432012-10-02 Chong Yidong <cyd@gnu.org>
2744
2745 * emacs-lisp/eieio.el: Restore Version header.
2746
fe0a74f9
SM
27472012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
2748
6be9197e
SM
2749 * vc/diff-mode.el (diff--auto-refine-data): New var.
2750 (diff-hunk): Use it to delay refinement.
2751 (diff-mode): Remove overlays when we turn off font-lock.
2752
18486139
SM
2753 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
2754 (table-initialize-table-fixed-width-mode)
2755 (table-set-table-fixed-width-mode): Remove functions.
2756 (table-command-list): Move initialization into declaration.
2757 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
2758 (table-with-cache-buffer): Use `declare'.
2759 (table-span-cell): Simplify via CSE.
2760 (table-fixed-width-mode): Use define-minor-mode.
2761 (table-call-interactively, table-funcall, table-apply): Remove.
2762 (table-function): New function, to replace them.
2763
d83ef976
SM
2764 * bookmark.el (bookmark-search-pattern): Remove var.
2765 (bookmark-read-search-input): Remove function.
2766 (bookmark-bmenu-search): Reimplement using a minibuffer.
2767
cd386662
SM
2768 * faces.el (modeline): Remove obsolete face name.
2769
fe0a74f9
SM
2770 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
2771 and give a non-nil default value.
2772 (add-change-log-entry): Simplify accordingly.
2773
9f7b98f8
DG
27742012-10-01 Dmitry Gutov <dgutov@yandex.ru>
2775
2776 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
2777 (vc-git-log-edit-toggle-amend): New function.
2778 (vc-git-log-edit-toggle-signoff): New function.
2779 (vc-git-log-edit-mode): New major mode.
2780 (vc-git-log-edit-mode-map): Keymap for it.
2781 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
2782
2783 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
2784 header names.
2785 (log-edit-toggle-header): New function.
2786 (log-edit-extract-headers): Accept function values in HEADERS alist.
2787
62a81506
CY
27882012-10-01 David Engster <deng@randomsample.de>
2789
2790 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
2791 from symbol property and change message to be more consistent with
2792 Emacs proper.
2793 (eieio-describe-generic): Add filename for each implementation.
2794 Fix indices for generic and normal methods.
2795 (eieio-method-def, eieio-class-def): New buttons.
2796 (eieio-help-find-method-definition)
2797 (eieio-help-find-class-definition): New functions.
2798 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
2799 class, constructor and method definitions.
2800
2801 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
2802 information in symbol property.
2803 (scoped-class): Remove.
2804 (eieio-slot-name-index, call-next-method): Check if it is bound.
2805
28062012-10-01 Leo P. White <lpw25@cam.ac.uk>
2807
2808 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
2809 (eieio-custom-mode): New major mode.
2810 (eieio-customize-object): Use it.
2811
28122012-10-01 Eric Ludlam <zappo@gnu.org>
2813
2814 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
2815 specifying the expected class, and whether subclassing is allowed.
2816 (eieio-persistent-convert-list-to-object):
1f9f395d
JB
2817 (eieio-persistent-validate/fix-slot-value)
2818 (eieio-persistent-slot-type-is-class-p): New functions.
2819 (eieio-named::slot-missing): Doc fix.
62a81506
CY
2820
2821 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
2822 Stop using unused publd variable.
2823
2824 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
2825 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
2826 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
2827 (eieio-speedbar-handle-click): Do not specify a class for the
2828 method. Fixes method invocation order problems with EDE.
2829
375e49d4
SM
28302012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2831
2832 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
2833 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
2834
16ce6ccd
KF
28352012-10-01 Karl Fogel <kfogel@red-bean.com>
2836
2837 * bookmark.el (bookmark-version-control): Give tags in the
2838 :type choices (Bug#12309), and improve doc string.
e4c4abdd
KF
2839 (bookmark-write-file): Bind `print-circle' to `t' to allow
2840 circular custom bookmark types. (Bug#12503)
16ce6ccd 2841
19e54a4d
PE
28422012-10-01 Paul Eggert <eggert@cs.ucla.edu>
2843
86ec63ba
PE
2844 Revert the FOLLOW-SYMLINKS change for file-attributes.
2845 * files.el (remote-file-name-inhibit-cache, after-find-file):
2846 * time.el (display-time-file-nonempty-p): Undo last change.
2847
19e54a4d
PE
2848 * profiler.el (profiler-sampling-interval): Change default back to 1.
2849 See Stefan Monnier in
2850 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
2851
0478776b
FEG
28522012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
2853
2854 Shell output catching a la gud-gdb.
2855 * progmodes/python.el (python-shell-fetch-lines-in-progress)
375e49d4
SM
2856 (python-shell-fetch-lines-string, python-shell-fetched-lines):
2857 New Vars.
0478776b
FEG
2858 (python-shell-fetch-lines-filter): New function.
2859 (python-shell-send-string-no-output): Use them.
2860
c22bac2c
TM
28612012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
2862
2863 * profiler.el (profiler-sampling-interval): Rename from
2864 profiler-sample-interval.
2865 (profiler-sampling-interval): Default to 10.
2866 (profiler-find-profile): New command (was profiler-find-log).
2867 (profiler-find-profile-other-window): New command.
2868 (profiler-find-profile-other-frame): New command.
2869 (profiler-profile): Introduce API-level data structure.
2870
e7a2937b
PE
28712012-09-30 Paul Eggert <eggert@cs.ucla.edu>
2872
2873 file-attributes has a new optional arg FOLLOW-SYMLINKS.
2874 * files.el (remote-file-name-inhibit-cache):
2875 * time.el (display-time-file-nonempty-p): Use it.
2876 * files.el (after-find-file): Don't chase links before calling
2877 file-exists-p, as file-exists-p already does the right thing.
2878
4f595e15
RA
28792012-09-30 Ralf Angeli <angeli@caeruleus.net>
2880
2881 Merge from standalone RefTeX repository.
2882
2883 The following ChangeLog entries are shortened versions of the
2884 original ones with file paths adapted. A not so strongly edited
2885 version of the original ChangeLog can be found in the commit log.
2886
2887 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
375e49d4
SM
2888 (reftex-arg-cite): Use `reftex-cite-key-separator'.
2889 Correctly handle new value type returned by `reftex-citation'.
4f595e15
RA
2890
2891 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
375e49d4
SM
2892 that entries with whitespace at various places are found.
2893 Doc fix. Include entries that are cross-referenced from cited entries.
4f595e15
RA
2894 Include @String definitions in the resulting bib file. Add header
2895 and footer defined in `reftex-create-bibtex-header' and
2896 `reftex-create-bibtex-footer'.
2897 (reftex-do-citation): Make it possible again to insert
2898 non-existent entries. Save match data when asking for optional
2899 arguments. Return all keys, not just the first one.
2900 (reftex-all-used-citation-keys): Fix regexp to correctly extract
2901 all citations in the same line.
2902 (reftex-parse-bibtex-entry): Accept additional optional argument
2903 `raw' and keep quotes or braces if it is non-nil. Match fields
2904 containing hyphens besides word constituents.
2905 (reftex-get-string-refs): New function.
2906 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
2907 and ask if it should be reread in case it did.
2908 (reftex-pop-to-bibtex-entry)
2909 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
2910 entries with spaces or tabs in front of arguments.
2911 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
375e49d4
SM
2912 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
2913 Match entries containing numbers and symbol constituents.
2914 (reftex-do-citation, reftex-figure-out-cite-format):
2915 Use `reftex-cite-key-separator'.
4f595e15
RA
2916
2917 * textmodes/reftex-dcr.el: Move provide statement to end of file.
2918 (reftex-mouse-view-crossref): Explain why point is set.
2919
2920 * textmodes/reftex-global.el: Whitespace changes.
2921
2922 * textmodes/reftex-index.el: Move provide statement to end of
2923 file.
2924 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
2925 (reftex-index-visit-phrases-buffer): Set marker when visiting
2926 buffer. This allows for returning from the phrases file to the
2927 file one was just editing instead of the file where the last
2928 phrases was added from.
2929 (reftex-index-phrases-syntax-table): New variable. Give ?\"
2930 punctuation syntax as it usually is not used as string quote in
2931 TeX-related modes and may occur unmatched. The change also
2932 prevents fontification of quoted content.
2933 (reftex-index-phrases-mode): Use it.
2934
375e49d4
SM
2935 * textmodes/reftex-parse.el (reftex-parse-from-file):
2936 Move backward one char if a `\' was matched after a section macro.
4f595e15
RA
2937 (reftex-parse-from-file): Use beginning of match instead of end as
2938 bound.
2939
2940 * textmodes/reftex-ref.el: Adapt creation of
2941 `reftex-<package>-<macro>' functions to new structure of
2942 `reftex-ref-style-alist'.
375e49d4
SM
2943 (reftex-reference): Use `reftex-ref-style-list' function.
2944 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4f595e15
RA
2945 reference macro if `reftex-ref-macro-prompt' is non-nil.
2946 (reftex-reference): Pass refstyle to `reftex-format-special'.
2947 Determine reference macro by looking at
375e49d4
SM
2948 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
2949 Use only one special format function.
4f595e15
RA
2950 (reftex-varioref-vref, reftex-fancyref-fref)
2951 (reftex-fancyref-Fref): Remove definitions. The functions are now
2952 generated from `reftex-ref-style-alist'.
2953 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
2954 Remove.
2955 (reftex-format-special): New function.
2956
2957 * textmodes/reftex-sel.el
2958 (reftex-select-cycle-ref-style-internal): Adapt to new structure
2959 of `reftex-ref-style-alist'. Remove code for testing macro type.
2960 (reftex-select-toggle-varioref)
2961 (reftex-select-toggle-fancyref): Remove.
2962 (reftex-select-cycle-ref-style-internal)
2963 (reftex-select-cycle-ref-style-forward)
2964 (reftex-select-cycle-ref-style-backward): New functions.
2965 (reftex-select-label-map): Use `v' and `V' for general cycling
2966 through reference styles. Add `p' for switching between number
2967 and page reference types.
2968
375e49d4
SM
2969 * textmodes/reftex-toc.el (reftex-re-enlarge):
2970 Call `enlarge-window' only if there is something to do because in Emacs
4f595e15
RA
2971 the horizontal version throws an error even if the parameter is 0.
2972
2973 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
2974 (reftex-plug-into-AUCTeX): Doc fix.
2975 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
2976 string. Adapt to new name.
2977 (reftex-ref-style-alist): Change structure so that it is not
2978 possible to use multiple different package names within a style.
375e49d4
SM
2979 Remove the symbols for symbols for macro type distinction.
2980 Add characters for macro selection.
4f595e15
RA
2981 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
2982 (reftex-create-bibtex-footer): New variables.
2983 (reftex-format-ref-function): Mention third argument of special
2984 format function.
375e49d4
SM
2985 (reftex-ref-style-alist, reftex-ref-style-default-list):
2986 New variables.
4f595e15
RA
2987 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
2988 to new implementation. Mark as obsolete. Add compatibility code
2989 for honoring the variable values in case they are set.
375e49d4
SM
2990 (reftex-cite-format-builtin, reftex-bibliography-commands):
2991 Add support for ConTeXt.
2992 (reftex-format-ref-function, reftex-format-cite-function):
2993 Fix custom type.
4f595e15
RA
2994 (reftex-cite-key-separator): New variable.
2995
2996 * textmodes/reftex.el (reftex-syntax-table-for-bib)
2997 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
2998 `reftex-syntax-table' because parens have to retain their paren
2999 syntax in order for parsing of BibTeX entries like @book(...) to
3000 work.
3001 (reftex-in-comment): Do not error out if `comment-start-skip' is
3002 not set. Deal correctly with escaped comment characters.
375e49d4
SM
3003 (reftex-tie-multifile-symbols): Add doc string.
3004 Initialize `reftex-ref-style-list'.
4f595e15
RA
3005 (reftex-untie-multifile-symbols): Add doc string.
3006 (reftex-add-index-macros): Doc fix.
3007 (reftex-ref-style-activate, reftex-ref-style-toggle)
3008 (reftex-ref-style-list): New functions.
3009 (reftex-mode-menu): Use them. Adapt to new structure of
3010 `reftex-ref-style-alist'.
3011 (reftex-select-with-char): Kill the RefTeX Select buffer when
3012 done.
3013 (reftex-remove-if): New function.
3014 (reftex-erase-all-selection-and-index-buffers)
3015 (reftex-mode-menu): Reference styles are now computed from
3016 `reftex-ref-style-alist'. Fix typo.
3017 (reftex-report-bug): New function.
3018 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
3019 algorithms with O(n log n). Introduce optional argument SORT (not
3020 yet used).
3021
440ba395
FEG
30222012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
3023
3024 Enhancements for triple-quote string syntax.
375e49d4
SM
3025 * progmodes/python.el (python-syntax-propertize-function):
3026 Match both quote cases in one regexp.
440ba395
FEG
3027 (python-syntax-stringify): Handle matches properly.
3028
4c478e6b
JL
30292012-09-30 Juri Linkov <juri@jurta.org>
3030
3031 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
93cacb6d 3032 to nil around the call to `insert' to prevent
4c478e6b
JL
3033 directory time modification by lock_file. (Bug#2295)
3034 * tar-mode.el (tar-summarize-buffer): Idem.
3035
d80d54b2
JL
30362012-09-30 Juri Linkov <juri@jurta.org>
3037
3038 * facemenu.el (list-colors-sort): Add option "Luminance".
3039 (list-colors-sort-key): Implement it.
3040
3041 * vc/diff-mode.el (diff-refine-removed):
3042 * vc/ediff-init.el (ediff-fine-diff-A):
3043 * vc/smerge-mode.el (smerge-refined-removed):
3044 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
3045
d7e642cc
JD
30462012-09-30 Jan Djärv <jan.h.d@swipnet.se>
3047
3048 * term/ns-win.el (x-file-dialog): New function.
3049
ee41332b
JB
30502012-09-30 Juanma Barranquero <lekktu@gmail.com>
3051
3052 * ido.el (ido-max-directory-size): Default to nil; the current
3053 default is small for POSIX systems, and impractical on Windows 7
3054 now that lstat returns directory sizes for NTFS.
3055
5938d519
MR
30562012-09-30 Martin Rudalics <rudalics@gmx.at>
3057
3058 In buffer display functions handle window-height/window-width
3059 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
375e49d4
SM
3060 * window.el (window--display-buffer): New argument ALIST.
3061 Obey window-height and window-width alist entries.
3062 (window--try-to-split-window): New argument ALIST.
3063 Bind window-combination-limit to t when the window's size shall be
5938d519
MR
3064 changed and window-combination-limit equals `window-size'.
3065 (display-buffer-in-atom-window)
3066 (display-buffer-in-major-side-window)
3067 (display-buffer-in-side-window, display-buffer-same-window)
3068 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3069 (display-buffer-pop-up-window, display-buffer-below-selected)
3070 (display-buffer-at-bottom, display-buffer-in-previous-window)
3071 (display-buffer-use-some-window): Adjust all callers of
3072 window--display-buffer and window--try-to-split-window.
3073 (fit-frame-to-buffer): New option.
3074 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
3075 is non-nil.
3076 (display-buffer-in-major-side-window): Evaluate window-height /
3077 window-width alist entries.
3078
3079 * help.el (temp-buffer-resize-frames)
3080 (temp-buffer-resize-regexps): Remove options.
3081 (temp-buffer-resize-mode): Adjust doc-string.
3082 (resize-temp-buffer-window): Don't consult
3083 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
3084 temp-buffer-resize-frames.
3085
375e49d4
SM
3086 * dired.el (dired-mark-pop-up):
3087 Call display-buffer-below-selected with a fit-window-to-buffer alist
5938d519
MR
3088 entry.
3089
c4c0c2df
CY
30902012-09-30 Chong Yidong <cyd@gnu.org>
3091
48de8b12
CY
3092 * server.el (server-host): Document the security implications.
3093 (server-auth-key): Doc fix.
3094
3095 * startup.el (initial-buffer-choice): Doc fix.
3096
3097 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
3098
a97dc380
CY
3099 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
3100 restriction change.
3101
d39d3c8e
CY
3102 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
3103
c4c0c2df
CY
3104 * help-fns.el (help-fns--obsolete): Fix last change.
3105
98a5e33b
SM
31062012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
3107
34cf6f39
SM
3108 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
3109 (minor-mode-map-alist): Remove redundant code.
3110
e01c13fe
SM
3111 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
3112 visited in a buffer.
3113 (cvs-insert-visited-file): New function.
3114 (find-file-hook): Use it.
3115
3116 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
3117
02661b3a
SM
3118 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
3119 chose face.
3120 (log-edit-empty-buffer-p): Don't require a space after a header.
3121
43711d4b
SM
3122 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
3123
38a30d64
SM
3124 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
3125
4ffb41a9
SM
3126 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
3127 a proper minor-mode.
3128
98a5e33b
SM
3129 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
3130
de82e29b
GM
31312012-09-29 Glenn Morris <rgm@gnu.org>
3132
5cc2e639
GM
3133 * winner.el (winner-mode): Remove variable (let define-minor-mode
3134 handle it).
3135 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
3136 Doc fixes.
3137 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
3138 (winner-mode): Use define-minor-mode.
3139
7bd302eb
GM
3140 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
3141 the full definition in loaddefs, rather than duplicating it.
3142
2923922f 3143 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 3144
0e3e4156
GM
3145 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
3146 (inferior-lisp-program, inferior-lisp-load-command)
3147 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 3148 No need to autoload defcustoms.
0e3e4156 3149
de82e29b
GM
3150 * hippie-exp.el (hippie-expand-try-functions-list)
3151 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
3152 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
3153 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 3154 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
3155 * progmodes/vhdl-mode.el (vhdl-line-expand):
3156 Explicitly load hippie-exp, so it does not get autoloaded
3157 while hippie-expand-try-functions-list is let-bound.
3158
e60b51ab
GM
31592012-09-28 Glenn Morris <rgm@gnu.org>
3160
277f0cfa
GM
3161 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
3162
e60b51ab
GM
3163 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
3164 Only "cl.el" counts as cl these days.
3165
53baf48a
JL
31662012-09-28 Juri Linkov <juri@jurta.org>
3167
3168 Display archive errors in the echo area instead of inserting
3169 to the file buffer.
3170
3171 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
3172 to STDERR-TEST that can be a regexp matching a successful output.
3173 Create a temporary file and redirect stderr to it. Search for
3174 STDERR-TEST in the stderr output and display it in the echo area
3175 if no match is found.
3176 (archive-extract-by-file): New function like
3177 `archive-extract-by-stdout' but extracting archives to files
3178 and looking for successful matches in stdout. Function body is
3179 mostly copied from `archive-rar-extract'.
3180 (archive-rar-extract): Use `archive-extract-by-file'.
3181 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
3182
9c1228c3
LL
31832012-09-28 Leo Liu <sdl.web@gmail.com>
3184
375e49d4
SM
3185 * pcomplete.el (pcomplete-show-completions):
3186 Use minibuffer-message to make pcomplete usable in minibuffer.
147c0425 3187
9c1228c3
LL
3188 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
3189
7f457c06
SM
31902012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3191
3df749b0
SM
3192 * type-break.el: Use lexical-binding.
3193 (type-break-mode): Use define-minor-mode.
3194
7f457c06
SM
3195 * emacs-lisp/pcase.el (pcase--mark-used): New.
3196 (pcase--u1): Use it (bug#12512).
3197
3198 * custom.el (load-theme): Set buffer-file-name so the load is recorded
3199 in load-history with the right file name.
3200
c00ebc98
TH
32012012-09-28 Tassilo Horn <tsdh@gnu.org>
3202
3203 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
3204 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
3205 (doc-view-get-bounding-box): Make bounding box slicing work for
3206 ODF and DVI documents.
3207
96fb7170
GM
32082012-09-28 Glenn Morris <rgm@gnu.org>
3209
3210 * type-break.el (type-break-mode, type-break-interval)
3211 (type-break-good-rest-interval, type-break-keystroke-threshold):
3212 No need to autoload.
3213 (type-break-good-rest-interval, type-break-keystroke-threshold):
3214 Add :set-after.
3215
5bc93c67
CY
32162012-09-28 Chong Yidong <cyd@gnu.org>
3217
3218 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
3219 Add :version tag.
3220
9cad61d6
SM
32212012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
3222
e28e67b3 3223 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 3224
daee954c
GM
32252012-09-27 Glenn Morris <rgm@gnu.org>
3226
a88324d4
GM
3227 * faces.el (x-display-name): Declare (for without-x builds).
3228
8e5064e5
GM
3229 * linum.el (linum-format): Don't autoload it. Improve :type.
3230
cc1783c2
GM
3231 * progmodes/tcl.el: Don't require outline when compiling.
3232 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
3233 * textmodes/sgml-mode.el: Don't require outline when compiling.
3234 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
3235
48c339f2
GM
3236 * term.el (term-ansi-reset):
3237 Try setting term-ansi-face-already-done to nil. (Bug#11785)
3238
daee954c
GM
3239 * vc/vc.el (vc-next-action): Only gripe about committing read-only
3240 files for RCS and SCCS. (Bug#9781)
3241
b7f42161
CY
32422012-09-27 Chong Yidong <cyd@gnu.org>
3243
3244 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
3245 change; value should be t.
3246
a2e770db
SM
32472012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
3248
83600dc8
SM
3249 * image-mode.el: Use lexical-binding.
3250 (image-mode-winprops): Use t to stand for the window of
3251 a buffer that's not displayed.
3252 * doc-view.el (doc-view-new-window-function): Handle the new
3253 t in winprops.
3254 (doc-view-enlarge): Make it a real nop if the size is not changed.
3255 (doc-view-display): Handle the case where the buffer is not (yet?)
3256 displayed in any window.
3257 (doc-view-saved-settings): New var.
3258 (doc-view-mode): Use it.
3259 (doc-view-fallback-mode): Set it.
3260
a2e770db
SM
3261 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
3262 Set lexical-binding.
3263 (minibuffer-eldef-shorten-default): New var.
3264 (minibuffer-default-in-prompt-regexps): Use it for new default.
3265 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
3266
e3b60857
JB
32672012-09-26 Juanma Barranquero <lekktu@gmail.com>
3268
3269 * international/uni-bidi.el:
3270 * international/uni-category.el:
3271 * international/uni-name.el:
3272 * international/uni-numeric.el: Regenerate.
3273
3a880af4
SM
32742012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
3275 Stefan Monnier <monnier@iro.umontreal.ca>
3276
3277 * profiler.el: New file.
3278
07b1a5fb
SM
32792012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
3280
3281 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
3282 (testcover-reinstrument): Simplify with CSE.
3283
42019c2e
JB
32842012-09-26 Juanma Barranquero <lekktu@gmail.com>
3285
3286 * window.el (temp-buffer-window-setup): Fix typo in docstring.
3287
179f044b
WS
32882012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
3289
3290 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
3291 (verilog-auto-input, verilog-auto-insert-lisp)
3292 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
3293 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
3294 (verilog-auto-unused, verilog-auto-wire)
3295 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
3296 newline. Reported by Andrew Jones.
3297 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
3298 Reported by Brad Dobbie.
07b1a5fb
SM
3299 (verilog-batch-delete-trailing-whitespace):
3300 Create verilog-batch-delete-trailing-whitespace.
3301 Reported by Brad Dobbie.
179f044b
WS
3302 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
3303 parameters from another module. Reported by Dan Katz.
3304 (verilog-auto, verilog-auto-assign-modport)
3305 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
3306 AUTOINOUTMODPORT for UVM interface module shell generation.
3307 Reported by Brad Dobbie.
3308 (verilog-auto-inst-interfaced-ports): Make default nil, as more
3309 standard behavior.
3310 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
3311 Reported by Matt Martin.
3312
9c52dd5a
MR
33132012-09-25 Martin Rudalics <rudalics@gmx.at>
3314
3315 * window.el (window--resize-child-windows): When resizing child
3316 windows proportionally, process them in reverse order to
3317 preserve the "when splitting a window the new one gets the odd
3318 line" behavior.
3319 (window--resize-root-window-vertically): When resizing the
3320 minibuffer window try to affect only windows at the bottom of the
3321 frame. (Bug#12419)
3322
863666eb
CY
33232012-09-25 Chong Yidong <cyd@gnu.org>
3324
3325 * subr.el (declare): Doc fix.
3326
3327 * help-fns.el (help-fns--obsolete): Handle macros properly.
3328
59f7af81
CY
33292012-09-25 Chong Yidong <cyd@gnu.org>
3330
3331 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
3332 this function obsolete.
3333
3334 * calendar/cal-x.el (calendar-two-frame-setup)
3335 (calendar-only-one-frame-setup, calendar-one-frame-setup):
3336 * calendar/calendar.el (american-calendar, european-calendar)
3337 (calendar-for-loop):
3338 * comint.el (comint-dynamic-simple-complete)
3339 (comint-dynamic-complete-as-filename, comint-unquote-filename):
3340 * desktop.el (desktop-load-default):
3341 * dired-x.el (dired-omit-here-always)
3342 (dired-hack-local-variables, dired-default-directory):
3343 * emacs-lisp/derived.el (derived-mode-class):
3344 * emacs-lisp/timer.el (timer-set-time-with-usecs):
3345 * emacs-lock.el (toggle-emacs-lock):
3346 * epa.el (epa-display-verify-result):
3347 * epg.el (epg-sign-keys, epg-start-sign-keys)
3348 (epg-passphrase-callback-function):
3349 * eshell/esh-util.el (eshell-for):
3350 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
3351 (eshell-add-to-window-buffer-names):
3352 * files.el (locate-file-completion):
3353 * imenu.el (imenu-example--create-c-index)
3354 (imenu-example--create-lisp-index)
3355 (imenu-example--lisp-extract-index-name)
3356 (imenu-example--name-and-position):
3357 * international/mule-cmds.el (princ-list):
3358 * international/mule-diag.el (decode-codepage-char):
3359 * international/mule-util.el (detect-coding-with-priority):
3360 * iswitchb.el (iswitchb-read-buffer):
3361 * mail/mailalias.el (mail-complete):
3362 * mail/sendmail.el (mail-sent-via):
3363 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
3364 (mouse-major-mode-menu):
3365 * password-cache.el (password-read-and-add):
3366 * pcomplete.el (pcomplete-parse-comint-arguments):
3367 * progmodes/sh-script.el (sh-maybe-here-document):
3368 * replace.el (query-replace-regexp-eval):
3369 * savehist.el (savehist-load):
3370 * simple.el (choose-completion-delete-max-match):
3371 * term.el (term-dynamic-simple-complete):
3372 * vc/ediff-init.el (ediff-check-version):
3373 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
3374 * vc/vc.el (vc-diff-switches-list):
3375 * view.el (view-return-to-alist-update): Likewise.
3376
3377 * subr.el (eval-next-after-load, makehash, insert-string)
3378 (assoc-ignore-representation, assoc-ignore-case): Use declare to
3379 mark obsolete.
3380 (mode-line-inverse-video): Variable deleted.
3381
3382 * international/mule-util.el (string-to-sequence): Remove.
3383
3384 * calendar/calendar.el (calendar-version):
3385 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
3386 (icalendar-convert-diary-to-ical):
3387 * cus-edit.el (custom-mode):
3388 * ansi-color.el (ansi-color-unfontify-region):
3389 * international/latin1-disp.el (latin1-char-displayable-p):
3390 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
3391 * progmodes/which-func.el (which-func-update-1):
3392 Use define-obsolete-function-alias.
59f7af81
CY
3393
3394 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
3395 * net/newst-treeview.el (newsticker-groups-filename):
3396 Fix incorrect obsolescence declaration.
59f7af81
CY
3397
3398 * allout.el (allout-passphrase-hint-string): Likewise.
3399 (allout-init): Use a declare form to mark obsolete.
3400
3401 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
3402 this applies to functions.
3403
3404 * iswitchb.el (iswitchb-read-buffer): Move code of
3405 iswitchb-define-mode-map here, and delete that obsolete function.
3406
3407 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
3408 font-lock-reference-face.
3409
cca96c97
GM
34102012-09-25 Glenn Morris <rgm@gnu.org>
3411
b06eeda8
GM
3412 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
3413 Doc fixes.
3414
cca96c97
GM
3415 * eshell/em-term.el (eshell-term-name):
3416 Default to term-term-name. (Bug#12485)
3417
dc4f818b
FEG
34182012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
3419
cca96c97
GM
3420 * progmodes/python.el (python-shell-send-buffer): Better handling
3421 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 3422
289c24bd
GM
34232012-09-24 Glenn Morris <rgm@gnu.org>
3424
3425 * eshell/esh-cmd.el (eshell-find-alias-function):
3426 Tighten up file-name regexp. (Bug#12499)
3427
8fb8b88f
FEG
34282012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
3429
3430 Enhancements for triple-quote string syntax.
3431 * progmodes/python.el (python-quote-syntax): Remove.
3432 (python-syntax-propertize-function): New value.
07b1a5fb
SM
3433 (python-syntax-count-quotes, python-syntax-stringify):
3434 New functions.
8fb8b88f 3435
6c27f0f8
CY
34362012-09-24 Chong Yidong <cyd@gnu.org>
3437
a5f2b6ec
CY
3438 * mail/supercite.el (sc-version): Remove obsolete function.
3439 (sc-describe): Don't mark as obsolete, since it is bound.
3440 (sc-submit-bug-report): Remove.
3441
3442 * vc/log-edit.el (cvs-changelog-full-paragraphs)
3443 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
3444 (log-edit-require-final-newline)
3445 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
3446
3447 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
3448 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
3449 * vc/vc.el (vc-checkout-carefully): Likewise.
3450
3451 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
3452 (emerge-version): Remove.
3453
3454 * progmodes/compile.el (compile-internal): Remove.
3455 (compilation-parse-errors-function): Fix typo.
3456
3457 * international/mule.el (set-char-table-default): Remove.
3458 (set-coding-priority, make-coding-system, generic-char-p)
3459 (charset-list, charset-bytes, charset-id): Use declare to mark
3460 functions as obsolete.
3461
3462 * vc/pcvs-defs.el (cvs-buffer-name-alist)
3463 (cvs-invert-ignore-marks): Remove references to obsolete vars.
3464 * vc/vc-hooks.el (vc-default-registered): Don't use
3465 vc-master-templates.
3466
07b1a5fb
SM
3467 * font-lock.el (font-lock-reference-face):
3468 Use define-obsolete-variable-alias.
6c27f0f8
CY
3469
3470 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
3471 * calendar/calendar.el (calendar-font-lock-keywords):
3472 * calendar/diary-lib.el (diary-font-lock-keywords)
3473 (diary-fancy-font-lock-keywords):
3474 * textmodes/reftex-sel.el (reftex-insert-docstruct):
3475 * textmodes/reftex-index.el (reftex-insert-index):
3476 * textmodes/reftex-cite.el (reftex-format-bib-entry):
3477 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3478 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
3479 * progmodes/prolog.el (prolog-font-lock-keywords):
3480 * progmodes/idlwave.el (idlwave-idl-keywords):
3481 * progmodes/ada-mode.el (ada-font-lock-keywords):
3482 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
3483
bcc0adbf
GM
34842012-09-24 Glenn Morris <rgm@gnu.org>
3485
3486 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
3487
095bb823
FEG
34882012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
3489
3490 * progmodes/python.el (python-indent-line): More consistent cursor
3491 movement behavior.
3492
70efc5c9
SM
34932012-09-23 Stefan Merten <smerten@oekonux.de>
3494
3495 * textmodes/rst.el: Fix compiler warning.
3496
2f438239
RW
34972012-09-23 Roland Winkler <winkler@gnu.org>
3498
07b1a5fb
SM
3499 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
3500 Transcribe also LaTeX hyphenation.
2f438239
RW
3501 (bibtex-reformat): Bug fix. Do not quote twice the elements of
3502 bibtex-reformat-previous-options.
3503
936ad041
RW
35042012-09-23 Roland Winkler <winkler@gnu.org>
3505
3506 * proced.el (proced-renice-command): New variable.
3507 (proced-marked-processes): New function.
3508 (proced-with-processes-buffer): New macro.
3509 (proced-send-signal): Use them.
3510 (proced-renice): New command bound to r.
3511
6fab0274
RW
35122012-09-23 Roland Winkler <winkler@gnu.org>
3513
3514 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
3515 ibuffer-saved-filter-groups has one element, shortcut the call of
3516 completing-read. (Bug#12331)
3517
9a930676
CY
35182012-09-23 Chong Yidong <cyd@gnu.org>
3519
3520 * bindings.el (mode-line-toggle-read-only):
3521 * bs.el (bs-toggle-readonly):
3522 * buff-menu.el (Buffer-menu-toggle-read-only):
3523 * dired.el (dired-toggle-read-only):
3524 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
3525
d07ff9db
CY
35262012-09-23 Chong Yidong <cyd@gnu.org>
3527
3528 * image.el (image-type-available-p): Adapt to init-image-library
3529 argument changes.
3530
51c4474e
JL
35312012-09-22 Juri Linkov <juri@jurta.org>
3532
3533 * dired.el (dired-mode-map): Add [remap read-only-mode] for
3534 `dired-toggle-read-only'. (Bug#12462)
3535
43bf5e8e
MR
35362012-09-22 Martin Rudalics <rudalics@gmx.at>
3537
3538 * subr.el (temp-output-buffer-show): New function.
3539 (with-output-to-temp-buffer): Call temp-output-buffer-show
3540 instead of internal-temp-output-buffer-show.
3541
c88b867f
CY
35422012-09-22 Chong Yidong <cyd@gnu.org>
3543
3df47cd5
CY
3544 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
3545 (Bug#12462).
3546
c88b867f
CY
3547 * repeat.el (repeat): Doc fix (Bug#12348).
3548
3549 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
3550 (Bug#10909).
3551
3552 * simple.el (shell-command-on-region): Doc fix.
3171e303 3553 (read-only-mode): Doc fix.
c88b867f 3554
df9685f3
EZ
35552012-09-22 Eli Zaretskii <eliz@gnu.org>
3556
3557 * emacs-lisp/timer.el (run-with-idle-timer)
3558 (timer-activate-when-idle): Warn against reinvoking an idle timer
3559 from within its own timer action. (Bug#12447)
3560
8e17c9ba
MR
35612012-09-22 Martin Rudalics <rudalics@gmx.at>
3562
3563 * cus-start.el (window-combination-limit): Add new optional
3564 values.
3565 * window.el (temp-buffer-window-show)
3566 (window--try-to-split-window): Handle new values of
3567 window-combination-limit (Bug#1806).
3568 (split-window): Test window-combination-limit for t instead of
3569 non-nil.
3570 (display-buffer-at-bottom): New buffer display action function.
3571 * help.el (temp-buffer-resize-regexps): New option.
3572 (temp-buffer-resize-mode): Rewrite doc-string.
3573 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 3574 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 3575
48a24920
SM
35762012-09-22 Stefan Merten <smerten@oekonux.de>
3577
70efc5c9 3578 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
3579 (rst-official-version)
3580 (rst-package-emacs-version-alist): Sync with official version
3581 V1.4.0.
3582 (rst-faces-defaults, rst-set-level-default)
3583 (rst-level-face-max, rst-level-face-base-color)
3584 (rst-level-face-base-light, rst-level-face-format-light)
3585 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
3586 (rst-adornment-faces-alist): Match new setup.
3587 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
3588 (rst-level-5, rst-level-6): New faces.
3589
82f8cd94
CY
35902012-09-22 Chong Yidong <cyd@gnu.org>
3591
3592 * simple.el (undo): Handle indirect buffers (Bug#8207).
3593
acfa068f 35942012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
3595
3596 IDO: Disable match re-ordering for buffer switching.
2bc9406c 3597 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
3598 (ido-set-matches-1): Use it. (Bug#2042)
3599
acfa068f 36002012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
3601
3602 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
3603 Fix 2011-05-17 change. (Bug#12418)
3604
acfa068f 36052012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
3606
3607 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
3608
acfa068f 36092012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
3610
3611 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
3612 Be more robust about locating simple.el.
3613
acfa068f 36142012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
3615
3616 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
3617
acfa068f
CY
36182012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
3619
3620 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
3621
41a97e6f
JL
36222012-09-20 Juri Linkov <juri@jurta.org>
3623
eb2deaff
JL
3624 * replace.el (query-replace-read-from): Use `read-regexp' instead
3625 of `read-from-minibuffer' when `regexp-flag' is non-nil.
3626 (occur-read-primary-args): Use `read-regexp' instead of
3627 `read-string'.
3628 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
3629 `read-from-minibuffer'.
3630 * isearch.el (isearch-occur): Use `read-regexp' instead of
3631 `read-string'.
3632 * dired.el (dired-read-regexp): Use `read-regexp' instead of
3633 `read-from-minibuffer'.
3634 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
3635 of `read-string'. (Bug#7567)
3636
5825610b
JL
3637 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
3638 and allow accepting a list of strings prepended to a list of
3639 standard default values. Doc fix. (Bug#12321)
3640
eebbf404
JL
3641 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
3642
41a97e6f
JL
3643 * replace.el (read-regexp): Don't add ": " when PROMPT already
3644 ends with a colon and space. (Bug#12321)
3645
c9e452d3
TH
36462012-09-20 Tassilo Horn <tsdh@gnu.org>
3647
3648 * doc-view.el (doc-view-display): Better fix for the cl-assertion
3649 error.
3650
ee97deee
SM
36512012-09-20 Stefan Merten <smerten@oekonux.de>
3652
70efc5c9 3653 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
3654 Fixes feature request bug#11711.
3655 (rst-mode): Create `imenu-create-index-function'.
3656 (rst-get-stripped-line): Delete after refactoring.
3657 (rst-section-tree, rst-section-tree-rec)
3658 (rst-section-tree-point): Refactor and document properly.
3659 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
3660 (rst-imenu-convert-cell, rst-imenu-create-index):
3661 New function.
ee97deee 3662
f490dab9
SM
36632012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3664
95b9712e
SM
3665 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
3666 (macroexp--expand-all): Use it.
3667 (macroexp--funcall-and-return): Remove by folding it into its sole
3668 caller (macroexp--warn-and-return).
3669 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
3670 Use macroexp--obsolete-warning.
3671
f490dab9
SM
3672 * calc/calc.el: Fix last change by removing the whole chunk, since it
3673 was only needed back when Calc was not bundled.
3674
96e8d411
MR
36752012-09-20 Martin Rudalics <rudalics@gmx.at>
3676
3677 * emacs-lisp/debug.el (debug): Restore assignment to
3678 debugger-old-buffer removed on 2012-09-08.
3679
0876a82d
JL
36802012-09-20 Juri Linkov <juri@jurta.org>
3681
3682 * dired-aux.el (dired-diff): Remove (require 'diff) since
3683 `diff-latest-backup-file' is now autoloaded.
3684
9f7c28f0
CY
36852012-09-20 Chong Yidong <cyd@gnu.org>
3686
3687 * vc/diff.el (diff-latest-backup-file): Autoload.
3688
7a04bee9
SM
36892012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3690
e6f0a80d
SM
3691 * calc/calc.el: Remove redundant autoload shape check.
3692 (sel-mode): Don't defvar.
3693 (calc-get-stack-element): Add `sel-mode' arg instead.
3694 (calc-top, calc-top-list): Pass it this additional argument.
3695 * calc/calc-store.el (calc-store-map):
3696 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
3697 (calc-map-equation, calc-outer-product, calc-inner-product):
3698 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
3699
7a04bee9
SM
3700 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
3701
12734222
JL
37022012-09-19 Juri Linkov <juri@jurta.org>
3703
3704 * dired-aux.el (dired-diff): Add (require 'diff) because
3705 `diff-latest-backup-file' is not autoloaded.
3706 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
3707 of `dired-get-filename' to t to not report error when there is
3708 no default file on the current line.
3709
46624b4f
SM
37102012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3711
ce97595b
SM
3712 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
3713 macroexp--eval-if-compile.
3714 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
3715 (macroexp--expand-all): Use them (bug#12371).
3716
46624b4f
SM
3717 * doc-view.el (doc-view-guess-paper-size)
3718 (doc-view-scale-bounding-box): Fix unbound `caddr'.
3719
db8a5a18
TH
37202012-09-19 Tassilo Horn <tsdh@gnu.org>
3721
3722 New feature: set optimal slice from BoundingBox information.
3723 * doc-view.el (doc-view-mode-map): Add keybinding.
3724 (doc-view-menu): Add menu entry.
3725 (doc-view-set-slice): Adapt docstring.
3726 (doc-view-get-bounding-box, doc-view-guess-paper-size)
3727 (doc-view-scale-bounding-box)
3728 (doc-view-set-slice-from-bounding-box): New functions.
3729 (doc-view-paper-sizes): New defvar.
3730
69f6644c
GM
37312012-09-19 Glenn Morris <rgm@gnu.org>
3732
35f5b19d
GM
3733 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
3734 (byte-compile-log-warning): Autoload. (Bug#12371)
3735
69f6644c
GM
3736 * calendar/calendar.el (calendar-american-month-header)
3737 (calendar-european-month-header, calendar-iso-month-header)
3738 (calendar-month-header): New options.
3739 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
3740 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
3741
e543ae91
JD
37422012-09-19 Jan Djärv <jan.h.d@swipnet.se>
3743
3744 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
3745
2fd5e67d
JL
37462012-09-18 Juri Linkov <juri@jurta.org>
3747
3748 * dired-aux.el (dired-diff): Restore original functionality of
3749 getting the default value, but keep new feature of using the
3750 latest existing backup file (`diff-latest-backup-file').
3751
42917e79
JL
37522012-09-18 Juri Linkov <juri@jurta.org>
3753
3754 * dired.el (dired-mark): If the region is active in Transient Mark
3755 mode, mark all files in the active region. Doc fix.
3756 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
3757 Doc fix. (Bug#10624)
3758
20f70ede
JL
37592012-09-18 Juri Linkov <juri@jurta.org>
3760
3761 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
3762 attributes for M-n are pulled from the file at point.
3763 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
3764 Suggested by Drew Adams. (Bug#10624)
3765
32fb8162
DG
37662012-09-18 Dmitry Gutov <dgutov@yandex.ru>
3767
3768 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
3769 whitespace after "end".
3770 (ruby-do-end-to-brace): Collapse block to one line if it fits
3771 within fill-column.
3772
37ab5092
MR
37732012-09-18 Martin Rudalics <rudalics@gmx.at>
3774
3775 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
3776 value.
3777 (debug): Don't remove debugger window when debugger is expected
3778 to be back.
3779
ed1f0bd3
CY
37802012-09-18 Chong Yidong <cyd@gnu.org>
3781
3782 * custom.el (defface): Doc fix.
3783
3784 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
3785
a11035b8
MB
37862012-09-18 Martin Blais <blais@furius.ca> (tiny change)
3787
3788 * progmodes/compile.el (compilation-start): Use compilation-always-kill
3789 to initialize query-on-exit; then test that instead (bug#12288).
3790
64f6a736
SM
37912012-09-17 Stefan Merten <smerten@oekonux.de>
3792
70efc5c9 3793 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
3794 (rst-defcustom-testcover, rst-testcover-add-compose)
3795 (rst-testcover-add-1value): New functions.
3796 (rst-portable-mark-active-p): Replace by `use-region-p'.
3797 (rst-update-section, rst-classify-adornment)
3798 (rst-find-title-line): Mark `1value' forms.
3799 (rst-classify-adornment): Remove superfluous form.
3800 (rst-update-section, rst-get-adornments-around)
3801 (rst-adornment-complete-p, rst-get-next-adornment)
3802 (rst-adjust, rst-promote-region)
3803 (rst-display-adornments-hierarchy, rst-straighten-adornments)
3804 (rst-find-pfx-in-region, rst-section-tree-rec)
3805 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
3806 (rst-toc-node, rst-toc, rst-forward-section)
3807 (rst-iterate-leftmost-paragraphs)
3808 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
3809 (rst-bullet-list-region)
3810 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
3811 (rst-compile-find-conf, rst-compile)
3812 (rst-repeat-last-character): Fix style.
3813
580bd868
CY
38142012-09-17 Chong Yidong <cyd@gnu.org>
3815
3816 * comint.el (comint--complete-file-name-data): Don't add a space
3817 if the status is `sole'; that adds a gratuitous space in the
3818 completion-cycling case (Bug#12092).
3819
3820 * pcomplete.el (pcomplete-completions-at-point): Likewise.
3821
69de3ec6
RS
38222012-09-17 Richard Stallman <rms@gnu.org>
3823
0dee970c
RS
3824 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
3825 only in the mime-shown mode, not in raw mode.
3826 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 3827 mime processing. (Bug#12305)
0dee970c 3828
6b250df6
GM
3829 * mail/rmail.el (rmail-retry-failure):
3830 Turn off mime processing first. (Bug#12037)
acb1c47b 3831
69de3ec6
RS
3832 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
3833
d079ee5f
CY
38342012-09-17 Chong Yidong <cyd@gnu.org>
3835
3836 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
3837 (shell-dynamic-complete-functions): Convert to defcustom.
3838 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
3839
865fe16f
CY
3840 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
3841 * comint.el (comint-prompt-read-only):
3842 * custom.el (defcustom):
3843 * hi-lock.el (hi-lock-mode):
3844 * ibuffer.el (ibuffer-formats):
3845 * ielm.el (ielm-prompt-read-only):
3846 * novice.el (disable-command):
3847 * saveplace.el (toggle-save-place):
3848 * speedbar.el (speedbar-supported-extension-expressions):
3849 * startup.el (auto-save-list-file-prefix, init-file-user)
3850 (after-init-hook, inhibit-startup-echo-area-message):
3851 * strokes.el (strokes-help):
3852 * time-stamp.el (time-stamp):
3853 * calendar/calendar.el (calendar, diary-file):
3854 * calendar/diary-lib.el (diary-mail-entries, diary)
3855 (diary-list-entries-hook):
3856 * calendar/holidays.el (holidays, calendar-holidays):
3857 * calendar/lunar.el (lunar-phases):
3858 * calendar/solar.el (sunrise-sunset):
3859 * emulation/edt.el (edt-load-keys):
3860 * emulation/viper.el (viper-mode):
3861 * eshell/em-alias.el (eshell-command-aliases-list):
3862 * eshell/esh-util.el (eshell-convert-numeric-arguments):
3863 * international/ogonek.el (ogonek-information):
3864 * net/tramp-cmds.el (tramp-bug):
3865 * net/quickurl.el (quickurl-reread-hook-postfix):
3866 * play/decipher.el (decipher-font-lock-keywords):
3867 * progmodes/cc-styles.el (c-set-style):
3868 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
3869 * progmodes/inf-lisp.el (inferior-lisp-prompt):
3870 * progmodes/octave-mod.el (octave-mode):
3871 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
3872 * progmodes/verilog-mode.el (verilog-read-defines):
3873 * textmodes/two-column.el (2C-mode): Likewise.
3874
48093eb9
KY
38752012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
3876
3877 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
3878 that holds many addresses.
3879
c584eaf9
CY
38802012-09-16 Chong Yidong <cyd@gnu.org>
3881
40d70ecb
CY
3882 * align.el (align-areas): Call the indication function with
3883 positions instead of markers for arguments (Bug#12343).
3884
1667e065
CY
3885 * files.el (parse-colon-path): Use split-string (Bug#12351).
3886
fdc2806d 3887 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 3888 (display-buffer-function): Mark as obsolete.
fdc2806d 3889
f1be615c 3890 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
3891 values similar to font-lock-keywords (Bug#12136).
3892 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
3893 (compilation-error-regexp-alist): Doc fix.
3894
f40a9709
GM
38952012-09-15 Glenn Morris <rgm@gnu.org>
3896
72aa16e1
GM
3897 * version.el (emacs-bzr-version-bzr): New function.
3898 (emacs-bzr-get-version): Add optional EXTERNAL argument.
3899
82375160
GM
3900 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
3901 checkouts, check the parent dirstate matches the branch.
3902 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
3903 empty string.
3904
f40a9709
GM
3905 * version.el (emacs-bzr-version): Doc fix.
3906 (emacs-bzr-version-dirstate): New function.
3907 (emacs-bzr-get-version): For lightweight checkouts, if the parent
3908 is local try and check that it matches the branch. If not, just
3909 use dirstate information. (Bug#12441)
3910
cb26b7f5
JL
39112012-09-14 Juri Linkov <juri@jurta.org>
3912
3913 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
3914 (Bug#12399)
3915
2de39f08
SM
39162012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3917
0fb3cb7c
SM
3918 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
3919
2de39f08
SM
3920 * emacs-lisp/edebug.el: Miscellaneous cleanup.
3921 Remove obsolete byte-compiler hack that tried to silence some warnings.
3922 (edebug-submit-bug-report): Remove.
3923 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
3924 Remove aliases, use the un-prefixed name instead.
3925 (edebug-pop-to-buffer): Consider other frames.
3926 (edebug-original-read):: Make it more obvious that it's always defined.
3927 (edebug--make-form-data-entry, edebug--form-data-name)
3928 (edebug--form-data-begin, edebug--form-data-end): Rename from the
3929 single-dashed name, and implement with cl-defstruct.
3930 (edebug-set-form-data-entry): Use the standard accessors.
3931 (edebug-make-top-form-data-entry): Use push.
3932 (edebug-no-match): Drop useless `funcall'.
3933 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
3934 to functions.
3935 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
3936 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
3937 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
3938 (easy-menu-define, with-custom-print): Remove redundant specs.
3939 (edebug-outside-overriding-local-map)
3940 (edebug-outside-overriding-terminal-local-map): Remove, unused.
3941 (edebug--display): Bind unread-command-events directly to nil rather
3942 than binding it to unread-command-events and later setting it to nil.
3943 (edebug--display): Kill edebug-eval-buffer here...
3944 (edebug--recursive-edit): ...rather than here.
3945 Bind standard-output and standard-input.
3946 (edebug-eval): Check cl-macroexpand-all is fboundp.
3947 (edebug-temp-display-freq-count): Fix last change.
3948
3949 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
3950 * subr.el (noreturn, 1value): Add `debug' spec.
3951 * emacs-lisp/advice.el: Require cl-lib.
3952 (ad-copy-tree): Remove, use copy-tree instead.
3953 (ad-dolist): Remove use dolist or cl-dolist instead.
3954 (ad-do-return): Remove, use cl-return instead.
3955 (defadvice): Add `debug' spec.
3956
5b68b333
JL
39572012-09-13 Juri Linkov <juri@jurta.org>
3958
3959 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
3960 (Bug#12399)
3961
b9800ec4
GM
39622012-09-13 Glenn Morris <rgm@gnu.org>
3963
6a2e6868
GM
3964 * calc/calc.el (math-compose-expr):
3965 * calc/calc-ext.el (math-compose-expr):
3966 * progmodes/cc-defs.el (cl-macroexpand-all):
3967 * progmodes/cc-langs.el (delete-duplicates, mapcan)
3968 (cl-macroexpand-all): Update declarations.
3969
b9800ec4
GM
3970 * vc/vc.el: No need to require ediff.
3971 (ediff-load-version-control): Declare.
3972 (ediff-vc-internal): Fix declaration.
3973 (vc-version-ediff): Require ediff.
3974
c18e885b
PE
39752012-09-13 Paul Eggert <eggert@cs.ucla.edu>
3976
3977 Use a more backwards-compatible timer format (Bug#12430).
3978 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
3979 being right after USECS, as that better supports old code that
3980 inadvisedly looked directly at the timer vector.
3981
d607d303
KH
39822012-09-13 Kenichi Handa <handa@gnu.org>
3983
3984 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
3985 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
3986 `coding-priority' property of these language environment.
3987
72eac303
PE
39882012-09-13 Paul Eggert <eggert@cs.ucla.edu>
3989
3990 Fix glitches caused by addition of psec to timers (Bug#12430).
3991 * image.el (image-animate-timer):
3992 * time.el (display-time-world-timer):
3993 Use timer--function and timer--args rather than raw access to
3994 timer vector.
3995
2168fe4f
GM
39962012-09-13 Glenn Morris <rgm@gnu.org>
3997
3998 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
3999 If not compiling a file, try using load-file-name.
4000
bd8d6108
SM
40012012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4002
c0c54fbd
SM
4003 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
4004 Fix last change.
4005 (edebug-update-eval-list): Use `push'.
4006
bd8d6108
SM
4007 * emacs-lisp/edebug.el: Use lexical-binding.
4008 Remove the "edebug-" prefix from non-dynamically-scoped variables.
4009 Mark unused args with underscore.
4010 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
4011 (edebug-form-data): Use defvar-local.
4012 (edebug-make-before-and-after-form, edebug-make-after-form):
4013 Use backquote.
4014 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
4015 Not dynamically scoped any more.
4016 (edebug--enter-trace): Add arguments `function' and `args'.
4017 Rename from edebug-enter-trace.
4018 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
4019 (edebug--update-coverage): Add `after-index' and `value' args.
4020 Rename from edebug-update-coverage.
4021 (edebug-slow-after): Call it accordingly.
4022 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
4023 edebug-recursive-edit.
4024 (edebug--display): Call it accordingly. Add args `value',
4025 `offset-index', and `arg-mode'. Rename from edebug-display.
4026 (edebug-debugger, edebug): Call it accordingly.
4027 (edebug-eval-display-list): Use dolist.
4028
a9f9d9de
JL
40292012-09-12 Juri Linkov <juri@jurta.org>
4030
4031 * info.el (Info-search): Don't check for isearch-mode and
4032 isearch-regexp before let-binding search-spaces-regexp to
4033 Info-search-whitespace-regexp.
4034 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
4035 search-whitespace-regexp if isearch-lax-whitespace or
4036 isearch-regexp-lax-whitespace is non-nil.
4037 (Info-mode): Don't set local variable search-whitespace-regexp.
4038 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
4039
bfeae2cf
SM
40402012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4041
4042 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
4043 (debugger-env-macro): Remove support for unread-command-char.
4044
4045 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
4046 the temporary map re-appearing on emulation-mode-map-alists.
4047
4048 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
4049 since 22.1.
4050
4051 * ehelp.el (with-electric-help): Accept functions in
4052 electric-help-form-to-execute.
4053 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
4054 And replace unread-command-char -> unread-command-events.
4055
fbbcaf1b
MA
40562012-09-12 Michael Albinus <michael.albinus@gmx.de>
4057
4058 Sync with Tramp 2.2.6.
4059
4060 * net/tramp.el (tramp-accept-process-output): Don't use
4061 JUST-THIS-ONE in the XEmacs case.
4062
4063 * net/trampver.el: Update release number.
4064
4dece104
MR
40652012-09-12 Martin Rudalics <rudalics@gmx.at>
4066
bfeae2cf
SM
4067 * emacs-lisp/debug.el (debugger-previous-window-height):
4068 New variable.
4dece104
MR
4069 (debug): When debugger-jumping-flag is non-nil try to restore
4070 height of debugger window. (Bug#8789)
4071
45b82ad0
SM
40722012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4073
60c49c0f
SM
4074 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
4075 overriding-local-map and pre/post-command-hook here.
4076 (edebug-recursive-edit): Do it here instead (bug#12345).
4077 (edebug-outside-unread-command-char): Remove all uses of
4078 unread-command-char.
4079
45b82ad0
SM
4080 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
4081 inhibit-debugger is bound instead.
4082
baa26ea0
BG
40832012-09-11 Bastien Guerry <bzg@gnu.org>
4084
4085 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 4086 (Bug#12346)
baa26ea0 4087
04e8abfa
BG
40882012-09-11 Bastien Guerry <bzg@gnu.org>
4089
96d03571 4090 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 4091 (Bug#12347)
96d03571
BG
4092
40932012-09-11 Bastien Guerry <bzg@gnu.org>
4094
fc0c31f8 4095 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 4096
04e082b0
MM
40972012-09-10 Michael R. Mauger <mmaug@yahoo.com>
4098
4099 * progmodes/sql.el: Version 3.1
4100 (sql-db2-escape-newlines): New variable.
4101 (sql-escape-newlines-filter): Use it.
4102
399a361b
JB
41032012-09-10 Juanma Barranquero <lekktu@gmail.com>
4104
4105 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
4106
0780c517
DN
41072012-09-10 Dan Nicolaescu <dann@gnu.org>
4108
45b82ad0
SM
4109 * vc/diff-mode.el (diff-mode-menu):
4110 Bind diff-remove-trailing-whitespace.
0780c517 4111
9b851e25
SM
41122012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4113
4114 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
4115 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
4116 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
4117 (eval-sexp-add-defvars): Don't skip defvars in column >0.
4118 (eval-defun-2): Remove bogus interactive spec.
4119 (lisp-indent-line): Remove redundant whole-exp code, now done in
4120 indent-according-to-mode.
4121 (save-match-data): Remove redundant indent data.
4122
4123 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
4124 Use `declare'.
4125
3231d532
JL
41262012-09-09 Juri Linkov <juri@jurta.org>
4127
4128 * replace.el (replace-regexp-lax-whitespace): New defcustom.
4129 (replace-lax-whitespace, query-replace-regexp)
4130 (query-replace-regexp-eval, replace-regexp): Doc fix.
4131 (perform-replace, replace-highlight): Let-bind
4132 isearch-lax-whitespace to replace-lax-whitespace and
4133 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
4134
4135 * isearch.el (isearch-query-replace): Let-bind
4136 replace-lax-whitespace to isearch-lax-whitespace and
4137 replace-regexp-lax-whitespace to
4138 isearch-regexp-lax-whitespace. (Bug#10885)
4139
70fe8236
SM
41402012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
4141
4142 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
4143
8ed43f15
AM
41442012-09-09 Alan Mackenzie <acm@muc.de>
4145
70fe8236
SM
4146 * progmodes/cc-engine.el (c-state-cache-init):
4147 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
4148 (c-record-parse-state-state):
4149 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 4150
bfabf70a
AS
41512012-09-09 Andreas Schwab <schwab@linux-m68k.org>
4152
4153 * register.el (register-separator): Rename from
4154 separator-register. All uses changed. Doc fix.
4155 (register): Fix version.
4156
011474aa
CY
41572012-09-09 Chong Yidong <cyd@gnu.org>
4158
4159 * replace.el (query-replace-map): Bind four new symbols for
4160 requesting window scrolling.
4161
4162 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
4163 query-replace-map (Bug#8948).
4164
4165 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
4166
4167 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
4168 since they are now in query-replace-map.
4169
4170 * window.el (scroll-other-window-down): Make the arg optional.
4171
a8b7cd8d
CY
41722012-09-09 Chong Yidong <cyd@gnu.org>
4173
4174 * files.el (hack-local-variables-confirm): Use quit-window to kill
4175 the *Local Variables* buffer.
4176
c3268831
DG
41772012-09-08 Dmitry Gutov <dgutov@yandex.ru>
4178
4179 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
4180 not just expect to be at its beginning. Adjust callees.
4181 Succeed when do-end block has no space before the pipe character.
4182 (ruby-brace-to-do-end): When the original block is one-liner,
4183 convert to multiline. Reindent the result.
4184
0979429b
J
41852012-09-08 Jambunathan K <kjambunathan@gmail.com>
4186
4187 * register.el (register): New group.
27359e99 4188 (separator-register): New user option.
0979429b
J
4189 (increment-register): Route it to `append-to-register', if
4190 register contains text. Implication is that `C-x r +' can now be
4191 used for appending to a text register (bug#12217).
4192 (append-to-register, prepend-to-register): Add separator based on
5b9c45a6 4193 `separator-register'.
0979429b 4194
ace2989a
AM
41952012-09-08 Alan Mackenzie <acm@muc.de>
4196
4197 AWK Mode: make auto-newline work when there's "==" in the pattern.
4198 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
4199 correctly.
0979429b
J
4200 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
4201 Test more rigorously for "=" token.
ace2989a 4202
616c6c36
DG
42032012-09-08 Dmitry Gutov <dgutov@yandex.ru>
4204
0979429b
J
4205 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
4206 Only fail when reached LIMIT.
616c6c36 4207
35d98877
CY
42082012-09-08 Chong Yidong <cyd@gnu.org>
4209
4210 * dired.el (dired-mode-map): Don't bind M-=.
4211
4212 * dired-aux.el (dired-diff): Use backup file as default.
4213
1715f2db
DA
42142012-09-08 Drew Adams <drew.adams@oracle.com>
4215
4216 * subr.el (add-to-history): Fix delete usage (Bug#12314).
4217
6dcef6ec
CY
42182012-09-08 Chong Yidong <cyd@gnu.org>
4219
4220 * subr.el (syntax-after, syntax-class): Doc fix.
4221
fa2bcf43
MR
42222012-09-08 Martin Rudalics <rudalics@gmx.at>
4223
4224 * window.el (display-buffer-in-previous-window): New buffer
4225 display action function.
4226
4227 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
4228 (debugger-previous-window): New variable.
4229 (debug): Rewrite using display-buffer-in-previous-window,
4230 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
4231
daac280a
SM
42322012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
4233
4234 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
4235
9dd40b00
MM
42362012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
4237
daac280a
SM
4238 * progmodes/python.el (python-shell-send-string):
4239 When default-directory is remote, create temp file on remote
9dd40b00
MM
4240 filesystem.
4241 (python-shell-send-file): When file is remote, pass local view of
4242 file paths to remote Python interpreter. (Bug#12340)
4243
145823ec
CY
42442012-09-07 Chong Yidong <cyd@gnu.org>
4245
cee2e90d
CY
4246 * window.el (switch-to-buffer): Doc fix (Bug#12181).
4247
0d7eb2ea
CY
4248 * files.el (after-find-file): Don't fail on a read-only buffer if
4249 require-final-newline is `visit' or `visit-save' (Bug#11156).
4250
145823ec
CY
4251 * subr.el (read-char-choice): Allow quitting via ESC ESC.
4252
daac280a
SM
4253 * userlock.el (ask-user-about-supersession-threat):
4254 Use read-char-choice (Bug#12093).
145823ec 4255
74c582e6
CY
42562012-09-07 Chong Yidong <cyd@gnu.org>
4257
e5c2edf7
CY
4258 * subr.el (buffer-narrowed-p): New function.
4259
4260 * ses.el (ses-widen):
4261 * simple.el (count-words--buffer-message):
1f9f395d 4262 * net/browse-url.el (browse-url-of-buffer): Use it.
e5c2edf7
CY
4263
4264 * simple.el (count-words-region): Don't signal an error if there
4265 is a non-nil prefix arg and the mark is not set.
c640e87d 4266
74c582e6
CY
4267 * help.el (describe-key-briefly): Allow the message to be seen
4268 when invoked from the minibuffer (Bug#7014).
4269
d81ceaaf
DG
42702012-09-07 Dmitry Gutov <dgutov@yandex.ru>
4271
4272 * progmodes/ruby-mode.el (ruby-end-of-defun)
4273 (ruby-beginning-of-defun): Simplify, allow indentation before
4274 block beginning and end keywords.
8f06acce
DG
4275 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
4276 (ruby-end-of-defun): Expect that the point is at the beginning of
4277 the defun.
d81ceaaf 4278
d458ef98
SM
42792012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4280
4281 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
4282 (bug#12367).
4283 (cl--make-usage-args): Strip _ from argument names.
4284
20367d28
RS
42852012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4286
4287 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
4288 obsolete alias speedbar-key-map.
4289 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
4290 (vhdl-index-menu-init): Don't use obsolete variable
4291 font-lock-maximum-size.
4292
3424a4f6
CY
42932012-09-06 Chong Yidong <cyd@gnu.org>
4294
4295 * frame.el (window-system-version): Mark as obsolete.
4296
fcbfbdea
CY
4297 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
4298 of obsolete variable speedbar-key-map.
4299
826b3235
JL
43002012-09-06 Juri Linkov <juri@jurta.org>
4301
4302 * replace.el (replace-lax-whitespace): New defcustom.
4303 (query-replace, query-replace-regexp, query-replace-regexp-eval)
4304 (replace-string, replace-regexp): Mention it in docstrings.
4305 (perform-replace, replace-highlight): Let-bind
4306 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
4307 to the values of replace-lax-whitespace and regexp-flag.
4308 Don't let-bind search-whitespace-regexp. (Bug#10885)
4309
4310 * isearch.el (isearch-query-replace): Let-bind
4311 replace-lax-whitespace instead of let-binding
4312 replace-search-function and replace-re-search-function.
4313 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
4314 and isearch-regexp-lax-whitespace to lazy-highlight variables.
4315 (isearch-toggle-symbol): Set isearch-regexp to nil
4316 in isearch-word mode (like in isearch-toggle-word).
4317
1ec5e41d
JL
43182012-09-06 Juri Linkov <juri@jurta.org>
4319
4320 * replace.el (replace-search-function)
4321 (replace-re-search-function): Set default values to nil.
4322 (perform-replace): Let-bind isearch-related variables based on
4323 replace-related values, call `isearch-search-fun' and let-bind
4324 the result to `search-function'. Remove code that sets
4325 `search-function' and `search-string' separately for
4326 `delimited-flag'.
4327 (replace-highlight): Add new argument `delimited-flag' and
4328 rename other arguments to the names used in `perform-replace'.
4329 Let-bind `isearch-word' to the argument `delimited-flag'.
4330 (Bug#10885, bug#10887)
4331
0ba2d4b6
DG
43322012-09-07 Dmitry Gutov <dgutov@yandex.ru>
4333
4334 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
4335 ruby-beginning-of-indent, simplify, allow all keywords to have
4336 indentation before them.
4337 (ruby-beginning-of-indent): Adjust for above. Search until the
4338 found point is not inside a string or comment.
4339 (ruby-font-lock-keywords): Allow symbols to start with "@"
4340 character, give them higher priority than variables.
4341 (ruby-syntax-propertize-function)
4342 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
4343 matchers. Expression expansions are not comments when inside a
4344 string, and there comment syntax status is irrelevant.
4345 (ruby-match-expression-expansion): New function. Check that
4346 expression expansion is inside a string, and it's not escaped.
4347 (ruby-font-lock-keywords): Use it.
4348
ef654460
MR
43492012-09-05 Martin Rudalics <rudalics@gmx.at>
4350
4351 * help.el (temp-buffer-max-height): New default value.
4352 (temp-buffer-resize-frames): New option.
4353 (resize-temp-buffer-window): Optionally resize frame.
4354
4355 * window.el (fit-frame-to-buffer-bottom-margin): New option.
4356 (fit-frame-to-buffer): New function.
4357
7e570fbf 43582012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
4359
4360 * emulation/cua-rect.el (cua--init-rectangles):
4361 * textmodes/picture.el (picture-mode-map):
4362 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
4363 like forward-char and backward-char. (Bug#12317)
4364
7e570fbf 43652012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
4366
4367 * progmodes/flymake.el (flymake-warning-re): New variable.
4368 (flymake-parse-line): Use it.
4369
7e570fbf 43702012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
4371
4372 * calendar/holidays.el (holiday-christian-holidays):
4373 Rename an entry. (Bug#12289)
4374
7e570fbf 43752012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
4376
4377 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
4378 (bug#12222).
4379
972debf2
SM
43802012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4381
4382 * loadup.el: Load macroexp. Remove hack.
4383 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
4384 (macroexp--expand-all): Use it to get better warnings.
4385 (macroexp--backtrace, macroexp--trim-backtrace-frame)
4386 (internal-macroexpand-for-load): New functions.
4387 (macroexp--pending-eager-loads): New var.
4388 (emacs-startup-hook): New hack to replace one in loadup.el.
4389 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
4390 (cl--compiler-macro-cXXr): Move to top, before they can be used.
4391 (cl-psetf): Simplify.
4392 (cl-defstruct): Add indent rule.
4393
8ce192e3
LI
43942012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
4395
4396 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
4397 over `user-mail-address' for the SMTP MAIL FROM envelope.
4398 (smtpmail-via-smtp): Ditto.
4399
6578b4d8
DG
44002012-09-04 Dmitry Gutov <dgutov@yandex.ru>
4401
4402 * progmodes/ruby-mode.el: Clean up keybindings.
4403 (ruby-mode-map): Don't bind ruby-electric-brace,
4404 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
4405 backward-kill-word, reindent-then-newline-and-indent.
4406 (ruby-mark-defun): Remove.
4407 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
4408 (ruby-mode): Set local beginning-of-defun-function and
4409 end-of-defun-function values.
4410
c5e28e39
MR
44112012-09-03 Martin Rudalics <rudalics@gmx.at>
4412
4413 * window.el (temp-buffer-window-setup-hook)
4414 (temp-buffer-window-show-hook): New hooks.
4415 (temp-buffer-window-setup, temp-buffer-window-show)
4416 (with-temp-buffer-window): New functions.
972debf2
SM
4417 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
4418 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
4419
4420 * help.el (temp-buffer-resize-mode): Fix doc-string.
4421 (resize-temp-buffer-window): New optional argument WINDOW.
4422
4423 * files.el (recover-file, save-buffers-kill-emacs):
4424 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
4425
73406194
MA
44262012-09-02 Michael Albinus <michael.albinus@gmx.de>
4427
4428 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
4429 remote definition of `default-directory', ensure we can connect.
4430
63dd1c6f
JL
44312012-09-02 Juri Linkov <juri@jurta.org>
4432
4433 Toggle whitespace matching mode with M-s SPC.
4434 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
4435
4436 * isearch.el (search-whitespace-regexp): Doc fix.
4437 Remove cons cell customization.
4438 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
4439 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
4440 New variables.
4441 (isearch-forward, isearch-forward-regexp): Doc fix.
4442 (isearch-toggle-lax-whitespace): New command.
4443 (search-forward-lax-whitespace, search-backward-lax-whitespace)
4444 (re-search-forward-lax-whitespace)
4445 (re-search-backward-lax-whitespace): New functions.
4446 (isearch-whitespace-regexp): Remove function.
4447 (isearch-query-replace): Let-bind replace-search-function and
4448 replace-re-search-function.
4449 (isearch-occur): Let-bind search-spaces-regexp according to the
4450 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
4451 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
4452 condition for C-q SPC.
4453 (isearch-search-fun-default): Use new functions mentioned above.
4454 (isearch-search-forward, isearch-search-backward): Remove functions.
4455 (isearch-search): Don't let-bind search-spaces-regexp.
4456 (isearch-lazy-highlight-space-regexp): Remove variable.
4457 (isearch-lazy-highlight-lax-whitespace)
4458 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
4459 (isearch-lazy-highlight-new-loop): Use them.
4460 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
4461
af7dda05
CY
44622012-09-02 Chong Yidong <cyd@gnu.org>
4463
4464 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
4465
d67d3afd
GM
44662012-09-02 Glenn Morris <rgm@gnu.org>
4467
4468 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
4469
69678719
GM
44702012-09-01 Glenn Morris <rgm@gnu.org>
4471
4472 * term.el: Tidy up menu definitions.
4473 (term-mode-map): Use easymenu for In/Out, Complete menus.
4474 (term-pager-break-map): Initialize in the defvar.
4475 (term-terminal-menu, term-signals-menu): Define with easymenu.
4476 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
4477 (term-pager-menu): New, extracted from term-process-pager.
4478 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
4479 (term-update-mode-line): Propertize line/char and page items.
4480 (term-process-pager): Move keymap initialization elsewhere.
4481
78dd6ab1
MR
44822012-09-01 Martin Rudalics <rudalics@gmx.at>
4483
4484 * window.el (switch-to-prev-buffer): Handle additional values of
4485 BURY-OR-KILL argument. Don't switch in minibuffer window.
4486 (switch-to-next-buffer): Don't switch in minibuffer window.
4487 (quit-restore-window): New function based on quit-window.
4488 Handle additional values of former KILL argument.
4489 (quit-window): Call quit-restore-window with appropriate
4490 interpretation of KILL argument.
4491 (display-buffer-below-selected): New buffer display action
4492 function.
4493
3d10e134
SM
44942012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
4495
4496 * minibuffer.el (completion-at-point-functions): Complete docstring
4497 (bug#12254).
4498
0e23ef9d
PE
44992012-09-01 Paul Eggert <eggert@cs.ucla.edu>
4500
4501 Better seed support for (random).
4502 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
4503 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
4504 * play/mpuz.el, play/tetris.el, play/zone.el:
4505 * calc/calc-comb.el (math-init-random-base):
4506 * play/blackbox.el (bb-init-board):
4507 * play/life.el (life):
4508 * server.el (server-use-tcp):
4509 * type-break.el (type-break):
4510 Remove unnecessary call to (random t).
4511 * net/sasl.el (sasl-unique-id-function):
4512 Change (random t) to (random), now that the latter is more random.
4513 * play/life.el (life-initialized): Remove no-longer-needed var.
4514
862382df
MR
45152012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
4516
4517 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
4518 Consider frame's buffer predicate when choosing the buffer.
4519 (Bug#12081)
4520
262a66e1
RS
45212012-08-30 Richard Stallman <rms@gnu.org>
4522
4523 * simple.el (special-mode-map): Delete binding for `z'.
4524
f17e1d00
AS
45252012-08-30 Andreas Schwab <schwab@linux-m68k.org>
4526
4527 * progmodes/compile.el (compilation-always-kill): Doc fix.
4528
24777832
CY
45292012-08-30 Chong Yidong <cyd@gnu.org>
4530
4531 * window.el (display-buffer-reuse-frames): Make the obsolescence
4532 message more informative.
4533
69ba1f04
GM
45342012-08-30 Glenn Morris <rgm@gnu.org>
4535
4536 * paren.el (show-paren-delay):
4537 Add a :set function. Doc fix. (Bug#12297)
4538
f0019ede
MB
45392012-08-29 Martin Blais <blais@furius.ca> (tiny change)
4540
4541 * progmodes/compile.el (compilation-always-kill): New var.
4542 (compilation-start): Use it.
4543
35e62fc9
SM
45442012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4545
af070a1c
SM
4546 * simple.el (read-only-mode): Move from files.el for bootstrapping.
4547 * files.el (read-only-mode): Move to simple.el.
4548
35e62fc9
SM
4549 * files.el (read-only-mode): New minor mode.
4550 (toggle-read-only): Use it and mark obsolete.
4551 (find-file--read-only):
4552 * vc/vc.el (vc-next-action, vc-checkout):
4553 * vc/vc-cvs.el (vc-cvs-checkout):
4554 * obsolete/vc-mcvs.el (vc-mcvs-update):
4555 * ffap.el (ffap--toggle-read-only): Update callers.
4556
c2c43c23
MA
45572012-08-29 Michael Albinus <michael.albinus@gmx.de>
4558
4559 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
4560 remote shell scripts.
4561 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
4562
4563 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
4564 "/usr/local/sbin".
4565
9fba804b
SM
45662012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4567
4568 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
4569
eada0861 45702012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 4571
806f0cc7
LL
4572 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
4573 completion-at-point. (Bug#12220)
4574
3bb213b9
LL
4575 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
4576
22ab32ef
LL
4577 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
4578
eada0861 45792012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 4580
19c17fc1
CY
4581 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
4582 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 4583
eada0861 45842012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
4585
4586 * progmodes/hideif.el (hif-compress-define-list):
4587 Fix typo. (Bug#11951)
4588
eada0861 45892012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
4590
4591 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
4592 buffer local setting.
4593
27d6c5a8
LL
4594 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
4595 rcirc-encode-coding-system.
4596
eada0861 45972012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
4598
4599 * net/rcirc.el (rcirc-split-message): New function.
4600 (rcirc-send-message): Use it. (Bug#12051)
4601
d44688e4
JL
46022012-08-28 Juri Linkov <juri@jurta.org>
4603
4604 * info.el (Info-fontify-node): Hide empty lines at the end of
4605 the node. (Bug#12272)
4606
34f10d41
MR
46072012-08-27 Drew Adams <drew.adams@oracle.com>
4608
4609 * dired.el (dired-pop-to-buffer): Make window start at beginning
4610 of buffer (Bug#12281).
4611
77f1f99c
CY
46122012-08-26 Chong Yidong <cyd@gnu.org>
4613
4614 * window.el (special-display-regexps, special-display-frame-alist)
4615 (special-display-buffer-names, special-display-function)
4616 (display-buffer-reuse-frames): Mark as obsolete.
4617
4618 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
4619
4620 * help.el (help-print-return-message): Don't treat
4621 display-buffer-reuse-frames specially.
4622
d97af5a0
CY
46232012-08-26 Chong Yidong <cyd@gnu.org>
4624
9fba804b
SM
4625 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
4626 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
4627 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
4628 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
4629 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
4630 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
4631 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
4632 the functions directly with gdb-display-buffer-other-frame-action.
4633 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
4634 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
4635 (gdb-display-stack-buffer, gdb-display-locals-buffer)
4636 (gdb-display-registers-buffer): Define directly.
4637 (def-gdb-display-buffer): Macro deleted.
4638 (gdb-display-buffer): Remove second and third args, callers don't
4639 use them. Defer to the default display-buffer behavior, apart
4640 from making windows dedicated.
4641 (gdb-setup-windows): Don't call display-buffer unnecessarily.
4642
4643 * progmodes/gud.el (gud-display-line): Just use display-buffer.
4644
4645 * window.el (display-buffer-pop-up-frame): Handle a
4646 pop-up-frame-parameters alist entry.
4647 (display-buffer): Document it.
4648
dd7ffad6
CY
46492012-08-26 Chong Yidong <cyd@gnu.org>
4650
4651 * isearch.el (search-whitespace-regexp): Make string and nil
4652 values apply to both ordinary and regexp search. Allow a cons
4653 cell value to distinguish between the two.
4654 (isearch-whitespace-regexp, isearch-search-forward)
4655 (isearch-search-backward): New functions.
4656 (isearch-occur, isearch-search-fun-default, isearch-search)
4657 (isearch-lazy-highlight-new-loop): Use them.
4658 (isearch-forward, isearch-forward-regexp): Doc fix.
4659
4c47bd1e
CY
46602012-08-26 Chong Yidong <cyd@gnu.org>
4661
4662 * faces.el (help-argument-name): Always inherit from italic
4663 (Bug#12213).
4664
9aba119d
MR
46652012-08-25 Martin Rudalics <rudalics@gmx.at>
4666
4667 * window.el (window--even-window-heights): Even heights when
4668 WINDOW and the selected window form a vertical combination.
4669 (display-buffer-use-some-window): Provide that window used gets
4670 sized back by quit-window. (Bug#11880) and (Bug#12091)
4671
ca5256ad
PE
46722012-08-24 Paul Eggert <eggert@cs.ucla.edu>
4673
4674 Fix file time stamp problem with bzr and CVS (Bug#12001).
4675 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
4676 in the file's time stamp, since the version control system loses
4677 that information.
4678
d1c0d176
JL
46792012-08-22 Juri Linkov <juri@jurta.org>
4680
4681 * info.el (Info-fontify-node): Hide the suffix of the
4682 Info file name in the header line. (Bug#12187)
4683
141562ff
GM
46842012-08-22 Glenn Morris <rgm@gnu.org>
4685
4686 * calendar/cal-tex.el (cal-tex-weekly-common):
4687 Restore leading blank page.
4688
3a21537c 46892012-08-22 Le Wang <l26wang@gmail.com>
add9ca2d
BG
4690
4691 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
4692 the region under `shift-select-mode'. (Bug#12231)
4693
46942012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
4695
4696 * progmodes/executable.el (executable-prefix): Set to "#!" instead
4697 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
4698 gives details on why the space is never needed.
4699
ea95074e
MR
47002012-08-22 Martin Rudalics <rudalics@gmx.at>
4701
9fba804b
SM
4702 * window.el (walk-window-tree, window-with-parameter):
4703 New optional argument MINIBUF to control whether these functions
ea95074e
MR
4704 should run on the minibuffer window.
4705 (window-at-side-list): Don't operate on minibuffer window.
4706 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
4707 (window--size-ignore): Rename to window--size-ignore-p.
4708 Update callers.
caceae25
MR
4709 (display-buffer-in-atom-window, window--major-non-side-window)
4710 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
4711 (delete-side-window, display-buffer-in-side-window):
4712 New functions.
caceae25
MR
4713 (window--side-check, window-deletable-p, delete-window)
4714 (delete-other-windows, split-window): Handle side windows and
4715 atomic windows appropriately.
4716 (window--display-buffer): Call display-buffer-record-window also
4717 when the window buffer did not change.
ea95074e 4718
80a51fa0
CS
47192012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
4720
4721 * help-fns.el (help-fns--key-bindings):
4722 Abbreviate non-symbol remap targets. (Bug#12174)
4723
fbb6300b
MR
47242012-08-22 Martin Rudalics <rudalics@gmx.at>
4725
4726 * dired.el (dired-mark-remembered): Don't clobber point.
4727 (Bug#11795)
4728
2b2c0794
GM
47292012-08-22 Glenn Morris <rgm@gnu.org>
4730
4731 * progmodes/bug-reference.el (bug-reference): New custom group.
4732 (bug-reference-bug-regexp): Make it a defcustom.
4733
37219830
DU
47342012-08-22 Daiki Ueno <ueno@unixuser.org>
4735
4736 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
4737 (js-paren-indent-offset, js-square-indent-offset)
4738 (js-curly-indent-offset): Add :safe (Bug#12257).
4739
94e0e559
EC
47402012-08-22 Edward O'Connor <hober0@gmail.com>
4741
4742 * json.el (json-key-format): Add error properties.
4743 (json-encode-key): New function.
4744 (json-encode-hash-table, json-encode-alist, json-encode-plist):
4745 Use json-encode-key.
4746
da485f5e
GM
47472012-08-22 Glenn Morris <rgm@gnu.org>
4748
4749 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
4750 (cal-tex-leftday, cal-tex-rightday): Remove functions.
4751 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
4752 Update for above change.
4753
c6cc78b8
AS
47542012-08-21 Andreas Schwab <schwab@linux-m68k.org>
4755
4756 * cus-face.el (custom-face-attributes): Fix customize type for the
4757 :underline attribute. (Bug#11805)
4758
5481664a
MR
47592012-08-21 Martin Rudalics <rudalics@gmx.at>
4760
4761 * window.el (window-point-1, set-window-point-1): Remove.
4762 (window-in-direction, record-window-buffer)
4763 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
4764 (window--state-get-1, display-buffer-record-window):
4765 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
4766 window-point and set-window-point respectively.
4767
6d74698e
GM
47682012-08-21 Glenn Morris <rgm@gnu.org>
4769
b7fa2691
GM
4770 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
4771 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
4772 Use it.
4773
52f56d5a
GM
4774 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
4775 (cal-tex-shortday): New function.
4776 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
4777 (cal-tex-cursor-filofax-daily): Use the above.
4778
9f1ee09e
GM
4779 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
4780 New functions.
4781 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
4782 (cal-tex-cursor-filofax-week): Use them.
4783
79858159
GM
4784 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
4785 New constants.
4786 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
4787 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
4788
d346b2b4
GM
4789 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
4790 (cal-tex-end-document): Don't rely on buffer name.
4791
b2403709
GM
4792 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
4793 Use cal-tex-vspace.
4794 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
4795 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
4796 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
4797 Use cal-tex-arg.
b2403709 4798
1cebb5c0
GM
4799 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
4800 (cal-tex-cursor-week, cal-tex-cursor-week2)
4801 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
4802 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
4803 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
4804 (cal-tex-insert-preamble, cal-tex-b-document)
4805 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
4806 Improve cal-tex-cmd usage.
4807
c68cd5d4
GM
4808 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
4809 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
4810 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
4811 (cal-tex-weekly-paper): New function.
4812 (cal-tex-cursor-week, cal-tex-cursor-week2)
4813 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
4814 (cal-tex-cursor-day): Use it.
4815
9dca4801
GM
4816 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
4817 (cal-tex-cursor-filofax-week): Remove leading blank page.
4818
1941e134
GM
4819 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
4820 Add autoload cookie. For now at least, don't use color, since
4821 no other cal-tex function does.
4822
6d74698e
GM
4823 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
4824 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
4825 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
4826
64cde199
JL
48272012-08-21 Juri Linkov <juri@jurta.org>
4828
4829 * info.el (Info-file-attributes): New variable.
4830 (info-insert-file-contents): Add file attributes to
4831 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
4832 `Info-toc-nodes' when previous modtime of the Info file is less
4833 than new modtime.
4834 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
4835 of info.el. (Bug#12230)
4836
32757648
GM
48372012-08-20 Glenn Morris <rgm@gnu.org>
4838
4839 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
4840 * calendar/holidays.el (calendar-holiday-list):
4841 Report errors with display-warning rather than beep'n'sleep.
4842
a32fbbcf
MA
48432012-08-20 Michael Albinus <michael.albinus@gmx.de>
4844
4845 * net/tramp.el (tramp-accept-process-output): Accept only output
4846 from PROC. Otherwise, process filters and sentinels might be
4847 confused. (Bug#12145)
4848
a05731a0
CY
48492012-08-20 Chong Yidong <cyd@gnu.org>
4850
4851 * descr-text.el (describe-text-properties-1): Use overlays-in to
4852 report on empty overlays (Bug#3322).
4853
36e8d1eb
GM
48542012-08-20 Glenn Morris <rgm@gnu.org>
4855
3d300447
GM
4856 * mail/rmailout.el (rmail-output-read-file-name):
4857 Trap and report errors in rmail-output-file-alist elements.
4858
36e8d1eb
GM
4859 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
4860 since most non-font-lock faces are not also variables).
4861
b96e5814
ER
48622012-08-20 Edward Reingold <reingold@iit.edu>
4863
4864 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
4865 New function. (Bug12160)
4866
7cef3569
GM
48672012-08-19 Glenn Morris <rgm@gnu.org>
4868
4869 * mail/rmailout.el (rmail-output-read-file-name):
4870 Fix previous change (when the alist is nil or does not match).
4871
17975d7f
CY
48722012-08-19 Chong Yidong <cyd@gnu.org>
4873
4874 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
4875 (Bug#12228).
4876
2170b1bd
CY
48772012-08-18 Chong Yidong <cyd@gnu.org>
4878
4879 * simple.el (yank-handled-properties): New defcustom.
4880 (yank-excluded-properties): Add font-lock-face and category.
4881 (yank): Doc fix.
4882
9fba804b
SM
4883 * subr.el (remove-yank-excluded-properties):
4884 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
4885 and category is now done this way, instead of being hard-coded.
4886 (insert-for-yank-1): Remove font-lock-face handling.
4887 (yank-handle-font-lock-face-property)
4888 (yank-handle-category-property): New function.
4889
ee218151
GM
48902012-08-17 Glenn Morris <rgm@gnu.org>
4891
4892 * mail/rmailout.el (rmail-output-read-file-name):
4893 Check rmail-output-file-alist against the full message body
4894 in the correct rmail buffer. (Bug#12214)
4895
4a6bc3fd
MA
48962012-08-17 Michael Albinus <michael.albinus@gmx.de>
4897
9fba804b
SM
4898 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4899 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 4900
383dcbf9
CY
49012012-08-17 Chong Yidong <cyd@gnu.org>
4902
4903 * mouse.el (mouse-appearance-menu): If x-select-font returns a
4904 font spec, set the font directly (Bug#3228).
4905
998c4a6a
MR
49062012-08-17 Martin Rudalics <rudalics@gmx.at>
4907
4908 * window.el (delete-window): Fix last fix.
4909
52162052
MR
49102012-08-16 Martin Rudalics <rudalics@gmx.at>
4911
4912 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
4913 (window-child, window-child-count, window-last-child)
4914 (window-normalize-window, window-combined-p)
4915 (window-combinations, window-atom-root, window-min-size)
4916 (window-sizable, window-sizable-p, window-size-fixed-p)
4917 (window-min-delta, window-max-delta, window--resizable)
4918 (window--resizable-p, window-resizable, window-total-size)
4919 (window-full-height-p, window-full-width-p, window-body-size)
4920 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
4921 (minimize-window, window-deletable-p, delete-window)
4922 (delete-other-windows, set-window-buffer-start-and-point)
4923 (next-buffer, previous-buffer, split-window, balance-windows-2)
4924 (set-window-text-height, window-buffer-height)
4925 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
4926 (truncated-partial-width-window-p): Minor code adjustments.
4927 In doc-strings state whether the argument window has to denote a
85c2386b 4928 live, valid or any window.
52162052 4929
1c308380
PS
49302012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
4931
4932 * progmodes/subword.el (subword-forward-function)
4933 (subword-backward-function, subword-forward-regexp)
4934 (subword-backward-regexp): New variables.
4935 (subword-forward, subword-forward-internal, subword-backward-internal):
4936 Use new variables, eg so that different "word" definitions
4937 can be easily used. (Bug#11411)
4938
94c9ece1
SM
49392012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4940
4941 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
4942 for composite selectors.
4943 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
4944 operation just because we can't find a previous revision.
4945
f2045622
CY
49462012-08-15 Chong Yidong <cyd@gnu.org>
4947
4948 * frame.el (set-frame-font): Accept font objects.
4949
582db660
SM
49502012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4951
4952 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
4953
2f29c200
WJ
49542012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
4955
456e62c2
WJ
4956 * man.el (Man-overstrike-face, Man-underline-face)
4957 (Man-reverse-face): Remove variables.
4958 (Man-overstrike, Man-underline, Man-reverse): New faces.
4959 (Man-fontify-manpage): Use them instead of the variables.
4960 (Man-cleanup-manpage): Comment change.
4961 (Man-ansi-color-map): New variable.
4962 (Man-fontify-manpage): Use it.
4963 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
4964
2f29c200
WJ
4965 Implement ANSI SGR parameters 22-27 (bug#12146).
4966 * ansi-color.el (ansi-colors): Doc fix.
4967 (ansi-color-context, ansi-color-context-region): Doc fix.
4968 (ansi-color--find-face): New function.
4969 (ansi-color-apply, ansi-color-apply-on-region): Use it.
4970 Rename the local variable `face' to `codes' since it is now a list of
4971 ansi codes. Doc fix.
4972 (ansi-color-get-face): Remove.
4973 (ansi-color-parse-sequence): New function, derived from
4974 ansi-color-get-face.
4975 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
4976 codes 22-27.
4977
b4f5e9df
SM
49782012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
4979
4980 * subr.el (read-passwd): Allow use from a minibuffer.
4981
ba025fbd
EZ
49822012-08-14 Eli Zaretskii <eliz@gnu.org>
4983
4984 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
4985 inside comments and strings as identifiers.
4986
4987 * progmodes/gud.el (gud-tooltip-print-command): Quote the
4988 expression to evaluate. This allows to evaluate expressions with
4989 embedded whitespace.
4990 (gud-tooltip-tips): Add a blank before the newline in the
4991 message-box text, for the benefit of message-box emulation on
4992 MS-Windows.
4993
4994 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
4995 messages from GDB, pop them up in a tooltip to give feedback to
4996 user.
b4f5e9df
SM
4997 (gdb-tooltip-print-1): Quote the expression to evaluate.
4998 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
4999 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
5000 if the TTY name is nil or empty (which happens when communicating
5001 with the inferior via pipes, e.g. on MS-Windows).
5002 (gdb-internals): If GDB sends a "&\n" empty debugging message,
5003 don't send that to the GUD buffer.
5004
c548f821
GM
50052012-08-14 Glenn Morris <rgm@gnu.org>
5006
5007 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
5008 Optimize away setq-default with no args, as for setq. (Bug#12195)
5009
55802e4a
CY
50102012-08-14 Chong Yidong <cyd@gnu.org>
5011
4abcdac8
CY
5012 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
5013
55802e4a
CY
5014 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
5015 (Bug#12085).
5016
3c3cda1a
GM
50172012-08-14 Glenn Morris <rgm@gnu.org>
5018
5019 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
5020
e1873bd0
MA
50212012-08-14 Michael Albinus <michael.albinus@gmx.de>
5022
5023 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
5024 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5025 Use cached shell name.
5026
925411b4
FEG
50272012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
5028
5029 * progmodes/python.el (python-shell-send-string):
3c3cda1a 5030 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 5031
e636fafe
DG
50322012-08-14 Dmitry Gutov <dgutov@yandex.ru>
5033
5034 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
5035 (ruby-percent-literal-beg-re): New constant.
5036 (ruby-syntax-general-delimiters-goto-beg): Rename to
5037 `ruby-syntax-enclosing-percent-literal', improve literal type check.
5038 (ruby-syntax-propertize-general-delimiters): Rename to
5039 `ruby-syntax-propertize-percent-literal', it's a shorter and more
5040 popular term. Adjust comments everywhere.
5041 (ruby-syntax-propertize-percent-literal): Only propertize when not
5042 inside a simple string or comment. When the literal is unclosed,
5043 leave the text after it unpropertized.
f063063a
DG
5044 (ruby-syntax-methods-before-regexp): New constant.
5045 (ruby-syntax-propertize-function): Use it to recognize regexps.
5046 Don't look at the text after regexp, just use the whitelist.
e636fafe 5047
e5b19827
AS
50482012-08-14 Andreas Schwab <schwab@linux-m68k.org>
5049
5050 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
5051 non-nil always load the compiled file if it exists. (Bug#12197)
5052
a9f6f311
CY
50532012-08-14 Chong Yidong <cyd@gnu.org>
5054
5055 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
5056 (hi-lock-set-pattern): When deciding whether to use font lock or
5057 overlays, look at font-lock-mode instead of font-lock-fontified
5058 (Bug#12168).
5059 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
5060 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
5061
7d806b1e
DU
50622012-08-14 Daiki Ueno <ueno@unixuser.org>
5063
5064 * subr.el (internal--after-with-selected-window): Fix typo
5065 (Bug#12193).
5066
5beed586
FEG
50672012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
5068
5069 Use `completion-table-dynamic' for completion functions.
5070 * progmodes/python.el
5071 (python-shell-completion--do-completion-at-point)
e636fafe
DG
5072 (python-shell-completion--get-completions):
5073 Remove functions.
5beed586
FEG
5074 (python-shell-completion-complete-at-point): New function.
5075 (python-completion-complete-at-point): Use it.
5076
92cb3b04
J
50772012-08-13 Jambunathan K <kjambunathan@gmail.com>
5078
5079 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
5080 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
5081
89660017
SM
50822012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5083
3c98c962
SM
5084 * subr.el (function-get): Refine `autoload' arg so it can also
5085 autoload functions for gv.el (bug#12191).
5086 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
5087 autoloads macros.
5088
aa7c6dbe
SM
5089 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
5090 Prefer pcase-let over destructuring-bind.
5091 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
5092 Also, remove whitespace as we go, rather than after accumulating the
5093 various places.
5094
89660017
SM
5095 * subr.el (internal--before-with-selected-window)
5096 (internal--after-with-selected-window): Fix typo seleted->selected.
5097 (with-selected-window): Adjust callers.
5098 Reported by Dmitry Gutov <dgutov@yandex.ru>.
5099
31cd32c9
BG
51002012-08-13 Bastien Guerry <bzg@gnu.org>
5101
0fcd3d9f 5102 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
5103 enhancement. (Bug#12172)
5104
1b15d8ad
AS
51052012-08-13 Andreas Schwab <schwab@linux-m68k.org>
5106
31e54db0
AS
5107 * tar-mode.el (tar-header-data-end): Only ignore size for files of
5108 type 1-6.
5109 (tar-header-block-summarize, tar-get-descriptor): Handle pax
5110 extended headers.
5111
1b15d8ad
AS
5112 * files.el (hack-local-variables-filter): Remove useless eval.
5113
35cb9c06
MR
51142012-08-13 Martin Rudalics <rudalics@gmx.at>
5115
5116 * subr.el (with-selected-window): Fix last change.
5117
1439443b
SM
51182012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5119
5120 * subr.el (internal--before-with-seleted-window)
5121 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
5122 (with-selected-window): Use them, to replace dependency on
5123 tty-top-frame.
1439443b 5124
0d9e2599
NN
51252012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
5126
5127 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
5128 binding for `newline'.
5129 (ruby-move-to-block): When moving backward, stop at block opening,
5130 not indentation.
5131 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
5132 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
5133 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
5134 `ruby-toggle-block'.
5135
ba10c48c
SM
51362012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5137
5138 * ibuffer.el (ibuffer-do-toggle-read-only):
5139 * dired.el (dired-toggle-read-only):
5140 * buff-menu.el (Buffer-menu-toggle-read-only):
5141 * bindings.el (mode-line-toggle-read-only):
5142 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
5143
9229c658
AS
51442012-08-12 Andreas Schwab <schwab@linux-m68k.org>
5145
5146 * descr-text.el (describe-char): Put the overlays over the
5147 "displayed as" character.
5148
0fd09128
JB
51492012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
5150
5151 * calc/calc-units.el (math-default-units-table): Give an
5152 initial value.
5153 (math-put-default-units): Add options to put composite units and
5154 unit systems in the default units table.
5155 (calc-convert-units): Send composite units to
5156 `math-put-default-units' when appropriate.
5157
9ff9402d 51582012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 5159
fbb5e336
GM
5160 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
5161
7aacaf15
GM
5162 * tutorial.el (help-with-tutorial):
5163 * emacs-lisp/copyright.el (copyright-update-directory):
5164 * emacs-lisp/autoload.el (autoload-find-generated-file)
5165 (autoload-find-file): Disable local eval: (for insurance).
5166
f40b9f10
GM
5167 * files.el (hack-local-variables-filter): If an eval: form is not
5168 known to be safe, and enable-local-variables is :safe, then ignore
5169 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 5170 This is CVE-2012-3479.
f40b9f10 5171
daa9f1a6
SM
51722012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
5173
5174 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
5175 (rx-form): Simplify.
5176
9cd80478
DG
51772012-08-09 Dmitry Gutov <dgutov@yandex.ru>
5178
0d9e2599
NN
5179 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
5180 ?, _, and : are symbol constituents, ! is not (but kinda should be).
5181 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
5182 (ruby-syntax-propertize-function): Adjust for changes in
5183 `ruby-syntax-propertize-heredoc'.
5184
51852012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
5186
9cd80478
DG
5187 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
5188 binding (use `M-;' instead).
9cd80478 5189 (ruby-singleton-class-p): New function.
0d9e2599 5190 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 5191
d301b413
SM
51922012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
5193
5194 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
5195
1530c98e
CY
51962012-08-10 Chong Yidong <cyd@gnu.org>
5197
5198 * progmodes/python.el (python-shell-get-process-name): Don't mess
5199 with same-window-buffer-names.
5200
5201 * eshell/eshell.el (eshell-add-to-window-buffer-names)
5202 (eshell-remove-from-window-buffer-names): Make obsolete.
5203 (eshell-buffer-name, eshell-unload-hook): Don't use them.
5204 (eshell): Just use pop-to-buffer-same-window instead.
5205
e1293765
CY
52062012-08-10 Chong Yidong <cyd@gnu.org>
5207
5208 * bindings.el: Bind M-= back to count-words-region.
5209
5210 * simple.el (count-words-region): Accept a prefix arg for acting
5211 on the entire buffer.
5212 (count-words--buffer-message): New helper function.
5213
e1894109
SM
52142012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
5215
5216 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
5217 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
5218 (event-start, event-end): Use posn-at-point to return a more
5219 informative posn.
5220 (posnp): New function.
5221 * mouse.el (popup-menu-normalize-position): Use it.
5222
c69f56a2
MY
52232012-08-10 Masatake YAMATO <yamato@redhat.com>
5224
5225 * mouse.el (popup-menu-normalize-position): New function.
5226 (popup-menu): Use `popup-menu-normalize-position' to normalize
5227 the form for POSITION argument.
5228
5229 * term/x-win.el (x-menu-bar-open):
5230 Use the value returend from (posn-at-point) as position
5231 passed to `popup-menu'.
5232
31673780
JB
52332012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
5234
5235 * calc/calccomp.el (math-compose-expr): Add extra argument
5236 indicating that parentheses should be put around products in
5237 denominators. Give multiplication precedence over division during
5238 composition.
5239
dab7711b
CY
52402012-08-09 Chong Yidong <cyd@gnu.org>
5241
dee4ef93
CY
5242 * man.el (Man-switches, Man-sed-command, Man-awk-command)
5243 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
5244 (Man-untabify-command, manual-program): Convert to defcustom
5245 (Bug#10429).
5246
73e2bbc5
CY
5247 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
5248
3e861c8a
CY
5249 * descr-text.el (describe-char): Don't insert extra newlines
5250 (Bug#10127).
5251
a9f5a649
CY
5252 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
5253 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
5254
dab7711b
CY
5255 * align.el (align-region): Delete temporary markers (Bug#10047).
5256 Plus some code cleanups.
5257
e0cc4efa
FEG
52582012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
5259
5260 * progmodes/python.el (python-pdbtrack-tracked-buffer)
5261 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
5262 (python-shell-internal-last-output): Use make-local-variable
5263 instead of make-variable-buffer-local.
5264
489af14f
FEG
52652012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
5266
5267 * progmodes/python.el: Enhancements to forward-sexp.
5268 (python-nav-forward-sexp): Rename from
5269 python-nav-forward-sexp-function.
c69f56a2
MY
5270 (python-nav--forward-sexp, python-nav--backward-sexp):
5271 New functions.
489af14f 5272
0fc50303
JB
52732012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
5274
5275 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
5276 modes and simplification modes.
5277
5d65606a
SM
52782012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5279
5280 * delsel.el (delete-selection-pre-hook): Don't propagate the
5281 file-supersession signals (bug#12161).
5282
4250fdf5
SM
52832012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5284
5285 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
5286 (cl-map-extents): Add compatibility aliases (bug#12135).
5287
d9f9b465
MA
52882012-08-08 Michael Albinus <michael.albinus@gmx.de>
5289
5290 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
5291 tests by `ignore-error'.
5292 (tramp-find-shell): Open also a new shell, when cache is already
5293 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
5294
ce0fcefa
JL
52952012-08-08 Juri Linkov <juri@jurta.org>
5296
5297 * bookmark.el: Add `defaults' property to the bookmark record.
5298 (bookmark-current-buffer): Doc fix.
5299 (bookmark-make-record): Add `defaults' property with default values
5300 to the bookmark record.
5301 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
5302 with `bookmark-insert-current-bookmark'.
5303 (bookmark-set): Get `defaults' property from the bookmark record
5304 and use it in `read-from-minibuffer'.
5305 (bookmark-insert-current-bookmark): Remove function.
5306
5307 * info.el (Info-bookmark-make-record): Add `defaults' property
5308 with values of canonical Info node name, the current Info file
5309 name and the current Info node name. (Bug#12107)
5310
53fa8652
JL
53112012-08-08 Juri Linkov <juri@jurta.org>
5312
5313 * files.el (basic-save-buffer): Use `buffer-name' as the default
5314 of `read-file-name' when buffer is not visiting a file (bug#12128).
5315
242c0a95
JL
53162012-08-08 Juri Linkov <juri@jurta.org>
5317
5318 * info.el (Info-isearch-search): Doc fix.
5319 (Info-search): Change search-failed message from "initial node" to
5320 "end of node" (bug#12078).
5321 (Info-isearch-search): Change `isearch-string-state' to
5322 `isearch--state-string'.
5323
32ac3a6b
GM
53242012-08-08 Glenn Morris <rgm@gnu.org>
5325
5326 * language/persian.el: Remove file.
f8c1afd5 5327 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
5328 * loadup.el: Remove language/persian.
5329
2c2d9c9c
OF
53302012-08-08 Óscar Fuentes <ofv@wanadoo.es>
5331
5332 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
5333
2d79ec42
FEG
53342012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
5335
5336 * progmodes/python.el Fixed defsubst warning.
5337 (python-syntax-context) Rename from python-info-ppss-context.
5338 (python-syntax-context-type): Rename from
5339 python-info-ppss-context-type.
5340 (python-syntax-comment-or-string-p): Rename from
5341 python-info-ppss-comment-or-string-p.
5342
2bd255dd
JB
53432012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
5344
5345 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
5346
c395097f
AS
53472012-08-07 Andreas Schwab <schwab@linux-m68k.org>
5348
6125983e
AS
5349 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
5350 a defcustom that is quoted with backquote.
5351
4250fdf5
SM
5352 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
5353 Fix handling of interactive spec when the body uses return.
651eaf36
AS
5354 (math-do-arg-check, math-define-function-body): Use backquote forms.
5355 * calc/calc-ext.el (math-defcache): Likewise.
5356 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
5357 * allout.el (allout-new-exposure): Likewise.
5358 * calc/calcalg2.el (math-tracing-integral): Likewise.
5359 * info.el (Info-last-menu-item): Likewise.
5360 * emulation/vip.el (vip-loop): Likewise.
5361 * textmodes/artist.el (artist-funcall): Likewise.
5362 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
5363 Construct menu-item directly.
5364
4250fdf5
SM
5365 * progmodes/autoconf.el (font-lock-syntactic-keywords):
5366 Don't declare.
c395097f 5367
5fb50dd3
CY
53682012-08-07 Chong Yidong <cyd@gnu.org>
5369
5370 * simple.el (deactivate-mark): Preserve text properties when
5371 saving the primary selection (Bug#8384).
5372
54eea618
KR
53732012-08-07 Kevin Ryde <user42@zip.com.au>
5374
5375 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
5376 (woman-parse-numeric-value): On a bad .IP line, issue a warning
5377 and continue processing (Bug#12110).
5378
638eaeb9
SM
53792012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
5380
5381 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
5382 syntax-propertize-function (bug#10095).
5383
ea376861
SM
53842012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
5385
f91b35be
SM
5386 * help-fns.el (help-fns--key-bindings, help-fns--signature)
5387 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
5388 describe-function-1.
5389 (describe-function-1): Use them. Move compiler macro after sig.
5390 (help-fns--compiler-macro): Use function-get. Assume we're already in
5391 standard-output. Adjust layout to new call order.
5392
ea376861
SM
5393 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
5394 re-binding a symbol that has a symbol-macro (bug#12119).
5395
d5be7bd0
MB
53962012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
5397
5398 * language/persian.el: New file. (Bug#11812)
5399 * loadup.el: Add language/persian.el.
5400
90749b53
CY
54012012-08-06 Chong Yidong <cyd@gnu.org>
5402
5403 * window.el (window--maybe-raise-frame): New function.
5404 (window--display-buffer): Split off from here.
5405 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5406 (display-buffer-pop-up-window, display-buffer-use-some-window):
5407 Obey an inhibit-switch-frame action alist entry.
5408 (display-buffer): Update doc.
5409
5410 * replace.el (occur-after-change-function): Avoid losing focus by
5411 using the inhibit-switch-frame display parameter (Bug#12139).
5412
ba7b0154
FEG
54132012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
5414
5415 Make internal shell process buffer names start with space.
5416 * progmodes/python.el (python-shell-make-comint): Add optional
5417 argument INTERNAL.
5418 (run-python-internal): Use it.
5419 (python-shell-internal-get-or-create-process): Check for new
5420 internal buffer names.
5421
5eaeacb5
GM
54222012-08-06 Glenn Morris <rgm@gnu.org>
5423
e296d94b 5424 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
5425 Do less getting and setting of environment variables.
5426
b7ccbdc2
CY
54272012-08-05 Chong Yidong <cyd@gnu.org>
5428
777fe95e
CY
5429 * proced.el (proced): Add substitution string to docstring to
5430 trigger autoloading of the proced library on C-h f (Bug#1768).
5431
4250fdf5
SM
5432 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5433 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
5434
5435 * imenu.el (imenu-generic-expression): Move documentation here
5436 from imenu--generic-function.
5437 (imenu--generic-function): Refer to imenu-generic-expression.
5438
9e3b7800 54392012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
5440
5441 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
5442 indentation declaration.
5443 (viper-loop): Add indentation declaration (Bug#7025).
5444
e5d9c0d1
CY
54452012-08-05 Chong Yidong <cyd@gnu.org>
5446
f0422feb
CY
5447 * help-fns.el (describe-variable): Add hyperlink for
5448 directory-local variables files. Improve buffer-local and
5449 permanent-local reporting; suggested by MON KEY (Bug#6644).
5450
5451 * help-mode.el (help-dir-local-var-def): New button type.
5452
e5d9c0d1
CY
5453 * files.el (kill-buffer-hook): Provide a defvar.
5454
a4f2deaa
GM
54552012-08-05 Glenn Morris <rgm@gnu.org>
5456
5457 * eshell/esh-ext.el (eshell/addpath):
5458 Also update eshell-path-env. (Bug#12013)
5459
a9dd5754
CY
54602012-08-05 Chong Yidong <cyd@gnu.org>
5461
a4f2deaa 5462 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 5463
d014c740
CY
5464 * fringe.el (fringe-styles): Add docstring.
5465 (fringe--check-mode): New function.
5466 (set-fringe-mode, set-fringe-style): Use it.
5467 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
5468
a9dd5754
CY
5469 * files.el (set-auto-mode): Fix invalid setq call.
5470
7c2dc8bd
SM
54712012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5472
5473 * isearch.el: Misc simplification; use defstruct.
5474 (isearch-mode-map): Dense maps now work like sparse ones.
5475 (isearch--state): New defstruct.
5476 (isearch-string-state, isearch-message-state, isearch-point-state)
5477 (isearch-success-state, isearch-forward-state)
5478 (isearch-other-end-state, isearch-word-state, isearch-error-state)
5479 (isearch-wrapped-state, isearch-barrier-state)
5480 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
5481 replaced by defstruct's accessors.
5482 (isearch--set-state): Rename from isearch-top-state and change
5483 calling convention.
5484 (isearch-push-state): Use new isearch--get-state.
5485 (isearch-toggle-word): Disable regexp when enabling word.
5486 (isearch-message-prefix): Remove unused arg _c-q-hack.
5487 (isearch-message-suffix): Remove unused arg _ellipsis.
5488
7fcc0070
AS
54892012-08-04 Andreas Schwab <schwab@linux-m68k.org>
5490
5491 * simple.el (list-processes--refresh): For a server use :host or
5492 :local as the address.
97ad0769 5493 (list-processes): Doc fix.
7fcc0070 5494
a11035b8 54952012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
5496
5497 * lisp/mpc.el: Support password in host argument.
5498 (mpc--proc-connect): Parse and use new password element.
5499 Set mpc-proc variable instead of returning process.
5500 (mpc-proc): Adjust accordingly.
5501
6dad7178
EZ
55022012-08-03 Eli Zaretskii <eliz@gnu.org>
5503
18949c2f
EZ
5504 * whitespace.el (whitespace-display-mappings): Use Unicode
5505 codepoints, instead of emacs-mule codepoints. See
5506 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
5507 for the details.
5508
6dad7178
EZ
5509 * files.el (file-truename): Don't skip symlink-chasing part on
5510 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
5511 Windows into the loop that recursively chases symlinks.
5512 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
5513 MS-DOS.
5514
385b0198
CY
55152012-08-03 Chong Yidong <cyd@gnu.org>
5516
6200f3c4
CY
5517 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
5518
385b0198
CY
5519 * sort.el (sort-regexp-fields): Doc fix.
5520
b9e74744
TH
55212012-08-03 Tassilo Horn <tsdh@gnu.org>
5522
5523 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
5524 labels regex position point at the expected place.
5525
41013cb4
MK
55262012-08-03 MON KEY <monkey@sandpframing.com>
5527
5528 * net/imap.el (imap-interactive-login, imap-authenticate)
5529 (imap-mailbox-lsub, imap-mailbox-list)
5530 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
5531 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
5532 (imap-parse-response): Doc fix.
5533
0ffee616
JT
55342012-08-03 João Távora <joaotavora@gmail.com>
5535
5536 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
5537 if sexp scanning does not move point (Bug#5734).
5538
cfcc9cc8
TH
55392012-08-02 Tassilo Horn <tsdh@gnu.org>
5540
5541 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
5542 Add listings, minted, and ctable packages.
5543 (reftex-label-alist-builtin): Move listings, minted, and ctable
5544 entries before LaTeX.
a01bbb84 5545 (reftex-label-alist): Docfix.
cfcc9cc8 5546
66ec2442
BG
55472012-08-02 Bastien Guerry <bzg@gnu.org>
5548
5549 * replace.el (occur): Fix docstring (bug#12122).
5550
837b365b
GM
55512012-08-02 Glenn Morris <rgm@gnu.org>
5552
5553 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
5554
e098de97
PE
55552012-08-02 Paul Eggert <eggert@cs.ucla.edu>
5556
5557 Obsolete alias inactivate-current-input-method-function (Bug#10150).
5558 * international/mule-cmds.el: Create
5559 inactivate-current-input-method-function as an obsolete alias for
5560 deactivate-current-input-method-function. See Katsumi Yamaoka in
5561 <http://bugs.gnu.org/10150#46>.
5562
a0f95636
JB
55632012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
5564
5565 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
5566 of nested `if's.
5567
0d26d7c4
GM
55682012-08-01 Glenn Morris <rgm@gnu.org>
5569
5570 * progmodes/autoconf.el (autoconf-definition-regexp):
5571 Add AH_TEMPLATE, adjust submatch numbering.
5572 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
5573 (autoconf-current-defun-function): Update for above change.
5574 (autoconf-current-defun-function): First skip to end of current word.
5575
b686ba06
RS
55762012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
5577
5578 * calendar/cal-html.el (cal-html-insert-agenda-days):
5579 Fix typo. (Bug#12018)
5580
0d49da68
FEG
55812012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
5582
5583 Shell processes: enhancements to startup and CEDET compatibility.
5584 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
5585 (python-shell-make-comint): accept-process-output at startup.
5586 (run-python-internal): Set inferior-python-mode-hook to nil.
5587 (python-shell-internal-get-or-create-process): call sit-for.
5588 (python-preoutput-result): Add obsolete alias.
5589 (python-shell-internal-send-string): Use it.
5590 (python-shell-send-setup-code): Remove call to
5591 accept-process-output.
5592
f1a71c6e
AS
55932012-07-31 Andreas Schwab <schwab@linux-m68k.org>
5594
5595 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
5596 (Bug#12108)
5597
d2605269
JB
55982012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
5599
5600 * calc-mode.el (calc-basic-simplification-mode): Rename from
5601 `calc-limited-simplification-mode'.
5602 (calc-alg-simplification-mode): New function.
fc0c31f8 5603 (calc-set-simplify-mode): Adjust message.
f1a71c6e 5604
d2605269
JB
5605 * calc.el (calc-set-mode-line): Adjust mode line display for
5606 basic simplification mode.
5607
5608 * calc-help.el (calc-m-prefix-help): Update help message.
5609
5610 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
5611 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
5612
a3827a43
BG
56132012-07-31 Bastien Guerry <bzg@gnu.org>
5614
5615 * man.el (man): Fix comment. (bug#12101)
5616
502e3f89
MR
56172012-07-31 Martin Rudalics <rudalics@gmx.at>
5618
5619 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
5620 Don't return a non-nil value when no suitable buffer was found.
5621
d7714961
FEG
56222012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
5623
5624 * progmodes/python.el (run-python-internal): Disable font lock for
5625 internal shells.
5626
1f45e27e
SM
56272012-07-30 Stefan Merten <smerten@oekonux.de>
5628
70efc5c9 5629 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
5630 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
5631 (rst-official-version, rst-official-cvs-rev)
5632 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
5633 (rst-mode-map): New key binding.
5634
0aee6912
PE
56352012-07-30 Paul Eggert <eggert@cs.ucla.edu>
5636
5637 Update .PHONY listings in makefiles.
5638 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
5639 autoloads, update-subdirs, updates, bzr-update, update-authors,
5640 compile-onefile, compile-calc, backup-compiled-files,
5641 compile-after-backup, compile-one-process, mh-autoloads,
5642 bootstrap-clean, distclean, maintainer-clean.
5643
9052f9f0
JB
56442012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
5645
1823ac5a
JB
5646 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
5647 (calc-set-mode-line): Don't display "AlgSimp ".
5648
5649 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
5650 (calc-lim-simplify-mode): New function.
5651 (calc-set-simplify-mode): Default to 'alg.
5652 (calc-default-simplify-mode): Make algebraic simplifications
5653 the default.
5654
5655 * calc/calc-ext.el (calc-init-extensions): Remove binding for
5656 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
5657
8d7c7eed 5658 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
5659 indicate new simplification modes.
5660
1823ac5a
JB
5661 * calc/README: Mention new default simplification mode.
5662
9052f9f0
JB
5663 * calc/calc.el (math-normalize-error): New variable.
5664 (math-normalize): Set `math-normalize-error' to t
5665 when there's an error.
5666
5667 * calc/calc-alg.el (math-simplify): Don't simplify when
5668 `math-normalize' returns an error.
5669
20ba0cb4
EZ
56702012-07-29 Eli Zaretskii <eliz@gnu.org>
5671
5672 * international/mule-cmds.el (set-locale-environment): Revert last
5673 change, since display-graphic-p returns nil when this function is
5674 called during startup. Instead...
5675
5676 * term/w32console.el (terminal-init-w32console): ...setup the
5677 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
5678
a5dcc929
JL
56792012-07-29 Juri Linkov <juri@jurta.org>
5680
5681 * simple.el (goto-line): Don't display default line number in the
5682 prompt because it should be displayed by `read-number' (bug#9952).
5683 Add the current line number to the defaults of `goto-line' to
5684 allow its easier modification by users with `M-n' (bug#9201).
5685
5686 * subr.el (read-number): Support multiple default values like in
5687 other minibuffer reading functions. Replace `read' with
5688 `string-to-number' for consistency with `number-to-string'.
5689
72b255c7
PE
56902012-07-29 Paul Eggert <eggert@cs.ucla.edu>
5691
5692 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
5693 * emulation/viper-init.el (viper-deactivate-input-method-action):
5694 Rename from viper-inactivate-input-method-action.
5695 (viper-deactivate-input-method):
5696 Rename from viper-inactivate-input-method.
5697 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
5698 * international/mule-cmds.el (deactivate-input-method):
5699 Rename from inactivate-input-method.
5700 Also run input-method-deactivate-hook.
5701 (deactivate-current-input-method-function):
5702 Rename from inactivate-current-input-method-function.
5703 (input-method-deactivate-hook): New hook.
5704 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
5705 (inactivate-input-method): Mark obsolete.
5706
72b255c7
PE
5707 * international/quail.el (quail-activate):
5708 Also run quail-deactivate-hook.
5709 (quail-deactivate): Rename from quail-inactivate.
5710 * international/robin.el (robin-activate):
5711 Also run robin-deactivate-hook.
5712 (robin-deactivate): Rename from robin-inactivate.
5713
2549c068
CY
57142012-07-29 Chong Yidong <cyd@gnu.org>
5715
5716 * simple.el (indicate-copied-region): New function.
5717 (kill-ring-save): Split off from here.
5718
5719 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
5720 (kill-rectangle): Set deactivate-mark to t on read-only error.
5721
5722 * register.el (copy-to-register, copy-rectangle-to-register):
5723 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4c478e6b
JL
5724 (append-to-register, prepend-to-register): Call indicate-copied-region.
5725
57262012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
5727
5728 * simple.el (async-shell-command-buffer): New defcustom.
5729 (shell-command): Use it. (Bug#4719)
5730
01bd1b0d
EZ
57312012-07-28 Eli Zaretskii <eliz@gnu.org>
5732
5733 * international/mule-cmds.el (set-locale-environment): In a
5734 console session on MS-Windows, set up keyboard and terminal
5735 encoding from the OEM codepage, not the ANSI codepage.
5736 (Bug#12055)
5737
a55739d3
CY
57382012-07-28 Chong Yidong <cyd@gnu.org>
5739
5740 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
5741 gdb-get-location.
5742
0e1a094f 57432012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
5744
5745 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
5746 the alist (bug#12029).
5747
20329d73
EZ
57482012-07-28 Eli Zaretskii <eliz@gnu.org>
5749
5750 * makefile.w32-in (custom-deps, finder-data, updates, compile)
5751 (compile-always, compile-first)
5752 ($(lisp)/calendar/cal-loaddefs.el)
5753 ($(lisp)/calendar/diary-loaddefs.el)
5754 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
5755 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
5756 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
5757 instead of on update-subdirs.
5758 (bootstrap-clean): Delete $(lisp)/subdirs.el.
5759
345a2258
CY
57602012-07-28 Chong Yidong <cyd@gnu.org>
5761
1eee6341
CY
5762 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
5763 directory if vc-deduce-backend returns nil (Bug#7350).
5764
345a2258
CY
5765 * simple.el (delete-trailing-lines): New option.
5766 (delete-trailing-whitespace): Obey it (Bug#11879).
5767
049a0936
DE
57682012-07-28 David Engster <deng@randomsample.de>
5769
5770 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
5771 Explanation of new 'symbol-qnames feature in doc-strings.
5772 (xml-maybe-do-ns): Return expanded names as plain symbols if
5773 'symbol-qnames was provided in XML-NS argument (Bug#11916).
5774 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
5775
aa81af71
FEG
57762012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
5777
5778 Consistent completion in inferior python with emacs -nw.
5779 * progmodes/python.el (inferior-python-mode): replace "<tab>"
5780 binding in inferior-python-mode-map with "\t".
5781 (python-shell-completion-complete-at-point)
5782 (python-completion-complete-at-point): Remove interactive spec.
5783
e827b1eb
JB
57842012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
5785
5786 * calc/calccomp.el (math-compose-expr): Undo previous change.
5787
a90dfb95
FEG
57882012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
5789
4250fdf5 5790 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
5791 run-python.
5792 (python-shell-make-comint): Fix pop-to-buffer call.
5793 (run-python): Autoload. New arg SHOW.
5794 (python-shell-get-or-create-process): Do not pop python process
5795 buffer.
5796
32770973 57972012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
5798
5799 * notifications.el (notifications-on-action-signal)
5800 (notifications-on-closed-signal): Use also the bus address for the map.
5801 (notifications-notify, notifications-close-notification)
fc0c31f8 5802 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 5803
86332df2
TH
58042012-07-27 Tassilo Horn <tsdh@gnu.org>
5805
4250fdf5
SM
5806 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5807 Add support for the lstlisting and minted environments, and for the
86332df2
TH
5808 ctable macro.
5809 * textmodes/reftex.el (reftex-compile-variables): Also recognize
5810 labels written in keyvals syntax.
5811
ca1302a4
JB
58122012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
5813
5814 * calc/calccomp.el (math-compose-expr): Use parentheses when
5815 there is a product in the denominator of a fraction.
5816
f8b91036
EZ
58172012-07-26 Eli Zaretskii <eliz@gnu.org>
5818
5819 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
5820 ($(lisp)/calendar/diary-loaddefs.el)
5821 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
5822 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
5823 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
5824 rewritten while the autoload files are built at the same time,
5825 which needs to load subdirs.el.
5826
c8e5a42c
MR
58272012-07-26 Martin Rudalics <rudalics@gmx.at>
5828
5829 * mouse.el (popup-menu): Fix doc-string and re-indent code.
5830 (mouse-drag-line): Don't exit tracking when a switch-frame or
5831 switch-window event occurs (Bug#12006).
5832
670d85ea
SM
58332012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5834
5835 * mouse.el (popup-menu): Fix last change.
5836
7abaf5cc
SM
58372012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5838
5839 Autoload from Lisp with more care. Follow aliases when looking for
5840 function properties.
5841 * subr.el (autoloadp): New function.
5842 (symbol-file): Use it.
5843 (function-get): New function.
5844 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
5845 autoload-do-load.
5846 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
5847 (lisp-indent-function):
5848 * emacs-lisp/gv.el (gv-get):
5849 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
5850 * emacs-lisp/byte-opt.el (byte-optimize-form):
5851 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
5852 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
5853 Use function-get.
5854 * emacs-lisp/cl.el: Don't propagate function properties any more.
5855
5856 * speedbar.el (speedbar-add-localized-speedbar-support):
5857 * emacs-lisp/disass.el (disassemble-internal):
5858 * desktop.el (desktop-load-file):
5859 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
5860 (describe-function-1):
5861 * emacs-lisp/find-func.el (find-function-noselect):
5862 * emacs-lisp/elp.el (elp-instrument-function):
5863 * emacs-lisp/advice.el (ad-has-proper-definition):
5864 * apropos.el (apropos-safe-documentation, apropos-macrop):
5865 * emacs-lisp/debug.el (debug-on-entry):
5866 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
5867 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
5868 * calc/calc.el (name): Use autoloadp & autoload-do-load.
5869
b1364986
AA
58702012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
5871
5872 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
5873 function, not an obsolete variable (Bug#12046).
5874
67ada220
AS
58752012-07-25 Andreas Schwab <schwab@linux-m68k.org>
5876
5877 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
5878
f08088e3
CS
58792012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
5880
5881 * emacs-lisp/pp.el (pp-display-expression): Select old selected
5882 window only if it is still live (Bug#12034).
5883
8137e7b3
MR
58842012-07-25 Martin Rudalics <rudalics@gmx.at>
5885
5886 * subr.el (redirect-frame-focus): Add advertised calling
5887 convention (Bug#12030).
5888
09ae5da1
PE
58892012-07-25 Paul Eggert <eggert@cs.ucla.edu>
5890
5891 Prefer typical American spelling for "acknowledgment".
5892 * vc/add-log.el (change-log-acknowledgment): Rename from
5893 change-log-acknowledgement, with an alias for the old name.
5894
3cc5a3a8
JB
58952012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
5896
5897 * calc-alg.el (math-simplify-divide): Don't cross multiply
5898 in an equation when the lhs is a variable.
5899
b7af7f62
JD
59002012-07-24 Julien Danjou <julien@danjou.info>
5901
5902 * net/netrc.el (netrc-find-service-number, netrc-store-data):
5903 Remove, unused.
5904
ec1b09b1
EZ
59052012-07-23 Eli Zaretskii <eliz@gnu.org>
5906
5907 * startup.el (command-line): Don't display an empty user name in
5908 the error message about non-existent home directory, when
5909 init-file-user was set to an empty string. See
5910 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
5911 for the details and context.
5912
b525fd8a
VB
59132012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
5914
5915 * ses.el (ses-cell-formula-aset): New macro.
5916 (ses-cell-references-aset): New macro.
5917 (ses-cell-p): New function.
5918 (ses-rename-cell): Do no longer rely on complex operations like
5919 ses-cell-set-formula or ses-set-cell to change the cell and handle
5920 the undo at the same time, but rather use lower level new macros
5921 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 5922 the undo directly. Refresh the mode line.
b525fd8a 5923
2c73e345
LL
59242012-07-21 Leo Liu <sdl.web@gmail.com>
5925
670d85ea
SM
5926 * progmodes/cc-cmds.el (c-defun-name):
5927 Use match-string-no-properties instead for consistency.
2c73e345 5928
542dfbde
LL
59292012-07-20 Leo Liu <sdl.web@gmail.com>
5930
3646bcd6
LL
5931 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
5932 (Bug#7879)
5933
542dfbde
LL
5934 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
5935
25721031
CY
59362012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
5937
5938 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
5939 * progmodes/bug-reference.el, misearch.el: Provide themselves
5940 (bug#11915).
5941
5942 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
5943 of narrowed buffer (bug#11966).
5944
316e68a7
VB
59452012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
5946
5947 * ses.el (ses-rename-cell): Set new name also in reference list of
5948 cells of which the renamed cell depends.
5949
bbf0e7d9
MY
59502012-07-20 Masatake YAMATO <yamato@redhat.com>
5951
5952 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
5953 to check whether menu-bar is shown or not. If not shown,
5954 show the menu-bar as a popup menu instead of using tmm.
5955 * mouse.el (popup-menu): Accept `point' as `position' argument.
5956
c28662a8
DG
59572012-07-20 Dmitry Gutov <dgutov@yandex.ru>
5958
5959 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
5960 up inside string symbol literal (bug#11923).
5961
87ab808f
EZ
59622012-07-20 Eli Zaretskii <eliz@gnu.org>
5963
5964 * startup.el (fancy-startup-text): Read the whole tutorial, not
5965 just its first 256 bytes. Prevents gibberish in display of the
5966 tutorial title.
5967
89dea803
DA
59682012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
5969
5970 Drop idle buffer compaction due to an absence of the
5971 proved efficiency.
5972 * compact.el: Remove.
5973
8a4e6db8
SS
59742012-07-19 Sam Steingold <sds@gnu.org>
5975
5976 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
5977 vc-bzr-pull & vc-bzr-merge-branch.
5978 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
5979 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
5980 for consistency with compilation-error-regexp-alist.
5981 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
5982 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
5983 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
5984 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
5985
5db81e33
SM
59862012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
5987
5988 * emacs-lisp/chart.el: Use lexical-binding.
5989 (chart-emacs-storage): Don't hardcode the list of entries.
5990
5b835e1d
DA
59912012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
5992
5993 Next round of tweaks caused by Fgarbage_collect changes.
5994 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
5995
9cd47b72
DA
59962012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
5997
5998 Compact buffers when idle.
5999 * compact.el: New file.
6000
1d6fc0df
SM
60012012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
6002
6003 * subr.el (eventp): Presume that if it looks vaguely like an event,
6004 it's an event (bug#10190).
6005
1d29cc7d
FEG
60062012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
6007
6008 Enhancements to ppss related code (thanks Stefan).
6009 * progmodes/python.el (python-indent-context)
6010 (python-indent-calculate-indentation, python-indent-dedent-line)
6011 (python-indent-electric-colon, python-nav-forward-block)
6012 (python-mode-abbrev-table)
1d6fc0df 6013 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
6014 for ppss context.
6015 (python-info-continuation-line-p): Cleanup.
6016 (python-info-ppss-context): Do not catch 'quote.
6017 (python-info-ppss-context-type)
6018 (python-info-ppss-comment-or-string-p): Simplify.
6019
d583cbe6
FEG
60202012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
6021
6022 * progmodes/python.el: Enhancements to eldoc support.
6023 (python-info-current-symbol): New function.
6024 (python-eldoc-at-point): Use python-info-current-symbol.
6025 (python-info-current-defun): Fix cornercase on first defun scan.
6026 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
6027 and signal error when no inferior python process is available.
6028
eceb6feb
DG
60292012-07-18 Dmitry Gutov <dgutov@yandex.ru>
6030
6031 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
6032 assume it's always t.
6033 (vc-git-registered): Remove caching, the function is only called
6034 once.
6035 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
6036
4c8ff0fe
CY
60372012-07-18 Chong Yidong <cyd@gnu.org>
6038
19fb7186
CY
6039 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
6040
9587c688
CY
6041 * simple.el (count-words): Report on narrowing (Bug#9959).
6042
0fe776a1
CY
6043 * bindings.el: Bind M-= to count-words.
6044
4c8ff0fe
CY
6045 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
6046
7f5331cc
MY
60472012-07-18 Masatake YAMATO <yamato@redhat.com>
6048
6049 * progmodes/sh-script.el (sh-imenu-generic-expression):
6050 Capture a function with `function' keyword and without parentheses
6051 like "function FOO" (bug#11856).
6052
2dc2a609
TH
60532012-07-18 Tassilo Horn <tassilo@member.fsf.org>
6054
6055 * window.el (split-window-sensibly): Make WINDOW argument
6056 optional.
6057
439f7677
CY
60582012-07-18 Chong Yidong <cyd@gnu.org>
6059
9aeb25a6
CY
6060 * subr.el (keyboard-translate): Doc fix (Bug#7261).
6061
439f7677
CY
6062 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
6063 and make C-x 8 RET exit isearch (Bug#11439).
6064
6065 * international/iso-transl.el: Move isearch-mode-map key
6066 definitions to isearch.el.
6067
12999ea8
SM
60682012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
6069
6070 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
6071 (eieio-defclass): Use gv-define-setter when possible.
6072
3ab6e069
DA
60732012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
6074
6075 Reflect recent changes in Fgarbage_collect.
6076 * emacs-lisp/chart.el (chart-emacs-storage): Change to
6077 reflect new format of data returned by Fgarbage_collect.
6078
0a60bc10
FEG
60792012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
6080
6081 New utility functions + python-info-ppss-context fix (Bug#11910).
6082 * progmodes/python.el (python-info-beginning-of-block-statement-p)
6083 (python-info-ppss-comment-or-string-p): New functions.
6084 (python-info-ppss-context): Small fix for string check.
6085
6dafa0d5
JL
60862012-07-17 Juri Linkov <juri@jurta.org>
6087
6088 * dired-aux.el (dired-do-async-shell-command): Doc fix.
6089 (dired-do-async-shell-command): Don't add `*' at the end of the
6090 command (Bug#11815).
6091 (dired-do-shell-command): Doc fix.
6092 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
6093 Join the individual commands using either "&" or ";" as the
6094 separator depending on the values of these trailing characters.
6095 At the end re-add the trailing "&". (Bug#10598)
6096
6097 * simple.el (async-shell-command): Sync the interactive spec with
6098 `shell-command'. Doc fix.
6099 (shell-command): Doc fix.
6100
b19dd9d1
JL
61012012-07-17 Juri Linkov <juri@jurta.org>
6102
6103 * descr-text.el (describe-char): Fix format args. (Bug#10129)
6104
bcdc27d7 61052012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 6106
bcdc27d7 6107 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
6108 * progmodes/python.el (python-nav-beginning-of-statement):
6109 Rename from python-nav-statement-start.
bcdc27d7
FEG
6110 (python-nav-end-of-statement): Rename from
6111 python-nav-statement-end.
6112 (python-nav-beginning-of-block): Rename from
6113 python-nav-block-start.
6114 (python-nav-end-of-block): Rename from python-nav-block-end.
6115
191da00e
FEG
61162012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
6117
7f5331cc
MY
6118 * progmodes/python.el (python-shell-send-string-no-output):
6119 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
6120 future interactions (Bug#11868).
6121
4dc7c8d5 61222012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 6123
88ecaf8f
SM
6124 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
6125
ef501ef0
SM
6126 * emacs-lisp/elint.el (elint-find-args-in-code):
6127 Use help-function-arglist, so as to handle lexical byte-code.
6128
aa7aaf8f
SM
6129 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
6130 change (bug#11826).
6131
45fd731c
SM
61322012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
6133
2143fa32
SM
6134 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
6135 Avoid spuriously marking the buffer as modified because of c-is-sws.
6136
efc26dbe
SM
6137 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
6138 as not-a-comment (bug#11946).
6139
f5695c9a
SM
6140 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
6141 for uninterned vars.
6142
6143 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
6144 Use read-event since we don't really want to read chars but bytes.
6145
45fd731c
SM
6146 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
6147 $$..$$ but also $..$ using regexps (bug#11953).
6148 Use tex-verbatim for \url and \path.
6149 (tex-font-lock-keywords): Define as defconst like the others.
6150 (tex-common-initialization): Don't use font-lock-syntax-table any more.
6151
ddfc8813
RK
61522012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
6153
6154 * international/mule-cmds.el (ucs-insert): Make it an obsolete
6155 alias for insert-char.
6156
758e556a
FEG
61572012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
6158
6159 * progmodes/python.el: Simplified imenu implementation.
6160 (python-nav-jump-to-defun): Remove command.
6161 (python-mode-map): Use `imenu' instead.
6162 (python-nav-list-defun-positions-cache)
6163 (python-imenu-include-defun-type, python-imenu-make-tree)
6164 (python-imenu-subtree-root-label, python-imenu-index-alist):
6165 Remove vars.
6166 (python-nav-list-defun-positions, python-nav-read-defun)
6167 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
6168 (python-imenu-make-tree, python-imenu-create-index):
6169 Remove functions.
758e556a
FEG
6170 (python-mode): Update to interact with imenu by setting
6171 `imenu-extract-index-name-function' only.
6172
032d23ab
FEG
61732012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
6174
6175 * progmodes/python.el: Enhancements to navigation commands.
6176 (python-nav-backward-sentence)
6177 (python-nav-forward-sentence): Remove.
6178 (python-nav-backward-statement, python-nav-forward-statement)
6179 (python-nav-statement-start, python-nav-statement-end)
6180 (python-nav-backward-block, python-nav-forward-block)
6181 (python-nav-block-start, python-nav-block-end)
6182 (python-nav-forward-sexp-function)
6183 (python-info-current-line-comment-p)
6184 (python-info-current-line-empty-p): New functions.
6185 (python-indent-context): Use `python-nav-statement-start'.
6186
01795a1b
MA
61872012-07-16 Michael Albinus <michael.albinus@gmx.de>
6188
9328d9aa
MA
6189 * eshell/em-ls.el (eshell/ls): Use `apply'.
6190
6191 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
6192 multi-hops, instead of Tramp internals.
6193
01795a1b
MA
6194 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
6195
6196 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
6197 when F1 and F2 are located on different hosts.
6198
63408057
CY
61992012-07-14 Chong Yidong <cyd@gnu.org>
6200
6201 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
6202 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
6203 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
6204 (xterm-mouse--read-event-sequence-1000)
6205 (xterm-mouse--read-event-sequence-1006): New functions. For old
6206 mouse protocol, handle M-mouse-X events correctly.
6207 (xterm-mouse-event): New arg specifying mouse protocol.
6208 (turn-on-xterm-mouse-tracking-on-terminal)
6209 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
6210 sequence to toggle extended coordinates on newer XTerms.
6211 This appears to be harmless on terminals which do not support this.
63408057 6212
cd276f6e
LL
62132012-07-14 Leo Liu <sdl.web@gmail.com>
6214
28ca98ac
LL
6215 Add fringe bitmap indicators for flymake. (Bug#11253)
6216 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
6217 (flymake-make-overlay): New arg BITMAP.
6218 (flymake-error-bitmap, flymake-warning-bitmap)
6219 (flymake-fringe-indicator-position): New user variables.
6220
cd276f6e
LL
6221 * fringe.el: New bitmap exclamation-mark.
6222
04408072
JD
62232012-07-14 Jan Djärv <jan.h.d@swipnet.se>
6224
6225 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
6226 also (Bug#7879).
6227
b5cf7fc4
CY
62282012-07-14 Chong Yidong <cyd@gnu.org>
6229
6230 * electric.el (electric-pair-post-self-insert-function): Fix pair
6231 insertion in empty-region case (Bug#11520).
6232
be755c79
RT
62332012-07-14 Chong Yidong <cyd@gnu.org>
6234
45fd731c
SM
6235 * bindings.el: Consolidate ctl-x-r-map bindings.
6236 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
6237
6238 * rect.el, register.el: Move bindings to bindings.el.
6239
62402012-07-14 Reuben Thomas <rrt@sc3d.org>
6241
6242 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
6243
7f5b3198
AS
62442012-07-13 Andreas Schwab <schwab@linux-m68k.org>
6245
6246 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
6247
97662200
JB
62482012-07-13 Juanma Barranquero <lekktu@gmail.com>
6249
80185fed
JB
6250 * bindings.el (top): Use `mapc' instead of `mapcar'.
6251
97662200
JB
6252 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
6253
2bb1ae55
MA
62542012-07-13 Michael Albinus <michael.albinus@gmx.de>
6255
6256 * progmodes/sql.el (sql-comint): Suppress the check for program on
6257 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
6258 (Bug#11908)
6259
dea31bd3
CY
62602012-07-13 Chong Yidong <cyd@gnu.org>
6261
6262 * bindings.el: Assign a non-nil permanent-local property to
6263 per-buffer variables which lack a default value (Bug#11930).
6264
6265 * help-fns.el (describe-variable): In the "automatically becomes
6266 local" notice, take note of permanent-local variables.
6267
b68b3337
CY
62682012-07-13 Chong Yidong <cyd@gnu.org>
6269
6270 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
6271 to allow printing the message when called from Lisp.
6272
6273 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6274 Remove toggle-read-only.
6275
6276 * bs.el (bs-toggle-readonly):
45fd731c
SM
6277 * buff-menu.el (Buffer-menu-toggle-read-only):
6278 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
6279
6280 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
6281 Remove with-no-warnings around toggle-read-only.
6282 (ffap-read-only, ffap-read-only-other-window)
6283 (ffap-read-only-other-frame): Callers changed.
6284
6285 * help-mode.el: Don't require view package.
6286 (help-mode-finish): Set buffer-read-only instead of calling
6287 toggle-read-only.
6288
6289 * bindings.el (mode-line-toggle-read-only):
6290 * dired.el (dired-toggle-read-only):
6291 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
6292 with non-nil second arg.
6293
6294 * emacs-lisp/eieio-custom.el (eieio-customize-object):
6295 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
6296 directly.
6297
56bc1586
EZ
62982012-07-12 Eli Zaretskii <eliz@gnu.org>
6299
6300 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
6301 not incf.
6302
a464a6c7
SM
63032012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
6304
6305 More CL cleanups and reduction of use of cl.el.
6306 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
6307 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
6308 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
6309 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
6310 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
6311 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
6312 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
6313 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
6314 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
6315 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
6316 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
6317 * eshell/em-cmpl.el, eshell/em-banner.el:
6318 * calendar/parse-time.el: Use cl-lib.
6319 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
6320 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
6321 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
6322 * term/ns-win.el, term.el, shell.el, ps-samp.el:
6323 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
6324 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
6325 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
6326 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
6327 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
6328 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
6329 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
6330 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
6331 `lambda' rather than with `quote'.
6332 (eshell-do-opt): Adjust accordingly.
6333 (eshell-process-option): Simplify.
6334 * eshell/esh-var.el:
6335 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
6336 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
6337 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
6338 to `pcase--dontcare'.
6339 * emacs-lisp/cl.el (labels): Mark obsolete.
6340 (cl--letf, letf): Move to cl-lib.
6341 (cl--letf*, letf*): Remove.
6342 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
6343 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
6344 (cl-progv): Rewrite.
6345 (cl--letf, cl-letf): Move from cl.el.
6346 (cl-letf*): New macro.
6347 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
6348
7ad4afe1
MA
63492012-07-11 Michael Albinus <michael.albinus@gmx.de>
6350
6351 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
6352
9af57756
CY
63532012-07-11 Chong Yidong <cyd@gnu.org>
6354
6355 * vc/log-edit.el (log-edit-vc-backend): New variable.
6356 (log-edit): Doc fix.
6357
6358 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
6359 argument of log-edit to set up all local variables.
6360 (vc-start-logentry): New optional arg specifying VC backend.
6361
6362 * vc/vc.el (vc-checkin): Use it.
6363 (vc-deduce-fileset): Handle Log Edit buffers.
6364 (vc-diff): Make first argument optional too.
6365
6366 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
6367
8477cc7a
MA
63682012-07-10 Michael Albinus <michael.albinus@gmx.de>
6369
6370 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
6371 command, just in case. The function is not needed anymore.
6372 (eshell-external-command): Do not call `eshell-remote-command'.
6373
19faa8e8
SM
63742012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
6375
f58e0fd5
SM
6376 Reduce use of (require 'cl).
6377 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
6378 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
6379 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
6380 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
6381 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
6382 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
6383 * battery.el, avoid.el, abbrev.el: Use cl-lib.
6384 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
6385 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
6386 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
6387 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
6388 * calculator.el, autorevert.el, apropos.el: Don't require CL.
6389 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
6390 (byte-compile-unfold-bcf, byte-compile-check-variable):
6391 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
6392 (byte-compile-nilconstp):
6393 * emacs-lisp/autoload.el (make-autoload): Use pcase.
6394 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
6395
2519d43a
SM
6396 * emacs-lisp/gv.el (cond): Make it a valid place.
6397 (if): Simplify slightly.
6398
19faa8e8
SM
6399 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
6400 (pcase--self-quoting-p): New function.
6401 (pcase--u1): Use it.
6402
c4907a5e
GM
64032012-07-10 Glenn Morris <rgm@gnu.org>
6404
6405 * emacs-lisp/authors.el (authors-fixed-entries):
6406 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
6407
c4444d16
PE
64082012-07-09 Paul Eggert <eggert@cs.ucla.edu>
6409
6410 Rename configure.in to configure.ac (Bug#11603).
6411 * emacs-lisp/authors.el (authors-canonical-file-name):
6412 * progmodes/autoconf.el (autoconf-mode):
6413 Prefer configure.ac to configure.in.
6414
d75be97d
CY
64152012-07-08 Chong Yidong <cyd@gnu.org>
6416
01ac65bd
CY
6417 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
6418 Implement the mouse-1-click-follows-link handling properly.
6419
6420 * info.el (Info-link-keymap): Use follow-link mechanism for
6421 header-line links (Bug#374).
6422
d75be97d
CY
6423 * simple.el (deactivate-mark): Do not set the primary selection
6424 if another program has acquired it (Bug#11772).
6425
87a92845 64262012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
6427
6428 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
6429 (woman-decode-region): Replace escaped-escapes without destroying
6430 bold or underline (Bug#11552).
87a92845 6431 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 6432
621b9d6c
CY
64332012-07-07 Chong Yidong <cyd@gnu.org>
6434
6435 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
6436 (interprogram-cut-function, interprogram-paste-function):
6437 Mention that we typically mean the clipboard.
621b9d6c 6438
133a11fc
GM
64392012-07-06 Glenn Morris <rgm@gnu.org>
6440
0d27a45e
GM
6441 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
6442
133a11fc
GM
6443 * files.el (toggle-read-only): Restrict message to interactive use.
6444
07b151f1
MA
64452012-07-06 Michael Albinus <michael.albinus@gmx.de>
6446
6447 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
6448
6449 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
6450
211b896b
GM
64512012-07-06 Glenn Morris <rgm@gnu.org>
6452
50394322
GM
6453 * Makefile.in (compile-one-process): Rename from "recompile".
6454
211b896b
GM
6455 * Makefile.in (bzr-update): "compile" is the same as "recompile
6456 autoloads", but parallelizable, so use that instead.
6457
4737eec9
DG
64582012-07-06 Dmitry Gutov <dgutov@yandex.ru>
6459
6460 * window.el (quit-window): Always restore window height when
8137e7b3 6461 it's saved in quit-restore parameter (Bug#11810).
4737eec9 6462
226c3633 64632012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
6464
6465 * simple.el (kill-whole-line): Doc tweak.
6466
226c3633 64672012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
6468
6469 * files.el (file-relative-name): Compare file names
6470 case-insensitively if on MS-Windows or MS-DOS, or if
6471 read-file-name-completion-ignore-case is non-nil. Don't use
6472 case-fold-search for this purpose. (Bug#11827)
6473
4dc7c8d5
SM
64742012-07-17 Andreas Schwab <schwab@linux-m68k.org>
6475
6476 * calendar/cal-dst.el (calendar-current-time-zone):
6477 Return calendar-current-time-zone-cache if non-nil.
6478
64792012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 64802012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 6481
19faa8e8
SM
6482 * calendar/cal-dst.el (calendar-current-time-zone):
6483 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 6484
60198fc9
GM
64852012-07-06 Glenn Morris <rgm@gnu.org>
6486
6487 * Makefile.in (cvs-update): Remove old alias.
6488
957b3189
MA
64892012-07-05 Michael Albinus <michael.albinus@gmx.de>
6490
6491 Sync with Tramp 2.2.6-pre.
6492
6493 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
6494 compatible declaration.
6495
19faa8e8
SM
6496 * net/tramp-cmds.el (tramp-append-tramp-buffers):
6497 Protect `list-load-path-shadows' call.
957b3189
MA
6498
6499 * net/tramp-compat.el (top): Require packages, which aren't
6500 autoloaded anymore for XEmacs. Protect call of
6501 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
6502 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
6503 it hurts at least for SXEmacs.
6504 (tramp-compat-temporary-file-directory): In XEmacs, there is no
6505 standard-value for `temporary-file-directory'.
6506
6507 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
6508 Redirect stderr to /dev/null.
6509 (tramp-sh-handle-write-region): uid and gid can be floats.
6510 Reported by Russell Sim <russell.sim@gmail.com>.
6511 (tramp-sh-handle-vc-registered): Hide errors.
6512 (tramp-vc-file-name-handler): Use dummy results for `process-file'
6513 and `start-file-process'.
6514 (tramp-maybe-open-connection): Check also whether `non-essential'
6515 is bound.
6516
566df3fc
CY
65172012-07-04 Chong Yidong <cyd@gnu.org>
6518
6519 * xml.el (xml--parse-buffer): Use xml-syntax-table.
6520 (xml-parse-tag): Likewise, and avoid changing entity tables.
6521 (xml-syntax-table): Define from scratch, making sure not to give
6522 x2000 and other Unicode spaces whitespace syntax, since those are
6523 not spaces in XML.
6524 (xml-parse-fragment): Delete unused function.
6525 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
6526 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
6527 (xml-entity-ref, xml-pe-reference-re)
6528 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
6529 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
6530 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
6531 (xml-entity-value-re): Use syntax references in regexps where
6532 possible; no need to define inside a let-binding.
6533 (xml-parse-dtd): Use xml-pe-reference-re.
6534 (xml-entity-or-char-ref-re): New defconst.
6535 (xml-parse-string, xml-substitute-special): Use it.
6536
30eabd7a
SM
65372012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
6538
0781098a
SM
6539 * files.el (locate-dominating-file): Allow `name' to be a predicate.
6540 (find-file--read-only): New function.
6541 (find-file-read-only, find-file-read-only-other-window)
6542 (find-file-read-only-other-frame): Use it.
6543 (insert-file-contents-literally): Don't `fset'.
6544 (get-free-disk-space): Use locate-dominating-file.
6545
b5771c0d
SM
6546 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
6547 function is already compiled.
6548
30eabd7a
SM
6549 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
6550
b4886f6e
MA
65512012-07-03 Michael Albinus <michael.albinus@gmx.de>
6552
6553 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
6554 files on the same host.
6555
b9d82339
AS
65562012-07-03 Andreas Schwab <schwab@linux-m68k.org>
6557
6558 * help-fns.el (describe-function-1): Only call
6559 help-fns--autoloaded-p when we have a file name. (Bug#11848)
6560
a76e6535
CY
65612012-07-03 Chong Yidong <cyd@gnu.org>
6562
6563 * xml.el: Protect parser against XML bombs.
6564 (xml-entity-expansion-limit): New variable.
6565 (xml-parse-string, xml-substitute-special): Use it.
6566 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
6567
b544fef2
GM
65682012-07-03 Glenn Morris <rgm@gnu.org>
6569
6570 * progmodes/bug-reference.el (bug-reference-bug-regexp):
6571 Allow linking to specific messages in debbugs reports (eg 123#5).
6572
a7aef6f5
CY
65732012-07-02 Chong Yidong <cyd@gnu.org>
6574
6575 * xml.el: Fix entity and character reference expansion, allowing
6576 them to expand into markup as per XML spec.
6577 (xml-default-ns): New variable.
6578 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
6579 (xml-parse-region): Make first two arguments optional.
6580 Discard text properties.
6581 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
6582 All callers changed.
a7aef6f5
CY
6583 (xml-parse-tag): Call xml-parse-tag-1. For backward
6584 compatibility, this function should not modify buffer contents.
6585 (xml-parse-tag-1): Fix opening-tag regexp.
6586 (xml-parse-string): Rewrite, handling entity and character
6587 references properly.
6588 (xml--entity-replacement-text): Signal an error if a parameter
6589 entity is undefined.
6590
3df31c9f
SM
65912012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
6592
2b5208f1
SM
6593 * comint.el (comint-output-filter): Filter out repeated prompts.
6594
3df31c9f
SM
6595 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
6596 and file-name-absolute-p.
6597 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
6598 internal calls.
6599
e3ac1281
PE
66002012-07-02 Paul Eggert <eggert@cs.ucla.edu>
6601
6602 Spelling fixes.
6603 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
6604 Rename from byte-compile--refiy-function. All uses changed.
6605
fbf2e7ad
CY
66062012-07-01 Chong Yidong <cyd@gnu.org>
6607
6608 * xml.el (xml--parse-buffer): New function. Move most of
6609 xml-parse-region here.
6610 (xml-parse-region): Copy region into a temporary buffer, since
6611 parameter entity substitution requires changing buffer contents.
6612 Use xml--parse-buffer.
6613 (xml-parse-file): Use xml--parse-buffer.
6614 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 6615 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 6616
9bf0aa15
GM
66172012-06-30 Glenn Morris <rgm@gnu.org>
6618
bbce2853
GM
6619 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
6620
9bf0aa15
GM
6621 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
6622 Remove outdated and unnecessary dbus declarations.
6623
0d23c240
EZ
66242012-06-30 Eli Zaretskii <eliz@gnu.org>
6625
6626 * emacs-lisp/timer.el (timer-until): Subtract results of
6627 float-time, instead of taking float-time of the result of
6628 time-subtract, since float-time signals an error for negative time
6629 arguments.
6630
b3218de1
CY
66312012-06-30 Chong Yidong <cyd@gnu.org>
6632
6633 * xml.el (xml-*-re): Convert defvars into defconsts, and
6634 eval-and-compile them so eval-and-compile works on derivatives.
6635 (xml--entity-replacement-text): Use eval-and-comple.
6636
a40c87a0
MA
66372012-06-30 Michael Albinus <michael.albinus@gmx.de>
6638
6639 * vc/vc-git.el (vc-git-registered): Use cache property
6640 `git-registered'.
6641 (vc-git-mode-line-string): Call `vc-working-revision' instead of
6642 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 6643 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 6644
ac87de97
DG
66452012-06-30 Dmitry Gutov <dgutov@yandex.ru>
6646
6647 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 6648 removed (likely outside Emacs). (Bug#11757)
ac87de97 6649
ac10fe06
SM
66502012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
6651
3df31c9f 6652 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 6653
7f3fbd5d
CY
66542012-06-30 Chong Yidong <cyd@gnu.org>
6655
6656 * xml.el: Implement XML parameter entities.
6657 (xml-parameter-entity-alist): New variable.
6658 (xml-parse-region, xml-parse-fragment): Preserve previous values
6659 of xml-entity-alist and xml-parameter-entity-alist, so that
6660 repeated calls on different documents do not change them.
6661 (xml-parse-tag): Fix doctype regexp.
6662 (xml--entity-replacement-text): New function.
6663 (xml-parse-dtd): Use it. Don't handle system entities; doing that
6664 properly requires url retrieval which is unimplemented.
6665 (xml-escape-string): Doc fix.
6666
3cfbebba
SM
66672012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
6668
6669 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
6670
2af3565e
DA
66712012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
6672
6673 * fringe.el (fringe-mode): Doc fix.
6674
929df0e7
MA
66752012-06-29 Michael Albinus <michael.albinus@gmx.de>
6676
6677 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
6678 is non-nil.
6679 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
6680 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
6681
c8d3a25c 66822012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 6683
c8d3a25c
GM
6684 * calendar/cal-dst.el (calendar-current-time-zone):
6685 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 6686
c8d3a25c 66872012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
6688
6689 * progmodes/which-func.el (which-func-format):
6690 Add mouse-face. (Bug#11698)
6691
c8d3a25c
GM
66922012-06-29 Leo Liu <sdl.web@gmail.com>
6693
6694 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
6695
66962012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
6697
6698 * minibuffer.el (minibuffer-confirm-exit-commands):
6699 Add completion-at-point (bug#11725).
6700
67012012-06-29 Glenn Morris <rgm@gnu.org>
6702
6703 * progmodes/f90.el (f90-font-lock-keywords-2):
6704 Add some preprocessor elements. (Bug#10499)
6705
67062012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
6707
6708 * progmodes/cperl-mode.el (cperl-update-syntaxification):
6709 Use syntax-propertize (bug#11739).
6710
2badeec4
JB
67112012-06-28 Juanma Barranquero <lekktu@gmail.com>
6712
6713 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
6714
ae4969c2
JD
67152012-06-28 Julien Danjou <julien@danjou.info>
6716
6717 * term.el (term-handle-colors-array): Use a set of new faces to
6718 color the terminal. Also uses :inverse-video property.
6719 (term-default-fg-color): Set to nil by default, deprecate in favor
6720 of `term-face'.
6721 (term-default-bg-color): Set to nil by default, deprecate in favor
6722 of `term-face'.
6723 (term-current-face): Use `term-face' by default.
6724 (term-bold-attribute): Variable deleted.
6725
1c9bd870
GM
67262012-06-28 Glenn Morris <rgm@gnu.org>
6727
6728 * simple.el (completion-list-mode-finish):
6729 Don't use toggle-read-only. (Since completion-list-mode has
6730 a special mode-class, it wasn't doing anything extra anyway.)
6731
c207708c
SM
67322012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
6733
6734 Make inlining of other-mode interpreted functions work (bug#11799).
6735 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
6736 (byte-compile): Use it to fix compilation of lexical-binding closures.
6737 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
6738 function, if needed.
6739
3fd56834
SM
67402012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
6741
04901786
SM
6742 * help-mode.el (help-make-xrefs): Don't just withstand
6743 cyclic-variable-indirection but any error in documentation-property.
6744
1ec4b7b2
SM
6745 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
6746 memory use.
6747 * bindings.el (bindings--define-key): New function.
6748 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
6749 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
6750 * bindings.el: Use it to purecopy define-key bindings.
6751
e309e2a5
SM
6752 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
6753
d5c6faf9
SM
6754 * emacs-lisp/cl.el (flet): Mark obsolete.
6755 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
6756 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
6757 * progmodes/js.el (js-c-fill-paragraph):
6758 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
6759 (ebrowse-switch-member-buffer-to-derived-class):
6760 * play/5x5.el (5x5-solver): Use cl-flet.
6761
6e9590e2
SM
6762 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
6763 (cl--symbol-function): New macro.
6764 (cl--letf, cl--letf*): Use it.
6765
3fd56834
SM
6766 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
6767 Strip "toggle-" if any.
6768
35ff222c
GM
67692012-06-27 Glenn Morris <rgm@gnu.org>
6770
1ba6038a
GM
6771 * info.el (Info-default-directory-list): Move here from paths.el.
6772 * paths.el: Remove file, which is now empty.
6773 * loadup.el: No longer load "paths".
6774
0ea0e51b
GM
6775 * custom.el (custom-initialize-delay): Doc fix.
6776
35ff222c
GM
6777 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6778 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
6779 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
6780 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
6781 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
6782 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
6783 * eshell/eshell.el (eshell-defgroup): Remove alias.
6784
c89926a5
CY
67852012-06-27 Chong Yidong <cyd@gnu.org>
6786
6787 * help.el (help-enable-auto-load): New variable.
6788
6789 * help-fns.el (help-fns--autoloaded-p): New function.
6790 (describe-function-1): Refer to a function as "autoloaded" if it
6791 was autoloaded at any time in the past. Perform autoloading if
6792 help-enable-auto-load is non-nil.
6793
cc06e7e7
EZ
67942012-06-26 Eli Zaretskii <eliz@gnu.org>
6795
6796 * makefile.w32-in (compile, compile-always): Depend on
6797 update-subdirs, not on subdirs.el. Otherwise, several different
6798 sub-targets of 'bootstrap' running in parallel could
6799 simultaneously write to subdirs.el, producing a garbled file.
6800
d2c32364
SS
68012012-06-26 Sam Steingold <sds@gnu.org>
6802
6803 * files.el (file-name-base): New convenience function.
0d14cc21
GM
6804 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
6805 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
6806 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
6807 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
6808 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
6809 * textmodes/tex-mode.el: Use it.
6810 Did not touch cedet and org because they are maintained elsewhere.
6811
5cf983b2
MR
68122012-06-26 Martin Rudalics <rudalics@gmx.at>
6813
6814 * calendar/calendar.el (calendar-exit): Don't try to delete or
6815 iconify last frame. See:
6816 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
6817
8c4f2952
JD
68182012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
6819
6820 * server.el (server-process-filter): Remember dir in the
6821 process's `server-client-directory' properties.
6822
772b2e2c
CY
68232012-06-24 Chong Yidong <cyd@gnu.org>
6824
6825 * xml.el (xml-parse-tag): Correctly handle comment embedded in
6826 non-tag text.
6827
711b11e1
JB
68282012-06-23 Juanma Barranquero <lekktu@gmail.com>
6829
6830 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
6831
dc5d230c
SM
68322012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
6833
6834 * help-fns.el (describe-variable): Don't croak when doc is not found.
6835 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
6836 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
6837 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
6838 * emacs-lisp/smie.el (smie-next-sexp): CSE.
6839 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
6840 ((lambda ..) ..).
6841 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
6842
136e1c1d
CY
68432012-06-23 Chong Yidong <cyd@gnu.org>
6844
e8c1cabf
CY
6845 * info.el (Info-mouse-follow-link): Accept symbol values of
6846 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
6847 (Info-fontify-node): Use Info-link-keymap for all navigation
6848 buttons, with link-args property to perform the desired action.
6849 (Info-link-keymap): Doc fix.
6850 (Info-next-link-keymap, Info-prev-link-keymap)
6851 (Info-up-link-keymap): Delete now-unused keymaps.
6852
0e9e6c6a
CY
68532012-06-23 Chong Yidong <cyd@gnu.org>
6854
05e89fea
CY
6855 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
6856
0e9e6c6a
CY
6857 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
6858 system abbrevs.
6859
6860 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
6861
e33c6771
SM
68622012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
6863
b68581e2
SM
6864 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
6865 (bug#11719).
6866
e33c6771
SM
6867 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
6868 the requote function doesn't work properly (bug#11714).
6869
7117e105
GM
68702012-06-23 Glenn Morris <rgm@gnu.org>
6871
6872 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
6873
36cec983
SM
68742012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6875
6876 Further GV/CL cleanups.
6877 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
6878 gv-expander.
6879 (gv--defun-declaration): New function.
6880 (defun-declarations-alist): Use it.
6881 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
6882 (gv-place): Autoload.
6883 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
6884 original definition of dotimes and dolist.
6885 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
6886 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
6887 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
6888 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
6889 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
6890 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
6891 to the function's definition.
6892 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
6893 * window.el:
6894 * files.el:
6895 * faces.el:
6896 * env.el: Don't use CL.
6897
d35af63c
PE
68982012-06-22 Paul Eggert <eggert@cs.ucla.edu>
6899
6900 Support higher-resolution time stamps (Bug#9000).
6901
6902 * calendar/time-date.el (with-decoded-time-value): New arg
6903 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
6904 (encode-time-value): New optional arg PICO. New type 3.
6905 (time-to-seconds) [!float-time]: Support the new picoseconds
6906 component if it's used.
6907 (seconds-to-time, time-subtract, time-add):
6908 Support ps-resolution time stamps as well.
6909
6910 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
6911 (timerp): Timer vectors now have length 9, not 8.
6912 (timer--time): Support new-style (4-part) time stamps.
6913 (timer-next-integral-multiple-of-time): Time stamps now have
6914 picosecond resolution, so take a bit more care about rounding.
6915 (timer-relative-time, timer-inc-time): New optional arg psecs.
6916 (timer-set-time-with-usecs): Set psecs to 0.
6917 (timer--activate): Check psecs component, too.
6918
6919 * proced.el (proced-time-lessp): Support ps-resolution stamps.
6920
ac77b21a
SM
69212012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6922
f143bfe3
SM
6923 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
6924 Move the non-essential binding to the post/pre-command-hook where it is
6925 more obviously correct.
6926
ac77b21a
SM
6927 * subr.el (read-passwd): Don't use a history at all.
6928 * savehist.el (savehist-save): Remove password saved accidentally
6929 because of the above bug.
6930
76386c5a
BG
69312012-06-22 Bastien Guerry <bzg@gnu.org>
6932
6933 * files.el (toggle-read-only): Display a message telling whether
6934 the buffer is read-only or not (bug#11726).
6935
2ee3d7f0
SM
69362012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6937
6938 * emacs-lisp/gv.el: New file.
6939 * subr.el (push, pop): Extend to generalized variables.
6940 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
6941 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
6942 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
6943 gv-define-simple-setter, and gv-define-expander.
6944 Remove setf-methods defined in gv. Rename cl-setf -> setf.
6945 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
6946 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
6947 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
6948 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
6949 gv-letplace.
6950 (cl-defstruct): Don't define setf-method any more.
6951 * emacs-lisp/cl.el (flet): Don't autoload.
6952 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
6953 (define-setf-expander, defsetf, define-modify-macro)
6954 (cl-struct-setf-expander): Move from cl-lib.el.
6955 * emacs-lisp/syntax.el:
6956 * emacs-lisp/ewoc.el:
6957 * emacs-lisp/smie.el:
6958 * emacs-lisp/cconv.el:
6959 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
6960 (timer--time): Use gv-define-simple-setter.
6961 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
6962 to avoid coding-system problems in subr.el. Adjust all users.
6963 (macroexp--maxsize, macroexp-small-p): New functions.
6964 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
6965 * scroll-bar.el (scroll-bar-mode):
6966 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
6967 (normal-erase-is-backspace-mode): Don't use the `eq' place.
6968 * winner.el (winner-configuration, winner-make-point-alist)
6969 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
6970 * files.el (locate-file-completion-table): Avoid list*.
6971
c5695d1d
CY
69722012-06-22 Chong Yidong <cyd@gnu.org>
6973
6974 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
6975 (dired-create-files): Doc fix (Bug#11329).
6976 (dired-do-copy): Doc fix (Bug#11334).
6977 (dired-mark-read-string): Doc fix (Bug#11553).
6978
2ee3d7f0
SM
6979 * dired.el (dired-recursive-copies, dired-recursive-deletes):
6980 Doc fix (Bug#11326).
c5695d1d
CY
6981 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
6982 (dired-dwim-target): Doc fix.
6983
6984 * wdired.el (wdired-mode): Doc fix.
6985
89b5595a
GM
69862012-06-22 Glenn Morris <rgm@gnu.org>
6987
575db3f1
GM
6988 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
6989 (pcmpl-rpm-cache-stamp-file): New constant.
6990 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
6991 (pcmpl-rpm-packages): Optionally cache list of packages.
6992
a4c8dd51
GM
6993 * pcmpl-rpm.el (pcmpl-rpm): New group.
6994 (pcmpl-rpm-query-options): New option.
6995 (pcmpl-rpm-packages): No need to inline it.
6996 Use pcmpl-rpm-query-options.
6997
89b5595a
GM
6998 * calendar/calendar.el (calendar-in-read-only-buffer):
6999 Avoid some needless mode changes.
7000
e76f0800
CY
70012012-06-21 Chong Yidong <cyd@gnu.org>
7002
7003 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
7004 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 7005 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 7006
297a8f1d
CY
70072012-06-20 Chong Yidong <cyd@gnu.org>
7008
7009 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
7010
d34c18b1
DR
70112012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
7012
7013 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
7014 (bug#11201).
7015
32f7f28e
CY
70162012-06-20 Chong Yidong <cyd@gnu.org>
7017
7018 * term.el (term-window-width): Handle the case of a missing right
7019 fringe (Bug#8837).
7020 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
7021 (term-mode): Use define-derived-mode. Minor cleanups.
7022 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
7023 (term-move-columns, term-insert-char, term-emulate-terminal)
7024 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 7025
493c6688
MA
70262012-06-20 Michael Albinus <michael.albinus@gmx.de>
7027
d34c18b1
DR
7028 * net/ange-ftp.el (ange-ftp-get-passwd):
7029 Bind `enable-recursive-minibuffers'.
493c6688
MA
7030 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
7031
3f06ecf4
DR
70322012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
7033
7034 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
7035
68f12411
GM
70362012-06-19 Glenn Morris <rgm@gnu.org>
7037
7038 * progmodes/python.el (python-mode): Derive from prog-mode.
7039
b3820318
KG
70402012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
7041
7042 * emulation/edt.el (edt-default-menu-bar-update-buffers)
7043 (edt-user-menu-bar-update-buffers): New functions.
7044 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
7045
c6bf3022
CY
70462012-06-19 Chong Yidong <cyd@gnu.org>
7047
7048 * subr.el (with-selected-window): Preserve the selected window's
7049 terminal's top-frame (Bug#4702).
7050
7051 * window.el (save-selected-window): Likewise.
7052
25f09295
SM
70532012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7054
7055 * progmodes/python.el (python-rx-constituents): Move backquote.
7056 (python-skeleton-define, python-define-auxiliary-skeleton):
7057 Use `declare'.
7058
6b11952a
MA
70592012-06-18 Michael Albinus <michael.albinus@gmx.de>
7060
7061 * minibuffer.el (read-file-name-default): Revert the patch from
7062 2012-06-17.
7063
ee4b1330
SM
70642012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7065
7066 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
7067 (pcase--u1, pcase--q1): Don't use apply-partially.
7068
35647f79
GM
70692012-06-18 Glenn Morris <rgm@gnu.org>
7070
7071 * progmodes/python.el (python-proc, python-buffer)
7072 (python-send-receive, python-send-string): Fix obsolete versions.
7073
24b0cff0
MR
70742012-06-18 Martin Rudalics <rudalics@gmx.at>
7075
7076 * window.el (special-display-p): Completely remove stringp
7077 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
7078
29855149
MA
70792012-06-17 Michael Albinus <michael.albinus@gmx.de>
7080
7081 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
7082
7083 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
7084
7085 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
7086 * net/tramp-sh.el (tramp-maybe-open-connection):
7087 Throw if `non-essential' is non-nil.
7088
07463363
MR
70892012-06-17 Martin Rudalics <rudalics@gmx.at>
7090
7091 * window.el (special-display-p): Signal an error if BUFFER-NAME
7092 is not a string (Bug#11713).
7093
48d1354e
PE
70942012-06-17 Paul Eggert <eggert@cs.ucla.edu>
7095
7096 * progmodes/python.el (python-info-beginning-of-backslash):
7097 Rename from python-info-beginning-of-backlash, as a spelling fix.
7098
eb4a8a9a
CY
70992012-06-17 Chong Yidong <cyd@gnu.org>
7100
7101 * term.el (term-emulate-terminal): If term-check-size is called,
7102 move point to the process mark without resetting point (Bug#4635).
7103
ddfbf826 71042012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
7105
7106 * international/mule-cmds.el (mule-menu-keymap)
7107 (set-language-environment, set-locale-environment): Doc tweaks.
7108
9b0e3eba
AA
71092012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
7110
7111 * cus-face.el (custom-face-attributes): Add wave-style underline
7112 attribute.
7113 * faces.el (set-face-attribute): Update docstring to describe
7114 wave-style underline attribute.
7115
771e3eae
CY
71162012-06-16 Chong Yidong <cyd@gnu.org>
7117
7118 * term/xterm.el (terminal-init-xterm): Discard input before
7119 querying background mode (Bug#10959).
7120
7ae2ea10
SM
71212012-06-16 Stefan Merten <smerten@oekonux.de>
7122
7123 * textmodes/rst.el: Added and corrected some comments.
7124 (rst-re-alist-def): Improve symbol syntax.
7125 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
7126 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
7127 (rst-official-version, rst-official-cvs-rev): Update version
7128 information.
7ae2ea10 7129
b6974efa
JB
71302012-06-15 Juanma Barranquero <lekktu@gmail.com>
7131
7132 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
7133 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
7134
8826d473
GM
71352012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
7136
7137 * progmodes/python.el: New python.el merge.
7138 (python-guess-indent): Obsolete var.
7139 (python-indent-guess-indent-offset): New defcustom.
7140 (python-indent): Obsolete var.
7141 (python-indent-offset): New defcustom.
7142 (python-python-command, python-jython-command): Delete var.
7143 (python-shell-interpreter): New defcustom.
7144 (python-pdbtrack-do-tracking-p): Delete var.
7145 (python-pdbtrack-activate): New defcustom.
7146 (python-use-skeletons): Obsolete var.
7147 (python-skeleton-autoinsert): New defcustom.
7148 (inferior-python-filter-regexp, python-continuation-offset)
7149 (python-honour-comment-indentation, python-indent-string-contents)
7150 (python-jython-packages, python-mode-hook)
7151 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
7152 (python-shell-prompt-alist)
7153 (python-source-modes): Delete defcustoms.
7154 (python-check-buffer-name, python-eldoc-setup-code)
7155 (python-eldoc-string-code, python-ffap-setup-code)
7156 (python-ffap-string-code, python-fill-comment-function)
7157 (python-fill-decorator-function, python-fill-paren-function)
7158 (python-fill-string-function, python-imenu-include-defun-type)
7159 (python-imenu-make-tree, python-imenu-subtree-root-label)
7160 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
7161 (python-shell-compilation-regexp-alist)
7162 (python-shell-completion-module-string-code)
7163 (python-shell-completion-pdb-string-code)
7164 (python-shell-completion-setup-code)
7165 (python-shell-completion-string-code)
7166 (python-shell-enable-font-lock, python-shell-exec-path)
7167 (python-shell-extra-pythonpaths)
7168 (python-shell-internal-buffer-name, python-shell-interpreter-args)
7169 (python-shell-process-environment)
7170 (python-shell-prompt-block-regexp)
7171 (python-shell-prompt-output-regexp)
7172 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
7173 (python-shell-send-setup-max-wait, python-shell-setup-codes)
7174 (python-shell-virtualenv-path): New defcustoms.
7175 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
7176 (inferior-python-mode-syntax-table, python--prompt-regexp)
7177 (python-buffer, python-command python-python-command)
7178 (python-default-template, python-imports, python-indent-index)
7179 (python-indent-list, python-indent-list-length)
7180 (python-mode-running, python-pdbtrack-is-tracking-p)
7181 (python-preoutput-continuation, python-preoutput-leftover)
7182 (python-preoutput-result, python-preoutput-skip-next-prompt)
7183 (python-prev-dir/file, python-recursing)
7184 (python-saved-check-command, python-version-checked)
7185 (python-which-func-length-limit)
7186 (view-return-to-alist): Delete vars.
7187 (python-check-custom-command, python-dotty-syntax-table)
7188 (python-imenu-index-alist, python-indent-current-level)
7189 (python-indent-dedenters, python-indent-levels)
7190 (python-nav-beginning-of-defun-regexp)
7191 (python-nav-list-defun-positions-cache)
7192 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
7193 (python-shell-internal-buffer)
7194 (python-skeleton-available): New vars.
7195 (def-python-skeleton): Delete macro.
7196 (python-skeleton-define): New macro.
7197 (python-define-auxiliary-skeleton, python-rx): New macros.
7198 (python-insert-class): Delete command.
7199 (python-skeleton-class): New command.
7200 (python-insert-def): Delete command.
7201 (python-skeleton-def): New command.
7202 (python-insert-for): Delete command.
7203 (python-skeleton-for): New command.
7204 (python-insert-if): Delete command.
7205 (python-skeleton-if): New command.
7206 (python-insert-try/except, python-insert-try/finally): Delete commands.
7207 (python-skeleton-try): New command.
7208 (python-insert-while): Delete command.
7209 (python-skeleton-while): New command.
7210 (python-backspace): Delete command.
7211 (python-indent-dedent-line-backspace): New command.
7212 (python-electric-colon): Delete command.
7213 (python-indent-electric-colon): New command.
7214 (python-guess-indent): Delete command.
7215 (python-indent-guess-indent-offset): New command.
7216 (python-shift-left): Delete command.
7217 (python-indent-shift-left): New command.
7218 (python-shift-right): Delete command.
7219 (python-indent-shift-right): New command.
7220 (python-find-function): Delete command.
7221 (python-nav-jump-to-defun): New command.
7222 (python-next-statement): Delete command.
7223 (python-nav-forward-sentence): New command.
7224 (python-previous-statement): Delete command.
7225 (python-nav-backward-sentence): New command.
7226 (python-fill-paragraph): Delete command.
7227 (python-fill-paragraph-function): New command.
7228 (python-send-buffer): Delete command.
7229 (python-shell-send-buffer): New command.
7230 (python-send-defun): Delete command.
7231 (python-shell-send-defun): New command.
7232 (python-send-region, python-send-region-and-go): Delete commands.
7233 (python-shell-send-region)
7234 (python-shell-switch-to-shell): New commands.
7235 (python-send-string): Delete command.
7236 (python-shell-send-string): New command.
7237 (python-switch-to-python): Delete command.
7238 (python-shell-switch-to-shell): New command.
7239 (python-describe-symbol): Delete command.
7240 (python-eldoc-at-point): New command.
7241 (python--set-prompt-regexp, python-args-to-list)
7242 (python-after-info-look, python-check-version)
7243 (python-check-comint-prompt, python-find-imports)
7244 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
7245 (python-unload-function, python-expand-template)
7246 (python-maybe-jython, python-preoutput-filter)
7247 (python-pdbtrack-get-source-buffer)
7248 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
7249 (python-pdbtrack-toggle-stack-tracking)
7250 (python-pdbtrack-track-stack-file, python-initial-text)
7251 (python-first-word, python-comment-line-p, python-send-command)
7252 (python-setup-brm, python-sentinel, python-set-proc)
7253 (python-skip-out, python-input-filter, python-outdent-p)
7254 (python-outline-level, python-backslash-continuation-line-p)
7255 (python-end-of-block, python-end-of-statement, python-mark-block)
7256 (python-beginning-of-block, python-beginning-of-statement)
7257 (python-blank-line-p, python-beginning-of-string)
7258 (python-open-block-statement-p): Delete functions.
7259 (python-indent-line, python-indent-line-1): Delete functions.
7260 (python-indent-line): New function.
7261 (python-indentation-levels): Delete function.
7262 (python-indent-calculate-levels): New function.
7263 (python-proc): Delete function.
7264 (python-shell-get-process): New function.
7265 (python-send-receive): Delete function.
7266 (python-shell-send-string-no-output): New function.
7267 (python-module-path): Delete function.
7268 (python-ffap-module-path): New function.
7269 (python-completion-at-point)
7270 (python-symbol-completions): Delete functions.
7271 (python-completion-complete-at-point): New function.
7272 (python-load-file): Delete function.
7273 (python-shell-send-file): New function.
7274 (python-calculate-indentation): Delete function.
7275 (python-indent-calculate-indentation): New function.
7276 (python-skip-comments/blanks): Delete function.
7277 (python-util-forward-comment): New function.
7278 (python-continuation-line-p): Delete function.
7279 (python-info-continuation-line-p): New function.
7280 (python-which-func, python-current-defun): Delete function.
7281 (python-info-current-defun): New function.
7282 (python-beginning-of-defun): Delete function.
7283 (python-nav-beginning-of-defun): New function.
7284 (python-close-block-statement-p)
7285 (python-block-end-p): Delete function.
7286 (python-info-closing-block): New function.
7287 (python-comint-output-filter-function)
7288 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
7289 (python-fill-comment, python-fill-decorator, python-fill-paren)
7290 (python-fill-string, python-imenu-make-element-tree)
7291 (python-imenu-make-tree, python-imenu-tree-assoc)
7292 (python-indent-context, python-indent-dedent-line)
7293 (python-indent-line-function)
7294 (python-indent-post-self-insert-function)
7295 (python-indent-toggle-levels)
7296 (python-info-assignment-continuation-line-p)
7297 (python-info-beginning-of-backlash)
7298 (python-info-block-continuation-line-p)
7299 (python-info-closing-block-message)
7300 (python-info-line-ends-backslash-p)
7301 (python-info-looking-at-beginning-of-defun)
7302 (python-info-ppss-context, python-info-ppss-context-type)
7303 (python-nav-list-defun-positions, python-nav-read-defun)
7304 (python-nav-sentence-end, python-nav-sentence-start)
7305 (python-pdbtrack-comint-output-filter-function)
7306 (python-pdbtrack-set-tracked-buffer)
7307 (python-shell-calculate-exec-path)
7308 (python-shell-calculate-process-environment)
7309 (python-shell-completion--do-completion-at-point)
7310 (python-shell-completion--get-completions)
7311 (python-shell-completion-complete-at-point)
7312 (python-shell-completion-complete-or-indent)
7313 (python-shell-get-or-create-process)
7314 (python-shell-get-process-name)
7315 (python-shell-internal-get-or-create-process)
7316 (python-shell-internal-get-process-name)
7317 (python-shell-internal-send-string, python-shell-make-comint)
7318 (python-shell-parse-command, python-shell-send-setup-code)
7319 (python-skeleton-add-menu-items)
7320 (python-util-clone-local-variables, python-util-position)
7321 (run-python-internal, python-indentation-levels)
7322 (python-nav-beginning-of-defun)
7323 (python-completion-complete-at-point): New functions.
7324 (run-python): Change arguments. New API requirements.
7325
4302f5ba
SM
73262012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7327
f38ea36d
SM
7328 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
7329 (bug#11649).
7330
7331 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
7332 (macroexp--expand-all): Use it.
7333
4302f5ba
SM
7334 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
7335 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
7336 Use `cl-function' instead.
7337
33377562
JB
73382012-06-14 Juanma Barranquero <lekktu@gmail.com>
7339
7340 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
7341 Suggested by Stefan Monnier while discussing bug#11657.
7342
54c5ba1a
SS
73432012-06-14 Sam Steingold <sds@gnu.org>
7344
7345 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
7346
f9f1b1fe
AS
73472012-06-14 Andreas Schwab <schwab@linux-m68k.org>
7348
7349 * play/doctor.el (doctor-doc): Remove parameter and use
7350 doctor-sent instead of sent.
7351 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
7352
a81068ba
SM
73532012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7354
5a315f9c
SM
7355 * files.el: Require cl-lib.
7356 (file-name-non-special): Replace case -> cl-case.
7357
7358 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
7359
a81068ba
SM
7360 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
7361 mapping from #' to function*.
7362
8cca9703
CY
73632012-06-13 Chong Yidong <cyd@gnu.org>
7364
7365 * mouse.el (mouse-drag-track): Do not set the mark if the user
7366 releases the mouse without selecting anything (Bug#11588).
7367
a12ac9d7
SM
73682012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7369
ccf1dc18
SM
7370 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
7371 as well (bug#11646).
7372
ef62b23d
SM
7373 * loadup.el: Count byte-code functions as well.
7374
c4c8444a
SM
7375 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
7376 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
7377
a12ac9d7
SM
7378 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
7379 (bug#11649). Add cl-defun and cl-defmacro.
7380
87e6e64f
DA
73812012-06-13 Drew Adams <drew.adams@oracle.com>
7382
7383 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
7384 Fix last change.
7385
682cefaf
MA
73862012-06-13 Michael Albinus <michael.albinus@gmx.de>
7387
7388 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
7389 Otherwise, it blocks in batch mode.
7390
773e1f08
JB
73912012-06-13 Juanma Barranquero <lekktu@gmail.com>
7392
7393 * help-mode.el (bookmark-make-record-default): Declare.
7394
60057926
CY
73952012-06-13 Chong Yidong <cyd@gnu.org>
7396
7397 * emacs-lisp/package.el (list-packages): Compute a list of
7398 packages that are newly-available since the last list-packages
7399 invocation.
7400 (package-menu--new-package-list): New var.
7401 (package-menu--generate, package-menu--print-info)
7402 (package-menu--status-predicate, package-menu-mark-install):
7403 Handle new status label "new".
7404
ad4d226c
SM
74052012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7406
7407 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
7408 conversion to backquotes.
7409
f1a4e679
CY
74102012-06-12 Chong Yidong <cyd@gnu.org>
7411
7412 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
7413 Rename from gud-inhibit-global-bindings.
7414
7415 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
7416
7417 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
7418 hook from nxml-glyph-set-hook.
7419
7420 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
7421 declaration.
7422
7423 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
7424
7425 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
7426 Convert to defcustom.
7427
0c9e42b5
DA
74282012-06-12 Drew Adams <drew.adams@oracle.com>
7429
7430 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
7431 New functions.
7432 (help-mode): Use them.
7433
09e06855
GM
74342012-06-11 Glenn Morris <rgm@gnu.org>
7435
7436 * progmodes/fortran.el (fortran-font-lock-keywords-3):
7437 Use preprocessor face for directives.
7438 (fortran-directive-re): Doc fix.
7439
71adb94b
SM
74402012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7441
2eb87922
SM
7442 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
7443 conversion to backquotes (bug#11652).
7444
71adb94b
SM
7445 Fix compiler-expansion of CL's cXXr functions (bug#11673).
7446 * emacs-lisp/cl-lib.el (cl--defalias): New function.
7447 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
7448 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
7449 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
7450 (cl-ninth, cl-tenth): Mark them as inlinable.
7451 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
7452 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
7453 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
7454 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
7455 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
7456 (cl-list*, cl-adjoin): Don't put an autoload manually.
7457 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
7458 (cl--compiler-macro-list*): Add autoload cookie.
7459 (cl--compiler-macro-cXXr): New function.
2eb87922 7460
71adb94b
SM
7461 * help-fns.el (help-fns--compiler-macro): New function extracted from
7462 describe-function-1; follow aliases and use `compiler-macro' property.
7463 (describe-function-1): Use it.
7464
a6674402
CY
74652012-06-11 Chong Yidong <cyd@gnu.org>
7466
7467 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
7468 is uninstalled, if imagemagick is installed.
7469
bb3faf5b
SM
74702012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7471
7472 * emacs-lisp/cl-lib.el: Use lexical-binding.
7473 (cl-map-extents, cl-maclisp-member): Remove.
7474 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
7475 (cl--set-substring, cl--block-wrapper, cl--block-throw)
7476 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
7477 * emacs-lisp/cl-extra.el: Use lexical-binding.
7478 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
7479 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
7480 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
7481 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
7482 * emacs-lisp/cl-seq.el: Use lexical-binding.
7483 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
7484 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
7485 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
7486 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
7487 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
7488 CL's internals.
7489
2fe4b125
MA
74902012-06-11 Michael Albinus <michael.albinus@gmx.de>
7491
7492 Sync with Tramp 2.2.6-pre.
7493
7494 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
7495 `print-length' and `print-level' to nil, in order to avoid
7496 truncation. Reported by Christopher Schmidt
7497 <christopher@ristopher.com>.
7498
7499 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
7500
7501 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
7502 New defmacro.
7503 (tramp-compat-copy-directory): Add optional argument
7504 COPY-CONTENTS. It is not handled yet.
7505
7506 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
7507 (tramp-ftp-file-name-p): Simplify.
7508
7509 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
7510 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
7511 connection vector.
7512
7513 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
7514 (tramp-methods): Do not use `tramp-password-end-of-line'.
7515 (tramp-completion-function-alist-putty): Handle UNIX case.
7516 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
7517 (tramp-do-file-attributes-with-stat)
7518 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
7519 gid as real numbers. They could run out of integer range on cygwin.
7520 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
7521 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
7522 (tramp-open-connection-setup-interactive-shell):
7523 Use `tramp-cleanup'. Move check for busyboxes ...
7524 (tramp-find-shell): ... here. Simplify implementation.
7525 Set "remote-shell" property also for alternative shells.
7526 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
7527 If failing, a regular file would be written otherwise.
7528 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
7529 (tramp-find-inline-encoding): Cache the coding commands in the
7530 process cache. Apply test command on the remote side, if defined.
7531 (tramp-find-inline-compress): Cache the compress commands in the
7532 process cache.
7533 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
7534 when requested. Handle hops.
7535 (tramp-current-connection): New defvar.
87e6e64f
DA
7536 (tramp-maybe-open-connection): Use `tramp-cleanup'.
7537 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 7538 Handle user interrupt. (Bug#10187)
87e6e64f
DA
7539 (tramp-get-inline-compress, tramp-get-inline-coding):
7540 Read connection properties from the process cache.
2fe4b125
MA
7541
7542 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
7543 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
7544 New defconsts.
2fe4b125
MA
7545 (tramp-smb-prompt): Extend for powershell prompt.
7546 (tramp-smb-file-name-handler-alist): Add handlers for
7547 `process-file', `shell-command' and `start-file-process'.
7548 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
7549 (tramp-smb-winexe-shell-command-switch): New defcustoms.
7550 (tramp-smb-file-name-p): Simplify.
7551 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
7552 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
7553 (tramp-smb-shell-quote-argument): New defuns.
7554 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
7555 Implement using "tar". By this, time-stamps are preserved.
7556 (tramp-smb-handle-copy-file): Handle also the case of directories.
7557 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
7558 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
7559 Use `tramp-get-connection-buffer').
2fe4b125
MA
7560 (tramp-smb-handle-rename-file): Use "rename", when source and
7561 target are on the same share.
87e6e64f
DA
7562 (tramp-smb-maybe-open-connection): Handle wrong passwords.
7563 Use `tramp-smb-server-version'.
2fe4b125
MA
7564 (tramp-smb-wait-for-output): Remove prompt.
7565
7566 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
7567 (tramp-methods, tramp-rsh-end-of-line):
7568 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
7569 (tramp-save-ad-hoc-proxies): New defcustom.
7570 (tramp-completion-function-alist): Adapt docstring.
7571 (tramp-default-password-end-of-line): Remove defcustom.
7572 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
7573 (tramp-user-regexp, tramp-file-name-regexp-unified)
7574 (tramp-file-name-regexp-url): Extend regexp by hop separator.
7575 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
7576 (tramp-remote-file-name-spec-regexp): New defconst.
7577 (tramp-file-name-structure): Extend structure for hops.
7578 (tramp-get-method-parameter): Move up.
7579 (tramp-file-name-p, tramp-dissect-file-name)
7580 (with-parsed-tramp-file-name): Handle hops.
7581 (tramp-file-name-hop): New defun.
7582 (tramp-make-tramp-file-name): New optional arg HOP.
7583 (tramp-message-show-progress-reporter-message): New defvar.
7584 (tramp-with-progress-reporter): Use it. We cannot use
7585 `tramp-message-show-message' here, because this suppresses also
7586 error buffers.
7587 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
7588 `tramp-message-show-message' is nil.
7589 Use `tramp-get-connection-buffer'.
2fe4b125
MA
7590 (tramp-cleanup): New defun.
7591 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
7592 (tramp-file-name-handler): If `debug-on-error' is set, propagate
7593 an error unchanged.
7594 (tramp-completion-handle-file-name-all-completions): Handle hops.
7595 Fix an error when called from ido.
7596 (tramp-completion-dissect-file-name): Use better local variable
7597 name. Add hop to the vector.
7598 (tramp-handle-insert-file-contents): Use progress-reporter for the
7599 whole scenario.
7600 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
7601 to `t'.
7602 (tramp-check-for-regexp): Simplify search.
7603 (tramp-enter-password): Remove it. Move implementation ...
7604 (tramp-action-password): ... here.
7605 (tramp-mode-string-to-int, tramp-local-host-p)
7606 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
7607 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
7608 Set tramp-autoload cookie.
2fe4b125
MA
7609
7610 * net/trampver.el: Update release number.
7611
76122012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7613 Michael Albinus <michael.albinus@gmx.de>
7614
7615 * net/tramp.el (tramp-set-completion-function): Fix docstring.
7616 (tramp-parse-group, tramp-parse-file)
7617 (tramp-parse-shostkeys-sknownhosts): New defuns.
7618 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
7619 (tramp-parse-shosts-group, tramp-parse-sconfig)
7620 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
7621 (tramp-parse-sknownhosts, tramp-parse-hosts)
7622 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
7623 Use them.
7624 (tramp-parse-passwd-group, tramp-parse-netrc-group)
7625 (tramp-parse-putty-group): Don't narrow.
7626 (tramp-parse-putty): Make a loop.
7627 (tramp-file-name-handler): Catch the `suppress' signal.
7628
72834e10
CY
76292012-06-11 Chong Yidong <cyd@gnu.org>
7630
7631 * image.el (imagemagick-register-types): Put the ImageMagick entry
7632 at the end of image-type-file-name-regexps.
7633
a4712e11
JB
76342012-06-11 Johan Bockgård <bojohan@gnu.org>
7635
7636 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
7637 (pcase, pcase-let*, pcase-dolist): Use them.
7638
82ad98e3
SM
76392012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7640
7641 * emacs-lisp/pcase.el (pcase--let*): New function.
7642 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
7643 (pcase--expand): Use macroexp-let².
7644
f80efb86
SM
76452012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
7646
7647 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
7648 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
7649 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
7650 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
7651 * emacs-lisp/derived.el: Use pcase instead of `cl'.
7652 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
7653
31ca4639 76542012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 7655
31ca4639
CY
7656 * mail/rmail.el (rmail-yank-current-message): Leave point at
7657 correct position. (Bug#11660)
94f0aa34 7658
31ca4639 76592012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 7660
31ca4639 7661 * allout-widgets.el: Fix code header.
9e1b8ec4 7662
31ca4639 76632012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 7664
f80efb86
SM
7665 * cus-edit.el (customize-changed-options-previous-release):
7666 Bump to 24.1.
31ca4639 7667
642b6d30
AS
76682012-06-09 Andreas Schwab <schwab@linux-m68k.org>
7669
7670 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
7671
4f5d2ba1
CY
76722012-06-09 Chong Yidong <cyd@gnu.org>
7673
7674 * ebuff-menu.el (electric-buffer-list): Preserve header line.
7675
e75852fd
MR
76762012-06-09 Martin Rudalics <rudalics@gmx.at>
7677
7678 * window.el (special-display-popup-frame): Don't use
7679 window--display-buffer (Bug#11651).
7680
1e48e282
EZ
76812012-06-09 Eli Zaretskii <eliz@gnu.org>
7682
8a26b487
EZ
7683 Fix parallel builds: make sure loaddefs.el is not being written
7684 while Lisp files are compiled.
7685 (compile): Don't depend on 'mh-autoloads'.
7686 (compile-CMD, compile-SH): Depend on 'autoloads'.
7687 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
7688
1e48e282
EZ
7689 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
7690
6175e34b
CY
76912012-06-09 Chong Yidong <cyd@gnu.org>
7692
7693 * face-remap.el (face-remap-add-relative, face-remap-set-base)
7694 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
7695 Doc fixes (Bug#11225).
7696
d9857e53
SM
76972012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
7698
7699 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
7700 a function if there's a clear indication that it has a compiler-macro.
7701 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
7702 (macro-declarations-alist): Add arglist to declaration functions.
7703 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
7704 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
7705 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
7706 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
7707 Also add autoload to find the compiler macro.
7708 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
7709 (cl--compiler-macro-member, cl--compiler-macro-assoc)
7710 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
7711 (cl--compiler-macro-get): New functions, replacing calls to
7712 cl-define-compiler-macro.
7713 (cl-typep) [compiler-macro]: Use macroexp-let².
7714
f81298f8 77152012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
7716
7717 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
7718 string properly, fixes Bug#11473.
7719
4b56d0fe
CY
77202012-06-08 Chong Yidong <cyd@gnu.org>
7721
7722 * faces.el (set-face-attribute): Doc fix.
7723 (modify-face): Don't use :bold and :italic.
7724 (error, warning, success): Tweak definitions.
7725
7726 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
7727 (custom-modified, custom-set, custom-changed, custom-themed)
7728 (custom-saved, custom-button, custom-button-mouse)
7729 (custom-button-pressed, custom-state, custom-comment-tag)
7730 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
7731 (custom-group-subtitle): Use new-style face specs.
7732 (custom-invalid-face, custom-rogue-face, custom-modified-face)
7733 (custom-set-face, custom-changed-face, custom-saved-face)
7734 (custom-button-face, custom-button-pressed-face)
7735 (custom-documentation-face, custom-state-face)
7736 (custom-comment-face, custom-comment-tag-face)
7737 (custom-variable-tag-face, custom-variable-button-face)
7738 (custom-face-tag-face, custom-group-tag-face-1)
7739 (custom-group-tag-face): Remove obsolete face alias.
7740
7741 * epa.el (epa-validity-high, epa-validity-medium)
7742 (epa-validity-low, epa-mark, epa-field-name, epa-string)
7743 (epa-field-name, epa-field-body):
7744 * font-lock.el (font-lock-comment-face, font-lock-string-face)
7745 (font-lock-keyword-face, font-lock-builtin-face)
7746 (font-lock-function-name-face, font-lock-variable-name-face)
7747 (font-lock-type-face, font-lock-constant-face):
7748 * ido.el (ido-first-match, ido-only-match, ido-subdir)
7749 (ido-virtual, ido-indicator, ido-incomplete-regexp):
7750 * speedbar.el (speedbar-button-face, speedbar-file-face)
7751 (speedbar-directory-face, speedbar-tag-face)
7752 (speedbar-selected-face, speedbar-highlight-face)
7753 (speedbar-separator-face):
7754 * whitespace.el (whitespace-newline, whitespace-space)
7755 (whitespace-hspace, whitespace-tab, whitespace-trailing)
7756 (whitespace-line, whitespace-space-before-tab)
7757 (whitespace-space-after-tab, whitespace-indentation)
7758 (whitespace-empty):
7759 * emulation/cua-base.el (cua-global-mark):
7760 * eshell/em-prompt.el (eshell-prompt):
7761 * net/newst-plainview.el (newsticker-new-item-face)
7762 (newsticker-old-item-face, newsticker-immortal-item-face)
7763 (newsticker-obsolete-item-face, newsticker-date-face)
7764 (newsticker-statistics-face, newsticker-default-face):
7765 * net/newst-reader.el (newsticker-feed-face)
7766 (newsticker-extra-face, newsticker-enclosure-face):
7767 * net/newst-treeview.el (newsticker-treeview-face)
7768 (newsticker-treeview-new-face, newsticker-treeview-old-face)
7769 (newsticker-treeview-immortal-face)
7770 (newsticker-treeview-obsolete-face)
7771 (newsticker-treeview-selection-face):
7772 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
7773 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
7774 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
7775 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
7776 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
7777 (nxml-outline-active-indicator, nxml-outline-ellipsis):
7778 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
7779 (mpuz-text):
7780 * progmodes/vera-mode.el (vera-font-lock-number)
7781 (vera-font-lock-function, vera-font-lock-interface):
7782 * textmodes/table.el (table-cell): Use new-style face specs, and
7783 don't use the old :bold and :italic attributes.
7784
7785 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
7786 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
7787 (ebrowse-member-class, ebrowse-progress): Likewise.
7788 (ebrowse-tree-mark-face, ebrowse-root-class-face)
7789 (ebrowse-file-name-face, ebrowse-default-face)
7790 (ebrowse-member-attribute-face, ebrowse-member-class-face)
7791 (ebrowse-progress-face): Remove obsolete faces.
7792
7793 * progmodes/flymake.el (flymake-errline, flymake-warnline):
7794 Inherit from error and warning faces respectively.
7795
7796 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
7797 Likewise.
f80efb86
SM
7798 (flyspell-incorrect-face, flyspell-duplicate-face):
7799 Remove obsolete aliases.
4b56d0fe 7800
03310646
MA
78012012-06-08 Michael Albinus <michael.albinus@gmx.de>
7802
7803 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
7804 Avoid infloop.
7805
513749ee
SM
78062012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
7807
7808 * startup.el (argv, argi): Make lexically scoped.
7809 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
7810 * emacs-lisp/cl-macs.el: Use lexical-binding.
7811 Rename cl-bind-* to cl--bind-*.
7812 * files.el: Don't require `cl' since it doesn't use it.
7813 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
7814
595ef4ad
JB
78152012-06-08 Juanma Barranquero <lekktu@gmail.com>
7816
7817 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
7818 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
7819 instead of calling external sort utility.
7820 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
7821
e9f66fcb
EZ
78222012-06-08 Eli Zaretskii <eliz@gnu.org>
7823
7824 * descr-text.el (describe-char): Mention how to insert the
7825 character, if the current input method doesn't support it.
7826 See the discussion in this thread for the details:
7827 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
7828
3d10db47
SS
78292012-06-08 Sam Steingold <sds@gnu.org>
7830
7831 * bindings.el (global-map): Bind XF86Forward to next-buffer and
7832 XF86Back to previous-buffer.
7833 (minibuffer-local-map): Bind them to next-history-element and
7834 previous-history-element respectively.
7835 * help-mode.el (help-mode-map): Bind them to help-go-forward and
7836 help-go-back respectively.
7837 * info.el (Info-mode-map): Bind them to Info-history-forward and
7838 Info-history-back respectively.
7839 These are the keys next to Up on the ThinkPad keyboard.
7840
de7e2b36
SM
78412012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
7842
7843 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
7844 * emacs-lisp/cl-macs.el: Provide itself.
7845 (cl--labels-convert-cache): New var.
7846 (cl--labels-convert): New function.
7847 (cl-flet, cl-labels): New implementation with new semantics, relying on
7848 lexical-binding.
7849 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
7850 (cl-closure-vars, cl--function-convert-cache)
7851 (cl--function-convert): Move from cl-macs.el.
7852 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
7853 rename by removing the "cl-" prefix.
7854 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
7855
6fa6c4ae
SM
78562012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7857
7858 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
7859 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
7860 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
7861 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
7862 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
7863 (cl-hash-table-count): Add old compatibility aliases.
7864
7865 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
7866 Use macroexpand-all-environment instead.
7867 (cl--old-macroexpand): New var.
7868 (cl--sm-macroexpand): New function.
7869 (cl-symbol-macrolet): Use it during macro expansion.
7870 (cl--function-convert-cache): New var.
7871 (cl--function-convert): New function, extracted from
7872 cl-macroexpand-all.
7873 (cl-lexical-let): Use it.
7874
7875 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
7876 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
7877 (cl-member): Remove old alias.
7878
7879 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
7880 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
7881 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
7882 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
7883 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
7884 (cl-macroexpand-cmacs): Remove var.
7885 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
7886 Use macroexpand-all instead.
7887
4dd1c416
SM
78882012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7889
7890 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
7891 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
7892 (macroexp-copyable-p): New functions and macros.
7893 * emacs-lisp/edebug.el (edebug-unwrap):
7894 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
7895 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
7896 (pcase--let*): Remove.
7897 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
7898 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
7899 macroexp-const-p instead.
7900 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
7901
7902 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
7903 instead of "cl-" for internal definitions. Use macroexp-const-p.
7904 (cl-old-bc-file-form): Remove var.
7905 (cl-const-exprs-p): Remove fun.
7906 (cl-labels, cl-macrolet): Use backquote.
7907 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
7908 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
7909 (cl-define-setf-expander): Rename from cl-define-setf-method.
7910 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
7911
7912 * international/mule-cmds.el: Don't require CL.
7913 (view-hello-file): Don't use `letf'.
7914
ed8bd4d7
SM
79152012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7916
7287f2f3
SM
7917 * tmm.el (tmm-prompt): Use string-prefix-p.
7918 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
7919 (tmm-add-prompt): Use minibuffer-completion-help.
7920 (tmm-delete-map): Remove.
7921
ed8bd4d7
SM
7922 * subr.el (kbd): Make it its own function.
7923
7b4cdbf4
SM
79242012-06-07 Stefan Merten <smerten@oekonux.de>
7925
7926 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
7927 Silence compiler warnings. Fix versions.
ed8bd4d7 7928 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 7929 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 7930 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
7931 (rst-package-emacs-version-alist): Correct Emacs version to
7932 represent major merge with upstream.
ed8bd4d7 7933 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 7934
2b48d721
GM
79352012-06-06 Glenn Morris <rgm@gnu.org>
7936
7937 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
7938 Only print environment variables if set.
7939
fa779ab0
SM
79402012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
7941
7942 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
7943 (macroexp--cons): Rename from maybe-cons.
7944 (macroexp--accumulate): Rename from macroexp-accumulate.
7945 (macroexp--all-forms): Rename from macroexpand-all-forms.
7946 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
7947 (macroexp--expand-all): Rename from macroexpand-all-1.
7948
628299e0
SS
79492012-06-06 Sam Steingold <sds@gnu.org>
7950
7951 * calendar/calendar.el (calendar-in-read-only-buffer):
7952 Call `special-mode' to enable the standard read-only keybindings.
7953
b7bb5838
SM
79542012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
7955
7956 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
7957 with "loading" messages (bug#11635).
7958
dfb308ba
MA
79592012-06-06 Michael Albinus <michael.albinus@gmx.de>
7960
7961 * files.el (enable-remote-dir-locals): New option.
7962 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
7963
0372ee92
MA
7964 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
7965 Ensure, that the temp directory is local.
7966
7967 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
7968 `temporary-file-directory'.
7969
eed0bb91
MA
7970 * progmodes/python.el (python-send-region): Ensure, that the
7971 temporary file is created also in the remote case.
7972
7a58f64d
GM
79732012-06-06 Glenn Morris <rgm@gnu.org>
7974
f7dd4e98
GM
7975 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
7976 (vc-rcs-update-changelog): Use it.
7977
090bd7cb 7978 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 7979
7a58f64d
GM
7980 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
7981 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
7982 (vc-sccs-diff): Replace use of the external vcdiff script.
7983
daed4003
GM
79842012-06-05 Glenn Morris <rgm@gnu.org>
7985
7986 * ledit.el: Move to obsolete/.
7987
48c455c7
SS
79882012-06-05 Sam Steingold <sds@gnu.org>
7989
ed9265fc 7990 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
7991 patch (Bug#11140).
7992
57a7d507
SM
79932012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7994
090bd7cb 7995 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 7996
53aacf21
SM
7997 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
7998 compiler-macro expansion.
7999
57a7d507
SM
8000 Add native compiler-macro support.
8001 * emacs-lisp/macroexp.el (macroexpand-all-1):
8002 Support compiler-macros directly. Properly follow aliases and apply
8003 the compiler macros more thoroughly.
8004 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
8005 macroexpand now properly follows aliases.
8006 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
8007 (cl-compiler-macroexpand): Use new prop.
8008 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
8009
8010 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
8011
51a5f9d8
MR
80122012-06-05 Martin Rudalics <rudalics@gmx.at>
8013
8014 * window.el (get-lru-window, get-mru-window, get-largest-window):
8015 New argument NOT-SELECTED to avoid picking the selected window.
8016 (window--display-buffer-1, window--display-buffer-2): Replace by
8017 new function window--display-buffer
8018 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
8019 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8020 Use window--display-buffer.
51a5f9d8
MR
8021 (display-buffer-use-some-window): Remove temporary dedication
8022 hack by calling get-lru-window and get-largest-window with
8023 NOT-SELECTED argument non-nil. Call window--display-buffer.
8024
08f9f738
GM
80252012-06-05 Glenn Morris <rgm@gnu.org>
8026
8027 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
8028 Replace external vcdiff script.
8029
e364a2b7
SM
80302012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
8031
8032 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
8033
041df390
CY
80342012-06-04 Chong Yidong <cyd@gnu.org>
8035
e364a2b7
SM
8036 * image.el (imagemagick-types-inhibit): Revert last change.
8037 Add INFO and M.
47b36b94 8038 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 8039
7c1898a7
SM
80402012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
8041
8042 * emacs-lisp/cl-lib.el: Rename from cl.el.
8043 * emacs-lisp/cl.el: New compatibility file.
8044 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
8045 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
8046 to obey the "cl-" prefix.
8047 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
8048
0c3461de
GM
80492012-06-03 Glenn Morris <rgm@gnu.org>
8050
1e266c88
GM
8051 * emacs-lisp/authors.el (authors-aliases): Addition.
8052
0c3461de
GM
8053 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
8054 Fix :version.
8055
d8a52e15
SM
80562012-06-03 Stefan Merten <smerten@oekonux.de>
8057
8058 * textmodes/rst.el: Add comments.
8059 (rst-transition, rst-adornment): New faces.
8060 (rst-adornment-faces-alist): Make default safe to reevaluate.
8061 Fixes
8062 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
8063 Improve customization tags.
8064 (rst-define-level-faces): Clarify meaning.
8065
5205d6f6
CY
80662012-06-03 Chong Yidong <cyd@gnu.org>
8067
8068 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
8069 (compilation-mode-line-run, compilation-mode-line-exit):
8070 New faces.
5205d6f6
CY
8071 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
8072
757ee657
JD
80732012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
8074
7c1898a7
SM
8075 * progmodes/which-func.el (which-func-update-ediff-windows):
8076 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 8077
5f2c76c6
CY
80782012-06-03 Chong Yidong <cyd@gnu.org>
8079
8080 * bindings.el: Remove explicit help text from format-mode-line.
8081 It is now supplied by mode-line-default-help-echo.
8082 (mode-line-front-space, mode-line-end-spaces)
8083 (mode-line-misc-info): New variables.
8084 (mode-line-modes, mode-line-position): Move the default value to
8085 the variable definition.
8086 (mode-line-default-help-echo): New defcustom.
383f7350
CY
8087 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
8088 (mode-line-modified-help-echo): New functions.
8089 (mode-line-mule-info, mode-line-modified): Use them.
8090 (mode-line-eol-desc, propertized-buffer-identification):
8091 Consistency fixes for help text.
cbe46e5f
CY
8092 (mode-line-coding-system-map): Allow using mouse-3 to invoke
8093 set-buffer-file-coding-system (Bug#289).
8094 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 8095
f2d6a3df
SM
80962012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8097
8098 * simple.el (execute-extended-command): Set real-this-command
8099 (bug#11506).
8100
37269466
CY
81012012-06-02 Chong Yidong <cyd@gnu.org>
8102
8103 Remove incorrect uses of "modeline" in comments, docstrings, and
8104 function/variable names (Bug#10329).
8105
8106 * cus-edit.el (mode-line):
8107 * dframe.el (dframe-mouse-hscroll):
8108 * emacs-lisp/re-builder.el:
8109 * emacs-lisp/easy-mmode.el (define-minor-mode):
8110 * frame.el (set-frame-name):
8111 * help.el (lookup-minor-mode-from-indicator):
8112 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
8113 * progmodes/cc-cmds.el (c-toggle-auto-newline)
8114 (c-toggle-hungry-state):
8115 * progmodes/antlr-mode.el (antlr-language-alist):
8116 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
8117 * progmodes/vhdl-mode.el (vhdl-mode):
8118 * progmodes/which-func.el (which-func, which-func-cleanup-function):
8119 * term/ns-win.el (ns-face-at-pos):
8120 * term/sup-mouse.el (sup-mouse-report):
8121 * textmodes/flyspell.el (flyspell-mode-line-string):
8122 * textmodes/ispell.el (ispell-highlight-face):
8123 * textmodes/reftex-global.el:
8124 * vc/vc-arch.el (vc-arch-mode-line-string):
8125 * vc/vc-cvs.el (vc-cvs-mode-line-string):
8126 * vc/vc-git.el (vc-git-mode-line-string):
8127 * vc/vc-hooks.el (vc-display-status)
8128 (vc-default-mode-line-string):
8129 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
8130
8131 * ansi-color.el (ansi-color-faces-vector): Change default faces.
8132
8133 * dired.el (dired-sort-set-mode-line): Rename from
8134 dired-sort-set-modeline. All callers changed.
8135
8136 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
8137 eshell-status-in-modeline.
8138
8139 * foldout.el (foldout-mode-line-string): Rename from
8140 foldout-modeline-string. All callers changed.
8141 (foldout-update-mode-line): Rename from foldout-update-modeline.
8142
8143 * subr.el (redraw-modeline): Make into obsolete alias.
8144
8145 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
8146 timeclock-modeline-display. Make old name an alias.
8147 (timeclock-update-mode-line): Likewise. All callers changed.
8148 (timeclock-mode-line-display): No need to check before using
8149 add-hook.
8150 (timeclock-relative, timeclock-day-over-hook)
8151 (timeclock-use-elapsed, timeclock-mode-string)
8152 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
8153
8154 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
8155 crisp-mode-modeline-string.
8156
8157 * play/solitaire.el (solitaire-build-mode-line): Rename from
8158 solitaire-build-modeline. All callers changed.
8159
8160 * play/zone.el (zone-hiding-mode-line): Rename from
8161 zone-hiding-modeline. All callers changed.
8162 (zone): Remove unusued `modeline-hidden-level' property.
8163
8164 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
8165 xscheme-modeline-initialize. All callers changed.
8166
8167 * strokes.el (strokes-lighter): Rename from
8168 strokes-modeline-string.
8169
8170 * textmodes/sgml-mode.el (html-face-tag-alist)
8171 (html-tag-face-alist): Use mode-line face instead of obsolete
8172 alias modeline.
8173
42152ee4
SM
81742012-06-02 Stefan Merten <smerten@oekonux.de>
8175
8176 * textmodes/rst.el: Always require `cl'.
4cf9b38d 8177 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 8178
95f520b5
CY
81792012-06-02 Chong Yidong <cyd@gnu.org>
8180
8181 * image.el (imagemagick-enabled-types): Rename from
8182 imagemagick-types-enable. Add many more types.
8183 (imagemagick-types-inhibit): Change default to nil.
8184 (imagemagick-filter-types): Caller changed.
8185
4a5f187a
SM
81862012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8187
03fef3e6
SM
8188 * emacs-lisp/cl-macs.el: Use backquotes.
8189 (cl-transform-function-property): Use eval-and-compile rather than
8190 abusing `require'.
8191 (defstruct): Use declare-function instead of with-no-warnings.
8192
4a5f187a
SM
8193 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
8194 (byte-compile-output-docform): Re-add the print-circle bindings.
8195 (byte-compile-fix-header): Use #$ just because it's shorter.
8196 (byte-compile-output-file-form): Remove defun/defmacro.
8197
bd56924f
MR
81982012-06-01 Martin Rudalics <rudalics@gmx.at>
8199
8200 * simple.el (choose-completion): Remove now obsolete binding for
8201 owindow.
8202
046e38ce
MA
82032012-06-01 Michael Albinus <michael.albinus@gmx.de>
8204
8205 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
8206 in order to avoid "Stack overflow in regexp matcher".
8207
32d72c2f
GM
82082012-05-31 Glenn Morris <rgm@gnu.org>
8209
8210 * image.el: For clarity, call imagemagick-register-types at
8211 top-level, rather than relying on a custom :initialize.
8212 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
8213 (imagemagick-filter-types): New function. (Bug#7406)
8214 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
8215 If disabling support, remove elements altogether rather
8216 than using an impossible regexp.
8217 (imagemagick-types-inhibit): Give it the default init function.
8218
dd41169b
SM
82192012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8220
4a5f187a
SM
8221 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
8222 Handle arbitrary file name lengths (Bug#11585).
dd41169b 8223
efc00ab1 82242012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
8225
8226 * desktop.el (desktop-read): Clear previous and next buffers for
8227 all windows and bury *Messages* buffer (bug#11556).
8228
500fcedc
SM
82292012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8230
8231 Add `declare' for `defun'. Align `defmacro's with it.
8232 * emacs-lisp/easy-mmode.el (define-minor-mode)
8233 (define-globalized-minor-mode): Don't autoload the var definitions.
8234 * emacs-lisp/byte-run.el: Use lexical-binding.
8235 (defun-declarations-alist, macro-declarations-alist): New vars.
8236 (defmacro, defun): Use them.
8237 (make-obsolete, define-obsolete-function-alias)
8238 (make-obsolete-variable, define-obsolete-variable-alias):
8239 Use `declare'.
8240 (macro-declaration-function): Mark obsolete.
8241 * emacs-lisp/autoload.el: Use lexical-binding.
8242 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
8243
6e8a1786
AM
82442012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8245
8246 * textmodes/ispell.el (ispell-with-no-warnings):
8247 Define as a macro.
500fcedc
SM
8248 (ispell-kill-ispell, ispell-change-dictionary):
8249 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
8250 `interactive-p'.
8251
61b108cc
SM
82522012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8253
8254 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
8255 (macro-declaration-function): Move var from C code.
8256 (macro-declaration-function): Define function with defalias.
8257 * emacs-lisp/macroexp.el (macroexpand-all-1):
8258 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
8259 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
8260 defun/defmacro any more.
8261 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
8262 Provide fallback for unknown arglist.
8263 (byte-compile-arglist-warn): Change calling convention.
8264 (byte-compile-output-file-form): Move print-vars binding.
8265 (byte-compile-output-docform): Simplify accordingly.
8266 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
8267 (byte-compile-defmacro-declaration): Remove.
8268 (byte-compile-file-form-defmumble): Generalize to defalias.
8269 (byte-compile-output-as-comment): Return byte-positions.
8270 Simplify callers accordingly.
8271 (byte-compile-lambda): Use `assert'.
8272 (byte-compile-defun, byte-compile-defmacro): Remove.
8273 (byte-compile-file-form-defalias):
8274 Use byte-compile-file-form-defmumble.
8275 (byte-compile-defalias-warn): Remove.
8276
6d3f7c2f
SM
82772012-05-29 Stefan Merten <smerten@oekonux.de>
8278
8279 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 8280 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
8281
8282 (rst-mode-abbrev-table): Merge definition.
8283 (rst-mode): Make sure `font-lock-defaults' is buffer local.
8284 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
8285
6dbaa1c7
UJ
82862012-05-29 Ulf Jasper <ulf.jasper@web.de>
8287
8288 * calendar/icalendar.el
8289 (icalendar-export-region): Export UID properly.
8290
d209e2fb 82912012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
8292 * calendar/icalendar.el (icalendar-import-format):
8293 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
8294 (icalendar-import-format-uid): New.
8295 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
8296 Export UID.
8297
6876a58d
SM
82982012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8299
8300 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
8301 different alternative patterns.
8302 (pcase-codegen): Be more careful to preserve identity.
8303 (pcase--u1): Don't forget to mark vars as used.
8304
8305 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
8306 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
8307 (byte-compile-from-buffer): ...rather than here.
8308
8309 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
8310 functions from byte-compile-function-environment.
8311
46b7967e
TN
83122012-05-29 Troels Nielsen <bn.troels@gmail.com>
8313
8314 * window.el (window-deletable-p): Avoid deleting the root window
8315 of a frame with an active minibuffer.
8316
69d565e2
MR
83172012-05-29 Martin Rudalics <rudalics@gmx.at>
8318
8319 * simple.el (choose-completion): Use quit-window (Bug#11567).
8320
a149fa51
CY
83212012-05-29 Chong Yidong <cyd@gnu.org>
8322
8323 * whitespace.el (whitespace-cleanup): Fix usage of
8324 whitespace-empty-at-bob-regexp (Bug#11492).
8325
2b311310
AH
83262012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8327
8328 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
8329 revert (Bug#11488).
8330
b9cb2387
JL
83312012-05-29 Juri Linkov <juri@jurta.org>
8332
8333 * isearch.el (isearch-mode-map): Bind `M-s _' to
8334 `isearch-toggle-symbol'. Bind `M-s c' to
8335 `isearch-toggle-case-fold'.
8336 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
8337 (isearch-forward): Add `M-s _' to the docstring.
8338 (isearch-forward-symbol, isearch-toggle-case-fold)
8339 (isearch-symbol-regexp): New functions. (Bug#11381)
8340
d5e61c1c
JL
83412012-05-29 Juri Linkov <juri@jurta.org>
8342
8343 * isearch.el (isearch-word): Add docstring. (Bug#11381)
8344 (isearch-occur, isearch-search-and-update): If `isearch-word' is
8345 a function, call it to get the regexp.
8346 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
8347 property `isearch-message-prefix' instead of the string "word ".
8348 (isearch-search-fun-default): For the case of `isearch-word',
8349 return a lambda that calls re-search-forward/re-search-backward
8350 with a regexp returned by `word-search-regexp' or by the function
8351 in `isearch-word'.
8352
8cbd80f7
JL
83532012-05-29 Juri Linkov <juri@jurta.org>
8354
8355 * isearch.el (isearch-search-fun-default): New function.
8356 (isearch-search-fun): Move default part to the new function
8357 `isearch-search-fun-default'.
8358 (isearch-search-fun-function): Set the default value to
8359 `isearch-search-fun-default'. (Bug#11381)
8360
8361 * comint.el (comint-history-isearch-end):
8362 Use `isearch-search-fun-default'.
8363 (comint-history-isearch-search): Use `isearch-search-fun-default'
8364 and remove spacial case for `isearch-word'.
8365 (comint-history-isearch-wrap): Remove spacial case for
8366 `isearch-word'.
8367
8368 * hexl.el (hexl-isearch-search-function):
8369 Use `isearch-search-fun-default'.
8370
8371 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
8372 Use `word-search-regexp' for `isearch-word'.
8373
8374 * misearch.el (multi-isearch-search-fun):
8375 Use `isearch-search-fun-default'.
8376
8377 * simple.el (minibuffer-history-isearch-search):
8378 Use `isearch-search-fun-default' and remove spacial case for
8379 `isearch-word'.
8380 (minibuffer-history-isearch-wrap): Remove spacial case for
8381 `isearch-word'.
8382
8383 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
8384 Remove spacial case for `isearch-word'.
8385 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
8386
85c8c5b6
AM
83872012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8388
8389 Decrease XEmacs incompatibilities.
8390 * textmodes/flyspell.el (flyspell-check-pre-word-p):
8391 Use `string-match'.
8392 (flyspell-delete-region-overlays): Use alternative definition for
8393 XEmacs.
8394 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
8395 (flyspell-word): Use `process-kill-without-query' if XEmacs.
8396 (flyspell-mode-on): Use `interactive-p' if XEmacs.
8397 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
8398 `define-obsolete-face-alias' under XEmacs, but old method.
8399
8400 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
8401 `with-no-warnings' definition or Emacs alias.
8402 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
8403 (ispell-word): Do not use `region-p' if XEmacs.
8404
8cab9efc
AM
84052012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8406
8407 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
8408 Check for `ispell-dictionary-base-alist' instead of full
8409 `ispell-dictionary-alist'.
8410 (ispell-init-process): Show spellchecker when starting new Ispell
8411 process.
8412
fda91268
RZ
84132012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
8414
8415 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
8416 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
8417
694ea8e3
JB
84182012-05-27 Juanma Barranquero <lekktu@gmail.com>
8419
8420 * version.el (motif-version-string, gtk-version-string)
8421 (ns-version-string): Declare.
8422
e4d4f539
JL
84232012-05-27 Juri Linkov <juri@jurta.org>
8424
8425 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
8426 after the `eval-defun-1' specialcaseing
8427 like in `edebug-eval-defun' (bug#10181).
8428
8429 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
8430 like in `eval-defun-1'.
8431
33017faf 84322012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 8433
fda91268
RZ
8434 * mail/sendmail.el (mail-yank-region):
8435 Recognize rmail-yank-current-message in addition to insert-buffer.
8436 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
8437 a *mail* buffer created through rmail-start-mail with sendmail as
8438 mail-user-agent.
8439
33017faf
GM
84402012-05-27 Chong Yidong <cyd@gnu.org>
8441
8442 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
8443 Default to 256 (Bug#11267).
8444
8445 * help.el (describe-mode): Doc fix.
8446
04188bb9
GM
84472012-05-26 Glenn Morris <rgm@gnu.org>
8448
38264cc9
GM
8449 * w32-fns.el (w32-init-info): Remove.
8450 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
8451
eb7afdad
GM
8452 * info.el (info-initialize): For self-contained NS builds, put the
8453 included info/ directory at the front. (Bug#2791)
8454
04188bb9
GM
8455 * paths.el (Info-default-directory-list): Make it a defcustom,
8456 mainly so that we can use custom-initialize-delay.
8457
a179e3f7
SM
84582012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
8459
43416392
SM
8460 * subr.el (buffer-has-markers-at): Mark obsolete.
8461
a179e3f7 8462 * subr.el (lambda): Use declare.
43416392 8463
a179e3f7
SM
8464 * emacs-lisp/lisp-mode.el (lambda):
8465 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
8466
34a008d9
AH
84672012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8468
8469 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
8470
0a3b289f
GM
84712012-05-26 Glenn Morris <rgm@gnu.org>
8472
8473 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
8474
758c81e8
GM
84752012-05-25 Glenn Morris <rgm@gnu.org>
8476
f9f334f0
GM
8477 * paths.el: Remove no-byte-compile.
8478 * loadup.el: No need to load paths.el uncompiled.
8479
87eb79c2
GM
8480 * image.el (imagemagick-types-inhibit): Doc fix.
8481
758c81e8
GM
8482 * version.el: Remove no-byte-compile and associated formatting.
8483 * loadup.el: No need to load version.el uncompiled. AFAICS, this
8484 is ancient code from when there was an "inc-vers.el".
8485
e7e85dc0
SM
84862012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8487
8488 * progmodes/gdb-mi.el: Minor style changes.
8489 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
8490 Turn into minor modes.
8491 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
8492 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
8493 (gdb-shell): Remove unneeded let-binding.
8494 (gdb-get-many-fields): Eliminate O(n²) behavior.
8495
f31237a4
EZ
84962012-05-25 Eli Zaretskii <eliz@gnu.org>
8497
8498 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
8499 platforms that don't link in fontset.c.
8500
bc1b21bb
JL
85012012-05-25 Juri Linkov <juri@jurta.org>
8502
8503 Use the same diff color scheme as in modern VCSes (bug#10181).
8504
8505 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
8506 to avoid confusion with `diff-added' that now uses green colors.
8507 (diff-removed): Use shades of red.
8508 (diff-added): Use shades of green.
8509 (diff-changed): Leave just the yellow color.
8510 (diff-use-changed-face): New variable.
8511 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
8512 how to highlight context diff changes.
8513 (diff-refine-change): Use shades of yellow.
8514 (diff-refine-removed): New face that uses shades of red.
8515 (diff-refine-added): New face that uses shades of green.
8516 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
8517 `diff-refine-removed' in the call to `smerge-refine-subst'
8518 depending on the value of `diff-use-changed-face'.
8519
8520 * vc/smerge-mode.el (smerge-mine): Use shades of red.
8521 (smerge-other): Use shades of green.
8522 (smerge-base): Use shades of yellow.
8523 (smerge-refined-change): Empty face.
8524 (smerge-refined-removed): New face that uses shades of red.
8525 (smerge-refined-added): New face that uses shades of green.
8526 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
8527 args `props-r' and `props-a', and use them. Doc fix.
8528 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
8529 on its value use different faces `smerge-refined-change',
8530 `smerge-refined-removed', `smerge-refined-added' in the call to
8531 `smerge-refine-subst'.
8532
8533 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
8534 Add face condition `min-colors 88' with shades of red.
8535 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
8536 `min-colors 88' with shades of green.
8537 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
8538 `min-colors 88' with shades of yellow.
8539
6df9112c
GM
85402012-05-24 Glenn Morris <rgm@gnu.org>
8541
ead5edc0
GM
8542 * paths.el (prune-directory-list, remote-shell-program): Move to...
8543 * files.el (prune-directory-list, remote-shell-program): ...here.
8544 For the latter, delay initialization, prefer ssh, just search PATH.
8545
f18b81e6
GM
8546 * paths.el (term-file-prefix): Move to faces.el (the only user).
8547 * faces.el (term-file-prefix): Move here, make it a defcustom.
8548
ee2f89a6
GM
8549 * paths.el (news-directory, news-path, news-inews-program):
8550 Move to gnus/nnspool.el.
61a583ca 8551
f8815e4c
GM
8552 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
8553
c8f3b42c
GM
8554 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
8555 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
8556 Make the latter a defcustom, with a delayed initialization.
8557
6df9112c
GM
8558 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
8559 These were deleted from Gnus itself late 2010.
8560
5dadff36
JB
85612012-05-22 Juanma Barranquero <lekktu@gmail.com>
8562
9e1701c6
JB
8563 * progmodes/which-func.el (which-func-ff-hook):
8564 Check against user-error, not error.
8565
bd7239f5 8566 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
8567 cl-specs.el, which no longer exists.
8568
3290526d
GM
85692012-05-22 Glenn Morris <rgm@gnu.org>
8570
8571 * info.el (info-emacs-bug): New command.
8572 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
8573 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
8574
ff0c3cfb
GM
85752012-05-21 Glenn Morris <rgm@gnu.org>
8576
8577 * makefile.w32-in (update-subdirs-SH):
8578 * Makefile.in (update-subdirs): Update for moved update-subdirs.
8579
5814f126
SM
85802012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
8581
a52c0aa0
SM
8582 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
8583
5814f126
SM
8584 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8585 Simplify Maven regexp, and make sure the file can't start with a space
8586 (bug#11517).
8587
b847032c
GM
85882012-05-21 Glenn Morris <rgm@gnu.org>
8589
8590 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
8591 Scrap superfluous subshells.
8592
3858bfe7
SM
85932012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
8594
8595 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
8596 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
8597
d14b0029
JB
85982012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
8599
8600 * calc/calc.el (calc-ensure-consistent-units): New variable.
8601
a52c0aa0
SM
8602 * calc/calc-units.el (math-consistent-units-p)
8603 (math-check-unit-consistency): New functions.
8604 (calc-quick-units, calc-convert-units):
8605 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
8606 is non-nil.
d14b0029
JB
8607 (calc-extract-units): Fix typo.
8608
60c4db3a
SM
86092012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8610
77f3b62e
SM
8611 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
8612
60c4db3a
SM
8613 * textmodes/flyspell.el: Commenting style, plus code simplifications.
8614 (flyspell-default-deplacement-commands): Don't spell check after
8615 repeated window/frame switches (e.g. triggered by mouse-movement).
8616 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
8617 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
8618 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
8619 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
8620 Remove unused vars.
8621 (flyspell-get-casechars, flyspell-get-not-casechars):
8622 Simplify; Don't bother removing a ] just to add it back.
8623 * textmodes/ispell.el (ispell-program-name): Use executable-find.
8624
d209e2fb 86252012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
8626
8627 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
8628 New functions.
bd7239f5 8629 (math-function-table): Add support for more C functions.
b1a10716 8630
3f1b25b5
AM
86312012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8632
090bd7cb
JB
8633 * textmodes/flyspell.el (flyspell-check-pre-word-p)
8634 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
8635 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 8636
b581bb5c
SM
86372012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8638
8639 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
8640 their respective macro declarations.
8641 * skeleton.el (define-skeleton):
8642 * progmodes/compile.el (define-compilation-mode):
8643 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
8644 (define-ibuffer-filter):
8645 * emacs-lisp/generic.el (define-generic-mode):
8646 * emacs-lisp/easy-mmode.el (define-minor-mode)
8647 (define-globalized-minor-mode):
8648 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
8649 * emacs-lisp/byte-run.el (defsubst):
8650 * custom.el (deftheme): Add doc-string metadata.
8651
70b8ef8f
SM
86522012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8653
8654 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
8655
b1198e17
SM
86562012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8657
9abdc45d
SM
8658 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
8659
b1198e17
SM
8660 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
8661 * emacs-lisp/cl-macs.el: Idem.
8662 * emacs-lisp/cl-specs.el: Remove.
8663
4735906a
SM
86642012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8665
8666 Minor renaming of internal CL functions and variables.
8667 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
8668 (cl--position): Rename from cl-position.
8669 (cl--delete-duplicates): Rename from cl-delete-duplicates.
8670 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
8671 (cl--random-state): Rename from *random-state*.
8672
ac348012
SM
86732012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8674
8675 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
8676 parens around the arg list (bug#11499).
8677
a0a79cde
JL
86782012-05-17 Juri Linkov <juri@jurta.org>
8679
8680 * isearch.el (word-search-regexp, word-search-backward)
8681 (word-search-forward, word-search-backward-lax)
8682 (word-search-forward-lax): Move functions from search.c
8683 (bug#10145, bug#11381).
8684
65034a51
AM
86852012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8686
090bd7cb
JB
8687 * textmodes/flyspell.el (flyspell-check-pre-word-p)
8688 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
8689 Delay for otherchars as for normal word components.
65034a51 8690
1a72a195
SM
86912012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
8692
8693 * minibuffer.el (completion--sifn-requote): Fix last change.
8694 (minibuffer-local-must-match-filename-map):
8695 Move define-obsolete-variable-alias before its var.
8696
fdb058c2
SM
86972012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8698
c41045e6
SM
8699 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
8700
036dfb8b
SM
8701 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
8702 behavior.
8703 (completion--string-equal-p): New function.
8704 (completion--twq-all): Use it to get better assertion failure data.
8705
2473256d
SM
8706 Only handle ".." and '..' quoting in shell-mode (bug#11466).
8707 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
8708 (shell--requote-argument): New functions.
8709 (shell-completion-vars): Use them.
8710 (shell--parse-pcomplete-arguments): Rename from
8711 shell-parse-pcomplete-arguments.
8712 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
8713 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
8714 Obey comint-file-name-quote-list.
8715
fdb058c2
SM
8716 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
8717 (smie-indent-keyword): Use it.
8718
51fa99f1
SM
87192012-05-14 Stefan Merten <smerten@oekonux.de>
8720
8721 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
8722
e18afed7 87232012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
8724
8725 * net/rlogin.el (rlogin-mode-map): Fix last change.
8726
e18afed7 87272012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
8728
8729 * mail/smtpmail.el (smtpmail-send-command): Send the command and
8730 the following \r\n using a single `process-send-string', since the
8731 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 8732 with two `process-send-string's (Bug#11444).
8633b1f4 8733
e18afed7 87342012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 8735
fdb058c2
SM
8736 * shell.el (shell-parse-pcomplete-arguments):
8737 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 8738
2d21d7f6
WJ
87392012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
8740
e18afed7 8741 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
8742 (image-transform-scale, image-transform-right-angle-fudge): New vars.
8743 (image-transform-width, image-transform-fit-width): New functions.
8744 (image-transform-properties): Use them.
8745 (image-transform-check-size): New function.
8746 (image-toggle-display-image): Use it (for testing).
8747 (image-transform-set-rotation): Reduce angle mod 360.
8748 Delete obsolete comment.
8749
7102e6d0
WJ
87502012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
8751
8752 * image-mode.el: Fix scaling (bug#11399).
8753 (image-transform-resize): Doc fix.
8754 (image-transform-properties): Default scale is 1 and height should
8755 be an integer.
8756
06bc5e6e
SM
87572012-05-13 Johan Bockgård <bojohan@gnu.org>
8758
8759 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
8760 than hard-coding `car', to fix misbehavior when moving forward.
8761
0ae03b6a
CY
87622012-05-13 Chong Yidong <cyd@gnu.org>
8763
8764 * emacs-lisp/tabulated-list.el (tabulated-list-format)
8765 (tabulated-list-entries, tabulated-list-padding)
8766 (tabulated-list-sort-key): Make permanent-local.
8767
8768 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
8769 (electric-buffer-list): Put electric buffer menu
8770 command descriptions in this docstring, instead of the docstring
8771 of electric-buffer-menu-mode. Code cleanups.
8772 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
8773 Electric-buffer-menu-mode.
8774 (electric-buffer-update-highlight): Minor code cleanup.
8775
205a7391
MA
87762012-05-13 Michael Albinus <michael.albinus@gmx.de>
8777
8778 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
8779 (Bug#11447)
8780
e5bd0a28
SM
87812012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
8782
8783 Move define-obsolete-variable-alias before the var's definition.
8784 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
8785 * tooltip.el (tooltip-hook):
8786 * textmodes/reftex-toc.el (reftex-toc-map):
8787 * textmodes/reftex-sel.el (reftex-select-label-map)
8788 (reftex-select-bib-map):
8789 * textmodes/reftex-index.el (reftex-index-map)
8790 (reftex-index-phrases-map):
8791 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
8792 * progmodes/meta-mode.el (meta-mode-map):
8793 * novice.el (disabled-command-hook):
8794 * loadhist.el (unload-hook-features-list):
8795 * frame.el (blink-cursor):
8796 * files.el (find-file-not-found-hooks, write-file-hooks)
8797 (write-contents-hooks):
8798 * emulation/tpu-edt.el (GOLD-map):
8799 * emacs-lock.el (emacs-lock-from-exiting):
8800 * emacs-lisp/generic.el (generic-font-lock-defaults):
8801 * emacs-lisp/chart.el (chart-map):
8802 * dos-fns.el (register-name-alist):
8803 * dired-x.el (dired-omit-files-p):
8804 * desktop.el (desktop-enable):
8805 * cus-edit.el (custom-mode-hook):
8806 * buff-menu.el (buffer-menu-mode-hook):
8807 * bookmark.el (bookmark-read-annotation-text-func)
8808 (bookmark-exit-hooks):
8809 * allout.el (allout-mode-deactivate-hook)
8810 (allout-exposure-change-hook, allout-structure-added-hook)
8811 (allout-structure-deleted-hook, allout-structure-shifted-hook):
8812 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
8813 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
8814 comes before the corresponding variable's definition.
8815
ac59c2f6
CY
88162012-05-12 Chong Yidong <cyd@gnu.org>
8817
8818 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
8819 (Buffer-menu-mouse-select): Restore function (Bug#11459).
8820 (Buffer-menu-mode-map): Bind it.
8821 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 8822
dee6c9a3
SM
88232012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
8824
2171cea5
SM
8825 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
8826 (prolog-upper-case-string, prolog-lower-case-string)
8827 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
8828 (prolog-use-smie, prolog-smie-grammar): New vars.
8829 (prolog-smie-forward-token, prolog-smie-backward-token)
8830 (prolog-smie-rules): New funs.
8831 (prolog-comment-indent): Remove.
8832 (prolog-mode-variables): Use default comment indentation instead.
8833 Setup SMIE.
8834 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
8835 (prolog-mode): Don't call them any more.
8836 (prolog-electric-colon, prolog-electric-dash)
8837 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
8838
aa0382bd
SM
8839 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
8840
dbacb4bd
SM
8841 * minibuffer.el (completion--twq-all): Again, allow case differences.
8842
13bdd94c
SM
8843 * term.el: Move keymap initialization code to be more idiomatic.
8844 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
8845 (term-terminal-menu): Move initialization into declaration.
8846 (term-escape-char): Let the user set it in her .emacs.
8847
ff46c759
SM
8848 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
8849 Provide SMIE-based indentation (not enabled by default yet).
8850 (sh-mode-map): Don't bind electric keys.
8851 Use electric-pair-mode instead of skeleton-pair.
8852 (sh-assignment-regexp): Fit within 80 columns.
8853 (sh-indent-supported): Specify actual shell name instead of boolean.
8854 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
8855 (sh-maybe-here-document): Use it. Make obsolete.
8856 (sh-electric-here-document-mode) New minor mode.
8857 (sh-mode): Use it. Don't set sh-indent-supported-here here.
8858 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
8859 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
8860 (sh-smie-rc-grammar, sh-use-smie): New vars.
8861 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
8862 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
8863 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
8864 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
8865 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
8866 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
8867 (sh-set-shell): Use smie-setup if requested.
8868
dee6c9a3
SM
8869 * term.el (term-set-escape-char): Properly set term-escape-char.
8870 See http://stackoverflow.com/questions/10524656.
8871
9f9aa044
CY
88722012-05-10 Chong Yidong <cyd@gnu.org>
8873
8874 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
8875 Use url-generic-parse-url, and handle host names and Windows
8876 filenames properly.
8877 (ffap-url-unwrap-remote): Use url-generic-parse-url.
8878 (ffap-url-unwrap-remote): Accept list values, specifying a list of
8879 URL schemes to work on.
8880 (ffap--toggle-read-only): New function.
8881 (ffap-read-only, ffap-read-only-other-window)
8882 (ffap-read-only-other-frame): Use it.
8883 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
8884 necessary for ffap-url-unwrap-remote.
8885
836d29b3
DA
88862012-05-10 Dave Abrahams <dave@boostpro.com>
8887
8888 * cus-start.el (create-lockfiles): Add it.
8889
00fd78ed
CY
88902012-05-09 Chong Yidong <cyd@gnu.org>
8891
8892 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
8893 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
8894
666b903b 88952012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
8896
8897 * shell.el (shell-completion-vars): Fix last change (bug#11348).
8898
666b903b 88992012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
8900
8901 * ansi-color.el (ansi-color-process-output): Check for validity of
8902 comint-last-output-start before using it. This avoids a bad
8903 interaction with gdb-mi's input/output buffer.
8904
666b903b 89052012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
8906
8907 * files.el (dir-locals-read-from-file):
8908 Mention dir-locals in any error message.
8909
666b903b 89102012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
8911
8912 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
8913 package (Bug#11410).
8914
f677562b
CY
8915 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
8916 variables into description.
8917
666b903b 89182012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
8919
8920 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
8921 shell-delimiter-argument-list (bug#11348).
8922 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
8923
b499d8d0
JB
89242012-05-09 Juanma Barranquero <lekktu@gmail.com>
8925
8f6b6da8
JB
8926 * textmodes/rst.el: Silence byte-compiler warnings.
8927 (rst-re-alist, rst-reset-section-caches): Move around.
8928 (rst-re): Use `characterp', not `char-valid-p'.
8929 (font-lock-beg, font-lock-end): Declare.
8930
4824146a
JB
8931 * progmodes/idlw-shell.el (specs): Remove reference to deleted
8932 variable `idlwave-shell-activate-alt-keybindings' and simplify.
8933
b499d8d0
JB
8934 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
8935
ad89bb83
GM
89362012-05-08 Glenn Morris <rgm@gnu.org>
8937
8938 * files.el (auto-mode-alist): Treat ".make" like ".mk".
8939
8bba5a75
SM
89402012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8941
49ed9c8e
SM
8942 * vc/log-edit.el: Add GNU coding standards highlighting.
8943 (log-edit-font-lock-gnu-style)
8944 (log-edit-font-lock-gnu-keywords): New vars.
8945 (log-edit-font-lock-keywords): New fun.
8946 (log-edit-mode): Don't fold case in font-lock.
8947 (log-edit-font-lock-keywords): Do not assume case-folding.
8948
07d00b56
SM
8949 * imenu.el: Misc cleanup. Make docstrings out of comments.
8950 Use lexical-binding.
8951 (imenu--index-alist, imenu--last-menubar-index-alist)
8952 (imenu-menubar-modified-tick): Use defvar-local.
8953 (imenu--split-menu): Remove unused var.
8954 (imenu--cleanup-seen): Declare as global.
8955 (imenu--cleanup): Use dolist.
8956
8bba5a75
SM
8957 * subr.el (defvar-local): Add debug spec and doc-string position.
8958
5075bdb5
GM
89592012-05-08 Glenn Morris <rgm@gnu.org>
8960
090bd7cb 8961 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
8962 * language/english.el, language/georgian.el, language/greek.el:
8963 * language/japanese.el, language/khmer.el, language/korean.el:
8964 * language/lao.el, language/misc-lang.el, language/romanian.el:
8965 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
8966 * language/thai.el, language/utf-8-lang.el:
8967 Remove no-byte-compile setting.
8968
5075bdb5
GM
8969 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
8970
06f679a7
AH
89712012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8972
8973 * progmodes/make-mode.el (makefile-browse):
8974 Remove unnecessary interactive. (Bug#11324)
8975
03794570
GM
89762012-05-07 Glenn Morris <rgm@gnu.org>
8977
af8630f4
GM
8978 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
8979
03794570
GM
8980 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
8981
f0809a9d
SM
89822012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8983
28be5ce7
SM
8984 * loadup.el: Preload newcomment.el.
8985 * newcomment.el: Move autoload-only code to toplevel.
8986
f0809a9d
SM
8987 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
8988 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8989 Handle new :right-align column property.
8990 (tabulated-list-print-col): Idem, plus use `display' text-property to
8991 try and preserve alignment for variable pitch fonts.
8992
1241b724
CY
89932012-05-07 Chong Yidong <cyd@gnu.org>
8994
8995 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
8996 (tabulated-list-use-header-line): New var.
8997 (tabulated-list-init-header): Use it.
8998 (tabulated-list-print-fake-header): New function.
8999 (tabulated-list-print): Use it.
9000 (tabulated-list-sort-button-map): Add non-header-line commands.
9001 (tabulated-list-init-header): Add column name property to basic
9002 labels as well.
9003 (tabulated-list-col-sort): Handle non-header-line button case.
9004 (tabulated-list--sort-by-column-name): Fix a corner case.
9005
f0809a9d
SM
9006 * buff-menu.el (list-buffers--refresh):
9007 Handle Buffer-menu-use-header-line.
1241b724 9008
e5f9458f
CY
90092012-05-06 Chong Yidong <cyd@gnu.org>
9010
9011 * buff-menu.el: Convert to Tabulated List mode.
9012 (Buffer-menu-buffer+size-width): Make obsolete.
9013 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
9014 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
9015 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
9016 documentation into docstring of buffer-menu.
9017 (Buffer-menu-toggle-files-only): Add an informative message.
9018 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
9019 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
9020 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
9021 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
9022 (Buffer-menu-execute, Buffer-menu-select)
9023 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
9024 (Buffer-menu-bury): Use Tabulated List machinery.
9025 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
9026 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 9027 Delete.
e5f9458f
CY
9028 (list-buffers--refresh): New function.
9029 (list-buffers-noselect): Use it.
9030 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
9031 (Buffer-menu--pretty-file-name): New helper functions.
9032
9033 * loadup.el: Preload tabulated-list.
9034
9035 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
9036 tabulated-list-sort-column.
9037 (tabulated-list-init-header): Add the initial aligning space even
9038 if tabulated-list-padding is zero.
9039
e129292c
CS
90402012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
9041
9042 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
9043 whose cdr is not a cons cell correctly (bug#11038).
9044
6632d361
CY
90452012-05-06 Chong Yidong <cyd@gnu.org>
9046
e129292c
CS
9047 * emacs-lisp/tabulated-list.el (tabulated-list-format):
9048 Accept additional plist in column descriptors.
6632d361
CY
9049 (tabulated-list-init-header): Obey it.
9050 (tabulated-list-get-entry): New function.
9051 (tabulated-list-put-tag): Use it. Use string-width instead of
9052 length.
9053 (tabulated-list--column-number): New function.
9054 (tabulated-list-print): Use it.
e129292c
CS
9055 (tabulated-list-print-col): New function.
9056 Set `tabulated-list-column-name' property on each column's text.
6632d361 9057 (tabulated-list-print-entry): Use it.
e129292c
CS
9058 (tabulated-list-delete-entry, tabulated-list-set-col):
9059 New functions.
6632d361
CY
9060 (tabulated-list-sort-column): New command (Bug#11337).
9061
3cc99f68
CY
9062 * buff-menu.el (list-buffers): Move C-x C-b binding from
9063 buff-menu.el to bindings.el.
9064
9065 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
9066 :advertised-binding feature.
9067
52b61776
TN
90682012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
9069
9070 * progmodes/compile.el (compilation-internal-error-properties):
9071 Calculate start position correctly when end-col is set but
9072 end-line is not (Bug#11382).
9073
ebfe2597
WJ
90742012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
9075
9076 * man.el (Man-unindent): Use text-property-default-nonsticky to
9077 prevent untabify from inheriting face properties (Bug#11408).
9078
6d3f7c2f
SM
90792012-05-05 Stefan Merten <smerten@oekonux.de>
9080
9081 * textmodes/rst.el: Major merge with upstream development up to
9082 Docutils SVN r7399 / rst.el V1.2.1.
9083
9084 Clarify maintainership and authors.
9085
9086 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
9087 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
9088 (rst-official-version, rst-official-cvs-rev, rst-version)
9089 (rst-package-emacs-version-alist): New functions and variables
9090 for version information.
9091
9092 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
9093 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
9094 (rst-mode-syntax-table, rst-mode): New and corrected functions
9095 and variables representing reStructuredText features.
9096
9097 (rst-re): New function for reStructuredText regexes. Use in
9098 many places.
9099
9100 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
9101 (rst-mode-map): Rebind keys.
9102
9103 (rst-mode-lazy, rst-font-lock-keywords)
9104 (rst-font-lock-extend-region)
9105 (rst-font-lock-extend-region-internal)
9106 (rst-font-lock-extend-region-extend)
9107 (rst-font-lock-find-unindented-line-limit)
9108 (rst-font-lock-find-unindented-line-match)
9109 (rst-adornment-level, rst-font-lock-adornment-level)
9110 (rst-font-lock-adornment-match)
9111 (rst-font-lock-handle-adornment-pre-match-form)
9112 (rst-font-lock-handle-adornment-matcher): Major revision of
9113 font-locking. Integrate with other code. Use `jit-lock-mode'.
9114
9115 (rst-preferred-adornments, rst-adjust-hook)
9116 (rst-new-adornment-down, rst-preferred-bullets)
9117 (rst-preferred-bullets, rst-indent, rst-indent-width)
9118 (rst-indent-field, rst-indent-literal-normal)
9119 (rst-indent-literal-minimized, rst-indent-comment): Change,
9120 extend and improve customization.
9121
9122 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
9123 (rst-normalize-cursor-position, rst-get-decoration)
9124 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
9125 (rst-rstrip, rst-toc-insert-find-delete-contents)
9126 (rst-shift-fill-region, rst-compute-bullet-tabs)
9127 (rst-debug-print-tabs, rst-debug-mark-found)
9128 (rst-shift-region-guts, rst-shift-region-right)
9129 (rst-shift-region-left, rst-use-char-classes)
9130 (rst-font-lock-keywords-function)
9131 (rst-font-lock-indentation-point)
9132 (rst-font-lock-find-unindented-line-begin)
9133 (rst-font-lock-find-unindented-line-end)
9134 (rst-font-lock-find-unindented-line)
9135 (rst-font-lock-adornment-point, rst-font-lock-level)
9136 (rst-adornment-level-alist): Remove functions and variables.
9137
9138 (rst-compare-adornments, rst-get-adornment-match)
9139 (rst-suggest-new-adornment, rst-get-adornments-around)
9140 (rst-adornment-complete-p, rst-get-next-adornment)
9141 (rst-adjust-adornment, rst-display-adornments-hierarchy)
9142 (rst-straighten-adornments): Standardize function names to
9143 use "adornment" instead of "decoration". Correct callers.
9144 Similar standardizing in many places.
9145
9146 (rst-update-section, rst-adjust, rst-promote-region)
9147 (rst-enumerate-region, rst-bullet-list-region)
9148 (rst-repeat-last-character): Correct use of `interactive'.
9149
9150 (rst-classify-adornment, rst-find-all-adornments)
9151 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
9152 (rst-find-leftmost-column, rst-repeat-last-character):
9153 Refactor functions.
9154
9155 (rst-find-title-line, rst-reset-section-caches)
9156 (rst-get-adornments-around, rst-adjust-adornment-work)
9157 (rst-arabic-to-roman, rst-roman-to-arabic)
9158 (rst-insert-list-pos, rst-insert-list-new-item)
9159 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
9160 New functions.
9161
9162 (rst-all-sections, rst-section-hierarchy)
9163 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
9164 New variables.
9165
9166 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
9167 configuration instead of only buffer. Change where necessary.
9168
9169 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
9170 (rst-shift-region, rst-adaptive-fill): New functions for
9171 indentation and filling.
9172
9173 (rst-comment-line-break, rst-comment-indent)
9174 (rst-comment-insert-comment, rst-comment-region)
9175 (rst-uncomment-region): New functions for handling comments.
9176
9177 (rst-compile): Quote shell arguments.
9178
9179 (rst-compile-pdf-preview, rst-compile-slides-preview):
9180 Delete temporary files after use.
9181
a43f98b3
GM
91822012-05-05 Glenn Morris <rgm@gnu.org>
9183
48176e8b
GM
9184 * calendar/cal-html.el: Optionally include holidays in the output.
9185 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
9186 (cal-html-holidays): New option.
9187 (cal-html-css-default): Add holiday entry.
9188 (holiday-in-range): Autoload it.
9189 (cal-html-htmlify-entry): Add optional class argument.
9190 (cal-html-htmlify-list): Add optional holidays argument.
9191 (cal-html-insert-agenda-days): Include holidays in the output.
9192 (cal-html-one-month): Maybe include holidays.
9193
a43f98b3
GM
9194 * calendar/holidays.el (holiday-in-range):
9195 Move here from cal-tex-list-holidays.
9196 * calendar/cal-tex.el (cal-tex-list-holidays):
9197 Make it an obsolete alias for holiday-in-range. Update all callers.
9198
fef9d149 91992012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
9200
9201 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
9202 Nextstep.
9203
248da2f4
RW
92042012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
9205
9206 * files.el (file-auto-mode-skip): New var.
9207 (set-auto-mode-1): Use it.
9208
f95e9344
SM
92092012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9210
df96ab1e
SM
9211 * repeat.el: Use lexical-binding.
9212 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
9213 (repeat-undo-count): Remove.
9214 (repeat):
9215 * progmodes/octave-mod.el (octave-abbrev-start):
9216 * progmodes/f90.el (f90-abbrev-start):
9217 * face-remap.el (text-scale-adjust):
9218 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
9219
5342bb06
SM
9220 * emacs-lisp/pcase.el (pcase--let*): New function.
9221 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
9222 a bit more.
9223 (pcase--split-pred): Be more clever about ruling out overlap between
9224 a predicate and some constant pattern.
9225 (pcase--q1): Use `null' instead of (eq foo nil).
9226
f95e9344
SM
9227 * subr.el (setq-local, defvar-local): New macros.
9228 (kbd): Redefine as an alias.
9229 (with-selected-window): Leave unrelated frames alone.
9230 (set-temporary-overlay-map): New function.
9231
71873e2b
SM
92322012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9233
9234 * subr.el (user-error): New function.
9235 * window.el (switch-to-buffer):
9236 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
9237 (smerge-match-conflict):
9238 * simple.el (previous-matching-history-element)
9239 (next-matching-history-element, goto-history-element, undo-more)
9240 (undo-start):
9241 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
9242 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
9243 (next-file, tags-loop-scan, list-tags, complete-tag):
9244 * progmodes/compile.el (compilation-loop):
9245 * mouse.el (mouse-minibuffer-check):
9246 * man.el (Man-bgproc-sentinel, Man-goto-page):
9247 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
9248 (Info-history-forward, Info-follow-reference, Info-menu)
9249 (Info-extract-menu-item, Info-extract-menu-counting)
9250 (Info-forward-node, Info-backward-node, Info-next-menu-item)
9251 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
9252 (Info-next-reference, Info-prev-reference, Info-index)
9253 (Info-index-next, Info-follow-nearest-node)
9254 (Info-copy-current-node-name):
9255 * imenu.el (imenu--make-index-alist)
9256 (imenu-default-create-index-function, imenu-add-to-menubar):
9257 * files.el (basic-save-buffer, recover-file):
9258 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
9259 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
9260 (checkdoc-message-text, checkdoc-defun):
9261 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
9262 * cus-edit.el (customize-changed-options, customize-rogue)
9263 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
9264 (custom-variable-mark-to-reset-standard)
9265 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
9266 (custom-file):
9267 * completion.el (check-completion-length):
9268 * comint.el (comint-search-arg)
9269 (comint-previous-matching-input-string-position)
9270 (comint-previous-matching-input)
9271 (comint-replace-by-expanded-history-before-point, comint-send-input)
9272 (comint-copy-old-input, comint-backward-matching-input)
9273 (comint-goto-process-mark, comint-set-process-mark):
9274 * calendar/calendar.el (calendar-cursor-to-date): Use it.
9275 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
9276
8a61ee22
SM
92772012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9278
66408d1e
SM
9279 * dabbrev.el (dabbrev--ignore-case-p): New function.
9280 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
9281 Use it.
9282
8a61ee22
SM
9283 * files.el (automount-dir-prefix): Mark as obsolete.
9284
3c74813a
GM
92852012-05-04 Glenn Morris <rgm@gnu.org>
9286
9287 * patcomp.el, play/bruce.el: Move to obsolete/.
9288
0bfcf5c5
PE
92892012-05-04 Paul Eggert <eggert@cs.ucla.edu>
9290
9291 Fix minor Y10k bugs.
9292 * arc-mode.el (archive-unixdate):
9293 * autoinsert.el (auto-insert-alist):
9294 * calc/calc-forms.el (math-this-year):
9295 * emacs-lisp/copyright.el (copyright-current-year)
9296 (copyright-update-year, copyright):
9297 * tar-mode.el (tar-clip-time-string):
9298 * time.el (display-time-update):
9299 Don't assume years have 4 digits.
9300
78f3273a
CY
93012012-05-04 Chong Yidong <cyd@gnu.org>
9302
9303 * dos-w32.el (file-name-buffer-file-type-alist)
9304 (direct-print-region-use-command-dot-com):
9305 * ffap.el (ffap-menu-regexp):
9306 * find-file.el (ff-special-constructs):
9307 * follow.el (follow-debug):
9308 * forms.el (forms--debug):
9309 * iswitchb.el (iswitchb-all-frames):
9310 * ido.el (ido-all-frames):
9311 * emacs-lisp/timer.el (timer-max-repeats):
9312 * mail/feedmail.el (feedmail-mail-send-hook)
9313 (feedmail-mail-send-hook-queued):
9314 * mail/footnote.el (footnote-signature-separator):
9315 * mail/mailabbrev.el (mail-alias-separator-string)
9316 (mail-abbrev-mode-regexp):
9317 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
9318 * progmodes/idlwave.el (idlwave-libinfo-file)
9319 (idlwave-default-completion-case-is-down)
9320 (idlwave-library-routines): Convert defvars to defcustoms.
9321
9322 * mail/rmail.el (rmail-decode-mime-charset):
9323 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
9324 (idlwave-shell-fix-inserted-breaks)
9325 (idlwave-shell-activate-alt-keybindings)
9326 (idlwave-shell-use-breakpoint-glyph):
9327 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
9328
f7ae6719
SM
93292012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9330
9331 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
9332
47086495
WS
93332012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
9334
9335 * progmodes/verilog-mode.el (font-lock-keywords):
9336 Fix mis-highligting auto. Reported by Craig Barner.
9337 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 9338 defines from global name space. Reported by Dan Dever.
47086495
WS
9339 (verilog-auto-reset, verilog-auto-reset-widths)
9340 (verilog-auto-tieoff): Support using unbased numbers for
9341 AUTORESET and AUTOTIEOFF.
9342 (verilog-submit-bug-report): Update variable list.
9343 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 9344 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
9345 (verilog-auto-template-lint): Fix hash error when linting modules
9346 with no used templates.
9347 (verilog-warn, verilog-warn-error)
9348 (verilog-warn-fatal): When non-interactive report multiple
9349 warnings before exiting. Suggested by Brad Dobbie.
9350 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
9351 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
9352 to report unused template errors. Reported by Brad Dobbie.
9353 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 9354 nets, bug438. Reported by Vns Blore.
47086495
WS
9355 (verilog-auto-inout-module, verilog-auto-reg)
9356 (verilog-read-decls, verilog-read-sub-decls-sig)
9357 (verilog-signals-edit-wire-reg, verilog-signals-with):
9358 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 9359 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
9360 "reg" for backwards compatibility presuming Verilog 2001.
9361 (verilog-auto-ascii-enum): Add "auto enum" as alias.
9362 (verilog-preprocess): Fix replication of preprocess output.
9363 Reported by Brad Dobbie.
9364 (verilog-auto-inst-interfaced-ports):
9365 Create verilog-auto-inst-interfaced-ports, bug429.
9366 Reported by Julian Gorfajn.
9367 (verilog-after-save-font-hook)
9368 (verilog-before-save-font-hook): New variable.
9369 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
9370 (verilog-save-font-mods): Wrap disabling fontification, reported
9371 by David Rogoff.
9372 (verilog-do-indent, verilog-pretty-declarations-auto)
9373 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
9374 Reported by Pierre-David Pfister.
9375 (verilog-set-auto-endcomments): Fix endtask auto comments outside
9376 of class declarations, bug292. Reported by Kevin Heilman.
9377 (verilog-read-decls): Fix 'parameter type' not appearing in
9378 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
9379 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 9380 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
9381 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
9382 Reported by David Kravitz.
9383
93842012-05-03 Michael McNamara <mac@mail.brushroad.com>
9385
9386 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
9387 assignment with tests in ifs and for loops.
9388 (verilog-extended-complete-re, verilog-complete-reg): Change so
9389 that DPI inport functions don't look like fuction declarations.
9390 (verilog-pretty-expr): Don't line up assignment
9391 operations to the test and increment in if and for loops
9392 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 9393 that DPI inport functions don't look like fuction declarations.
47086495 9394
2e51d4b5
KH
93952012-05-03 Kenichi Handa <handa@m17n.org>
9396
9397 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 9398 decoding, and show a warning message without signaling an error
2e51d4b5
KH
9399 (Bug#11282).
9400
2bd785a2
SM
94012012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9402
9403 * emacs-lisp/bytecomp.el
9404 (byte-compile-file-form-custom-declare-variable): Compile all elements,
9405 since cconv.el might have introduced :fun-body, internal-make-closure,
9406 and friends for bytecomp to handle (bug#11391).
9407 * custom.el (defcustom): Avoid ((λ ..) ..).
9408
99d27583
SM
94092012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
9410
9411 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
9412
55a71479
JB
94132012-05-02 Juanma Barranquero <lekktu@gmail.com>
9414
9415 * notifications.el (dbus-debug):
9416 * term/linux.el (gpm-mouse-enable):
9417 * term/screen.el (xterm-register-default-colors): Declare.
9418
7b97c764
CY
94192012-05-02 Chong Yidong <cyd@gnu.org>
9420
2bc356d7
CY
9421 * cus-start.el (gc-cons-percentage, exec-suffixes)
9422 (dos-display-scancodes, dos-hyper-key, dos-super-key)
9423 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
9424 (make-cursor-line-fully-visible, void-text-area-pointer)
9425 (font-list-limit): Add customization data.
9426
7b97c764
CY
9427 * allout.el (allout-exposure-change-functions)
9428 (allout-structure-added-functions)
9429 (allout-structure-deleted-functions)
9430 (allout-structure-shifted-functions): Rename abnormal hooks from
9431 *-hook, and convert to defcustoms.
5d3385a0
JB
9432 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
9433 Convert to defcustoms.
7b97c764
CY
9434 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
9435
9436 * allout-widgets.el: Hook callers changed.
9437
90207a15 94382012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
9439
9440 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
9441 the yanked message in preference to the default value of
9442 buffer-file-coding-system.
9443
90207a15 94442012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 9445
5d3385a0
JB
9446 * window.el (display-buffer--action-function-custom-type):
9447 Fix entry.
d9558cad 9448
90207a15 94492012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
9450
9451 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
9452
d80ac57b
GM
94532012-05-01 Glenn Morris <rgm@gnu.org>
9454
976f7668
GM
9455 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
9456
beb83b5a
GM
9457 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
9458
d80ac57b
GM
9459 * cus-edit.el (custom-variable-documentation): Simplify with format.
9460
b593d6a9 94612012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 9462 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
9463
9464 * simple.el (suggest-key-bindings, execute-extended-command):
9465 Move from keyboard.c.
9466
782fbf2a
CY
94672012-05-01 Chong Yidong <cyd@gnu.org>
9468
9469 * follow.el: Eliminate advice.
9470 (set-process-filter, process-filter, sit-for): Advice deleted.
9471 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
9472 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
9473 Vars deleted.
782fbf2a
CY
9474 (follow-auto): Use a :set function.
9475 (follow-mode): Rewritten. Don't advise process filters.
9476 (follow-switch-to-current-buffer-all, follow-scroll-up)
9477 (follow-scroll-down): Assume follow-mode is bound.
9478 (follow-comint-scroll-to-bottom)
9479 (follow-align-compilation-windows): New functions.
9480 (follow--window-sorter): New function.
9481 (follow-all-followers): Use it to explicitly sort windows by their
9482 positions; don't make assumptions about next-window order.
9483 (follow-windows-start-end, follow-delete-other-windows-and-split)
9484 (follow-calc-win-start): Doc fix.
9485 (follow-windows-aligned-p, follow-select-if-visible): Don't call
9486 vertical-motion unnecessarily.
9487 (follow-adjust-window): New function.
9488 (follow-post-command-hook): Use it.
9489 (follow-call-set-process-filter, follow-call-process-filter)
9490 (follow-intercept-process-output, follow-tidy-process-filter-alist)
9491 (follow-stop-intercept-process-output, follow-generic-filter):
9492 Functions deleted.
9493 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
9494 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
9495 New functions, replacing advice on scroll-bar-* commands.
87233a14 9496 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
9497
9498 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
9499 (comint-postoutput-scroll-to-bottom): Use it.
9500 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 9501
290af740
GM
95022012-05-01 Glenn Morris <rgm@gnu.org>
9503
9504 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
9505 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
9506 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
9507 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
9508 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
9509 Remove no-byte-compile setting.
9510
6eac8dc9
SM
95112012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
9512
9513 * minibuffer.el (completion-table-with-quoting): Fix compatibility
9514 all-completions code to not return a number in the last cdr.
9515
9cc7819c
LL
95162012-04-30 Leo Liu <sdl.web@gmail.com>
9517
9518 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
9519 read-only error.
9520
c93b886f
CY
95212012-04-29 Chong Yidong <cyd@gnu.org>
9522
9523 * follow.el (follow-calc-win-end): Rewrite to handle partial
9524 screen lines correctly (Bug#8390).
9525 (follow-avoid-tail-recenter): Minor cleanup.
9526
8b6c19f4
SM
95272012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9528
9529 Avoid the obsolete `assoc' package.
9530 * speedbar.el (speedbar-refresh): Avoid adelete.
9531 (speedbar-file-lists): Simplify and avoid aput.
9532 * man.el (Man--sections, Man--refpages): New vars, replacing
9533 Man-sections-alist and Man-refpages-alist.
9534 (Man-build-section-alist, Man-build-references-alist):
9535 Use them; avoid aput.
9536 (Man--last-section, Man--last-refpage): New vars.
9537 (Man-follow-manual-reference): Use them.
9538 Use the `default' arg of completing-read.
9539 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
9540
c5bb7569
CY
95412012-04-27 Chong Yidong <cyd@gnu.org>
9542
d1d2e2e8
CY
9543 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
9544
15cd8efd
CY
9545 * startup.el (x-apply-session-resources): New function.
9546
9547 * term/ns-win.el (ns-initialize-window-system):
9548 * term/w32-win.el (w32-initialize-window-system):
9549 * term/x-win.el (x-initialize-window-system): Use it to properly
9550 set menu-bar-mode and other vars from X resources, even if the
9551 initial frame is not a window-system frame (Bug#2299).
9552
c5bb7569
CY
9553 * subr.el (read-key): Avoid running filter function when setting
9554 up temporary tool bar entries (Bug#9922).
9555
a8e7d6d7 95562012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
9557
9558 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
9559 (Bug#11344)
9560
a8e7d6d7 95612012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
9562
9563 * select.el (xselect--encode-string): New function, split from
9564 xselect-convert-to-string.
9565 (xselect-convert-to-string): Use it.
9566 (xselect-convert-to-filename, xselect-convert-to-os)
9567 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
9568 returned strings are properly encoded (Bug#11315).
9569
a8e7d6d7 95702012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
9571
9572 * simple.el (delete-active-region): Move to killing custom group.
9573
a8e7d6d7 95742012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
9575
9576 * progmodes/which-func.el (which-func-current): Quote %
9577 characters for mode-line processing.
9578
578c1d4b 95792012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
9580
9581 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
9582 reaching eob (Bug#11286).
9583
a8e7d6d7 95842012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
9585
9586 * progmodes/gdb-mi.el (gdb-control-level): New variable.
9587 (gdb): Make it buffer-local and init to zero.
9588 (gdb-control-commands-regexp): New variable.
9589 (gdb-send): Don't wrap in "-interpreter-exec console" if
9590 gdb-control-level is positive. Increment gdb-control-level
9591 whenever the command matches gdb-control-commands-regexp, and
9592 decrement it each time the command is "end". (Bug#11279)
9593
a8e7d6d7 95942012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
9595
9596 * window.el (adjust-window-trailing-edge, enlarge-window)
9597 (shrink-window, window-resize):
9598 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
9599 windows (Bug#11276).
9600
b3608390
CY
96012012-04-27 Chong Yidong <cyd@gnu.org>
9602
9603 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 9604 fix "missing prefix" warning. All callers changed.
b3608390 9605
797e6e88
SM
96062012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9607
9608 * emacs-lisp/assoc.el: Move to obsolete/.
9609
e95a67dc
SM
96102012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9611
657c21e4 9612 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
9613
9614 * term/ns-win.el (ns-define-service):
9615 * progmodes/pascal.el (pascal-goto-defun):
9616 * progmodes/js.el (js--read-tab):
9617 * progmodes/etags.el (tags-lazy-completion-table):
9618 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
9619 * emacs-lisp/ewoc.el (ewoc--wrap):
9620 * emacs-lisp/assoc.el (aput, adelete, amake):
9621 * doc-view.el (doc-view-convert-current-doc):
9622 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
9623
cb3e7ae0
CY
96242012-04-26 Chong Yidong <cyd@gnu.org>
9625
dce04f7f
CY
9626 * image.el (image-type-from-buffer): Only return supported image
9627 type (Bug#9045).
9628
cb3e7ae0
CY
9629 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
9630 value, for symmetry with diff-end-of-hunk.
9631 (diff-split-hunk, diff-find-source-location)
9632 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
9633 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
9634 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
9635 compute the relevant hunk or file properly (Bug#6005).
9636 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
9637
0d42eb3e
SM
96382012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9639
9640 * vc/vc-mtn.el:
9641 * vc/vc-hg.el:
9642 * vc/vc-git.el:
9643 * vc/vc-dir.el:
9644 * vc/vc-cvs.el:
9645 * vc/vc-bzr.el:
9646 * vc/vc-arch.el:
9647 * vc/vc.el: Replace lexical-let by lexical-binding.
9648 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
9649 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
9650 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
9651
f08ae1c9
CY
96522012-04-26 Chong Yidong <cyd@gnu.org>
9653
8b71081d
CY
9654 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
9655 (diff-mode-shared-map): Bind it to / and [remap undo].
9656
f08ae1c9
CY
9657 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
9658 (ediff-window-setup-function): Use it as the default, to set up
9659 windows based on whether the current frame is graphical (Bug#2138).
9660 (ediff-choose-window-setup-function-automatically): Make obsolete.
9661
9662 * vc/ediff-init.el: Always define ediff-pixel-width/height.
9663
ef24141c
SM
96642012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9665
cc356a5d
SM
9666 * ffap.el: Remove old code for obsolete package.
9667 (ffap-complete-as-file-p): Remove.
9668
b4ff4f1f
SM
9669 Use completion-table-with-quoting for comint and pcomplete.
9670 * comint.el (comint--unquote&requote-argument)
9671 (comint--unquote-argument, comint--requote-argument): New functions.
9672 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
9673 (comint-quote-filename): Use regexp-opt-charset.
9674 (comint--common-suffix, comint--common-quoted-suffix)
9675 (comint--table-subvert): Remove.
9676 (comint-unquote-function, comint-requote-function): New vars.
9677 (comint--complete-file-name-data): Use them with
9678 completion-table-with-quoting.
9679 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
9680 * pcomplete.el (pcomplete-arg-quote-list)
9681 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
9682 (pcomplete-unquote-argument-function): Default to non-nil.
9683 (pcomplete-unquote-argument): Simplify.
9684 (pcomplete--common-quoted-suffix): Remove.
9685 (pcomplete-requote-argument-function): New var.
9686 (pcomplete--common-suffix): New function.
9687 (pcomplete-completions-at-point): Use completion-table-with-quoting
9688 and completion-table-subvert.
9689
79c4eeb4
SM
9690 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
9691 (minibuffer--double-dollars): Preserve properties.
9692 (completion--sifn-requote): New function.
9693 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
9694
ef24141c
SM
9695 * minibuffer.el: Add support for completion of quoted/escaped data.
9696 (completion-table-with-quoting, completion-table-subvert): New funs.
9697 (completion--twq-try, completion--twq-all): New functions.
9698 (completion--nth-completion): New function.
9699 (completion-try-completion, completion-all-completions): Use it.
9700
784e7d6e
LL
97012012-04-25 Leo Liu <sdl.web@gmail.com>
9702
dd2ac746
SM
9703 * progmodes/python.el (python-pdbtrack-get-source-buffer):
9704 Use compilation-message if available to find real filename.
784e7d6e 9705
07875ee7
CY
97062012-04-25 Chong Yidong <cyd@gnu.org>
9707
9708 * vc/diff-mode.el (diff-setup-whitespace): New function.
9709 (diff-mode): Use it.
9710
9711 * vc/diff.el (diff-sentinel):
9712 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
9713 Whitespace mode variables based on diff style (Bug#8612).
9714
5055880d
LL
97152012-04-25 Leo Liu <sdl.web@gmail.com>
9716
daf75653
LL
9717 * progmodes/python.el (python-send-region): Add suffix .py to the
9718 temp file.
9719
5055880d
LL
9720 * files.el (auto-mode-alist): Use javascript-mode instead.
9721
db9b177b
AH
97222012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
9723
ef24141c 9724 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 9725
090bd7cb 9726 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 9727 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 9728 references, see Bug#9.
ef24141c 9729 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 9730 when receiving a fault reply.
ef24141c 9731 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 9732
090bd7cb 9733 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 9734 (soap-inspect-simple-type): New function.
db9b177b 9735
090bd7cb 9736 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 9737 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
9738 (soap-decode-basic-type, soap-encode-basic-type):
9739 support unsignedInt and double basic types.
db9b177b 9740 (soap-resolve-references-for-simple-type)
ef24141c
SM
9741 (soap-parse-simple-type, soap-encode-simple-type): New function.
9742 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 9743
090bd7cb 9744 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
9745 (soap-default-soapenc-types): Add integer, byte and anyURI types.
9746 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
9747 the local name of "soapenc:Array".
9748 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
9749 decoding integer, byte and anyURI xsd types.
9750
1fc6097b
CY
97512012-04-25 Chong Yidong <cyd@gnu.org>
9752
9753 * cus-edit.el (custom-buffer-create-internal): Update header text.
9754
afc6df87
EZ
97552012-04-25 Eli Zaretskii <eliz@gnu.org>
9756
9757 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
9758 settings on 'system-type', not on 'window-system'. On MS-Windows,
9759 set interactive-mode on in GDB.
9760
dfbd787f
SM
97612012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9762
9763 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
9764 (ruby-syntax-propertize-regexp): Remove.
9765 (ruby-syntax-propertize-function): Split regexp into chunks.
9766 Match following code directly.
9767
85222d44
DG
97682012-04-24 Dmitry Gutov <dgutov@yandex.ru>
9769
51a8ea2a
DG
9770 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
9771 (ruby-syntax-propertize-regexp): New function.
9772 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
9773 by a special keyword.
9774
85222d44
DG
9775 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
9776 (ruby-syntax-general-delimiters-goto-beg)
9777 (ruby-syntax-propertize-general-delimiters): New functions.
9778 (ruby-syntax-propertize-function): Use them to handle GDL.
9779 (ruby-font-lock-keywords): Move old handling of GDL...
9780 (ruby-font-lock-syntactic-keywords): .. to here.
9781 (ruby-calculate-indent): Adjust indentation for GDL.
9782
b613912b
MA
97832012-04-24 Michael Albinus <michael.albinus@gmx.de>
9784
b5380639
MA
9785 * notifications.el (top): Remove unneeded declarations.
9786 (notifications-specification-version): Change to "1.2".
e43042fe 9787 (notifications-interface, notifications-notify-method)
b613912b
MA
9788 (notifications-close-notification-method): Fix docstring.
9789 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
9790 (notifications-notify): Add :action-items, :resident and
9791 :transient hints. Change "image_data" to "image-data" and
9792 "image_path" to "image-path".
b613912b
MA
9793 (notifications-get-capabilities): New defun.
9794
257440aa
LL
97952012-04-24 Leo Liu <sdl.web@gmail.com>
9796
9797 * progmodes/python.el: Move hideshow setup to the end.
9798
b1bac16e
MR
97992012-04-24 Martin Rudalics <rudalics@gmx.at>
9800
9801 * window.el (handle-select-window): Clear echo area since this is
9802 no more done by read_char (Bug#11304).
9803
d81bd059
SM
98042012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9805
9806 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
9807 and `/ M' to filter-derived-mode.
9808 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
9809 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
9810 (ibuffer-mark-by-mode): Use default rather than initial-input.
9811 (ibuffer-filter-by-derived-mode): Autoload and require-match.
9812
c4cf6d91
IA
98132012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
9814
9815 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
9816 (ibuffer-filter-by-derived-mode): New filter.
9817 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
9818
7511ded8
CY
98192012-04-23 Andreas Politz <politza@fh-trier.de>
9820
9821 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
9822
775c916b
CY
98232012-04-23 Chong Yidong <cyd@gnu.org>
9824
9825 * cus-edit.el (customize-apropos, customize-apropos-options):
9826 Disable matching of non-option variables (Bug#11176).
9827 (customize-option, customize-option-other-window)
9828 (customize-changed-options): Doc fix.
9829 (customize-apropos-options, customize-apropos-faces)
9830 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
9831
9832 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 9833 Fix word list splitting (Bug#11132).
46c71e23
CY
9834 (apropos-symbol, apropos-keybinding, apropos-label)
9835 (apropos-property, apropos-function-button)
9836 (apropos-variable-button, apropos-misc-button): New faces.
9837 (apropos-symbol-face, apropos-keybinding-face)
9838 (apropos-label-face, apropos-property-face, apropos-match-face):
9839 Variables removed (Bug#8396).
9840 (apropos-library-button, apropos-format-plist, apropos-print)
9841 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 9842
2df41f9c
MA
98432012-04-23 Michael Albinus <michael.albinus@gmx.de>
9844
9845 * net/xesam.el (xesam-mode-map): Use let-bound map in
9846 initialization. (Bug#11292)
9847
da00640a
AM
98482012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9849
9850 Preserve ispell session localwords when switching back to
9851 original buffer.
9852
090bd7cb
JB
9853 * textmodes/ispell.el (ispell-buffer-session-localwords):
9854 New buffer-local variable to hold buffer session localwords.
ed9265fc 9855 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
9856 localwords.
9857 (ispell-command-loop, ispell-change-dictionary)
9858 (ispell-buffer-local-words): Preserve session localwords when
9859 needed.
9860
090bd7cb
JB
9861 * textmodes/flyspell.el (flyspell-process-localwords)
9862 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 9863
f621ccf5
AM
98642012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9865
090bd7cb
JB
9866 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
9867 using obsolete `translation-table-for-input'.
ef24141c
SM
9868 (ispell-word, ispell-process-line, ispell-complete-word):
9869 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 9870
c2d1019e
CY
98712012-04-22 Chong Yidong <cyd@gnu.org>
9872
9873 * cus-edit.el (custom-variable-menu)
9874 (custom-variable-reset-saved, custom-face-menu)
9875 (custom-face-reset-saved): If there is no saved value, make the
9876 "reset-saved" operation bring back the default (Bug#9509).
9877 (custom-face-state): Properly detect themed faces.
9878
eeddc531
CY
9879 * faces.el (face-spec-set): Stop supporting deprecated form of
9880 third arg.
9881
dcbf5805
MA
98822012-04-22 Michael Albinus <michael.albinus@gmx.de>
9883
9884 Move functions from C to Lisp. Make non-blocking method calls
9885 the default. Implement further D-Bus standard interfaces.
9886
ef24141c
SM
9887 * net/dbus.el (dbus-message-internal): Declare function.
9888 Remove unneeded function declarations.
dcbf5805
MA
9889 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
9890 (dbus-message-type-method-return, dbus-message-type-error)
9891 (dbus-message-type-signal): Declare variables. Remove local
9892 definitions.
9893 (dbus-interface-dbus, dbus-interface-peer)
9894 (dbus-interface-introspectable, dbus-interface-properties)
9895 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
9896 Adapt docstring.
9897 (dbus-interface-objectmanager): New defconst.
9898 (dbus-call-method, dbus-call-method-asynchronously)
9899 (dbus-send-signal, dbus-method-return-internal)
9900 (dbus-method-error-internal, dbus-register-service)
9901 (dbus-register-signal, dbus-register-method): New defuns, moved
9902 from dbusbind.c
9903 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
9904 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
9905 New defuns.
dcbf5805
MA
9906 (dbus-call-method-non-blocking): Make it an obsolete function.
9907 (dbus-unregister-object, dbus-unregister-service)
9908 (dbus-handle-event, dbus-register-property)
9909 (dbus-property-handler): Obey the new structure of
9910 `bus-registered-objects'.
9911 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
9912 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
9913 Use `dbus-call-method'.
9914
cf20dee0
CY
99152012-04-22 Chong Yidong <cyd@gnu.org>
9916
9917 * cus-edit.el (custom-commands, custom-reset-menu)
9918 (Custom-reset-standard): Tweak labels.
9919 (custom-reset-button-menu): Change default to t.
9920 (custom-buffer-create-internal): For the custom-reset-button-menu
9921 case, put the revert button first.
9922 (custom-group-subtitle): New face.
9923 (custom-group-value-create): Align docstring to a specific column.
9924
9925 * wid-edit.el (widget-documentation-link-add): Don't handle
9926 indentation in this function.
9927 (widget-documentation-string-indent-to): New function.
9928 (widget-documentation-string-value-create): Use it.
9929
9930 * autorevert.el (auto-revert):
9931 * epg-config.el (epg):
9932 * ibuffer.el (ibuffer):
9933 * mpc.el (mpc):
9934 * ses.el (ses):
9935 * eshell/eshell.el (eshell):
9936 * net/ange-ftp.el (ange-ftp):
9937 * progmodes/ebnf2ps.el (postscript):
9938 * progmodes/flymake.el (flymake):
9939 * progmodes/prolog.el (prolog):
9940 * progmodes/verilog-mode.el (verilog-mode):
9941 * progmodes/which-func.el (which-func):
9942 * term/xterm.el (xterm):
9943 * textmodes/picture.el (picture):
9944 * textmodes/tildify.el (tildify):
9945 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
9946 customization buffers.
9947
583e23bd
AM
99482012-04-22 Alan Mackenzie <acm@muc.de>
9949
9950 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
9951 Adding a ) can hide the resulting (..) from searches. Fix it.
9952 Bound the backward search to the position of the existing (.
9953
7dd51bf1
JB
99542012-04-21 Juanma Barranquero <lekktu@gmail.com>
9955
9956 * progmodes/verilog-mode.el (verilog-mode): Check whether
9957 which-func-modes is t before adding verilog-mode.
9958 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
9959
d64a438f
LL
99602012-04-21 Leo Liu <sdl.web@gmail.com>
9961
7dd51bf1 9962 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 9963
081e8d65
MV
99642012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
9965
9966 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
9967 filling of the last column of a table (Bug#5635).
9968 (woman-find-next-control-line): New arg, specifying an additional
9969 regexp component for the control line.
9970 (woman2-roff-buffer): Use it.
9971 (woman-break-table): New function.
9972 (woman2-TS): Use it.
9973
99742012-04-21 Chong Yidong <cyd@gnu.org>
9975
9976 * woman.el (woman-set-buffer-display-table, woman-decode-region)
9977 (woman-horizontal-escapes, woman-negative-vertical-space)
9978 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
9979 (WoMan-warn-ignored): Use ?\s instead of ?\ .
9980
ed571ccb
SM
99812012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9982
9983 * minibuffer.el (completion-file-name-table): Complete user names.
9984
39773899
LL
99852012-04-20 Leo Liu <sdl.web@gmail.com>
9986
9987 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
9988 and pcase-let*.
9989
de6ff46d
CY
99902012-04-20 Chong Yidong <cyd@gnu.org>
9991
9992 * server.el (server-execute): Respect initial-buffer-choice if it
9993 is a string and there are no files to open (Bug#2825).
9994 (server-create-window-system-frame, server-create-tty-frame):
9995 Don't switch buffers here.
2d0e8e61
CY
9996 (server-process-filter): Only try to open a window system frame if
9997 compiled with graphical support (Bug#8314).
de6ff46d 9998
54071013
DN
99992012-04-20 Dan Nicolaescu <dann@gnu.org>
10000
10001 * battery.el (battery-echo-area-format): Display remaining time
10002 for sysfs backend too (Bug#11269).
10003 (battery-linux-sysfs): Fix conditional for the charge.
10004
f30d612a
CY
100052012-04-20 Chong Yidong <cyd@gnu.org>
10006
c07a4c0b 10007 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
10008 (gdb-inferior-io--init-proc): New function.
10009 (gdb-init-1): Use it.
10010 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
10011 responsible for allocating a new pty and hooking it to gdb when
10012 the old pty gets an EIO due to process exit.
10013 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
10014 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
10015 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
10016
2116e93c
EZ
100172012-04-20 Eli Zaretskii <eliz@gnu.org>
10018
10019 * window.el (window-min-size, window-sizable, window-min-delta)
10020 (window-max-delta, window--resizable, window-resizable)
10021 (window-total-size, window-full-height-p, window-full-width-p)
10022 (window-in-direction, window--resize-mini-window, window-resize)
10023 (window--resize-child-windows-normal)
10024 (window--resize-child-windows, window--resize-siblings)
10025 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 10026 (enlarge-window, shrink-window): Doc fixes.
2116e93c 10027
c07a4c0b 100282012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 10029
ef24141c
SM
10030 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
10031 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
10032 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
10033 pty process (Bug#11273).
10034 (gdb-update): New arg to suppress talking to the gdb process.
10035 (gdb-done-or-error): Use it.
10036 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
10037 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
10038 sentinel not being called.
10039
10040 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
10041
d02766ab
CY
10042 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
10043
c07a4c0b 100442012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
10045
10046 * net/network-stream.el (open-network-stream): Doc fix.
10047
c07a4c0b 100482012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
10049
10050 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
10051
c07a4c0b 100522012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
10053
10054 Ensure searching for keywords is case sensitive.
10055
10056 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
10057 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
10058 (c-defun-name, c-mark-function, c-cpp-define-name)
10059 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 10060 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 10061
ef24141c
SM
10062 * progmodes/cc-mode.el (c-font-lock-fontify-region):
10063 Bind case-fold-search to nil.
f0f6bc35 10064
c07a4c0b 100652012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
10066
10067 * mail/sendmail.el (mail-bury): Call return action with the right
10068 Rmail buffer (Bug#11242).
10069
9a864fa2
CY
10070 * server.el (server-process-filter): Handle corner case where both
10071 tty and nowait options are present (Bug#11102).
10072
539aa513
EZ
100732012-04-20 Eli Zaretskii <eliz@gnu.org>
10074
10075 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
10076 (top level): Put into the executable the ident-style '$Id:' tag on
10077 windows-nt as well.
539aa513 10078
cfc7d5da
SM
100792012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10080
10081 * electric.el (electric-indent-post-self-insert-function): Check that
10082 electric-indent-mode is enabled in current buffer.
10083
5b01685c
JB
100842012-04-19 Juanma Barranquero <lekktu@gmail.com>
10085
10086 * imenu.el (imenu-progress-message): Restore; it is "used" in
10087 erc/erc-imenu.el and net/snmp-mode.el.
10088
4d6769e1
JB
100892012-04-19 Juanma Barranquero <lekktu@gmail.com>
10090
10091 * avoid.el (mouse-avoidance-mode): Mark unused arg.
10092 (mouse-avoidance-nudge-mouse): Remove unused binding.
10093
10094 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
10095
10096 * descr-text.el (describe-char):
10097 * progmodes/python.el (python-describe-symbol):
10098 Don't call `toggle-read-only', set `buffer-read-only'.
10099
10100 * imenu.el (imenu-default-goto-function): Mark unused args.
10101 (imenu-progress-message): Remove obsolete macro; all callers changed.
10102
10103 * subr.el (keymap-canonicalize): Remove unused binding.
10104 (read-passwd): Mark unused arg.
10105
10106 * tutorial.el (tutorial--display-changes): Remove unused binding.
10107 (tutorial--save-tutorial-to): Remove unused variable.
10108
10109 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
10110 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
10111 (package-generate-autoloads, package-menu--generate)
10112 (package-menu--find-upgrades): Remove unused bindings.
10113
10114 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
10115 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
10116 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
10117 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
10118 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
10119 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
10120 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
10121 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
10122 (cua-delete-char-rectangle): Mark unused args.
10123 (cua-align-rectangle): Remove unused binding.
10124
10125 * mail/rmail.el (compilation--message->loc)
10126 (epa--find-coding-system-for-mime-charset): Declare.
10127
10128 * net/dbus.el (dbus-register-service): Declare.
10129 (dbus-name-owner-changed-handler): Remove unused binding.
10130
10131 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
10132 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
10133 (nxml-scan-backward-within): Mark unused arg.
10134 (nxml-dynamic-markup-word): Remove unused binding.
10135
10136 * mouse.el (mouse-menu-major-mode-map):
10137 * emacs-lisp/authors.el (authors-scan-change-log)
10138 (authors-add-to-author-list):
10139 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
10140 * emacs-lisp/smie.el (smie-auto-fill):
10141 * mail/sendmail.el (mail-bury):
10142 * mail/unrmail.el (unrmail):
10143 * net/tls.el (open-tls-stream):
10144 * textmodes/picture.el (picture-mouse-set-point):
10145 Remove unused bindings.
10146
8c8fc5df
MA
101472012-04-19 Michael Albinus <michael.albinus@gmx.de>
10148
10149 * net/tramp.el (tramp-action-password): Let-bind
10150 `enable-recursive-minibuffers' to t.
10151
a77b0ac9
SS
101522012-04-18 Sam Steingold <sds@gnu.org>
10153
10154 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
10155 instead of 'string to accommodate values like [f11].
10156 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
10157 * progmodes/gdb-mi.el: Likewise.
10158
12a106a9
LL
101592012-04-18 Leo Liu <sdl.web@gmail.com>
10160
10161 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
10162 current buffer.
10163 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
10164 LOCAL is nil.
10165
bc6494ef
CY
101662012-04-18 Chong Yidong <cyd@gnu.org>
10167
10168 * simple.el (line-move): Use forward-line if in batch mode
10169 (Bug#11053).
10170
c09c46b2
CS
101712012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
10172
10173 * files.el (after-find-file): Do not try to add a final newline if
10174 the buffer is read-only (Bug#11156).
10175
5f6530ea
RS
101762012-04-17 Richard Stallman <rms@gnu.org>
10177
10178 * mail/rmail.el (rmail-start-mail):
10179 Pass (rmail-mail-return...) for the return-action.
10180 Pass (rmail-yank-current-message...) for the yank-action.
10181 (rmail-yank-current-message): New function.
10182 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
10183 (rmail-reply): Likewise.
10184 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
10185
10186 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 10187 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
10188 buffer, not newbuf.
10189
197b6f3c
JB
101902012-04-17 Juanma Barranquero <lekktu@gmail.com>
10191
10192 * server.el (server-ensure-safe-dir): Simplify.
10193
2311d8e5 101942012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 10195
2311d8e5
GM
10196 * emacs-lisp/smie.el: Provide smarter auto-filling.
10197 (smie-auto-fill): New function.
10198 (smie-setup): Use it.
98fb480e 10199
2311d8e5
GM
10200 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
10201
102022012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
10203
10204 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
10205 (comment-indent): Use it.
10206
2311d8e5 102072012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
10208
10209 * ses.el: The overall change is to add cell renaming, that is
10210 setting fancy names for cell symbols other than name matching
10211 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 10212 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 10213 (ses-create-cell-variable): New defun.
2311d8e5 10214 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
10215 (ses-relocate-formula): Relocate formulas only for cells the
10216 symbols of which are not renamed, i.e. symbols whose names do not
10217 match regexp "\\`[A-Z]+[0-9]+\\'".
10218 (ses-relocate-all): Relocate values only for cells the symbols of
10219 which are not renamed.
10220 (ses-load): Create cells variables as the (ses-cell ...) are read,
10221 in order to check row col consistency with cell symbol name only
10222 for cells that are not renamed.
10223 (ses-replace-name-in-formula): New defun.
10224 (ses-rename-cell): New defun.
4bdf2ad2 10225
fc72b15c
PO
102262012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
10227
10228 * progmodes/perl-mode.el (perl-indent-parens-as-block):
10229 New option (bug#11118).
10230 (perl-calculate-indent): Respect it.
10231
12e10e61
GM
102322012-04-17 Glenn Morris <rgm@gnu.org>
10233
10234 * dired-aux.el (dired-mark-read-string): Doc fix.
10235
30009afd
DA
102362012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
10237
10238 * dired-aux.el (dired-mark-read-string): Offer optional completion.
10239 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
10240
41f03f4d
GM
102412012-04-17 Glenn Morris <rgm@gnu.org>
10242
10243 * mouse.el (mouse-drag-track):
10244 * speedbar.el (speedbar-frame-mode):
10245 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
10246
f45f90f3
LL
102472012-04-16 Leo Liu <sdl.web@gmail.com>
10248
10249 * progmodes/python.el: Trivial cleanup.
10250
94ee8db5
GM
102512012-04-16 Glenn Morris <rgm@gnu.org>
10252
121b8917
GM
10253 * vc/vc.el (vc-string-prefix-p):
10254 * vc/pcvs-util.el (cvs-string-prefix-p):
10255 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
10256 * mpc.el (mpc-string-prefix-p):
10257 Make all of these into obsolete aliases for string-prefix-p.
10258 Update callers.
10259 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
10260
1197ecfa
GM
10261 * textmodes/two-column.el: Move custom options to the start.
10262 (frame-width): Remove compat definition.
10263 (2C-associate-buffer, 2C-dissociate):
10264 Use with-current-buffer rather than save-excursion.
10265 (2C-dissociate): Force a mode-line update.
10266 (2C-autoscroll): Use ignore-errors.
10267
099e7202
GM
10268 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
10269 Autoload trivia.
10270
bf350d6a
GM
10271 * emacs-lisp/cl-extra.el (*random-state*):
10272 Remove unnecessary declaration.
10273
0e829eab
GM
10274 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
10275
e3ad7552
GM
10276 * play/cookie1.el (cookie-snarf):
10277 Give an explicit error if input file cannot be read.
10278
68892d27
GM
10279 * play/yow.el (yow-file): Use expand-file-name rather than concat.
10280
20f0c46d
GM
10281 * progmodes/perl-mode.el (c-macro-expand):
10282 Remove unnecessary autoload (it is in loaddefs.el).
10283
5a0978ce
GM
10284 * textmodes/picture.el (picture-desired-column)
10285 (picture-update-desired-column): Convert comments to doc-strings.
10286 (picture-substitute): Remove function.
10287 (picture-mode-map): Initialize in the defvar.
10288
6b955486
GM
10289 * woman.el: Remove eval-after-load for tar-mode.
10290 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
10291 (woman-tar-extract-file): Autoload it.
10292
94ee8db5
GM
10293 * frame.el (automatic-hscrolling): Make this alias obsolete.
10294
177eca34
AM
102952012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10296
090bd7cb 10297 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 10298 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
10299 (ispell-dictionary-base-alist): Revert to original XEmacs
10300 friendly version for default. [:alpha:] will be added in
090bd7cb 10301 `ispell-set-spellchecker-params' if needed.
177eca34 10302
c505aaeb
CY
103032012-04-16 Chong Yidong <cyd@gnu.org>
10304
b19dd9d1 10305 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
10306 (imagemagick-register-types): Use it.
10307 (imagemagick-types-inhibit): Add :set function. Allow new value
10308 of t to inhibit all types.
10309
10310 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
10311 so we can preload it.
10312
10313 * loadup.el (fboundp): Preload regexp-opt, needed by
10314 imagemagick-register-types.
10315
60efac0f
CY
103162012-04-15 Chong Yidong <cyd@gnu.org>
10317
10318 * frame.el (scrolling): Remove nearly unused customization group.
10319
10320 * scroll-all.el (scroll-all-mode): Move to windows group.
10321
5dd1713e
CY
103222012-04-15 Chong Yidong <cyd@gnu.org>
10323
10324 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
10325
e6fd457e
CY
103262012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10327
10328 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 10329 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 10330
e153c136
GM
103312012-04-15 Glenn Morris <rgm@gnu.org>
10332
10333 * simple.el (process-file-side-effects): Doc fix.
10334
e6fd457e 103352012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
10336
10337 * international/mule-cmds.el (set-language-environment): Doc fix.
10338
3603c3b1
JB
103392012-04-14 Juanma Barranquero <lekktu@gmail.com>
10340
10341 * server.el (server-auth-key, server-generate-key): Doc fixes.
10342 (server-get-auth-key): Doc fix. Use `string-match-p'.
10343 (server-start): Reflow docstring.
10344
e6de100c
LI
103452012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
10346
10347 * server.el (server-generate-key): `called-interactively-p'
10348 requires a parameter.
10349
29734c21
MN
103502012-04-14 Michal Nazarewicz <mina86@mina86.com>
10351
10352 * server.el (server-auth-key): New variable.
75f1671a 10353 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
10354 (server-start): Use the new variable and functions to allow
10355 setting a permanent server key (bug#9423).
10356
d65c9521
LL
103572012-04-14 Leo Liu <sdl.web@gmail.com>
10358
10359 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
10360
5ae255c7
PE
103612012-04-14 Paul Eggert <eggert@cs.ucla.edu>
10362
10363 Spelling fixes.
10364 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
10365 Emacs uses American spelling.
10366
d5e6342e
JB
103672012-04-14 Juanma Barranquero <lekktu@gmail.com>
10368
10369 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
10370 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
10371 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
10372 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
10373
ab036cd7
SM
103742012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10375
10376 * progmodes/which-func.el (which-func-modes): Change default.
10377
35dc09a1 103782012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
10379
10380 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
10381 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
10382
35dc09a1 103832012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
10384
10385 * custom.el (custom-theme-set-variables): Doc fix.
10386
35dc09a1 103872012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
10388
10389 * international/mule.el (set-auto-coding-for-load): Doc fix.
10390
35dc09a1 103912012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 10392
35dc09a1
GM
10393 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
10394 imenu work again for Objective C Mode. Correct the *-index values,
10395 these having been disturbed by a previous change in 2011-08.
57f845ee 10396
0de3da9f
AM
10397 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
10398 Correct two search limits.
10399
35dc09a1 104002012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
10401
10402 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
10403
35dc09a1 104042012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
10405
10406 * international/characters.el: Fix sorting.
10407
35dc09a1 104082012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
10409
10410 * international/characters.el: Add more missing Latin case pairs.
10411
35dc09a1 104122012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
10413
10414 * files.el (dir-locals-set-class-variables): Doc fix.
10415
35dc09a1 104162012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 10417
3f1b5bf8
EZ
10418 * international/characters.el: Add set-case-syntax-pair call for
10419 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
10420 counterpart. (Bug#11209)
10421
9f847f41
EZ
10422 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
10423
35dc09a1 104242012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
10425
10426 * calendar/holidays.el (calendar-check-holidays): Doc fix.
10427
35dc09a1 104282012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 10429
35dc09a1
GM
10430 * textmodes/ispell.el (ispell-dictionary-base-alist):
10431 Add data for Hebrew.
e2627d21 10432
35dc09a1 104332012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 10434
35dc09a1
GM
10435 * net/rcirc.el (rcirc-cmd-quit):
10436 Revert 2012-03-18 change (Bug#11192).
5c14e333 10437
35dc09a1 104382012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
10439
10440 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
10441
35dc09a1 104422012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 10443
4517fe3a
SM
10444 * minibuffer.el (completion-in-region-mode-map):
10445 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 10446
b472a594
VD
104472012-04-13 Vivek Dasmohapatra <vivek@etla.org>
10448
10449 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
10450
09b95ce3
MY
104512012-04-13 Masatake YAMATO <yamato@redhat.com>
10452
10453 * minibuffer.el (minibuffer-local-filename-syntax): New variable
10454 to allow `C-M-f' and `C-M-b' to move to the nearest path
10455 separator (bug#9511).
10456
4b63a9ca
LI
104572012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
10458
10459 * avoid.el: Require cl when compiling. And also move the
10460 `provide' to the end.
10461
7b55b8bf
TV
104622012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10463
10464 * avoid.el (mouse-avoidance-banish-position): New variable.
10465 (mouse-avoidance-banish-destination): Use it (bug#10165).
10466
adedaa1f
LL
104672012-04-13 Leo Liu <sdl.web@gmail.com>
10468
10469 * progmodes/which-func.el (which-func-modes): Add objc-mode.
10470
70e74021
KB
104712012-04-13 Ken Brown <kbrown@cornell.edu>
10472
10473 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 10474 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
10475 (browse-url-filename-alist): For the same reason, don't modify
10476 file:// URLs on Cygwin.
10477
e75e89ba
SM
104782012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
10479
10480 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
10481 the region on shift if the binding is already shifted (bug#11221).
10482
82f289a4
GM
104832012-04-12 Glenn Morris <rgm@gnu.org>
10484
10485 * mail/mailpost.el: Move to obsolete/.
10486
d333dc4c
DA
104872012-04-12 Drew Adams <drew.adams@oracle.com>
10488
10489 * imenu.el (imenu--generic-function): Ignore invisible definitions
10490 (bug#10123).
10491
0d15b5ba
VD
104922012-04-12 Vivek Dasmohapatra <vivek@etla.org>
10493
10494 * hexl.el (hexl-bits): New variable.
10495 (hexl-options): Mention the variable in the doc string.
75f1671a 10496 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 10497 (hexl-mode): Mention the new variable.
75f1671a
JB
10498 (hexl-mode, hexl-current-address, hexl-current-address):
10499 Use the displen.
0d15b5ba
VD
10500 (hexl-ascii-start-column): New function.
10501 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
10502 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
10503
64a440db
AM
105042012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10505
10506 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
10507 '("-i" ENCODING), in 2 separate command-line arguments, to specify
10508 the encoding, as expected by hunspell.
10509
6decb6c2
SM
105102012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
10511
10512 * battery.el (battery--linux-sysfs-regexp): New const.
10513 (battery-status-function): Use it. Remove yeeloong special case.
10514 (battery-yeeloong-sysfs): Remove.
10515 (battery-echo-area-format): Remove yeeloong special case.
10516
088be6fb
SM
105172012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10518
6622e416
SM
10519 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
10520 Reported by Noah Friedman.
10521
088be6fb
SM
10522 * subr.el (read-passwd): Use read-string.
10523
b49f886e
LMI
105242012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10525
10526 * vcursor.el (vcursor-move): Increase the priority of the overlay
10527 (bug#9663).
10528
a63067fc
DD
105292012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
10530
10531 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
10532 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
10533
ac3cf14a
WS
105342012-04-11 William Stevenson <yhvh2000@gmail.com>
10535
10536 * textmodes/artist.el (artist-mode): Convert artist-mode to use
10537 define-minor-mode (bug#10760).
10538
c4fc691b 105392012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 10540
4d6769e1 10541 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
10542 that directories matching `grep-find-ignored-files' won't be
10543 pruned (bug#10351).
10544
af23e2e5
CY
105452012-04-11 Chong Yidong <cyd@gnu.org>
10546
10547 * startup.el (command-line): Remove support for long-obsolete
10548 variable font-lock-face-attributes.
10549
ab7ce8c1
GM
105502012-04-11 Glenn Morris <rgm@gnu.org>
10551
10552 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
10553
de8c03dc
SM
105542012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10555
10556 * window.el (window--state-get-1): Obey window-point-insertion-type.
10557
050cc68b
LB
105582012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
10559
10560 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
10561 to previous function when point is on the first character of a
75f1671a 10562 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 10563
a38c310c
GM
105642012-04-11 Glenn Morris <rgm@gnu.org>
10565
effed0c2
GM
10566 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
10567 not just file-errors.
10568
a38c310c
GM
10569 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
10570 (vc-bzr-sha1): Use internal sha1.
10571
0221e323
SM
105722012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10573
10574 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
10575
43956923
SG
105762012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
10577
10578 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
10579 that start in the middle of the line (bug#10496).
10580
6a8c9eaf
DN
105812012-04-10 Dan Nicolaescu <dann@gnu.org>
10582
10583 * battery.el (battery-linux-proc-acpi): Only one battery is
10584 discharged at a time, but that seems to confuse battery.el when
10585 computing `rate-type' for the battery not being discharged
10586 (bug#10332).
10587
1930bf5d
SM
105882012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10589
2a718f6f
SM
10590 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
10591
599430d0
SM
10592 * international/quail.el: Use dolist and simplify.
10593 (quail-define-package, quail-update-keyboard-layout)
10594 (quail-define-rules): Use dolist.
10595 (quail-insert-kbd-layout, quail-get-translation): CSE.
10596
a2754b6c
SM
10597 * tmm.el: Use dolist, remove left over hook.
10598 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
10599 Use dolist.
10600 (calendar-load-hook): Don't mess with it.
10601
1930bf5d
SM
10602 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
10603 Use derived-mode-p. Run the diff asynchronously.
10604
9f67961c
LMI
106052012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
10606
10607 * obsolete/mouse-sel.el: Add an Obsolete-since header.
10608
2a8ce227
JB
106092012-04-10 Juanma Barranquero <lekktu@gmail.com>
10610
10611 * misc.el: Display absolute path of loaded DLLs (bug#10424).
10612 (list-dynamic-libraries--loaded): New function.
10613 (list-dynamic-libraries--refresh): Use it.
10614
8f33b5f8
NW
106152012-04-10 Nathan Weizenbaum <nweiz@google.com>
10616
1930bf5d
SM
10617 * progmodes/python.el (python-fill-paragraph):
10618 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
10619 disabled (bug#7018).
10620
b12f0439
L
106212012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
10622
1930bf5d 10623 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
10624 DOS/MS Windows for the Baltic languages. There are still plenty
10625 of texts written in this encoding/codepage (bug#6519).
b12f0439 10626
57c3bd01
GM
106272012-04-10 Glenn Morris <rgm@gnu.org>
10628
10629 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
10630 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
10631
6c3eab30
FA
106322012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
10633
1930bf5d 10634 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
10635 next-line "n" and previous-line "p" in order to make recentf more
10636 consistent with ibuffer, dired or org-mode (bug#9387).
10637
24d78a88
LMI
106382012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
10639
bc72b5d9
LMI
10640 * image.el (put-image): Return the overlay created instead of the
10641 optional input string (bug#7834). Note that this may break code
10642 that is (for some reason or other) depending on `put-image'
10643 returning the string.
10644
bd2dba5a
LMI
10645 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
10646
74beb59f
LMI
10647 * simple.el (zap-to-char): Allow zapping using input methods
10648 (bug#1580).
10649
24d78a88
LMI
10650 * textmodes/fill.el (fill-region): Leave point and mark where they
10651 were before filling (bug#5399).
10652
263f20cd
GM
106532012-04-09 Glenn Morris <rgm@gnu.org>
10654
10655 * version.el (emacs-bzr-get-version):
10656 Handle lightweight checkouts of local branches.
10657
58d1f797
AS
106582012-04-09 Andreas Schwab <schwab@linux-m68k.org>
10659
263f20cd 10660 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 10661
b4d3bc10
CY
106622012-04-09 Chong Yidong <cyd@gnu.org>
10663
10664 * custom.el (custom-variable-p): Return nil for non-symbol
10665 arguments instead of signaling an error.
10666 (user-variable-p): Obsolete alias for custom-variable-p.
10667
10668 * apropos.el (apropos-variable):
10669 * files-x.el (read-file-local-variable):
10670 * simple.el (set-variable):
10671 * woman.el (woman-mini-help):
10672 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
10673
fd06db5d
GM
106742012-04-09 Glenn Morris <rgm@gnu.org>
10675
e5fcdb5e
GM
10676 * startup.el (normal-top-level): Don't look for leim-list.el
10677 in places where it will not be found. (Bug#910)
10678
fd06db5d
GM
10679 * international/mule-cmds.el (set-default-coding-systems):
10680 * files.el (normal-mode):
10681 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
10682 This function was removed with ucs-tables.el in 2008.
10683
b39bb7e1
EZ
106842012-04-08 Eli Zaretskii <eliz@gnu.org>
10685
10686 * textmodes/ispell.el (ispell-check-version): For hunspell, set
10687 ispell-encoding8-command to "-i", without a trailing space.
10688 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
10689 separate command-line arguments, to specify the encoding, since
10690 that's how hunspell expects it.
10691
5c5b8e23
GM
106922012-04-08 Glenn Morris <rgm@gnu.org>
10693
10694 * loadup.el: Load bindings before cus-start.
10695 This reduces somewhat the number of "rogue" settings in emacs -Q.
10696
a1ed8b05
GM
106972012-04-07 Glenn Morris <rgm@gnu.org>
10698
10699 * version.el (emacs-bzr-get-version): New function.
dfae128a 10700 (emacs-bzr-version): New variable.
a1ed8b05
GM
10701 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
10702 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
10703
b142f158
EZ
107042012-04-07 Eli Zaretskii <eliz@gnu.org>
10705
dfae128a
GM
10706 * international/uni-bidi.el, international/uni-category.el:
10707 * international/uni-combining.el, international/uni-decimal.el:
10708 * international/uni-decomposition.el, international/uni-digit.el:
10709 * international/uni-lowercase.el, international/uni-mirrored.el:
10710 * international/uni-name.el, international/uni-numeric.el:
10711 * international/uni-titlecase.el, international/uni-uppercase.el:
10712 Update for Unicode 6.1.
b142f158 10713
9078ead6
EZ
107142012-04-07 Eli Zaretskii <eliz@gnu.org>
10715
10716 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
10717
f23d2c7d
LMI
107182012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
10719
10720 * window.el (shrink-window): Mention the `window-min-height'
10721 variable in the doc string.
10722
0a0a3573
BG
107232012-04-05 Bastien Guerry <bzg@altern.org>
10724
10725 * color.el (color-lighten-name): Fix typo.
10726
e5248ac9
SM
107272012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10728
10729 * server.el (server--on-display-p): New function.
10730 (server--on-display-p): Use it.
10731
b4243e22
GV
107322012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
10733
10734 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
10735 (bug#11145).
10736
305d9f44
SM
107372012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10738
10739 * comint.el (comint--common-quoted-suffix): Check string boundary
10740 before comparing (bug#11158).
10741 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
10742
3d439cd1
CY
107432012-04-04 Chong Yidong <cyd@gnu.org>
10744
321cc491
CY
10745 * minibuffer.el (completion-extra-properties): Doc fix.
10746
3d439cd1
CY
10747 * subr.el (delayed-warnings-hook): Doc fix.
10748
2d562c0f
DU
107492012-04-04 Daiki Ueno <ueno@unixuser.org>
10750
10751 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
10752 selection (Bug#11159).
10753 (epa-insert-keys): Inform that the default public key will be
10754 exported if no key is selected.
10755
4443f204
RS
107562012-04-04 Richard Stallman <rms@gnu.org>
10757
10758 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
10759
529c06b6
CY
107602012-04-03 Chong Yidong <cyd@gnu.org>
10761
10762 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
10763 mail-insert-file, not its obsolete alias mail-attach-file.
10764
66b907dc
MA
107652012-04-03 Michael Albinus <michael.albinus@gmx.de>
10766
10767 * notifications.el (notifications-notify): Fix docstring.
10768
c0ea195d
GM
107692012-04-02 Glenn Morris <rgm@gnu.org>
10770
10771 * emacs-lisp/authors.el (authors-aliases): Another addition.
10772
5ca64e00
MA
107732012-04-02 Michael Albinus <michael.albinus@gmx.de>
10774
10775 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
10776 `tramp-compat-call-process' instead of `tramp-local-call-process'.
10777 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
10778
42ee526b
CY
107792012-04-01 Chong Yidong <cyd@gnu.org>
10780
10781 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
10782 Handle root directory properly.
10783 (copy-directory): Caller changed.
10784
10785 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
10786 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
10787
0b021094
GM
107882012-03-31 Glenn Morris <rgm@gnu.org>
10789
40f86458
GM
10790 * term/xterm.el (xterm-extra-capabilities): Doc fix.
10791
7019c177
GM
10792 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
10793
a1daddd6
GM
10794 * calendar/calendar.el (calendar-window-list)
10795 (calendar-hide-window): Restore. (Bug#11140)
10796 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
10797
0b021094
GM
10798 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
10799
40311efc
TV
108002012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10801
10802 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
10803 Check if file is a symlink (Bug#10489).
10804
10805 * files.el (copy-directory): Likewise.
10806
5319014e
CY
108072012-03-30 Chong Yidong <cyd@gnu.org>
10808
10809 * image.el (imagemagick-types-inhibit)
10810 (imagemagick-register-types): Doc fix.
10811
935d1290
AM
108122012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10813
090bd7cb 10814 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 10815 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 10816 and treats ~word as ordinary words in pipe mode.
935d1290 10817
61c6e8fd
GM
108182012-03-30 Glenn Morris <rgm@gnu.org>
10819
10820 * tutorial.el (help-with-tutorial): Ensure local variables don't
10821 happen to make the buffer read-only. (Bug#11127)
10822
81fdff00
SM
108232012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
10824
10825 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
10826 (perl-calculate-indent): Return `noindent' in strings.
10827
6e7a6ec0
SS
108282012-03-28 Sam Steingold <sds@gnu.org>
10829
10830 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
10831 instead of the broken adhockery which does not prevent calendar
10832 buffers from being displayed at random after exit.
10833 (calendar-window-list, calendar-hide-window): Remove the broken
10834 adhockery.
10835
fee88ca0
GM
108362012-03-28 Glenn Morris <rgm@gnu.org>
10837
10838 * replace.el (query-replace-map): Doc fix.
10839
38de3354
AS
108402012-03-28 Andreas Schwab <schwab@linux-m68k.org>
10841
10842 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
10843 contents. (Bug#11109)
10844
b973155e
SM
108452012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10846
10847 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
10848 (bug#11077).
10849 (avl-tree--check, avl-tree--check-node): New funs.
10850
dcb6e7b3
MR
108512012-03-27 Martin Rudalics <rudalics@gmx.at>
10852
10853 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
10854 (switch-to-prev-buffer, switch-to-next-buffer):
10855 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
10856 showing a buffer already is done on the same frame.
10857
b4fa35fa
GM
108582012-03-27 Glenn Morris <rgm@gnu.org>
10859
10860 * startup.el (mail-host-address): Doc fix.
10861
f9210e18
SM
108622012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10863
10864 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
10865 than 197 variables.
10866
c0bf7753
AF
108672012-03-26 Ami Fischman <ami@fischman.org>
10868
10869 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
10870
33da7b16
GM
108712012-03-26 Glenn Morris <rgm@gnu.org>
10872
02243d9d
GM
10873 * files.el (save-buffers-kill-emacs): Doc fix.
10874
33da7b16
GM
10875 * startup.el (normal-top-level, command-line, command-line-1):
10876 Give them doc strings.
10877
e5a69fd0
EZ
108782012-03-25 Eli Zaretskii <eliz@gnu.org>
10879
10880 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 10881 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 10882
9a69676a
CY
108832012-03-25 Chong Yidong <cyd@gnu.org>
10884
4125cb8b
CY
10885 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
10886 theme if it was previously enabled before (Bug#11031).
10887
dd470960
CY
10888 * cus-theme.el (custom-theme-write-faces): Retrieve current face
10889 spec with custom-face-get-current-spec if its :shown-value is not
10890 determined yet (Bug#9337).
4125cb8b 10891 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 10892
9a69676a
CY
10893 * button.el (button-at): Minor addition to docstring.
10894
6e7e90fa
SL
108952012-03-24 Simon Leinen <simon.leinen@gmail.com>
10896
10897 * vc/vc.el (vc-merge): Fix a prompt.
10898
f06e2758
CY
108992012-03-24 Chong Yidong <cyd@gnu.org>
10900
10901 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
10902 point (Bug#9623).
10903
6e7e90fa
SL
10904 * button.el (button-at): Minor addition to docstring.
10905
b9d0879b
SM
109062012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
10907
10908 * newcomment.el (comment-choose-indent): No space after BOL.
10909
e71cebb3
SS
109102012-03-22 Sam Steingold <sds@gnu.org>
10911
10912 * window.el (switch-to-prev-buffer): Revert last patch because the
10913 bug turned out to be an advertised feature (Elisp manual 28.14).
10914
335aff35
GM
109152012-03-22 Glenn Morris <rgm@gnu.org>
10916
10917 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
10918 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
10919
c676576a
LMI
109202012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10921
10922 * net/network-stream.el (network-stream-open-starttls): Make error
10923 message under Windows be less misleading.
10924
126f3d39
LW
109252012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
10926
10927 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
10928 understands (bug#9942).
10929
64fee311
CY
109302012-03-22 Chong Yidong <cyd@gnu.org>
10931
10932 * simple.el (end-of-visible-line): Handle return value of
10933 next-single-property-change properly (Bug#9371).
10934
a640d29a
KH
109352012-03-22 Kenichi Handa <handa@m17n.org>
10936
10937 * international/quail.el (quail-insert-kbd-layout): Fix previous
10938 change. To avoid unwanted bidi reordering, use
10939 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
10940
39675016
DG
109412012-03-21 Dmitry Gutov <dgutov@yandex.ru>
10942
10943 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
10944 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
10945 (ruby-beginning-of-indent): Be more careful with the difference
10946 between word-boundary and symbol boundary.
10947 (ruby-mode-syntax-table): Make : a symbol constituent.
10948
0a6934fc 109492012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 10950
3d008e4f
SM
10951 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
10952
0a6934fc
SM
109532012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
10954
af67c9d7
SM
10955 * progmodes/etags.el (tags-completion-at-point-function):
10956 Improve last fix.
10957
1acad97c
SM
10958 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
10959
e298b5da
SS
109602012-03-21 Sam Steingold <sds@gnu.org>
10961
10962 * progmodes/etags.el (tags-completion-at-point-function):
10963 Avoid the error when point is inside the pattern.
10964
91d82a70
JY
109652012-03-21 John Yates <john@yates-sheets.org> (tiny change)
10966
10967 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
10968 line (Bug#10855).
10969
69188b79
CY
109702012-03-21 Drew Adams <drew.adams@oracle.com>
10971
10972 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
10973
99fc91fe
AK
109742012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
10975
10976 * ido.el (ido-set-current-directory, ido-read-internal)
10977 (ido-choose-completion-string, ido-completion-help): Handle nil
10978 value of ido-completion-buffer (Bug#11008).
10979
087bbb4c
SS
109802012-03-21 Sam Steingold <sds@gnu.org>
10981
10982 * window.el (switch-to-prev-buffer): Do not switch to a visible
10983 window previous buffer, just like with the frame previous buffers.
10984
fb5b8aca
CY
109852012-03-21 Chong Yidong <cyd@gnu.org>
10986
10987 * faces.el (make-face, make-empty-face, copy-face):
10988 * face-remap.el (face-remap-add-relative, face-remap-set-base):
10989 Doc fixes.
10990
dc9924b8
SM
109912012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
10992
10993 * wid-edit.el (widget-complete-field): Remove (bug#11051).
10994 (widget-complete): Remove broken use of it.
10995
f0bcceb9
CY
109962012-03-20 Chong Yidong <cyd@gnu.org>
10997
dc9924b8
SM
10998 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10999 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
11000 characters.
11001
ee52ebf3
TH
110022012-03-20 Tassilo Horn <tassilo@member.fsf.org>
11003
11004 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
11005 to draw rectangles, not squares. (Regression introduced by revno
11006 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
11007
4c5779ab
CY
110082012-03-18 Chong Yidong <cyd@gnu.org>
11009
11010 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
11011 it is not yet defined (for temacs).
11012
15360934
LL
110132012-03-18 Leo Liu <sdl.web@gmail.com>
11014
735135f9
PE
11015 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
11016 prefix.
15360934 11017
d9a8eb66
EZ
110182012-03-17 Eli Zaretskii <eliz@gnu.org>
11019
11020 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
11021 (ispell-choices-win-default-height, ispell-silently-savep)
11022 (ispell-dictionary-alist, ispell-encoding8-command)
11023 (ispell-check-version, ispell-aspell-find-dictionary)
11024 (ispell-valid-dictionary-list, ispell-words-keyword)
11025 (ispell-get-word, ispell-internal-change-dictionary)
11026 (ispell-region, ispell-skip-region-list)
11027 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
11028 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
11029 (ispell-message-text-end, ispell-message)
11030 (ispell-buffer-local-parsing): Doc fix.
11031
f02ff80d
J
110322012-03-13 Jambunathan K <kjambunathan@gmail.com>
11033
11034 * htmlfontify.el: Add support for code block fontification for ODT
11035 export (Bug #9914).
11036 (hfy-optimisations): Define new option
11037 `body-text-only'
11038 (hfy-fontify-buffer): Honor above setting.
11039 (hfy-begin-span, hfy-end-span): New routines factored out form
11040 `hfy-fontify-buffer'.
11041 (hfy-begin-span-handler, hfy-end-span-handler): New variables
11042 that permit insertion of custom tags.
11043 (hfy-fontify-buffer): Use above handlers.
11044 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
11045 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 11046 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 11047 over multiple runs. This is made possible by having the caller let
f02ff80d
J
11048 bind a special variable `hfy-user-sheet-assoc'.
11049 (htmlfontify-string): New defun.
11050 (hfy-compile-face-map): Make sure that the last char in the
11051 buffer is correctly fontified.
11052 (hfy-face-resolve-face): Whitespace only change.
11053
9ac7a13f
EZ
110542012-03-17 Eli Zaretskii <eliz@gnu.org>
11055
11056 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
11057 message more clear.
11058
e2b5bdd7
LL
110592012-03-16 Leo Liu <sdl.web@gmail.com>
11060
11061 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
11062
2e492df3
AM
110632012-03-16 Alan Mackenzie <acm@muc.de>
11064
11065 Further optimise the handling of large macros.
11066
11067 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
11068 limit to a call of `c-literal-limits'.
11069 (c-determine-+ve-limit): New function.
dc9924b8
SM
11070 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
11071 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
11072 In CASE 5B, restrict a search limit to 500.
11073 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
11074
11075 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
11076 Restrict macro bounds to +-500 from after-change's BEG END.
11077
50e94f0c
LL
110782012-03-16 Leo Liu <sdl.web@gmail.com>
11079
11080 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
11081
6f09f6ed
AH
110822012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
11083
11084 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 11085 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 11086
c7e73d51
GM
110872012-03-16 Glenn Morris <rgm@gnu.org>
11088
da986230
GM
11089 * view.el (view-buffer, view-buffer-other-window)
11090 (view-buffer-other-frame): Doc fixes re special mode-class.
11091
0835f01e
GM
11092 * subr.el (eval-after-load): If named feature is provided not from
11093 a file, run after-load forms. (Bug#10946)
11094
c7e73d51
GM
11095 * calendar/calendar.el (calendar-insert-at-column):
11096 Handle non-unit-width characters a bit better. (Bug#10978)
11097
3f2eafd1
CY
110982012-03-15 Chong Yidong <cyd@gnu.org>
11099
11100 * emacs-lisp/ring.el (ring-extend): New function.
11101 (ring-insert+extend): Extend the ring correctly (Bug#11019).
11102
11103 * comint.el (comint-read-input-ring)
11104 (comint-add-to-input-history): Grow comint-input-ring lazily.
11105
103af3fe
SM
111062012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11107
663b1677
SM
11108 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
11109 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
11110
103af3fe
SM
11111 * imenu.el: Fix multiple inheritance breakage (bug#9199).
11112 (imenu-add-to-menubar): Don't add a redundant index.
11113 (imenu-update-menubar): Handle a dynamically composed keymap.
11114
899cb7cb
KY
111152012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
11116
11117 * mail/sendmail.el (mail-encode-header):
11118 Bind rfc2047-encode-encoded-words to nil.
11119
3809f91d
GM
111202012-03-13 Glenn Morris <rgm@gnu.org>
11121
11122 * calendar/calendar.el (calendar-string-spread):
11123 Handle non-unit-width characters a bit better. (Bug#10978)
11124
9e345a01
LL
111252012-03-13 Leo Liu <sdl.web@gmail.com>
11126
11127 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
11128 directory and file as argument (Bug#10822).
11129
4a07df36
KS
111302012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
11131
11132 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
11133 For dynamically generated code, follow $PC.
11134 (gdb-disassembly-handler-custom): Handle no function name case.
11135
4aaa9356
TL
111362012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
11137
11138 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
11139 * emulation/ws-mode.el (ws-query-replace):
11140 * sort.el (sort-regexp-fields):
11141 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
11142
225979da
SM
111432012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11144
11145 * dabbrev.el: Fix cycle completion order (bug#10963).
11146 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
11147 (dabbrev-completion): Don't use an obarray; provide
11148 a cycle-sort-function.
11149
e2f1fdab
LL
111502012-03-12 Leo Liu <sdl.web@gmail.com>
11151
dc9924b8 11152 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
11153 (kill-do-not-save-duplicates): Doc fix.
11154
b19490ed
SM
111552012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11156
11157 * dabbrev.el: Fix cycle completion (bug#10963).
11158 Use lexical binding and wrap to 80 columns.
11159 (dabbrev-completion): Delay computing the list of completions.
11160
4b05d722
KH
111612012-03-12 Kenichi Handa <handa@m17n.org>
11162
11163 * international/quail.el (quail-insert-kbd-layout): Surround each
11164 row by LRO and PDF instead of inserting many LRMs. Pad the left
11165 and right of each non-spacing marks. Insert invisible space
11166 between lower and upper characters to prevent composition.
11167
dbbc2e69
SM
111682012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11169
11170 * minibuffer.el (minibuffer-complete): Don't get confused when the
11171 function is run twice via different commands (bug#10958).
11172 (complete-with-action): Fix docstring.
11173
292112ed
CY
111742012-03-12 Chong Yidong <cyd@gnu.org>
11175
5d1ac394
CY
11176 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
11177 (nxml-completion-at-point-function): New function.
11178 (nxml-mode): Use it.
11179 (nxml-bind-meta-tab-to-complete-flag): Default to t.
11180
292112ed
CY
11181 * emacs-lisp/package.el (package-unpack, package-unpack-single):
11182 Load generated autoloads file before byte compiling (Bug#10970).
11183 (package--make-autoloads-and-compile): New helper fun.
11184
4098f8f7
CS
111852012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
11186
11187 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
11188
8f754691
MA
111892012-03-11 Michael Albinus <michael.albinus@gmx.de>
11190
11191 * autorevert.el (auto-revert-handler): Ensure, that
11192 file-readable-p is applied only for local files or in
11193 auto-revert-tail-mode.
11194
e29ab36b
AS
111952012-03-11 Andreas Schwab <schwab@linux-m68k.org>
11196
dbbc2e69
SM
11197 * server.el (server-eval-at): Handle non-tcp connections.
11198 Decode result string.
ad0bf5b6 11199
e29ab36b
AS
11200 * server.el (server-msg-size): New constant.
11201 (server-reply-print): New function.
11202 (server-eval-and-print): Use it.
11203 (server-eval-at): Use server-quote-arg and server-unquote-arg.
11204 Handle -print-nonl.
11205
de5939ba
CS
112062012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
11207
11208 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
11209 (Bug#10987).
11210
0c93eabf
CY
112112012-03-11 Chong Yidong <cyd@gnu.org>
11212
397a688f
CY
11213 * simple.el (goto-line): Doc fix (Bug#9938).
11214
2cc775f9
CY
11215 * subr.el (save-window-excursion): Doc fix (Bug#9979).
11216
0c93eabf
CY
11217 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
11218 when finished (Bug#10963).
11219
c491fa41
MR
112202012-03-11 Martin Rudalics <rudalics@gmx.at>
11221
11222 * window.el (split-window-below): Fix bug in case where
11223 split-window-keep-point is nil (Bug#10971).
11224
300e8fa5
JL
112252012-03-11 Juri Linkov <juri@jurta.org>
11226
11227 * replace.el (replace-highlight): Set isearch-word to nil
11228 unconditionally. (Bug#10887)
11229
dbf6c5a1
EZ
112302012-03-10 Eli Zaretskii <eliz@gnu.org>
11231
11232 * net/mairix.el (mairix-replace-invalid-chars): Rename from
11233 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 11234 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
11235 (mairix-widget-create-query): Add usage information about mairix
11236 search forms: negating words, searching for substrings, etc.
11237
b9e501de
JP
112382012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
11239
11240 * international/fontset.el (font-encoding-alist): Add an entry for
11241 ksx1001 (Bug#5667).
11242
92795c91
RS
112432012-03-10 Richard Stallman <rms@gnu.org>
11244
1694e6c1
RS
11245 * mail/sendmail.el (mail-encode-header):
11246 Set rfc2047-encode-encoded-words.
11247
607e8555
RS
11248 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
11249
de3bc99a
RS
11250 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
11251 view buffer means not swapped.
11252 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
11253 (rmail-write-region-annotate): Error if real text has disappeared.
11254
92795c91
RS
11255 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
11256
699bd04e
CY
112572012-03-10 Chong Yidong <cyd@gnu.org>
11258
11259 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
11260 * emulation/cua-base.el (cua--init-keymaps):
11261 Add delete-forward-char to remappings (Bug#9666).
699bd04e 11262
570a1714
MR
112632012-03-10 Martin Rudalics <rudalics@gmx.at>
11264
dbbc2e69
SM
11265 * speedbar.el (speedbar-unhighlight-one-tag-line):
11266 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 11267
82dcf4e4
CY
112682012-03-10 Chong Yidong <cyd@gnu.org>
11269
7a2c7ca7
CY
11270 * minibuffer.el (completion-in-region, completion-help-at-point):
11271 Give the completion field overlay a high priority (Bug#6830).
11272
82dcf4e4
CY
11273 * dired.el (dired-goto-file): Recognize absolute file name
11274 listings (Bug#7126).
11275 (dired-goto-file-1): New helper function.
11276 (dired-toggle-read-only): Inhibit warnings.
11277
052e28ac
MA
112782012-03-09 Michael Albinus <michael.albinus@gmx.de>
11279
75f1671a 11280 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
11281 there are no properties.
11282
95d5e396
LL
112832012-03-09 Leo Liu <sdl.web@gmail.com>
11284
11285 * savehist.el (savehist-printable): Stricter check for string
11286 value (Bug#10937).
11287
3f018d6d
EZ
112882012-03-09 Eli Zaretskii <eliz@gnu.org>
11289
dbbc2e69
SM
11290 * mail/smtpmail.el (smtpmail-send-it):
11291 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
11292 valid mbox format.
11293
f7fd3d79
GM
112942012-03-09 Glenn Morris <rgm@gnu.org>
11295
11296 * files.el (dir-locals-find-file):
11297 Don't check result is regular, readable.
11298 (dir-locals-read-from-file): Demote errors.
11299
6ff6e72f
EZ
113002012-03-08 Eli Zaretskii <eliz@gnu.org>
11301
dbbc2e69
SM
11302 * international/quail.el (quail-insert-kbd-layout):
11303 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
11304 layout cell, to prevent their reordering by bidi display engine.
11305 For details, see the discussion in
11306 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
11307
9cec7834
AM
113082012-03-08 Alan Mackenzie <acm@muc.de>
11309
11310 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
11311 the starting position; make it extend the marked region when
11312 invoked repeatedly - all under appropriate circumstances.
11313 Fixes bugs #5525, #10906.
11314
9a40b8d4
GM
113152012-03-08 Glenn Morris <rgm@gnu.org>
11316
11317 * files.el (locate-dominating-file, dir-locals-find-file):
11318 Undo 2012-03-06 change.
11319
7a08ed35
EZ
113202012-03-07 Eli Zaretskii <eliz@gnu.org>
11321
dbbc2e69
SM
11322 * international/quail.el (quail-help):
11323 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
11324 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
11325 for the reason.
11326
5aca4f71 113272012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
11328
11329 Avoid superfluous registering of signals. (Bug#10807)
11330
11331 * notifications.el (notifications-on-action-object)
11332 (notifications-on-close-object): New defvars.
11333 (notifications-on-action-signal, notifications-on-closed-signal):
11334 Unregister the signal if not needed any longer.
11335 (notifications-notify): Register `notifications-action-signal' or
11336 `notifications-closed-signal', if :on-action or :on-close has been
11337 passed as argument.
11338
78e8b10a
CY
113392012-03-07 Chong Yidong <cyd@gnu.org>
11340
11341 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
11342 non-X platforms.
11343
69481eb8
GM
113442012-03-06 Glenn Morris <rgm@gnu.org>
11345
11346 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
11347 (x-disown-selection-internal, x-get-selection-internal):
11348 Doc fix (add arglist signatures). (Bug#10783)
11349
133b8e11
KS
113502012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
11351
11352 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
11353 Handle breakpoints with no "type".
11354
99a83064
GM
113552012-03-06 Glenn Morris <rgm@gnu.org>
11356
11357 * files.el (locate-dominating-file): Add optional predicate argument.
11358 (dir-locals-find-file): Make use of above change.
11359
17798e78
TTN
113602012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
11361
11362 * info.el (Info-insert-dir): Also try "dir.gz".
11363
eb182446
GM
113642012-03-06 Glenn Morris <rgm@gnu.org>
11365
8f2114ee
GM
11366 * files.el (dir-locals-find-file):
11367 Ignore non-readable or non-regular files. (Bug#10928)
11368
eb182446
GM
11369 * files.el (locate-dominating-file): Doc fix.
11370
24679323
AS
113712012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
11372
11373 * calendar/calendar.el (calendar-set-mode-line):
11374 `getenv' returns a string. (Bug#10951)
11375
01d972a9
LL
113762012-03-05 Leo Liu <sdl.web@gmail.com>
11377
109aa8a9
LL
11378 * simple.el (backward-delete-char-untabify): Constrain point to
11379 field (Bug#10939).
11380
01d972a9
LL
11381 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
11382
10607bea
CY
113832012-03-05 Chong Yidong <cyd@gnu.org>
11384
11385 * simple.el (count-words): If called from Lisp, return the word
11386 count, for symmetry with `count-lines'. Arglist changed.
11387 (count-words--message): Args changed. Consolidate counting code
11388 from count-words and count-words-region.
11389 (count-words-region): Caller changed.
11390 (count-lines-region): Make it an obsolete alias.
11391
5dd11cfe
TH
113922012-03-04 Tassilo Horn <tassilo@member.fsf.org>
11393
11394 * saveplace.el (save-place-to-alist)
11395 (save-place-ignore-files-regexp): Allow value nil to disable this
11396 feature.
11397
c349f4e6
CY
113982012-03-04 Chong Yidong <cyd@gnu.org>
11399
11400 * faces.el (face-spec-reset-face): For the default face, reset the
11401 attributes to default values (Bug#10748).
11402
e627be4c
LMI
114032012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
11404
11405 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
11406 previous patch: Check `message-send-mail-function', and not the
11407 default function (bug#10897).
11408
ebeabff4
MA
114092012-03-04 Michael Albinus <michael.albinus@gmx.de>
11410
a41a6cf4
MA
11411 * notifications.el (notifications-on-action-signal)
11412 (notifications-on-closed-signal): Check for unique service name of
11413 incoming event. Fix error in removing entry.
ebeabff4 11414 (top): Register for signals with wildcard service name.
a41a6cf4 11415 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 11416
c1ca42b4
CY
114172012-03-04 Chong Yidong <cyd@gnu.org>
11418
dc9924b8 11419 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 11420
ea16568d
GM
114212012-03-04 Glenn Morris <rgm@gnu.org>
11422
11423 * abbrev.el (copy-abbrev-table, abbrev-table-p)
11424 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
11425 (expand-abbrev, define-abbrev-table): Doc fixes.
11426
fbae4637
LMI
114272012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11428
11429 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
11430 `message-default-send-mail-function' and not `send-mail-function'
11431 when doing the prompting for `sendmail-query-once' before sending
11432 in Message buffers (bug#10897).
11433
a1e7225c
LMI
11434 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
11435 This is inconsistent with all the other stream functions, which leave
11436 the setting up to the higher levels (if so wanted) (bug#10931).
11437
56d093a9
AM
114382012-03-02 Alan Mackenzie <acm@muc.de>
11439
11440 Depessimize the handling of very large macros.
11441
11442 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
11443 (c-macro-cache-syntactic): New variables to implement a one
11444 element macro cache.
11445 (c-invalidate-macro-cache): New function.
11446 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
11447 Adapt to use the new cache.
11448 (c-state-safe-place): Use better the cache of safe positions.
11449 (c-state-semi-nonlit-pos-cache)
11450 (c-state-semi-nonlit-pos-cache-limit):
11451 New variables for...
11452 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
11453 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
11454 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
11455 Use c-state-semi-safe-place.
56d093a9 11456
dbbc2e69
SM
11457 * progmodes/cc-langs.el (c-get-state-before-change-functions):
11458 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 11459
817e5c3d
MA
114602012-03-02 Michael Albinus <michael.albinus@gmx.de>
11461
dbbc2e69
SM
11462 * jka-compr.el (jka-compr-call-process):
11463 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
11464 not remote.
11465
a032a702
MA
114662012-03-01 Michael Albinus <michael.albinus@gmx.de>
11467
11468 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
11469 access of FILE2, if FILE1 does not exist.
11470
99a54f21
MA
11471 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
11472 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
11473
11474 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
11475 Add "PAGER=" to `process-environment'.
11476
f6561e1f
MM
114772012-03-01 Michael R. Mauger <mmaug@yahoo.com>
11478
11479 * progmodes/sql.el: Bug fix
11480 (sql-get-login-ext): Save login values in globals.
11481 (sql-get-login): Use new version of `sql-get-login-ext'.
11482 (sql-interactive-mode): Set global `sql-connection' to nil.
11483 (sql-connect): Set global values for connection.
11484 (sql-product-interactive): Save global values as buffer local.
11485
2d44d9cc
LL
114862012-02-29 Leo Liu <sdl.web@gmail.com>
11487
11488 * abbrev.el (define-abbrevs): Reset sys to nil.
11489
96b49301 114902012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11491
bf7f9bc5
JB
11492 * files.el (file-equal-p): Rename from `files-equal-p'.
11493 Return nil when one or both files don't exist.
96b49301 11494 (file-subdir-of-p): Now only top directory must exists,
11495 return nil if it doesn't.
bf7f9bc5
JB
11496 (copy-directory): No need to test with `file-subdir-of-p' after
11497 creating dir.
11498 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
11499 to `file-equal-p'.
96b49301 11500
44e97401
GM
115012012-02-28 Glenn Morris <rgm@gnu.org>
11502
11503 * shell.el (shell-mode):
11504 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
11505 * play/landmark.el (landmark-font-lock-face-O):
11506 * play/handwrite.el (handwrite):
11507 * play/gomoku.el (gomoku-O):
11508 * net/browse-url.el (browse-url-browser-display):
11509 * international/mule.el (define-charset):
11510 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
11511 * filesets.el (filesets-find-file-delay):
11512 * eshell/em-xtra.el (eshell-xtra):
11513 * eshell/em-unix.el (eshell-grep):
11514 * emulation/viper.el (viper-mode):
11515 * emacs-lisp/regexp-opt.el (regexp-opt-group):
11516 * emacs-lisp/easymenu.el (easy-menu-define):
11517 * calendar/timeclock.el (timeclock-use-display-time):
11518 * bs.el (bs-mode):
11519 * bookmark.el (bookmark-save-flag):
11520 Doc fix (standardize possessive apostrophe usage).
11521
c98c6276
CY
115222012-02-27 Chong Yidong <cyd@gnu.org>
11523
bf7f9bc5
JB
11524 * emulation/viper-cmd.el (viper-intercept-ESC-key):
11525 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 11526
c98c6276
CY
11527 * font-lock.el (font-lock-specified-p): Rename from
11528 font-lock-spec-present. Callers changed.
11529
9c62cd04 115302012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 11531
bf7f9bc5
JB
11532 * emacs-lisp/package.el (package-compute-transaction):
11533 Handle holding a package version to t in package-load-list.
8ac9e529 11534
530739c9
MA
115352012-02-26 Michael Albinus <michael.albinus@gmx.de>
11536
11537 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
11538 (tramp-get-inode, tramp-get-device): Use cached values.
11539
487915d7
AM
115402012-02-26 Alan Mackenzie <acm@muc.de>
11541
11542 Check there is a font-lock specification before doing initial
11543 fontification.
11544
11545 * font-core.el (font-lock-mode): Move the conditional from
11546 :after-hook to font-lock-initial-fontify.
11547 (font-lock-default-function): Move the check for a specification
11548 to font-lock-spec-present.
11549
dc9924b8 11550 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
11551 (font-lock-spec-present): New function.
11552
4fd96557
JB
115532012-02-26 Jim Blandy <jimb@red-bean.com>
11554
11555 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
11556 (gdb-send): Apply it to the operand of the '-interpreter-exec
11557 console' command, so that we can pass arguments with (say) quotes
11558 in them. Store exact string sent in gdb-debug-log (Bug#10765).
11559
9a4888c0
CY
115602012-02-26 Chong Yidong <cyd@gnu.org>
11561
07498861
CY
11562 * help-fns.el (describe-function-1): Clarify description of
11563 remapping (Bug#10844).
11564
9a4888c0
CY
11565 * files.el (files-equal-p): Doc fix.
11566 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
11567 and quit the loop once a mismatch is found.
11568
ea8fb88d
JB
115692012-02-25 Juanma Barranquero <lekktu@gmail.com>
11570
11571 * bs.el (bs--show-with-configuration): Don't throw an error
11572 if the window cannot be split; otherwise, subsequent calls to
11573 bs-show fail, restoring a stale window config. (Bug#10882)
11574
525795c1
JD
115752012-02-25 Jan Djärv <jan.h.d@swipnet.se>
11576
11577 * term/ns-win.el (global-map): Bind ns-drag-file to
11578 ns-find-file (Bug#5855, Bug#10050).
11579
f008086f
AS
115802012-02-25 Andreas Schwab <schwab@linux-m68k.org>
11581
11582 * calendar/parse-time.el (parse-time-string): Allow extractor to
11583 return nil.
11584
a3fcfa99
MA
115852012-02-25 Michael Albinus <michael.albinus@gmx.de>
11586
91027d08
JB
11587 * net/tramp.el (tramp-file-name-for-operation):
11588 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
11589
11590 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
11591 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
11592 Add COPY-CONTENTS argument.
a3fcfa99 11593
67b0de11
CY
115942012-02-25 Chong Yidong <cyd@gnu.org>
11595
11596 Add custom groups for VC backends, for consistency with vc-bzr.
11597
11598 * vc/vc-arch.el (vc-arch):
11599 * vc/vc-cvs.el (vc-cvs):
11600 * vc/vc-git.el (vc-git):
11601 * vc/vc-hg.el (vc-hg):
11602 * vc/vc-mtn.el (vc-mtn):
11603 * vc/vc-rcs.el (vc-rcs):
11604 * vc/vc-sccs.el (vc-sccs):
11605 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
11606 All relevant defcustoms reassigned.
11607
3c9dfce6
CY
116082012-02-25 Chong Yidong <cyd@gnu.org>
11609
1339bf43
CY
11610 * newcomment.el (comment-styles): Add autoload (Bug#10868).
11611
3c9dfce6
CY
11612 * term/x-win.el (x-initialize-window-system): Reduce default for
11613 x-selection-timeout to 5 seconds (Bug#8869).
11614
25b2e303 116152012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11616
ec70a47d
GM
11617 * files.el (files-equal-p, file-subdir-of-p): New functions.
11618 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 11619 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
11620 * dired-aux.el (dired-copy-file-recursive): Same.
11621 (dired-create-files): Modify destination when source is equal to
11622 dest when copying files.
53a46cd0 11623 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 11624
914260cd
MA
116252012-02-24 Michael Albinus <michael.albinus@gmx.de>
11626
11627 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
11628 (Bug#10874)
11629
2cb228f7
AM
116302012-02-23 Alan Mackenzie <acm@muc.de>
11631
11632 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
11633 parameter "after-hook:" to allow the expansion to run code after
11634 the execution of the mode hooks.
11635
11636 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 11637 from font-lock-mode-internal.
2cb228f7 11638
91027d08 11639 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
11640 :after-hook.
11641
8f0fde21
SM
116422012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
11643
3e88618b
SM
11644 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
11645 (completion--cache-all-sorted-completions): New function.
11646 (completion-all-sorted-completions): Use it.
11647 (completion--do-completion, minibuffer-force-complete):
11648 Use it to re-instate the flush hook.
11649
8f0fde21
SM
11650 * icomplete.el (icomplete-completions): Replace last fix with a better
11651 one (bug#10850).
11652
8e911f6f
DG
116532012-02-23 Dmitry Gutov <dgutov@yandex.ru>
11654
11655 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
11656 when it might call us back infinitely (bug#10797).
11657
49fe4321
GM
116582012-02-23 Glenn Morris <rgm@gnu.org>
11659
11660 * minibuffer.el (completion-category-overrides): Doc fix.
11661
b291b572
SM
116622012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
11663
11664 * minibuffer.el (completion-table-with-context): Fix inf-loop.
11665 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
11666
31a9ef2e
GM
116672012-02-23 Glenn Morris <rgm@gnu.org>
11668
5e6e6794 11669 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
11670 (authors-obsolete-files-regexps, authors-ignored-files)
11671 (authors-ambiguous-files, authors-renamed-files-alist):
11672 Add more entries.
11673
0bd1e074
JL
116742012-02-23 Juri Linkov <juri@jurta.org>
11675
11676 * isearch.el (isearch-occur): Sync interactive spec with occur's
11677 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
11678
b617673c
JL
11679 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
11680
19e9789e
JL
116812012-02-22 Juri Linkov <juri@jurta.org>
11682
11683 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
11684 (ucs-insert): Doc fix. Check for hex digits in the string.
11685 Don't display `nil' in the error message. (Bug#10857)
11686
f41ce09d
AM
116872012-02-22 Alan Mackenzie <acm@muc.de>
11688
7a71b18d 11689 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 11690
ac2eceee
GM
116912012-02-22 Glenn Morris <rgm@gnu.org>
11692
11693 * ffap.el (ffap-c-path):
11694 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
11695
abd1f678
CY
116962012-02-22 Chong Yidong <cyd@gnu.org>
11697
11698 * custom.el (load-theme): Doc fix.
11699
f25aef2e
GM
117002012-02-22 Glenn Morris <rgm@gnu.org>
11701
11702 * dired-x.el (dired-guess-shell-alist-default):
11703 Remove escape sequences from nroff output. (Bug#172)
11704
5f8dc2ca
GM
117052012-02-21 Glenn Morris <rgm@gnu.org>
11706
6ff86ec4
GM
11707 * vc/emerge.el (emerge-defvar-local):
11708 Set `permanent-local' property rather than unused `preserved'.
11709
be3223a3 11710 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
11711 (picture-mode-map): Use it. (Bug#10860)
11712 (picture-mode): Doc fix.
11713
3fe58f4f
JB
117142012-02-21 Juanma Barranquero <lekktu@gmail.com>
11715
11716 * newcomment.el (uncomment-region-default): Remove unused binding.
11717
f9a998c3
GM
117182012-02-21 Glenn Morris <rgm@gnu.org>
11719
11720 * textmodes/picture.el (picture-motion, picture-motion-reverse)
11721 (picture-self-insert, picture-tab-chars): Doc fix.
11722 (picture-mode-map): Fix C-a, C-e.
11723
c6029348
GM
117242012-02-20 Glenn Morris <rgm@gnu.org>
11725
11726 * emacs-lisp/authors.el (authors-aliases): Add another entry.
11727
ab1ce9d7
LL
117282012-02-20 Leo Liu <sdl.web@gmail.com>
11729
11730 * icomplete.el (icomplete-completions): Check FROM arg before
11731 passing to substring (Bug#10850).
11732
0fd40f89
CY
117332012-02-19 Chong Yidong <cyd@gnu.org>
11734
11735 * comint.el: Require ansi-color.
11736 (comint-output-filter-functions): Add ansi-color-process-output.
11737
11738 * ansi-color.el: Don't set comint-output-filter-functions; it is
11739 now in the initial value defined in comint.el.
11740 (ansi-color-apply-face-function): New variable.
11741 (ansi-color-apply-on-region): Use it.
11742 (ansi-color-apply-overlay-face): New function.
11743
11744 * shell.el (shell): No need to require ansi-color.
11745 (shell-mode): Use ansi-color-apply-face-function to highlight
11746 color escapes using font-lock-face property (Bug#10835).
11747
20af2394
CY
117482012-02-19 Chong Yidong <cyd@gnu.org>
11749
11750 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
11751 mode-line formats (Bug#10839).
11752
e23a3fbe
GM
117532012-02-18 Glenn Morris <rgm@gnu.org>
11754
b474519e
GM
11755 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
11756
11757 * mail/undigest.el (unforward-rmail-message): Doc fix.
11758
e23a3fbe
GM
11759 * saveplace.el (save-place-ignore-files-regexp): Add :version.
11760
57939ff4
EZ
117612012-02-18 Eli Zaretskii <eliz@gnu.org>
11762
11763 * international/characters.el (script-list): Sync with the latest
11764 Unicode Character Database.
11765
0c23686e
AS
117662012-02-18 Andreas Schwab <schwab@linux-m68k.org>
11767
11768 * international/titdic-cnv.el: Remove duplicate coding tag.
11769 * language/cham.el: Likewise.
11770 * language/tai-viet.el: Likewise.
11771
6818b449
GM
117722012-02-18 Glenn Morris <rgm@gnu.org>
11773
11774 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
11775 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
11776 (calendar-bahai-all-holidays-flag, calendar-other-dates):
11777 * calendar/diary-lib.el (diary-abbreviated-year-flag):
11778 * calendar/holidays.el (holiday-bahai-holidays)
11779 (calendar-holidays, list-holidays):
11780 Use utf-8 Bahá'í in doc-strings, menus, etc.
11781
0311a3fc
TH
117822012-02-17 Tassilo Horn <tassilo@member.fsf.org>
11783
11784 * saveplace.el (save-place-ignore-files-regexp): New variable
11785 allowing for excluding files from saving their location of point.
11786 The default value matches the temporary commit message editing
11787 files from Git, SVN, Bazaar, and Mercurial.
11788 (save-place-to-alist): Use it.
11789
d209e2fb 117902012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 11791 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
11792
11793 * newcomment.el (uncomment-region-default): Don't leave extra space
11794 when an arg is provided (bug#8150).
11795
ee0ce425
TZ
117962012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
11797
eb864a71 11798 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 11799
95ddf442
GM
118002012-02-17 Glenn Morris <rgm@gnu.org>
11801
11802 * net/socks.el: Require network-stream. (Bug#10599)
11803
48dd1e39 118042012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
11805
11806 * international/charprop.el:
11807 * international/uni-name.el:
11808 * international/uni-old-name.el:
11809 * international/uni-comment.el: Regenerate.
11810
d68cd087
GM
118112012-02-16 Glenn Morris <rgm@gnu.org>
11812
11813 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
11814 Interactively in calendar buffer, give an error if not on a date.
11815
13932042
GM
118162012-02-15 Glenn Morris <rgm@gnu.org>
11817
11818 * shell.el (shell-delimiter-argument-list):
11819 Revert 2011-02-17 change. (Bug#8027)
11820
c3a70e2b
CY
118212012-02-15 Chong Yidong <cyd@gnu.org>
11822
60236b0d
CY
11823 * minibuffer.el (completion-at-point-functions): Doc fix.
11824
c3a70e2b
CY
11825 * custom.el (defcustom): Doc fix; note use of defvar.
11826
9f26dc24
GM
118272012-02-15 Glenn Morris <rgm@gnu.org>
11828
11829 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
11830 Doc fixes.
11831
6546b134
GM
118322012-02-14 Glenn Morris <rgm@gnu.org>
11833
11834 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
11835
d29b2b4c
LI
118362012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
11837
11838 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
11839 way the ports list is computed.
835bdcba
LI
11840 (smtpmail-query-smtp-server): Prompt the user for a port number if
11841 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 11842
08dcdbc9
TZ
118432012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
11844
11845 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
11846
2605051a
GM
118472012-02-13 Glenn Morris <rgm@gnu.org>
11848
11849 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
11850
7ee99f32
TZ
118512012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
11852
11853 * net/gnutls.el (gnutls-trustfiles): New variable.
11854 (gnutls-negotiate): Use it.
11855
5f0af64f
LI
118562012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
11857
11858 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
11859 does its stuff if Gnus is running.
11860
c14fcc95
AM
118612012-02-13 Alan Mackenzie <acm@muc.de>
11862
11863 Fix a loop in c-set-fl-decl-start.
11864
7a71b18d 11865 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
11866 c-backward-syntactic-ws actually moves backwards.
11867
142b4d90
LL
118682012-02-13 Leo Liu <sdl.web@gmail.com>
11869
11870 * net/rcirc.el (rcirc-markup-attributes): Move point to the
11871 beginning so that all \C-o chars are removed.
11872
fa9958a6
TZ
118732012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
11874
dc9924b8 11875 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 11876
0bc5886a
AM
118772012-02-12 Alan Mackenzie <acm@muc.de>
11878
11879 Fix infinite loop with long macros.
4d6769e1 11880 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 11881
d4bd55e7
CY
118822012-02-12 Chong Yidong <cyd@gnu.org>
11883
11884 * window.el (display-buffer): Doc fix (Bug#10785).
11885
66f3fe22
GM
118862012-02-12 Glenn Morris <rgm@gnu.org>
11887
bd7da63e
GM
11888 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
11889 (x-disown-selection-internal, x-get-selection-internal):
11890 Sync docs with the xselect.c versions.
11891
66f3fe22
GM
11892 * allout-widgets.el: Add missing license notice.
11893
3e0d2fa7
GM
118942012-02-11 Glenn Morris <rgm@gnu.org>
11895
cfecdf09
GM
11896 * select.el (x-get-selection-internal, x-own-selection-internal)
11897 (x-disown-selection-internal):
11898 * x-dnd.el (x-get-selection-internal): Update declarations.
11899
6d216d7f
GM
11900 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
11901
2bed3f04
GM
11902 * window.el (window-sides-slots):
11903 * tool-bar.el (tool-bar-position):
11904 * term/xterm.el (xterm-extra-capabilities):
11905 * ses.el (ses-self-reference-early-detection):
11906 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
11907 (verilog-auto-wire-type)
11908 (verilog-auto-delete-trailing-whitespace)
11909 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
11910 (verilog-auto-tieoff-declaration):
11911 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
11912 (sql-oracle-statement-starters, sql-oracle-scan-on):
11913 * progmodes/prolog.el (prolog-align-comments-flag)
11914 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
11915 (prolog-left-indent-regexp, prolog-paren-indent-p)
11916 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
11917 (prolog-types, prolog-mode-specificators)
11918 (prolog-determinism-specificators, prolog-directives)
11919 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
11920 (prolog-electric-dot-flag)
11921 (prolog-electric-dot-full-predicate-template)
11922 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
11923 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
11924 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
11925 (prolog-program-switches, prolog-prompt-regexp)
11926 (prolog-debug-on-string, prolog-debug-off-string)
11927 (prolog-trace-on-string, prolog-trace-off-string)
11928 (prolog-zip-on-string, prolog-zip-off-string)
11929 (prolog-use-standard-consult-compile-method-flag)
11930 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
11931 (prolog-imenu-max-lines, prolog-info-predicate-index)
11932 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
11933 (prolog-char-quote-workaround):
11934 * progmodes/cc-vars.el (c-defun-tactic):
11935 * net/tramp.el (tramp-encoding-command-interactive)
11936 (tramp-local-end-of-line):
11937 * net/soap-client.el (soap-client):
11938 * net/netrc.el (netrc-file):
11939 * net/gnutls.el (gnutls):
11940 * minibuffer.el (completion-category-overrides)
11941 (completion-cycle-threshold)
11942 (completion-pcm-complete-word-inserts-delimiters):
11943 * man.el (Man-name-local-regexp):
11944 * mail/feedmail.el (feedmail-display-full-frame):
11945 * international/characters.el (glyphless-char-display-control):
11946 * eshell/em-ls.el (eshell-ls-date-format):
11947 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
11948 (lisp-lambda-list-keyword-parameter-indentation)
11949 (lisp-lambda-list-keyword-parameter-alignment):
11950 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
11951 * dired-x.el (dired-omit-verbose):
11952 * cus-theme.el (custom-theme-allow-multiple-selections):
11953 * calc/calc.el (calc-highlight-selections-with-faces)
11954 (calc-lu-field-reference, calc-lu-power-reference)
11955 (calc-note-threshold):
11956 * battery.el (battery-mode-line-limit):
11957 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
11958 (archive-7z-update):
11959 * allout.el (allout-prefixed-keybindings)
11960 (allout-unprefixed-keybindings)
11961 (allout-inhibit-auto-fill-on-headline)
11962 (allout-flattened-numbering-abbreviation):
11963 * allout-widgets.el (allout-widgets-auto-activation)
11964 (allout-widgets-icons-dark-subdir)
11965 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
11966 (allout-widgets-theme-dark-background)
11967 (allout-widgets-theme-light-background)
11968 (allout-widgets-item-image-properties-emacs)
11969 (allout-widgets-item-image-properties-xemacs)
11970 (allout-widgets-run-unit-tests-on-load)
11971 (allout-widgets-time-decoration-activity)
11972 (allout-widgets-hook-error-post-time)
11973 (allout-widgets-track-decoration):
11974 Add missing :version tags to new defcustoms and defgroups.
11975
5fec1b8e
GM
11976 * progmodes/sql.el (sql-ansi-statement-starters)
11977 (sql-oracle-statement-starters): Add custom type.
11978
3e0d2fa7
GM
11979 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
11980 (prolog-system-version): Give it a type.
11981
90b671e2
EZ
119822012-02-11 Eli Zaretskii <eliz@gnu.org>
11983
11984 * term/pc-win.el (x-select-text, x-selection-owner-p)
11985 (x-own-selection-internal, x-disown-selection-internal)
11986 (x-get-selection-internal): Sync doc strings and argument lists
11987 with xselect.c, common-win.el and x-win.el. (Bug#10783)
11988
5eac0c02
LL
119892012-02-11 Leo Liu <sdl.web@gmail.com>
11990
11991 * progmodes/python.el (python-end-of-statement): Fix infinite
11992 loop. (Bug#10788)
11993
f82cb659
GM
119942012-02-10 Glenn Morris <rgm@gnu.org>
11995
11996 * international/mule-cmds.el (unify-8859-on-encoding-mode)
11997 (unify-8859-on-decoding-mode): Properly mark as obsolete.
11998
cc26d239
LI
119992012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
12000
12001 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
12002 about SMTP before checking the From header.
12003
91027d08 12004 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
12005 into own function for reuse by emacsbug.el.
12006
1be3ca5a
LL
120072012-02-10 Leo Liu <sdl.web@gmail.com>
12008
12009 * subr.el (condition-case-unless-debug): Rename from
12010 condition-case-no-debug. All callers changed.
12011 (with-demoted-errors): Fix caller.
12012
12013 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
12014 * nxml/rng-valid.el (rng-do-some-validation):
12015 * emacs-lisp/package.el (package-refresh-contents)
12016 (package-menu-execute):
12017 * desktop.el (desktop-create-buffer):
91027d08 12018 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 12019
b011fbfe
GM
120202012-02-10 Glenn Morris <rgm@gnu.org>
12021
b2096d72
GM
12022 * textmodes/bibtex.el:
12023 Add missing :version tags for new/changed defcustoms.
12024
b011fbfe
GM
12025 * files.el (remote-file-name-inhibit-cache): Doc fixes.
12026
4c7e65bf
LI
120272012-02-09 Lars Ingebrigtsen <larsi@rusty>
12028
12029 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
12030 (smtpmail-via-smtp): Use it, or fall back on the From address.
12031 (smtpmail-send-it): Ditto.
12032
f3934f6f
SM
120332012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
12034
12035 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
12036 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
12037 (byte-compile-tmp-var): New const.
12038 (byte-compile-defvar): Use it to minimize .elc size.
12039 Just use `defvar' rather than simulate it (bug#10761).
12040
a075a2c5
GM
120412012-02-09 Glenn Morris <rgm@gnu.org>
12042
cf3aa21b
GM
12043 * files.el (rename-uniquely): Doc fix. (Bug#3806)
12044
354998cd
GM
12045 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
12046 Add :version tags.
12047
dc9924b8
SM
12048 * progmodes/compile.el (compilation-error-screen-columns)
12049 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 12050
dab3703d
GM
12051 * vc/log-view.el (log-view-toggle-entry-display):
12052 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
12053
3f88cd72
GM
12054 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
12055 (report-emacs-bug-can-use-xdg-email):
12056 (report-emacs-bug-insert-to-mailer): Doc fixes.
12057 (report-emacs-bug): Message fix.
12058
d95b247d
GM
12059 * net/browse-url.el (browse-url-can-use-xdg-open)
12060 (browse-url-xdg-open): Doc fixes.
12061
a075a2c5
GM
12062 * electric.el (electric-indent-mode, electric-pair-mode)
12063 (electric-layout-rules, electric-layout-mode): Doc fixes.
12064 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
12065
ffb6157e
MR
120662012-02-08 Martin Rudalics <rudalics@gmx.at>
12067
12068 * server.el (server-unselect-display): Don't inadvertently kill
12069 the current buffer. (Bug#10729)
12070
e1ac4066
GM
120712012-02-08 Glenn Morris <rgm@gnu.org>
12072
34e8a2da
GM
12073 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
12074 (sql-list-table): Doc fixes.
12075
b4ac6e8c
GM
12076 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
12077 Comment out (does nothing).
12078
e1ac4066
GM
12079 * completion.el (dynamic-completion-mode):
12080 * dirtrack.el (dirtrack-debug-mode):
12081 * electric.el (electric-layout-mode):
12082 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
12083 * face-remap.el (text-scale-mode, buffer-face-mode):
12084 * iimage.el (iimage-mode):
12085 * image-mode.el (image-transform-mode):
12086 * minibuffer.el (completion-in-region-mode):
12087 * scroll-lock.el (scroll-lock-mode):
12088 * simple.el (next-error-follow-minor-mode):
12089 * tar-mode.el (tar-subfile-mode):
12090 * tooltip.el (tooltip-mode):
12091 * vcursor.el (vcursor-use-vcursor-map):
12092 * wid-browse.el (widget-minor-mode):
12093 * emulation/tpu-edt.el (tpu-edt-mode):
12094 * emulation/tpu-extras.el (tpu-cursor-free-mode):
12095 * international/iso-ascii.el (iso-ascii-mode):
12096 * language/thai-util.el (thai-word-mode):
12097 * mail/supercite.el (sc-minor-mode):
12098 * net/goto-addr.el (goto-address-mode):
12099 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
12100 * progmodes/cwarn.el (cwarn-mode):
12101 * progmodes/flymake.el (flymake-mode):
12102 * progmodes/glasses.el (glasses-mode):
12103 * progmodes/hideshow.el (hs-minor-mode):
12104 * progmodes/pascal.el (pascal-outline-mode):
12105 * textmodes/enriched.el (enriched-mode):
12106 * vc/smerge-mode.el (smerge-mode):
12107 Doc fixes (minor mode argument).
12108
5e0d957f
EZ
121092012-02-07 Eli Zaretskii <eliz@gnu.org>
12110
12111 * ls-lisp.el (ls-lisp-sanitize): New function.
12112 (ls-lisp-insert-directory): Use it to fix or remove any elements
12113 in file-alist with missing attributes. (Bug#4673)
12114
98d7371e
AM
121152012-02-07 Alan Mackenzie <acm@muc.de>
12116
12117 Fix spurious recognition of c-in-knr-argdecl.
12118
12119 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
12120 putative K&R region.
12121
667ced3a
AM
121222012-02-07 Alan Mackenzie <acm@muc.de>
12123
eb864a71
LM
12124 * progmodes/cc-engine.el (c-forward-objc-directive):
12125 Prevent looping in "#pragma mark @implementation".
667ced3a 12126
5b77774d
MA
121272012-02-07 Michael Albinus <michael.albinus@gmx.de>
12128
12129 * notifications.el (notifications-on-closed-signal): Make `reason'
12130 optional. (Bug#10744)
12131
af008560
GM
121322012-02-07 Glenn Morris <rgm@gnu.org>
12133
60d47423
GM
12134 * emacs-lisp/easy-mmode.el (define-minor-mode):
12135 Doc fixes for the macro and the mode it defines.
12136
dd605cc4
GM
12137 * image.el (imagemagick-types-inhibit): Doc fix.
12138
af008560
GM
12139 * cus-start.el (imagemagick-render-type): Add it.
12140
5cc59a37
LI
121412012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
12142
4d6769e1
JB
12143 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
12144 Set the default at load time, too, so that `font-lock-fontify-buffer'
12145 can be called without setting up the entire mode first. This fixes
12146 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 12147
9a6dd747
CY
121482012-02-06 Chong Yidong <cyd@gnu.org>
12149
2d16b285
CY
12150 * simple.el (list-processes--refresh): Delete exited processes
12151 (Bug#8094).
12152
171e9b6e
CY
12153 * comint.el (comint-next-prompt): next-single-char-property-change
12154 and prev-single-char-property-change never return nil (Bug#8657).
12155
9a6dd747
CY
12156 * custom.el (defcustom): Doc fix (Bug#9711).
12157
aa4589a7
CY
121582012-02-05 Chong Yidong <cyd@gnu.org>
12159
5c2a252f
CY
12160 * cus-edit.el (custom-variable-reset-backup): Quote the value
12161 before storing it in the customized-value property (Bug#6712).
4aab9006 12162 (custom-display): Add a customization type tag.
983b9602 12163 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 12164
aa4589a7
CY
12165 * wid-edit.el (widget-field-value-get): New optional arg to
12166 suppress trailing whitespace truncation.
12167 (character): Use it (Bug#2689).
12168
1ff980ae
AS
121692012-02-05 Andreas Schwab <schwab@linux-m68k.org>
12170
12171 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
12172 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
12173
03988c98
CY
121742012-02-05 Chong Yidong <cyd@gnu.org>
12175
eeb6cc88
CY
12176 * cus-edit.el (custom-variable-value-create): For mismatched
12177 types, show the current value (Bug#7600).
12178
03988c98
CY
12179 * custom.el (defcustom): Doc fix.
12180
f8cdeef0
GM
121812012-02-05 Glenn Morris <rgm@gnu.org>
12182
12183 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
12184
0696d255
JB
121852012-02-05 Juanma Barranquero <lekktu@gmail.com>
12186
12187 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
12188 (pp-buffer): Use `ignore-errors', `looking-at-p'.
12189 (pp-last-sexp): Use `looking-at-p'.
12190
34c99998
GM
121912012-02-04 Glenn Morris <rgm@gnu.org>
12192
8f05da42
GM
12193 * files.el (revert-buffer):
12194 Doc fix (mention revert-buffer-in-progress-p).
12195
f160676e
GM
12196 * emacs-lisp/ert-x.el (ert-simulate-command):
12197 Check deferred-action-list (which is obsolete) is bound.
12198
c7291ad9
GM
12199 * subr.el (with-wrapper-hook): Doc fixes.
12200
34c99998
GM
12201 * simple.el (filter-buffer-substring-functions)
12202 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
12203
6283a7d3
LL
122042012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
12205
12206 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
12207 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
12208
e96e3013
LL
122092012-02-04 Leo Liu <sdl.web@gmail.com>
12210
12211 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
12212
8ded50f2
GM
122132012-02-04 Glenn Morris <rgm@gnu.org>
12214
82ff1d13
GM
12215 * image.el (image-extension-data): Add obsolete alias.
12216
987a0a16
GM
12217 * isearch.el (isearch-update): Doc fix.
12218
ea32ef46
GM
12219 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
12220
8ded50f2
GM
12221 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
12222
eea14f31
GM
122232012-02-03 Glenn Morris <rgm@gnu.org>
12224
12225 * image.el (image-animated-p): Doc fix. Use image-animated-types.
12226 (image-animate-timeout): Doc fix.
12227
12228 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
12229
12f381b7
GM
122302012-02-02 Glenn Morris <rgm@gnu.org>
12231
953cebf5
GM
12232 * server.el (server-auth-dir): Doc fix.
12233 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
12234
12f381b7
GM
12235 * subr.el (run-mode-hooks): Doc fix.
12236
953a8c3b
JL
122372012-02-02 Juri Linkov <juri@jurta.org>
12238
12239 * image-mode.el (image-toggle-display-image): Remove tautological
12240 `major-mode' from the `derived-mode-p' test.
12241
c5d3843c
KH
122422012-02-02 Kenichi Handa <handa@m17n.org>
12243
9f6e692e 12244 * composite.el (compose-region): Cancel previous change.
c5d3843c 12245
159462d4 122462012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
12247
12248 * composite.el (compose-region, compose-string): Signal error for
12249 a null string component (Bug#6988).
12250
9f562668
CY
122512012-02-01 Chong Yidong <cyd@gnu.org>
12252
e2cef717
CY
12253 * view.el (view-buffer-other-window, view-buffer-other-frame):
12254 Handle special modes like view-buffer (Bug#10650).
12255 (view-buffer): Simplify.
12256
9f562668
CY
12257 * frame.el (set-frame-font): Tweak meaning of third argument.
12258
9f6e692e
JB
12259 * dynamic-setting.el (font-setting-change-default-font):
12260 Use set-frame-font (Bug#9982).
9f562668 12261
781acb9f
GM
122622012-02-01 Glenn Morris <rgm@gnu.org>
12263
6035be52
GM
12264 * progmodes/compile.el (compilation-internal-error-properties):
12265 Respect compilation-first-column in the "*compilation*" buffer.
12266
781acb9f
GM
12267 * emacs-lisp/easy-mmode.el (define-minor-mode):
12268 Relax :variable's test for a named function.
12269
abbceb00
AM
122702012-01-31 Alan Mackenzie <acm@muc.de>
12271
12272 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
12273 off by one error.
12274
fce3fdeb
CY
122752012-01-31 Chong Yidong <cyd@gnu.org>
12276
12277 * frame.el (set-frame-font): New arg ALL-FRAMES.
12278
12279 * menu-bar.el (menu-set-font): Use set-frame-font.
12280
12281 * faces.el (face-spec-reset-face): Don't apply unspecified
12282 attribute values to the default face.
12283
47893581
JB
122842012-01-31 Juanma Barranquero <lekktu@gmail.com>
12285
12286 * progmodes/cwarn.el (cwarn): Remove dead link.
12287 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
12288 Remove * from defcustom docstrings.
12289 (turn-on-cwarn-mode): Make obsolete.
12290 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
12291 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
12292
e58e988a
GM
122932012-01-31 Glenn Morris <rgm@gnu.org>
12294
60dc2671 12295 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 12296 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 12297 Allow named functions to be used as the cdr of :variable.
e58e988a 12298
7a3f511d
GM
122992012-01-30 Glenn Morris <rgm@gnu.org>
12300
12301 * emacs-lisp/authors.el (authors-fixed-entries):
12302 Remove reference to deleted file rnewspost.el.
12303
cb882333
JB
123042012-01-29 Juanma Barranquero <lekktu@gmail.com>
12305
12306 * window.el (window-with-parameter): Remove unused variable `windows'.
12307 (window--side-check): Remove unused variable `code'.
12308 (window--resize-siblings): Remove unused variable `first'.
12309 (adjust-window-trailing-edge): Remove unused variable `failed'.
12310 (window-deletable-p, window--delete): Remove unused variable `buffer'.
12311 Use `let', not `let*'.
12312 (balance-windows-2): Remove unused variable `found'.
12313 (window--state-put-2): Remove unused variable `splits'.
12314 (window-state-put): Remove unused variable `selected'.
12315 (same-window-p): Use `string-match-p'.
12316 (display-buffer-assq-regexp): Remove unused variable `value'.
12317 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12318 Mark argument ALIST as ignored.
12319 (pop-to-buffer): Remove unused variable `old-window'.
12320
907201af
EZ
123212012-01-29 Eli Zaretskii <eliz@gnu.org>
12322
12323 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
12324 and .lzma compressed files.
12325
ea162670
CY
123262012-01-29 Chong Yidong <cyd@gnu.org>
12327
5b95ee8a
CY
12328 * frame.el (window-system-default-frame-alist): Doc fix.
12329
ea162670
CY
12330 * dynamic-setting.el (font-setting-change-default-font): Don't
12331 change the default face if SET-FONT argument is non-nil (Bug#9982).
12332
6fccd6e8 123332012-01-29 Samuel Bronson <naesten@gmail.com>
d6e6f4b1
SB
12334
12335 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
12336
0f29fa41 123372012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
12338
12339 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
12340 breakpoints in files outside current directory (Bug#6098).
12341
db174434
CY
123422012-01-29 Chong Yidong <cyd@gnu.org>
12343
6b25e4e2
SE
12344 * progmodes/python.el: Require ansi-color at top-level.
12345
6df6ae42
JB
12346 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
12347 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
12348 (lisp-mode-abbrev-table): Add doc.
12349 (lisp-mode-variables): Don't set local-abbrev-table.
12350 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
12351
e70ee681
RW
123522012-01-28 Roland Winkler <winkler@gnu.org>
12353
12354 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
12355
ace88aa2
RW
123562012-01-28 Roland Winkler <winkler@gnu.org>
12357
12358 * textmodes/bibtex.el (bibtex-entry-alist): New function.
12359 (bibtex-set-dialect): Use it. Either set global values of
12360 dialect-dependent variables or bind these variables buffer-locally
12361 (Bug#10254).
12362 (bibtex-mode): Call bibtex-set-dialect via
12363 hack-local-variables-hook.
eb864a71
LM
12364 (bibtex-dialect): Update docstring.
12365 Add safe-local-variable predicate.
ace88aa2
RW
12366 (bibtex-entry-alist, bibtex-field-alist): Initialize via
12367 bibtex-set-dialect.
12368 (bibtex-mode-map): Define menu for each dialect.
12369 (bibtex-entry): Fix docstring.
12370
93376c5b
CY
123712012-01-28 Chong Yidong <cyd@gnu.org>
12372
12373 * eshell/esh-arg.el (eshell-quote-argument): New function.
12374
12375 * eshell/esh-ext.el (eshell-invoke-batch-file):
12376 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
12377 first arg to eshell-parse-command (Bug#10523).
12378
4372494f
DA
123792012-01-28 Drew Adams <drew.adams@oracle.com>
12380
12381 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
12382 `default-directory' is non-nil.
12383
4d4ec1f8
EZ
123842012-01-28 Eli Zaretskii <eliz@gnu.org>
12385
12386 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
12387 line that displays system-configuration-options. (Bug#9924)
12388
7c188927
DA
123892012-01-28 Drew Adams <drew.adams@oracle.com>
12390
12391 * descr-text.el (describe-char): Show information about POS, in
12392 addition to information about the character at POS. Improve and
12393 update the doc string. Change "code point" to "code point in
12394 charset", to avoid confusion with the character's Unicode code
12395 point shown above that. (Bug#10129)
12396
e0da685a
EZ
123972012-01-28 Eli Zaretskii <eliz@gnu.org>
12398
12399 * descr-text.el (describe-char): Show the raw character, not only
12400 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
12401 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
12402 for the reasons.
12403
70550acf
PH
124042012-01-28 Phil Hagelberg <phil@hagelb.org>
12405
eb864a71
LM
12406 * emacs-lisp/package.el (package-install):
12407 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 12408
0ce8e868
CY
124092012-01-28 Chong Yidong <cyd@gnu.org>
12410
cb882333
JB
12411 * emacs-lisp/package.el (package-maybe-load-descriptor):
12412 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
12413 (package-maybe-load-descriptor): Use it.
12414 (package-download-transaction): Fully load required packages
12415 inside the loop, so that `require' calls work (Bug#10593).
12416 (package-install): No need to call package-initialize now.
12417
2e7f3bea
CY
124182012-01-28 Chong Yidong <cyd@gnu.org>
12419
6e9bad14
CY
12420 * simple.el (deactivate-mark): Doc fix (Bug#8614).
12421
f823b8ca
CY
12422 * tooltip.el (tooltip-mode): Doc fix.
12423 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
12424
2680c309
CY
12425 * frame.el (set-cursor-color): Doc fix (Bug#352).
12426
d7a9e63b
CY
12427 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
12428 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
12429
2e7f3bea
CY
12430 * cus-edit.el (custom-buffer-create-internal): Fix search button
12431 action (Bug#10542).
2ae01800 12432 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 12433
fc4f7a23
EW
124342012-01-27 Eduard Wiebe <usenet@pusto.de>
12435
12436 * dired.el (dired-mark-files-regexp):
12437 Include any subdirectory components. (Bug#10445)
12438
7dd37071
ML
124392012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
12440
12441 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
12442 Handle [host]:port syntax. (Bug#10533)
12443
a268160b
AH
124442012-01-27 Alex Harsanyi <harsanyi@mac.com>
12445
12446 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
12447
e43273ef
GM
124482012-01-26 Glenn Morris <rgm@gnu.org>
12449
12450 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
12451 * term.el (term-raw-escape-map): Use Control-X-prefix.
12452 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
12453
1edf595d
MR
124542012-01-25 Martin Rudalics <rudalics@gmx.at>
12455
12456 * window.el (window-state-get, window--state-get-1): Don't deal
12457 with fixed-sizeness of windows. Simplify code.
12458
fa8eafef
JC
124592012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
12460
6df6ae42
JB
12461 * window.el (window--state-get-1, window--state-put-2):
12462 Don't save and restore the mark.
fa8eafef 12463
0b21c100
CY
124642012-01-25 Chong Yidong <cyd@gnu.org>
12465
12466 * custom.el (custom-variable-p): Doc fix.
12467
5ae1a6c8
GM
124682012-01-25 Glenn Morris <rgm@gnu.org>
12469
40047858
GM
12470 * dired.el (dired-goto-file): Handle some of the more common
12471 characters that `ls -b' escapes. (Bug#10596)
12472
5ddce96c
GM
12473 * progmodes/compile.el (compilation-next-error-function):
12474 Respect compilation-first-column in the "*compilation*" buffer.
12475 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
12476
5ae1a6c8
GM
12477 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
12478
b559f1a9
GM
124792012-01-24 Glenn Morris <rgm@gnu.org>
12480
12481 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
12482
6725d21a
JD
124832012-01-24 Julien Danjou <julien@danjou.info>
12484
12485 * color.el (color-rgb-to-hsl): Fix value computing.
12486 (color-hue-to-rgb): New function.
12487 (color-hsl-to-rgb): New function.
12488 (color-clamp, color-saturate-hsl, color-saturate-name)
12489 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
12490 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
12491
70df4bbe
GM
124922012-01-24 Glenn Morris <rgm@gnu.org>
12493
12494 * vc/vc-rcs.el (vc-rcs-create-tag):
12495 * vc/vc-sccs.el (vc-sccs-create-tag):
12496 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
12497
802a2ae2
ML
124982012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
12499
12500 * eshell/esh-util.el (eshell-read-hosts-file):
12501 Skip comment lines. (Bug#10549)
12502
d7128bb1
ML
12503 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
12504
d1a5c3b4
JB
125052012-01-23 Juanma Barranquero <lekktu@gmail.com>
12506
2724d9c7
JB
12507 * subr.el (display-delayed-warnings): Doc fix.
12508 (collapse-delayed-warnings): New function to collapse identical
12509 adjacent warnings.
12510 (delayed-warnings-hook): Add it.
d1a5c3b4 12511
a5509865
MA
125122012-01-22 Michael Albinus <michael.albinus@gmx.de>
12513
12514 * net/tramp.el (tramp-action-login): Set connection property "login-as".
12515
a5509865
MA
12516 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
12517 (tramp-default-user-alist): Don't add "pscp".
12518 (tramp-do-copy-or-rename-file-out-of-band): Use connection
12519 property "login-as", if set. (Bug#10530)
12520
cc6d5805
MA
125212012-01-21 Michael Albinus <michael.albinus@gmx.de>
12522
12523 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
12524 "plink1" and "psftp". (Bug#10530)
12525
125262012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
12527
12528 * international/mule-cmds.el (prefer-coding-system): Show a
12529 warning message if the default value of file-name-coding-system
12530 was not changed.
12531
f0960428
JC
125322012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
12533
cb882333
JB
12534 * windmove.el (windmove-reference-loc):
12535 Fix windmove-reference-loc miscalculation.
f0960428 12536
dd6f2a63
JB
125372012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
12538
12539 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
12540 default unit.
12541
7b447e9b
GM
125422012-01-21 Glenn Morris <rgm@gnu.org>
12543
117a9ea1
GM
12544 * international/mule.el (auto-coding-alist): Add .tbz.
12545
7b447e9b
GM
12546 * files.el (local-enable-local-variables): Doc fix.
12547 (inhibit-local-variables-regexps): Rename from
12548 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
12549 Doc fix. Add some extensions from auto-coding-alist.
12550 (inhibit-local-variables-suffixes):
12551 Rename from inhibit-first-line-modes-suffixes. Doc fix.
12552 (inhibit-local-variables-p):
12553 New function, extracted from set-auto-mode-1.
12554 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
12555 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
12556 (hack-local-variables): Doc fix. Make the mode-only case
12557 respect enable-local-variables and friends.
12558 Respect inhibit-local-variables-regexps for file-locals, but
12559 not for directory-locals.
12560 (set-visited-file-name):
12561 Take account of inhibit-local-variables-regexps.
12562 Whether it applies may change as the file name is changed.
12563 * jka-cmpr-hook.el (jka-compr-install):
12564 * jka-compr.el (jka-compr-uninstall):
12565 Update for inhibit-first-line-modes-suffixes name change.
12566
dd6e3cdd
MR
125672012-01-20 Martin Rudalics <rudalics@gmx.at>
12568
12569 * help-macro.el (make-help-screen): Temporarily restore original
12570 binding for minor-mode-map-alist (Bug#10454).
12571
0d0deb38
JD
125722012-01-19 Julien Danjou <julien@danjou.info>
12573
12574 * color.el (color-name-to-rgb): Use the white color to find the max
12575 color component value and return correctly computed values.
12576 (color-name-to-rgb): Add missing float conversion for max value.
12577
34a02f46
MR
125782012-01-19 Martin Rudalics <rudalics@gmx.at>
12579
12580 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
12581 special state value for window-persistent-parameters.
12582 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
12583 (window--state-put-2): Reset all window parameters to nil before
12584 assigning values of persistent parameters.
12585
606c44c4
AM
125862012-01-18 Alan Mackenzie <acm@muc.de>
12587
12588 Eliminate sluggishness and hangs in fontification of "semicolon
12589 deserts".
12590
cb882333
JB
12591 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
12592 Change value 10000 -> 3000.
606c44c4
AM
12593 (c-state-safe-place): Reformulate so it doesn't stack up an
12594 infinite number of wrong entries in c-state-nonlit-pos-cache.
12595 (c-determine-limit-get-base, c-determine-limit): New functions to
12596 determine backward search limits disregarding literals.
12597 (c-find-decl-spots): Amend commenting.
12598 (c-cheap-inside-bracelist-p): New function which detects "={".
12599
12600 * progmodes/cc-fonts.el
12601 (c-make-font-lock-BO-decl-search-function): Give a limit to a
12602 backward search.
12603 (c-font-lock-declarations): Fix an occurrence of point being
12604 undefined. Check additionally for point being in a bracelist or
12605 near a macro invocation without a semicolon so as to avoid a
12606 fruitless time consuming search for a declarator. Give a more
12607 precise search limit for declarators using the new
12608 c-determine-limit.
12609
f3860cea
GM
126102012-01-18 Glenn Morris <rgm@gnu.org>
12611
12612 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
12613 (set-auto-mode): Doc fixes.
12614
1db03b16
GM
126152012-01-17 Glenn Morris <rgm@gnu.org>
12616
0e6038be
GM
12617 * isearch.el (search-nonincremental-instead): Fix doc typo.
12618
1db03b16
GM
12619 * dired.el (dired-insert-directory): Handle newlines in directory name.
12620 (dired-build-subdir-alist): Unescape newlines in directory name.
12621
4cb0aa75
MA
126222012-01-17 Michael Albinus <michael.albinus@gmx.de>
12623
12624 * net/tramp.el (tramp-local-end-of-line): New defcustom.
12625 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
12626 (tramp-action-terminal): Use it. (Bug#10530)
12627
1d00653d
SM
126282012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
12629
12630 * minibuffer.el (completion--replace): Strip properties (bug#10062).
12631
6a6ee00d
MR
126322012-01-16 Martin Rudalics <rudalics@gmx.at>
12633
12634 * window.el (window-state-ignored-parameters): Remove variable.
12635 (window--state-get-1): Rename argument MARKERS to IGNORE.
12636 Handle persistent window parameters. Make copy of clone-of
12637 parameter only if requested. (Bug#10348)
12638 (window--state-put-2): Install a window parameter only if it has
12639 a non-nil value or an existing parameter shall be overwritten.
12640
97912def
MA
126412012-01-15 Michael Albinus <michael.albinus@gmx.de>
12642
12643 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
12644
688070a5
EZ
126452012-01-14 Eli Zaretskii <eliz@gnu.org>
12646
12647 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
12648 don't pass the (nil) value of `upnode' to string-match.
12649
301afadc
CY
126502012-01-14 Chong Yidong <cyd@gnu.org>
12651
12652 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 12653 Fix values recognized by the cursorBlink resource.
301afadc 12654
9e5788aa
PE
126552012-01-14 Paul Eggert <eggert@cs.ucla.edu>
12656
12657 * epg.el (epg--make-temp-file): Avoid permission race condition
12658 when running on old Emacs versions (bug#10403).
12659
3cdb7f5a
GM
126602012-01-14 Glenn Morris <rgm@gnu.org>
12661
12662 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
12663
8c82b1b4
AM
126642012-01-13 Alan Mackenzie <acm@muc.de>
12665
12666 Fix filling for when filladapt mode is enabled.
12667
12668 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
12669 c-mask-paragraph, pass in `fill-paragraph' rather than
12670 `fill-region-as-paragraph'. (This is a reversion of a previous
12671 change.)
eb864a71
LM
12672 * progmodes/cc-mode.el (c-basic-common-init):
12673 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 12674
e517eda4
GM
126752012-01-13 Glenn Morris <rgm@gnu.org>
12676
1498536e
GM
12677 * dired.el (dired-switches-escape-p): New function.
12678 (dired-insert-directory): Use dired-switches-escape-p.
12679 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
12680
e517eda4
GM
12681 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
12682
328f984d
GM
126832012-01-12 Glenn Morris <rgm@gnu.org>
12684
12685 * mail/sendmail.el (mail-mode): Update paragraph-separate for
12686 changes in adaptive-fill-regexp. (Bug#10276)
12687
2cc769a8
AM
126882012-01-11 Alan Mackenzie <acm@muc.de>
12689
12690 Fix Emacs bug #10463 - put `widen's around the critical spots.
12691
1d00653d 12692 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
12693 widen around each invocation of c-state-pp-to-literal. Remove an
12694 unused let variable.
12695
e52c37fa
GM
126962012-01-11 Glenn Morris <rgm@gnu.org>
12697
12698 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 12699 Doc fix.
e52c37fa 12700
96f8741e
CY
127012012-01-10 Chong Yidong <cyd@gnu.org>
12702
1d00653d
SM
12703 * net/network-stream.el (network-stream-open-starttls):
12704 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
12705 response to the capability command.
12706
b09a806e
GM
127072012-01-10 Glenn Morris <rgm@gnu.org>
12708
12709 * mail/unrmail.el (unrmail): Tweak previous change.
12710
7655cb66
CY
127112012-01-09 Chong Yidong <cyd@gnu.org>
12712
12713 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
12714
9d5a8f0b
AM
127152012-01-08 Alan Mackenzie <acm@muc.de>
12716
12717 Optimise font locking in long enum definitions.
12718
12719 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
12720 arm to a cond form to handle enums.
12721 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
12722 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
12723
9a0115ab 127242012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
12725
12726 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 12727 (Bug#10401)
6bb72cbd 12728
f186bb95
LMI
127292012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12730
29232a68
LMI
12731 * faces.el (set-face-attribute): Clarify the meaning of the nil
12732 frame (bug#10294).
12733
4e5d086d
LMI
12734 * subr.el (with-selected-frame): Mention that the selected frame
12735 is restored (bug#9980).
12736
8e66aebe
LMI
12737 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
12738 (bug#9759).
12739
cd394be1 12740 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
12741 (password-read): Don't autoload unused function.
12742
adf4e762
JB
127432012-01-07 Juanma Barranquero <lekktu@gmail.com>
12744
12745 * progmodes/which-func.el (which-func-mode): Turn into a
12746 non-interactive function and mark as obsolete (bug#10428).
12747
89bd9ccd
CY
127482012-01-06 Chong Yidong <cyd@gnu.org>
12749
12750 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
12751 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
12752 functions, along with 1 and -1.
12753
4afee9d5
EZ
127542012-01-06 Eli Zaretskii <eliz@gnu.org>
12755
12756 * time.el (display-time-load-average)
12757 (display-time-default-load-average): Doc fixes. See the thread
12758 starting at
12759 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
12760 for the details.
12761
536aea70
GM
127622012-01-06 Glenn Morris <rgm@gnu.org>
12763
665ae865
GM
12764 * mail/unrmail.el (unrmail): Give an explicit error if the input file
12765 has no messages. (Bug#10377)
12766
c869783d
GM
12767 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
12768 than Info-edit. (Bug#10385)
12769
2bb4227e
GM
12770 * time.el (display-time-load-average, display-time-next-load-average):
12771 Doc fixes.
12772
7d5944b9
GM
12773 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
12774 local setting of buffer-read-only to the input buffer. (Bug#10419)
12775
536aea70
GM
12776 * calendar/calendar.el (calendar-mode):
12777 Locally set scroll-margin to 0. (Bug#10379)
12778
7dccca16
UM
127792012-01-06 Ulrich Mueller <ulm@gentoo.org>
12780
12781 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
12782
afbb7930
GM
127832012-01-05 Glenn Morris <rgm@gnu.org>
12784
12785 * eshell/em-unix.el (diff-no-select): Autoload it.
12786 (eshell/diff): Use diff-no-select. (Bug#10420)
12787
04482335
CY
127882012-01-05 Chong Yidong <cyd@gnu.org>
12789
7baca3bc
CY
12790 * shell.el (shell-dynamic-complete-functions): Revert last change.
12791 (shell-command-completion-function): New function.
12792 (shell-completion-vars): Use it to implement
12793 shell-completion-execonly (Bug#10417).
12794
04482335
CY
12795 * custom.el (enable-theme): Don't set custom-safe-themes.
12796
1d00653d
SM
12797 * cus-theme.el (custom-theme-merge-theme):
12798 Ignore custom-enabled-themes and custom-safe-themes.
04482335 12799
bb5aa5d6
MM
128002012-01-05 Michael R. Mauger <mmaug@yahoo.com>
12801
12802 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
12803 first prompt in `sql-interacive-mode'.
12804 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 12805 keywords.
6df6ae42 12806 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
12807 (sql-product-interactive): Bug fix: Set `sql-buffer' in
12808 context of original buffer. Invoke `sql-login-hook'.
12809
a7183d7c
EZ
128102012-01-04 Eli Zaretskii <eliz@gnu.org>
12811
12812 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
12813 letters in cite-prefix.
12814
a1eacd1e
LMI
128152012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12816
12817 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
12818
787cdb34
CY
128192012-01-03 Chong Yidong <cyd@gnu.org>
12820
1d00653d
SM
12821 * shell.el (shell-dynamic-complete-functions):
12822 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
12823 comint-filename-completion first (Bug#10417).
12824
30710442
RS
128252012-01-02 Richard Stallman <rms@gnu.org>
12826
12827 * battery.el (battery-status-function):
12828 Detect when to use battery-yeeloong-sysfs.
12829 (battery-echo-area-format): Add string for Yeeloong.
12830 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
12831 (battery-yeeloong-sysfs): New function.
12832
f75bfc33
CY
128332012-01-02 Chong Yidong <cyd@gnu.org>
12834
12835 * dirtrack.el (dirtrack-list): Eliminate unused third element.
12836 (dirtrack): Merge code for handling relative filenames in prompt
12837 from shell-dir-cookie-watcher.
12838 (dirtrack-debug-message): New arg to avoid excess format calls.
12839
12840 * shell.el (shell-dir-cookie-re): Variable deleted.
12841 (shell-dir-cookie-watcher): Function deleted.
12842 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
12843 with dirtrack-mode.
12844
651e947e
EZ
128452012-01-01 Eli Zaretskii <eliz@gnu.org>
12846
1d00653d
SM
12847 * term/w32-win.el (dynamic-library-alist) <gnutls>:
12848 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
12849 libgnutls-26.dll.
12850
94d4c7dc
AS
128512011-12-31 Andreas Schwab <schwab@linux-m68k.org>
12852
12853 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
12854
8d43f3cd
EZ
128552011-12-31 Eli Zaretskii <eliz@gnu.org>
12856
12857 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
12858 headers of non-MIME messages, when rmail-enable-mime is non-nil.
12859
98c8795a
MA
128602011-12-29 Michael Albinus <michael.albinus@gmx.de>
12861
12862 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
12863 also for alternative shells.
12864 (tramp-open-connection-setup-interactive-shell): Check, whether
12865 the shell is a busybox.
12866 (tramp-send-command): Don't suppress multiple prompts for
12867 busyboxes, it hurts.
12868
51281b32
CY
128692011-12-28 Chong Yidong <cyd@gnu.org>
12870
12871 * progmodes/gdb-mi.el (gdb-get-source-file-list)
12872 (gdb-get-source-file): Move mode line update to
12873 gdb-get-source-file (Bug#10087).
12874
2170cb53
CY
128752011-12-25 Chong Yidong <cyd@gnu.org>
12876
12877 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
12878 gud-gdb-marker-filter without taking it as an argument.
12879 (gud-gdb-run-command-fetch-lines): Caller changed.
12880 (gud-gdb-completion-function): New variable.
12881 (gud-gdb-completion-at-point): Use it.
12882 (gud-gdb-completions-1): Split from gud-gdb-completions.
12883
12884 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
12885 function as separate arguments.
12886 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
12887 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
12888 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
12889 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
12890 (gdb-stopped, def-gdb-auto-update-trigger)
12891 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
12892 (gdb-get-changed-registers, gdb-get-main-selected-frame):
12893 Callers changed.
2170cb53
CY
12894 (gud-gdbmi-completions): New function.
12895 (gdb): Use it for generating the completion table.
12896
be8b11bb
AM
128972011-12-24 Alan Mackenzie <acm@muc.de>
12898
12899 Introduce a mechanism to widen the region used in context font
1d00653d 12900 locking. Use this to protect declarations from losing their contexts.
be8b11bb 12901
1d00653d
SM
12902 * progmodes/cc-langs.el (c-before-font-lock-functions):
12903 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 12904 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
12905 functions to be run just before context (etc.) font locking.
12906
12907 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 12908 New, functionality extracted from
be8b11bb 12909 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 12910 (c-in-after-change-fontification): New variable.
be8b11bb
AM
12911 (c-after-change): Set c-in-after-change-fontification.
12912 (c-set-fl-decl-start): Rejig its interface, so it can be called
12913 from both after-change and context fontifying.
b81d40f0
JB
12914 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
12915 New functions.
12916 (c-standard-font-lock-fontify-region-function): New variable.
12917 (c-font-lock-fontify-region): New function.
be8b11bb 12918
341cf6ac
JL
129192011-12-24 Juri Linkov <juri@jurta.org>
12920
12921 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
12922 (Bug#10348)
12923
bffcee0a
MA
129242011-12-23 Michael Albinus <michael.albinus@gmx.de>
12925
12926 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
12927 existence of source file. (Bug#10325)
12928
cb5e207c
AM
129292011-12-23 Alan Mackenzie <acm@muc.de>
12930
12931 Fix unstable fontification inside templates.
12932
b81d40f0
JB
12933 * progmodes/cc-langs.el (c-before-font-lock-functions):
12934 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
12935 additionally has c-set-fl-decl-start. The other languages (apart
12936 from AWK) have that as a single entry.
12937
b81d40f0
JB
12938 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
12939 The functionality for "local" declarations has been extracted to
cb5e207c
AM
12940 c-set-fl-decl-start.
12941
b81d40f0
JB
12942 * progmodes/cc-mode.el (c-common-init, c-after-change):
12943 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
12944 (c-set-fl-decl-start): New function, extracted from
12945 c-font-lock-enclosing-decls and enhanced.
12946
60ff536c
JB
129472011-12-23 Juanma Barranquero <lekktu@gmail.com>
12948
12949 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
12950
1c4757d6
JL
129512011-12-22 Juri Linkov <juri@jurta.org>
12952
12953 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
12954
d031f2c7
CY
129552011-12-22 Chong Yidong <cyd@gnu.org>
12956
12957 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
12958
bace743a
DA
129592011-12-21 Drew Adams <drew.adams@oracle.com>
12960
12961 * files.el (file-remote-p): Fix docstring. (Bug#10319)
12962
728a1f2b
JC
129632011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
12964
12965 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
12966
0d373f73
TZ
129672011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
12968
fec0aaa4
TZ
12969 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
12970 highlighting and support. Fix up comments for capitalization.
12971 (cfengine-mode-debug): New var.
12972 (cfengine3-mode): Change the modeline indicator to "CFE3".
12973 (cfengine3-font-lock-keywords): Improve defun highlighting.
12974 (cfengine2-actions): Rename from `cfengine-actions'.
12975 (cfengine2-font-lock-keywords): Rename from
12976 `cfengine-font-lock-keywords'.
12977 (cfengine2-imenu-expression): Rename from
12978 `cfengine-imenu-expression'.
12979 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
12980 (cfengine2-beginning-of-defun): Rename from
12981 `cfengine-beginning-of-defun'.
12982 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
12983 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
12984 (cfengine2-mode): Rename from `cfengine-mode'. Change the
12985 modeline indicator to "CFE2".
12986 (cfengine-mode): Defalias to `cfengine-auto-mode'.
12987 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 12988
bc86f573
CY
129892011-12-21 Chong Yidong <cyd@gnu.org>
12990
12991 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
12992 filename argument.
12993
d45ba96b
MR
129942011-12-20 Martin Rudalics <rudalics@gmx.at>
12995
12996 * window.el (window-normalize-buffer-to-display): Remove.
12997 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
12998
a6198c90
CY
129992011-12-19 Chong Yidong <cyd@gnu.org>
13000
13001 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
13002 Don't signal an error in a predicate function; return non-nil.
13003 (vc-dir-mark-file): Move the error here.
13004 (vc-dir-mark-unmark): If acting on the region, keep going if one
13005 of the entries cannot be marked/unmarked.
13006 (vc-dir-mark-all-files): If current entry is a directory, mark
13007 only child files, as documented.
13008
34c5fb55
VB
130092011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
13010
13011 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
13012 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
13013 addition.
13014
c803b2b7
JD
130152011-12-18 Jan Djärv <jan.h.d@swipnet.se>
13016
13017 * term/ns-win.el (ns-get-selection-internal)
13018 (ns-store-selection-internal): Declare.
1154d12e
JB
13019 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
13020 Declare as obsolete.
13021 (ns-get-pasteboard, ns-paste-secondary):
13022 Use ns-get-selection-internal.
41e9b956 13023 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 13024 Use ns-store-selection-internal.
c803b2b7 13025
9cff91f8 130262011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
13027
13028 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 13029 (vc-deduce-fileset): Doc fix.
99a289d9 13030
f16c898a
AS
130312011-12-16 Andreas Schwab <schwab@linux-m68k.org>
13032
13033 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
13034
763237c4
SS
130352011-12-13 Sam Steingold <sds@gnu.org>
13036
13037 * man.el (Man-getpage-in-background): When running under a
13038 window-system, ignore $MANWIDTH and $COLUMNS.
13039
5fc1c122
KH
130402011-12-15 Kenichi Handa <handa@m17n.org>
13041
13042 * language/ethio-util.el: Change coding tag to utf-8-emacs.
13043 (setup-ethiopic-environment-internal): Comment out key-binding for
13044 ethio-toggle-punctuation.
13045
13d49cbb
AM
130462011-12-13 Alan Mackenzie <acm@muc.de>
13047
898169a2
AM
13048 Add the switch statement to AWK Mode.
13049
7a71b18d 13050 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
13051 "default" to the keywords regexp.
13052
7a71b18d 13053 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 13054 expression as the rest.
1d00653d
SM
13055 (c-nonlabel-token-key): Allow string literals for AWK.
13056 Refactor for the other modes.
898169a2 13057
13d49cbb 13058 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 13059 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
13060 routines. Limit backward searching in c-font-lock-enclosing.decl.
13061
13062 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
13063 pp-state and literal type in addition to the limits.
1d00653d 13064 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 13065 (c-state-literal-at): Use the above new defun.
1d00653d
SM
13066 (c-slow-in-literal, c-fast-in-literal): Remove.
13067 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
13068
13069 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
13070 being in a literal. Add a limit for backward searching.
13071
13072 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
13073 c-slow-in-literal.
13074
15e0efc7
SM
130752011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
13076
13077 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
13078
454592a6
MR
130792011-12-13 Martin Rudalics <rudalics@gmx.at>
13080
13081 * window.el (delete-other-windows): Use correct frame in call to
13082 window-with-parameter.
13083
87393f26
DP
130842011-12-12 Daniel Pfeiffer <occitan@t-online.de>
13085
13086 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
13087 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
13088 (makefile-gmake-statements, makefile-makepp-statements):
13089 Use it and add new makepp keywords.
13090 (makefile-makepp-font-lock-keywords): Add new patterns.
13091 (makefile-match-function-end): Match new [...] and [[...]].
13092
11636b22
JB
130932011-12-11 Juanma Barranquero <lekktu@gmail.com>
13094
13095 * ses.el (ses-call-printer-return, ses-cell-property-get)
13096 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
13097 (ses-create-cell-variable, ses-reset-header-string)
13098 (ses-cell-set-formula, ses-repair-cell-reference-all)
13099 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
13100 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
13101 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
13102 (ses-aset-with-undo, ses-load, ses-truncate-cell)
13103 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
13104 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
13105 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
13106 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
13107 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
13108 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
13109 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
13110 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
13111
cf018193
VB
131122011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
13113
13114 * ses.el: The overall change is to add cell renaming, that is
13115 setting fancy names for cell symbols other than name matching
13116 "\\`[A-Z]+[0-9]+\\'" regexp .
13117 (ses-create-cell-variable): New defun.
13118 (ses-relocate-formula): Relocate formulas only for cells the
13119 symbols of which are not renamed, i.e. symbols whose names do not
13120 match regexp "\\`[A-Z]+[0-9]+\\'".
13121 (ses-relocate-all): Relocate values only for cells the symbols of
13122 which are not renamed.
13123 (ses-load): Create cells variables as the (ses-cell ...) are read,
13124 in order to check row col consistency with cell symbol name only
13125 for cells that are not renamed.
13126 (ses-replace-name-in-formula): New defun.
13127 (ses-rename-cell): New defun.
13128
ee957461
CY
131292011-12-11 Chong Yidong <cyd@gnu.org>
13130
13131 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
13132 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
13133
9a9e9ef0
MR
131342011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
13135
13136 * window.el (other-window): Fix docstring.
13137
92a8eba5
EZ
131382011-12-10 Eli Zaretskii <eliz@gnu.org>
13139
13140 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
13141 `from' or `to' address before taking its substring.
13142 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
13143 encoded name is chopped in the middle of the encoded string, and
13144 thus displayed encoded.
13145
e152e577
JB
131462011-12-10 Juanma Barranquero <lekktu@gmail.com>
13147
13148 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
13149
e5d84bfe
EZ
131502011-12-10 Eli Zaretskii <eliz@gnu.org>
13151
13152 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
13153 to use texinfo-update-node and commands that call it if the
13154 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 13155 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
13156 (texinfo-all-menus-update, texinfo-master-menu)
13157 (texinfo-update-node, texinfo-every-node-update)
13158 (texinfo-multiple-files-update): Doc fix. Warn against updating
13159 all the @node lines.
13160 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
13161 argument is numeric. Explain better in the doc string what the
13162 function really does.
13163 (texinfo-insert-master-menu-list): Improve the error message
13164 displayed if there's no menu in the Top node.
13165 (Bug#2975) See also this thread:
e5d84bfe
EZ
13166 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
13167
1d84e9bb
MG
131682011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
13169
13170 * speedbar.el (speedbar-supported-extension-expressions):
13171 Add .adb and .ads, commonly used for Ada source code (bug#10256).
13172
382c953b
JB
131732011-12-09 Juanma Barranquero <lekktu@gmail.com>
13174
13175 * printing.el (pr-mode-alist):
13176 * simple.el (filter-buffer-substring-functions)
13177 (completion-list-insert-choice-function):
13178 * window.el (window-with-parameter, window-atom-root)
13179 (window-sides-slots, window-size-fixed, window-min-delta)
13180 (window-max-delta, window--resize-mini-window)
13181 (window--resize-child-windows-normal, window-tree)
13182 (delete-other-windows, quit-window, split-window)
13183 (display-buffer-record-window, special-display-buffer-names)
13184 (special-display-regexps, special-display-popup-frame)
13185 (same-window-p, split-window-sensibly)
13186 (display-buffer-overriding-action, display-buffer-alist)
13187 (display-buffer-base-action, display-buffer, switch-to-buffer)
13188 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
13189 (fit-window-to-buffer, recenter-positions)
13190 (mouse-autoselect-window-state, mouse-autoselect-window-select):
13191 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
13192 and remove unneeded backslashes in docstrings.
13193
39c9faef
SM
131942011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
13195
98449af8
SM
13196 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
13197
39c9faef
SM
13198 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
13199 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
13200 end in ".mk".
13201 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
13202 when reading the makefile (bug#10116).
13203
86ed9fdc
SM
132042011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
13205
13206 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
13207 (bug#10116).
13208
5580f89d
GM
132092011-12-06 Glenn Morris <rgm@gnu.org>
13210
13211 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
13212
28d3917c
CY
132132011-12-06 Chong Yidong <cyd@gnu.org>
13214
13215 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
13216
a98edce9
JB
132172011-12-06 Juanma Barranquero <lekktu@gmail.com>
13218
13219 * textmodes/table.el (table-shorten-cell): Fix typo.
13220
e65adfac
CG
132212011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
13222
13223 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
13224
71cc0b74
EZ
132252011-12-05 Eli Zaretskii <eliz@gnu.org>
13226
13227 * descr-text.el (describe-char): Fix display of strong
13228 right-to-left characters and directional embeddings and overrides.
13229
13230 * simple.el (what-cursor-position): Fix display of codepoints of
13231 strong right-to-left characters.
13232
315bc30d
CY
132332011-12-05 Chong Yidong <cyd@gnu.org>
13234
13235 * faces.el (read-color): Doc fix.
13236
58a70b94
GM
132372011-12-05 Glenn Morris <rgm@gnu.org>
13238
13239 * align.el (align--set-marker): Add doc-string.
13240 Don't try to move something that is not a marker. (Bug#10216)
13241
5158face
GM
132422011-12-04 Glenn Morris <rgm@gnu.org>
13243
13244 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
13245 overly zealous deletion of trailing whitespace.
13246
520fca41
JB
132472011-12-04 Juanma Barranquero <lekktu@gmail.com>
13248
13249 * server.el (server-delete-client): On Windows, do not try to delete
13250 the only terminal.
13251 (server-process-filter): On Windows, treat requests for a tty frame as
13252 if they were for a GUI frame if the running server is in GUI mode.
13253
5e605a2e
GM
132542011-12-03 Glenn Morris <rgm@gnu.org>
13255
13256 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
13257
5c3fe83f
SM
132582011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13259
6f5e57e7
SM
13260 * electric.el: Streamline electric-indent's hook.
13261 (electric-indent-chars): Revert to simple list.
13262 (electric-indent-functions): New var.
13263 (electric-indent-post-self-insert-function): Use it.
13264
5c3fe83f
SM
13265 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
13266 there's no inferior buffer (bug#10196).
13267 (prolog-consult-compile): Don't use toggle-read-only.
13268
6bdac736
MA
132692011-12-02 Michael Albinus <michael.albinus@gmx.de>
13270
13271 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
13272 interrupt. (Bug#10187)
13273
6131ba7f
SM
132742011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
13275
99c79fee
SM
13276 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
13277 (bug#9160).
13278
6131ba7f
SM
13279 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
13280 (bug#10191).
13281
cb0a02ea
JL
132822011-12-02 Juri Linkov <juri@jurta.org>
13283
13284 * info.el (Info-search): Display "end of manual" when Isearch
13285 reaches the end of single-file Info manual. (Bug#9918)
13286
66e0570c
EZ
132872011-12-02 Eli Zaretskii <eliz@gnu.org>
13288
13289 * isearch.el (isearch-message-prefix): Run the input method part
13290 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
13291
02b16839
JL
132922011-12-02 Juri Linkov <juri@jurta.org>
13293
13294 * isearch.el (isearch-occur): Use `word-search-regexp' for
13295 `isearch-word'.
13296 (isearch-search-and-update): Add condition for `isearch-word' and
13297 call `word-search-regexp'. (Bug#10145)
13298
0b950688
GM
132992011-12-01 Glenn Morris <rgm@gnu.org>
13300
13301 * eshell/em-hist.el (eshell-hist-initialize):
13302 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 13303 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 13304
9505c3c7
SM
133052011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
13306
13307 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
13308
1bbe96b2 133092011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 13310
a1beca85
SM
13311 * progmodes/verilog-mode.el (verilog-pretty-expr):
13312 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
13313 verilog, such as += *= and the like.
13314 (verilog-assignment-operator-re): Regular expression to find the
13315 assigment operator in a verilog assignment.
13316 (verilog-assignment-operation-re): Regular expression to find an
13317 assignment statement for pretty-expr.
13318 (verilog-in-attribute-p): Query returns true if point is in an
13319 attribute context; used to skip these for expression line up from
13320 pretty-expr.
13321 (verilog-in-parameter-p): Query returns true if point is in an
13322 parameter definition context; used to skip these for expression
13323 line up from pretty-expr.
13324 (verilog-in-parenthesis-p): Query returns true if point is in a
13325 parenthetical expression, specifically ( ) but not [ ] or { };
13326 used by pretty-expr.
13327 (verilog-just-one-space): If there is no space, don't add one.
13328 (verilog-get-lineup-indent-2): Specifically skip just attribute
13329 contexts for expression lineup, rather than skipping all
13330 parenthetical expressions.
13331 (verilog-calculate-indent): Fix comment, and fix indent.
13332 (verilog-do-indent): Indent declarations in lists (suggested by
13333 Joachim Lechner).
13334 (verilog-mode-abbrev-table): Populate abbrev mode with the various
13335 skeleton items.
13336 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
13337 by Alain Mellan).
13338
1bbe96b2 133392011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
13340
13341 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
13342 parameters with embedded comments. Reported by Ray Stevens.
13343 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
13344 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
13345 Reported by Tim Holt.
13346 (verilog-auto): Fix AUTOing a upper module then AUTOing module
13347 instantiated by upper module causing wrong expansion until AUTOed a
13348 second time. Reported by K C Buckenmaier.
13349 (verilog-diff-auto): Fix showing .* as a difference when
13350 `verilog-auto-star-save' off. Reported by Dan Dever.
13351 (verilog-auto-reset, verilog-read-always-signals)
13352 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
13353 temporary signals in reset list if
13354 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
13355 style to each signal's assignment type, bug381.
13356 Reported by Thomas Esposito.
6288f0ca
WS
13357 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
13358 (verilog-uvm-statement-re): Support UVM indentation and
13359 highlighting, with old OVM keywords only.
a1beca85 13360 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
13361 Support AUTOTIEOFF creating non-wire data types.
13362 Suggested by Jonathan Greenlaw.
6288f0ca
WS
13363 (verilog-auto-insert-lisp, verilog-delete-to-paren)
13364 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
13365 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
13366 (verilog-read-sub-decls, verilog-read-sub-decls-line):
13367 Fix mismatching parenthesis inside commented out code when deleting
382c953b 13368 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
13369 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
13370 non-numeric vector width. Reported by Alex Reed.
13371 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 13372 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
13373 (verilog-auto-delete-trailing-whitespace):
13374 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
13375 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
13376 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
13377 Fix verilog-scan-cache corruption when running user AUTO expansion
13378 hooks that call indentation routines.
13379 (verilog-simplify-range-expression): Fix typo ignoring lower case
13380 identifiers.
13381 (verilog-delete-auto): Fix delete-autos to also remove user created
13382 automatics, as long as they start with AUTO.
13383 (verilog-batch-diff-auto, verilog-diff-auto)
13384 (verilog-diff-function): Add `verilog-diff-auto' and bind to
13385 "C-c?" to report differences in AUTO expansion, ignoring spaces.
13386 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
13387 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
13388 (verilog-re-search-forward-quick, verilog-syntax-ppss):
13389 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
13390 is disabled and its cache will get corrupt, causing AUTOS not to
13391 expand. Instead use only -quick functions.
13392 (verilog-scan-region): Fix scanning over escaped quotes.
13393 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
13394 (verilog-re-search-backward-quick)
13395 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
13396 related functions now ignore strings, to fix misparsing of strings
13397 with magic comments embedded in them.
a1beca85
SM
13398 (verilog-read-auto-template):
13399 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
13400 Reported by Brad Dobbie.
13401 (verilog-read-auto-template):
13402 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 13403 Reported by Brad Dobbie.
6288f0ca
WS
13404 (verilog-auto-inst, verilog-auto-inst-param)
13405 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
13406 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
13407 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
13408 debugging templates without merge conflicts, bug357.
13409 Reported by Brad Dobbie.
13410 (verilog-read-auto-template):
13411 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
13412 Reported by Brad Dobbie.
13413 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
13414 abbrevs so user won't be asked to save.
13415 (verilog-read-auto-lisp-present): Fix to start at beginning of
13416 buffer in case called outside of verilog-auto.
13417 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
13418 to "X-2". Reported by Matthew Myers.
13419 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
13420 all inputs from module templates. Reported by Leith Johnson.
13421 (verilog-module-inside-filename-p): Fix locating programs as with
13422 modules.
13423 (verilog-auto-inst-port): Fix vl-width expressions when using
13424 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
13425 (verilog-decls-get-regs, verilog-decls-get-signals,
13426 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
13427 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
13428 verilog-read-decls): Combine reg and wire structures into one var
13429 structure to represent SystemVerilog concepts.
13430 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
13431 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
13432 (verilog-auto-wire-type, verilog-insert-definition):
13433 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
13434 SystemVerilog "logic" keyword instead of "wire"/"reg".
13435 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
13436 to declares outputs that also have assignments (presumably in an
a1beca85
SM
13437 ifdef or generate if so there's not a driver conflict).
13438 Reported by Matthew Myers.
13439 (verilog-auto-declare-nettype, verilog-insert-definition):
13440 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
13441 `default_nettype none. Reported by Julian Gorfajn.
13442 (verilog-read-always-signals-recurse, verilog-read-decls)
13443 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
13444 malformed end statement, bug325. Reported by Joshua Wise and
13445 Andrew Drake.
13446 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
13447 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
13448 when expanding .* in interfaces, bug320.
13449 Reported by Pierre-David Pfister.
6288f0ca 13450 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
13451 name and open parenthesis, bug317.
13452 Reported by Pierre-David Pfister.
6288f0ca
WS
13453 (verilog-simplify-range-expression): Fix simplification of
13454 multiplications inside AUTOWIRE connections, bug303.
13455 (verilog-auto-inst-port): Support parameter expansion in
13456 multidimensional arrays.
13457 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
13458 after "assert property". Reported by Julian Gorfajn.
13459 (verilog-simplify-range-expression): Fix "couldn't merge" errors
13460 with multiplication, bug303.
13461 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
13462 Reported by Jan Frode Lonnum.
13463
1bbe96b2
GM
134642011-11-30 Juanma Barranquero <lekktu@gmail.com>
13465
13466 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
13467 (hfy-shell-file-name, hfy-shell):
13468 * international/fontset.el (x-decompose-font-name): Fix typos.
13469
134702011-11-29 Ken Brown <kbrown@cornell.edu>
13471
13472 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
13473 (gdb-version): Remove defvar.
13474 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
13475 (gdb-gud-context-command, gdb-non-stop-handler)
13476 (gdb-current-context-command, gdb-stopped): Use it.
13477 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
13478 (gdb-non-stop-handler): Don't enable pretty-printing here.
13479 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
13480 non-stop mode. Use the following.
13481 (gdb-check-target-async): New defun.
13482 (gud-watch, gdb-stopped): Fix whitespace.
13483 (gdb-get-source-file): Don't try to display the source file if
13484 `gdb-main-file' is nil.
13485
134862011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
13487
13488 * align.el: Try to generate fewer markers (bug#10047).
13489 (align--set-marker): New macro.
13490 (align-region): Use it.
13491
c935221f
SM
134922011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
13493
13494 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
13495
e70b5064
CY
134962011-11-29 Chong Yidong <cyd@gnu.org>
13497
13498 * indent.el (indent-for-tab-command, indent-according-to-mode):
13499 Doc fix.
13500 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
13501
f3af92b7
MA
135022011-11-29 Michael Albinus <michael.albinus@gmx.de>
13503
13504 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
13505 aware of remote file names. (Bug#10124)
13506
ed472be9
CY
135072011-11-29 Chong Yidong <cyd@gnu.org>
13508
13509 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
13510
24510c22
SM
135112011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
13512
13513 * files.el (find-file): Don't use force-same-window (bug#10144).
13514 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
13515 use pop-to-buffer if the selected window can't be used.
13516 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
13517
c60c3703
EZ
135182011-11-28 Eli Zaretskii <eliz@gnu.org>
13519
13520 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
13521 special-mode-map.
13522
e95def75
CY
135232011-11-28 Chong Yidong <cyd@gnu.org>
13524
13525 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
13526
c3f1c606
NR
135272011-11-27 Nick Roberts <nickrob@snap.net.nz>
13528
13529 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
13530 gdb-get-source-file-list on gdb-create-source-file-list.
13531
00db469c
EZ
135322011-11-26 Eli Zaretskii <eliz@gnu.org>
13533
13534 * whitespace.el (whitespace-newline): Use a different foreground
13535 color for 16-color light-background displays.
13536
4ad3bc2a
CY
135372011-11-24 Chong Yidong <cyd@gnu.org>
13538
13539 * window.el (display-buffer--special-action): Doc fix.
13540
e9fce1ac
JB
135412011-11-25 Juanma Barranquero <lekktu@gmail.com>
13542
13543 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
13544 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
13545 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
13546 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
13547 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
13548 (avl-tree-stack-first):
13549 * emacs-lisp/cconv.el (cconv--analyse-use):
13550 * net/gnutls.el (gnutls-negotiate): Fix typos.
13551
cb825e5d
GM
135522011-11-24 Glenn Morris <rgm@gnu.org>
13553
3adbe224
GM
13554 * lpr.el (lpr-windows-system, lpr-lp-system):
13555 * mail/binhex.el (binhex-begin-line):
13556 * progmodes/grep.el (grep-history, grep-find-history):
13557 * textmodes/flyspell.el:
13558 * vc/pcvs-defs.el (cvs-global-menu):
13559 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
13560 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
13561 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
13562
321decc8
GM
13563 * net/tls.el: Fix case of "GnuTLS".
13564
420b63ad
GM
13565 * paths.el (rmail-file-name): Format doc-string for make-docfile.
13566
cb825e5d
GM
13567 * version.el (emacs-build-system): Give it a doc-string.
13568
a0649f08
JL
135692011-11-24 Juri Linkov <juri@jurta.org>
13570
13571 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
13572
c0bc0fd4
GM
135732011-11-24 Glenn Morris <rgm@gnu.org>
13574
13575 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
13576 if called on a non-mime message just toggle the headers. (Bug#8006)
13577
20db1522
JB
135782011-11-24 Juanma Barranquero <lekktu@gmail.com>
13579
13580 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
13581 (allout-lead-with-comment-string, allout-structure-deleted-hook)
13582 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
13583 (allout-rebullet-heading, allout-open-sibtopic)
13584 (allout-toggle-current-subtree-encryption)
13585 (allout-toggle-subtree-encryption, allout-encrypt-string)
13586 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
13587 (allout-distinctive-bullets-string, allout-auto-activation):
13588 * window.el (window-normalize-buffer-to-display):
13589 * progmodes/verilog-mode.el (verilog-batch-indent):
13590 * textmodes/bibtex.el (bibtex-field-braces-opt)
13591 (bibtex-field-strings-opt):
13592 * vc/cvs-status.el (cvs-tree-merge):
13593 Fix typos.
13594
7262a87c
MA
135952011-11-23 Michael Albinus <michael.albinus@gmx.de>
13596
13597 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
13598 `non-essential' to t, in order to avoid remote connections.
13599
283430a1
EZ
136002011-11-23 Eli Zaretskii <eliz@gnu.org>
13601
a1beca85
SM
13602 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13603 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
13604 case-insensitively.
13605
d2992a38
ML
136062011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
13607
13608 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
13609
50419064
GM
136102011-11-23 Glenn Morris <rgm@gnu.org>
13611
da94eca1
GM
13612 * paths.el (rmail-file-name): Reformat the doc-string so that it
13613 is picked up.
13614
9aac4de2
GM
13615 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
13616 (rmail-auto-file): Ignore case in the "special" field names,
13617 as mail-fetch-field does for all others.
13618
8038d2d2
GM
13619 * mail/rmail.el (rmail-forward):
13620 * mail/rmailkwd.el (rmail-set-label):
13621 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
13622 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
13623
f3fe222a
GM
13624 * mail/rmail.el (rmail-current-message): Doc fix.
13625
50419064
GM
13626 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
13627
28109f49
SM
136282011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
13629
13630 * server.el (server-eval-and-print): Allow C-g (bug#6585).
13631
394c65f1
GM
136322011-11-22 Glenn Morris <rgm@gnu.org>
13633
13634 * mail/rmailmm.el (test-rmail-mime-handler)
13635 (test-rmail-mime-bulk-handler)
13636 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
13637
f2a0aa3a
JL
136382011-11-21 Juri Linkov <juri@jurta.org>
13639
1154d12e
JB
13640 * calc/calc.el (calc-read-key-sequence):
13641 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 13642
9c34a344
LMI
136432011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13644
13645 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
13646 Tell the caller that the next line needs recomputation, even
13647 though it doesn't start a sexp (bug#10094).
13648
f04a3be9
SM
136492011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
13650
13651 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
13652
7978747f
SM
136532011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
13654
f04a3be9
SM
13655 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
13656 Use force-same-window.
7978747f 13657
fe7a3057
JB
136582011-11-20 Juanma Barranquero <lekktu@gmail.com>
13659
13660 * descr-text.el (describe-char-unicode-data):
13661 * json.el (json-string-escape):
13662 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
13663 (Footnote-unicode, Footnote-style-p):
13664 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
13665
24901d61
CY
136662011-11-20 Chong Yidong <cyd@gnu.org>
13667
13668 * window.el (replace-buffer-in-windows): Restore interactive spec.
13669
bac7ff22
SM
136702011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
13671
24f3d7b9
SM
13672 * electric.el (electric-indent-mode): Fix last change (too optimistic).
13673
bac7ff22
SM
13674 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
13675 (byte-compile-global-not-obsolete-vars): New var.
13676 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
13677 Use it.
13678 (byte-compile-warn-obsolete): Align text with the one in *Help*.
13679
cd1181db
JB
136802011-11-20 Juanma Barranquero <lekktu@gmail.com>
13681
13682 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
13683 * progmodes/pascal.el (electric-pascal-equal):
13684 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
13685 * xml.el (xml-substitute-special): Fix typos.
13686
7fb18e9e
GM
136872011-11-20 Glenn Morris <rgm@gnu.org>
13688
13689 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
13690 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
13691 Doc fixes.
13692 (rmail-decode-mime-charset): Mark as obsolete.
13693
13694 * mail/rmailsum.el (rmail-message-regexp-p-1):
13695 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
13696 Before using mime functions, check they are set. (Bug#10077)
13697
d5a6b3ba
JL
136982011-11-19 Juri Linkov <juri@jurta.org>
13699
13700 * info.el (Info-finder-find-node): Use `package--builtins' instead
13701 of `package-alist'. Use node names formed by the pattern "Keyword "
13702 and the keyword name.
13703
e981b61f
AS
137042011-11-19 Andreas Schwab <schwab@linux-m68k.org>
13705
1d00653d 13706 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 13707
3ffbc301
JL
137082011-11-19 Juri Linkov <juri@jurta.org>
13709
13710 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
13711 that calls `revert-buffer' on all Info buffers. (Bug#9915)
13712 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
13713 `old-history', `old-history-forward'. Add let-binding
13714 `window-selected'. Remove calls to `kill-buffer',
13715 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
13716 before calling `Info-find-node', so `Info-find-node-2' will reread
13717 the Info file. Restore window positions only when `window-selected'
13718 is non-nil.
13719
30c62133
JL
137202011-11-19 Juri Linkov <juri@jurta.org>
13721
13722 * isearch.el (isearch-lazy-highlight-new-loop):
13723 Remove condition `(not isearch-error)'. (Bug#9918)
13724
13725 * misearch.el (multi-isearch-search-fun): Add condition
13726 `(not bound)' to ignore lazy-highlighting search.
13727 Add the search-failed message "end of multi" when the end of
13728 multi-sequence is reached. Uncapitalize the search-failed
13729 message "Repeat for next buffer".
13730
13731 * info.el (Info-search): Add the search-failed message
13732 "end of the manual" when the end of the manual is reached
13733 in Isearch mode.
13734
645ca9cf
JL
137352011-11-19 Juri Linkov <juri@jurta.org>
13736
13737 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
13738 Use non-destructive `remove' instead of `delete' because
13739 `Info-history-list' stored to `Info-isearch-initial-history-list' in
13740 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
13741
df754f66
JL
137422011-11-19 Juri Linkov <juri@jurta.org>
13743
13744 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
13745 to nil instead of binding `search-ring' and `regexp-search-ring'.
13746 (Bug#9185)
13747
0e23d96a
EZ
137482011-11-19 Eli Zaretskii <eliz@gnu.org>
13749
13750 * simple.el (line-move): Force movement by logical lines for any
13751 hscrolled window, not only when auto-hscroll-mode is on.
13752 (line-move-visual): Update doc string to that effect. (Bug#10076)
13753
8a6ccb66
AS
137542011-11-19 Andreas Schwab <schwab@linux-m68k.org>
13755
13756 * language/european.el (macintosh): Define as alias for mac-roman.
13757
49ae5b39
EZ
137582011-11-19 Eli Zaretskii <eliz@gnu.org>
13759
13760 * mail/rmailmm.el (rmail-mime-display-header)
13761 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
13762 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
13763 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
13764 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
13765 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
13766 of a raw aref.
13767 (rmail-mime-entity-segment): To get past the tagline, move forward
13768 2 more lines, to account for the 2 empty lines that precede and
13769 follow the line with the buttons.
13770 (rmail-mime-update-tagline): Move one more line, to get past the
13771 empty line that follows the buttons in the tagline. (Bug#9520)
13772
c56cad4a
MR
137732011-11-19 Martin Rudalics <rudalics@gmx.at>
13774
13775 * window.el (window-max-delta-1, window-min-delta-1)
13776 (window-min-size-1, window-state-get-1, window-state-put-1)
13777 (window-state-put-2): Use "window--" prefix.
13778
cbe71af3
SM
137792011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
13780
2ad52c60
SM
13781 * emacs-lisp/smie.el: Improve warnings and conflict detection.
13782 (smie-warning-count): New var.
13783 (smie-set-prec2tab): Use it.
13784 (smie-bnf->prec2): Improve warnings. Add docstring.
13785 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
13786 (smie-bnf--set-class): New function.
13787 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
13788 corner case.
13789
6944dbc1
SM
13790 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
13791 (compilation-error-properties, compilation-move-to-column):
13792 Handle compilation-first-column while in the target buffer.
13793
c400c4d7
SM
13794 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
13795 Don't hardcode point-min==1.
13796
6dbe3e96
SM
13797 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
13798 (eshell-rewrite-for-command): Remove workaround.
13799 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
13800 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
13801 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
13802
cbe71af3
SM
13803 * files-x.el (modify-file-local-variable): Obey commenting conventions.
13804
a8e1496d
GM
138052011-11-17 Glenn Morris <rgm@gnu.org>
13806
13807 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13808 Ignore buffer-local generated-autoload-file if it is the same
13809 as the global value. (Bug#10049)
13810
df85d315
JB
138112011-11-17 Juanma Barranquero <lekktu@gmail.com>
13812
13813 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
13814 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
13815 (reftex-toc-previous-heading, reftex-toc-max-level)
13816 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
13817 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
13818 (reftex-toc-do-promote, reftex-toc-promote-prepare)
13819 (reftex-toc-promote-action, reftex-toc-extract-section-number)
13820 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
13821 (reftex-toc-rename-label, reftex-toc-visit-location)
13822 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
13823 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
13824 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
13825 leaving "*toc*" only for references to the buffer.
13826
a0c2d0ae
MR
138272011-11-17 Martin Rudalics <rudalics@gmx.at>
13828
13829 * window.el (window-resize, delete-window, split-window):
13830 Replace window-splits by window-combination-resize.
1d00653d 13831 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 13832
35c0bac8
GM
138332011-11-17 Glenn Morris <rgm@gnu.org>
13834
13835 * progmodes/sh-script.el (sh-font-lock-keywords-var):
13836 Make bash entry derive from sh entry, not shell entry.
13837
d0c8fc8a
MA
138382011-11-16 Michael Albinus <michael.albinus@gmx.de>
13839
7262a87c
MA
13840 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
13841 local file name.
13842
7877f373
JB
138432011-11-16 Juanma Barranquero <lekktu@gmail.com>
13844
13845 * menu-bar.el (menu-bar-file-menu):
13846 * printing.el (pr-ps-utility):
13847 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
13848 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
13849 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
13850 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
13851 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
13852 (icalendar--convert-cyclic-to-ical)
13853 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
13854 (icalendar--convert-ical-to-diary)
13855 (icalendar--convert-recurring-to-diary)
13856 (icalendar--convert-non-recurring-all-day-to-diary)
13857 (icalendar-import-format-sample):
13858 * progmodes/idlw-shell.el (idlwave-shell-mode):
13859 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
13860 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
13861 (vhdl-ps-print-init): Fix typos.
13862
10649b82
KM
138632011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
13864
9d0cfcd6
GM
13865 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
13866 FSF and collapse date sequence, obscure author/maintainer email address
13867 better, remove extra version line, track relocation of author's webpage.
10649b82 13868
9d0cfcd6
GM
13869 * progmodes/python.el (python-pdbtrack-input-prompt)
13870 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
13871 regular python pdb prompts. Adjustments shamelessly taken exactly as
13872 suggested in EmacsWiki page (tiny change):
13873 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 13874
58179cce
JB
138752011-11-16 Juanma Barranquero <lekktu@gmail.com>
13876
13877 * expand.el (expand-pos, expand-index, expand-point):
13878 Remove redundant info from docstring.
13879 (expand-add-abbrevs): Doc fix.
13880 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
13881 (expand-sample-perl-mode-expand-list): Fix typos.
13882
13883 * net/dbus.el (dbus-event-member-name):
13884 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
13885 * term/pc-win.el (msdos-create-frame-with-faces):
13886 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
13887
b6f67890
MR
138882011-11-16 Martin Rudalics <rudalics@gmx.at>
13889
13890 * window.el (split-window, window-state-get-1)
13891 (window-state-put-1, window-state-put-2): Rename occurrences of
13892 window-nest to window-combination-limit.
1d00653d 13893 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 13894
ce7ddba0
CY
138952011-11-16 Chong Yidong <cyd@gnu.org>
13896
13897 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
13898 regexp (Bug#10033).
13899
3ae704f4
SM
139002011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
13901
13902 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
13903 `completing-read' will remove *Completions* and will preserve
13904 current-buffer for us.
13905 (tmm-add-prompt): Users of *Completions* will always (re)set its
13906 major mode.
13907 (tmm-old-comp-map): Remove.
13908
6ad1cdde
GM
139092011-11-16 Glenn Morris <rgm@gnu.org>
13910
13911 * mail/rmailedit.el: Require rmailmm when compiling.
13912 (rmail-old-mime-state): New declaration.
13913 (rmail-edit-current-message): If editing a mime message,
13914 edit the "raw" message from the mbox buffer.
13915 (rmail-cease-edit): Handle mime messages. (Bug#9840)
13916
d20faa20
GM
139172011-11-15 Glenn Morris <rgm@gnu.org>
13918
13919 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
13920 which wasn't being used. Add optional arg to force given state.
13921 (rmail-mime): Add optional arg to force given state.
13922
c7015153
JB
139232011-11-15 Juanma Barranquero <lekktu@gmail.com>
13924
13925 * allout.el (allout-encryption-plaintext-sanitization-regexps):
13926 * frame.el (display-mm-dimensions-alist):
13927 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
13928 (outline-move-subtree-down):
13929 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
13930 (newsticker--treeview-do-get-node):
13931 * net/quickurl.el (quickurl-list-buffer-name):
13932 * progmodes/dcl-mode.el (dcl-mode):
13933 * progmodes/gdb-mi.el (gdb-mapcar*):
13934 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
13935
45261b50
GM
139362011-11-15 Glenn Morris <rgm@gnu.org>
13937
13938 * mail/rmail.el (rmail-file-coding-system): It's only ever used
13939 in a boolean sense, so just make it a boolean, and fix the doc.
13940 (rmail-show-mime-function, rmail-mime-feature)
13941 (rmail-require-mime-maybe): Doc fixes.
13942 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
13943
13944 * mail/rmailmm.el (rmail-show-mime): Doc fix.
13945
0d26e0b6
JB
139462011-11-15 Juanma Barranquero <lekktu@gmail.com>
13947
13948 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
13949 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
13950 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
13951 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
13952
447f30f6
GM
139532011-11-15 Glenn Morris <rgm@gnu.org>
13954
672b871d
GM
13955 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
13956 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
13957 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
13958 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
13959 (rmail-mime, rmail-show-mime): Doc fixes.
13960
f6aa5bb1
GM
13961 * term/ns-win.el (mode-line-frame-identification):
13962 Leave it alone. (Bug#10051)
13963
947cd66b
GM
13964 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
13965
447f30f6
GM
13966 * mail/rmailout.el (rmail-output-to-rmail-buffer):
13967 Handle empty buffers. (Bug#9978)
13968
0b381c7e
JB
139692011-11-14 Juanma Barranquero <lekktu@gmail.com>
13970
13971 * international/mule.el (define-charset):
13972 * mail/rmailmm.el (rmail-mime-find-header-encoding):
13973 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
13974 * progmodes/verilog-mode.el (verilog-backward-token):
13975 * textmodes/ispell.el (lookup-words):
13976 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
13977
71e027ac
GM
139782011-11-14 Glenn Morris <rgm@gnu.org>
13979
56632ce4
GM
13980 * progmodes/executable.el
13981 (executable-make-buffer-file-executable-if-script-p):
13982 Handle file-modes returning nil.
13983
40500957
GM
13984 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
13985 message - not necessary, and causes problems. (Bug#9831)
13986
071c2340
GM
13987 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
13988
d3cfca60
GM
13989 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
13990
71e027ac
GM
13991 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
13992 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
13993 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
13994
89d61221
MR
139952011-11-12 Martin Rudalics <rudalics@gmx.at>
13996
13997 * window.el (window-resize, delete-window): Use window-splits
13998 variable instead of function.
13999 (window-state-get-1, window-state-put-2, window-state-put):
14000 Don't deal with windows' splits status.
14001
98282f6f
GM
140022011-11-12 Glenn Morris <rgm@gnu.org>
14003
14004 * apropos.el (apropos-do-all, apropos-library, apropos-value)
14005 (apropos-documentation): Doc fixes.
14006
40a8bdf6
JB
140072011-11-11 Juanma Barranquero <lekktu@gmail.com>
14008
14009 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
14010 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
14011
65bd19ff
SM
140122011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
14013
14014 * electric.el (electric-indent-post-self-insert-function): Make it
14015 possible for a char to only indent in some circumstances.
14016 (electric-indent-mode): Simplify.
14017
54f9154c
MR
140182011-11-11 Martin Rudalics <rudalics@gmx.at>
14019
14020 * window.el (windows-with-parameter): Remove unused function.
14021 (windows-at-side): Rename to window-at-side-list.
14022 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
14023 (window-side-check, window-size-ignore, window-size-fixed-1)
14024 (window-in-direction-2): Prefix with "window--".
14025 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 14026
68cbc58b
GM
140272011-11-11 Glenn Morris <rgm@gnu.org>
14028
14029 * subr.el (eval-after-load): If FILE is already loaded,
14030 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
14031
b2621720
GM
140322011-11-10 Glenn Morris <rgm@gnu.org>
14033
9a4de110
GM
14034 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
14035 Call svn via vc-svn-command rather than vc-do-command.
14036 (vc-svn-command): Add --non-interactive. (Bug#9993)
14037 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
14038
b2621720
GM
14039 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14040 Add toggle-read-only. (Bug#7292)
14041 * files.el (toggle-read-only): Mention that it should only
14042 be used interactively. (Bug#10006)
14043
1dce7193
SM
140442011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
14045
d9ac1a1e
SM
14046 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14047 Adjust regexp for OCaml warnings.
14048
0c325082
SM
14049 * electric.el (electric-pair-post-self-insert-function): Let user
14050 turn it off buffer-locally (bug#9932).
14051
90132c14
SM
14052 * progmodes/python.el (python-beginning-of-statement):
14053 Rewrite (bug#2703).
14054
1dce7193
SM
14055 * progmodes/compile.el: Better handle TABs (bug#9749).
14056 (compilation-internal-error-properties)
14057 (compilation-next-error-function): Obey the target buffer's
14058 compilation-error-screen-columns.
14059
c4e7c63a
JB
140602011-11-09 Juanma Barranquero <lekktu@gmail.com>
14061
14062 * progmodes/meta-mode.el: Remove obsolete comments.
14063 (meta-right-comment-regexp, meta-ignore-comment-regexp):
14064 Fix typos in docstrings.
14065
2cffd681
MR
140662011-11-09 Martin Rudalics <rudalics@gmx.at>
14067
14068 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 14069 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
14070 (window--resizable): New function. Make all callers of
14071 window-resizable call window--resizable instead.
14072 (window-resizable): Rewrite in terms of window--resizable.
14073
0edcba87
GM
140742011-11-08 Glenn Morris <rgm@gnu.org>
14075
14076 * progmodes/delphi.el (delphi-mode-syntax-table):
14077 Let define-derived-mode define a proper syntax table. (Bug#9994)
14078
4b0d61e3
SM
140792011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
14080
14081 * window.el: Stay away from defsubst.
14082 (window-list-no-nils): Remove.
14083 (window-state-get-1, window-state-get): Use backquote instead.
14084
cd394be1 140852011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 14086
4b0d61e3 14087 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 14088 Fix incorrect use of default argument in `completing-read'.
14089
e1c2c6f2
MR
140902011-11-08 Martin Rudalics <rudalics@gmx.at>
14091
14092 * window.el (display-buffer-function, special-display-function):
14093 Mention display-buffer-record-window but do not mention
14094 help-setup parameter in doc-strings.
b3f4a882 14095 (window-min-delta): Fix doc-string typo.
e1c2c6f2 14096
105216ed
CY
140972011-11-08 Chong Yidong <cyd@gnu.org>
14098
14099 * window.el (window-total-height, window-total-width): Doc fix.
14100 (window-body-size): Move from C.
14101 (window-body-height, window-body-width): Move to C.
14102
0a9f9ab5
SM
141032011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
14104
14105 * window.el: Make special-display like display-buffer-alist (bug#9532).
14106 (display-buffer--special-action): New function, morphed
14107 from display-buffer--special.
14108 (display-buffer): Use it to handle special-display-buffers at higher
14109 priority (just after display-buffer-alist).
14110 (display-buffer-fallback-action, display-buffer--other-frame-action)
14111 (pop-to-buffer-same-window): Remove display-buffer--special.
14112
a769dd15
GM
141132011-11-07 Glenn Morris <rgm@gnu.org>
14114
14115 * calendar/cal-menu.el (cal-menu-set-date-title):
14116 Do nothing if not in a calendar. (Bug#9976)
14117
05a61ee3
SM
141182011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
14119
14120 * files.el (find-file): Always use selected-window.
14121
be7f5545
MR
141222011-11-07 Martin Rudalics <rudalics@gmx.at>
14123
14124 * window.el (window-combinations): Make WINDOW argument
14125 mandatory. Rewrite doc-string.
14126 (walk-window-subtree, window-atom-check, window-min-delta)
14127 (window-max-delta, window--resize-this-window)
14128 (window--resize-root-window-vertically, window-tree)
14129 (balance-windows, window-state-put): Rewrite doc-strings as to
14130 not mention the term "subwindow".
14131 (window--resize-subwindows-skip-p): Rename to
14132 window--resize-child-windows-skip-p.
14133 (window--resize-subwindows-normal): Rename to
14134 window--resize-child-windows-normal.
14135 (window--resize-subwindows): Rename to
14136 window--resize-child-windows.
14137 (window-or-subwindow-p): Rename to window--in-subtree-p.
14138
3c6702ef
ML
141392011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
14140
14141 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
14142 Ensure that mbox format messages end in two newlines (Bug#9974).
14143
49745b39
CY
141442011-11-06 Chong Yidong <cyd@gnu.org>
14145
14146 * window.el (window-combination-p): Function deleted; its
14147 side-effect is not used in any existing code.
14148 (window-combinations, window-combined-p): Call window-*-child
14149 directly.
14150
24300f5f
CY
141512011-11-05 Chong Yidong <cyd@gnu.org>
14152
14153 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
14154 (window-size-ignore, window-state-get): Callers changed.
14155 (window-normalize-window): Rename from window-normalize-any-window.
14156 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 14157 (window-normalize-live-window): Delete.
447f16b8
CY
14158 (window-combination-p, window-combined-p, window-combinations)
14159 (walk-window-subtree, window-atom-root, window-min-size)
14160 (window-sizable, window-sizable-p, window-size-fixed-p)
14161 (window-min-delta, window-max-delta, window-resizable)
14162 (window-resizable-p, window-full-height-p, window-full-width-p)
14163 (window-current-scroll-bars, window-point-1, set-window-point-1)
14164 (window-at-side-p, window-in-direction, window-resize)
14165 (adjust-window-trailing-edge, maximize-window, minimize-window)
14166 (window-deletable-p, delete-window, delete-other-windows)
14167 (record-window-buffer, unrecord-window-buffer)
14168 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
14169 (quit-window, split-window, window-state-put)
14170 (set-window-text-height, fit-window-to-buffer)
14171 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 14172
89bd5ee1
EZ
141732011-11-04 Eli Zaretskii <eliz@gnu.org>
14174
53479029
EZ
14175 * mail/rmail.el (rmail-simplified-subject): Decode subject with
14176 rfc2047-decode-string.
14177 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
14178 warnings.
14179
89bd5ee1
EZ
14180 * window.el (window-body-height, window-body-width): Mention in
14181 the doc string that the return values are in frame's canonical
14182 units. (Bug#9949)
14183
bd17fdee
AM
141842011-11-03 Alan Mackenzie <acm@muc.de>
14185
14186 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
14187 change in cc-engine.el.
14188
acc825c5
SM
141892011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
14190
14191 * window.el (switch-to-buffer): Use `force-same-window' interactively.
14192
1885e5b8
MR
141932011-11-02 Martin Rudalics <rudalics@gmx.at>
14194
14195 * window.el (quit-window): Call unrecord-window-buffer after
14196 showing another buffer in the window. (Bug#9937)
acc825c5 14197 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 14198
ebe06da9
JB
141992011-11-02 Juanma Barranquero <lekktu@gmail.com>
14200
14201 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
14202 Accept status with more than 9 shelves. (Bug#9935)
14203 Reported by Colin D Bennett <colin@gibibit.com>.
14204
4ee88440
MR
142052011-11-01 Martin Rudalics <rudalics@gmx.at>
14206
14207 * help.el (with-help-window): Don't reference
14208 temp-buffer-show-specifiers in doc-string.
14209
08e1d82c
AS
142102011-10-31 Andreas Schwab <schwab@linux-m68k.org>
14211
14212 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
14213 menu-item.
14214
84bd6e9e
VJL
142152011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14216
14217 * whitespace.el: New version 13.2.2.
14218 (whitespace-newline-mode): Disable properly. Reported by Sarah
14219 <EmacsWiki>.
14220
dba0634a
UJ
142212011-10-30 Ulf Jasper <ulf.jasper@web.de>
14222
14223 * net/newst-treeview.el: Remove "Time-stamp".
14224 (newsticker--group-manage-orphan-feeds): Do not call
14225 newsticker--treeview-tree-update.
db22a3c2
JB
14226 (newsticker-treeview-update, newsticker-treeview):
14227 Call newsticker--treeview-tree-update if necessary.
dba0634a 14228
3d8daefe
MR
142292011-10-30 Martin Rudalics <rudalics@gmx.at>
14230
14231 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
14232 (window-iso-combinations): Remove "iso-" infix.
14233 Suggested by Chong Yidong.
3d8daefe
MR
14234 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
14235 (window-max-delta-1, window-resize, window--resize-siblings)
14236 (window--resize-this-window, adjust-window-trailing-edge)
14237 (split-window, balance-windows-1)
14238 (shrink-window-if-larger-than-buffer):
14239 * calendar/calendar.el (calendar-generate-window):
db22a3c2 14240 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 14241
1bc4c3ae
SM
142422011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
14243
14244 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
14245 in place (bug#9907).
14246 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
14247 (eshell-rewrite-if-command, eshell-rewrite-for-command)
14248 (eshell-structure-basic-command, eshell-rewrite-while-command)
14249 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
14250 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
14251 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
14252 (eshell-do-pipelines-synchronously, eshell-eval-command):
14253 Use backquotes and prefer setq to set.
14254 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
14255 (eshell-macrop): Use functionp.
c1e2f5fa 14256 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 14257
30b65d9c
CY
142582011-10-30 Chong Yidong <cyd@gnu.org>
14259
14260 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
14261 instead of set-mark (Bug#9810).
14262
2d197ffb
CY
142632011-10-30 Chong Yidong <cyd@gnu.org>
14264
14265 * window.el (split-window-below, split-window-right): Rename from
14266 split-window-above-each-other and split-window-side-by-side
14267 respectively. All callers changed.
14268 (split-window-sensibly, split-window-sensibly): Use them.
14269 (split-window-keep-point): Doc fix.
14270
14271 * isearch.el: Add isearch-scroll property to split-window-below
14272 and split-window-right.
14273
14274 * follow.el (follow-mode):
14275 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
14276 * progmodes/ada-xref.el (ada-gdb-application):
14277 * emulation/vip.el (vip-buffer-in-two-windows):
14278 * image-dired.el (image-dired-dired-with-window-configuration):
14279 * dired-x.el (dired-do-find-marked-files):
14280 * dired.el (dired-pop-to-buffer):
14281 * bs.el (bs--show-with-configuration):
14282 * vc/emerge.el (emerge-setup-windows):
14283 * textmodes/two-column.el (2C-two-columns):
14284 * textmodes/reftex-toc.el (reftex-toc):
14285 * progmodes/gdb-mi.el (gdb-setup-windows):
14286 * progmodes/fortran.el (fortran-window-create):
14287 * net/newst-treeview.el (newsticker--treeview-window-init):
14288 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
14289 * emulation/tpu-edt.el (tpu-gold-map):
14290 * emulation/crisp.el (crisp-mode-map):
14291 * calendar/calendar.el (calendar-basic-setup): Callers changed.
14292
38bb2ca8
CY
142932011-10-29 Chong Yidong <cyd@gnu.org>
14294
aa4de341
CY
14295 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
14296
e1eb5385
CY
14297 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
14298
5d2ece3c
CY
14299 * textmodes/flyspell.el (flyspell-word): Fix char offset for
14300 forged Ispell output (Bug#7904).
14301
38bb2ca8
CY
14302 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
14303
d0af9f77
SM
143042011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14305
14306 * doc-view.el: Avoid ugly errors about not finding nil.
14307 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
14308 (doc-view-dvipdf-program, doc-view-unoconv-program)
14309 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
14310 Avoid nil or absolute file name as default value.
14311 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
14312
52bedd34
AM
143132011-10-28 Alan Mackenzie <acm@muc.de>
14314
db22a3c2 14315 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 14316
7e43cfa5
AM
143172011-10-28 Alan Mackenzie <acm@muc.de>
14318
14319 Amend the handling of c-beginning/end-of-defun in nested declaration
14320 scopes.
14321
52bedd34
AM
14322 * progmodes/cc-vars.el (c-defun-tactic): Move here from
14323 cc-langs.el. Change it to a defcustom.
7e43cfa5 14324
52bedd34
AM
14325 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
14326 cc-vars.el.
7e43cfa5 14327
d0af9f77
SM
14328 * progmodes/cc-engine.el (c-beginning-of-statement-1):
14329 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 14330
52bedd34 14331 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 14332 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
14333 (c-widen-to-enclosing-decl-scope): New function.
14334 (c-while-widening-to-decl-block): New macro.
14335 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
14336 outward for defun boundaries, and correspondingly change symbol
14337 `respect-enclosure' to `go-outward'.
14338 (c-declaration-limits): Change algorithm to report only the "innermost"
14339 defun's boundaries.
14340
1a2ce9ee
DD
143412011-10-28 Deniz Dogan <deniz@dogan.se>
14342
14343 * net/rcirc.el (rcirc-mode): Use hard newlines.
14344
bc97a826
AM
143452011-10-28 Alan Mackenzie <acm@muc.de>
14346
14347 Amend to indent and fontify macros "which include their own semicolon"
14348 correctly, using the "virtual semicolon" mechanism.
14349
52bedd34 14350 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 14351
d0af9f77 14352 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 14353 Recode to scan one line at a time rather than having \n and \r
58179cce 14354 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 14355 (c-forward-label): Amend for virtual semicolons.
58179cce 14356 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 14357
52bedd34
AM
14358 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
14359 of the new C macros.
bc97a826 14360
52bedd34 14361 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
14362 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
14363 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
14364 (c-opt-cpp-macro-define): Make into a full language variable.
14365 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
14366 AWK Mode (including \n, \r) removed, no longer needed.
14367
d0af9f77
SM
14368 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
14369 Invoke c-make-macro-with-semi-re.
bc97a826 14370
52bedd34
AM
14371 * progmodes/cc-vars.el (c-macro-with-semi-re):
14372 (c-macro-names-with-semicolon): New variables.
58179cce 14373 (c-make-macro-with-semi-re): New function.
bc97a826 14374
7a6c0941
SM
143752011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14376
14377 * vc/log-edit.el: Fill empty field rather than adding new one.
14378 (log-edit-add-field): New function.
14379 (log-edit-insert-changelog): Use it.
14380
b0c4cdcf
ML
143812011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
14382
14383 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
14384
ee1f1da9
SM
143852011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14386
14387 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
14388 (gdb--check-interpreter): New function.
14389 (gdb): Use it.
14390
51bc5f8b
GM
143912011-10-27 Glenn Morris <rgm@gnu.org>
14392
416a2c45
GM
14393 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
14394 (least-positive-float, least-negative-float)
14395 (least-positive-normalized-float, least-negative-normalized-float)
14396 (float-epsilon, float-negative-epsilon):
14397 Remove unnecessary declarations.
14398
14399 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
14400 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
14401 (least-positive-float, least-negative-float)
14402 (least-positive-normalized-float, least-negative-normalized-float)
14403 (float-epsilon, float-negative-epsilon): Add doc-strings,
14404 based on those in cl.texi.
14405
51bc5f8b
GM
14406 * files.el (set-visited-file-name): If the major-mode changed,
14407 reload the local variables. (Bug#9796)
14408
15de15c6
CY
144092011-10-27 Chong Yidong <cyd@gnu.org>
14410
14411 * subr.el (change-major-mode-after-body-hook): New hook.
14412 (run-mode-hooks): Run it.
14413
ee1f1da9
SM
14414 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14415 Use change-major-mode-before-body-hook.
15de15c6
CY
14416
14417 * simple.el (fundamental-mode):
14418 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
14419 change introducing fundamental-mode-hook.
14420
5430d399
JB
144212011-10-26 Juanma Barranquero <lekktu@gmail.com>
14422
acc825c5 14423 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 14424
ad74a69e
MA
144252011-10-26 Michael Albinus <michael.albinus@gmx.de>
14426
14427 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 14428 tramp.el explicitly. (Bug#7583)
ad74a69e 14429
71d4c2a5
SM
144302011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
14431
14432 * progmodes/octave-mod.el:
14433 * progmodes/octave-inf.el: Update maintainer.
14434
b1f6fa26
CY
144352011-10-26 Chong Yidong <cyd@gnu.org>
14436
14437 * subr.el (with-wrapper-hook): Rewrite doc.
14438
3f04efd6
MA
144392011-10-25 Michael Albinus <michael.albinus@gmx.de>
14440
14441 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 14442 filenames "/method:foo:". (Bug#9793)
3f04efd6 14443
410488d3
SM
144442011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
14445
14446 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
14447 (bug#9865).
14448
c1ebb47e
GM
144492011-10-24 Glenn Morris <rgm@gnu.org>
14450
14451 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
14452
7f5c46c7
MA
144532011-10-24 Michael Albinus <michael.albinus@gmx.de>
14454
14455 * notifications.el: Add the requirement of a running D-Bus session
14456 bus to the Commentary.
14457
db2440b6
JL
144582011-10-24 Juri Linkov <juri@jurta.org>
14459
14460 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
14461 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
14462 (Bug#9364)
14463
feecf435
JL
144642011-10-24 Juri Linkov <juri@jurta.org>
14465
14466 * info.el (Info-following-node-name-re): Add newline to the list
14467 of allowed characters for leading space. (Bug#9824)
14468
a3839de2
SM
144692011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
14470
acc825c5
SM
14471 * progmodes/octave-inf.el (inferior-octave-mode-map):
14472 Fix C-c C-h binding.
a3839de2
SM
14473 * progmodes/octave-mod.el (octave-help): Remove.
14474
09388e76
MA
144752011-10-23 Michael Albinus <michael.albinus@gmx.de>
14476
14477 Sync with Tramp 2.2.3.
14478
14479 * net/tramp-cache.el (top): Pacify byte-compiler using
14480 `init-file-user' and `site-run-file'.
14481
14482 * net/trampver.el: Update release number.
14483
86c60681
CY
144842011-10-23 Chong Yidong <cyd@gnu.org>
14485
14486 * files.el (toggle-read-only): Remove obsolete comment about
14487 version control.
14488
14489 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
14490 for toggle-read-only. Note that this hasn't called vc-next-action
14491 since 2008-05-02, though it wasn't documented at the time.
14492
a3839de2
SM
14493 * vc/ediff-init.el (ediff-toggle-read-only-function):
14494 Use toggle-read-only.
86c60681 14495
cd5495ff
AM
144962011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
14497
14498 Fix bug #9560, sporadic wrong indentation; improve instrumentation
14499 of c-parse-state.
14500
00b77525 14501 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 14502 correct faulty logical expression.
cd5495ff
AM
14503 (c-parse-state-state, c-record-parse-state-state):
14504 (c-replay-parse-state-state): New defvar/defuns.
14505 (c-debug-parse-state): Use new functions.
14506
42ee24ed
MR
145072011-10-22 Martin Rudalics <rudalics@gmx.at>
14508
14509 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 14510 last fix. Use window-in-direction correctly.
42ee24ed 14511
a7dee7e7
CY
145122011-10-21 Chong Yidong <cyd@gnu.org>
14513
14514 * progmodes/idlwave.el (idlwave-mode):
14515 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
14516 require-final-newline; that's done in prog-mode.
14517 Suggested by Stefan Monnier.
a7dee7e7 14518
e07b9a6d
MR
145192011-10-21 Martin Rudalics <rudalics@gmx.at>
14520
14521 * mouse.el (mouse-drag-window-above)
14522 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
14523 (mouse-drag-mode-line-1, mouse-drag-header-line)
14524 (mouse-drag-vertical-line-rightward-window): Remove.
14525 (mouse-drag-line): New function.
14526 (mouse-drag-mode-line, mouse-drag-header-line)
14527 (mouse-drag-vertical-line): Call mouse-drag-line.
14528 * window.el (window-at-side-p, windows-at-side): New functions.
14529
7e1361d9
UM
145302011-10-21 Ulrich Mueller <ulm@gentoo.org>
14531
14532 * tar-mode.el (tar-grind-file-mode):
14533 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
14534
30fcaf3a
CY
145352011-10-21 Chong Yidong <cyd@gnu.org>
14536
14537 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
14538 * progmodes/vera-mode.el (vera-mode):
14539 Use mode-require-final-newline.
30fcaf3a 14540
516eddb0
GM
145412011-10-20 Glenn Morris <rgm@gnu.org>
14542
db22a3c2 14543 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 14544
10d5f513
CS
145452011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
14546
14547 * emulation/cua-base.el (cua-set-mark): Fix case of string.
14548
ac6c8639
CY
145492011-10-20 Chong Yidong <cyd@gnu.org>
14550
14551 * emulation/cua-base.el (cua-mode):
14552 * mail/footnote.el (footnote-mode):
14553 * mail/mailabbrev.el (mail-abbrevs-mode):
14554 * net/xesam.el (xesam-minor-mode):
14555 * progmodes/bug-reference.el (bug-reference-mode):
14556 * progmodes/cap-words.el (capitalized-words-mode):
14557 * progmodes/compile.el (compilation-minor-mode)
14558 (compilation-shell-minor-mode):
14559 * progmodes/gud.el (gud-tooltip-mode):
14560 * progmodes/hideif.el (hide-ifdef-mode):
14561 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
14562 * progmodes/subword.el (subword-mode):
14563 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
14564 * progmodes/which-func.el (which-function-mode):
14565 * term/tvi970.el (tvi970-set-keypad-mode):
14566 * term/vt100.el (vt100-wide-mode):
14567 * textmodes/flyspell.el (flyspell-mode):
14568 * textmodes/ispell.el (ispell-minor-mode):
14569 * textmodes/nroff-mode.el (nroff-electric-mode):
14570 * textmodes/paragraphs.el (use-hard-newlines):
14571 * textmodes/refill.el (refill-mode):
14572 * textmodes/reftex.el (reftex-mode):
14573 * textmodes/rst.el (rst-minor-mode):
14574 * textmodes/sgml-mode.el (html-autoview-mode)
14575 (sgml-electric-tag-pair-mode):
14576 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
14577 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
14578 * emulation/crisp.el (crisp-mode):
14579 * emacs-lisp/eldoc.el (eldoc-mode):
14580 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
14581 minor mode behavior.
14582
aa42ab43
JL
145832011-10-19 Juri Linkov <juri@jurta.org>
14584
14585 * descr-text.el (describe-char): Add #x2010 and #x2011 to
14586 the list of hard-coded chars with escape-glyph face.
14587
89400f1d
SM
145882011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
14589
14590 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
14591
305c07f6
MA
145922011-10-19 Michael Albinus <michael.albinus@gmx.de>
14593
14594 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
14595 running process.
14596
13754b54
GM
145972011-10-19 Glenn Morris <rgm@gnu.org>
14598
14599 * vc/vc-bzr.el (vc-bzr-after-dir-status):
14600 Ignore ignored files. (Bug#9726)
14601
06e21633
CY
146022011-10-19 Chong Yidong <cyd@gnu.org>
14603
14604 Doc fix for minor modes, stating that an omitted argument enables
14605 the mode unconditionally when called from Lisp.
14606
14607 * abbrev.el (abbrev-mode):
14608 * allout.el (allout-mode):
14609 * autoinsert.el (auto-insert-mode):
14610 * autoarg.el (autoarg-mode, autoarg-kp-mode):
14611 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
14612 (global-auto-revert-mode):
14613 * battery.el (display-battery-mode):
14614 * composite.el (global-auto-composition-mode)
14615 (auto-composition-mode):
14616 * delsel.el (delete-selection-mode):
14617 * desktop.el (desktop-save-mode):
14618 * dired-x.el (dired-omit-mode):
14619 * dirtrack.el (dirtrack-mode):
14620 * doc-view.el (doc-view-minor-mode):
14621 * double.el (double-mode):
14622 * electric.el (electric-indent-mode, electric-pair-mode):
14623 * emacs-lock.el (emacs-lock-mode):
14624 * epa-hook.el (auto-encryption-mode):
14625 * follow.el (follow-mode):
14626 * font-core.el (font-lock-mode):
14627 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
14628 * help.el (temp-buffer-resize-mode):
14629 * hilit-chg.el (highlight-changes-mode)
14630 (highlight-changes-visible-mode):
14631 * hi-lock.el (hi-lock-mode):
14632 * hl-line.el (hl-line-mode, global-hl-line-mode):
14633 * icomplete.el (icomplete-mode):
14634 * ido.el (ido-everywhere):
14635 * image-file.el (auto-image-file-mode):
14636 * image-mode.el (image-minor-mode):
14637 * iswitchb.el (iswitchb-mode):
14638 * jka-cmpr-hook.el (auto-compression-mode):
14639 * linum.el (linum-mode):
14640 * longlines.el (longlines-mode):
14641 * master.el (master-mode):
14642 * mb-depth.el (minibuffer-depth-indicate-mode):
14643 * menu-bar.el (menu-bar-mode):
14644 * minibuf-eldef.el (minibuffer-electric-default-mode):
14645 * mouse-sel.el (mouse-sel-mode):
14646 * msb.el (msb-mode):
14647 * mwheel.el (mouse-wheel-mode):
14648 * outline.el (outline-minor-mode):
14649 * paren.el (show-paren-mode):
14650 * recentf.el (recentf-mode):
14651 * reveal.el (reveal-mode, global-reveal-mode):
14652 * rfn-eshadow.el (file-name-shadow-mode):
14653 * ruler-mode.el (ruler-mode):
14654 * savehist.el (savehist-mode):
14655 * scroll-all.el (scroll-all-mode):
14656 * scroll-bar.el (scroll-bar-mode):
14657 * server.el (server-mode):
14658 * shell.el (shell-dirtrack-mode):
14659 * simple.el (auto-fill-mode, transient-mark-mode)
14660 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
14661 (line-number-mode, column-number-mode, size-indication-mode)
14662 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
14663 * strokes.el (strokes-mode):
14664 * time.el (display-time-mode):
14665 * t-mouse.el (gpm-mouse-mode):
14666 * tool-bar.el (tool-bar-mode):
14667 * tooltip.el (tooltip-mode):
14668 * type-break.el (type-break-mode-line-message-mode)
14669 (type-break-query-mode):
14670 * view.el (view-mode):
14671 * whitespace.el (whitespace-mode, whitespace-newline-mode)
14672 (global-whitespace-mode, global-whitespace-newline-mode):
14673 * xt-mouse.el (xterm-mouse-mode): Doc fix.
14674
a3839de2
SM
14675 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14676 Fix autogenerated docstring.
06e21633 14677
5214e501
JL
146782011-10-19 Juri Linkov <juri@jurta.org>
14679
14680 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
14681 by checking environment variables "DESKTOP_SESSION" and
14682 "XDG_CURRENT_DESKTOP". (Bug#9779)
14683
195f8db9
JL
146842011-10-19 Juri Linkov <juri@jurta.org>
14685
14686 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
14687 (browse-url-chromium-program, browse-url-chromium-arguments):
14688 New defcustoms.
14689 (browse-url-default-browser): Check for `browse-url-chromium' and
14690 call `browse-url-chromium-program'.
14691 (browse-url-chromium): New command. (Bug#9779)
14692
343a34ff
JB
146932011-10-18 Juanma Barranquero <lekktu@gmail.com>
14694
14695 * facemenu.el (list-colors-duplicates): On Windows, detect more
14696 duplicates by assuming that only colors matching "^System" are
14697 special "system colors". (Bug#9722)
14698
6978a151
SM
146992011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
14700
14701 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
14702 to distinguish the author from the committer.
14703
6a80b297
MA
147042011-10-18 Michael Albinus <michael.albinus@gmx.de>
14705
14706 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
14707
b31a5677
JK
147082011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
14709
14710 * international/mule.el (sgml-html-meta-auto-coding-function):
14711 Add support for detecting encoding in HTML5 specified only as
14712 <meta charset="UTF-8">. Implementation just makes http-equiv and
14713 content-type parts from HTML4 encoding string optional. (Bug#9716)
14714
80c6d77f
GM
147152011-10-18 Glenn Morris <rgm@gnu.org>
14716
14717 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
14718
08b0fee8
CY
147192011-10-18 Chong Yidong <cyd@gnu.org>
14720
14721 * faces.el (cursor): Doc fix.
14722
67e729a5
CY
147232011-10-17 Chong Yidong <cyd@gnu.org>
14724
14725 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
14726
343a34ff 147272011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
14728
14729 * dirtrack.el (dirtrack): Support shell buffers with path
14730 prefixes, e.g. tramp-based remote shells. (Bug#9647)
14731
0bc06380
TZ
147322011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
14733
14734 * json.el: Bump version to 1.3 and note change in History.
14735 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
14736
8b79f3e0
SM
147372011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
14738
5a7c536b
SM
14739 * comint.el (comint-insert-input, comint-send-input)
14740 (comint-get-old-input-default, comint-backward-matching-input)
14741 (comint-next-prompt): Use nil instead of `input' for field property of
14742 past user input (bug#114).
14743
96a8a0df
SM
14744 * minibuffer.el (completion--replace): Inherit surrounding properties
14745 (bug#114).
14746 (minibuffer-complete-and-exit): Use it.
14747
8b79f3e0
SM
14748 * comint.el (comint--table-subvert): Quote the all-completions output
14749 (bug#9160).
14750
b8f7ff0d
MR
147512011-10-17 Martin Rudalics <rudalics@gmx.at>
14752
8b79f3e0 14753 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 14754
b8f7ff0d 14755 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 14756 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
14757 entries and separate them from frame entries.
14758
c235b555
GM
147592011-10-15 Glenn Morris <rgm@gnu.org>
14760
14761 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
14762 Doc fixes.
14763
6bbfa6e1
CY
147642011-10-15 Chong Yidong <cyd@stupidchicken.com>
14765
8b79f3e0
SM
14766 * net/network-stream.el (network-stream-open-starttls):
14767 Improve detection of failure due to lack of TLS support.
ec5c990d 14768
6bbfa6e1
CY
14769 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
14770 putting the input text in front and in bold.
14771
98488977
SM
147722011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
14773
3d1337be
SM
14774 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
14775
ee0b45e4
SM
14776 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
14777 empty buffer.
14778
98488977
SM
14779 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
14780 unread-command-events rather than pushing yet-another event.
14781
186f4720
EZ
147822011-10-14 Eli Zaretskii <eliz@gnu.org>
14783
14784 * mail/sendmail.el (sendmail-query-once): Improve the wording of
14785 the explanation of the possible choices. Make the options passed
14786 to completing-read shorter.
14787
8b7a997c
AM
147882011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14789
14790 * textmodes/flyspell.el (flyspell-large-region): Make sure
14791 extended character mode is used if defined (Bug#1339).
14792
12587bbb
EZ
147932011-10-13 Eli Zaretskii <eliz@gnu.org>
14794
14795 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
14796 character info for LRE, LRO, RLE, and RLO characters by appending
14797 an invisible PDF.
12587bbb 14798
bad41229
SM
147992011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
14800
14801 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
14802 even in case of error; add debug spec; simplify data flow.
14803 (with-timeout-handler): Remove.
14804
28dbc92f
MA
148052011-10-12 Michael Albinus <michael.albinus@gmx.de>
14806
14807 Fix Bug#6019, Bug#9315.
14808
14809 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
14810 complete `buffer-file-name', the local file name part could look
14811 remotely (for example on VMS).
14812
14813 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
14814 `tramp-run-real-handler'.
14815 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
14816 already quoted by '"'.
14817
14818 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
14819 Let `file-name-handler-alist' be nil, the local file name part
14820 could look remotely (for example on VMS).
14821
e1b0b23a
SM
148222011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
14823
14824 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
14825 from here...
14826 (flyspell-post-command-hook): ...to here.
14827
a120bde9
SM
148282011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
14829
14830 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
14831 if not needed.
14832 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
14833 using completion. Protect against "slow" callers.
14834 Remove the "message hack".
14835
7ce7717b
JL
148362011-10-11 Juri Linkov <juri@jurta.org>
14837
14838 * isearch.el (isearch-lazy-highlight-word): New variable.
14839 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
14840 Use it. (Bug#9727)
14841
c02ee9d6
GM
148422011-10-11 Glenn Morris <rgm@gnu.org>
14843
14844 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
14845 like f90-previous-statement does.
14846
93e616fd 148472011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14848
1f190e73 14849 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
14850 only in interactive use, to avoid error.
14851
af7b6078
SM
148522011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
14853
14854 * minibuffer.el (completion-file-name-table): Fix last change,
14855 i.e. ignore normal errors but not the other ones.
14856
0563dae9
MR
148572011-10-10 Martin Rudalics <rudalics@gmx.at>
14858
14859 * window.el (special-display-buffer-names)
14860 (special-display-regexps): Remove some remnants of earlier
14861 changes from doc-strings.
366ca7f3
MR
14862 (quit-windows-on): New function.
14863
14864 * vc/vc.el (vc-revert, vc-rollback):
14865 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
14866 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 14867 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 14868
49677495
MR
148692011-10-09 Martin Rudalics <rudalics@gmx.at>
14870
14871 * window.el (frame-auto-hide-function): Add version tag.
14872 (Bug#9699)
14873
56f2d1e1
MA
148742011-10-09 Michael Albinus <michael.albinus@gmx.de>
14875
14876 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
14877 condition.
14878
112a6592
LL
148792011-10-09 Leo Liu <sdl.web@gmail.com>
14880
14881 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
14882 (Bug#9701)
14883
0812589b
GM
148842011-10-08 Glenn Morris <rgm@gnu.org>
14885
14886 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
14887 before the first code statement zero indent. (Bug#9690)
14888
b2b0776e
CY
148892011-10-08 Chong Yidong <cyd@stupidchicken.com>
14890
14891 * simple.el (count-words-region): Always count in the region.
14892 Report the number of lines and characters too.
14893 (count-words): New command, which counts in the buffer if the
14894 region is inactive, as count-words-region used to.
14895 (count-words--message): New function. Handle plurals.
14896 (count-lines-region): Make it an alias for count-words-region.
14897
14898 * bindings.el (esc-map): Replace count-lines-region with
14899 count-words-region.
14900
c557cd6b
MR
149012011-10-08 Martin Rudalics <rudalics@gmx.at>
14902
14903 * window.el (window--delete): Delete dedicated frame
14904 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 14905 (switch-to-buffer): Fix doc-string typo.
c557cd6b 14906
61a57ef4 149072011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14908
3a7d293b 14909 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 14910
c3833279
CY
149112011-10-07 Chong Yidong <cyd@stupidchicken.com>
14912
14913 * bindings.el ([M-left],[M-right]): Bind to left-word and
14914 right-word respectively.
14915
21ce8245
GM
149162011-10-07 Glenn Morris <rgm@gnu.org>
14917
14918 * cus-start.el (debug-on-quit): Fix custom type.
14919
6d823bb2
LMI
149202011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
14921
0181e193
LMI
14922 * subr.el (define-key-after): Clarify that the function is not
14923 useful for non-menu keymaps.
14924
6d823bb2
LMI
14925 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
14926
8e3459ce 149272011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14928
21ce8245 14929 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 14930 in current minibuffer (Fix bug with recursive minibuffers).
14931
a1c2d21e
CY
149322011-10-06 Chong Yidong <cyd@stupidchicken.com>
14933
14934 * progmodes/gdb-mi.el (gdb): Doc fix.
14935
5a4cf282
MR
149362011-10-05 Martin Rudalics <rudalics@gmx.at>
14937
14938 * window.el (frame-auto-hide-function): New option replacing
14939 frame-auto-delete. Suggested by Stefan Monnier.
14940 (window--delete): Call frame-auto-hide-function instead of
14941 investigating frame-auto-delete.
c96111ea
MR
14942 (window-point-1, set-window-point-1): New functions.
14943 (window-in-direction, record-window-buffer, window-state-get-1)
14944 (display-buffer-record-window): Use window-point-1 instead of
14945 window-point.
14946 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 14947
9854542e
SM
149482011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
14949
14950 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
14951
8943cfb0
GM
149522011-10-05 Glenn Morris <rgm@gnu.org>
14953
14954 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
14955 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
14956
647ab967
LL
149572011-10-05 Leo Liu <sdl.web@gmail.com>
14958
14959 * subr.el (read-char-choice): Fix argument to buffer-live-p which
14960 works with buffer object.
14961
3ddfbced
SM
149622011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
14963
14964 * mpc.el (mpc-tool-bar-map): Add labels.
14965
bdfa5dd2
GM
149662011-10-04 Glenn Morris <rgm@gnu.org>
14967
14968 * calendar/holidays.el (calendar-check-holidays): Doc fix.
14969
0e2070b5
MR
149702011-10-04 Martin Rudalics <rudalics@gmx.at>
14971
14972 * window.el (window--delete): New function.
14973 (frame-auto-delete): Resuscitate option.
14974 (bury-buffer, replace-buffer-in-windows)
14975 (quit-window): Rewrite using window--delete.
14976 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14977 Pass display-buffer-mark-dedicated to window--display-buffer-2
14978 (Bug#9639).
14979
3dc61a09
SM
149802011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
14981
915a9b64
SM
14982 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
14983 returns a list (bug#9554). Add remote file name completion.
14984 * comint.el (comint--table-subvert): Curry and get quote&unquote
14985 functions as arguments.
14986 (comint--complete-file-name-data): Adjust call accordingly.
14987 * pcomplete.el (pcomplete--table-subvert): Remove.
14988 (pcomplete-completions-at-point): Use comint--table-subvert instead.
14989
3dc61a09
SM
14990 * minibuffer.el (completion-table-case-fold): Use currying.
14991 (completion--styles-type, completion--cycling-threshold-type):
14992 New constants.
14993 (completion-styles, completion-category-overrides)
14994 (completion-cycle-threshold): Use them.
14995 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
14996 completion-table-case-fold.
14997
8ea0a993
SB
149982011-10-03 Stephen Berman <stephen.berman@gmx.net>
14999
15000 * minibuffer.el (completion-category-overrides): Fix type of styles
15001 and add more user friendly tags (bug#9660).
15002
8c24b7f6
SM
150032011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
15004
15005 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
15006 (mule-input-method-string): New widget.
15007 (default-input-method, language-info-custom-alist): Use it.
15008
428fe61a
SM
150092011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
15010
32c1fffd
SM
15011 * pcomplete.el: Require comint.
15012 (pcomplete--common-suffix): Remove.
15013 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
15014 (pcomplete--table-subvert): Sync with comint--table-subvert.
15015 (pcomplete--entries): Use comint-completion-file-name-table.
15016 * comint.el (comint-unquote-filename): Simplify.
15017 (comint-completion-file-name-table): New function (bug#9616).
15018 (comint--complete-file-name-data): Use it.
15019
428fe61a
SM
15020 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
15021 (pcmpl-gnu-tar-buffer): Remove.
15022 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
15023 around. Make sure pcomplete-suffix-list is only changed temporarily.
15024 Don't look inside the tar's file if it's too large.
428fe61a 15025
04c52e2f
CY
150262011-10-01 Chong Yidong <cyd@stupidchicken.com>
15027
ce3cefcc
CY
15028 * cus-edit.el (custom-mode-map):
15029 * epa.el (epa-key-list-mode-map):
15030 * man.el (Man-mode-map):
15031 * startup.el (splash-screen-keymap):
15032 * simple.el (special-mode-map): Use scroll-up-command and
15033 scroll-down-command.
15034
15035 * progmodes/idlw-help.el (idlwave-help-mode-map):
15036 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
15037 * net/newst-plainview.el (newsticker-mode-map):
15038 * emulation/ws-mode.el (wordstar-mode-map):
15039 * emulation/vi.el (vi-com-map):
15040 * calc/calc-graph.el (calc-graph-show-dumb):
15041 * term/sun.el (terminal-init-sun):
15042 * term/ns-win.el (global-map):
15043 * progmodes/grep.el (grep-mode-map):
15044 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
15045 * mail/rmail.el (rmail-mode-map):
15046 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
15047
04c52e2f
CY
15048 * custom.el (custom-safe-themes, load-theme): Treat value of t for
15049 custom-safe-themes as special.
15050
79adf8c8
JD
150512011-10-01 Julien Danjou <julien@danjou.info>
15052
15053 * notifications.el (notifications-notify): Fix docstring.
15054
63bd50d3
PS
150552011-10-01 Per Starbäck <per@starback.se>
15056
15057 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
15058
199e4c7e
MR
150592011-09-30 Martin Rudalics <rudalics@gmx.at>
15060
15061 * startup.el (command-line-1): Fix last fix by inserting
15062 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 15063 (Bug#9605) and (Bug#9636)
199e4c7e 15064
fe5f08dd
EZ
150652011-09-29 Eli Zaretskii <eliz@gnu.org>
15066
15067 * simple.el (line-move): If auto-hscroll-mode is disabled and the
15068 window is hscrolled, move by logical lines. (Bug#9607)
15069 (line-move-visual): Update the doc string to the above effect.
15070
b5516bbd
MR
150712011-09-29 Martin Rudalics <rudalics@gmx.at>
15072
ccee00c0
MR
15073 * window.el (display-buffer-record-window): When WINDOW is the
15074 selected window use `point' instead of `window-point'. (Bug#9626)
15075
b5516bbd
MR
15076 * startup.el (command-line-1): Use insert-before-markers when
15077 inserting initial-scratch-message. (Bug#9605)
ccee00c0 15078
b5516bbd
MR
15079 * help.el (help-window): Remove variable.
15080
52aa0014
GM
150812011-09-29 Glenn Morris <rgm@gnu.org>
15082
15083 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
15084
df9a7357
JB
150852011-09-29 Juanma Barranquero <lekktu@gmail.com>
15086
15087 * descr-text.el (describe-char-categories): Accept category
15088 descriptions more than one line long.
15089
a8406c20
SM
150902011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
15091
88d9610c
SM
15092 * simple.el (delete-trailing-whitespace): Fix last change.
15093
a5daf810
SM
15094 * progmodes/perl-mode.el (perl-syntax-propertize-function):
15095 Don't confuse "y => 3" as the beginning of a `y' operation.
15096
a8406c20
SM
15097 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
15098 object has more than 4 slots (bug#9613).
15099
a239d4e9
JB
151002011-09-28 Juanma Barranquero <lekktu@gmail.com>
15101
15102 * subr.el (with-output-to-temp-buffer):
15103 * net/quickurl.el (quickurl, quickurl-browse-url):
15104 Fix typos in docstrings.
15105
693fbdb6
EZ
151062011-09-27 Eli Zaretskii <eliz@gnu.org>
15107
15108 * minibuffer.el (completion-styles)
15109 (completion-category-overrides): Cross reference each other in doc
15110 strings.
15111
8b457e28
GM
151122011-09-27 Glenn Morris <rgm@gnu.org>
15113
15114 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
15115 to split-string. (Bug#9606)
15116
85a16208
LMI
151172011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
15118
15119 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
15120 (bug#9615).
15121
502f9ebd
CY
151222011-09-27 Chong Yidong <cyd@stupidchicken.com>
15123
15124 * emacs-lisp/package.el (list-packages): Fix echo area message.
15125
7690bdea
LL
151262011-09-27 Leo Liu <sdl.web@gmail.com>
15127
15128 * ido.el (ido-read-internal): Accept cons cell HIST arg.
15129
e2ee6f30
MA
151302011-09-25 Michael Albinus <michael.albinus@gmx.de>
15131
15132 * net/dbus.el (dbus-unregister-object): Don't release services for
15133 registered signals. (Bug#9581)
15134
f3f98342
TZ
151352011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
15136
15137 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
15138 function that picks between cfengine 2 and 3 support
15139 automatically. Update docs accordingly.
15140
dd7aa8dd
KH
151412011-09-22 Kenichi Handa <handa@m17n.org>
15142
15143 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
15144 ZERO.
15145 (indian-itrans-v5-table-for-tamil): New variable.
15146 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
15147
3f2b07f8
KM
151482011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
15149
15150 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
15151 that's true if the current command involved collapsing of text.
15152 It's reset to false at the beginning of the next command.
15153 (allout-post-command-business): Move the cursor to the beginning
15154 of entry if the cursor is hidden and collapsing activity just
15155 happened.
15156
371d6a61
CY
151572011-09-24 Chong Yidong <cyd@stupidchicken.com>
15158
15159 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
15160 tracking (Bug#9541).
15161
2ac2721a
UJ
151622011-09-24 Ulf Jasper <ulf.jasper@web.de>
15163
15164 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
15165 (newsticker-show-news): Automatically load html rendering package
15166 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
15167 because w3m-fill-column is let-bound" and the error "Symbol's value
15168 as variable is void: w3m-fill-column".
2ac2721a 15169
fac7ae53
MA
151702011-09-24 Michael Albinus <michael.albinus@gmx.de>
15171
15172 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
15173 Release services only if they are defined. (Bug#9581)
15174
e08b633b
RS
151752011-09-23 Richard Stallman <rms@gnu.org>
15176
e488d29c
RS
15177 * textmodes/paragraphs.el (forward-sentence): For backwards case,
15178 distinguish start of paragraph from start of its text.
15179
19c38752
RS
15180 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
15181
e08b633b
RS
15182 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
15183 (rmail-generate-viewer-buffer): Put that hook on view buffer.
15184 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
15185
0a39f27e
AS
151862011-09-23 Andreas Schwab <schwab@linux-m68k.org>
15187
15188 * international/mule-diag.el (mule-diag): Insert a newline after
15189 each fontset description.
15190
db4e950d
SM
151912011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
15192
15193 * simple.el (delete-trailing-whitespace):
15194 Document last change; simplify.
15195
eca3f3ea
PW
151962011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
15197
d68e189a
PW
15198 * simple.el (delete-trailing-whitespace): Also delete
15199 extra newlines at the end of the buffer.
15200
eca3f3ea
PW
15201 * textmodes/picture.el: Make motion commands obey shift-select-mode.
15202 (picture-newline): Use forward-line so as to ignore fields.
15203
01c157cc
SM
152042011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
15205
15206 * subr.el (with-wrapper-hook): Fix edebug spec.
15207
022de23e
LMI
152082011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
15209
15210 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
15211 (bug#4538).
15212
91683089
MA
152132011-09-23 Michael Albinus <michael.albinus@gmx.de>
15214
eca3f3ea
PW
15215 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
15216 Fix nasty bug using wrong cached values.
91683089 15217
5bdd6fa4
AM
152182011-09-23 Alan Mackenzie <acm@muc.de>
15219
15220 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
15221
97adfb97
CY
152222011-09-23 Chong Yidong <cyd@stupidchicken.com>
15223
15224 * window.el (pop-to-buffer): Ensure right window is selected if we
15225 chose another frame.
15226
d4ef2b50
EZ
152272011-09-22 Eli Zaretskii <eliz@gnu.org>
15228
15229 * simple.el (what-cursor-position): Use get-char-property-change
15230 and next-single-char-property-change, to be able to show display
15231 properties that come from overlays as well as text properties.
15232
72258fe5
CY
152332011-09-22 Chong Yidong <cyd@stupidchicken.com>
15234
15235 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
15236
15237 * cmuscheme.el (run-scheme, switch-to-scheme):
15238 * cus-edit.el (customize-group, custom-buffer-create)
15239 (customize-browse):
15240 * info.el (info):
15241 * shell.el (shell):
15242 * mail/sendmail.el (mail):
15243 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
15244
8f098516
RS
152452011-09-22 Richard Stallman <rms@gnu.org>
15246
15247 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
15248 move back only to line beg, don't move back over blank lines.
15249
e74f1bb6
MA
152502011-09-22 Michael Albinus <michael.albinus@gmx.de>
15251
15252 * files.el (copy-directory): Set directory attributes only in case
15253 they could be retrieved from the source directory. (Bug#9565)
15254
bfeef8b6
DK
152552011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
15256
15257 * progmodes/hideshow.el (hs-looking-at-block-start-p)
15258 (hs-find-block-beginning, hs-hide-level-recursive):
15259 Ignore strings as well as comments. (Bug#9502)
15260
7e423bb8
AS
152612011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
15262
15263 * progmodes/sql.el (sql-comint-postgres):
15264 Convert port number to a string. (Bug#9566)
15265
b4d72fcf
MR
152662011-09-22 Martin Rudalics <rudalics@gmx.at>
15267
15268 * window.el (quit-window): Undedicate window when switching to
15269 previous buffer. Reported by Thierry Volpiatto
15270 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
15271 (special-display-popup-frame): When popping up a new frame reset
15272 its previous buffers to nil. Simplify code.
b4d72fcf 15273
a7b88dc6
MA
152742011-09-21 Michael Albinus <michael.albinus@gmx.de>
15275
15276 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
15277 and process filter, as done also in `shell-command'.
15278
cf4eacfd
MR
152792011-09-21 Martin Rudalics <rudalics@gmx.at>
15280
eca3f3ea 15281 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
15282 Call set-window-start with NOFORCE argument t.
15283 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
15284 (quit-window): Reword doc-string. Handle new format of
15285 quit-restore parameter. Don't delete window if it has a
15286 previous buffer we can show instead of the present one.
15287 (display-buffer-record-window): Rewrite using a new format for
15288 the quit-restore window parameter
15289 (special-display-popup-frame, display-buffer-same-window)
15290 (display-buffer-reuse-window, display-buffer-pop-up-frame)
15291 (display-buffer-pop-up-window, display-buffer-use-some-window):
15292 Adapt symbol passed to display-buffer-record-window.
15293 * help.el (help-window-setup): Handle new format of quit-restore
15294 parameter.
15295
8d28cb95
SM
152962011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
15297
94ab793f
SM
15298 * faces.el (face-list): Fix docstring (bug#9564).
15299
8d28cb95
SM
15300 * window.el (display-buffer--action-function-custom-type):
15301 Don't include internal functions in the Custom interface.
15302
3820edeb
JL
153032011-09-20 Juri Linkov <juri@jurta.org>
15304
15305 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
15306 (Info-forward-node, Info-backward-node, Info-next-preorder)
15307 (Info-last-preorder): Use it. (Bug#9528)
15308
5147931d
JL
153092011-09-20 Juri Linkov <juri@jurta.org>
15310
15311 * info.el (Info-last-preorder): Visit last menu item only when
15312 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
15313
cf499a1a
JD
153142011-09-20 Julien Danjou <julien@danjou.info>
15315
15316 * password-cache.el (password-cache-remove): Remove entries even if the
15317 value is nil, so that password with a nil value (negative caching) is
15318 possible to invalidate.
15319
f84e2fe2
LM
153202011-09-20 Lawrence Mitchell <wence@gmx.li>
15321
15322 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
15323 all whitespace around breakpoint. (Bug#9553)
15324 (f90-find-breakpoint): Only break at whitespace inside a comment.
15325
78054a46
SM
153262011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
15327
15328 * minibuffer.el (completion-file-name-table): Keep track of errors.
15329 (completion-table-with-predicate): Handle the case where pred1 is nil.
15330 * pcomplete.el (pcomplete-completions-at-point): Simplify.
15331
345083b2
SM
153322011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
15333
e24e27be
SM
15334 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
15335 (debugger-return-value): Signal an error if the debugging context does
15336 not await any return value.
15337
345083b2
SM
15338 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
15339 * image-mode.el (image-toggle-display-text)
15340 (image-toggle-display-image): Stay away from evil `intangible'.
15341
08d355e3
LL
153422011-09-19 Leo Liu <sdl.web@gmail.com>
15343
15344 * replace.el (occur-revert-arguments): Make it permanent-local.
15345 (occur-mode): Don't call font-lock-defontify.
15346
f01da43f
CY
153472011-09-19 Chong Yidong <cyd@stupidchicken.com>
15348
15349 * net/ldap.el (ldap-search-internal): Don't push empty search
15350 result (Bug#9508).
15351
b6072fa6
SM
153522011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
15353
15354 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
15355
443d6696
MA
153562011-09-19 Michael Albinus <michael.albinus@gmx.de>
15357
15358 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
15359 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
15360
7cc6e154
JL
153612011-09-18 Juri Linkov <juri@jurta.org>
15362
15363 * buff-menu.el (Buffer-menu-mode-map):
15364 * dired.el (dired-mode-map):
15365 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
15366 (lisp-interaction-mode-map):
15367 * emacs-lisp/package.el (package-menu-mode-map):
15368 * epa.el (epa-key-list-mode-map):
15369 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
15370 (menu-bar-options-menu):
15371 * outline.el (outline-mode-menu-bar-map):
15372 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
15373 * vc/vc-dir.el (vc-dir-menu-map):
15374 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
15375 Capitalize non-function content words in menu item strings.
15376
15377 * dired.el (dired-mode-map): Add menu item for
15378 `image-dired-dired-toggle-marked-thumbs'.
15379
80302a81
JL
153802011-09-18 Juri Linkov <juri@jurta.org>
15381
15382 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
15383 to `isearch-case-fold-search' and restore its original value
15384 after the `isearch-mode' call.
15385
46c5cf66
JL
153862011-09-18 Juri Linkov <juri@jurta.org>
15387
15388 * progmodes/grep.el (grep-process-setup): Don't check code for 1
15389 because `zgrep' returns 1 for successful matches (bug#9226).
15390
d18b513b
JL
153912011-09-18 Juri Linkov <juri@jurta.org>
15392
15393 * info.el (Info-extract-menu-node-name): Check the second match
15394 for empty string (second test-case of bug#9528).
15395 (Info-last-preorder): Let-bind `Info-history' to nil to not add
15396 intermediate nodes to the history (first test-case of bug#9528).
15397
72753f87
JL
153982011-09-18 Juri Linkov <juri@jurta.org>
15399
15400 * info.el (Info-mode-syntax-table): New variable.
1154d12e 15401 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 15402
c9384295
JL
154032011-09-18 Juri Linkov <juri@jurta.org>
15404
1154d12e
JB
15405 * info.el (Info-file-supports-index-cookies):
15406 Increment line-beginning-position's arg from 3 to 4 because makeinfo
15407 outputs one more line for long file names (bug#4142).
c9384295 15408
d473dce8
CY
154092011-09-18 Chong Yidong <cyd@stupidchicken.com>
15410
15411 * newcomment.el (comment-normalize-vars): If prompting for
15412 comment-start, set comment-start-skip too (Bug#8424).
15413
2176854d
JB
154142011-09-18 Johan Bockgård <bojohan@gnu.org>
15415
15416 * icomplete.el: Fix previous fix of Bug#5849.
15417 (icomplete-mode): Don't set completion-show-inline-help.
15418 (icomplete-minibuffer-setup): Set completion-show-inline-help
15419 locally during icompletion.
15420
3aace4e4
CY
154212011-09-18 Chong Yidong <cyd@stupidchicken.com>
15422
c940224f
CY
15423 * woman.el (woman2-process-escapes): Don't delete unrecognized
15424 escapes (Bug#7843).
15425
3aace4e4
CY
15426 * files.el (inhibit-first-line-modes-regexps): Add image files.
15427 (hack-local-variables-prop-line): Return nil for malformed
15428 prop-lines (Bug#9044).
15429
710dec63
MA
154302011-09-18 Michael Albinus <michael.albinus@gmx.de>
15431
15432 * net/tramp.el (top): Don't require 'shell.
15433 (tramp-methods): Fix docstring.
15434 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
15435 Return complete remote file name. Handle "smb" case.
15436 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
15437 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
15438
15439 * net/tramp-compat.el (top): Require 'shell.
15440
15441 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
15442 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
15443 `tramp-current-host'.
15444 (tramp-get-remote-tmpdir): Remove.
15445
15446 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
15447 `tramp-tmpdir' entries.
15448 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
15449 (tramp-smb-handle-file-attributes): Ignore errors.
15450 (tramp-smb-wait-for-output): Check also for process end.
15451
5d5ac8ec
LMI
154522011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
15453
15454 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
15455 when sending QUIT (bug#9312).
15456
8c0f49f0
CY
154572011-09-17 Chong Yidong <cyd@stupidchicken.com>
15458
15459 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
15460 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
15461 occur-mode-display-occurrence.
15462 (occur-edit-mode): Add usage message.
15463 (occur-cease-edit): New command.
15464 (occur-after-change-function): Use text properties to find the
15465 position of the prefix text.
15466 (occur-engine): Set stickiness of prefix text properties.
15467
8f1383f7
GM
154682011-09-17 Glenn Morris <rgm@gnu.org>
15469
15470 * progmodes/etags.el (complete-tag):
15471 Fix call to completion-in-region. (Bug#9526)
15472
744ba0e3
JL
154732011-09-17 Juri Linkov <juri@jurta.org>
15474
15475 * textmodes/ispell.el (ispell-word): Add to the error message
15476 the word, ispell program name and current dictionary (bug#9121).
15477 (ispell-tex-arg-end): Capitalize "error" in the error message.
15478
d9bbf400
AS
154792011-09-17 Andreas Schwab <schwab@linux-m68k.org>
15480
15481 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
15482 check. (Bug#4251)
15483
8da11505
JL
154842011-09-17 Juri Linkov <juri@jurta.org>
15485
15486 * window.el (window-safe-min-height, window-safe-min-width):
15487 Fix typos (followup to bug#9522).
15488
a91adc7e
SJ
154892011-09-17 Sven Joachim <svenjoac@gmx.de>
15490
15491 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
15492
064f328a
EZ
154932011-09-16 Eli Zaretskii <eliz@gnu.org>
15494
15495 * simple.el (line-move): If goal-column is set, move by logical
15496 lines, not by display lines. (Bug#971)
15497 (next-line, previous-line, goal-column, line-move-visual): Doc fix
15498 to reflect the above change.
15499
e69df516
SM
155002011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
15501
15502 * image.el (imagemagick-register-types): Use regexp-opt.
15503
cbb0f9ab
CY
155042011-09-15 Chong Yidong <cyd@stupidchicken.com>
15505
15506 * window.el (display-buffer-base-action): Rename from
15507 display-buffer-default-action. Make default value empty.
15508 (display-buffer-overriding-action): Convert to defvar.
15509 (display-buffer-fallback-action): New var.
15510
25322144
CY
155112011-09-15 Chong Yidong <cyd@stupidchicken.com>
15512
15513 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
15514 declaration.
15515 (package--add-to-archive-contents): If there is a duplicate entry
15516 with an older version, remove it.
15517 (package-menu-mark-delete, package-menu-mark-install)
15518 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
15519 (package-menu-mark-obsolete-for-deletion):
15520 Use package-menu-get-status instead of a regexp search.
25322144
CY
15521 (package-menu-get-status): Use tabulated-list-entry.
15522 (package-menu-mark-upgrades): New command.
d770725a 15523 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
15524 (package-menu-execute): Do installation before deletion.
15525 (package-menu-refresh, package-menu-execute): Use derived-mode-p
15526 instead of checking major-mode.
15527 (package-menu--find-upgrades): New function.
15528
7520339c
LMI
155292011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15530
15531 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
15532 passwords in the log buffer.
65a046c4
LMI
15533 (smtpmail-process-filter): Update the process marker so that the
15534 "broken by peer" status message is inserted in the right place.
7520339c 15535
d3c30954
SM
155362011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
15537
3fe48822
SM
15538 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
15539 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
15540 bibtex-completion-at-point-function.
15541 (bibtex-completion-at-point-function): Use them.
15542
1b8b3954
SM
15543 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
15544
d3c30954
SM
15545 * mpc.el (mpc-constraints-tag-lookup): New function.
15546 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
15547 also to browser "album|playlist".
15548
72779976
JL
155492011-09-14 Juri Linkov <juri@jurta.org>
15550
15551 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
15552 (isearch-edit-string): Use length of `isearch-string' when
15553 `isearch-fail-pos' returns nil.
15554 (isearch-message): Remove duplicate code and call
15555 `isearch-fail-pos' with arg `t'.
15556
a0bf2bcd
CY
155572011-09-14 Chong Yidong <cyd@stupidchicken.com>
15558
17bb0a2d
CY
15559 * replace.el (occur-mode-goto-occurrence): Don't force using other
15560 window (Bug#9499).
15561
a0bf2bcd
CY
15562 * dired-aux.el (dired-do-chmod): Don't provide initial input.
15563
f678e0b6
MR
155642011-09-14 Martin Rudalics <rudalics@gmx.at>
15565
15566 * window.el (display-buffer-window): Remove.
15567 (display-buffer-record-window): Use help-setup window parameter
15568 instead of variable display-buffer-window.
15569 (display-buffer-function, special-display-buffer-names)
15570 (special-display-function): Mention help-setup parameter instead
15571 of display-buffer-window in doc-string.
d3c30954
SM
15572 * help.el (help-window-setup): New argument help-window.
15573 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
15574 Reword some messages.
15575 (with-help-window): Pass window used for displaying the buffer
15576 to help-window-setup. Don't set display-buffer-window.
15577
8e39b2e8
GM
155782011-09-13 Glenn Morris <rgm@gnu.org>
15579
15580 * emacs-lisp/debug.el (debugger-make-xrefs):
15581 Preserve point. (Bug#9462)
15582
85e9c04b
CY
155832011-09-13 Chong Yidong <cyd@stupidchicken.com>
15584
15585 * window.el (window-deletable-p): Use next-frame.
15586
1b36ed6a
MR
155872011-09-13 Martin Rudalics <rudalics@gmx.at>
15588
15589 * window.el (window-auto-delete): Remove.
15590 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 15591 dedication and previous buffers.
1b36ed6a
MR
15592 (switch-to-prev-buffer): Don't delete window.
15593 (delete-windows-on): Delete a window's frame if and only if the
15594 window is dedicated.
15595 (replace-buffer-in-windows): Delete buffer's window or frame if
15596 and only if window is dedicated.
15597 (quit-window): Handle quit-restore as before last change.
4d61f28d 15598 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 15599
ef8ef9fb
CY
156002011-09-13 Chong Yidong <cyd@stupidchicken.com>
15601
15602 * window.el (window-deletable-p): Never delete the last frame on a
15603 given terminal.
15604
b2cba41e
GM
156052011-09-13 Glenn Morris <rgm@gnu.org>
15606
15607 * help.el (describe-key-briefly): Copy previous standard-output change.
15608
51553db6 156092011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
15610
15611 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
15612
b7556719
GM
156132011-09-13 Glenn Morris <rgm@gnu.org>
15614
15615 * emacs-lisp/lisp-mode.el (lisp-indent-function):
15616 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
15617
64b51947
CY
156182011-09-12 Chong Yidong <cyd@stupidchicken.com>
15619
15620 * dired-aux.el (dired-mark-read-string): Don't return default
15621 value on empty input (Bug#9361).
15622 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
15623 Omit initial minibuffer contents.
15624 (dired-do-chmod): Signal an error on empty input.
15625 (dired-mark-read-string): Don't return default on empty input.
15626
15627 * files.el (file-modes-symbolic-to-number): Doc fix.
15628
393a301e
SM
156292011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
15630
15631 * international/mule-cmds.el (ucs-completions): Remove.
15632 (read-char-by-name): Use complete-with-action instead; add metadata.
15633
fa5660f9
CY
156342011-09-11 Chong Yidong <cyd@stupidchicken.com>
15635
15636 * window.el (display-buffer--action-function-custom-type)
15637 (display-buffer--action-custom-type): New vars.
15638 (display-buffer-alist, display-buffer-default-action)
15639 (display-buffer-overriding-action): Add defcustom types.
15640
4a592f66
CY
15641 * frame.el (delete-other-frames): Doc fix (Bug#276).
15642
73d56dbd
LMI
156432011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15644
15645 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
15646
37ac18a3
CY
156472011-09-11 Chong Yidong <cyd@stupidchicken.com>
15648
15649 Change modes that used same-window-* vars to use switch-to-buffer.
15650
15651 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
15652 Use switch-to-buffer.
15653
15654 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
15655 (customize-browse, custom-buffer-create-other-window):
15656 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
15657
15658 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
15659 (Info-prev, Info-up, Info-speedbar-goto-node)
15660 (info-display-manual): Use switch-to-buffer.
15661 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
15662
15663 * mail/sendmail.el (mail): Use switch-to-buffer.
15664 (mail-recover): Use switch-to-buffer-other-window.
15665
15666 * cmuscheme.el (run-scheme, switch-to-scheme):
15667 * ielm.el (ielm):
15668 * shell.el (shell):
15669 * net/rlogin.el (rlogin):
15670 * net/telnet.el (telnet, rsh):
15671 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
15672
10195bd6
AS
156732011-09-11 Andreas Schwab <schwab@linux-m68k.org>
15674
15675 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
15676
b322f63a
LMI
156772011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15678
39d7fed6
LMI
15679 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
15680 so don't mention it (bug#9301).
ba5a81f1 15681 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 15682
ee0e9f11
LMI
15683 * faces.el (face-spec-set-match-display): Make `(type graphic)'
15684 match `x', `w32' and `ns', like the manual says (bug#9029).
15685
0b1c89c1 15686 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
15687 (process-kill-buffer-query-function): Mention the buffer name in
15688 the query.
0b1c89c1 15689
77549ea8
LMI
15690 * image-mode.el (image-next-line): The line parameter is mandatory
15691 (bug#9258).
15692
803ef892
LMI
15693 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
15694 which can be useful (bug#9301).
15695
12980837
LMI
15696 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
15697
91054f8f
LMI
15698 * subr.el (match-string): Mention that the current buffer should
15699 be the same as the search was done in (bug#9282).
15700
b322f63a
LMI
15701 * facemenu.el: Disable the remove-* commands if the mark isn't
15702 active (bug#9162).
15703
3199b96f
CY
157042011-09-10 Chong Yidong <cyd@stupidchicken.com>
15705
15706 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
15707 of display-buffer.
15708 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
15709
15710 * replace.el (occur-mode-goto-occurrence)
15711 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
15712 and display-buffer.
15713
15714 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
15715 display-buffer.
15716
15717 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
15718 special-display and same-window variables.
15719 (mail-other-window): Use switch-to-buffer-other-window.
15720 (mail-other-frame): USe switch-to-buffer-other-frame.
15721
393a301e
SM
15722 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
15723 Use display-buffer-other-frame.
3199b96f
CY
15724 (gdb-display-gdb-buffer): Use pop-to-buffer.
15725
15726 * progmodes/gud.el (gud-goto-info): Use info-other-window.
15727
15728 * progmodes/python.el: Don't set same-window-buffer-names.
15729
15730 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
15731
15732 * window.el (display-buffer-alist): Add *Python*.
15733
8319e0bf
CY
157342011-09-10 Chong Yidong <cyd@stupidchicken.com>
15735
15736 * window.el (display-buffer-alist): Add entry for buffers
15737 previously handled same-window-*.
15738 (display-buffer-alist, display-buffer-default-action)
15739 (display-buffer-overriding-action): Mark as risky.
15740 (display-buffer-alist): Document action function changes.
15741 (display-buffer--same-window-action)
15742 (display-buffer--other-frame-action): New variables.
15743 (switch-to-buffer, display-buffer-other-frame): Use them.
15744 (display-buffer): Rename reuse-frame entry to reusable-frames.
15745 (display-buffer-reuse-selected-window): Function deleted.
15746 (display-buffer-reuse-window): Handle reusable-frames alist entry.
15747 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
15748 (display-buffer-special): New function.
15749 (display-buffer--maybe-pop-up-frame-or-window): Rename from
15750 display-buffer-reuse-or-pop-window. Split off special-display
15751 part into display-buffer-special.
15752 (display-buffer-use-some-window): Don't perform any special
15753 pop-up-frames handling.
15754 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 15755 (display-buffer--maybe-same-window): Rename from
0d3ff375 15756 display-buffer-maybe-same-window.
8319e0bf 15757
919a69aa
CY
15758 * info.el: Don't set same-window-regexps.
15759 (info-setup): New function.
15760 (info-other-window, info): Call it.
15761
15762 * cus-edit.el: Don't set same-window-regexps.
15763 (customize-group): New argument.
15764 (customize-group-other-window): Use it.
15765 (customize-face, customize-face-other-window): Likewise.
15766 (custom-buffer-create-other-window): Use pop-to-buffer directly.
15767
8319e0bf
CY
15768 * net/rlogin.el:
15769 * net/telnet.el:
15770 * progmodes/gud.el: Don't set same-window-regexps.
15771
15772 * cmuscheme.el:
15773 * ielm.el:
15774 * shell.el:
15775 * mail/sendmail.el:
15776 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
15777
25173000
JL
157782011-09-10 Juri Linkov <juri@jurta.org>
15779
15780 * isearch.el (isearch-edit-string): Remove obsolete mention of
15781 `C-w' (`isearch-yank-word-or-char') from docstring.
15782 (isearch-query-replace): Fix typo in docstring (bug#9466).
15783
056e44ef
JL
157842011-09-10 Juri Linkov <juri@jurta.org>
15785
15786 * paren.el (show-paren-function): Don't show escaped parens.
15787 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
15788
c3760c17
EZ
157892011-09-10 Eli Zaretskii <eliz@gnu.org>
15790
15791 * mail/sendmail.el (mml-to-mime, mml-attach-file)
15792 (mm-default-file-encoding): Remove autoload forms, they are
15793 replaced with autoload cookies in mml.el and mm-encode.el.
15794 (mail-add-attachment): New command.
15795 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
15796 (mail-mode): Mention mail-insert-file and mail-add-attachment in
15797 the doc string.
15798 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
15799
fece895e
RT
158002011-09-10 Reuben Thomas <rrt@sc3d.org>
15801
e69df516
SM
15802 * simple.el (count-words-region): Use buffer if there's no region
15803 (bug#9429).
fece895e 15804
5e68ce4a
JL
158052011-09-09 Juri Linkov <juri@jurta.org>
15806
15807 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
15808 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
15809 (wdired-isearch-filter-read-only): New function. (Bug#6362)
15810
0a6b9622
AM
158112011-09-09 Alan Mackenzie <acm@muc.de>
15812
15813 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
15814 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
15815
14a29deb
EZ
158162011-09-09 Eli Zaretskii <eliz@gnu.org>
15817
15818 Fix for Savannah bug#9392.
15819 * simple.el (mail-encode-mml): New defvar.
15820
15821 * mail/rmail.el (mail-encode-mml): Add a defvar.
15822 (rmail-enable-mime-composing): Default to t.
15823 (rmail-forward): Use MIME method of forwarding only if both
15824 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
15825 Set mail-encode-mml non-nil if the MIME method was used.
15826
15827 * mail/sendmail.el (mml-to-mime): Add autoload form.
15828 (mail-encode-mml): Add a defvar.
15829 (mail-mode): Make mail-encode-mml buffer-local and initialize it
15830 to nil.
15831 (mail-send): If mail-encode-mml is non-nil, run the outgoing
15832 message through mml-to-mime, and reset mail-encode-mml to nil.
15833
28c45130
GM
158342011-09-09 Glenn Morris <rgm@gnu.org>
15835
15836 * woman.el (woman-if-body): When processing an .el block,
15837 do not delete the next .el block as well. (Bug#9447)
69f4b618 15838 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 15839
9b1c252e
MR
158402011-09-08 Martin Rudalics <rudalics@gmx.at>
15841
15842 * window.el (window-deletable-p): Make sure window is live before
15843 invoking window-prev-buffers.
15844
567457e3
LL
158452011-09-08 Leo Liu <sdl.web@gmail.com>
15846
15847 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
15848
97f05794
JL
158492011-09-08 Juri Linkov <juri@jurta.org>
15850
15851 * progmodes/compile.el (compilation-environment): Make it
15852 a defcustom (bug#8340).
15853
8b0874b5
MR
158542011-09-08 Martin Rudalics <rudalics@gmx.at>
15855
15856 * window.el (frame-auto-delete): Rename to window-auto-delete.
15857 Make it control auto-deletion of windows and/or frames.
15858 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 15859 for deleting window/frame. (Bug#9419)
8b0874b5
MR
15860 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
15861 Rewrite handling of case when window/frame can be deleted.
15862 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 15863 argument t. (Bug#9456)
8b0874b5 15864
4feb6e73
CY
158652011-09-07 Chong Yidong <cyd@stupidchicken.com>
15866
15867 * help-mode.el (help-mode): Restore autoload.
15868
91ab9c13
JL
158692011-09-07 Juri Linkov <juri@jurta.org>
15870
15871 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
15872 `compilation-environment'. Set buffer-local
15873 `compilation-environment' to `thisenv' later after (funcall mode).
15874 (Bug#8340)
15875
15876 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
15877 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
15878 instead of replacing its value. (Bug#8340)
15879
0527e251
JL
158802011-09-07 Juri Linkov <juri@jurta.org>
15881
15882 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
15883 based on text properties put by `grep-filter' instead of matching
15884 escape sequences.
15885 (grep-mode): Set buffer-local `compilation-error-screen-columns'
15886 to the value of `grep-error-screen-columns' (bug#9438).
15887
249f792c
JL
158882011-09-07 Juri Linkov <juri@jurta.org>
15889
15890 * simple.el (next-error-highlight, next-error-highlight-no-select):
15891 Doc fix (bug#9432).
15892
ff7271b9
OT
158932011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
15894
15895 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15896 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
15897
183fc730
LL
158982011-09-07 Leo Liu <sdl.web@gmail.com>
15899
15900 * net/rcirc.el (rcirc-mode): Conditionally initialize
15901 rcirc-input-ring.
15902
77694924
SM
159032011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
15904
15905 * emacs-lisp/find-func.el (find-function-C-source): Only set
15906 find-function-C-source-directory after checking that we found a source
15907 file there (bug#9440).
15908
d809b8eb
AM
159092011-09-06 Alan Mackenzie <acm@muc.de>
15910
15911 * isearch.el (isearch-other-meta-char): Wherever a key list is
15912 unread, "unread" the prefix arg, too. This fixes bug #8901.
15913
453de99f
OG
159142011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
15915
15916 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
15917
90439906
JL
159182011-09-05 Juri Linkov <juri@jurta.org>
15919
15920 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
15921
f62bd846
JL
159222011-09-05 Juri Linkov <juri@jurta.org>
15923
15924 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
15925 keeping point where processing of grep matches begins, and
15926 continue to delete remaining escape sequences from the same point.
15927 (grep-filter): Make leading zero optional in "0?1;31m" because
15928 git-grep emits "\033[1;31m" escape sequences unlike expected
15929 "\033[01;31m" as GNU Grep does (bug#9408).
15930 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
15931
045820ec
JL
159322011-09-05 Juri Linkov <juri@jurta.org>
15933
15934 * subr.el (y-or-n-p): Capitalize "yes".
15935
f5e29b9b
MA
159362011-09-04 Michael Albinus <michael.albinus@gmx.de>
15937
15938 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
15939 `tramp-cache-unload-hook' where appropriate.
15940 (tramp-methods): Rename `tramp-remote-sh' to
15941 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
15942 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
15943
15944 * net/tramp-sh.el (top): Don't require 'shell.
15945 (tramp-methods): Add `tramp-remote-shell' and
15946 `tramp-remote-shell-args' entries.
15947 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
15948 (tramp-sh-handle-shell-command): Remove.
15949 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
15950 Use `tramp-remote-shell'.
15951
2784c434
CY
159522011-09-03 Chong Yidong <cyd@stupidchicken.com>
15953
393a301e 15954 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
15955 (sendmail-query-once): Save directly to send-mail-function.
15956 Update message-send-mail-function too.
15957
15958 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
15959
464cdf56
CS
159602011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
15961
15962 * progmodes/python.el (python-mode-map): Use correct function to
15963 start python interpreter from menu-bar (as reported by Geert
15964 Kloosterman).
15965 (inferior-python-mode-map): Fix typo.
393a301e 15966 (python-shell-map): Remove.
464cdf56 15967
d37e5c87
DD
159682011-09-03 Deniz Dogan <deniz@dogan.se>
15969
15970 * net/rcirc.el (rcirc-print): Simplify code for
15971 rcirc-scroll-show-maximum-output. There is no need to walk
15972 through all windows to find the right one.
15973
f3ada0ee
CS
159742011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
15975
15976 * help.el (help-return-method): Doc fix.
15977
1f3c99ca
MR
159782011-09-03 Martin Rudalics <rudalics@gmx.at>
15979
15980 * window.el (window-deletable-p): Don't return a non-nil value
15981 when there's a buffer that was shown in the window before.
15982 (Bug#9419)
393a301e
SM
15983 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
15984 Set window's previous buffers to nil.
1f3c99ca 15985
a3cf097f
EZ
159862011-09-03 Eli Zaretskii <eliz@gnu.org>
15987
15988 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
15989 newline before and after the tag line, so it doesn't interfere
15990 with determining the paragraph direction of bidirectional text.
15991
3d03de90
LL
159922011-09-03 Leo Liu <sdl.web@gmail.com>
15993
15994 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
15995
c3313451
CY
159962011-09-02 Chong Yidong <cyd@stupidchicken.com>
15997
393a301e 15998 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
15999 (pop-to-buffer): Change interactive spec. Pass second argument
16000 directly to display-buffer.
16001 (display-buffer): Fix interactive spec. Use functionp to
16002 distinguish between a function and a list of functions.
16003
16004 * abbrev.el (edit-abbrevs):
16005 * arc-mode.el (archive-extract):
16006 * autoinsert.el (auto-insert):
16007 * bookmark.el (bookmark-bmenu-list):
16008 * files.el (find-file):
16009 * view.el (view-buffer):
16010 * progmodes/compile.el (compilation-goto-locus):
16011 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
16012
89894cd8
CY
160132011-09-02 Chong Yidong <cyd@stupidchicken.com>
16014
16015 * window.el (display-buffer-alist): Doc fix.
16016 (display-buffer): Add docstring. Don't treat
16017 display-buffer-default specially.
16018 (display-buffer-reuse-selected-window)
16019 (display-buffer-same-window, display-buffer-maybe-same-window)
16020 (display-buffer-reuse-window, display-buffer-pop-up-frame)
16021 (display-buffer-pop-up-window)
16022 (display-buffer-reuse-or-pop-window)
16023 (display-buffer-use-some-window): New functions.
16024 (display-buffer-default-action): Use them.
393a301e 16025 (display-buffer-default): Delete.
89894cd8
CY
16026 (pop-to-buffer-1): Fix choice of actions.
16027
ae0bc9fb
SM
160282011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
16029
16030 * minibuffer.el (completion--insert-strings): Don't get confused by
16031 completion entries that end with an LF char.
16032
e9d90883
EZ
160332011-09-01 Eli Zaretskii <eliz@gnu.org>
16034
16035 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
16036
437014c8
CY
160372011-09-01 Chong Yidong <cyd@stupidchicken.com>
16038
16039 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
16040 (display-buffer-same-window, display-buffer-other-window):
16041 New functions.
437014c8
CY
16042 (pop-to-buffer-1): New function. Use the above.
16043 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 16044 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
16045
16046 * view.el (view-buffer-other-window, view-buffer-other-frame):
16047 Just use pop-to-buffer.
16048
a5e063d5
TV
160492011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16050
16051 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
16052
793d32bb
WH
160532011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
16054
16055 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
16056
d65e4c15
RS
160572011-08-31 Richard Stallman <rms@gnu.org>
16058
16059 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
16060 of the separation of rmail-view-buffer from rmail-buffer.
16061 If you say no to "replace original", the decrypt is in the
16062 view buffer. If you say yes, the decrypt goes into the
16063 rmail buffer also.
16064
f818cd2a
MR
160652011-08-31 Martin Rudalics <rudalics@gmx.at>
16066
16067 * window.el (display-buffer-window): Rewrite doc-string.
16068 (display-buffer-record-window): New function.
16069 (display-buffer-macro-specifiers)
16070 (display-buffer-even-window-sizes, display-buffer-set-height)
16071 (display-buffer-set-width, display-buffer-in-window)
16072 (display-buffer-reuse-window, display-buffer-split-specifiers)
16073 (display-buffer-side-specifiers, display-buffer-split-window-1)
16074 (display-buffer-split-window, display-buffer-split-atom-window)
16075 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
16076 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
16077 (display-buffer-other-window-means-other-frame)
16078 (display-buffer-normalize-special)
16079 (display-buffer-normalize-default)
16080 (display-buffer-normalize-argument)
16081 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
16082 (display-buffer-normalize-specifiers, display-buffer-frame)
16083 (display-buffer-same-window, display-buffer-same-frame)
16084 (display-buffer-other-window)
16085 (display-buffer-same-frame-other-window)
16086 (display-buffer-other-frame, pop-to-buffer-same-window)
16087 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
16088 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
16089 (switch-to-buffer-same-frame)
16090 (switch-to-buffer-other-window-same-frame)
16091 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
16092 (display-buffer-alist-set-1, display-buffer-alist-set-2)
16093 (display-buffer-alist-set): Remove.
16094 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
16095 (special-display-regexps, special-display-function):
16096 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
16097 parameter.
16098 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
16099 (special-display-frame-alist, special-display-popup-frame)
16100 (same-window-buffer-names, same-window-regexps, same-window-p)
16101 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16102 (split-window-preferred-function, split-height-threshold)
16103 (split-width-threshold, window-splittable-p)
16104 (split-window-sensibly, window--try-to-split-window)
16105 (window--frame-usable-p, even-window-heights)
16106 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
16107 (window--display-buffer-2, display-buffer-other-frame):
16108 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
16109 (display-buffer-default, display-buffer-assq-regexp): New functions.
16110 (display-buffer-alist): Rewrite doc-string.
16111 (display-buffer-default-action)
16112 (display-buffer-overriding-action): New variables.
16113 (display-buffer, switch-to-buffer): Rewrite.
16114 (pop-to-buffer): Restore Emacs 23 behavior but use
16115 window-normalize-buffer-to-display.
16116 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
16117 Restore Emacs 23 behavior but use
16118 window-normalize-buffer-to-switch-to.
16119 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
16120 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
16121 Rewrite using Emacs 23 options.
f818cd2a 16122
5bc3b51d
MA
161232011-08-31 Michael Albinus <michael.albinus@gmx.de>
16124
16125 * net/tramp.el (tramp-root-regexp): Remove.
16126 (tramp-completion-file-name-regexp-unified)
16127 (tramp-completion-file-name-regexp-separate)
16128 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 16129 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
16130 (tramp-drop-volume-letter): Simplify definition.
16131 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 16132
b1a4f8e1
SM
161332011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
16134
16135 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
16136 (bug#9356).
16137
5664fa7b
RT
161382011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
16139
b1a4f8e1 16140 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 16141
9a45d6c3
JL
161422011-08-29 Juri Linkov <juri@jurta.org>
16143
16144 * isearch.el (isearch-done): Don't display message "Mark saved"
16145 when arg `edit' is non-nil to prevent its flicker in the echo area.
16146
fb87e0fb
CY
161472011-08-28 Chong Yidong <cyd@stupidchicken.com>
16148
16149 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
16150 obsolete packages for deletion.
16151
09ac1c2a
CS
161522011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
16153
16154 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 16155 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
16156 view-mode from help-mode.
16157 (help-xref-override-view-map): Remove.
16158 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
16159 view-mode is not used anymore.
16160
7a1ff57f
CY
161612011-08-28 Chong Yidong <cyd@stupidchicken.com>
16162
16163 * server.el (server-port): Doc fix.
16164
b9696605
CY
16165 * cus-theme.el (custom-theme-choose-mode): Inherit from
16166 special-mode (Bug#9124).
16167 (custom-theme-choose-mode-map): Add special-mode to parent.
16168
ef8cdf8c
AM
161692011-08-28 Alan Mackenzie <acm@muc.de>
16170
16171 * progmodes/cc-fonts.el
16172 (c-make-font-lock-BO-decl-search-function): New function.
16173 (c-basic-matchers-after - "Fontify the clauses after various
16174 keywords"): Extract the three keyword lists for the 3 erroneous
16175 constructs from the list of four, and use the new function above
16176 in place of an old one.
16177
27de4e20
DD
161782011-08-28 Deniz Dogan <deniz@dogan.se>
16179
16180 * net/rcirc.el (rcirc-insert-prev-input)
16181 (rcirc-insert-next-input): Remove unused argument.
16182
356a3681
SM
161832011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
16184
16185 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
16186
3fc9b218
AM
161872011-08-27 Alan Mackenzie <acm@muc.de>
16188
16189 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
16190 handle function pointer parameters properly.
16191
538a061c
MR
161922011-08-27 Martin Rudalics <rudalics@gmx.at>
16193
16194 * window.el (display-buffer-reuse-window): Fix case where
16195 selected window was reused with non-nil OTHER-WINDOW argument.
16196 (Bug#9381)
16197
35b1c40c
DD
161982011-08-27 Deniz Dogan <deniz@dogan.se>
16199
16200 * net/rcirc.el (rcirc-check-auth-status): Adding support for
16201 oftc's NickServ messages.
16202
2f6a3e79
GM
162032011-08-27 Glenn Morris <rgm@gnu.org>
16204
16205 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
16206
7254299e
CY
162072011-08-26 Chong Yidong <cyd@stupidchicken.com>
16208
16209 * emacs-lisp/package.el (package-install): Call package-initialize
16210 if called interactively.
16211
f8ccf167
LL
162122011-08-26 Leo Liu <sdl.web@gmail.com>
16213
16214 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
16215
3e8cd5ce
JL
162162011-08-25 Juri Linkov <juri@jurta.org>
16217
16218 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
16219 `search-whitespace-regexp' (bug#9364).
16220
93eb7113
JL
162212011-08-25 Juri Linkov <juri@jurta.org>
16222
16223 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
16224 `regexp-search-ring' to their global values to protect from
16225 updating by `read-from-minibuffer' (bug#9185).
16226
f65d1611
JL
162272011-08-25 Juri Linkov <juri@jurta.org>
16228
16229 * textmodes/ispell.el (ispell-command-loop): Add newline
16230 at the end of the "Use option `i'..." line.
16231
f1cf7a31
JL
162322011-08-25 Juri Linkov <juri@jurta.org>
16233
16234 * battery.el (display-battery-mode): If `battery-status-function'
16235 or `battery-mode-line-format' is nil, display the message and set
16236 `display-battery-mode' to nil (bug#9363).
16237
0c95fcf7
EZ
162382011-08-25 Eli Zaretskii <eliz@gnu.org>
16239
16240 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
16241 bidi-string-mark-left-to-right; they are unnecessary now.
16242
a2ebe600
DD
162432011-08-25 Deniz Dogan <deniz@dogan.se>
16244
16245 * net/quickurl.el: Documentation typo fixes.
16246
e4ed06f1
CY
162472011-08-25 Chong Yidong <cyd@stupidchicken.com>
16248
16249 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
16250
e5f1c99e
GM
162512011-08-25 Glenn Morris <rgm@gnu.org>
16252
b2948976
GM
16253 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
16254
e5f1c99e
GM
16255 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
16256 (smtpmail-via-smtp): Handle nil response from smtp.
16257
f22f4808
JL
162582011-08-24 Juri Linkov <juri@jurta.org>
16259
16260 * proced.el (proced-marked): Inherit from `error' instead of
16261 `font-lock-warning-face'.
16262
16263 * ibuffer.el (ibuffer-marked-face): Change default face from
16264 `font-lock-warning-face' to `warning'.
16265 (ibuffer-deletion-face): Change default face from
16266 `font-lock-type-face' to `error'.
16267
16268 * battery.el (battery-update): Use the face `error' instead of
16269 `font-lock-warning-face' (bug#6117).
16270
6a93965e
JL
162712011-08-24 Juri Linkov <juri@jurta.org>
16272
16273 * faces.el (success): Change face color from "Green3" to
16274 "ForestGreen" on light background (bug#9353).
16275
1ed43b09
CY
162762011-08-24 Chong Yidong <cyd@stupidchicken.com>
16277
5664fa7b
RT
16278 * window.el (quit-window): Rename from quit-restore-window.
16279 Use same arglist as old quit-window.
1ed43b09
CY
16280 (frame-auto-delete): Doc fix.
16281
16282 * view.el (view-mode-exit): Use quit-window.
16283
11dcdbb2
JL
162842011-08-24 Juri Linkov <juri@jurta.org>
16285
16286 * isearch.el (isearch-ring-adjust1): Start visiting previous
16287 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
16288 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
16289 for empty search string (when the last search string is reused
16290 automatically) to adjust the isearch ring to the last element and
16291 prepare the correct index for further M-p commands (bug#9185).
16292
de62b4df
KH
162932011-08-24 Kenichi Handa <handa@m17n.org>
16294
16295 * international/ucs-normalize.el: If decomposition property of
16296 CHAR is the default one (i.e. a list of CHAR itself), treat it as
16297 nil.
16298 (nfd, nfkd): Likewise.
16299
963b492b
SM
163002011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
16301
16302 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
16303 from process filters aren't reliably transmitted to the surrounding
16304 accept-process-output.
16305 (mpc-proc-check): New function.
16306 (mpc-proc-sync): Use it (bug#8293)
16307
93b6b5e1
SM
163082011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
16309
16310 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
16311 Add compatibility functions (bug#9313).
16312
bca633fb
EZ
163132011-08-23 Eli Zaretskii <eliz@gnu.org>
16314
b177498a
EZ
16315 * cus-start.el (all): Add entry for bidi-paragraph-direction.
16316
6df6ae42 16317 * international/uni-bidi.el: Regenerate.
bca633fb 16318
0902a04e
KH
163192011-08-23 Kenichi Handa <handa@m17n.org>
16320
16321 * international/charprop.el:
16322 * international/uni-bidi.el:
16323 * international/uni-category.el:
16324 * international/uni-combining.el:
16325 * international/uni-comment.el:
16326 * international/uni-decimal.el:
16327 * international/uni-decomposition.el:
16328 * international/uni-digit.el:
16329 * international/uni-lowercase.el:
16330 * international/uni-mirrored.el:
16331 * international/uni-name.el:
16332 * international/uni-numeric.el:
16333 * international/uni-old-name.el:
16334 * international/uni-titlecase.el:
16335 * international/uni-uppercase.el: Regenerate.
16336
3bbf23bc
MR
163372011-08-23 Martin Rudalics <rudalics@gmx.at>
16338
16339 * help.el (help-window-setup): Fix message displayed when other
16340 window is reused. (Bug#9341)
16341
b3fd59bd
SM
163422011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
16343
1802e444
SM
16344 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
16345 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
16346
b3fd59bd
SM
16347 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
16348 Mark obsolete.
16349 * shell.el (shell-parse-pcomplete-arguments): New function.
16350 (shell-completion-vars): Use it instead (bug#9160).
16351
4eb61348
SM
163522011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
16353
867cab74
SM
16354 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
16355 strings and comments (bug#9333).
16356
4eb61348
SM
16357 * emacs-lisp/debug.el (debug-arglist): New function.
16358 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
16359 (debug-on-entry-1): Handle interpreted closures (bug#9120).
16360
262a1439
JL
163612011-08-22 Juri Linkov <juri@jurta.org>
16362
56ee679c
JL
16363 * progmodes/compile.el (compilation-mode-font-lock-keywords):
16364 Revert regexp that highlights output switches to its old
16365 pre-2010-10-28 value and remove one `?' from it (bug#9319).
16366
262a1439
JL
16367 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
16368 to check for empty output (bug#9226).
16369
f13f86fb
CY
163702011-08-22 Chong Yidong <cyd@stupidchicken.com>
16371
16372 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
16373 symbol-constituent as the default, as that stops font-lock from
16374 working properly (Bug#8843).
16375
c65c9622
LMI
163762011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16377
16378 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
16379 `coding-system-for-*' around the process open call to avoid
16380 auth-source side effects.
e7f2c178 16381 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
16382 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
16383 probe hangs.
c65c9622 16384
23a8a5ab
CY
163852011-08-21 Chong Yidong <cyd@stupidchicken.com>
16386
ff98b2dd
CY
16387 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
16388
23a8a5ab
CY
16389 * emacs-lisp/find-func.el (find-function-noselect): New arg
16390 lisp-only.
16391
16392 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
16393 signal an error for built-in functions (Bug#6664).
16394
f5e3c598
LMI
163952011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16396
16397 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
16398 (smtpmail-try-auth-methods): Use it.
16399
a3f2468a
CY
164002011-08-21 Chong Yidong <cyd@stupidchicken.com>
16401
2c34e8da
CY
16402 * font-lock.el (font-lock-fontify-region)
16403 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
16404 (font-lock-default-unfontify-buffer)
16405 (font-lock-default-fontify-region)
16406 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
16407
b3fd59bd
SM
16408 * progmodes/compile.el (compilation-error-properties):
16409 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
16410 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
16411 `ant' regexp.
ee31aabc 16412
a3f2468a
CY
16413 * net/browse-url.el (browse-url-firefox): Don't call
16414 browse-url-firefox-sentinel unless using -remote (Bug#9328).
16415
8e999f70
GM
164162011-08-20 Glenn Morris <rgm@gnu.org>
16417
c21a496a
GM
16418 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
16419
59ee0542
GM
16420 * tutorial.el (tutorial--default-keys): Update some default bindings.
16421
8e999f70
GM
16422 * files.el (hack-local-variables): Fully ignore case for "mode:".
16423
e3715033
AM
164242011-08-20 Alan Mackenzie <acm@muc.de>
16425
16426 Resolve invalid use of a regexp in regexp-opt.
16427
4d61f28d
JB
16428 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
16429 detection for a java annotation.
e3715033 16430
4d61f28d 16431 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
16432 detection for a java annotation.
16433
4d61f28d
JB
16434 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
16435 handling for java.
e3715033
AM
16436 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
16437
04ed2e9c
CY
164382011-08-20 Chong Yidong <cyd@stupidchicken.com>
16439
16440 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
16441 (Bug#9274).
16442
826cee64
AM
164432011-08-20 Alan Mackenzie <acm@muc.de>
16444
58179cce 16445 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
16446 such a construct. Mainly for when jit-lock etc. starts a chunk
16447 here.
16448
58179cce 16449 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 16450 variable.
58179cce 16451 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
16452 c-make-font-lock-search-function.
16453 (c-make-font-lock-search-function): Use the above function.
16454 (c-make-font-lock-context-search-function): New function.
16455 (c-cpp-matchers): Enhance the preprocessor expression case with
16456 the above function
16457 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
16458 which takes an expression.
16459
16460 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
16461
13009bd8
MR
164622011-08-20 Martin Rudalics <rudalics@gmx.at>
16463
16464 * window.el (display-buffer-reuse-window)
16465 (display-buffer-pop-up-window): Don't reuse or split a side
16466 window.
16467
9234ff7f
GM
164682011-08-19 Glenn Morris <rgm@gnu.org>
16469
16470 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 16471 Downcase "Mode:". (Bug#9331)
9234ff7f 16472
f635daa1
CY
164732011-08-18 Chong Yidong <cyd@stupidchicken.com>
16474
16475 * international/characters.el: Add L and R categories.
16476
16477 * subr.el (bidi-string-mark-left-to-right): Rename from
16478 string-mark-left-to-right. Use category search.
16479
16480 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
16481
bc987f8b
JL
164822011-08-18 Juri Linkov <juri@jurta.org>
16483
16484 * faces.el (error, warning, success): New faces with definitions
16485 copied from old default values of `font-lock-warning-face',
16486 `compilation-warning', `compilation-info' (bug#6117).
16487
16488 * font-lock.el (font-lock-warning-face): Inherit from `error'.
16489
16490 * progmodes/compile.el (compilation-error): Inherit from `error'.
16491 (compilation-warning): Inherit from `warning'.
16492 (compilation-info): Inherit from `success'.
16493
16494 * dired.el (dired-marked): Inherit from `warning'.
16495 (dired-flagged): Inherit from `error'.
16496
57173b96
LMI
164972011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
16498
3e79eb87
LMI
16499 * mail/smtpmail.el (auth-source): Require to avoid problems with
16500 binding variables (bug#9298). Also clean up some unused
16501 autoloads.
16502
b3fd59bd
SM
16503 * net/network-stream.el (network-stream-open-starttls):
16504 Support using starttls.el without using gnutls-cli.
57173b96 16505
02b404de
JL
165062011-08-17 Juri Linkov <juri@jurta.org>
16507
16508 * progmodes/grep.el (rgrep): Handle the case when
16509 `grep-find-command' is a cons cell (bug#9278).
16510
8c9177f2
MR
165112011-08-17 Martin Rudalics <rudalics@gmx.at>
16512
16513 * window.el (display-buffer-pop-up-frame): Run frame creation
16514 function with BUFFER current (as special-display-popup-frame
16515 does). Reported by Drew Adams.
16516
3644a0ab
DU
165172011-08-17 Daiki Ueno <ueno@unixuser.org>
16518
16519 * epa-mail.el: Simplify GnuPG group expansion using
16520 epg-expand-group.
16521 (epa-mail-group-alist, epa-mail-group-modtime)
16522 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
16523 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
16524 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
16525 Remove.
16526
5e617bc2 165272011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
16528
16529 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
16530
9c4aeabf
AM
165312011-08-16 Alan Mackenzie <acm@muc.de>
16532
16533 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
16534 Correct, to avoid the inside of macros.
16535
3a99bf64
RS
165362011-08-16 Richard Stallman <rms@gnu.org>
16537
04963aa8
RS
16538 * epa-mail.el: Handle GnuPG group definitions.
16539 (epa-mail-group-alist, epa-mail-group-modtime)
16540 (epa-mail-gnupg-conf-file): New variables.
16541 (epa-mail-parse-groups, epa-mail-sync-groups)
16542 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
16543 (epa-mail-expand-recipients): New functions.
16544 (epa-mail-encrypt): Call epa-mail-expand-recipients.
16545
177549d0
RS
16546 * mail/rmail.el (rmail-epa-decrypt): New command.
16547
fe38beef
RS
16548 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
16549 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
16550 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
16551 (epa-decrypt-armor-in-region): Make error message clearer.
16552
934eacb9
SM
165532011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
16554
16555 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
16556 and "a2b" to "ab" for `prefix'.
16557
d024fb4e
CY
165582011-08-14 Chong Yidong <cyd@stupidchicken.com>
16559
16560 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
16561 filter groups.
de148fee
CY
16562 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
16563 Fourquet (Bug#8804).
d024fb4e 16564
62f1ca49
JB
165652011-08-12 Juanma Barranquero <lekktu@gmail.com>
16566
16567 * startup.el (argi): Declare as global variable (bug#9275).
16568
9ccaaa4b
CY
165692011-08-12 Chong Yidong <cyd@stupidchicken.com>
16570
16571 * subr.el (string-mark-left-to-right): Search the entire string
16572 for RTL script, not just the terminating character. Doc fix.
16573
a3dae87a
SM
165742011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
16575
6cd18349
SM
16576 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
16577 New function.
16578 (js--regexp-literal, js-syntax-propertize-function): Remove.
16579 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
16580 (js-mode-map): Don't rebind electric keys.
16581 (js-insert-and-indent): Remove.
16582 (js-mode): Setup electric-layout and electric-indent instead.
16583
a3dae87a
SM
16584 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
16585
9d5cb631
DU
165862011-08-12 Daiki Ueno <ueno@unixuser.org>
16587
16588 * epa.el (epa-progress-callback-function): Fix the logic of
16589 displaying progress.
16590 * epa-file.el (epa-file-insert-file-contents): Make progress
16591 display more user-friendly.
16592 (epa-file-write-region): Ditto.
16593
3e26a4a2
CY
165942011-08-10 Chong Yidong <cyd@stupidchicken.com>
16595
16596 * subr.el (string-mark-left-to-right): New function.
16597
16598 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
16599 Use string-mark-left-to-right.
16600 (list-buffers-noselect): Caller changed.
16601
a3dae87a
SM
16602 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16603 Use string-mark-left-to-right.
3e26a4a2
CY
16604 (tabulated-list-print): Recenter after moving point.
16605
ac8cf6e6
JL
166062011-08-10 Juri Linkov <juri@jurta.org>
16607
16608 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
16609 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
16610 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
16611
8d96c9a4
CY
166122011-08-09 Chong Yidong <cyd@stupidchicken.com>
16613
16614 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
16615 (Bug#7554).
16616
7be1c708 166172011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
16618
16619 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
16620 character. (Bug#6594)
16621
37e11a63
CY
166222011-08-08 Chong Yidong <cyd@stupidchicken.com>
16623
839dde57
CY
16624 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
16625 (image-dired--with-db-file): New macro.
16626 (image-dired-write-tags, image-dired-remove-tag)
16627 (image-dired-create-gallery-lists, image-dired-write-comments)
16628 (image-dired-get-comment, image-dired-mark-tagged-files)
16629 (image-dired-list-tags, image-dired-gallery-generate): Use it.
16630 (image-dired-gallery-generate): Use insert-file-contents.
16631
37e11a63
CY
16632 * time.el (display-time-world-list, display-time-world-display):
16633 * time-stamp.el (time-stamp-string):
16634 * vc/add-log.el (add-change-log-entry): Use setenv instead of
16635 set-time-zone-rule (Bug#7337).
16636
0b4946c4
DU
166372011-08-08 Daiki Ueno <ueno@unixuser.org>
16638
16639 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
16640 (epg-error-to-string, epg-errors-to-string): New function.
16641 (epg-wait-for-completion): Reverse errors list.
16642 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
16643 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
16644 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
16645 (epg-sign-keys, epg-generate-key-from-file)
16646 (epg-generate-key-from-string): Format errors by using
16647 epg-errors-to-string (bug#9255).
16648 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
16649
75bfc667
JL
166502011-08-07 Juri Linkov <juri@jurta.org>
16651
16652 * faces.el (list-faces-display): Remove extra angle bracket
16653 from `help-mode-map'.
16654
16655 * info.el (Info-history-toc-nodes): Doc fix.
16656
16657 * longlines.el (longlines-mode): Doc fix.
16658
673e08bb
SM
166592011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
16660
4640dd88
SM
16661 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
16662 of statements and in a few more cases (bug#9183).
16663
673e08bb
SM
16664 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
16665 New functions.
16666 (cl-transform-lambda): Use them (bug#9239).
16667
89b3f019
MR
166682011-08-05 Martin Rudalics <rudalics@gmx.at>
16669
16670 * window.el (display-buffer-same-window)
16671 (display-buffer-same-frame, display-buffer-other-window)
16672 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
16673 (pop-to-buffer-other-window)
16674 (pop-to-buffer-same-frame-other-window)
16675 (pop-to-buffer-other-frame): Make them defuns.
16676 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
16677
640c8776
SM
166782011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
16679
16680 * subr.el (make-composed-keymap): Move from C. Change calling
16681 convention, and improve docstring to bring attention to a subtle point.
16682 * minibuffer.el (completing-read-default): Adjust accordingly.
16683
63648a95
MA
166842011-08-03 Michael Albinus <michael.albinus@gmx.de>
16685
16686 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
16687 (tramp-open-shell): Use `tramp-shell-quote-argument'.
16688
16689 * net/trampver.el: Update release number.
16690
b796c9b7
SM
166912011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
16692
16693 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
16694 "in" (bug#9190).
16695
2239d7d5
LMI
166962011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16697
e07dd7c3
LMI
16698 * mail/sendmail.el (sendmail-query-once): Restore the current
16699 buffer after querying (bug#9074).
16700
0e6a2bd7
LMI
16701 * dired.el (dired-flagged): Use different faces for marked and
16702 flagged files (bug#6117).
16703
ce887515
LMI
16704 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
16705 (bug#4433).
16706
92f2affc
LMI
16707 * ido.el (ido-mode): Switch off the message if called
16708 non-interactively.
16709
57d5aff0
LMI
16710 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
16711 before 587, since it appears that that's more likely to work for
16712 more people.
16713
98cd6c18 16714 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 16715 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
16716 exist.
16717
b96dec83
LMI
16718 * info.el: Remove the `Info-beginning-of-buffer' function
16719 (bug#8325).
16720
b796c9b7
SM
16721 * net/network-stream.el (network-stream-open-starttls):
16722 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 16723
d90e2ea0
MR
167242011-08-01 Martin Rudalics <rudalics@gmx.at>
16725
16726 * window.el (display-buffer-in-window): Don't set dedicated status
16727 of window here (Bug#9215).
16728 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
16729 (display-buffer-pop-up-side-window)
b796c9b7 16730 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 16731
cca09170
SM
167322011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
16733
16734 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
16735 before binding generated-autoload-file.
16736
027b979c
DD
167372011-08-01 Deniz Dogan <deniz@dogan.se>
16738
16739 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
16740
3c7ee4f3
MA
167412011-07-30 Michael Albinus <michael.albinus@gmx.de>
16742
16743 Sync with Tramp 2.2.2.
16744
16745 * net/trampver.el: Update release number.
16746
2cc8e51a
JL
167472011-07-30 Juri Linkov <juri@jurta.org>
16748
16749 * dired-aux.el (dired-touch-initial): Remove function.
16750 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
16751 current time, and `default' to the last modification time of the
16752 current marked file (bug#6887).
16753
a514d856
JM
167542011-07-28 Jose E. Marchesi <jemarch@gnu.org>
16755
16756 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 16757 numeric argument to read-number (bug#9163).
a514d856 16758
8a7eddd7
MA
167592011-07-27 Michael Albinus <michael.albinus@gmx.de>
16760
16761 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
16762 connection process, it could be nil.
16763
1ddd96f5
LL
167642011-07-27 Leo Liu <sdl.web@gmail.com>
16765
16766 Simplify url handling in rcirc-mode.
16767
16768 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
16769 (rcirc-browse-url-at-mouse): Remove.
16770 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
16771
b248a85d
AM
167722011-07-26 Alan Mackenzie <acm@muc.de>
16773
16774 Fontify bitfield declarations properly.
16775
16776 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
16777 (c-symbol-chars): Now exported as a lang variable.
16778 (c-not-primitive-type-keywords): New lang variable.
16779
16780 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
16781 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 16782 parsed as a bitfield declaration.
b248a85d 16783
b796c9b7
SM
16784 * progmodes/cc-engine.el (c-beginning-of-statement-1):
16785 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
16786 (c-punctuation-in): New function.
16787 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
16788 declarations properly.
16789
68575ab0
UJ
167902011-07-26 Ulf Jasper <ulf.jasper@web.de>
16791
16792 * calendar/icalendar.el (icalendar--all-events): Take care of
16793 multiple vcalendars in a single file.
b796c9b7 16794 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 16795
0f0a88b9
DD
167962011-07-25 Deniz Dogan <deniz@dogan.se>
16797
16798 * image.el (insert-image): Clarifying docstring.
16799
0b3f36df
MA
168002011-07-24 Michael Albinus <michael.albinus@gmx.de>
16801
16802 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
16803 `tramp-send-command-and-check' if there is no error.
16804 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
16805
a9901f61
AM
168062011-07-22 Alan Mackenzie <acm@muc.de>
16807
16808 Prevent cc-langs.elc being loaded at run time.
16809
16810 * progmodes/cc-mode.el: Remove two autoload forms which loaded
16811 cc-langs.
16812
4d61f28d 16813 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
16814 "(require 'cc-langs)". Quote a form so it will evaluate at
16815 (cc-mode's) compilation time.
16816
11d074b2
MA
168172011-07-22 Michael Albinus <michael.albinus@gmx.de>
16818
16819 * net/tramp.el (tramp-file-name-handler): Avoid recursive
16820 loading. (Bug#9114)
16821
938b94c8
MR
168222011-07-21 Martin Rudalics <rudalics@gmx.at>
16823
16824 * window.el (display-buffer-pop-up-window)
16825 (display-buffer-pop-up-side-window)
16826 (display-buffer-in-side-window): Call display-buffer-set-height
16827 and display-buffer-set-width after setting the new window's
b796c9b7 16828 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 16829
bfa4f190
SS
168302011-07-20 Sam Steingold <sds@gnu.org>
16831
16832 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
16833 (etags-tags-included-tables): Call `convert-standard-filename' on
16834 the file names contained in TAGS so that windows Emacs can handle
16835 TAGS files created by cygwin ctags.
16836
8ca42262
LMI
168372011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
16838
16839 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
16840 which apparently didn't work.
16841
5db2afd2 168422011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 16843
5db2afd2
RW
16844 * proced.el (proced-send-signal): For *Marked Processes* buffer
16845 put point at beginning of buffer.
16846
92e15d10
SB
168472011-07-19 Stephen Berman <stephen.berman@gmx.net>
16848
16849 * proced.el (proced-format): Make header lines align with the text
16850 (bug#1779).
16851
1bfd59e5
LMI
168522011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
16853
16854 * view.el (view-buffer): Allow running in `special' modes if we're
16855 visiting a file (bug#8615).
16856
f5aae37c
MR
168572011-07-19 Martin Rudalics <rudalics@gmx.at>
16858
16859 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
16860 (display-buffer-alist-set-1, display-buffer-alist-set-2):
16861 New functions.
f5aae37c
MR
16862 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
16863 more accurately.
16864
bf2c1571
AM
168652011-07-18 Alan Mackenzie <acm@muc.de>
16866
16867 Fontify declarators properly when, e.g., a jit-lock chunk begins
16868 inside a declaration.
16869
16870 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
16871
b796c9b7
SM
16872 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
16873 New function.
bf2c1571
AM
16874 (c-complex-decl-matchers): Insert reference to
16875 c-font-lock-enclosing-decls.
16876
16877 * progmodes/cc-engine.el (c-backward-single-comment):
16878 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
16879 to nil around calls to (forward-comment -1).
16880
4e190b80
LMI
168812011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
16882
12dc863d
LMI
16883 * image.el (put-image): Doc typo fix.
16884
a762e966
LMI
16885 * progmodes/etags.el (tags-search): Doc typo fix.
16886
4e190b80
LMI
16887 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
16888 password if we get errors 550 to 554.
16889
f019fb21
LMI
168902011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
16891
b796c9b7 16892 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 16893
81746738
LMI
16894 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
16895 indentation character (bug#6380).
16896
3ee3a1b5
LMI
16897 * files.el (buffer-offer-save): Made permanently local (bug#6241).
16898
c82f64de
LMI
16899 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
16900 to clarify what the problem is (bug#4291).
16901
f019fb21
LMI
16902 * simple.el (current-kill): Clarify what
16903 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
16904 (auto-fill-mode): Document `auto-fill-function' in relation to
16905 `auto-fill-mode' (bug#2470).
f019fb21 16906
0794775d
LM
169072011-07-16 Lawrence Mitchell <wence@gmx.li>
16908
16909 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
16910 method if slot is read-only (bug#9035).
16911
be39b8cc
MR
169122011-07-16 Martin Rudalics <rudalics@gmx.at>
16913
b796c9b7 16914 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 16915 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
16916 selected before, see discussion of (Bug#8615), (Bug#6954).
16917 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 16918
6ccf7859
GM
169192011-07-15 Glenn Morris <rgm@gnu.org>
16920
16921 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 16922 Respect help-form.
6ccf7859 16923
87e86684
LM
169242011-07-09 Lawrence Mitchell <wence@gmx.li>
16925
16926 * net/gnutls.el (gnutls-min-prime-bits): New variable.
16927 (gnutls-negotiate): Use it.
16928
d6066239
LMI
169292011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16930
b796c9b7
SM
16931 * net/gnutls.el (gnutls-negotiate):
16932 Upcase `gnutls-algorithm-priority'.
d6066239 16933
bd23ebc0
GM
169342011-07-15 Glenn Morris <rgm@gnu.org>
16935
c65bca65
GM
16936 * jka-compr.el (jka-compr-verbose): Move from here...
16937 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
16938 Add missing :version tag.
16939 * info.el: No need to require jka-compr when compiling.
bd23ebc0 16940
478615cc
LMI
169412011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16942
7b41decb
LMI
16943 * net/gnutls.el (gnutls-algorithm-priority): New variable.
16944 (gnutls-negotiate): Use it.
16945
dbc44fcd
LMI
16946 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
16947
06789f97
LMI
16948 * info.el (Info-beginning-of-buffer): New command.
16949 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
16950 announcing `b' as the key (bug#8325).
ab896c37 16951 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 16952
c39da690
LMI
16953 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
16954
3aa5f34b
LMI
16955 * international/mule-cmds.el
16956 (describe-specified-language-support): Make the error message
16957 clearer (bug#8905).
16958
4bf0979f
LMI
16959 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
16960
478615cc
LMI
16961 * isearch.el (isearch-barrier): Add a doc string, since it's
16962 mentioned in a function doc string (bug#8678).
16963
75c68aa1
MR
169642011-07-15 Martin Rudalics <rudalics@gmx.at>
16965
16966 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
16967 buffer argument (Bug#9083) and self-identifying label argument.
16968
a7c33da2
GM
169692011-07-15 Glenn Morris <rgm@gnu.org>
16970
16971 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
16972
2f5c6024
LMI
169732011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
16974
16975 * man.el (Man-fontify-manpage): Fix message when formatting the
16976 man page (bug#7929).
16977
0bb23927 169782011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
16979
16980 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
16981 argument LRM; if non-nil, append an invisible LRM character to the
16982 buffer name.
16983 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
16984 last argument non-nil, when formatting buffer names.
0bb23927
EZ
16985 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
16986 paragraph direction.
cce4b0a7 16987
621ef9ab
LMI
169882011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
16989
d1583c48
LMI
16990 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
16991 the man page name (bug#7929).
16992
6a57fb5f
LMI
16993 * image.el (put-image): Mention the `put-image' overlay property
16994 (bug#7834).
16995
d7956b14
LMI
16996 * scroll-bar.el (set-scroll-bar-mode): Mention that
16997 `scroll-bar-mode' lists the values (bug#7772).
16998
5b2d4a66
LMI
16999 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
17000 command (bug#7729).
17001
7509a874
LMI
17002 * rect.el (apply-on-rectangle): Return the point after the last
17003 operation.
17004 (string-rectangle): Go to the point after the last operation
17005 (bug#7522).
17006
4fe74b19
LMI
17007 * printing.el (pr-toggle-region): Clarify the documentation
17008 slightly (bug#7493).
17009
b796c9b7
SM
17010 * time.el (display-time-update):
17011 Allow `display-time-mail-function' to return nil (bug#7158).
17012 Fix suggested by Detlev Zundel.
ab283561 17013
fc233c9d
LMI
17014 * vc/diff.el (diff): Clarify the order the file names are read
17015 (bug#7111).
17016
43f5740b
LMI
17017 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
17018 the doc string (bug#7015).
17019
f2182a76
LMI
17020 * font-lock.el (font-lock-maximum-decoration): Mention what
17021 numeric levels mean (bug#6935).
17022
621ef9ab
LMI
17023 * startup.el (initial-buffer-choice): Don't mention the `none'
17024 selection, which is against policy.
17025
adc47434
MR
170262011-07-14 Martin Rudalics <rudalics@gmx.at>
17027
b796c9b7
SM
17028 * window.el (display-buffer-normalize-special):
17029 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 17030
7e5bfb8f
EZ
170312011-07-14 Eli Zaretskii <eliz@gnu.org>
17032
17033 * subr.el (version<, version<=, version=): Mention "-CVS" and
17034 "-12345" alpha version numbers.
17035
27fa387a
CY
170362011-07-14 Chong Yidong <cyd@stupidchicken.com>
17037
17038 * bindings.el: Add advertised binding for set-mark-command
17039 (Bug#5772).
17040
8bdfa064
CY
170412011-07-14 Chong Yidong <cyd@stupidchicken.com>
17042
17043 * bindings.el (mode-line-other-buffer):
17044 * bookmark.el (bookmark-bmenu-2-window):
17045 * bs.el (bs-cycle-next, bs-cycle-previous):
17046 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
17047 switch-to-buffer.
17048
17049 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 17050 Delete.
8bdfa064 17051
5eba16a3
JB
170522011-07-14 Juanma Barranquero <lekktu@gmail.com>
17053
17054 * follow.el (follow-debug-message, follow-redisplay):
17055 * jka-cmpr-hook.el (with-auto-compression-mode):
17056 Fix typos in docstrings.
17057
15853710
LMI
170582011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17059
a28e4607
LMI
17060 * subr.el (with-silent-modifications): Clarify somewhat what the
17061 macro inhibits (bug#6525).
17062
15853710
LMI
17063 * simple.el (eval-expression): Note what it does if called
17064 interactively (bug#6495).
17065
bee0fcef
CY
170662011-07-13 Chong Yidong <cyd@stupidchicken.com>
17067
b796c9b7
SM
17068 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
17069 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
17070
17071 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17072 Remove switch-to-buffer.
17073
58274504
LMI
170742011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17075
bd2fcc8d
LMI
17076 * files.el (make-directory): Clarify that an error will be raised
17077 if there's an error (bug#6397).
17078
0f04b32c
LMI
17079 * startup.el (initial-buffer-choice): Add `none' as a choice
17080 (bug#6234).
17081
465c5fc8
LMI
17082 * subr.el (add-hook): Clarify section about buffer-local hooks
17083 (bug#6218).
17084
58274504
LMI
17085 * dired.el (dired-flagged): Clarify doc string (bug#6117).
17086
bead9a43
JB
170872011-07-13 Juanma Barranquero <lekktu@gmail.com>
17088
17089 * tabify.el (untabify): Preserve the current column so that point
17090 doesn't move (bug#6032).
17091
3af98a7b
LMI
170922011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17093
b796c9b7
SM
17094 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
17095 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 17096
6240145a
GM
170972011-07-13 Glenn Morris <rgm@gnu.org>
17098
17099 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
17100 (dired-insert-directory): Give a message the first time
17101 if ls is found not to support --dired.
17102
1d8c2ccc
LMI
171032011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17104
17105 * simple.el (toggle-truncate-lines): Clarify what is toggled
17106 (bug#5580). Text by Drew Adams.
17107
5fc4038e
CY
171082011-07-13 Chong Yidong <cyd@stupidchicken.com>
17109
17110 * simple.el (blink-matching-open): Make the error message from the
17111 last change less verbose.
17112
bf6012e5
DN
171132011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
17114
17115 * font-lock.el (font-lock-comment-face): Use the high contrast
17116 "yellow" color for font-lock-comment-face on low color terminals
17117 using a dark background color (bug#4221).
17118
343c3b5a
LMI
171192011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17120
7e9505c5
LMI
17121 * dired.el (dired-insert-set-properties): Make the doc string
17122 reflect what it does now (bug#5325).
17123
c26fdcf5
LMI
17124 * simple.el (blink-matching-open): Say that we were unable to find
17125 the match within the limit, if we're limited (bug#5122).
17126
bb388cc5
LMI
17127 * international/mule-cmds.el (prefer-coding-system): Add an
17128 example (bug#4869).
17129
343c3b5a
LMI
17130 * progmodes/etags.el (tags-search): Document `file-list-form'
17131 (bug#4731).
17132
2a517d45
LM
171332011-07-13 Lawrence Mitchell <wence@gmx.li>
17134
17135 * net/browse-url.el (browse-url-default-browser)
17136 (browse-url-browser-function): Make the default browser choice a
17137 bit more logical (bug#4300). Also clean up the doc string.
17138
b6c78ef2
JB
171392011-07-13 Juanma Barranquero <lekktu@gmail.com>
17140
17141 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
17142 binary endings (bug#4440).
17143
1c4dd947
LMI
171442011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17145
a2014063
LMI
17146 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
17147 which can be pretty annoying (bug#8971).
17148
9c9c2d88
LMI
17149 * jka-compr.el (jka-compr-verbose): New variable, and use
17150 throughout (bug#8971).
17151
1c4dd947
LMI
17152 * info.el (Info-find-file): Fall back on the installation
17153 directory if we can't find the info node anywhere else.
17154
a1c9f41b
SO
171552011-07-13 Sergei Organov <osv@javad.com> (tiny change)
17156
17157 * vc/vc.el (vc-revert-file):
17158 Don't set file time-stamp in the past. (Bug#5181)
17159
536f3d36
LMI
171602011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
17161
7152b011
LMI
17162 * files.el (after-find-file): Give a better error message when
17163 trying to find a symlink that points to a file that doesn't exist
17164 (bug#4398).
17165
536f3d36
LMI
17166 * progmodes/cc-vars.el: Remove (probably) misleading comment
17167 (bug#4396).
17168
460c0fba
JB
171692011-07-12 Johan Bockgård <bojohan@gnu.org>
17170
17171 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
17172
7a6bda45
CY
171732011-07-12 Chong Yidong <cyd@stupidchicken.com>
17174
17175 * mouse-sel.el: Hack restoring functionality, while keeping
17176 compatibility with 2010-07-03 changes to mouse selection.
17177 (mouse-sel-primary-overlay): New var.
17178 (mouse-sel-selection-alist): Use it.
17179 (mouse-sel-mode): Doc fix; remove points that are default features
17180 of mouse.el.
17181
c79598ef
JB
171822011-07-12 Johan Bockgård <bojohan@gnu.org>
17183
17184 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17185 Fix previous fix (bug#2490).
17186
ff8be6ef
RW
171872011-07-12 Roland Winkler <winkler@gnu.org>
17188
b796c9b7
SM
17189 * textmodes/bibtex.el (bibtex-initialize):
17190 Use pop-to-buffer-same-window.
ff8be6ef
RW
17191 (bibtex-search-entries): Fix interactive call.
17192
296ba3ee
LMI
171932011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
17194
f5242a02 17195 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
17196 Fontise bytecomp Error lines more correctly (bug#2490).
17197 Fix suggested by Johan Bockgård.
f5242a02 17198
296ba3ee
LMI
17199 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
17200
17201 * dired-x.el (dired-guess-default): Use `delete-dups'.
17202
f69fd0d2
CY
172032011-07-12 Chong Yidong <cyd@stupidchicken.com>
17204
17205 * dired.el (dired-mark-prompt):
17206 * dired-aux.el (dired-read-shell-command): Doc fix.
17207
eab5dc07
LMI
172082011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17209
b796c9b7
SM
17210 * mail/sendmail.el (sendmail-query-once):
17211 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
17212 emacs -Q.
17213
17214 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
17215
eab5dc07
LMI
17216 * cus-edit.el (custom-file): Take an optional no-error variable.
17217 (customize-save-variable): Set the variable, and give a warning if
17218 running under "emacs -q".
17219
a1e65d42
JB
172202011-07-11 Juanma Barranquero <lekktu@gmail.com>
17221
17222 * loadhist.el (unload-feature-special-hooks):
17223 Add `auto-coding-functions', `fill-nobreak-predicate' and
17224 `find-directory-functions' (bug#5327).
17225
1d52da10
LMI
172262011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17227
be958f1d
LMI
17228 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
17229
5bedb26c
LMI
17230 * cus-edit.el (custom-guess-name-alist): -alist variables should
17231 use the `alist' type (bug#3120). Suggested by Drew Adams.
17232
1d52da10
LMI
17233 * printing.el: Add documentation to all the `pr-toggle-' commands.
17234
cd394be1 172352011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
17236
17237 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
17238 backends where it makes sense (bug#2623).
17239
dcc88d8a
LMI
172402011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17241
c3de9feb
LMI
17242 * dired-x.el (dired-guess-default): Remove duplicate shell command
17243 entries (bug#2028).
8a93078b 17244 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 17245 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 17246
dcc88d8a
LMI
17247 * subr.el (remove-duplicates): New conveniency function.
17248
505e3645
LMI
172492011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
17250
17251 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
17252 (bug#1526).
17253
172542011-07-10 Martin Rudalics <rudalics@gmx.at>
17255
17256 * window.el (display-buffer-normalize-default): Don't invert
17257 meaning of even-window-heights. Reported by Eli Zaretskii
17258 <eliz@gnu.org>.
17259
455e4fa1
BR
172602011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
17261
17262 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
17263
8e0bc3e9
CY
172642011-07-10 Chong Yidong <cyd@stupidchicken.com>
17265
17266 * window.el (display-buffer): Fix arguments to
17267 display-buffer-reuse-window in last change.
17268
fa7c3228
CY
17269 * faces.el (link): Use a less saturated blue on light backgrounds.
17270
17271 * startup.el (fancy-startup-text, fancy-about-text)
17272 (fancy-startup-tail): Use font-lock faces, for background safety.
17273
c0a7f300
BN
172742011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
17275
b796c9b7
SM
17276 * emulation/viper-cmd.el (viper-change-state-to-vi):
17277 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 17278
4dc2a129
MR
172792011-07-09 Martin Rudalics <rudalics@gmx.at>
17280
17281 * window.el (display-buffer-default-specifiers): Remove.
17282 (display-buffer-macro-specifiers): Remove default specifiers.
17283 (display-buffer-alist): Default to nil.
b796c9b7 17284 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
17285 (display-buffer-pop-up-window): Allow splitting internal
17286 windows. Check whether a live window was created.
17287 (display-buffer-other-window-means-other-frame)
17288 (display-buffer-normalize-arguments): Rename to
17289 display-buffer-normalize-argument and rewrite. Set the
17290 other-window specifier.
17291 (display-buffer-normalize-special): New function.
17292 (display-buffer-normalize-options): Rename to
17293 display-buffer-normalize-default and rewrite.
17294 (display-buffer-normalize-options-inhibit): Remove.
17295 (display-buffer-normalize-specifiers): Rewrite.
17296 (display-buffer): Process other-window specifier and call
17297 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
17298 more faithfully.
b796c9b7 17299 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 17300 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
17301 (display-buffer-in-window, display-buffer-alist-set):
17302 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
17303 <tassilo@member.fsf.org>.
17304
2d43b8c9
LL
173052011-07-09 Leo Liu <sdl.web@gmail.com>
17306
17307 * register.el (insert-register): Restore accidental change on
17308 2011-06-26. (Bug#9028)
17309
7f9b7c53
GM
173102011-07-09 Glenn Morris <rgm@gnu.org>
17311
17312 * subr.el (remq): Handle the empty list. (Bug#9024)
17313
f042cfd8
AS
173142011-07-08 Andreas Schwab <schwab@linux-m68k.org>
17315
17316 * mail/sendmail.el (send-mail-function): No longer delay custom
17317 initialization.
17318 * custom.el (custom-initialize-delay): Doc fix.
17319
856b2f11
SM
173202011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
17321
17322 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
17323
afae1d68
MA
173242011-07-08 Michael Albinus <michael.albinus@gmx.de>
17325
17326 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
17327 human-friendly prompt.
17328
0757af94
SM
173292011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
17330
17331 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
17332 provided by a particular plugin.
17333
d760b731
LMI
173342011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
17335
17336 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
17337 save customizations (with "emacs -Q"), just set the variable
17338 instead of erroring out.
17339
17340 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
17341
cd79ce90
JL
173422011-07-08 Juri Linkov <juri@jurta.org>
17343
17344 * arc-mode.el (archive-zip-expunge, archive-zip-update)
17345 (archive-zip-update-case): Use 7z if found by `executable-find'.
17346 The order of searching the available programs is the same as in
17347 `archive-zip-extract' (bug#8968).
17348
14cc04aa
CY
173492011-07-07 Chong Yidong <cyd@stupidchicken.com>
17350
17351 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
17352 (menu-bar-options-menu): Tweak descriptions.
17353
0a1848ec
LMI
173542011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
17355
17356 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
17357 menu items into verb phrases (bug#1421). Also refill to fit under
17358 80 columns.
17359
f5bd0689
CY
173602011-07-07 Chong Yidong <cyd@stupidchicken.com>
17361
538e85c6
CY
17362 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
17363 (Info-read-node-name): Doc fix (Bug#1084).
17364
f5bd0689
CY
17365 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
17366 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
17367 (end-of-sexp, beginning-of-sexp)
17368 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
17369 (forward-symbol, forward-same-syntax, word-at-point)
17370 (sentence-at-point): Doc fix (Bug#1144).
17371
56ec5115
LMI
173722011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
17373
f3f8e37f
LMI
17374 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
17375 should cover it (bug#1281).
17376
0757af94 17377 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 17378
e9fce1ac 17379 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
17380 negotiation fails, then possibly try again with a non-encrypted
17381 connection (bug#9017).
17382
56ec5115
LMI
17383 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
17384 be used.
17385
c2f9aec8
RS
173862011-07-07 Richard Stallman <rms@gnu.org>
17387
17388 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
17389 property, and handle its changed format.
17390 Look for the correct line number.
17391 Use file's line contents (but not past first =) to find
17392 correct line in message.
17393
ef7b981d 173942011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
17395
17396 * international/characters.el (build-unicode-category-table):
17397 Delete it.
0757af94 17398 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 17399
0757af94 17400 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
17401 to src/chartab.c.
17402 (get-char-code-property): Call unicode-property-table-internal to
17403 load a file. Call get-unicode-property-internal where necessary.
17404 (put-char-code-property): Call unicode-property-table-internal to
17405 load a file. Call put-unicode-property-internal where necessary.
17406 put-unicode-property-internal where necessary.
0757af94
SM
17407 (char-code-property-description):
17408 Call unicode-property-table-internal to load a file.
c805dec0
KH
17409
17410 * international/charprop.el:
17411 * international/uni-bidi.el:
17412 * international/uni-category.el:
17413 * international/uni-combining.el:
17414 * international/uni-comment.el:
17415 * international/uni-decimal.el:
17416 * international/uni-decomposition.el:
17417 * international/uni-digit.el:
17418 * international/uni-lowercase.el:
17419 * international/uni-mirrored.el:
17420 * international/uni-name.el:
17421 * international/uni-numeric.el:
17422 * international/uni-old-name.el:
17423 * international/uni-titlecase.el:
17424 * international/uni-uppercase.el: Regenerate.
17425
17426 * loadup.el: Load international/charprop.el before
17427 international/characters.
17428
e14b388a
CY
174292011-07-07 Chong Yidong <cyd@stupidchicken.com>
17430
17431 * window.el (next-buffer, previous-buffer): Signal an error if
17432 called from a minibuffer window.
17433
17434 * bindings.el: Revert 2011-07-04 change.
17435
354cf0ba
RS
174362011-07-06 Richard Stallman <rms@gnu.org>
17437
17438 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
17439 (rmail-mime-insert-bulk, rmail-mime-insert-text):
17440 Treat markers like ints.
17441 (rmail-mime-entity): Doc fix.
17442
a48868a7
LMI
174432011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
17444
4906cd3d
LMI
17445 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
17446 defcustom again for backwards compatibility.
17447
e0457abe
LMI
17448 * simple.el (shell-command-on-region): Fill.
17449
d67f7e1f
LMI
17450 * dired-aux.el (dired-kill-line): Add a doc string.
17451
fe204702
LMI
17452 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
17453 to "\\sw\\|\\s_" (bug#358).
17454
a48868a7
LMI
17455 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
17456 (dired-unmark-backward): Ditto.
17457 (dired-flag-backup-files): Ditto.
17458
17459 * dired-x.el (dired-mark-sexp): Ditto.
17460
aa8a705c
RS
174612011-07-06 Richard Stallman <rms@gnu.org>
17462
17463 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
17464 (rmail-mime-entity): New arg TRUNCATED.
17465 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
17466 New functions.
17467 (rmail-mime-save): Warn if entity is truncated.
17468 (rmail-mime-toggle-hidden): Likewise, for showing.
17469 (rmail-mime-process-multipart): Record when an entity is truncated.
17470
a9a936b9
RS
17471 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
17472 if ENTITY is a string.
17473
1f2b92cb
LMI
174742011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
17475
f4f73198 17476 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
17477 of faces when `M-C-x'-ing their definitions (bug#8378).
17478 Also clean up the code slightly.
f4f73198 17479
12b16734 17480 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 17481 because that makes the colors go away.
12b16734 17482
f0691d22
LMI
17483 * mail/sendmail.el (send-mail-function): Change the default to
17484 `sendmail-query-once'.
9e87df06 17485 (sendmail-query-once): Add an autoload cookie.
f0691d22 17486
1f2b92cb
LMI
17487 * net/network-stream.el (network-stream-open-starttls): Try using
17488 a plain connection even if the server offered STARTTLS, and we
17489 kinda wanted to use it, if Emacs doesn't have any STARTTLS
17490 capability. This should make smtpmail.el work in slightly more
17491 configurations.
17492
1cdd2a1b
MA
174932011-07-06 Michael Albinus <michael.albinus@gmx.de>
17494
17495 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
17496 New defun.
17497 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
17498
fbcc67e2
MM
174992011-07-06 Michael R. Mauger <mmaug@yahoo.com>
17500
17501 * progmodes/sql.el: Version 3.0
0757af94 17502 (sql-product-alist): Add product :completion-object,
fbcc67e2 17503 :completion-column, and :statement attributes.
0757af94 17504 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 17505 (sql-mode-syntax-table): Mark all punctuation.
0757af94 17506 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
17507 ansi keywords.
17508 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 17509 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
17510 (sql-oracle-show-reserved-words): New function for development.
17511 (sql-product-font-lock): Simplify for source code buffers.
17512 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
17513 New functions.
17514 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
17515 (sql-mode-map): Add statement movement functions.
17516 (sql-ansi-statement-starters, sql-oracle-statement-starters):
17517 New variable.
fbcc67e2
MM
17518 (sql-statement-regexp, sql-beginning-of-statement)
17519 (sql-end-of-statement, sql-signum): New functions.
0757af94 17520 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
17521 (sql-show-sqli-buffer): Bug fix.
17522 (sql-interactive-mode): Store connection data as buffer local.
0757af94 17523 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
17524 with sql-interactive-mode.
17525 (sql-save-connection): Save buffer local settings.
0757af94 17526 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
17527 (sql-product-interactive): Bug fix.
17528 (sql-preoutput-hold): New variable.
17529 (sql-interactive-remove-continuation-prompt): Bug fixes.
17530 (sql-debug-redirect): New variable.
17531 (sql-str-literal): New function.
17532 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 17533 Redesign.
fbcc67e2
MM
17534 (sql-oracle-save-settings, sql-oracle-restore-settings)
17535 (sql-oracle-list-all, sql-oracle-list-table): New functions.
17536 (sql-completion-object, sql-completion-column)
17537 (sql-completion-sqlbuf): New variables.
17538 (sql-build-completions-1, sql-build-completions)
17539 (sql-try-completion): New functions.
17540 (sql-read-table-name): Use them.
17541 (sql-contains-names): New buffer local variable.
17542 (sql-list-all, sql-list-table): Use it.
17543 (sql-oracle-completion-types): New variable.
17544 (sql-oracle-completion-object, sql-sqlite-completion-object)
17545 (sql-postgres-completion-object): New functions.
17546
d4eaeab1
GM
175472011-07-06 Glenn Morris <rgm@gnu.org>
17548
17549 * window.el (pop-to-buffer): Doc fix.
17550
322b7dab 175512011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
17552
17553 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
17554
322b7dab 175552011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 17556
322b7dab 17557 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 17558
322b7dab 17559 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 17560
605dd5bf
CY
175612011-07-05 Chong Yidong <cyd@stupidchicken.com>
17562
17563 * button.el (button): Inherit from link face. Suggested by Dan
17564 Nicolaescu.
17565
7dbfa719
SM
175662011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
17567
3db614b0
SM
17568 * progmodes/gdb-mi.el: Fit in 80 columns.
17569 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
17570 switch-to-buffer.
17571
7dbfa719
SM
17572 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
17573 if imenu is simply not configured (bug#8941).
17574
919d884a
KM
175752011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
17576
17577 * allout.el (allout-post-undo-hook): New allout outline-change
17578 event hook to signal undo activity.
17579 (allout-post-command-business): Run allout-post-undo-hook if an
17580 undo just occurred.
7dbfa719
SM
17581 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
17582 * allout-widgets.el (allout-widgets-after-undo-function):
17583 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
17584 in the vicinity of an undo.
17585 (allout-widgets-mode): Include allout-widgets-after-undo-function
17586 on the new allout-post-undo-hook.
17587
450a0f09
SM
175882011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
17589
17590 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
17591 Let define-derived-mode define it.
17592 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
17593 cycles of abbrev-table inheritance (bug#8998).
17594
2de69e00
RW
175952011-07-05 Roland Winkler <winkler@gnu.org>
17596
17597 * textmodes/bibtex.el: Add support for biblatex.
17598 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
17599 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
17600 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
17601 (bibtex-entry-alist, bibtex-field-alist): New variables.
17602 (bibtex-entry-field-alist): Obsolete alias for
17603 bibtex-BibTeX-entry-alist.
17604 (bibtex-entry-alist, bibtex-field-alist): New widgets.
17605 (bibtex-set-dialect): New command.
17606 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
17607 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
17608 Bind via bibtex-set-dialect.
2de69e00
RW
17609 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
17610 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
17611 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
17612 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
17613 Define via bibtex-set-dialect.
450a0f09
SM
17614 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
17615 Obey bibtex-no-opt-remove-re.
2de69e00
RW
17616 (bibtex-vec-push, bibtex-vec-incr): New functions.
17617 (bibtex-format-entry, bibtex-field-list)
17618 (bibtex-print-help-message, bibtex-validate)
17619 (bibtex-search-entries): Use new format of bibtex-entry-alist.
17620
2dcdbdd9
SM
176212011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
17622
17623 * progmodes/compile.el (compilation-goto-locus):
17624 * net/tramp-cmds.el (tramp-append-tramp-buffers):
17625 * bs.el (bs-cycle-next, bs-cycle-previous):
17626 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
17627 * bindings.el (mode-line-other-buffer):
17628 * autoinsert.el (auto-insert):
17629 * arc-mode.el (archive-extract):
17630 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
17631
b27640fe
JB
176322011-07-05 Juanma Barranquero <lekktu@gmail.com>
17633
17634 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
17635 Fix check of `emacs-lock-unlockable-modes'.
17636 Coerce true values of `emacs-lock--try-unlocking' to t.
17637
53bbe3ad
JB
176382011-07-05 Juanma Barranquero <lekktu@gmail.com>
17639
17640 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
17641 * emacs-lock.el: New file.
17642
1d3cdbc7
JD
176432011-07-05 Julien Danjou <julien@danjou.info>
17644
17645 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
17646 than `boundp' to check if face is set.
17647
9173deec
JB
176482011-07-05 Juanma Barranquero <lekktu@gmail.com>
17649
17650 * register.el (registerv-make):
17651 * window.el (window-min-height): Fix typos in docstrings.
17652
869795d6
JD
176532011-07-05 Jan Djärv <jan.h.d@swipnet.se>
17654
9173deec 17655 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
17656 Update doc string.
17657
b768cdcd
JB
176582011-07-04 Juanma Barranquero <lekktu@gmail.com>
17659
17660 * server.el (server-execute): Catch quit and call
17661 `server-return-error' to pass the error back to emacsclient and
17662 close the connection (bug#8942).
17663
13aa217b
KM
176642011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
17665
17666 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
17667 insecure exception for current topic. Also note that auto-saves
17668 are handled differently.
17669
5d3385a0 17670 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
17671 State variables for tracking auto-save inhibition situation.
17672
17673 (allout-write-contents-hook-handler): Rename from
17674 'allout-write-file-hook-handler', and describe how it depends on
17675 write-contents-functions sensitivity to non-nil value to prevent
17676 file write.
17677
17678 (allout-auto-save-hook-handler): Remove. auto-save does not check
17679 this in individual buffers, only in the starting buffer, so this
17680 is not the right way for us to inhibit auto-save in a buffer
17681 according to its condition.
17682
17683 (allout-mode): Use new allout-write-contents-hook-handler, and
17684 only with write-contents-functions. Remove auto-save provisions -
17685 they're implemented elsewhere.
17686
17687 (allout-before-change-handler): If undo is in progress, note that
17688 for attention of allout-post-command-business.
17689
17690 (allout-post-command-business): If the command we're following was
17691 an undo, check for change in the status of encrypted items and
17692 adjust auto-save inhibitions accordingly.
17693
17694 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
17695 according to whether there are or aren't any plain-text topics
17696 pending encryption.
17697
2dcdbdd9 17698 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
17699 Adjust buffer-saved-size and some allout state to inhibit auto-saves
17700 if there are plain-text topics pending encryption.
13aa217b
KM
17701
17702 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
17703 buffer-saved-size and some allout state to not inhibit auto-saves
17704 if there are no longer any plain-text topics pending encryption.
17705
0757af94
SM
17706 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
17707 No longer provide for exemption of the current topic.
13aa217b 17708
ac89b32c
JL
177092011-07-04 Juri Linkov <juri@jurta.org>
17710
17711 Add 7z operations to delete and save changed members (bug#8968).
17712 * arc-mode.el (archive-7z-expunge, archive-7z-update):
17713 New defcustoms.
17714 (archive-7z-write-file-member): New function.
17715 (archive-7z-summarize): Fix the number of dashes in the
17716 listing output.
17717
8fa39615
SM
177182011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
17719
17720 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
17721 (bug#8958).
17722
2f11b3f1
CY
177232011-07-04 Chong Yidong <cyd@stupidchicken.com>
17724
d66fef2b
CY
17725 * bindings.el: Ignore next-buffer and previous-buffer in
17726 minibuffer-local-map.
17727
2f11b3f1
CY
17728 * font-lock.el (font-lock-builtin-face): Change light background
17729 color to dark slate blue (Bug#6693).
17730
f932a347
WD
177312011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
17732
17733 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
17734
c8af70e1
SM
177352011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
17736
17737 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
17738 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17739 Add switch-to-buffer.
17740
f158badc
LMI
177412011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
17742
17743 * isearch.el (isearch-search-fun-function): Clarify further the
17744 meaning of the function returned.
17745
6d95bd46
MA
177462011-07-04 Michael Albinus <michael.albinus@gmx.de>
17747
17748 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
17749
17750 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
17751 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
17752 Use it.
17753 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
17754 `tramp-default-remote-path' does not exist.
17755 (tramp-send-command-and-read): New optional argument NOERROR.
17756 (tramp-open-connection-setup-interactive-shell)
17757 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
17758 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
17759 (tramp-process-sentinel): Flush also process' connection property.
17760 (tramp-sh-handle-start-file-process): Do not set process
17761 sentinel. It is done now ...
17762 (tramp-maybe-open-connection): ... here. (Bug#8929)
17763
909e6b67
MK
177642011-07-04 MON KEY <monkey@sandpframing.com>
17765
17766 * play/animate.el (animate-string): Doc fixes and allow changing
17767 the buffer name (bug#5417).
17768
177692011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
17770
c8af70e1 17771 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 17772
f34755dc
PE
177732011-07-04 Paul Eggert <eggert@cs.ucla.edu>
17774
396cec72
PE
17775 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
17776 This is simpler and helps future-proof the code.
17777 (timer-until): Use time-subtract and float-time.
08235028 17778 (timer--time-less-p): Use time-less-p.
f34755dc 17779
56e6cc31
JB
177802011-07-04 Juanma Barranquero <lekktu@gmail.com>
17781
3abb79e5
JB
17782 * type-break.el (timep): Use the value of `float-time' to avoid a
17783 byte-compiler warning.
17784
56e6cc31
JB
17785 * server.el (server-eval-and-print): Return any result, even nil.
17786
7b9430b4
PE
177872011-07-03 Paul Eggert <eggert@cs.ucla.edu>
17788
17789 * type-break.el: Accept time formats that the builtins accept.
17790 (timep, type-break-time-difference): Accept any format that
17791 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
17792 This is simpler and helps future-proof the code.
17793 (type-break-time-difference): Round rather than ignoring
17794 subseconds components.
17795
3034e9e7
LMI
177962011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17797
17798 * info.el (Info-apropos-matches): Make non-interactive, since it
17799 doesn't seem to do anything useful as a command (bug#8829).
17800
1485f4c0
CY
178012011-07-03 Chong Yidong <cyd@stupidchicken.com>
17802
17803 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 17804 Move from faces.el.
1485f4c0
CY
17805 (frame-default-terminal-background): New function.
17806
17807 * custom.el (custom-push-theme): Don't record faces in `changed'
17808 theme; this doesn't work correctly for per-frame face settings.
17809 (disable-theme): Use face-set-after-frame-default to reset faces.
17810 (custom--frame-color-default): New function.
17811
9fa3dd45
LMI
178122011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17813
c8af70e1 17814 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
17815 (bug#8769).
17816
6cbbc20c
KR
178172011-03-29 Kevin Ryde <user42@zip.com.au>
17818
17819 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17820 `perl-Test2' extend to match possible "fail #N" rep count
17821 (bug#8377).
17822
c7f98048
LMI
178232011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17824
65676592
LMI
17825 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
17826 `smtpmail-via-smtp' now returns the error instead of nil.
17827
c7f98048
LMI
17828 * isearch.el (isearch-search-fun-function): Clarify the doc string
17829 (bug#8101).
17830
56e6cc31 178312011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
17832
17833 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
17834 unnecessary spaces (bug#8987).
17835
2b216704
LMI
178362011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17837
17838 * net/network-stream.el (open-network-stream): Use the
17839 :end-of-capability command thoughout.
17840
178412011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
17842
17843 * net/network-stream.el (open-network-stream): Add the
17844 :end-of-capability command parameter, used by pop3.el.
17845
36adf6ce
LMI
178462011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17847
1ca0da0e
LMI
17848 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
17849
fc00f69c
LMI
17850 * fringe.el (fringe-query-style): Remove redundant text " (type ?
17851 for list)" (bug#6475).
17852
28fd8759 17853 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 17854 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
17855 an error (bug#6297).
17856
0dd8b6da
LMI
17857 * man.el (Man-reference-regexp): Allow matching possible
17858 word-wrapped references (bug#6289).
17859
ce1438d6
LMI
17860 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
17861 for consistency with the other vc buffers (bug#6197).
17862 (vc-checkin): Ditto.
17863
17864 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
17865
36adf6ce
LMI
17866 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
17867
e83cc1f7
LMI
178682011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17869
8a20ca4c
LMI
17870 * custom.el (defcustom): Clarify that :set is only used in the
17871 Customize user interface (bug#6089).
17872
83319045
LMI
17873 * progmodes/flymake.el (flymake-mode): If the buffer isn't
17874 associated with a file, refuse to run instead of erroring out
17875 (bug#6084).
17876
a8392169
LMI
17877 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
17878 the doc string, since it appears that using `fill-column' always
17879 controls the width (bug#7845).
17880
e83cc1f7
LMI
17881 * simple.el (shell-command-on-region): Say where the error output
17882 went if `shell-command-default-error-buffer' is set (bug#6857).
17883
e47ca23b
KM
178842011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
17885
17886 * allout.el (allout-yank-processing): Adjust cursor position for
17887 backwards-deleted space.
17888
17889 (allout-rebullet-heading): Register changes with
17890 allout-exposure-changed-hook, so the modified topic is properly
17891 decorated.
17892
5cf56143
LMI
178932011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17894
08549772
LMI
17895 * minibuffer.el (completion-in-region): Document PREDICATE
17896 (bug#7136).
17897
48e96771
LMI
17898 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
17899 of keyword/argument pairs (bug#6904).
17900
c8af70e1
SM
17901 * replace.el (multi-occur):
17902 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 17903
e17d05e2
LMI
179042011-07-02 Drew Adams <drew.adams@oracle.com>
17905
17906 * dired.el (dired-mark-if): Make the message about whether it's
17907 marking or unmarking clearer (bug#8523).
17908
063b0e45
LMI
179092011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17910
17911 * disp-table.el (display-table-print-array): New function.
17912 (describe-display-table): Use it to print the vectors more pretty
17913 (Bug#8859).
17914
28545e04
MR
179152011-07-02 Martin Rudalics <rudalics@gmx.at>
17916
17917 * window.el (window-state-get-1): Don't assign clone numbers.
17918 Add clone-of item to list of window parameters.
17919 (window-state-put-2): Don't process clone numbers.
17920 (display-buffer-alist): Fix doc-string.
17921
3349e122
SM
179222011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
17923
17924 * subr.el (remq): Don't allocate if it's not needed.
17925 (keymap--menu-item-binding, keymap--menu-item-with-binding)
17926 (keymap--merge-bindings): New functions.
17927 (keymap-canonicalize): Use them to refine the canonicalization.
17928 * minibuffer.el (minibuffer-local-completion-map)
17929 (minibuffer-local-must-match-map): Move initialization from C.
17930 (minibuffer-local-filename-completion-map): Move initialization from C;
17931 don't inherit from anything here.
17932 (minibuffer-local-filename-must-match-map): Make obsolete.
17933 (completing-read-default): Use make-composed-keymap to combine
17934 minibuffer-local-filename-completion-map with either
17935 minibuffer-local-must-match-map or
17936 minibuffer-local-filename-completion-map.
17937
d224ac83
GM
179382011-07-01 Glenn Morris <rgm@gnu.org>
17939
3de63bf8
GM
17940 * type-break.el (type-break-time-sum): Use dolist.
17941
d224ac83
GM
17942 * textmodes/flyspell.el (flyspell-word-search-backward):
17943 Replace CL function.
17944
1a1e3f32
SM
179452011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
17946
fe3f64d5
SM
17947 * mouse.el (mouse--strip-first-event): New function.
17948 (function-key-map): Use it to map fringe clicks to normal clicks
17949 by default.
17950
eb604e34
SM
17951 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
17952 (vc-bzr-revision-completion-table): Add support for annotate and date.
17953
1a1e3f32
SM
17954 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
17955 inherit from parent.
17956
5bd35902
LMI
179572011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
17958
ace6c69c 17959 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 17960 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 17961
191e2bed
LMI
17962 * dired.el (dired-mode): Fix up the doc string as suggested by
17963 Drew Adams (bug#8817).
17964
5bd35902
LMI
17965 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
17966 cookie, since the manual says that it should be possible to add
17967 this function to `find-file-hook' (bug#8709).
17968
eee8207a
TZ
179692011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
17970
17971 * progmodes/cfengine.el: Moved all cfengine3.el functionality
17972 here. Noted Ted Zlatanov as the maintainer.
17973 (cfengine-common-settings, cfengine-common-syntax): New functions
17974 to set up common things between `cfengine-mode' and
17975 `cfengine3-mode'.
17976 (cfengine3-mode): New mode.
17977 (cfengine3-defuns cfengine3-defuns-regex
17978 (cfengine3-class-selector-regex cfengine3-category-regex)
17979 (cfengine3-vartypes cfengine3-font-lock-keywords)
17980 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 17981 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 17982
36b148cf
MA
179832011-07-01 Michael Albinus <michael.albinus@gmx.de>
17984
17985 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
17986
17987 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
17988
0bf4ba9a
MR
179892011-07-01 Martin Rudalics <rudalics@gmx.at>
17990
17991 * window.el (same-window-buffer-names, same-window-regexps)
17992 (same-window-p, special-display-frame-alist)
17993 (special-display-popup-frame, special-display-function)
17994 (special-display-buffer-names, special-display-regexps)
17995 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
17996 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17997 (split-window-preferred-function, split-height-threshold)
17998 (split-width-threshold, even-window-heights)
17999 (display-buffer-mark-dedicated, window-splittable-p)
18000 (split-window-sensibly, window-safely-shrinkable-p):
18001 Un-obsolete.
18002 (display-buffer): Don't spread args with function specifier
18003 because special-display-popup-frame won't like it.
18004
35837f51
PE
180052011-07-01 Paul Eggert <eggert@cs.ucla.edu>
18006
d0672f86
PE
18007 Time-stamp simplifications and fixes.
18008 These improve accuracy slightly, and future-proof the code
18009 against some potential changes to current-time format.
18010
b9444d97
PE
18011 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
18012 by using time-since and float-time.
18013
0ef923dc
PE
18014 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
18015 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
18016 + NNN microseconds".
18017
2f81380d
PE
18018 * type-break.el (type-break-time-sum): Rewrite using time-add.
18019
845b5c3e
PE
18020 * play/hanoi.el (hanoi-current-time-float): Remove.
18021 All uses replaced by float-time.
18022
ee6f1be0
PE
18023 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
18024 This yields a more-accurate answer.
18025 (rng-time-to-float): Remove; no longer needed.
18026
fe955043
PE
18027 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
18028
5777162a
PE
18029 * calendar/timeclock.el (timeclock-seconds-to-time):
18030 Defalias to seconds-to-time, since they're the same thing.
18031
3103f8b6 18032 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 18033 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
18034 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
18035
0e61a35f
SM
180362011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
18037
18038 * window.el (bury-buffer): Don't iconify the only frame.
18039 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
18040 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
18041
ddd63a1e
CY
180422011-07-01 Chong Yidong <cyd@stupidchicken.com>
18043
0e61a35f
SM
18044 * eshell/em-smart.el (eshell-smart-display-navigate-list):
18045 Add mouse-yank-primary.
ddd63a1e 18046
055f4923
TZ
180472011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
18048
18049 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
18050
6a2fb145
SM
180512011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
18052
18053 * emacs-lisp/find-func.el (find-library--load-name): New fun.
18054 (find-library-name): Use it to find relative load names when provided
18055 absolute file name (bug#8803).
18056
fd4983f2
LMI
180572011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
18058
887d14ad
LMI
18059 * textmodes/flyspell.el (flyspell-word): Consider words that
18060 differ only in case as potential doublons (bug#5687).
18061
c53dc7fc
LMI
18062 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
18063 Remove two rather uninteresting debugging-like messages to make
18064 debbugs.el more silent.
18065
fd4983f2
LMI
18066 * comint.el (comint-password-prompt-regexp): Accept "Response" as
18067 a password-like phrase.
18068
7a71b18d 180692011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
18070
18071 * progmodes/cc-guess.el: New file.
18072
6a2fb145 18073 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
18074
18075 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
18076 derived from `c-basic-common-init'.
18077
18078 * progmodes/cc-mode.el (top-level): Require cc-guess.
18079 (c-basic-common-init): Use `cc-choose-style-for-mode'.
18080
1fa280a3
LM
180812011-06-30 Lawrence Mitchell <wence@gmx.li>
18082
18083 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
18084
e6597158
AM
180852011-06-30 Alan Mackenzie <acm@muc.de>
18086
1fa280a3
LM
18087 * progmodes/cc-engine.el (c-guess-continued-construct):
18088 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
18089 lock is disabled. Name this case as "CASE G".
18090
68ba37fb
KM
180912011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
18092
18093 * allout.el (allout-yank-processing): Fix injection of extra space
18094 between bullet and non-whitespace character in first topic when
18095 pasting, ensuring that the actual spacing in the pasted topic
18096 following the bullet char is preserved. This extra space was
18097 causing pasted encrypted topics to get a decrypted status even
18098 when the content was actually still encrypted. Now the decryption
18099 status from before the paste is preserved.
18100
18101 (allout-flag-region): Set all allout overlays so they evaporate
18102 when reduced to zero length (evanescent), to prevent overlay
18103 leakage.
18104
887a0b34
GM
181052011-06-30 Glenn Morris <rgm@gnu.org>
18106
94b9acce
GM
18107 * w32-fns.el (w32-charset-info-alist): Declare.
18108
1d9b46d4
GM
18109 * find-dired.el (find-grep-options): Simplify.
18110
cc232200
GM
18111 * term/ns-win.el (ns-set-resource): Declare.
18112
28e77c46
GM
18113 * ses.el (row, col): Declare dynamic variables honestly.
18114
887a0b34
GM
18115 * textmodes/reftex-parse.el (index-tags): Declare.
18116
658d8eb8
CY
181172011-06-30 Chong Yidong <cyd@stupidchicken.com>
18118
18119 * cus-edit.el (customize-push-and-save): New function.
18120
18121 * files.el (hack-local-variables-confirm): Use it.
18122
1fa280a3
LM
18123 * custom.el (load-theme): New arg NO-CONFIRM.
18124 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
18125 (custom-enabled-themes): Doc fix.
18126
18127 * cus-theme.el (customize-create-theme)
18128 (custom-theme-merge-theme): Callers to load-theme changed.
18129
bb617717
LMI
181302011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
18131
d61bdd5d
LMI
18132 * thingatpt.el (thing-at-point-short-url-regexp): Require that
18133 short URLs have at least one dot in them (bug #7614).
18134
bb617717
LMI
18135 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
18136 nil, because using a pty is apparently too slow (bug #895).
18137
2f31f37a
LMI
181382011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
18139
18140 * mail/sendmail.el (sendmail-query-once): New function.
18141 (sendmail-query-once-function): New variable.
18142
3076b24e
GM
181432011-06-29 Glenn Morris <rgm@gnu.org>
18144
faf2a174
GM
18145 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
18146
3076b24e
GM
18147 * ses.el (top-level): Require cl when compiling.
18148 (ses-set-localvars): Fix error statement.
18149 Call it at compile time to silence a storm of warnings.
18150
5386012d
MR
181512011-06-29 Martin Rudalics <rudalics@gmx.at>
18152
18153 * window.el (normalize-live-buffer): Rename to
18154 window-normalize-buffer.
18155 (normalize-live-frame): Rename to window-normalize-frame.
18156 (normalize-any-window): Rename to window-normalize-any-window.
18157 (normalize-live-window): Rename to window-normalize-live-window.
18158 (make-window-atom): Rename to window-make-atom.
18159 (window-resize-reset): Rename to window--resize-reset.
18160 (window-resize-reset-1): Rename to window--resize-reset-1.
18161 (resize-mini-window): Rename to window--resize-mini-window.
18162 (resize-subwindows-skip-p): Rename to
18163 window--resize-subwindows-skip-p.
18164 (resize-subwindows-normal): Rename to
18165 window--resize-subwindows-normal.
18166 (resize-subwindows): Rename to window--resize-subwindows.
18167 (resize-other-windows): Rename to window--resize-siblings.
18168 (resize-this-window): Rename to window--resize-this-window.
18169 (resize-root-window): Rename to window--resize-root-window.
18170 (resize-root-window-vertically): Rename to
18171 window--resize-root-window-vertically.
18172 (normalize-buffer-to-display): Rename to
18173 window-normalize-buffer-to-display.
18174 (normalize-buffer-to-switch-to): Rename to
18175 window-normalize-buffer-to-switch-to.
18176 Correspondingly update all callers of the functions listed
18177 above.
18178 (display-buffer-alist, display-buffer-normalize-arguments)
18179 (display-buffer-normalize-options, display-buffer)
18180 (display-buffer-alist-set): Use "function" instead of
18181 "fun-with-args".
18182
1176868d
CY
181832011-06-28 Chong Yidong <cyd@stupidchicken.com>
18184
18185 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
18186 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
18187 debbugs.gnu.org. Mention acknowledgment email.
18188
20a7a65f
LMI
181892011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
18190
18191 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
18192 buffer multibyteness, since it shouldn't matter.
18193
5f45cca5
MR
181942011-06-28 Martin Rudalics <rudalics@gmx.at>
18195
18196 * window.el (display-buffer-in-side-window): Handle dedicated
18197 windows as in display-buffer-reuse-window.
18198 (display-buffer-normalize-alist): Use value of override
18199 specifier.
18200 (display-buffer-normalize-specifiers): Use value of
18201 other-window-means-other-frame specifier.
18202 (display-buffer-alist): Rewrite some texts in widgets.
18203 (display-buffer): Spread arguments when calling function
18204 specified by fun-with-args.
18205
ad85fe1f
DD
182062011-06-28 Deniz Dogan <deniz@dogan.se>
18207
1fa280a3
LM
18208 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
18209 Unnest `let'.
da68c4c8 18210
ad85fe1f
DD
18211 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
18212 selectors (Bug#5732).
ec49bd31 18213 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 18214
a08cc025
JA
182152011-06-27 Jari Aalto <jari.aalto@cante.net>
18216
18217 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
18218 (eshell-ls-date-format): New defcustom.
18219 (eshell-ls-file): Use it.
18220
e2b551c5
SM
182212011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
18222
18223 * help-fns.el (describe-variable): Fix message for terminal-local vars.
18224
8982b231
KY
182252011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
18226
18227 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
18228 (ange-ftp-make-tmp-name): New arg.
18229 (ange-ftp-file-local-copy): Use it.
18230
36c9fa27
J
182312011-06-27 Jambunathan K <kjambunathan@gmail.com>
18232
18233 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
18234 no-conversion (Bug#8870).
18235
d68443dc
MR
182362011-06-27 Martin Rudalics <rudalics@gmx.at>
18237
18238 * window.el (window-right, window-left, window-child)
18239 (window-child-count, window-last-child)
18240 (window-iso-combination-p, walk-window-tree-1)
18241 (window-atom-check-1, window-tree-1, delete-window)
18242 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
18243 new naming conventions - window-vchild, window-hchild,
18244 window-next and window-prev are now called window-top-child,
18245 window-left-child, window-next-sibling and window-prev-sibling
18246 respectively.
d615d6d2
MR
18247 (resize-window-reset): Rename to window-resize-reset.
18248 (resize-window-reset-1): Rename to window-resize-reset-1.
18249 (resize-window): Rename to window-resize.
18250 (window-min-height, window-min-width)
18251 (resize-mini-window, resize-this-window, resize-root-window)
18252 (resize-root-window-vertically, adjust-window-trailing-edge)
18253 (enlarge-window, shrink-window, maximize-window)
18254 (minimize-window, delete-window, quit-restore-window)
18255 (split-window, balance-windows, balance-windows-area-adjust)
18256 (balance-windows-area, window-state-put-2)
18257 (display-buffer-even-window-sizes, display-buffer-set-height)
18258 (display-buffer-set-width, set-window-text-height)
18259 (fit-window-to-buffer): Rename all "resize-window" prefixed
18260 calls to use the "window-resize" prefix convention.
18261 (display-buffer-alist): Fix symbol for label specifier.
18262 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
18263 corresponding specifier.
18264 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 18265
b6458526
VB
182662011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
18267
18268 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
18269 convention.
18270 (ses-call-printer): Does not pass an empty string to formatter when the
18271 cell is empty to keep from barking printer Calc math-format-value.
18272
d31fd9ac
RS
182732011-06-27 Richard Stallman <rms@gnu.org>
18274
43d5bf84
RS
18275 * battery.el (battery-mode-line-limit): New variable.
18276 (battery-update): Handle it.
18277
d31fd9ac
RS
18278 * mail/rmailmm.el (rmail-mime-process-multipart):
18279 Handle truncated messages.
18280
819a6054
GM
182812011-06-27 Glenn Morris <rgm@gnu.org>
18282
18283 * progmodes/flymake.el (flymake-err-line-patterns):
18284 Allow for column numbers in the ant/javac pattern. (Bug#8866)
18285
cedc73f2
VB
182862011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
18287
819a6054 18288 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
18289 (ses--clean-!, ses--clean-_): New functions.
18290 (ses-range): Add configurability of readout order, and conversion
18291 to Calc vector.
18292
5e5d49b6
VB
18293 * ses.el (ses-repair-cell-reference-all): New function.
18294 (ses-cell-symbol): Set macro as safe, so that it can be used in
18295 formulas.
18296
56e6cc31 18297 * ses.el: Update cycle detection algorithm.
90ca8b49 18298 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 18299 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
18300 (ses-set-localvars): New function.
18301 (ses-make-cell): Add property-list as a cell element.
18302 (ses-cell-property-get-fun, ses-cell-property-get)
18303 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
18304 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
18305 New functions.
90ca8b49
VB
18306 (ses-cell-property-set, ses-cell-property-pop)
18307 (ses-cell-property-get-handle): New macro.
18308 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
18309 New aliases, used for code readability.
18310 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
18311 cycle detection.
18312 (ses-self-reference-early-detection): New defcustom.
fac916bf 18313 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
18314 (ses-mode): Use ses-set-localvars.
18315 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
18316 before lauching the update processing.
18317 (ses-initialize-Dijkstra-attempt): New function.
18318 (ses-recalculate-cell): Update for cycle detection based on
18319 Dijkstra algorithm.
18320
2bb63e81
VB
18321 * ses.el: Fix commenting and indenting convention.
18322
c9d29fb8
SM
183232011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
18324
18325 * bs.el (bs-cycle-next): Complete last change.
18326
d8e4b68b
JB
183272011-06-27 Drew Adams <drew.adams@oracle.com>
18328
18329 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
18330
40098786
LMI
183312011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
18332
c9d29fb8
SM
18333 * net/network-stream.el (network-stream-open-starttls):
18334 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
18335 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
18336
40098786
LMI
18337 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
18338 to binary to possibly avoid line encoding issues on Windows (among
18339 other things).
18340
468d09d4
LMI
183412011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
18342
18343 * net/network-stream.el (open-network-stream): Return an :error
18344 saying what the problem was, if possible.
18345
18346 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
18347 server.
18348
18349 * net/network-stream.el (network-stream-open-starttls): If we
18350 wanted to use STARTTLS, and the server offered it, but we weren't
18351 able to because we had no STARTTLS support, then close the connection.
18352 (open-network-stream): Return an :error element, if present.
18353
16f07dd7
CY
183542011-06-26 Chong Yidong <cyd@stupidchicken.com>
18355
88821ca0
CY
18356 * hl-line.el (hl-line-sticky-flag): Doc fix.
18357 (global-hl-line-sticky-flag): New option (Bug#8323).
18358 (global-hl-line-highlight): Obey it.
18359
16f07dd7
CY
18360 * vc/vc.el (vc-revert-show-diff): Default to t.
18361
6b5ccddf
KM
183622011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
18363
c9d29fb8
SM
18364 * allout-widgets.el (allout-widgets-post-command-business):
18365 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
18366 undecorated when an isearch is continued past, and isearch
18367 automatically collapses them. This leads to "widget leaks", where
18368 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
18369 hidden widgets can slow down cursor travel, substantially.
18370 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
18371 so we're doing without this nicety.
18372
18373 (allout-widgets-tally-string): Don't try to do a hash-table-count
18374 of allout-widgets-tally when it's nil. This eliminates spurious "Error
18375 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
18376 *Messages* when allout-widgets-maintain-tally is t.
18377
355f2e07
MR
183782011-06-26 Martin Rudalics <rudalics@gmx.at>
18379
18380 * window.el (display-buffer-normalize-argument): Rename to
18381 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
18382 LABEL argument. Respect special-display-function when popping up
18383 a new frame. Fix code searching for a window showing the buffer
18384 on another frame.
c9d29fb8
SM
18385 (display-buffer-normalize-specifiers):
18386 Call display-buffer-normalize-arguments.
355f2e07
MR
18387 (display-buffer-in-window): Don't undedicate the window if its
18388 buffer remains the same.
18389 Reported by Drew Adams <drew.adams@oracle.com>.
18390 (display-buffer-alist): Add choice for same-window macro
18391 specfier.
18392 (display-buffer): Mention special meaning of LABEL argument in
18393 doc-string. Fix quoting. Don't pop up a new frame even as
18394 fallback.
18395
7ca8fc42
JB
183962011-06-26 Juanma Barranquero <lekktu@gmail.com>
18397
18398 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
18399 avoid deleting the current window in some cases (bug#8911).
18400
bc312254
AS
184012011-06-26 Andreas Schwab <schwab@linux-m68k.org>
18402
18403 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
18404 (Bug#8934)
18405
2db18f3f
LMI
184062011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
18407
c9d29fb8
SM
18408 * net/network-stream.el (network-stream-open-starttls):
18409 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
18410 (network-stream-open-tls): Ditto.
18411
6302e0d3
LL
184122011-06-26 Leo Liu <sdl.web@gmail.com>
18413
18414 * register.el (registerv): New struct.
18415 (registerv-make): New function.
c9d29fb8
SM
18416 (jump-to-register, describe-register-1, insert-register):
18417 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
18418 struct. (Bug#8415)
18419
5fdd4046
CY
184202011-06-26 Chong Yidong <cyd@stupidchicken.com>
18421
2afef60a
CY
18422 * vc/vc.el (vc-revert-show-diff): New defcustom.
18423 (vc-diff-internal): New arg specifying diff buffer.
18424 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
18425 reuse an existing *vc-diff* buffer (Bug#8927).
18426
5fdd4046
CY
18427 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
18428
e93db24a
GM
184292011-06-26 Glenn Morris <rgm@gnu.org>
18430
18431 * progmodes/f90.el (f90-critical-indent): New option.
18432 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
18433 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
18434 (f90-mode): Doc fix.
18435 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
18436 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
18437 (f90-beginning-of-block, f90-next-block, f90-indent-region)
18438 (f90-match-end): Handle block, critical.
18439
eefff499
GM
184402011-06-25 Glenn Morris <rgm@gnu.org>
18441
f6ba4cc9
GM
18442 * calendar/diary-lib.el (diary-included-files): Doc fix.
18443 (diary-include-files): New function, extracted from
18444 diary-include-other-diary-files and diary-mark-included-diary-files.
18445 (diary-include-other-diary-files, diary-mark-included-diary-files):
18446 Just call diary-include-files.
18447 (diary-mark-entries): Reset diary-included-files on first call.
18448
16712304
GM
18449 * calendar/diary-lib.el (diary-mark-entries)
18450 (diary-mark-included-diary-files):
18451 Visit included diary-files in temp buffers.
18452
5d8e0d43
GM
18453 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
18454 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
18455 (f90-start-block-re, f90-imenu-generic-expression)
18456 (f90-looking-at-program-block-start, f90-no-block-limit):
18457 Add support for submodules.
18458
ccf7a5d5
GM
18459 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
18460 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 18461
11fdef7d 184622011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
18463
18464 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
18465 buffer-file-type before setting its value, to avoid disastrous
eefff499 18466 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 18467
74f53697
JB
184682011-06-25 Juanma Barranquero <lekktu@gmail.com>
18469
18470 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
18471
18472 * ses.el (ses-unload-function):
18473 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
18474
18475 * proced.el (proced-unload-function):
18476 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
18477
18a4ce5e
AR
184782011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
18479
18480 * server.el (server-create-window-system-frame): Add parameters arg.
18481 (server-process-filter): Doc fix. Handle frame-parameters.
18482
519d22cc
JB
184832011-06-25 Juanma Barranquero <lekktu@gmail.com>
18484
18485 Fix bug#8730, bug#8781.
18486
18487 * loadhist.el (unload--set-major-mode): New function.
18488 (unload-feature): Use it.
18489
18490 * progmodes/python.el (python-after-info-look): Add autoload cookie.
18491 (python-unload-function): New function.
18492
c206f5b0
SM
184932011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
18494
18495 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
18496
f9ad64f3
GS
184972011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
18498
18499 * net/browse-url.el (browse-url-firefox-program): Add icecat to
18500 the candidates list.
18501
7d0da90e
JB
185022011-06-24 Juanma Barranquero <lekktu@gmail.com>
18503
18504 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
18505
14b4e83d
RS
185062011-06-23 Richard Stallman <rms@gnu.org>
18507
18508 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
18509 (rmail-variables): Set next-error-move-function.
18510 (rmail-what-message): Take argument POS.
18511 (rmail-next-error-move): New function.
18512
273d2baf
SM
185132011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
18514
18515 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
18516 messages for adjacent non-terminals.
18517
56c2cc9a
RS
185182011-06-23 Richard Stallman <rms@gnu.org>
18519
18520 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 18521 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
18522 (rmail-start-mail): Don't specify use of rmail-mail-return;
18523 that's done by mail-bury now.
18524 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 18525
d59eb518
MA
185262011-06-23 Michael Albinus <michael.albinus@gmx.de>
18527
18528 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
18529 SIZE is a number.
18530
02cfc6d6
MR
185312011-06-23 Martin Rudalics <rudalics@gmx.at>
18532
18533 * window.el (get-lru-window, get-mru-window)
18534 (get-largest-window): Never return a minibuffer window.
18535 (display-buffer-pop-up-window): Fix a bug that could lead to
18536 reusing the minibuffer window.
18537 (display-buffer): Pass original specifier argument to
18538 display-buffer-function instead of the normalized one.
18539 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
18540
4e323265
LL
185412011-06-22 Leo Liu <sdl.web@gmail.com>
18542
18543 * minibuffer.el (completing-read-function)
1f9f395d 18544 (completing-read-default): Move from minibuf.c.
4e323265 18545
7a70468f
RS
185462011-06-22 Richard Stallman <rms@gnu.org>
18547
50718fc2
RS
18548 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
18549 to Rmail even if not started by a special Rmail command.
18550
7a70468f
RS
18551 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
18552 Copy the buffer currently showing just one message.
18553
297dde5a
RW
185542011-06-22 Roland Winkler <winkler@gnu.org>
18555
18556 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
18557 (bibtex-clean-entry): First delete the old key so that a
18558 customized algorithm for generating the new key does not get
18559 confused by the old key.
18560 (bibtex-url): Obey regexp of first step.
18561 (bibtex-search-entries): Do not use add-to-list with local
18562 list-var.
18563
97bb1093
LMI
185642011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
18565
18566 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
18567 stored a user name, then query for the password first, instead of
18568 waiting for SMTP to give an error message and the trying again.
18569
1c0f1a19
JD
185702011-06-22 Lawrence Mitchell <wence@gmx.li>
18571
18572 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
18573 BUFFER in call-process.
18574
396f7c9d
LMI
185752011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
18576
18577 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
18578 QUIT twice.
ddb7ffee
LMI
18579 (smtpmail-try-auth-methods): Require user name and password from
18580 auth-source.
396f7c9d 18581
8998d1b3
MR
185822011-06-22 Martin Rudalics <rudalics@gmx.at>
18583
18584 * window.el (display-buffer-default-specifiers)
18585 (display-buffer-alist): Remove entries for pop-up-frame-alist.
18586 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 18587 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
18588
18589 * frame.el (pop-up-frame-alist, pop-up-frame-function)
18590 (special-display-frame-alist, special-display-popup-frame):
18591 Remove duplicate declarations. These are now in window.el.
18592
4ea31e07
LMI
185932011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18594
c9d29fb8
SM
18595 * mail/smtpmail.el (smtpmail-via-smtp):
18596 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
18597 server supports it. SMTP servers that support STARTTLS commonly
18598 require it.
18599
18600 * net/network-stream.el (network-stream-open-starttls): Support
18601 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 18602 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 18603
95f41d9a
LMI
18604 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
18605 upgrades with `open-network-stream', and rely solely on
18606 auth-source for all credentials. Big changes throughout the file,
18607 but in particular:
c9d29fb8
SM
18608 (smtpmail-auth-credentials): Remove.
18609 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
18610 (smtpmail-via-smtp): Check for servers saying they want AUTH after
18611 MAIL FROM, too.
95f41d9a 18612
c9d29fb8
SM
18613 * net/network-stream.el (network-stream-open-starttls):
18614 Provide support for client certificates both for external and built-in
4ea31e07
LMI
18615 STARTTLS.
18616 (auth-source): Require.
18617 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
18618 (network-stream-certificate): Change cert-cert to cert and
18619 cert-key to key.
4ea31e07 18620
065ec2c7
MA
186212011-06-21 Michael Albinus <michael.albinus@gmx.de>
18622
18623 * net/tramp-cache.el (top): Don't load the persistency file when
18624 "emacs -Q" has been called.
18625
cd93b359
DR
186262011-06-21 Tim Harper <timcharper@gmail.com>
18627
d8e4b68b
JB
18628 * term/ns-win.el (ns-initialize-window-system):
18629 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
18630 resource to NO as it is not yet supported by the NS port.
18631
ae9c0411
JB
186322011-06-21 Juanma Barranquero <lekktu@gmail.com>
18633
18634 * misc.el (list-dynamic-libraries--refresh): Compute header here...
18635 (list-dynamic-libraries): ...not here.
18636
7f3f739f
LL
186372011-06-21 Leo Liu <sdl.web@gmail.com>
18638
18639 * subr.el (sha1): Implement sha1 using secure-hash.
18640
327c8fb1
MR
186412011-06-21 Martin Rudalics <rudalics@gmx.at>
18642
18643 * window.el (display-buffer-alist): In default value do not
18644 enforce searching a window on any but the selected frame.
18645 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
18646 (display-buffer-select-window): Remove function.
18647 (display-buffer-in-window): When a window on another frame gets
18648 reused, do not select it any more but just raise its frame if
18649 necessary (Bug#8851) and (Bug#8856).
18650 (display-buffer-normalize-options): Handle pop-up-frames related
18651 options more faithfully.
18652 (pop-to-buffer): Don't rely on `display-buffer' selecting the
18653 window if it is on another frame.
c9d29fb8
SM
18654 (display-buffer-alist, display-buffer-default-specifiers):
18655 Don't make new frame unsplittable by default.
9e9de014
MR
18656 (display-buffer-normalize-argument): Fix doc-string typo and use
18657 'same-frame-other-window instead of 'other-window when associating
18658 with display-buffer-macro-specifiers.
327c8fb1 18659
7cf3f556
VB
186602011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
18661
18662 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
18663 New functions.
18664 (5x5-mode-map, 5x5-mode-menu): Bind them.
18665 (5x5-draw-grid): Tweak the solver's rendering.
18666
60a406cf
SM
186672011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
18668
18669 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
18670 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
18671
d8e4b68b 186722011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
18673
18674 * menu-bar.el: Use function variable instead of switch-to-buffer.
18675 (menu-bar-select-buffer-function): New variable.
60a406cf 18676 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 18677
478d6f95
SM
186782011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
18679
18680 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
18681 variable's status.
18682
ca530739
JD
186832011-06-20 Jan Djärv <jan.h.d@swipnet.se>
18684
18685 * x-dnd.el (x-dnd-version-from-flags)
18686 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
18687 and long as number (Bug#8899).
18688 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
18689
bcd70d97
SM
186902011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
18691
60a406cf 18692 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
18693 (completion-try-completion, completion-all-completions): Compute the
18694 metadata argument if it's missing; make it optional (bug#8795).
18695
60a406cf 18696 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
18697 (widget-complete): Use new :completion-function property.
18698 (widget-completions-at-point): New function.
18699 (default): Use :completion-function instead of :complete.
60a406cf
SM
18700 (widget-default-completions): Rename from widget-default-complete;
18701 Rewrite.
bcd70d97
SM
18702 (widget-string-complete, widget-file-complete, widget-color-complete):
18703 Remove functions.
18704 (file, symbol, function, variable, coding-system, color):
18705 * international/mule-cmds.el (default-input-method, charset)
18706 (language-info-custom-alist):
18707 * cus-edit.el (face): Use new property :completions.
18708
18709 * progmodes/pascal.el (pascal-completions-at-point): New function.
18710 (pascal-mode): Use it.
18711 (pascal-mode-map): Use completion-at-point.
18712 (pascal-toggle-completions): Make obsolete.
18713 (pascal-complete-word, pascal-show-completions):
18714 * progmodes/octave-mod.el (octave-complete-symbol):
18715 Redefine as obsolete alias.
18716 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
18717 Signal absence of completion info for old Octave,
18718 (inferior-octave-complete): Redefine as obsolete alias.
18719 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
18720 (meta-completions-at-point): Rename from meta-complete-symbol and
18721 adapt it for use on completion-at-point-functions.
18722 (meta-common-mode): Use it.
18723 (meta-looking-at-backward, meta-match-buffer): Remove.
18724 (meta-complete-symbol): Redefine as obsolete alias.
18725 (meta-common-mode-map): Use completion-at-point.
18726 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
18727 (makefile-mode-map): Use completion-at-point.
18728 (makefile-completions-at-point): Rename from makefile-complete and
18729 adapt it for use on completion-at-point-functions.
18730 (makefile-mode): Use it.
18731 (makefile-complete): Redefine as obsolete alias.
18732
aebf69c8
DD
187332011-06-20 Deniz Dogan <deniz@dogan.se>
18734
18735 * net/rcirc.el: Delete trailing whitespaces once and for all.
18736
bfbbb27d
DC
187372011-06-20 Daniel Colascione <dan.colascione@gmail.com>
18738
18739 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
18740
d264a46b
CY
187412011-06-19 Chong Yidong <cyd@stupidchicken.com>
18742
4ca009e5
CY
18743 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
18744
d264a46b
CY
18745 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
18746
fbf5b3ce
MR
187472011-06-19 Martin Rudalics <rudalics@gmx.at>
18748
18749 * window.el (display-buffer-other-window-means-other-frame):
18750 Call display-buffer-normalize-alist.
18751 (display-buffer-normalize-specifiers-1): Rename to
18752 display-buffer-normalize-argument. New argument other-frame.
18753 Rewrite.
18754 (display-buffer-normalize-specifiers-2): Rename to
18755 display-buffer-normalize-options.
18756 (display-buffer-normalize-alist-1): New function.
18757 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
18758 display-buffer-normalize-alist.
18759 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
18760 (display-buffer-normalize-options-inhibit): New variable.
18761 (display-buffer-normalize-specifiers): Rewrite calling
18762 display-buffer-normalize-alist,
18763 display-buffer-normalize-argument, and
18764 display-buffer-normalize-options. Don't call the latter if
18765 display-buffer-normalize-options-inhibit is non-nil.
18766 (frame-auto-delete): New option.
18767 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
18768 (window-list-no-nils, window-state-ignored-parameters)
18769 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
18770 (window-state-put-1, window-state-put-2, window-state-put):
18771 New functions.
9a028c23
MR
18772 (display-buffer-normalize-options): Move special-display-p group
18773 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 18774
6d10d800
CY
187752011-06-18 Chong Yidong <cyd@stupidchicken.com>
18776
6420d28b
CY
18777 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
18778 groups (Bug#8776).
18779 (rx-submatch-n): New function.
18780 (rx): Document it.
18781
ddb8b596
CY
18782 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
18783 (Bug#8768).
18784
18785 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
18786
77080289
CY
18787 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
18788
61dfb316
CY
18789 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
18790 anytime existing face settings are present (Bug#8889).
18791
6d10d800
CY
18792 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
18793 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
18794 Remove unused argument.
18795
be3fb2b8
MR
187962011-06-18 Martin Rudalics <rudalics@gmx.at>
18797
bcd70d97
SM
18798 * window.el (display-buffer-default-specifiers):
18799 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
18800 pop-up-window-min-width, and another reuse-window specifier
18801 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
18802 (display-buffer-normalize-specifiers-2):
18803 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
18804 pop-up-windows is unset. Add a reuse-window specifier for the
18805 case popping up a new window fails.
18806 (special-display-popup-frame): Remove double quoting.
28dec25a 18807 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 18808
1c6d8c76
SM
188092011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
18810
18811 * shell.el (shell-completion-vars): Set pcomplete-termination-string
18812 according to comint-completion-addsuffix.
18813
18814 * pcomplete.el: Convert to lexical binding and fix bug#8819.
18815 (pcomplete-suffix-list): Mark as obsolete.
18816 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
18817 pcomplete-seen in the closure.
18818 (pcomplete-comint-setup): Setup completion-at-point as well.
18819 (pcomplete--entries): New function.
18820 (pcomplete--env-regexp): New var.
18821 (pcomplete-entries): Rewrite to work with partial-completion and
18822 without relying on pcomplete-suffix-list.
18823 (pcomplete-pare-list): Remove, unused.
18824
25aef8b8
MR
188252011-06-17 Martin Rudalics <rudalics@gmx.at>
18826
18827 * window.el (display-buffer-alist): Set pop-up-window-min-height
18828 and pop-up-window-min-width in default value. Reported by
18829 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
18830 other-window-means-other-frame.
18831 (display-buffer-macro-specifiers): Comment out entry for
18832 other-window specifier.
18833 (display-buffer-other-window-means-other-frame): New function.
18834 (display-buffer-normalize-specifiers-1): New arguments
18835 buffer-name and label. Treat other-window case specially.
18836 (display-buffer-normalize-specifiers-2): Treat other-window case
18837 specially.
18838 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
18839 (display-buffer-normalize-specifiers):
18840 Call display-buffer-normalize-specifiers-3.
25aef8b8 18841
dbad4f69
MR
188422011-06-17 Martin Rudalics <rudalics@gmx.at>
18843
18844 * window.el (same-window-p): Fix two typos introduced when
18845 adding with-no-warnings.
d1067961
MR
18846 (display-buffer-normalize-specifiers-1): Don't check
18847 pop-up-frames for 'unset initialization.
18848 (display-buffer-normalize-specifiers-2): Major rewrite using
18849 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
18850 (pop-up-frames, display-buffer-reuse-frames)
18851 (display-buffer-mark-dedicated): Don't initialize to 'unset.
18852 Suggested by David Engster <deng@randomsample.de>.
18853 (even-window-heights): Initialize to 'unset.
18854 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
18855 (display-buffer-macro-specifiers): Don't pop up a new frame in the
18856 other window case.
dbad4f69 18857
9b9c9e3a
MR
188582011-06-16 Martin Rudalics <rudalics@gmx.at>
18859
bcd70d97
SM
18860 * window.el (display-buffer-normalize-specifiers-1):
18861 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 18862 second argument of display-buffer (Bug#8865).
981d5c09
MR
18863 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
18864 (switch-to-buffer-other-window-same-frame)
18865 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
18866 Adams (Bug#8875).
9c2755e9
MR
18867 (display-buffer): Don't check noninteractive when calling
18868 display-buffer-pop-up-frame.
18869 (display-buffer-pop-up-frame): Never pop up a frame in
18870 noninteractive mode (Bug#8857).
67222e1d
MR
18871 (enlarge-window, shrink-window): Don't report an error when the
18872 window can't be resized as requested (Bug#8862).
9b9c9e3a 18873
2b75be67
SM
188742011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
18875
9ffdd3ba
SM
18876 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
18877
cb581a67
SM
18878 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
18879
2b75be67
SM
18880 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
18881
8c0e3589
AM
188822011-06-15 Alan Mackenzie <acm@muc.de>
18883
cb581a67
SM
18884 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
18885 for declarators, disable knr checking to speed up for normal files.
18886 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 18887
b96e6cde
LMI
188882011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
18889
4bba86e6
LMI
18890 * net/network-stream.el (open-network-stream): Add the keyword
18891 :always-query-capabilities for the case where you want to force a
18892 `plain' network connection, but the protocol still requires the
18893 capabilitiy command (i.e., SMTP and EHLO).
18894
2b75be67 18895 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
18896 consistency with other `-live-p' functions.
18897
efdcdbf8
SM
188982011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
18899
18900 * window.el (same-window-buffer-names, same-window-regexps)
18901 (special-display-frame-alist, special-display-popup-frame)
18902 (special-display-function, special-display-buffer-names)
18903 (special-display-regexps, pop-up-frame-alist)
18904 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
18905 (pop-up-windows, split-window-preferred-function)
18906 (split-height-threshold, split-width-threshold, even-window-heights)
18907 (display-buffer-mark-dedicated): Don't encourage the use of
18908 display-buffer-alist from Elisp code.
18909
c5cde042
DN
189102011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
18911
18912 * progmodes/python.el (python-mode): Derive from prog-mode.
18913 * progmodes/ps-mode.el (ps-mode):
18914 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 18915 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
18916 * progmodes/ld-script.el (ld-script-mode): Likewise.
18917
baa1c9ab
MR
189182011-06-15 Martin Rudalics <rudalics@gmx.at>
18919
18920 * window.el (display-buffer-alist): Trim default value to avoid
18921 popping up a new frame (Bug#8857) or reusing an arbitrary window
18922 on another frame.
18923 (display-buffer): Do not fall back on popping up a new frame in
18924 batch mode (Bug#8857).
18925
c5dd5a51
CY
189262011-06-14 Chong Yidong <cyd@stupidchicken.com>
18927
18928 * cus-theme.el (describe-theme-1): Use custom-theme-p.
18929 (custom-theme-summary): New function.
18930 (customize-themes): Use it.
18931
d647b7c4
GM
189322011-06-13 Glenn Morris <rgm@gnu.org>
18933
18934 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
18935
9481c002
MR
189362011-06-13 Martin Rudalics <rudalics@gmx.at>
18937
357f93d2
MR
18938 * help.el (help-window): Remove variable.
18939 (help-window-point-marker, temp-buffer-max-height)
18940 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
18941 (help-print-return-message): Don't set help-window.
18942 (resize-temp-buffer-window): Rewrite cod eand doc-string.
18943 (help-window-setup-finish): Remove.
18944 (help-window-display-message, help-window-setup)
18945 (with-help-window): Major rewrite based on new
18946 display-buffer-window variable.
18947
18948 * help-mode.el (help-mode-finish): Remove help-window related
18949 code.
18950
18951 * view.el (view-exits-all-viewing-windows): Remove reference to
18952 view-return-to-alist in doc-string.
18953 (view-return-to-alist): Make obsolete.
18954 (view-buffer): Call pop-to-buffer-same-window and remove
18955 undo-window code.
18956 (view-buffer-other-window): Call pop-to-buffer-other-window and
18957 simplify code. Ignore second argument.
18958 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
18959 simplify code. Ignore second argument.
18960 (view-return-to-alist-update): Make obsolete.
18961 (view-mode-enter): Rename second argument to QUIT-RESTORE.
18962 Rewrite using quit-restore window parameters.
2b75be67
SM
18963 (view-mode-exit): Rename second argument to EXIT-ONLY.
18964 Rewrite using quit-restore-window.
357f93d2
MR
18965 (View-exit, View-exit-and-edit, View-leave, View-quit)
18966 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
18967 appropriate arguments.
18968 (view-end-message): Use quit-restore window parameter.
18969
9481c002
MR
18970 * window.el (display-buffer-function): Rewrite doc-string.
18971 (display-buffer-window, display-buffer-alist): New variables.
18972 (display-buffer-split-specifiers)
18973 (display-buffer-side-specifiers)
18974 (display-buffer-macro-specifiers): New constants.
18975 (display-buffer-even-window-sizes, display-buffer-set-height)
18976 (display-buffer-set-width, display-buffer-select-window)
18977 (display-buffer-in-window, display-buffer-reuse-window)
18978 (display-buffer-split-window-1, display-buffer-split-window)
18979 (display-buffer-split-atom-window, display-buffer-pop-up-window)
18980 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
18981 (display-buffer-in-side-window, normalize-buffer-to-display)
18982 (display-buffer-normalize-specifiers-1)
18983 (display-buffer-normalize-specifiers-2)
2b75be67
SM
18984 (display-buffer-normalize-specifiers, display-buffer-frame):
18985 New functions.
9481c002
MR
18986 (display-buffer): Major rewrite.
18987 (display-buffer-other-window, display-buffer-other-frame)
18988 (pop-to-buffer, switch-to-buffer-other-window)
18989 (switch-to-buffer-other-frame): Rewrite.
18990 (display-buffer-same-window, display-buffer-same-frame)
18991 (display-buffer-same-frame-other-window)
18992 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
18993 (pop-to-buffer-other-window)
18994 (pop-to-buffer-same-frame-other-window)
18995 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
18996 (switch-to-buffer-other-window-same-frame): New functions.
18997 (same-window-p, special-display-p): Rewrite disabling warnings.
18998 Make obsolete.
18999 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
19000 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
19001 Make obsolete
19002 (same-window-buffer-names, same-window-regexps)
19003 (special-display-frame-alist, special-display-popup-frame)
19004 (special-display-function, special-display-buffer-names)
19005 (special-display-regexps, pop-up-frame-alist)
19006 (pop-up-frame-function, split-window-preferred-function)
19007 (split-height-threshold, split-width-threshold)
19008 (even-window-heights): Make obsolete.
19009
9db51aca
GM
190102011-06-12 Glenn Morris <rgm@gnu.org>
19011
19012 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 19013 Misc simplifications.
9db51aca 19014
39cffb44
MR
190152011-06-12 Martin Rudalics <rudalics@gmx.at>
19016
19017 * window.el (window-safely-shrinkable-p): Restore function which
19018 was inadvertently removed in change from 2011-06-11. Declare as
19019 obsolete.
19020
2b75be67
SM
19021 * calendar/calendar.el (calendar-generate-window):
19022 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
19023 window-safely-shrinkable-p.
19024
a8955be7
GM
190252011-06-12 Glenn Morris <rgm@gnu.org>
19026
19027 * progmodes/fortran.el (fortran-mode-syntax-table):
19028 * progmodes/f90.el (f90-mode-syntax-table):
19029 Set % to punctuation. (Bug#8820)
19030 (f90-find-tag-default): Remove, no longer needed.
19031
f0d4059d
DC
190322011-06-12 Daniel Colascione <dan.colascione@gmail.com>
19033
19034 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
19035
1100a63c
CY
190362011-06-11 Chong Yidong <cyd@stupidchicken.com>
19037
19038 * image.el (image-animated-p): Return animation delay in seconds.
19039 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
19040 (image-animate-timeout): Remove DELAY argument. Don't assume
19041 every subimage has the same delay; get it from image-animated-p.
19042 (image-animate): Caller changed.
19043
def722bf
MA
190442011-06-11 Michael Albinus <michael.albinus@gmx.de>
19045
19046 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
19047 to ignored backtrace functions.
19048
0a2bb1a9
GM
190492011-06-11 Glenn Morris <rgm@gnu.org>
19050
19051 * calendar/appt.el (appt-disp-window-function): Doc fix.
19052 (appt-check): Handle overlapping appointments. (Bug#8337)
19053
6198ccd0
MR
190542011-06-11 Martin Rudalics <rudalics@gmx.at>
19055
19056 * window.el (window-tree-1, window-tree): New functions, moving
19057 the latter to window.el.
19058 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
19059 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
19060 (bw-refresh-edges): Remove.
19061 (balance-windows-1, balance-windows-2): New functions.
19062 (balance-windows): Rewrite in terms of window tree functions,
19063 balance-windows-1 and balance-windows-2.
19064 (bw-adjust-window): Remove.
19065 (balance-windows-area-adjust): New function with functionality of
19066 bw-adjust-window but using resize-window.
2b75be67
SM
19067 (set-window-text-height): Rewrite doc-string.
19068 Use normalize-live-window and resize-window.
19069 (enlarge-window-horizontally, shrink-window-horizontally):
19070 Rename argument to DELTA.
6198ccd0
MR
19071 (window-buffer-height): New function.
19072 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
19073 Rewrite using new window resize routines.
2b75be67
SM
19074 (kill-buffer-and-window, mouse-autoselect-window-select):
19075 Use ignore-errors instead of condition-case.
6198ccd0
MR
19076 (quit-window): Call delete-frame instead of delete-windows-on
19077 for the only buffer on frame.
19078
9397e56f
MR
190792011-06-10 Martin Rudalics <rudalics@gmx.at>
19080
19081 * loadup.el (top-level): Load window before files for the sake
19082 of replace-buffer-in-windows.
19083
19084 * files.el (read-buffer-to-switch)
19085 (switch-to-buffer-other-window)
2b75be67
SM
19086 (switch-to-buffer-other-frame, display-buffer-other-frame):
19087 Move to window.el.
9397e56f
MR
19088
19089 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
19090 (previous-buffer): Move to window.el.
19091
19092 * bindings.el (unbury-buffer): Move to window.el.
19093
19094 * window.el (delete-other-windows-vertically): Move after
19095 definition of delete-other-windows.
19096 (other-window, delete-windows-on, replace-buffer-in-windows):
19097 Move here from window.c.
19098 (record-window-buffer, unrecord-window-buffer)
19099 (set-window-buffer-start-and-point, switch-to-prev-buffer)
19100 (switch-to-next-buffer): New functions.
19101 (get-next-valid-buffer, last-buffer, next-buffer): Move here
19102 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
19103 (previous-buffer): Move here from simple.el.
19104 Call switch-to-prev-buffer.
9397e56f
MR
19105 (bury-buffer): Move here from buffer.c. Switch to previous
19106 buffer when window cannot be deleted.
19107 (unbury-buffer): Move here from bindings.el.
19108 (ctl-x-map): Move binding for other-window from window.c to
19109 here.
19110 (read-buffer-to-switch, switch-to-buffer-other-window)
19111 (switch-to-buffer-other-frame): Move here from files.el.
19112 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
19113 (switch-to-buffer): Move here from buffer.c.
19114 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 19115
562dd5e9
MR
191162011-06-10 Martin Rudalics <rudalics@gmx.at>
19117
19118 * window.el (window-min-height, window-min-width): Move here
19119 from window.c. Add defcustoms and rewrite doc-strings.
19120 (resize-mini-window, resize-window): New functions.
19121 (adjust-window-trailing-edge, enlarge-window, shrink-window):
19122 Move here from window.c.
19123 (maximize-window, minimize-window): New functions.
19124 (delete-window, delete-other-windows, split-window): Move here
19125 from window.c.
19126 (window-split-min-size): New function.
19127 (split-window-keep-point): Mention split-window-above-each-other
19128 instead of split-window-vertically.
2b75be67 19129 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
19130 Rename split-window-vertically to split-window-above-each-other
19131 and provide defalias for old definition.
19132 (split-window-side-by-side, split-window-horizontally):
19133 Rename split-window-horizontally to split-window-side-by-side
19134 and provide defalias for the old definition.
562dd5e9
MR
19135 (ctl-x-map): Move bindings for delete-window,
19136 delete-other-windows and enlarge-window here from window.c.
19137 Replace bindings for split-window-vertically and
19138 split-window-horizontally by bindings for
19139 split-window-above-each-other and split-window-side-by-side.
19140
19141 * cus-start.el (all): Remove entries for window-min-height and
19142 window-min-width. Add entries for window-splits and
19143 window-nest.
19144
f0da764a
GM
191452011-06-09 Glenn Morris <rgm@gnu.org>
19146
80675c21
GM
19147 * calendar/appt.el (appt-mode-line): New function.
19148 (appt-check, appt-disp-window): Use it.
19149
f0da764a
GM
19150 * files.el (hack-one-local-variable-eval-safep):
19151 Allow minor-modes with explicit +/-1 arguments.
19152
59f623b7
TZ
191532011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
19154
19155 * term/xterm.el (xterm): Add defgroup.
19156 (xterm-extra-capabilities): Add defcustom to supply known xterm
19157 capabilities, skip querying them, or query them (default).
19158 (terminal-init-xterm): Use it.
19159 (terminal-init-xterm-modify-other-keys): New function to set up
19160 modifyOtherKeys support to simplify `terminal-init-xterm'.
19161
9aab8e0d
MR
191622011-06-09 Martin Rudalics <rudalics@gmx.at>
19163
19164 * window.el (resize-window-reset, resize-window-reset-1)
19165 (resize-subwindows-skip-p, resize-subwindows-normal)
19166 (resize-subwindows, resize-other-windows, resize-this-window)
19167 (resize-root-window, resize-root-window-vertically)
19168 (window-deletable-p, window-or-subwindow-p)
19169 (frame-root-window-p): New functions.
19170
e8b08aee
GM
191712011-06-09 Glenn Morris <rgm@gnu.org>
19172
19173 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
19174 (ange-ftp-get-files): Use it.
19175
254c37a5
AK
191762011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
19177
19178 * mail/sendmail.el (mail-recover-1, mail-recover):
19179 * files.el (recover-file, recover-session):
19180 Handle dired-listing-switches not being just a single short option.
19181
35d7dbd3
GM
191822011-06-09 Glenn Morris <rgm@gnu.org>
19183
19184 * calendar/appt.el (appt-display-message, appt-disp-window):
19185 Handle lists of appointments.
19186
387522b2
MR
191872011-06-08 Martin Rudalics <rudalics@gmx.at>
19188
2b75be67
SM
19189 * window.el (one-window-p): Move down in code.
19190 Rewrite doc-string.
19191 (window-current-scroll-bars): Rewrite doc-string.
19192 Normalize live window argument.
387522b2
MR
19193 (walk-windows, get-window-with-predicate, count-windows):
19194 Rewrite doc-string. Use window-list-1.
19195 (window-in-direction-2, window-in-direction, get-mru-window):
19196 New functions.
19197
d8e4b68b 191982011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
19199
19200 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
19201 Doc fix (Bug#8713).
19202
192032011-06-08 Chong Yidong <cyd@stupidchicken.com>
19204
19205 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
19206
192072011-06-08 Juanma Barranquero <lekktu@gmail.com>
19208
19209 * loadhist.el (unload-feature-special-hooks):
19210 Add `comint-output-filter-functions'.
19211
0de12c52
IK
192122011-06-08 Ivan Kanis <gnu@kanis.fr>
19213
19214 * calendar/appt.el (appt-check): Move some initializations into the let.
19215
f3d1777e
MR
192162011-06-08 Martin Rudalics <rudalics@gmx.at>
19217
19218 * window.el (window-height): Defalias to window-total-height.
19219 (window-width): Defalias to window-body-width.
19220
18af70d0
CY
192212011-06-07 Chong Yidong <cyd@stupidchicken.com>
19222
19223 * image-mode.el (image-toggle-animation): New command.
19224 (image-mode-map): Bind it to RET.
19225 (image-mode): Update message.
19226 (image-toggle-display-image): Avoid a spurious cache flush.
19227 (image-transform-rotation): Doc fix.
19228 (image-transform-properties): Return quickly in the normal case.
19229 (image-animate-loop): Rename from image-animate-max-time.
19230
2b75be67 19231 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
19232 (create-animated-image): Remove unnecessary function.
19233 (image-animate): Rename from image-animate-start. New arg.
2b75be67 19234 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
19235 (image-animate-timer): Use car-safe.
19236 (image-animate-timeout): Rename argument.
19237
190b47e6
MR
192382011-06-07 Martin Rudalics <rudalics@gmx.at>
19239
19240 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
19241 window.c. Rename first argument to ALL-FRAMES.
19242 Rephrase doc-strings.
19243 (get-buffer-window-list): Rewrite using window-list-1.
19244 Rephrase doc-string.
a1511caf
MR
19245 (window-safe-min-height, window-safe-min-width): New constants.
19246 (window-size-ignore, window-min-size, window-min-size-1)
19247 (window-sizable, window-sizable-p, window-size-fixed-1)
19248 (window-size-fixed-p, window-min-delta-1, window-min-delta)
19249 (window-max-delta-1, window-max-delta, window-resizable)
19250 (window-resizable-p, window-total-height, window-total-width)
19251 (window-body-width): New functions.
19252 (window-full-height-p, window-full-width-p): Rewrite using
19253 window-total-size.
19254 (window-body-height): Rewrite using window-body-size.
190b47e6 19255
85cc1f11
MR
192562011-06-06 Martin Rudalics <rudalics@gmx.at>
19257
19258 * window.el (window-right, window-left, window-child)
19259 (window-child-count, window-last-child, window-any-p)
19260 (normalize-live-buffer, normalize-live-frame)
19261 (normalize-any-window, normalize-live-window)
19262 (window-iso-combination-p, window-iso-combined-p)
19263 (window-iso-combinations)
19264 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
19265 (windows-with-parameter, window-with-parameter)
19266 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
19267 (window-atom-check, window-side-check, window-check):
19268 New functions.
85cc1f11
MR
19269 (ignore-window-parameters, window-sides, window-sides-vertical)
19270 (window-sides-slots): New variables.
19271 (window-size-fixed): Move down in code. Minor doc-string fix.
19272
e7156492
AS
192732011-06-05 Andreas Schwab <schwab@linux-m68k.org>
19274
19275 * comint.el (comint-dynamic-complete-as-filename)
19276 (comint-dynamic-complete-filename): Correctly call
19277 completion-in-region.
19278
7e821d0d
DD
192792011-06-05 Deniz Dogan <deniz@dogan.se>
19280
19281 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
19282 in last change.
19283
ac09b8a1
DD
192842011-06-05 Deniz Dogan <deniz@dogan.se>
19285
19286 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
19287 (rcirc): Use it to prompt for encryption.
19288
34699b85
RW
192892011-06-05 Roland Winkler <winkler@gnu.org>
19290
19291 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
19292 (bibtex-search-entries): New command bound to C-c C-a.
19293 (bibtex-display-entries): New function.
19294
004dedd3
RW
192952011-06-05 Roland Winkler <winkler@gnu.org>
19296
19297 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
19298 (bibtex-insert-kill): After yanking insert newline if necessary.
19299 (bibtex-initialize): Call bibtex-string-files-init only once.
19300 (bibtex-mode): Do not call easy-menu-add.
19301 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
19302 (bibtex-yank): Set arg properly if nil.
19303
022fe7ce
RW
193042011-06-05 Roland Winkler <winkler@gnu.org>
19305
2b75be67
SM
19306 * textmodes/bibtex.el (bibtex-search-entry-globally):
19307 New variable.
022fe7ce
RW
19308 (bibtex-search-entry): Use it.
19309
b7c3692a
RW
193102011-06-05 Roland Winkler <winkler@gnu.org>
19311
19312 * textmodes/bibtex.el (bibtex-entry-format): New option
19313 sort-fields.
19314 (bibtex-format-entry, bibtex-reformat): Honor this option.
19315 (bibtex-parse-entry): Return fields in proper order.
19316
8eda563d
JB
193172011-06-05 Juanma Barranquero <lekktu@gmail.com>
19318
19319 * doc-view.el (doc-view-remove-if): Move computation of result out
19320 of `dolist' to silence misleading lexical-binding warning.
19321
7dbe3dbc
CY
193222011-06-04 Chong Yidong <cyd@stupidchicken.com>
19323
19324 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
19325 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
19326
0c33dd17
MA
193272011-06-04 Michael Albinus <michael.albinus@gmx.de>
19328
19329 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
19330 "SunOS 5.10".
19331
f8f91c2b
MA
193322011-06-04 Michael Albinus <michael.albinus@gmx.de>
19333
19334 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
19335 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
19336 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
19337 (tramp-parse-putty):
19338 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
19339 (tramp-completion-function-alist-ssh)
19340 (tramp-completion-function-alist-telnet)
19341 (tramp-completion-function-alist-su)
19342 (tramp-completion-function-alist-putty): Set `tramp-autoload'
19343 cookie.
19344
19345 * net/tramp-ftp.el:
19346 * net/tramp-sh.el:
19347 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
19348 load "tramp.el" `tramp-set-completion-function'.
19349
e17d9003
SM
193502011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
19351
19352 * shell.el: Require and use pcomplete.
19353 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
19354 (shell-completion-vars): Set pcomplete-default-completion-function.
19355
6c4cab03
DD
193562011-06-04 Deniz Dogan <deniz@dogan.se>
19357
19358 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
19359 `memq' (Bug#8799).
19360
ea9fafe0
SM
193612011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
19362
19363 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
19364
b3e945d3
JB
193652011-06-02 Juanma Barranquero <lekktu@gmail.com>
19366
19367 * bs.el (bs--mark-unmark, bs--nth-wrapper):
19368 * mpc.el (mpc-select-extend, mpc-songpointer-context):
19369 * vc/log-view.el (log-view-beginning-of-defun):
19370 * vc/smerge-mode.el (smerge-apply-resolution-patch)
19371 (smerge-refine-forward, smerge-refine-chopup-region):
19372 Silence warning for unused `dotimes' counter variables.
19373
7d520089
SM
193742011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
19375
19376 * net/tramp.el (tramp-with-progress-reporter): Rename from
19377 with-progress-reporter. Use `declare'.
19378 * net/tramp-smb.el:
19379 * net/tramp-sh.el:
19380 * net/tramp-gvfs.el: Update all uses.
19381
a1c2400f
JB
193822011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
19383
19384 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
19385 buffer isn't killed before making it current.
19386
2403c841
SM
193872011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
19388
19389 Silence various byte-compiler warnings.
19390 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
19391 `access-type' and new obsolescence format.
19392 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
19393 new format.
19394 (byte-compile-check-variable): New `access-type' argument.
19395 Only warn if the access-type is obsolete.
19396 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
19397 (byte-compile-variable-set): Adjust callers.
19398 * help-fns.el (describe-variable): Adjust to new obsolescence format.
19399 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
19400 setting it as obsolete.
19401 * simple.el (minibuffer-completing-symbol):
19402 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
19403 access as obsolete.
19404 * minibuffer.el (minibuffer-completing-file-name): Don't make it
19405 obsolete yet.
19406 * international/quail.el (quail-mouse-choose-completion): Remove unused
19407 code referring to obsolete var.
19408 (quail-choose-completion-string): Remove.
19409 * server.el (server-clients-with, server-kill-buffer-query-function)
19410 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
19411 * proced.el (proced-send-signal):
19412 * emacs-lisp/lisp.el (lisp-complete-symbol):
19413 Replace completion-annotate-function with completion-extra-properties.
19414
2462470b
SM
194152011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
19416
fb5b2591
SM
19417 * simple.el (goto-line): Use read-number.
19418 (overriding-map-is-bound): Remove.
19419 (saved-overriding-map): Change default.
19420 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
19421 Take the map as argument.
19422 (universal-argument, negative-argument, digit-argument): Use it.
19423 (restore-overriding-map): Adjust.
19424 (do-auto-fill): Use fill-forward-paragraph.
19425 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
19426
fd6fa53f
SM
19427 * minibuffer.el (minibuffer-inactive-mode-map): New var.
19428 (minibuffer-inactive-mode): New major mode.
19429 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
19430 the *Messages* buffer" hack.
19431 (mouse-popup-menubar): Don't burp if the event is a normal key.
19432
2462470b
SM
19433 Miscellaneous tweaks.
19434 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
19435 lexical scoping as in subr.el's dolist and dotimes.
19436 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
19437 Silence compiler warning.
19438 * thingatpt.el (forward-whitespace): Trivial coding style fix.
19439 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
19440 * international/ccl.el (ccl-compile): Trivial simplification.
19441 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
19442 * emacs-lisp/testcover.el (testcover-end): Remove spurious
19443 `printflag' argument.
19444 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
19445 Purecopy the whole obsolescence data.
19446
108bf785
LL
194472011-06-01 Leo Liu <sdl.web@gmail.com>
19448
19449 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
19450 improve doc-string as suggested by Marco Pessotto
19451 <melmothx@gmail.com>.
19452 (rcirc-print): Fix last change.
19453
30a23501
SM
194542011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
19455
19456 * minibuffer.el (complete-with-action): Return nil for the metadata and
19457 boundaries of non-functional tables.
19458 (completion-table-dynamic): Return nil for the metadata.
19459 (completion-table-with-terminator): Add default case, using
19460 complete-with-action.
19461 (completion--metadata): New function.
19462 (completion-all-sorted-completions, minibuffer-completion-help): Use it
19463 to try and avoid pathological performance problems.
19464 (completion--embedded-envvar-table): Return `category' metadata.
19465
bcd54f83
LMI
194662011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
19467
19468 * subr.el (process-alive-p): New tiny convenience function.
19469
e227544d
SM
194702011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
19471
19472 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
19473 content but also its previous major mode.
19474
e8296fdc
HE
194752011-05-31 Helmut Eller <eller.helmut@gmail.com>
19476
4d61f28d 19477 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
19478 *Backtrace* buffer when we exit with C-M-c.
19479
620c53a6
SM
194802011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
19481
19482 * minibuffer.el: Add metadata method to completion tables.
19483 (completion-category-overrides): New defcustom.
19484 (completion-metadata, completion--field-metadata)
19485 (completion-metadata-get, completion--styles)
19486 (completion--cycle-threshold): New functions.
19487 (completion-try-completion, completion-all-completions):
19488 Add `metadata' argument to choose completion-styles.
19489 (completion--do-completion): Use metadata to choose cycling.
19490 (completion-all-sorted-completions): Use metadata for sorting.
19491 Remove :completion-cycle-penalty which is not needed any more.
19492 (completion--try-word-completion): Add `metadata' argument.
19493 (minibuffer-completion-help): Check metadata for annotation function
19494 and sorting.
19495 (completion-file-name-table): Return `category' metadata.
19496 (minibuffer-completing-file-name): Make obsolete.
19497 * simple.el (minibuffer-completing-symbol): Make obsolete.
19498 * icomplete.el (icomplete-completions): Pass new `metadata' param to
19499 completion-try-completion.
19500
1257e755
SM
195012011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
19502
19503 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
19504
3767e706
LL
195052011-05-30 Leo Liu <sdl.web@gmail.com>
19506
19507 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
19508 (rcirc-print): Decode all incoming messages (bug#8744).
19509 (rcirc-decode-coding-system): Allow value nil for automatic coding
19510 system detection.
3767e706 19511
d1a5d56a
GM
195122011-06-01 Glenn Morris <rgm@gnu.org>
19513
19514 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
19515
e8cbec34
CY
195162011-05-29 Chong Yidong <cyd@stupidchicken.com>
19517
19518 * image.el (image-animate-max-time): Allow nil and t values.
19519 Default to nil.
19520 (create-animated-image): Doc fix.
19521 (image-animate-start): Remove second arg; just use
19522 image-animate-max-time.
19523 (image-animate-timeout): Doc fix. Args changed.
19524
19525 * image-mode.el (image-toggle-display-image): Ensure that the
19526 image spec passed to the animate timer is the same object as in
58179cce 19527 the buffer's display property (Bug#6981).
e8cbec34
CY
19528 (image-transform-properties): Doc fix.
19529
19530 * image.el (image-animate-max-time): Default to nil.
19531
159daf87
MR
195322011-05-29 Martin Rudalics <rudalics@gmx.at>
19533
19534 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
19535 entire buffer list (Bug#8184).
19536
d66c4c7c
CY
195372011-05-29 Chong Yidong <cyd@stupidchicken.com>
19538
19539 * image.el (imagemagick-types-inhibit)
19540 (imagemagick-register-types): Doc fix.
19541
80aec780
DD
195422011-05-29 Deniz Dogan <deniz@dogan.se>
19543
19544 * net/rcirc.el (rcirc): Use the user's stored encryption method by
19545 default.
19546
1dd3c2d9
CY
195472011-05-29 Chong Yidong <cyd@stupidchicken.com>
19548
19549 * select.el: Don't perform clipboard-manager saving in hooks;
19550 leave the hooks empty.
19551
60e56523
LL
195522011-05-28 Leo Liu <sdl.web@gmail.com>
19553
19554 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
19555 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
19556 (occur-edit-mode): New major mode (Bug#8463).
19557 (occur-after-change-function): New function.
19558 (occur-engine): Give Occur tags a read-only property.
19559
2b1e1a22
KR
195602011-05-28 Kevin Ryde <user42@zip.com.au>
19561
19562 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
19563
5d344e88
CY
195642011-05-28 Chong Yidong <cyd@stupidchicken.com>
19565
8e6ca83d
CY
19566 * bindings.el (help-echo): Make the initial non-indicator dash
19567 empty on graphical terminals (Bug#7295).
19568
5d344e88
CY
19569 * files.el (auto-mode-alist): Move config rule after the
19570 in-stripping one (Bug#8547).
19571
bfbbace7
CY
19572 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
19573
fbeba6e2
CY
19574 * startup.el (normal-splash-screen): Remove gratuitous mode-line
19575 setting (Bug#8740).
19576
60ed8c72
AA
195772011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
19578
4ac619f0
AA
19579 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
19580 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
19581 (Bug#8539).
60ed8c72 19582
23db196e
CY
195832011-05-28 Chong Yidong <cyd@stupidchicken.com>
19584
19585 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
19586
5012f24c
DK
195872011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
19588
19589 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
19590 (hs-hide-block-at-point, hs-find-block-beginning)
19591 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
19592 (Bug#8279).
19593
6a639b16
GM
195942011-05-28 Glenn Morris <rgm@gnu.org>
19595
19596 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
19597
d43eaf2c
CY
195982011-05-28 Chong Yidong <cyd@stupidchicken.com>
19599
5199bde1
CY
19600 * help-fns.el (describe-function-1): If the function is a derived
19601 major mode, print the parent mode.
19602
d43eaf2c
CY
19603 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
19604 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
19605
423428a8
SM
196062011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
19607
0ff8e1ba 19608 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 19609 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
19610 * progmodes/etags.el (tags-completion-at-point-function):
19611 * info-look.el (info-lookup-completions-at-point): Mark as
19612 non-exclusive.
19613 (info-complete): Adjust accordingly.
19614
423428a8
SM
19615 * info-look.el: Convert to lexical-binding and completion-at-point.
19616 (info-lookup-completions-at-point): New function.
19617 (info-complete): Use it and completion-in-region.
19618
b74aa22b
DA
196192011-05-28 Drew Adams <drew.adams@oracle.com>
19620
19621 * isearch.el: Let M-e start with point at the first mismatched char.
19622 (isearch-fail-pos): New function.
19623 (isearch-edit-string): Use it.
19624
66e2e71d
DK
196252011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
19626
19627 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
19628
b1890b0f 196292011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
19630
19631 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
19632 traversal functions for avl-trees.
19633 (avl-tree--stack): New struct.
19634 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
19635 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
19636 (avl-tree--do-enter): Add optional `updatefun' arg.
19637 Change return value.
eb95d01d 19638 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
19639 (avl-tree--do-delete): Add `test' and `nilflag' args.
19640 Change return value.
eb95d01d
TC
19641 (avl-tree-member): Add optional `nilflag'
19642 (avl-tree-member-p): New function.
19643 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
19644 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
19645 (avl-tree-stack-empty-p): New functions.
19646
3769ddcf
TC
19647 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
19648 avl-tree--del-balance1 and make it work both ways.
19649 (avl-tree--del-balance2): Remove.
19650 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
19651 make it work both ways.
19652 (avl-tree--enter-balance2): Remove.
19653 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
19654 New macros.
19655 (avl-tree--mapc, avl-tree-map): Add direction argument.
19656
eb95d01d 196572011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
19658
19659 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
19660
a9f737ee
CY
196612011-05-27 Chong Yidong <cyd@stupidchicken.com>
19662
19663 * select.el: Support clipboard managers with built-in function
19664 x-clipboard-manager-save, via delete-frame-functions and
19665 kill-emacs-hook.
19666 (xselect-convert-to-targets): Add MULTIPLE target to list.
19667 (xselect-convert-to-save-targets): New function.
19668
c92a1e54
KH
196692011-05-27 Kenichi Handa <handa@m17n.org>
19670
19671 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
19672 let-binding rfc2047-encode-encoded-words to nil.
19673
e145f188
GM
196742011-05-27 Glenn Morris <rgm@gnu.org>
19675
5ec8a862
GM
19676 * mail/emacsbug.el: Don't require url-util.
19677
4b29d9fb
GM
19678 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
19679
e145f188
GM
19680 * files.el (set-auto-mode):
19681 Also respect mode: entries at the end of the file. (Bug#8586)
19682
7d15102b
GM
196832011-05-26 Glenn Morris <rgm@gnu.org>
19684
98f593b8
GM
19685 * files.el (hack-local-variables-prop-line, hack-local-variables):
19686 Downcase mode names, as seems to be traditional.
27b48e63 19687 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 19688
7d15102b
GM
19689 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
19690 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
19691
51d5b4ec
JD
196922011-05-25 Julien Danjou <julien@danjou.info>
19693
19694 * textmodes/rst.el (rst-define-level-faces): Do not define face
19695 symbol if it is already defined.
19696
91513f63
VB
196972011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
19698
19699 * play/5x5.el (5x5-new-game, 5x5-randomize):
19700 Reset 5x5-solver-output to nil when a new grid is cast.
19701 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
19702 these debugging traces, as defmacro breaks the compiled code.
19703
4d90d6d0
DK
197042011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
19705
19706 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
19707
e1b90ef6
LL
197082011-05-24 Leo Liu <sdl.web@gmail.com>
19709
19710 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
19711 (vc-bzr-sha1): Adapt.
19712
d8e4b68b 19713 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
19714
19715 * bindings.el: Provide sha1 feature.
19716
db0406bb 197172011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
19718
19719 * mail/sendmail.el: Require `rfc2047'.
19720 (mail-insert-from-field): Do not perform RFC2047 encoding.
19721 (mail-encode-header): New function.
19722 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
19723 buffer to the return value of select-message-coding-system.
19724 Call mail-encode-header.
b8d747b9
KH
19725
19726 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
19727
db0406bb 197282011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 19729
4d90d6d0
DK
19730 * mail/supercite.el (sc-default-cite-frame):
19731 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 19732
eb8a5e9b
GM
197332011-05-24 Glenn Morris <rgm@gnu.org>
19734
f8630703
GM
19735 * progmodes/python.el (brm-menu): Declare.
19736
8831bbed
GM
19737 * emulation/viper.el (viper-set-hooks): Declare.
19738
eb8a5e9b
GM
19739 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
19740 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
19741 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
19742 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
19743 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
19744 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
19745
a2a25d24
SM
197462011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
19747
19748 Add an :exit-function for completion-at-point.
19749
19750 * minibuffer.el (completion--done): New fun.
19751 (completion--do-completion): Use it. New arg `expect-exact'.
19752 (minibuffer-complete, minibuffer-complete-word): Don't output message,
19753 since completion--do-completion does it for us now.
19754 (minibuffer-force-complete): Use completion--done and
19755 completion--replace. Handle sole-completion case with more care.
19756 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
19757 (completion-extra-properties): New var.
19758 (completion-annotate-function): Make obsolete.
19759 (minibuffer-completion-help): Adjust accordingly.
19760 Use completion-list-insert-choice-function.
19761 (completion-at-point, completion-help-at-point):
19762 Bind completion-extra-properties.
19763 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
19764 * simple.el (completion-list-insert-choice-function): New var.
19765 (completion-setup-function): Preserve it.
19766 (choose-completion): Pay attention to it, shuffle the code a bit.
19767 (choose-completion-string): New arg `insert-function'.
19768
19769 * textmodes/bibtex.el: Convert to lexical binding.
19770 (bibtex-mode-map): Use completion-at-point.
19771 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
19772 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
19773 (bibtex-complete): Define as obsolete alias.
19774 (bibtex-complete-internal): Remove.
19775 (bibtex-format-entry): Remove unused sub-group in regexp.
19776 * shell.el (shell--command-completion-data)
19777 (shell-environment-variable-completion):
19778 * pcomplete.el (pcomplete-completions-at-point):
19779 * comint.el (comint--complete-file-name-data): Use :exit-function
19780 instead of completion-table-with-terminator so it also works for
19781 choose-completion.
19782
e44e373d
SM
197832011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
19784
4f91a816
SM
19785 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
19786
782fc819
SM
19787 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
19788 (bug#8710).
19789
e44e373d
SM
19790 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
19791
381987c3
KM
197922011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
19793
19794 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
19795 customization variable and implement: If non-nil, auto-fill will
19796 be inhibited while on topic's header line.
19797
b776bc70
VB
197982011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
19799
19800 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 19801 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
19802 always have a solution in grid size = 5 cases.
19803 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
19804 (5x5-solver-output, 5x5-log-buffer): New vars.
19805 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
19806 Make these variables buffer local to achieve 5x5 multi-session-ness.
19807 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
19808 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
19809 (5x5-solve-suggest): New funs.
19810 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
19811 randomize a grid so that we ensure that there is always a solution.
19812 (5x5-make-random-grid): Allow other movement than flipping.
19813
7de88b6e
KR
198142011-05-23 Kevin Ryde <user42@zip.com.au>
19815
19816 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 19817 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
19818 advice and passes PREDICATE.
19819
b1ef1257
SM
198202011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
19821
bbca48fe
SM
19822 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
19823 byte-compile-lambda if it's actually a lambda.
19824
b1ef1257
SM
19825 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
19826 Fix function quoting. Use backquote better.
19827
92a9cc65
YS
198282011-05-22 Yuanle Song <sylecn@gmail.com>
19829
19830 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
19831 matching (Bug#8516).
19832
f0fb8059
JA
198332011-01-22 Jari Aalto <jari.aalto@cante.net>
19834
19835 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
19836 different face (Bug#8178).
19837
d5b44c93
CY
198382011-05-22 Chong Yidong <cyd@stupidchicken.com>
19839
19840 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
19841 defface (Bug#8144).
19842
79106a44
SM
198432011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
19844
9c848d8a
SM
19845 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
19846 funcall as well (bug#8712). Warn when performing those conversions.
19847 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
19848
79106a44
SM
19849 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
19850
88dfa756
GM
198512011-05-22 Glenn Morris <rgm@gnu.org>
19852
19853 * files.el (hack-local-variables-prop-line): Small simplifications.
19854 (hack-local-variables, hack-local-variables-prop-line):
19855 If MODE-ONLY, return the mode, rather than just `t'.
19856
b7cf2c79
SM
198572011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
19858
19859 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
19860
3f1a8558
GM
198612011-05-21 Glenn Morris <rgm@gnu.org>
19862
7e4ccca3
GM
19863 * files.el (hack-local-variables-prop-line, hack-local-variables):
19864 If only interested in the mode, don't bother doing the other stuff.
19865
637d46ca
GM
19866 * image-mode.el (image-after-revert-hook):
19867 Redraw all frames on which the image is visible. (Bug#8567)
19868
973d955b
GM
19869 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
19870
3f1a8558
GM
19871 * wid-edit.el (widget-checklist-match-inline):
19872 Fix 2011-04-19 change. (Bug#8649)
19873
96479927
SM
198742011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
19875
1dcf791f
SM
19876 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
19877 Also allow singlespace after single-letter capitals followed by a dot.
19878
96479927
SM
19879 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
19880 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
19881
35fd0881
N
198822011-05-20 Nix <nix@esperi.org.uk>
19883
19884 * files.el (basic-save-buffer-2):
19885 Fix handling of break-hardlink-on-save with non-existent files.
19886
82745640
DD
198872011-05-19 Deniz Dogan <deniz@dogan.se>
19888
19889 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 19890 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 19891
4a720484
GM
198922011-05-19 Glenn Morris <rgm@gnu.org>
19893
d1f21341
GM
19894 * progmodes/f90.el (f90-type-def-re):
19895 Handle "type, bind(c)". (Bug#8691)
19896
4a720484
GM
19897 * emacs-lisp/autoload.el (batch-update-autoloads):
19898 Set autoload-excludes by parsing loadup.el rather than Makefiles.
19899
2fb0a219
MA
199002011-05-18 Michael Albinus <michael.albinus@gmx.de>
19901
19902 * net/tramp.el (tramp-process-actions): Set "first-password-request"
19903 property for the correct connection in case of multihops.
19904
e565dd37
GM
199052011-05-18 Glenn Morris <rgm@gnu.org>
19906
c2571358 19907 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
19908 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
19909
e565dd37
GM
19910 Rationalize calendar handling of day and month abbrev-arrays.
19911 * calendar/calendar.el (calendar-customized-p): New function.
19912 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
19913 (calendar-day-name-array, calendar-month-name-array): Doc fix.
19914 Add :set function.
19915 (calendar-abbrev-length, calendar-day-abbrev-array)
19916 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
19917 (calendar-day-abbrev-array, calendar-month-abbrev-array):
19918 Elements may no longer be nil.
19919 (calendar-day-name, calendar-month-name):
19920 Update for changed nature of abbrev arrays.
19921 * calendar/diary-lib.el (diary-name-pattern):
19922 Update for changed nature of abbrev arrays.
19923 (diary-mark-entries-1): Update calendar-make-alist calls.
19924 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
19925 * calendar/cal-html.el (cal-html-day-abbrev-array):
19926 Simply inherit from calendar-day-abbrev-array.
19927
1d99a745
SM
199282011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
19929
19930 * progmodes/grep.el (grep-mode): Disable default
19931 compilation-directory-matcher setting (bug#8684).
19932
7c1d9aa0
MA
199332011-05-17 Michael Albinus <michael.albinus@gmx.de>
19934
19935 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
19936 instead of "head" and "tail". There were problems with SunOS 5.9,
19937 and it performs better.
19938
3952e9d8
GM
199392011-05-17 Glenn Morris <rgm@gnu.org>
19940
2dd12e7f
GM
19941 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
19942
e4157b9c
GM
19943 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
19944 Replace obsolete function.
19945
8e249bbd
GM
19946 * shell.el (pcomplete-parse-arguments-function): Declare.
19947
3952e9d8
GM
19948 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
19949 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
19950 (appt-check): Doc fixes.
19951 (appt-disp-window-function, appt-delete-window-function):
19952 Remove needless special case in custom :type.
19953 (appt-display-count): Default to 0, not nil.
19954 (appt-check): Reset appt-display-count to 0, not nil.
19955
c71a0d48 199562011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 19957
c71a0d48
GM
19958 * progmodes/python.el (python-font-lock-keywords):
19959 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 19960
31d55be9
SM
199612011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
19962
19963 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
19964
3bfacb2f
KR
199652011-05-16 Kevin Ryde <user42@zip.com.au>
19966
19967 * info-look.el (makefile-automake-mode): New setups, looking in
19968 automake manual, then makefile-mode.
19969 (makefile-mode): Remove automake manual, have it just in
19970 makefile-automake-mode since there's various things different or
19971 not relevant to plain make.
19972 (makefile-mode): Remove "other-modes" non-existent automake-mode,
19973 believe a hypothetical automake-mode would go to makefile-mode,
19974 not the other way around.
19975
c8e83751
CY
199762011-05-15 Chong Yidong <cyd@stupidchicken.com>
19977
5e9e35cd
CY
19978 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
19979 hunk-end tags (Bug#8672).
19980
c8e83751
CY
19981 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
19982 vc-annotate-show-diff-revision-at-line (Bug#8671).
19983
50b23e5a
GM
199842011-05-14 Glenn Morris <rgm@gnu.org>
19985
7210a739
GM
19986 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
19987 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
19988 (change-log-font-lock-keywords): Also handle multiple author lines
19989 with leading tabs. (Bug#8644)
7210a739 19990
4691905a
GM
19991 * calendar/appt.el (appt-check): Rename some local variables.
19992 Some simplification/reordering.
19993
50b23e5a
GM
19994 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
19995 (feedmail-sendmail-f-doesnt-sell-me-out)
19996 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
19997 (feedmail-debug-sit-for, feedmail-queue-express-hook)
19998 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
19999 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
20000 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
20001 (feedmail-binmail-gnulinuxish-template):
20002 Rename from feedmail-binmail-linuxish-template.
20003 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
20004 Use insert-buffer-substring.
20005
215cda7c
BC
200062011-05-14 Bill Carpenter <bill@carpenter.org>
20007
20008 * mail/feedmail.el (feedmail-patch-level): Increase.
20009 (feedmail-debug): New custom group.
20010 (feedmail-confirm-outgoing-timeout)
20011 (feedmail-sendmail-f-doesnt-sell-me-out)
20012 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
20013 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
20014 (feedmail-sender-line, feedmail-from-line)
20015 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 20016 (feedmail-spray-this-address)
215cda7c
BC
20017 (feedmail-spray-address-fiddle-plex-list)
20018 (feedmail-queue-use-send-time-for-date)
20019 (feedmail-queue-use-send-time-for-message-id)
20020 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
20021 (feedmail-buffer-eating-function):
20022 Doc fixes.
20023 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
20024 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
20025 (feedmail-message-action-scroll-down): New functions.
20026 (feedmail-queue-directory, feedmail-queue-draft-directory):
20027 Use expand-file-name.
20028 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
20029 Remove C-v help entry.
20030 (feedmail-queue-buffer-file-name): New variable.
20031 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
20032 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
20033 (feedmail-message-action-send-strong, feedmail-message-action-edit)
20034 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
20035 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
20036 (feedmail-message-action-toggle-spray)
20037 (feedmail-run-the-queue-no-prompts)
20038 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
20039 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
20040 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
20041 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
20042 (feedmail-envelope-deducer, feedmail-fiddle-from)
20043 (feedmail-fiddle-sender, feedmail-default-date-generator)
20044 (feedmail-fiddle-date, feedmail-fiddle-message-id)
20045 (feedmail-fiddle-spray-address)
20046 (feedmail-fiddle-list-of-spray-fiddle-plexes)
20047 (feedmail-fiddle-list-of-fiddle-plexes)
20048 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
20049 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
20050 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
20051 Change default. Doc fix.
20052 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
20053 (feedmail-binmail-linuxish-template): New constant.
20054 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
20055 Respect feedmail-sendmail-f-doesnt-sell-me-out.
20056 (feedmail-send-it): Add debug call.
20057 Use feedmail-queue-buffer-file-name, and
20058 feedmail-send-it-immediately-wrapper.
20059 (feedmail-message-action-send): Add debug call.
20060 Use feedmail-send-it-immediately-wrapper.
20061 (feedmail-queue-express-to-queue): Add debug call.
20062 Run feedmail-queue-express-hook.
20063 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
20064 (feedmail-message-action-help-blat):
20065 Rename from feedmail-queue-send-edit-prompt-help-first.
20066 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
20067 Check line-endings. Handle errors better.
20068 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
20069 Doc fix. Add debug call.
20070 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
20071 Use feedmail-queue-send-edit-prompt-inner.
20072 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
20073 (feedmail-queue-send-edit-prompt-inner): New function, extracted
20074 from feedmail-queue-send-edit-prompt.
20075 (feedmail-queue-send-edit-prompt-help)
20076 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
20077 (feedmail-tidy-up-slug): Add debug call.
20078 Respect feedmail-queue-slug-suspect-regexp.
20079 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
20080 (feedmail-dump-message-to-queue): Add debug call.
20081 Expand queue-directory.
20082 (feedmail-dump-message-to-queue): Change message slightly.
20083 Use feedmail-say-chatter.
20084 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
20085 (feedmail-send-it-immediately-wrapper): New function.
20086 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
20087 Insert empty string rather than newline. Handle full-frame case.
20088 Use catch/throw. Use feedmail-say-chatter.
20089 (feedmail-fiddle-from): Try mail-host-address.
20090 (feedmail-default-message-id-generator): Doc fix.
20091 Bind system-time-locale. Handle missing end.
20092 (feedmail-fiddle-x-mailer): Add debug call.
20093 Handle feedmail-x-mailer-line being nil.
20094 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
20095 Add debug call. Use buffer-substring-no-properties.
20096 (feedmail-say-debug, feedmail-say-chatter): New functions.
20097 (feedmail-find-eoh): Give an explicit error.
20098
42c7e61e
UJ
200992011-05-13 Ulf Jasper <ulf.jasper@web.de>
20100
c2571358 20101 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 20102 family from helvetica to sans.
c2571358 20103 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
20104 etc/images/newsticker.
20105
c2571358 20106 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
20107 family from helvetica to sans.
20108
20109 * net/newst-plainview.el (newsticker-new-item-face)
20110 (newsticker-old-item-face, newsticker-immortal-item-face)
20111 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 20112 (newsticker-statistics-face): Change default family from
42c7e61e 20113 helvetica to sans.
c2571358 20114 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
20115 etc/images/newsticker.
20116
5d3385a0
JB
20117 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
20118 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
20119 auto-marking.
20120
8497a297
DV
201212011-05-13 Didier Verna <didier@xemacs.org>
20122
20123 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
20124 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
20125 TODO entries.
8497a297
DV
20126 (lisp-lambda-list-keyword-parameter-indentation)
20127 (lisp-lambda-list-keyword-parameter-alignment)
20128 (lisp-lambda-list-keyword-alignment): New customizable user options.
20129 (lisp-indent-defun-method): Improve docstring.
20130 (extended-loop-p): Fix comment.
20131 (lisp-indent-lambda-list-keywords-regexp): New variable.
20132 (lisp-indent-lambda-list): New function.
20133 (lisp-indent-259): Use it.
20134 (lisp-indent-defmethod): Support for more than one
20135 method qualifier and properly indent methods lambda-lists.
20136 (defgeneric): Provide a missing common-lisp-indent-function property.
20137
f278f87f
SM
201382011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
20139
20140 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
20141 bounds for the empty string (bug#8667).
20142
5233edd7
GM
201432011-05-13 Glenn Morris <rgm@gnu.org>
20144
5237a44f
GM
20145 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
20146
8340026c 20147 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 20148 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 20149
5233edd7 20150 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 20151 (appt-time-msg-list): Doc fix.
a5464014 20152 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 20153
92d10796
AS
201542011-05-12 Andreas Schwab <schwab@linux-m68k.org>
20155
20156 * progmodes/ld-script.el (ld-script-keywords)
20157 (ld-script-builtins): Update keywords list.
20158
914a0ae1
SM
201592011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
20160
c89be45f
SM
20161 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
20162
914a0ae1
SM
20163 * shell.el (shell-completion-vars): New function.
20164 (shell-mode):
20165 * simple.el (read-shell-command): Use it.
20166 (blink-matching-open): No need for " [...]" in minibuffer-message.
20167
98dc3df3
GM
201682011-05-12 Glenn Morris <rgm@gnu.org>
20169
20170 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
20171 (appt-check): Simplify.
20172
d2fc7e3d 201732011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 20174
4d61f28d 20175 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
20176 literal "/dev/null".
20177
d2fc7e3d 201782011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
20179
20180 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
20181 Fix typo.
20182
d2fc7e3d 201832011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 20184
3f254caa
SM
20185 * progmodes/which-func.el (which-function):
20186 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
20187 which might not be defined (Bug#8260).
20188
d45885f7
GM
201892011-05-12 Glenn Morris <rgm@gnu.org>
20190
20191 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
20192 Let byte-compile-initial-macro-environment always take precedence.
20193
488086f4
SM
201942011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
20195
20196 * net/rcirc.el: Add support for SSL/TLS connections.
20197 (rcirc-server-alist): New field `encryption'.
20198 (rcirc): Check `encryption' settings.
20199 (rcirc-connect): New arg `encryption'. Use open-network-stream.
20200 Merge make-local-variable into `set'.
20201 (rcirc--connection-open-p): New function.
20202 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
20203 the process is not a network process (e.g. running gnutls-cli).
20204 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
20205 Make rcirc-(en|de)code-coding-system local here.
20206 (rcirc-mode): Merge make-local-variable into `set'.
20207 (rcirc-parent-buffer): Make permanent buffer-local.
20208 (rcirc-multiline-minor-mode): Don't do it here.
20209 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
20210 there's no server buffer.
20211
7d3b9d44
GM
202122011-05-11 Glenn Morris <rgm@gnu.org>
20213
f64049c6
GM
20214 * newcomment.el (comment-kill): Prefix "unused" local.
20215
93c9df73
GM
20216 * term/w32console.el (get-screen-color): Declare.
20217
7d3b9d44
GM
20218 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
20219 Handle symbol elements of byte-compile-initial-macro-environment.
20220
9e2dd53f
LL
202212011-05-10 Leo Liu <sdl.web@gmail.com>
20222
488086f4
SM
20223 * bookmark.el (bookmark-bmenu-mode-map):
20224 Bind bookmark-bmenu-search to `/'.
8b340240 20225
9e2dd53f 20226 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
20227 (footnote-unicode-string, footnote-unicode-regexp): New variable.
20228 (Footnote-unicode): New function.
20229 (footnote-style-alist): Add unicode style to the list.
20230 (footnote-style): Doc fix.
9e2dd53f 20231
79b70037
GM
202322011-05-10 Jim Meyering <meyering@redhat.com>
20233
20234 Fix doubled-word typos.
20235 * international/quail.el (quail-insert-kbd-layout): and and -> and
20236 * kermit.el: and and -> and
20237 * net/ldap.el (ldap-search-internal): to to -> to
20238 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
20239 * progmodes/js.el (js-mode): and and -> and
20240 * textmodes/artist.el (artist-move-to-xy): at at -> at
20241 (artist-draw-region-trim-line-endings): if if -> if
20242 And Safetyc -> Safety.
20243 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
20244
b8f82dc1 202452011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 20246 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
20247
20248 * files.el (hack-one-local-variable-eval-safep):
20249 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
20250
4f99f44b
GM
202512011-05-10 Glenn Morris <rgm@gnu.org>
20252
20253 * calendar/diary-lib.el (diary-list-entries-hook)
20254 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
20255 (diary-nongregorian-marking-hook, diary-list-entries)
20256 (diary-include-other-diary-files, diary-mark-entries)
20257 (diary-mark-included-diary-files): Doc fixes.
20258
84f29e6b
JB
202592011-05-09 Juanma Barranquero <lekktu@gmail.com>
20260
20261 * misc.el: Require tabulated-list.el during compilation.
20262
9bedd73a
CY
202632011-05-09 Chong Yidong <cyd@stupidchicken.com>
20264
488086f4
SM
20265 * progmodes/compile.el (compilation-start):
20266 Run compilation-filter-hook for the async case too.
9bedd73a
CY
20267 (compilation-filter-hook): Doc fix.
20268
797c735c
DD
202692011-05-09 Deniz Dogan <deniz@dogan.se>
20270
20271 * wdired.el: Remove outdated installation comment. Fix usage
20272 comment.
20273
5f4b1dfe
JB
202742011-05-09 Juanma Barranquero <lekktu@gmail.com>
20275
20276 * misc.el: Implement new command `list-dynamic-libraries'.
20277 (list-dynamic-libraries--loaded-only-p): New variable.
20278 (list-dynamic-libraries--refresh): New function.
20279 (list-dynamic-libraries): New command.
20280
4c44026c
CY
202812011-05-09 Chong Yidong <cyd@stupidchicken.com>
20282
488086f4
SM
20283 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20284 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
20285 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
20286 higher priority to avoid clobbering by gnu.
20287
027f966d
CY
202882011-05-08 Chong Yidong <cyd@stupidchicken.com>
20289
20290 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
20291 if the face has existing theme settings (Bug#8454).
20292
085f5d7d
CY
202932011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
20294
488086f4
SM
20295 * progmodes/perl-mode.el (perl-imenu-generic-expression):
20296 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 20297
2a86a00c
RS
20298 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
20299 special file names `.' and `..' (Bug#8259).
20300
d9c54a06
CY
203012011-05-08 Chong Yidong <cyd@stupidchicken.com>
20302
488086f4
SM
20303 * progmodes/grep.el (grep-mode-font-lock-keywords):
20304 Remove buffer-changing entries.
d9c54a06
CY
20305 (grep-filter): New function.
20306 (grep-mode): Add it to compilation-filter-hook.
20307
20308 * progmodes/compile.el (compilation-filter-hook)
20309 (compilation-filter-start): New defvars.
20310 (compilation-filter): Call compilation-filter-hook prior to
20311 updating the process mark.
20312
c4662635
SM
203132011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
20314
20315 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
20316
b0512a1d
EZ
203172011-05-07 Eli Zaretskii <eliz@gnu.org>
20318
605c9376
EZ
20319 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
20320 mailclient-send-it even if window-system is nil. (Bug#8595)
20321
c4662635
SM
20322 * term/w32console.el (terminal-init-w32console):
20323 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
20324 background-mode. (Bug#8597)
20325
d1dc2cc2
SM
203262011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
20327
20328 Make bytecomp.el understand that defmethod defines funs (bug#8631).
20329 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
20330 New functions.
20331 (defgeneric, eieio--defmethod): Use them.
20332 (eieio-defgeneric): Remove.
20333 (defmethod): Call defgeneric in a way visible to the byte-compiler.
20334
915d1300
GM
203352011-05-07 Glenn Morris <rgm@gnu.org>
20336
a3961c3e
GM
20337 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
20338 Use let rather than let*.
20339 (timeclock-find-discrep): Remove unused local.
20340
314347b9
GM
20341 * calendar/diary-lib.el (diary-comment-start): Doc fix.
20342
915d1300
GM
20343 * calendar/appt.el (appt-time-msg-list): Doc fix.
20344
275b59b0
NF
203452011-05-06 Noah Friedman <friedman@splode.com>
20346
20347 * apropos.el (apropos-print-doc): Only use
20348 emacs-lisp-docstring-fill-column when it is bound to an integer,
20349 per that variable's documentation.
20350
6c19f744
SM
203512011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
20352
20353 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 20354 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 20355
60f884b2
GM
203562011-05-06 Glenn Morris <rgm@gnu.org>
20357
5006e634
GM
20358 * calendar/appt.el (appt-message-warning-time): Doc fix.
20359 (appt-warning-time-regexp): New option.
20360 (appt-make-list): Respect appt-message-warning-time.
20361
548d0a63
GM
20362 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
20363 New options.
20364 (diary-add-to-list): Strip comments from the displayed string.
20365 (diary-mode): Set comment-start and comment-end.
20366
60f884b2
GM
20367 * vc/diff-mode.el (smerge-refine-subst): Declare.
20368 (diff-refine-hunk): Don't require smerge-mode when compiling.
20369
989681bb
JB
203702011-05-06 Juanma Barranquero <lekktu@gmail.com>
20371
20372 * simple.el (list-processes): Return nil as the docstring says.
20373
a6bc05e1
MA
203742011-05-05 Michael Albinus <michael.albinus@gmx.de>
20375
20376 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
20377 to "".
20378 (ange-ftp-write-region, ange-ftp-insert-file-contents)
20379 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
20380 determining of binary transfer. (Bug#7383)
20381
23c22e9a
MA
203822011-05-05 Michael Albinus <michael.albinus@gmx.de>
20383
c4662635
SM
20384 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20385 Fix port computation bug. (Bug#8618)
23c22e9a 20386
0bff894f
GM
203872011-05-05 Glenn Morris <rgm@gnu.org>
20388
b8296902
GM
20389 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
20390
1f522ce8
GM
20391 * simple.el (shell-dynamic-complete-functions)
20392 (comint-dynamic-complete-functions): Declare.
20393
cf5bee67
GM
20394 * net/network-stream.el (gnutls-negotiate):
20395 * simple.el (tabulated-list-print): Fix declarations.
20396
20397 * progmodes/gud.el (syntax-symbol, syntax-point):
20398 Remove unnecessary and incorrect declarations.
20399
0bff894f 20400 * emacs-lisp/check-declare.el (check-declare-scan):
1f9f395d 20401 Handle byte-compile-initial-macro-environment in bytecomp.el.
0bff894f 20402
9869b3ae
SM
204032011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
20404
20405 Fix earlier half-done eieio-defmethod change (bug#8338).
20406 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
20407 Streamline and change calling convention.
20408 (defmethod): Adjust accordingly and simplify.
20409 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
20410 new eieio--defmethod.
20411 (slot-boundp): Minor CSE simplification.
20412
9c1d5ac5
MZ
204132011-05-05 Milan Zamazal <pdm@zamazal.org>
20414
20415 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
20416 (glasses-make-readable): Use glasses-separate-capital-groups.
20417
455c834e
JB
204182011-05-05 Juanma Barranquero <lekktu@gmail.com>
20419
20420 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
20421 (warning-series): Doc fix.
20422 (display-warning): Don't try to create the buffer if we just found it.
20423
9ed7c8cb
CY
204242011-05-04 Chong Yidong <cyd@stupidchicken.com>
20425
20426 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
20427 (autoload-find-generated-file): New function.
20428 (generate-file-autoloads): Bind generated-autoload-file to
20429 buffer-file-name.
9869b3ae
SM
20430 (update-file-autoloads, update-directory-autoloads):
20431 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
20432 output file (Bug#7989).
20433 (batch-update-autoloads): Doc fix.
20434
0898ca10
JB
204352011-05-04 Juanma Barranquero <lekktu@gmail.com>
20436
20437 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
20438
31dfb76c
GM
204392011-05-04 Glenn Morris <rgm@gnu.org>
20440
f330b642
GM
20441 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
20442 function, so it follows changes in calendar-date-style.
20443 (diary-fancy-date-matcher): New function.
20444 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
20445 (diary-fancy-font-lock-fontify-region-function):
20446 Use diary-fancy-date-pattern as a function.
20447
31dfb76c
GM
20448 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
20449 non-numbers for `year' etc pseudo-variables. (Bug#8583)
20450
48e79d6a
TZ
204512011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
20452
20453 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
20454 instead of positional arguments. Allow :keylist and :crlfiles
20455 arguments.
20456 (open-gnutls-stream): Call it.
20457
20458 * net/network-stream.el (network-stream-open-starttls): Adjust to
20459 call `gnutls-negotiate' with :process and :hostname arguments.
20460
dd5a5ee0
SM
204612011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
20462
ef80fc09
SM
20463 * minibuffer.el (completion--message): New function.
20464 (completion--do-completion, minibuffer-complete)
20465 (minibuffer-force-complete, minibuffer-complete-word): Use it.
20466 (completion--do-completion): Don't ignore completion-auto-help when in
20467 icomplete-mode.
20468
dd5a5ee0
SM
20469 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
20470 internal encoding (e.g. tibetan zero is not whitespace).
20471 (global-whitespace-mode): Prefer save-current-buffer.
20472 (whitespace-trailing-regexp): Remove useless save-match-data.
20473 (whitespace-empty-at-bob-regexp): Minor simplification.
20474
b7d22a83
CY
204752011-05-03 Chong Yidong <cyd@stupidchicken.com>
20476
20477 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
20478
5192af46
AM
204792011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
20480
20481 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 20482 Use `concat' to create string for insertion.
5192af46 20483
5767d190
SM
204842011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
20485
20486 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
20487 Avoid open-line which runs post-self-insert-hook.
20488 (bibtex-fill-entry): Remove unused `end' var.
20489
bf242939
AM
204902011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
20491
5767d190
SM
20492 * textmodes/ispell.el (ispell-add-per-file-word-list):
20493 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 20494
25666126
LL
204952011-05-03 Leo Liu <sdl.web@gmail.com>
20496
20497 * isearch.el (isearch-yank-pop): New command.
5767d190 20498 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
20499 (isearch-forward): Mention it.
20500
52d3c2d0
SM
205012011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
20502
1bcace58
SM
20503 * simple.el (minibuffer-complete-shell-command): Remove.
20504 (minibuffer-local-shell-command-map): Use completion-at-point.
20505 (read-shell-command): Setup completion vars here instead.
20506 (read-expression-map): Bind TAB to symbol completion.
20507
52d3c2d0
SM
20508 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
20509 error directly rather via storing it into `results'.
20510
35813471
LL
205112011-05-02 Leo Liu <sdl.web@gmail.com>
20512
20513 * vc/diff.el: Fix description.
20514
e793a940
LMI
205152011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20516
20517 * server.el (server-eval-at): New function.
20518
8de66e05
LMI
205192011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
20520
20521 * net/network-stream.el (open-network-stream): Take a :nowait
20522 parameter and pass it on to `make-network-process'.
20523 (network-stream-open-plain): Ditto.
20524
dcb79f20
AS
205252011-04-30 Andreas Schwab <schwab@linux-m68k.org>
20526
20527 * faces.el (face-spec-set-match-display): Don't match toolkit
20528 options on terminal frames.
20529
14a7fbd8
SM
205302011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
20531
7eabc1be
SM
20532 * progmodes/pascal.el: Use lexical binding.
20533 (pascal-mode-map): Remove author preferences.
20534
14a7fbd8
SM
20535 * pcomplete.el (pcomplete-std-complete): Don't abuse
20536 completion-at-point.
20537
50f84510
JB
205382011-04-28 Juanma Barranquero <lekktu@gmail.com>
20539
6e087a44
JB
20540 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
20541 removing code that has been dead since 1991 or so.
20542
50f84510
JB
20543 * startup.el (command-line): When warning about "_emacs", use a
20544 delayed warning to allow the user to filter it out.
20545
0ba690bd
DD
205462011-04-28 Deniz Dogan <deniz@dogan.se>
20547
20548 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
20549 user has not joined.
20550
08abfaad
SM
205512011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
20552
20553 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
20554 aren't any completions at point.
20555
638f053a
JB
205562011-04-28 Juanma Barranquero <lekktu@gmail.com>
20557
20558 * subr.el (display-delayed-warnings): New function.
20559 (delayed-warnings-hook): New variable.
20560
8fff8daa
SM
205612011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
20562
08abfaad
SM
20563 * minibuffer.el (completion-at-point, completion-help-at-point):
20564 Don't presume that a given completion-at-point-function will always
20565 use the same calling convention.
20566
8fff8daa
SM
20567 * pcomplete.el (pcomplete-completions-at-point):
20568 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
20569 pcomplete-seen is non-nil.
20570 (pcomplete-comint-setup): Also recognize the new comint/shell
20571 completion functions.
20572 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
20573 pcomplete-seen is non-nil.
20574
841a1577 205752011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 20576
841a1577 20577 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 20578 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 20579 the first character in the entry. This allows for code to add its
211ec907
UJ
20580 own uid to the entry.
20581 (icalendar--convert-float-to-ical): Add export of
20582 `diary-float'-entries save for those with the optional DAY
20583 argument.
20584
2a782793
DC
205852011-04-27 Daniel Colascione <dan.colascione@gmail.com>
20586
20587 * subr.el (shell-quote-argument): Use alternate escaping strategy
20588 when we spot a variable reference in a string.
20589
0438ce91
DC
205902011-04-26 Daniel Colascione <dan.colascione@gmail.com>
20591
20592 * cus-start.el (all): Define customization for debug-on-event.
20593
841a1577 205942011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
20595
20596 * subr.el (shell-quote-argument): Escape correctly under Windows.
20597
d090ed6c
SM
205982011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
20599
20600 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
20601
bfd31217
MA
206022011-04-25 Michael Albinus <michael.albinus@gmx.de>
20603
d090ed6c
SM
20604 * net/tramp.el (tramp-process-actions): Add POS argument.
20605 Delete region between POS and (pos).
bfd31217 20606
d090ed6c
SM
20607 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20608 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
20609 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
20610
20611 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
20612 position in `tramp-process-actions' call.
20613
20614 * net/trampver.el: Update release number.
20615
e92f3bd3
SM
206162011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
20617
850256b5
SM
20618 * custom.el (defcustom): Obey lexical-binding.
20619
e92f3bd3
SM
20620 Fix octave-inf completion problems reported by Alexander Klimov.
20621 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
20622 Inherit from octave-mode-syntax-table.
20623 (inferior-octave-mode): Set info-lookup-mode.
20624 (inferior-octave-completion-at-point): New function.
20625 (inferior-octave-complete): Use it and completion-in-region.
20626 (inferior-octave-dynamic-complete-functions): Use it as well, and use
20627 comint-filename-completion.
20628 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
20629 symbol elements which shouldn't be word elements.
20630 (octave-font-lock-keywords, octave-beginning-of-defun)
20631 (octave-function-header-regexp): Adjust regexps accordingly.
20632 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
20633
cd22b309
JB
206342011-04-25 Juanma Barranquero <lekktu@gmail.com>
20635
20636 * net/gnutls.el (gnutls-errorp): Declare before first use.
20637
8b492194
TZ
206382011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
20639
20640 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
20641 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 20642 default trustfile exists before going to use it. Add missing
5a5fa834 20643 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
20644 Reported by Claudio Bley <claudio.bley@gmail.com>.
20645 (open-gnutls-stream): Add usage example.
20646
20647 * net/network-stream.el (network-stream-open-starttls): Give host
20648 parameter to `gnutls-negotiate'.
20649 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 20650 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 20651
841a1577 206522011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 20653
cd22b309
JB
20654 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
20655 Use correct match group (bug#8438).
05842630 20656
3ba7869c
CY
206572011-04-24 Chong Yidong <cyd@stupidchicken.com>
20658
512e3ae1
CY
20659 * emacs-lisp/package.el (package-built-in-p): Fix typo.
20660 (package-menu--generate): New arg specifying packages to show.
20661 (package-menu-refresh, package-menu-execute, list-packages):
20662 Callers changed.
20663 (package-show-package-list): New function, replacing deleted
20664 package--list-packages (renamed because it is non-internal).
20665
20666 * finder.el (finder-list-matches): Use package-show-package-list
20667 instead of deleted package--list-packages.
20668
e92f3bd3
SM
20669 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
20670 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
20671 (vc-annotate-mode-map): Bind it to RET.
20672
7031be6d
UR
206732011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
20674
20675 * progmodes/etags.el (next-file): Don't use set-buffer to change
20676 buffers (Bug#8478).
20677
4ef177aa
CY
206782011-04-24 Chong Yidong <cyd@stupidchicken.com>
20679
c8d173eb
CY
20680 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
20681
4ef177aa
CY
20682 * apropos.el (apropos-label-face): Avoid variable-pitch face.
20683 (apropos-accumulator): Doc fix.
20684 (apropos-function, apropos-macro, apropos-command)
20685 (apropos-variable, apropos-face, apropos-group, apropos-widget)
20686 (apropos-plist): Add face property.
20687 (apropos-symbols-internal): Fix indentation.
20688 (apropos-print): Simplify help, and recognize apropos-multi-type.
20689 (apropos-print-doc): Use button-type-get to extract the button's
20690 face property. Fill docstring (Bug#8352).
20691
4ffd0d6b 206922011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
20693
20694 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
20695
c6c32125 20696 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 20697 (mpuz-mode-map): Use mapc.
c6c32125
JB
20698 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
20699 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
20700 Fix typos in docstrings.
20701
58d468b4
JB
20702 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
20703 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
20704
6470c3c6
JB
20705 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
20706
4ffd0d6b 207072011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
20708
20709 * minibuffer.el (completion--do-completion): Avoid the "Next char
20710 not unique" prompt if icomplete-mode is enabled (Bug#5849).
20711
3ad8bad0
CY
20712 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
20713 mouse-2 into unread-command-events, it is interpreted correctly.
20714
71d73c9c 20715 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 20716 (image-toggle-display): Doc fix.
71d73c9c 20717
841a1577 207182011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 20719
4ffd0d6b
GM
20720 * textmodes/page.el (what-page): Use line-number-at-pos to
20721 calculate line number (Bug#6825).
6e1dbaa9 20722
c2fb1b60
JB
207232011-04-22 Juanma Barranquero <lekktu@gmail.com>
20724
20725 * eshell/esh-mode.el (find-tag-interactive): Declare function.
20726 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
20727 Pass argument NO-DEFAULT to `find-tag-interactive'.
20728
e02f48d7
JB
207292011-04-22 Juanma Barranquero <lekktu@gmail.com>
20730
20731 Lexical-binding cleanup.
20732
20733 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
20734 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
20735 * progmodes/ada-prj.el (ada-prj-initialize-values)
20736 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
20737 (ada-prj-show-value):
20738 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
20739 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
20740 (antlr-invalidate-context-cache, antlr-options-menu-filter)
20741 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
20742 * progmodes/bug-reference.el (bug-reference-push-button):
20743 * progmodes/fortran.el (fortran-line-length):
20744 * progmodes/glasses.el (glasses-change):
20745 * progmodes/octave-mod.el (octave-fill-paragraph):
20746 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
20747 (python-pdbtrack-grub-for-buffer, python-sentinel):
20748 * progmodes/sql.el (sql-save-connection):
20749 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
20750 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
20751 Mark unused parameters.
20752
20753 * progmodes/compile.el (compilation--flush-directory-cache)
20754 (compilation--flush-parse, compile-internal): Mark unused parameters.
20755 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
20756 (compilation-next-error-function): Remove unused variable `timestamp'.
20757
20758 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
20759 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
20760
20761 * progmodes/dcl-mode.el (dcl-end-of-command):
20762 Remove unused variable `start'.
20763 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
20764 (dcl-option-value-basic, dcl-option-value-offset)
20765 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
20766 Mark unused parameters.
20767 (dcl-save-local-variable): Remove unused variable `val'.
20768 (mode): Declare.
20769
20770 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
20771 Mark unused parameters.
20772 (delphi-ignore-changes): Move before first use.
20773 (delphi-charset-token-at): Remove unused variable `start'.
20774 (delphi-else-start): Remove unused variable `if-count'.
20775 (delphi-comment-block-start, delphi-comment-block-end):
20776 Remove unused variable `kind'.
20777 (delphi-indent-line): Remove unused variable `new-point'.
20778
20779 * progmodes/ebrowse.el (ebrowse-files-list)
20780 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
20781 Mark unused parameters. Don't quote `lambda'.
20782 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
20783 Don't quote `lambda'.
20784 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
20785 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
20786 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
20787 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
20788 Use `ignore-errors'.
20789 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
20790 (ebrowse-view/find-file-and-search-pattern)
20791 (ebrowse-view/find-member-declaration/definition):
20792 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
20793 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
20794 Rename parameter PREFIX-ARG to PREFIX.
20795 (ebrowse-tags-read-name): Remove unused variables `start' and
20796 `member-info'.
20797 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
20798 to `tags-file'.
20799
20800 * progmodes/etags.el (local-find-tag-hook): Declare.
20801 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
20802 Mark unused parameters.
20803
20804 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
20805 (executable-interpret): Mark unused parameter.
20806
20807 * progmodes/flymake.el (flymake-process-sentinel)
20808 (flymake-after-change-function)
20809 (flymake-create-temp-with-folder-structure)
20810 (flymake-get-include-dirs-dot): Mark unused parameters.
20811 (flymake-safe-delete-directory): Remove unused variable `err'.
20812
20813 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
20814 (speedbar-timer-fn, speedbar-line-text)
20815 (speedbar-change-expand-button-char, speedbar-delete-subblock)
20816 (speedbar-center-buffer-smartly): Declare functions.
20817 (gdb-find-watch-expression): Remove unused variable `array'.
20818 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
20819 (gdb-starting): Mark unused parameters.
20820 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
20821 (gdb-table-string): Remove unused variable `res'.
20822 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
20823 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
20824 (gdb-display-buffer): Remove unused variable `cur-size'.
20825
20826 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
20827 allow lexical-binding compilation.
20828 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
20829 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
20830 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
20831 Mark unused parameters.
20832 (gud-gdb-marker-filter): Remove unused variable `match'.
20833 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
20834 lambda expressions and funcall them, instead of using `fset'.
20835
20836 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
20837 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
20838
20839 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
20840 variable `header-beg'; use `let'.
20841
20842 * progmodes/icon.el (indent-icon-exp): Remove unused variables
20843 `restart', `last-sexp' and `at-do'.
20844
20845 * progmodes/js.el (js--debug): Mark unused parameter.
20846 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
20847 (js--splice-into-items): Remove unused variable `item'.
20848 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
20849
20850 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
20851 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
20852 (makefile-complete): Remove unused variable `try'.
20853 (makefile-fill-paragraph, makefile-match-function-end):
20854 Mark unused parameters.
20855
20856 * progmodes/octave-inf.el (inferior-octave-complete):
20857 Remove unused variable `proc'.
20858 (inferior-octave-output-digest): Mark unused parameter.
20859
20860 * progmodes/perl-mode.el (perl-calculate-indent):
20861 Remove unused variable `err'.
20862
20863 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
20864 (prolog-indent-line): Mark unused parameters.
20865 (prolog-indent-line): Remove unused variable `beg'.
20866
20867 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
20868 (reporter-dont-compact-list): Declare.
20869
20870 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
20871 Remove unused variable `char'.
20872 (sh-debug): Mark unused parameter.
20873 (sh-get-indent-info): Remove unused variable `start'.
20874 (sh-calculate-indent): Remove unused variable `var'.
20875
20876 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
20877 (simula-electric-keyword): Remove unused variable `null'.
20878 (simula-search-backward, simula-search-forward): Remove unused
20879 variables `begin' and `end'.
20880
20881 * progmodes/vera-mode.el (vera-guess-basic-syntax):
20882 Remove unused variable `pos'.
20883 (vera-electric-tab, vera-comment-uncomment-region):
20884 Mark unused parameters.
20885 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
20886
7ede3b65
CY
208872011-04-22 Chong Yidong <cyd@stupidchicken.com>
20888
20889 * emacs-lisp/package.el (package--builtins, package-alist)
20890 (package-load-descriptor, package-built-in-p, package-activate)
20891 (define-package, package-installed-p)
20892 (package-compute-transaction, package-buffer-info)
20893 (package--push): Doc fix. Distinguish more clearly between
20894 version strings and version lists.
20895
121656e9
JB
208962011-04-21 Juanma Barranquero <lekktu@gmail.com>
20897
20898 Lexical-binding cleanup.
20899
20900 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
20901 (5x5-make-mutate-best):
20902 * play/fortune.el (fortune-in-buffer):
20903 * play/gomoku.el (gomoku-init-display):
20904 * play/solitaire.el (solitaire, solitaire-do-check):
20905 * play/tetris.el (tetris-default-update-speed-function):
20906 Mark unused parameters.
20907
20908 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
20909 (bubbles--shift): Remove unused variable `char-org'.
20910 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
20911 (bubbles--show-images): Remove unused variable `char'.
20912
20913 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
20914 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
20915 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
20916 (decipher-analyze-buffer): Use ?\s.
20917 (decipher-make-checkpoint): Remove unused variable `mapping'.
20918
20919 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
20920
20921 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
20922 Remove unused variable `result'; use `let'.
20923
20924 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
20925 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
20926 (gametree-children-shown-p, gametree-compute-reduced-score):
20927 Use `ignore-errors'.
20928
20929 * play/handwrite.el (ps-lpr-switches): Declare.
20930 (handwrite): Remove unused variables `pmin' and `lastp'.
20931
20932 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
20933
20934 * play/landmark.el (landmark-init-display)
20935 (landmark-update-naught-weights): Mark unused parameters.
20936 (landmark-y): Remove unused variable `noise'. Simplify.
20937 (landmark-human-plays): Remove unused variable `score'.
20938
20939 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
20940 (mpuz-try-proposal): Remove unused variable `game'.
20941
20942 * play/zone.el (life-patterns): Declare.
20943
80f499c7
JB
209442011-04-20 Juanma Barranquero <lekktu@gmail.com>
20945
20946 * vc/vc.el (ediff-vc-internal): Declare function.
20947
024ff170
SM
209482011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
20949
c0a193ea
SM
20950 * shell.el: Use lexical-binding and std completion UI.
20951 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
20952 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
20953 comint-preoutput-filter-functions rather than on
20954 comint-output-filter-functions.
20955 (shell-command-completion, shell--command-completion-data)
20956 (shell-filename-completion, shell-environment-variable-completion)
20957 (shell-c-a-p-replace-by-expanded-directory): New functions.
20958 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
20959 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
20960 (shell-dynamic-complete-environment-variable): Use them.
20961 (shell-dynamic-complete-as-environment-variable)
20962 (shell-dynamic-complete-as-command): Remove.
20963 (shell-match-partial-variable): Match past point.
20964 * comint.el: Clean up use of completion-at-point-functions.
20965 (comint-completion-at-point): New function.
20966 (comint-mode): Use it completion-at-point-functions.
20967 (comint-dynamic-complete): Make it obsolete.
20968 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
20969 (comint-c-a-p-replace-by-expanded-history): New function.
20970 (comint-dynamic-complete-functions)
20971 (comint-replace-by-expanded-history): Use it.
20972 * minibuffer.el (completion-table-with-terminator): Allow dynamic
20973 termination strings. Try harder to avoid second try-completion.
20974 (completion-in-region-mode-map): Disable bindings that don't work yet.
20975
2dbaa080
SM
20976 * comint.el: Use lexical-binding. Require CL.
20977 (comint-dynamic-complete-functions): Use comint-filename-completion.
20978 (comint-completion-addsuffix): Tweak custom type.
20979 (comint-filename-completion, comint--common-suffix)
20980 (comint--common-quoted-suffix, comint--table-subvert)
20981 (comint--complete-file-name-data): New functions.
20982 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
20983 (comint-dynamic-list-filename-completions): Use them.
20984 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 20985
2dbaa080
SM
20986 * minibuffer.el (completion-in-region-mode):
20987 Keep completion-in-region-mode--predicate global.
20988 (completion-in-region--postch):
20989 Assume completion-in-region-mode--predicate is not null.
20990
c79a6f38
SM
20991 * progmodes/flymake.el (flymake-start-syntax-check-process):
20992 Obey `dir'. Simplify.
20993
024ff170
SM
20994 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
20995 we're in VC after all.
20996
1c6c854e
CS
209972011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
20998
20999 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 21000 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
21001 (vc-version-diff): Use vc-diff-build-argument-list-internal.
21002
bed7f140
SM
210032011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
21004
332e62ab
SM
21005 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
21006 add sanity check.
21007
bed7f140
SM
21008 * obsolete/erc-hecomplete.el: Make obsolete.
21009 * obsolete/: Standardize obsolescence info in the header.
21010
f195c582
GM
210112011-04-20 Glenn Morris <rgm@gnu.org>
21012
21013 * calendar/solar.el (solar-horizontal-coordinates):
21014 Use the longitude argument rather than `calendar-longitude'.
21015 (solar-date-next-longitude): Remove unused locals.
21016
cb79b8c0
VJL
210172011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
21018
21019 * whitespace.el: New version 13.2.1.
21020
210212011-04-20 felix <EmacsWiki> (tiny change)
21022
d8e4b68b 21023 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
21024 switching between major modes on a file.
21025
602ea69d
SM
210262011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
21027
21028 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
21029 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
21030 multi-line comments as well.
21031
06b60517
JB
210322011-04-19 Juanma Barranquero <lekktu@gmail.com>
21033
21034 Lexical-binding cleanup.
21035
21036 * arc-mode.el (archive-mode-revert):
21037 * cmuscheme.el (scheme-interactively-start-process):
21038 * custom.el (custom-initialize-delay):
21039 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
21040 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
21041 * emacs-lock.el (emacs-lock-clear-sentinel):
21042 * ezimage.el (defezimage):
21043 * follow.el (follow-avoid-tail-recenter):
21044 * fringe.el (set-fringe-mode-1):
21045 * generic-x.el (bat-generic-mode-compile):
21046 * help-mode.el (help-info-variable, help-do-xref)
21047 (help-mode-revert-buffer):
21048 * help.el (view-emacs-todo):
21049 * iswitchb.el (iswitchb-completion-help):
21050 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
21051 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
21052 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
21053 * locate.el (locate-update):
21054 * longlines.el (longlines-encode-region)
21055 (longlines-after-change-function):
21056 * outline.el (outline-isearch-open-invisible):
21057 * ps-def.el (declare-function, charset-dimension, char-width)
21058 (encode-char):
21059 * ps-mule.el (ps-mule-plot-string):
21060 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
21061 (recentf-edit-list-select, recentf-edit-list-validate)
21062 (recentf-open-files-action):
21063 * rect.el (delete-whitespace-rectangle-line)
21064 (rectangle-number-line-callback):
21065 * register.el (window-configuration-to-register)
21066 (frame-configuration-to-register):
21067 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
21068 * select.el (xselect-convert-to-string, xselect-convert-to-length)
21069 (xselect-convert-to-targets, xselect-convert-to-delete)
21070 (xselect-convert-to-filename, xselect-convert-to-charpos)
21071 (xselect-convert-to-lineno, xselect-convert-to-colno)
21072 (xselect-convert-to-os, xselect-convert-to-host)
21073 (xselect-convert-to-user, xselect-convert-to-class)
21074 (xselect-convert-to-name, xselect-convert-to-integer)
21075 (xselect-convert-to-atom, xselect-convert-to-identity):
21076 * subr.el (declare, ignore, process-kill-without-query)
21077 (text-clone-maintain):
21078 * terminal.el (te-get-char, te-tic-sentinel):
21079 * tool-bar.el (tool-bar-make-keymap):
21080 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
21081 * type-break.el (type-break-mode, type-break-noninteractive-query):
21082 * view.el (View-back-to-mark):
21083 * wid-browse.el (widget-browse-action, widget-browse-widget)
21084 (widget-browse-widgets, widget-browse-sexp):
21085 * widget.el (define-widget-keywords):
21086 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
21087 Mark unused parameters.
21088
21089 * align.el (align-adjust-col-for-rule): Mark unused parameter.
21090 (align-areas): Remove unused variable `look'.
21091 (align-region): Remove unused variables `real-end' and `pos-list'.
21092
21093 * apropos.el (apropos-score-doc): Remove unused variable `i'.
21094
21095 * bindings.el (mode-line-modified, mode-line-remote):
21096 Mark unused parameters.
21097 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
21098
21099 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
21100 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
21101
21102 * comint.el (comint-history-isearch-pop-state)
21103 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
21104 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
21105 (comint-substitute-in-file-name): Doc fix.
21106
21107 * completion.el (cmpl-statistics-block): Mark unused parameter.
21108 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
21109 (save-completions-to-file, load-completions-from-file):
21110 Remove unused local variable `e'.
21111
21112 * composite.el (compose-chars): Remove unused variable `len'.
21113 (lgstring-insert-glyph): Remove unused variable `g'.
21114 (compose-glyph-string): Remove unused variables `ascent',
21115 `descent', `lbearing' and `rbearing'.
21116 (compose-glyph-string-relative): Remove unused variables
21117 `lbearing', `rbearing' and `wadjust'.
21118 (compose-gstring-for-graphic): Remove unused variables `header',
21119 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
21120 (compose-gstring-for-terminal): Remove unused variables `header'
21121 and `nchars'. Use `let', not `let*'.
21122
21123 * cus-edit.el (Custom-set, Custom-save, custom-reset)
21124 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
21125 (Custom-buffer-done, custom-buffer-create-internal)
21126 (custom-browse-visibility-action, custom-browse-group-tag-action)
21127 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
21128 (widget-magic-mouse-down-action, custom-toggle-parent)
21129 (custom-add-parent-links, custom-toggle-hide-variable)
21130 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
21131 (custom-toggle-hide-face, face, hook, custom-group-link-action)
21132 (custom-face-menu-create, custom-variable-menu-create, get)
21133 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
21134 (custom-reset-standard-save-and-update): Remove unused variable `value'.
21135 (customize-apropos): Remove unused variable `tests'.
21136 (custom-group-value-create): Remove unused variable `hidden-p'.
21137 (sort-fold-case): Declare.
21138
21139 * cus-theme.el (custom-reset-standard-faces-list)
21140 (custom-reset-standard-variables-list): Declare.
21141 (customize-create-theme, custom-theme-revert, custom-theme-write)
21142 (custom-theme-choose-mode, customize-themes, custom-theme-save):
21143 Mark unused parameters.
21144
21145 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
21146
21147 * delim-col.el (delimit-columns-max): Move defvar before first use.
21148
21149 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 21150 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
21151
21152 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
21153 (auto-insert): Declare.
21154 (desktop-restore-file-buffer): Rename desktop-* parameters;
21155 mark unused ones.
21156 (desktop-create-buffer): Rename desktop-* parameters and bind them.
21157 (desktop-buffer): Rename desktop-* parameters.
21158
21159 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
21160 (dframe-reposition-frame-xemacs, dframe-help-echo)
21161 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
21162 Mark unused parameters.
21163
21164 * dired-aux.el (backup-extract-version-start, overwrite-query)
21165 (overwrite-backup-query, rename-regexp-query)
21166 (rename-non-directory-query): Declare.
21167 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
21168 (dired-add-entry): Remove unused variable `orig-file-name'.
21169 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
21170 Use parameter PRESERVE-TIME instead of accessing dynamic variable
21171 `dired-copy-preserve-time' directly.
21172 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
21173 (dired-insert-subdir-newpos): Rename unused variable `pos'.
21174
21175 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
21176 (dired-virtual-revert, dired-make-relative-symlink):
21177 Mark unused parameters.
21178 (manual-program): Declare.
21179 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
21180 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
21181 wrapped in `with-no-warnings' to avoid replacing one warning by another.
21182
21183 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
21184
21185 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
21186
21187 * echistory.el (electric-history-in-progress, Helper-return-blurb):
21188 Declare.
21189
21190 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
21191
21192 * electric.el (Electric-command-loop): Rename parameter
21193 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
21194
21195 * expand.el (expand-in-literal): Remove unused variable `here'.
21196
21197 * facemenu.el (facemenu-add-new-color):
21198 Remove unused variable `docstring'.
21199
21200 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
21201 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
21202 (face-attr-construct): Mark unused parameter. Doc fix.
21203 (read-color): Remove unused variable `hex-string'.
21204
21205 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
21206 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
21207 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
21208 (display-buffer-other-frame): Remove unused variable `old-window'.
21209 (kill-buffer-hook): Declare.
21210 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
21211 Mark unused parameters.
21212 (after-find-file): Pass 1 to `auto-save-mode', not t.
21213
21214 * files-x.el (auto-insert): Declare.
21215 (modify-file-local-variable-prop-line): Remove unused variable `val'.
21216
21217 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 21218 variable `buf'. Mark unused parameter.
06b60517
JB
21219 (find-lisp-insert-directory): Mark unused parameter.
21220
21221 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
21222 (format-encode-region): Remove unused variables `cur-buf' and `result'.
21223 (format-common-tail): Remove, unused.
21224 (format-deannotate-region): Remove unused variable `loc'.
21225 (format-annotate-region): Remove unused variable `p'.
21226 (format-annotate-single-property-change): Remove unused variables
21227 `default' and `tail'.
21228
21229 * forms.el (read-file-filter): Declare.
21230 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
21231
21232 * frame.el (frame-creation-function-alist): Mark unused parameter.
21233 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
21234
21235 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
21236 Remove unused parameters.
21237 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
21238 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
21239
21240 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
21241 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
21242 (hfy-prepare-tag-map): Mark unused parameters.
21243 (htmlfontify-buffer): Use `called-interactively-p'.
21244
21245 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
21246 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
21247 (ibuffer-do-occur): Mark unused parameters.
21248 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
21249 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
21250
21251 * ibuffer.el: Don't quote `lambda'.
21252 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
21253 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
21254 Mark unused parameters.
21255
21256 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
21257 (ido-completing-read): Mark unused parameters.
21258 (ido-copy-current-word): Mark unused parameters;
21259 remove unused variable `name'.
21260 (ido-sort-merged-list): Remove unused parameter `dirs'.
21261
21262 * ielm.el (ielm-input-sender): Mark unused parameter.
21263 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
21264 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
21265 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
21266 `ielm-string' as a dynamic variable accessible from the IELM prompt.
21267 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
21268
21269 * image-dired.el (image-dired-display-thumbs): Remove unused
21270 variables `curr-file' and `count'.
21271 (image-dired-remove-tag): Remove unused variable `start'.
21272 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
21273 variable `curr-file'
21274 (image-dired-rotate-original): Remove unused variable `temp-file'.
21275 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
21276 Remove unused variable `file'.
21277 (image-dired-gallery-generate): Remove unused variable `curr'.
21278 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
21279
21280 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
21281
21282 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
21283
21284 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
21285
21286 * isearch.el (minibuffer-history-symbol): Declare.
21287 (isearch-edit-string): Remove unused variable `err'.
21288 (isearch-message-prefix, isearch-message-suffix):
21289 Mark unused parameters.
21290
21291 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
21292
21293 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
21294
21295 * makesum.el (double-column): Remove unused variable `cnt'.
21296
21297 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
21298 (ido-ignore-item-temp-list): Declare.
21299
21300 * mouse-drag.el (mouse-drag-throw): Remove unused variables
21301 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
21302 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
21303 (mouse-drag-drag): Remove unused variables `mouse-delta' and
21304 `mouse-col-delta'.
21305
21306 * mouse-sel.el (mouse-extend-internal):
21307 Remove unused variable `orig-window-frame'.
21308
21309 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
21310 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
21311 Move declarations before first use.
21312 (pcomplete-opt): Mark unused parameters; doc fix.
21313
21314 * proced.el (proced-revert): Mark unused parameter.
21315 (proced-send-signal): Remove unused variable `err'.
21316
21317 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
21318 Rename parameter PREFIX-ARG to ARG.
21319 (ps-basic-plot-string, ps-basic-plot-whitespace):
21320 Mark unused parameters.
21321
21322 * replace.el (replace-count): Define.
21323 (occur-revert-function): Mark unused parameters.
21324 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
21325 (isearch-case-fold-search, isearch-string): Declare.
21326 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
21327 bind `case-fold-search'. Remove unused variables `beg' and `end',
21328 and simplify.
21329 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
21330 COUNT and bind `replace-count'.
21331 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
21332 to COUNT.
21333
21334 * savehist.el (print-readably, print-string-length): Declare.
21335
21336 * shadowfile.el (shadow-expand-cluster-in-file-name):
21337 Remove unused variable `cluster'.
21338 (shadow-copy-file): Remove unused variable `i'.
21339 (shadow-noquery, shadow-clusters, shadow-site-cluster)
21340 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
21341 (shadow-define-literal-group, shadow-define-regexp-group)
21342 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
21343
21344 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
21345 (shell): Use `called-interactively-p'.
21346 (shell-directory-tracker): Remove unused variable `chdir-failure'.
21347
21348 * simple.el (compilation-context-lines, comint-file-name-quote-list)
21349 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
21350 (delete-backward-char): Remove unused variable `ocol'.
21351 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
21352 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
21353 (event-apply-hyper-modifier, event-apply-shift-modifier)
21354 (event-apply-control-modifier, event-apply-meta-modifier):
21355 Mark unused parameters.
21356 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
21357 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
21358
21359 * speedbar.el (speedbar-ignored-directory-expressions)
21360 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
21361 (speedbar-find-file, speedbar-dir-follow)
21362 (speedbar-directory-buttons-follow, speedbar-tag-find)
21363 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
21364 (speedbar-buffers-line-directory, speedbar-buffer-click):
21365 Mark unused parameters.
21366 (speedbar-tag-file): Remove unused variable `mode'.
21367 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
21368
21369 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
21370
21371 * talk.el (talk): Remove unused variable `display'.
21372
21373 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
21374 (tar-write-region-annotate): Mark unused parameter.
21375
21376 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
21377 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
21378 Declare them, wrapped in `with-no-warnings' to avoid replacing one
21379 warning by another.
21380
21381 * time-stamp.el (time-stamp-string-preprocess):
21382 Remove unused variable `require-padding'.
21383
21384 * tree-widget.el (widget-glyph-enable): Declare.
21385 (tree-widget-action): Mark unused parameter.
21386
21387 * w32-fns.el (x-get-selection): Mark unused parameter.
21388 (autoload-make-program, generated-autoload-file): Declare.
21389
21390 * wdired.el (wdired-revert): Mark unused parameters.
21391 (wdired-xcase-word): Remove unused variable `err'.
21392
21393 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
21394 (whitespace-help-scroll): Remove unused variable `data-help'.
21395
21396 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
21397 (widget-image-insert, widget-after-change, default)
21398 (widget-default-format-handler, widget-default-notify)
21399 (widget-default-prompt-value, widget-info-link-action)
21400 (widget-url-link-action, widget-function-link-action)
21401 (widget-variable-link-action, widget-file-link-action)
21402 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
21403 (widget-field-prompt-internal, widget-field-action, widget-field-match)
21404 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
21405 (widget-insert-button-action, widget-delete-button-action, visibility)
21406 (widget-documentation-link-action, widget-documentation-string-action)
21407 (widget-const-prompt-value, widget-regexp-match, symbol)
21408 (widget-coding-system-prompt-value)
21409 (widget-key-sequence-value-to-external, sexp)
21410 (widget-sexp-value-to-internal, character, vector, cons)
21411 (widget-choice-prompt-value, widget-boolean-prompt-value)
21412 (widget-color--choose-action): Mark unused parameters.
21413 (widget-item-match-inline, widget-choice-match-inline)
21414 (widget-checklist-match, widget-checklist-match-inline)
21415 (widget-group-match): Rename parameter VALUES to VALS.
21416 (widget-field-value-set): Remove unused variable `size'.
21417 (widget-color-action): Remove unused variables `value' and `start'.
21418
21419 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 21420 variable `dir'. Doc fix.
06b60517
JB
21421 (windmove-find-other-window): Don't pass it.
21422
21423 * window.el (count-windows): Mark unused parameter.
21424 (bw-adjust-window): Remove unused variable `err'.
21425
21426 * woman.el (woman-file-name): Remove unused variable `default'.
21427 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
21428 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
21429 (global-font-lock-mode): Declare.
21430 (woman-decode-region): Mark unused parameter.
21431 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
21432
21433 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
21434 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
21435 (x-dnd-handle-moz-url): Remove unused variable `title'.
21436 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
21437
21438 * xml.el (xml-parse-tag, xml-parse-attlist):
21439 Remove unused variable `pos'.
21440
bc4f7f3d
GM
214412011-04-19 Glenn Morris <rgm@gnu.org>
21442
21443 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
21444 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
21445 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
21446 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
21447 * calendar/cal-html.el (cal-html-insert-minical):
21448 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
21449 (calendar-mark-date-pattern):
21450 Prefix "unused" locals.
21451
21452 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
21453 optional argument `style'.
21454
21455 * calendar/appt.el (appt-make-list):
21456 * calendar/cal-china.el (calendar-chinese-date-string):
21457 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
21458 (diary-hebrew-yahrzeit):
21459 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
21460 * calendar/calendar.el (calendar-generate-window):
21461 * calendar/time-date.el (time-to-days):
21462 Remove unused local variables.
21463
16a43933
CY
214642011-04-18 Chong Yidong <cyd@stupidchicken.com>
21465
21466 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
21467 glyphless-char-display table.
21468 (tabulated-list-glyphless-char-display): New var.
21469
7eed1860
SS
214702011-04-18 Sam Steingold <sds@gnu.org>
21471
21472 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
21473 to acknowledgments.
21474
4d2d1ccd
GM
214752011-04-17 Glenn Morris <rgm@gnu.org>
21476
21477 * calendar/diary-lib.el (diary-sexp-entry):
21478 * calendar/holidays.el (holiday-sexp):
21479 Set debug-on-error rather than the removed stack-trace-on-error.
21480
239da61d
GM
214812011-04-16 Glenn Morris <rgm@gnu.org>
21482
21483 * progmodes/f90.el: Use lexical-binding.
21484 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
21485
8b05752a
SM
214862011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
21487
daca8ba5
SM
21488 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
21489 (mail-mode): Setup mailalias completion here instead.
21490 * mail/mailalias.el: Use lexical-binding.
21491 (pattern, mailalias-done): Declare dynamic.
21492 (mail-completion-at-point-function): New function, from mail-complete.
21493 (mail-complete): Use it.
21494 (mail-completion-expand): New function.
21495 (mail-get-names): Use it.
21496 (mail-directory, mail-directory-process, mail-directory-stream):
21497 Don't use `pattern' for lexically bound arg.
21498
6f542485
SM
21499 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
21500
037e7c3f
SM
21501 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
21502 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
21503 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
21504
8b05752a
SM
21505 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
21506 (byte-save-window-excursion, byte-temp-output-buffer-setup)
21507 (byte-interactive-p): Define them again, for use when inlining
21508 old code.
21509
49093f60
JB
215102011-04-15 Juanma Barranquero <lekktu@gmail.com>
21511
21512 * loadup.el: Use `string-to-number', not `string-to-int'.
21513
b5b8e7de
SM
215142011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
21515
21516 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
21517 gud-gdb-complete-command.
21518 (gud-gdb-completions): New function, from gud-gdb-complete-command.
21519 (gud-gdb-completion-at-point): New function.
21520 (gud-gdb-completions): Remove.
21521
f42efeb5
MA
215222011-04-14 Michael Albinus <michael.albinus@gmx.de>
21523
49093f60
JB
21524 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
21525 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
21526 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
21527 whether `executable-find' is bound.
f42efeb5
MA
21528
21529 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
21530
e240cc21
SM
215312011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
21532
21533 * minibuffer.el (completion-in-region-mode-predicate)
21534 (completion-in-region-mode--predicate): New vars.
21535 (completion-in-region, completion-in-region--postch)
21536 (completion-in-region-mode): Use them.
21537 (completion--capf-wrapper): Also return the hook function.
21538 (completion-at-point, completion-help-at-point):
21539 Adjust and provide a predicate.
c2bd2ab0
SM
21540
21541 Preserve arg names for advice of subr and lexical functions (bug#8457).
21542 * help-fns.el (help-function-arglist): Consolidate the subr and
21543 new-byte-code cases. Add argument `preserve-names' to extract names
21544 from the docstring when needed.
21545 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
21546 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
21547 (ad-arglist): Use help-function-arglist's new arg.
21548 (ad-definition-type): Use cond.
21549
c183f693
JB
215502011-04-13 Juanma Barranquero <lekktu@gmail.com>
21551
06641a47
JB
21552 * autorevert.el (auto-revert-handler):
21553 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
21554 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
21555 Don't quote lambda.
21556
c183f693
JB
21557 * image-mode.el (image-transform-set-scale):
21558 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
21559
1e3b6001
G
215602011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
21561
21562 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 21563 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
21564 Upgrades via gnutls-cli are too slow to be done opportunistically.
21565
2d6af8dd
JB
215662011-04-12 Juanma Barranquero <lekktu@gmail.com>
21567
21568 * dframe.el (dframe-current-frame): Remove spurious quote.
21569
c0749a51
GM
215702011-04-12 Glenn Morris <rgm@gnu.org>
21571
088d0d61
GM
21572 * calendar/cal-tex.el (cal-tex-end-document):
21573 Try to automatically use latin1 input if needed.
21574
c0749a51
GM
21575 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
21576 Don't try to cons a mark onto an empty element.
21577
5c90fde0
LL
215782011-04-11 Leo Liu <sdl.web@gmail.com>
21579
21580 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
21581 buffers.
21582 (ido-kill-buffer-at-head): Support killing virtual buffers.
21583
369e974d
CY
215842011-04-10 Chong Yidong <cyd@stupidchicken.com>
21585
21586 * minibuffer.el (completion-show-inline-help): New var.
21587 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
21588 (minibuffer-force-complete, minibuffer-complete-word):
21589 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
21590
21591 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
21592 to avoid interference from inline help (Bug#5849).
21593
37f1c930
LL
215942011-04-10 Leo Liu <sdl.web@gmail.com>
21595
099c39a4
JB
21596 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
21597 Fix typo.
37f1c930 21598
a32d4040
CY
215992011-04-09 Chong Yidong <cyd@stupidchicken.com>
21600
21601 * image-mode.el (image-toggle-display-image): Signal an error if
21602 not in Image mode.
21603 (image-transform-mode, image-transform-resize)
21604 (image-transform-set-rotation): Doc fix.
daca8ba5 21605 (image-transform-set-resize): Delete.
a32d4040
CY
21606 (image-transform-set-scale, image-transform-fit-to-height)
21607 (image-transform-fit-to-width): Handle image-toggle-display-image
21608 and image-transform-resize directly.
21609
099c39a4 216102011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
21611
21612 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
21613 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
21614 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
21615 (doc-view-mode-map): Add bindings for the new functions.
21616
099c39a4 216172011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 21618
4d61f28d 21619 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
21620 Fix typo in docstring.
21621
3726838a
EZ
216222011-04-08 Eli Zaretskii <eliz@gnu.org>
21623
04f33f1e
EZ
21624 * files.el (file-size-human-readable): Produce one digit after
21625 decimal, like "ls -lh" does.
21626
21627 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
21628 the file size representation.
21629
3726838a
EZ
21630 * simple.el (list-processes): If async subprocesses are not
21631 available, error out with a clear error message.
21632
cbb59342
CY
216332011-04-08 Chong Yidong <cyd@stupidchicken.com>
21634
21635 * help.el (help-form-show): New function, to be called from C.
21636 Put help-form output in a buffer named differently than *Help*.
21637
e3971c44
EZ
216382011-04-08 Eli Zaretskii <eliz@gnu.org>
21639
21640 * files.el (file-size-human-readable): New function.
21641
21642 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
21643 computing the representation inline. Don't require `cl'.
21644
12544bbe
GM
216452011-04-08 Glenn Morris <rgm@gnu.org>
21646
a1de6c6a
GM
21647 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
21648
3c4671f4
GM
21649 * net/browse-url.el (browse-url-firefox):
21650 Test system-type, not system-configuration.
21651
b605679c
GM
21652 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
21653 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
21654 Use log-edit-empty-buffer-p. (Bug#7598)
21655
56442f0c
GM
21656 * net/rlogin.el (rlogin-process-connection-type): Simplify.
21657 (rlogin-mode-map): Initialize in the defvar.
21658 (rlogin): Use ignore-errors.
21659
12544bbe
GM
21660 * replace.el (occur-mode-map): Some fixes for menu items.
21661
eb237b0f
AH
216622011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
21663
21664 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
21665
7d668f2c
CY
216662011-04-06 Chong Yidong <cyd@stupidchicken.com>
21667
e67a13ab
CY
21668 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
21669 issuing unused warnings.
21670
21671 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
21672 macro directly.
21673
7d668f2c
CY
21674 * simple.el: Lisp reimplement of list-processes. Based on an
21675 earlier reimplementation by Leo Liu, but using tabulated-list.el.
21676 (process-menu-mode): New major mode.
21677 (list-processes--refresh, list-processes):
21678 (process-menu-visit-buffer): New functions.
21679
21680 * files.el (save-buffers-kill-emacs): Don't assume any return
21681 value of list-processes, which is undocumented anyway.
21682
a83ec3c9
CY
216832011-04-06 Chong Yidong <cyd@stupidchicken.com>
21684
21685 * emacs-lisp/tabulated-list.el: New file.
21686
e91a96fe
CY
21687 * emacs-lisp/package.el: Use Tabulated List mode.
21688 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
21689 (package-menu-mode): Derive from tabulated-list-mode. Set up the
21690 table format using Tabulated List mode variables.
21691 (package--push): New macro, replacing package-list-maybe-add.
21692 (package-menu--generate): Use package--push. Renamed from
21693 package--generate-package-list.
21694 (package-menu-refresh, list-packages): Use it.
daca8ba5 21695 (package-menu--print-info): Rename from package-print-package.
e91a96fe 21696 Return insertion data instead of inserting it directly.
099c39a4
JB
21697 (package-menu-describe-package, package-menu-execute):
21698 Use tabulated-list-get-id.
e91a96fe
CY
21699 (package-menu-mark-delete, package-menu-mark-install)
21700 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
21701 (package-menu-mark-obsolete-for-deletion):
21702 Use tabulated-list-put-tag.
e91a96fe
CY
21703 (package--list-packages, package-menu-revert)
21704 (package-menu-get-package, package-menu-get-version)
21705 (package-menu-sort-by-column): Functions deleted.
21706 (package-menu-package-list, package-menu-sort-key): Vars deleted.
21707 (package-menu--status-predicate, package-menu--version-predicate)
21708 (package-menu--name-predicate)
21709 (package-menu--description-predicate): Handle arguments in the
21710 Tabulated List format.
21711 (package-list-packages-no-fetch): Call list-packages.
21712
3e214b50
JB
217132011-04-06 Juanma Barranquero <lekktu@gmail.com>
21714
21715 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 21716 (after-find-file): Don't bind it.
3e214b50
JB
21717 (revert-buffer-in-progress-p): New variable.
21718 (revert-buffer): Bind it.
21719 Pass nil for `after-find-file-from-revert-buffer'.
21720
21721 * saveplace.el (save-place-find-file-hook): Use new variable
21722 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
21723
3f0f1700
GM
217242011-04-06 Glenn Morris <rgm@gnu.org>
21725
c0274801
GM
21726 * Makefile.in (AUTOGEN_VCS): New variable.
21727 (autoloads): Use $AUTOGEN_VCS.
21728
3f0f1700
GM
21729 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
21730 * calendar/calendar.el (calendar-mode-map):
21731 Check for toolkit scroll bars. (Bug#8305)
21732
41ea9e48
CY
217332011-04-05 Chong Yidong <cyd@stupidchicken.com>
21734
21735 * minibuffer.el (completion-in-region--postch)
21736 (completion-in-region-mode): Remove unnecessary messages.
21737
6194c800
JB
217382011-04-05 Juanma Barranquero <lekktu@gmail.com>
21739
33256f14
JB
21740 * font-lock.el (font-lock-refresh-defaults):
21741 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
21742 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
21743
6194c800
JB
21744 * info.el (Info-directory-list, Info-read-node-name-2)
21745 (Info-split-parameter-string): Doc fixes.
21746 (Info-virtual-nodes): Reflow docstring.
21747 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
21748 (Info-apropos-toc-nodes, info-finder, Info-get-token)
21749 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
21750 Fix typos in docstrings.
21751 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
21752 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
21753 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
21754 (Info-restore-desktop-buffer): Mark unused parameters.
21755 (Info-directory-find-file, Info-directory-find-node)
21756 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
21757 (Info-virtual-index-find-node, Info-apropos-find-file)
21758 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 21759 Mark unused parameters; fix typos in docstrings.
6194c800
JB
21760 (Info-virtual-index): Remove unused local variable `nodename'.
21761
b87a8200 217622011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 21763
b87a8200
DD
21764 * net/rcirc.el: Update my e-mail address.
21765 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 21766
3b2ff876
CY
217672011-04-05 Chong Yidong <cyd@stupidchicken.com>
21768
21769 * startup.el (command-line): Save the cursor's theme-face
21770 directly, instead of using face-override-spec.
21771
21772 * custom.el (load-theme): Minor optimization in assigning faces.
21773
8d17e7ca
JB
217742011-04-04 Juanma Barranquero <lekktu@gmail.com>
21775
21776 * help-fns.el (describe-variable): Complete all variables having
21777 documentation, including keywords.
21778 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
21779
2fbc1934
JB
217802011-04-04 Juanma Barranquero <lekktu@gmail.com>
21781
21782 Convert to lexical-binding.
21783
21784 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
21785 (bs--get-marked-string, bs--get-modified-string)
21786 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
21787 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
21788 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
21789
21790 * ehelp.el (electric-help-execute-extended)
21791 (electric-help-ctrl-x-prefix):
21792 * hexl.el (hexl-revert-buffer-function):
21793 * linum.el (linum-after-change, linum-after-scroll):
21794 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
21795
21796 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
21797
74f50695
DU
217982011-04-04 Daiki Ueno <ueno@unixuser.org>
21799
21800 * epa-dired.el:
21801 * epa-mail.el:
21802 * epa-hook.el:
21803 * epa-file.el:
21804 * epa.el:
21805 * epg.el: Use lexical binding.
21806
c11325f7
CY
218072011-04-03 Chong Yidong <cyd@stupidchicken.com>
21808
0d9e9a12
CY
21809 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
21810
c11325f7 21811 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
21812 dictionary case for flyspell-mark-duplications-exceptions.
21813 Use regexp matching for languages.
c11325f7
CY
21814 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
21815 default dictionary (Bug#7926).
21816
da91b5f2
CY
218172011-04-02 Chong Yidong <cyd@stupidchicken.com>
21818
099c39a4
JB
21819 * emacs-lisp/package.el (package--with-work-buffer):
21820 Recognize https URLs.
da91b5f2 21821
099c39a4
JB
21822 * net/network-stream.el: Move from gnus/proto-stream.el.
21823 Change prefix to network-stream throughout.
da91b5f2
CY
21824 (open-protocol-stream): Merge into open-network-stream, leaving
21825 open-protocol-stream as an alias. Handle nil BUFFER args.
21826
21827 * subr.el (open-network-stream): Move to net/network-stream.el.
21828
afa8e9f6
GM
218292011-04-02 Glenn Morris <rgm@gnu.org>
21830
1d2e369d
GM
21831 * find-dired.el (find-exec-terminator): New option.
21832 (find-ls-option): Test for -ls support.
21833 (find-ls-subdir-switches): Test for -b in find-ls-option.
21834 (find-dired, find-grep-dired): Doc fixes.
21835 (find-dired): Use find-exec-terminator.
21836
8abb7da8 21837 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
21838 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
21839 (find-name-arg): Remove purecopy.
8abb7da8 21840
f3ca7378
GM
21841 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
21842 (grep-compute-defaults): Check for `-exec COMMAND +' support.
21843 Set grep-find-use-xargs, grep-find-command, and grep-find-template
21844 accordingly. Don't add the null-device if not needed.
21845
afa8e9f6
GM
21846 * files.el (save-some-buffers): Doc fix.
21847
35eae264
EZ
218482011-04-02 Eli Zaretskii <eliz@gnu.org>
21849
21850 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
21851
26b51db5
JB
218522011-04-01 Juanma Barranquero <lekktu@gmail.com>
21853
21854 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
21855 Use `dolist' rather than `mapcar'.
21856
7200d79c
SM
218572011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
21858
03408648 21859 Add lexical binding.
7200d79c 21860
03408648
SM
21861 * subr.el (apply-partially): Use new closures rather than CL.
21862 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
21863 (dolist, dotimes): Use slightly different expansion for lexical code.
21864 (functionp): Move to C.
21865 (letrec): New macro.
21866 (with-wrapper-hook): Use it and apply-partially instead of CL.
21867 (eval-after-load): Preserve lexical-binding.
21868 (save-window-excursion, with-output-to-temp-buffer): Turn them
21869 into macros.
7200d79c 21870
03408648
SM
21871 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
21872
21873 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
21874 than the arglist.
21875 (help-add-fundoc-usage): Don't add `Not documented'.
21876 (help-function-arglist): Handle closures, subroutines, and new
21877 byte-code-functions.
21878 (help-make-usage): Remove leading underscores.
21879 (describe-function-1): Handle closures.
21880 (describe-variable): Use special-variable-p for completion.
21881
21882 * files.el (lexical-binding): Declare safe.
f488fb65 21883
03408648
SM
21884 * emacs-lisp/pcase.el: Don't use destructuring-bind.
21885 (pcase--memoize): Rename from pcase-memoize. Change weakness.
21886 (pcase): Add `let' pattern.
21887 Change memoization so it actually works.
21888 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
21889 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
21890 <let>: New case.
f488fb65 21891
03408648
SM
21892 * emacs-lisp/macroexp.el: Use lexical binding.
21893 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
21894 Don't convert ' to #' without checking that it's indeed quoting
21895 a lambda.
21896
21897 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 21898 Use eval-sexp-add-defvars.
03408648
SM
21899 (eval-sexp-add-defvars): New fun.
21900
21901 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
21902
21903 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
21904 Don't autoload.
21905 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
21906 than the internal `byte-compile-lambda'.
21907 (defmethod): Don't hide code under quotes.
21908 (eieio-defmethod): New `code' argument.
21909
21910 * emacs-lisp/eieio-comp.el: Remove.
21911
21912 * emacs-lisp/edebug.el (edebug-eval-defun)
21913 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
21914 (edebug-toggle): Avoid `eval'.
21915
21916 * emacs-lisp/disass.el (disassemble-internal): Handle new
21917 `closure' objects.
21918 (disassemble-1): Handle new byte codes.
21919
21920 * emacs-lisp/cl.el (pushnew): Silence warning.
21921
21922 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
21923 (cl-byte-compile-throw): Remove.
21924 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
21925
21926 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
21927 closures.
21928
21929 * emacs-lisp/cconv.el: New file.
21930
21931 * emacs-lisp/bytecomp.el: Use lexical binding instead of
21932 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
21933 (byte-compile-initial-macro-environment):
21934 Handle declare-function here.
21935 (byte-compile--lexical-environment): New var.
21936 (byte-stack-ref, byte-stack-set, byte-discardN)
21937 (byte-discardN-preserve-tos): New lap codes.
21938 (byte-interactive-p): Don't use any more.
21939 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
21940 New macros.
21941 (byte-compile-lapcode): Use them and handle new lap codes.
21942 (byte-compile-obsolete): Remove.
21943 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
21944 (byte-compile-arglist-warn): Check late def of inlinable funs.
21945 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
21946 since they should have been expanded by now.
21947 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
21948 (byte-compile-from-buffer): Remove unused second arg.
21949 (byte-compile-preprocess): New function.
21950 (byte-compile-toplevel-file-form): New function to distinguish
21951 file-form calls from outside from file-form calls from hunk-handlers.
21952 (byte-compile-file-form): Simplify.
21953 (byte-compile-file-form-defsubst): Remove.
21954 (byte-compile-file-form-defmumble): Simplify now that
21955 byte-compile-lambda always returns a byte-code-function.
21956 (byte-compile): Preprocess.
21957 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
21958 Remove, not used any more.
21959 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
21960 (byte-compile-make-args-desc): New funs.
21961 (byte-compile-lambda): Handle lexical functions. Always return
21962 a byte-code-function.
21963 (byte-compile-reserved-constants): New var, to make up room for
21964 closed-over variables.
21965 (byte-compile-constants-vector): Obey it.
21966 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
21967 (byte-compile-macroexpand-declare-function): New function.
21968 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
21969 byte-code-functions.
21970 (byte-compile-form): Check obsolescence here.
21971 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
21972 (byte-compile-variable-ref): Remove.
21973 (byte-compile-dynamic-variable-op): New fun.
21974 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
21975 (byte-compile-variable-set): New funs.
21976 (byte-compile-discard): Add 2 args.
21977 (byte-compile-stack-ref, byte-compile-stack-set)
21978 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
21979 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
21980 macroexpand-all instead.
21981 (byte-compile-quote-form): Remove.
21982 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
21983 (byte-compile-bind, byte-compile-unbind): New funs.
21984 (byte-compile-let): Handle let* and lexical binding.
21985 (byte-compile-let*): Remove.
21986 (byte-compile-catch, byte-compile-unwind-protect)
21987 (byte-compile-track-mouse, byte-compile-condition-case):
21988 Handle a new :fun-body form, used for lexical scoping.
21989 (byte-compile-save-window-excursion)
21990 (byte-compile-with-output-to-temp-buffer): Remove.
21991 (byte-compile-defun): Simplify.
21992 (byte-compile-stack-adjustment): New fun.
21993 (byte-compile-out): Use it.
21994 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
21995
21996 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
21997 handler any more.
21998
21999 * emacs-lisp/byte-opt.el: Use lexical binding.
22000 (byte-inline-lapcode): Remove (to bytecomp).
22001 (byte-compile-inline-expand): Pay attention to inlining to/from
22002 lexically bound code.
22003 (byte-compile-unfold-lambda): Don't handle byte-code-functions
22004 any more.
22005 (byte-optimize-form-code-walker): Don't handle save-window-excursion
22006 any more and don't call compiler-macros.
22007 (byte-compile-splice-in-already-compiled-code): Remove.
22008 (byte-code): Don't inline any more.
22009 (disassemble-offset): Receive `bytes' as argument rather than via
22010 dynamic scoping.
22011 (byte-compile-tag-number): Declare before first use.
22012 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
22013 `return' even if make-spliceable.
22014 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
22015 obsolete interactive-p.
22016 (byte-optimize-lapcode): Optimize new lap-codes.
22017 Don't trip up on new form of `byte-constant' lap code.
22018
22019 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
22020
22021 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
22022
22023 * custom.el (custom-initialize-default, custom-declare-variable):
22024 Use `defvar'.
22025
22026 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
22027 New variables.
22028 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
22029 (COMPILE_FIRST): Add macroexp and cconv.
22030 * makefile.w32-in: Mirror changes in Makefile.in.
22031
22032 * vc/cvs-status.el:
22033 * vc/diff-mode.el:
22034 * vc/log-edit.el:
22035 * vc/log-view.el:
22036 * vc/smerge-mode.el:
22037 * textmodes/bibtex-style.el:
090bd7cb 22038 * textmodes/css-mode.el:
03408648
SM
22039 * startup.el:
22040 * uniquify.el:
da91b5f2
CY
22041 * minibuffer.el:
22042 * newcomment.el:
22043 * reveal.el:
22044 * server.el:
22045 * mpc.el:
22046 * emacs-lisp/smie.el:
22047 * doc-view.el:
22048 * dired.el:
03408648
SM
22049 * abbrev.el: Use lexical binding.
22050
0f0c1f27
EZ
220512011-04-01 Eli Zaretskii <eliz@gnu.org>
22052
22053 * info.el (info-display-manual): New function.
22054
c82b2579
SM
220552011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
22056
22057 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
22058
221ddf68
TH
220592011-03-31 Tassilo Horn <tassilo@member.fsf.org>
22060
22061 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 22062 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 22063
cba6e77e
GM
220642011-03-31 Glenn Morris <rgm@gnu.org>
22065
e040639f
GM
22066 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
22067
cba6e77e
GM
22068 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
22069
6d0f1c9e
CS
220702011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
22071
22072 * progmodes/python.el (python-default-interpreter)
22073 (python-python-command-args, python-jython-command-args)
22074 (python-which-shell, python-which-args, python-which-bufname)
22075 (python-file-queue, python-comint-output-filter-function)
22076 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
22077 variables and functions.
22078
3e2d70fd
SM
220792011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
22080
22081 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
22082 (completion-in-region-mode): New minor mode.
22083 (completion-in-region): Use it.
22084 (completion-in-region--data, completion-in-region-mode-map): New vars.
22085 (completion-in-region--postch): New function.
22086 (completion--capf-misbehave-funs, completion--capf-safe-funs):
22087 New vars.
22088 (completion--capf-wrapper): New function.
22089 (completion-at-point): Use it to track well-behavedness of
22090 hook functions.
22091 (completion-help-at-point): New command.
22092
f3e4086c
JM
220932011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
22094
22095 * vc/add-log.el (add-change-log-entry): Don't use whitespace
22096 syntax class to search for whitespace on a single line
22097 (Message-ID: <4D938140.4030905@redhat.com>).
22098
eb7ffc14
LL
220992011-03-30 Leo Liu <sdl.web@gmail.com>
22100
22101 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
22102 New commands.
22103 (edit-abbrevs-map): Bind them here.
22104 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
22105
d806ab68
KM
221062011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
22107
22108 * allout.el (allout-hide-by-annotation, allout-flag-region):
22109 Reduce possibility of overlay leakage by making them volatile.
22110
22111 * allout-widgets.el (allout-widgets-tally): Define as nil so the
22112 hash is not shared between buffers. Mode initialization is
22113 responsible for giving it a useful starting value.
22114 (allout-item-span): Reduce possibility of overlay leakage by
22115 making them volatile.
22116 (allout-widgets-count-buttons-in-region): Add diagnostic function
22117 for tracking down button overlay leaks.
22118
ea622834
LL
221192011-03-29 Leo Liu <sdl.web@gmail.com>
22120
22121 * ido.el (ido-read-internal): Use the default history var
22122 minibuffer-history if no HISTORY is specified.
22123
b62f8267
G
221242011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
22125
03408648
SM
22126 * net/imap.el (imap-shell-open, imap-process-connection-type):
22127 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
22128 Kerberos, SSL, other subprocesses.
22129
947b6566
LL
221302011-03-28 Leo Liu <sdl.web@gmail.com>
22131
22132 * abbrev.el (abbrev-table-empty-p): New function.
22133 (prepare-abbrev-list-buffer): Place empty abbrev tables after
22134 nonempty ones. (Bug#5937)
22135
5ffb62aa
JD
221362011-03-27 Jan Djärv <jan.h.d@swipnet.se>
22137
22138 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
22139
7a097943
LL
221402011-03-27 Leo Liu <sdl.web@gmail.com>
22141
22142 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
22143 for foreground and background colors.
22144 (ansi-color-make-color-map): Adapt.
22145
c5b40130
LL
221462011-03-25 Leo Liu <sdl.web@gmail.com>
22147
1f48f7d2
LL
22148 * midnight.el (midnight-time-float): Remove. Note it calculates
22149 the microsecond component incorrectly and seconds-to-time does the
22150 same job.
625897ec 22151 Remove redundant (require 'timer).
1f48f7d2 22152
c5b40130
LL
22153 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
22154 (ido-completions): Remove unused arguments. (Bug#8329)
22155
d86d2721
SM
221562011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
22157
22158 * minibuffer.el (completion--flush-all-sorted-completions):
22159 Remove itself from hook.
22160 (completion-at-point): Let the functions perform the completion
22161 immediately and return nil or t.
22162 * comint.el (comint-dynamic-complete-functions): Now identical to
22163 completion-at-point-functions.
22164 (comint-dynamic-list-input-ring): Remove unused var `index'.
22165 (comint--match-partial-filename, comint--unquote&expand-filename):
22166 New funs, split from comint-match-partial-filename.
22167 (comint-dynamic-complete): Use completion-at-point.
22168 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
22169
e8974c48
DA
221702011-03-24 Drew Adams <drew.adams@oracle.com>
22171
22172 * thingatpt.el: Support `defun'.
22173
def71b5e
LL
221742011-03-23 Leo Liu <sdl.web@gmail.com>
22175
cb5af48e
LL
22176 * abbrevlist.el: Move to obsolete/abbrevlist.el.
22177
def71b5e
LL
22178 * help-mode.el (help-mode-finish): Tweak regexp.
22179
927c53e7
GM
221802011-03-23 Glenn Morris <rgm@gnu.org>
22181
18d05bed
GM
22182 * eshell/esh-opt.el (eshell-eval-using-options):
22183 Do not bind unused local variable `eshell-option-stub'.
22184
927c53e7
GM
22185 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
22186
9d0da923
JB
221872011-03-22 Juanma Barranquero <lekktu@gmail.com>
22188
22189 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
22190 keymap variable in `with-no-warnings' to avoid a warning when the
22191 keymap has been already `defconst'ed.
22192
4b978a67
LL
221932011-03-22 Leo Liu <sdl.web@gmail.com>
22194
22195 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
22196 encode all chars in abbrevs; otherwise use emacs-mule or
22197 utf-8-emacs. (Bug#8308)
22198
5fd62452
JB
221992011-03-22 Juanma Barranquero <lekktu@gmail.com>
22200
0b1596c6
JB
22201 * simple.el (backward-delete-char-untabify):
22202 Avoid warning about using `delete-backward-char'.
22203
5fd62452
JB
22204 * image.el (image-type-file-name-regexps): Make it variable.
22205 `imagemagick-register-types' modifies it, and the user may want
22206 to add new extensions for known image types.
22207 (imagemagick-register-types): Throw error if not using ImageMagick.
22208
0b4e93f1
LL
222092011-03-22 Leo Liu <sdl.web@gmail.com>
22210
22211 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
22212 located before rcirc-prompt-end-marker.
22213 (rcirc-complete): Error if point is not after rcirc prompt.
22214 Handle the case when table is nil.
9882e214 22215 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 22216
fccee4ab
CY
222172011-03-22 Chong Yidong <cyd@stupidchicken.com>
22218
22219 * custom.el (custom--inhibit-theme-enable): Make it affect only
22220 custom-theme-set-variables and custom-theme-set-faces.
22221 (provide-theme): Ignore custom--inhibit-theme-enable.
22222 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
22223 (custom-enabling-themes): Delete variable.
d86d2721
SM
22224 (enable-theme): Accept only loaded themes as arguments.
22225 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
22226 (custom-enabled-themes): Forbid themes from setting this.
22227 Eliminate use of custom-enabling-themes.
22228 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 22229
af896da6
LL
222302011-03-21 Leo Liu <sdl.web@gmail.com>
22231
22232 * ido.el (ido-read-internal): Add ido-selected to history instead
22233 of user input.
22234
78f64af0
SM
222352011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
22236
22237 * subr.el (deferred-action-list, deferred-action-function):
22238 Mark obsolete.
22239
b16ac1ec
LL
222402011-03-21 Leo Liu <sdl.web@gmail.com>
22241
810f7698
LL
22242 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
22243 change on 2011-02-13 (bug#8309).
22244
b16ac1ec
LL
22245 * minibuffer.el (read-file-name-function): Change default value.
22246 (read-file-name--defaults): Rename from read-file-name-defaults.
22247 (read-file-name-default): Rename from read-file-name.
22248 (read-file-name): Call read-file-name-function.
22249
4e05e67e
GM
222502011-03-21 Glenn Morris <rgm@gnu.org>
22251
22252 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
22253 Doc fixes.
22254
4359915b
CY
222552011-03-21 Chong Yidong <cyd@stupidchicken.com>
22256
22257 * cus-theme.el: Add missing provide statement.
22258 (customize-create-theme): Extract theme value correctly.
22259 (custom-theme-visit-theme): Autoload.
22260 (customize-create-theme): Prompt before inserting default faces.
22261
1fe275ee
JB
222622011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
22263
22264 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
22265 units and musical notes.
22266
cd394be1 222672011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
22268
22269 * ido.el (ido-read-internal): Use completing-read-default.
22270 (ido-completing-read): Fix compatibility with completing-read.
22271
7d476bde
CO
222722011-03-20 Christian Ohler <ohler@gnu.org>
22273
22274 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
22275 (ert-delete-all-tests): Use `called-interactively-p' rather than
22276 `interactive-p'.
22277 (ert--make-xrefs-region): Respect END.
22278
fe0fb33e
CY
222792011-03-19 Chong Yidong <cyd@stupidchicken.com>
22280
ff854b0b
CY
22281 * dired-aux.el (dired-create-directory): Signal an error if the
22282 directory already exists (Bug#8246).
22283
fe0fb33e
CY
22284 * facemenu.el (list-colors-display): Call list-faces-display
22285 inside with-help-window.
22286 (list-colors-print): Use display property to align the final
22287 column, instead of checking window-width.
22288
576bce32
EZ
222892011-03-19 Eli Zaretskii <eliz@gnu.org>
22290
4d61f28d 22291 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
22292 windows-nt systems.
22293 (emerge-protect-metachars): Quote correctly for ms-dos and
22294 windows-nt systems.
22295
89c41d68 222962011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
22297
22298 * info.el (info-initialize): Replace all uses of `:' with
22299 path-separator for compatibility with non-Unix systems.
22300 Cache quoting of path-separator. (Bug#8258)
22301
b14e3e21 223022011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
22303
22304 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
22305 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
22306 (mouse-avoidance-mode): Fix typos in docstrings.
22307
4525ce3e
CY
223082011-03-19 Chong Yidong <cyd@stupidchicken.com>
22309
22310 * startup.el (package-subdirectory-regexp): Move from package.el.
22311 Omit \\` and \\', and let callers add them.
22312
22313 * emacs-lisp/package.el (package-strip-version)
22314 (package-load-all-descriptors): Add \\` and \\' to
22315 package-subdirectory-regexp before using it.
22316 (package-untar-buffer): New arg DIR; ensure that file untars only
22317 into this expected directory. Remove superfluous delete-region.
22318 (package-unpack): Caller changed.
22319 (package-tar-file-info): Use package-subdirectory-regexp.
22320
a904a09a 223212011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 22322
a904a09a
SM
22323 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
22324 diff-mode-shared-map (bug#8284).
22325 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
22326
223272011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
22328
22329 * calendar/time-date.el (format-seconds): Use assoc instead of
22330 assoc-string, since assoc-string doesn't exist in XEmacs.
22331
171fc304
JB
223322011-03-17 Juanma Barranquero <lekktu@gmail.com>
22333
22334 * custom.el (custom-known-themes): Reflow docstring.
22335 (custom-theme-load-path): Fix typo in docstring.
22336 (load-theme): Fix typo in error message.
22337 (custom-available-themes, custom-variable-theme-value):
22338 Use `let', not `let*'.
22339
d71990a1
JB
223402011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
22341
22342 * calc/README: Mention inclusion of musical notes.
22343
22344 * calc/calc-units.el (calc-lu-quant): Rename from
22345 `calc-logunits-quantity'.
22346 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
22347 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
22348 (calc-db): Rename from `calc-dblevel'.
22349 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
22350 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
22351 (calc-np): Rename from `calc-nplevel'.
22352 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
22353 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
22354 (calc-lu-plus): Rename from `calc-logunits-add'.
22355 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
22356 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
22357 (calc-lu-minus): Rename from `calc-logunits-sub'.
22358 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
22359 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
22360 (calc-lu-times): Rename from `calc-logunits-mul'.
22361 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
22362 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
22363 (calc-lu-divide): Rename from `calc-logunits-div'.
22364 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
22365 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
22366
22367 * calc/calc-ext.el (calc-init-extensions): Update the names of the
22368 functions being autoloaded.
22369
22370 * calc/calc.el (calc-lu-power-reference): Rename from
22371 `calc-logunits-power-reference'.
22372 (calc-lu-field-reference): Rename from
22373 `calc-logunits-field-reference'.
22374
7a71b18d
GM
22375 * calc/calc-help.el (calc-l-prefix-help):
22376 Mention musical note functions.
d71990a1 22377
40c2934b
SM
223782011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
22379
22380 * minibuffer.el (completion-all-sorted-completions):
22381 Use :completion-cycle-penalty text property if present.
22382
b0911414
KM
223832011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
22384
22385 * allout.el (allout-yank-processing): Adjust for new rebulleting
22386 regime so bullet being yanked is used without prompting the user
22387 for a choice.
22388
8a05b668
JB
223892011-03-16 Juanma Barranquero <lekktu@gmail.com>
22390
22391 * startup.el (command-line): Warn the user that _emacs is deprecated.
22392
5ba5fb81
JB
223932011-03-16 Juanma Barranquero <lekktu@gmail.com>
22394
22395 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
22396 (delphi-verbose, delphi-comment-face, delphi-string-face)
22397 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
22398 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
22399 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
22400 (delphi-new-comment-line, delphi-font-lock-defaults)
22401 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
22402 Fix typos in docstrings.
22403
2dab465b
KM
224042011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
22405
5ba5fb81 22406 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
22407 Invert the roles of character and string values for INSTEAD, so a
22408 string is used for the more common case of a defaulting prompt.
22409
0adf5618
SM
224102011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
22411
22412 * progmodes/ruby-mode.el (ruby-backward-sexp):
22413 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
22414 * play/gamegrid.el (gamegrid-make-face):
22415 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
22416 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
22417 * notifications.el (notifications-notify):
22418 * net/xesam.el (xesam-search-engines):
22419 * net/quickurl.el (quickurl-list-insert):
22420 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
22421
d72700e5
CY
224222011-03-15 Chong Yidong <cyd@stupidchicken.com>
22423
22424 * startup.el (command-line): Update package subdirectory regexp.
22425
49c5410a
SM
224262011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
22427
c6eee9aa
SM
22428 * allout.el (allout-abbreviate-flattened-numbering)
22429 (allout-mode-deactivate-hook): Fix up obsolescence "date".
22430
49c5410a
SM
22431 * subr.el (read-char-choice): Only show the cursor after the prompt,
22432 not after the answer.
22433
047b2bb9
KR
224342011-03-15 Kevin Ryde <user42@zip.com.au>
22435
22436 * help-fns.el (variable-at-point): Skip leading quotes, if any
22437 (bug#8253).
22438
0a57d256
SM
224392011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
22440
22441 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
22442 warning message.
22443
77c992bc
MA
224442011-03-14 Michael Albinus <michael.albinus@gmx.de>
22445
22446 * shell.el (shell): When called interactively, offer to change the
22447 shell file name on remote hosts.
22448
eebc475d
TZ
224492011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
22450
22451 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
22452 integration for LDAP parameters. The host, base, user or binddn,
22453 and secret tokens can be specified in a netrc file, for instance.
22454 This is optional because an `auth-source' parameter must be
22455 specified in the search attributes.
22456
9d05d1ba
JB
224572011-03-13 Juanma Barranquero <lekktu@gmail.com>
22458
22459 * help.el (describe-mode): Link to the mode's definition (bug#8185).
22460
09d9db2c
GM
224612011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
22462
22463 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
22464 into declaration. Remove redundant and harmful binding.
22465
224662011-03-12 Eli Zaretskii <eliz@gnu.org>
22467
22468 * files.el (file-ownership-preserved-p): Pass `integer' as an
22469 explicit 2nd argument to `file-attributes'. If the file's owner
22470 is the Administrators group on Windows, and the current user is
22471 Administrator, consider that a match.
22472
22473 * server.el (server-ensure-safe-dir): Consider server directory
22474 safe on MS-Windows if its owner is the Administrators group while
22475 the current Emacs user is Administrator. Use `=' to compare
22476 numerical UIDs, since they could be integers or floats.
22477
219bd536
JB
224782011-03-12 Juanma Barranquero <lekktu@gmail.com>
22479
22480 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
22481
f3afd36b
MA
224822011-03-12 Michael Albinus <michael.albinus@gmx.de>
22483
22484 Sync with Tramp 2.2.1.
22485
22486 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
22487
22488 * net/trampver.el: Update release number.
22489
3aaaa6f1
SM
224902011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
22491
94642599
SM
22492 * progmodes/compile.el (compilation--previous-directory): Fix up
22493 various nil/dead-marker mismatches (bug#8014).
22494 (compilation-directory-properties, compilation-error-properties):
22495 Don't call it at a position past the one we're about to change.
22496
3aaaa6f1
SM
22497 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
22498 Disable obsolescence warnings in the file that declares it.
22499
14239447
KM
225002011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
22501
099c39a4
JB
22502 * allout-widgets.el (allout-widgets-tally):
22503 Initialize allout-widgets-tally as a hash table rather than nil to
22504 prevent mode-line redisplay warnings. Also, clarify the module
22505 description and fix a comment typo.
14239447 22506
135e287c
JB
225072011-03-11 Juanma Barranquero <lekktu@gmail.com>
22508
22509 * help-fns.el (describe-variable): Don't complete keywords.
22510 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
22511
ffbf300e
CY
225122011-03-10 Chong Yidong <cyd@stupidchicken.com>
22513
ba08b241
CY
22514 * emacs-lisp/package.el (package-version-join): Impose a standard
22515 string representation for pre/alpha/beta version lists.
22516 (package-unpack-single): Standardize the directory name by passing
22517 it through package-version-join.
22518 (package-strip-rcs-id): Accept any version string that does not
22519 signal an error in version-to-list.
ffbf300e 22520
f346fd6b
MA
225212011-03-10 Michael Albinus <michael.albinus@gmx.de>
22522
22523 * simple.el (delete-trailing-whitespace): Return nil for the
22524 benefit of `write-file-functions'.
22525
ccb55d27
GM
225262011-03-10 Glenn Morris <rgm@gnu.org>
22527
5ceaac0c
GM
22528 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
22529
02da65ff
GM
22530 * vc/vc-git.el (vc-git-program): New option.
22531 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
22532 (vc-git--call): Use it.
22533
b2f603cc
GM
22534 * eshell/esh-util.el (eshell-condition-case): Doc fix.
22535
5772caab
GM
22536 * cus-edit.el (Custom-newline): If no button at point, look
22537 for a subgroup button at start-of-line. (Bug#2298)
22538
ccb55d27
GM
22539 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
22540
ec6ecaed
JD
225412011-03-10 Julien Danjou <julien@danjou.info>
22542
22543 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
22544 `cursor-type' is nil.
22545
9d5aa01d
JB
225462011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
22547
22548 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
22549
b6a5875b
KM
225502011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
22551
7a71b18d 22552 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
22553 preserves the existing header prefix, rebulleting it if necessary,
22554 rather than replacing it. This is necessary for proper operation
22555 of cooperative addons like allout-widgets.
1154d12e
JB
22556 (allout-make-topic-prefix, allout-rebullet-heading):
22557 Change SOLICIT arg to INSTEAD, and interpret additionally a string
22558 value as alternate bullet to be used, instead of prompting the user
22559 for a bullet character.
b6a5875b 22560
ee545c35
MA
225612011-03-09 Michael Albinus <michael.albinus@gmx.de>
22562
d86d2721
SM
22563 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22564 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
22565 `tramp-default-port'.
22566
c47971d7
DD
225672011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
22568
22569 * net/rcirc.el (rcirc-handler-001): Remove useless
22570 with-rcirc-process-buffer.
22571 (rcirc-check-auth-status): Swap arguments to string-match.
22572
13522cb4
GM
225732011-03-09 Glenn Morris <rgm@gnu.org>
22574
0be6f4f1
GM
22575 * shell.el (shell-mode):
22576 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
22577
13522cb4
GM
22578 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
22579 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
22580
515de2e3
CY
225812011-03-08 Chong Yidong <cyd@stupidchicken.com>
22582
22583 * emacs-lisp/package.el (package-refresh-contents)
22584 (package-menu-execute): Use condition-case-no-debug.
22585
b511b994
MA
225862011-03-08 Michael Albinus <michael.albinus@gmx.de>
22587
22588 * simple.el (shell-command-to-string): Use `process-file'.
22589
22590 * emacs-lisp/package.el (package-tar-file-info): Handle also
22591 remote files.
22592
d86d2721
SM
22593 * emacs-lisp/package-x.el (package-upload-buffer-internal):
22594 Use `equal' for upload base check.
b511b994 22595
25bbfb31
AM
225962011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
22597
22598 * textmodes/texinfo.el (texinfo-environments):
22599 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
22600
be996521
GM
226012011-03-08 Glenn Morris <rgm@gnu.org>
22602
e9c8529f
GM
22603 * cus-start.el (cursor-in-non-selected-windows):
22604 Fix :set quoting oddness. (Bug#8192)
22605
be996521
GM
22606 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
22607 in some setf expressions. (Bug#2159)
22608
2bb5649e
CY
226092011-03-08 Chong Yidong <cyd@stupidchicken.com>
22610
22611 * custom.el (custom-available-themes): Return themes in
22612 alphabetical order.
22613
33383987 22614See ChangeLog.15 for earlier changes.
e3d51b27
MR
22615
22616;; Local Variables:
22617;; coding: utf-8
e3d51b27
MR
22618;; End:
22619
acaf905b 22620 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
22621
22622 This file is part of GNU Emacs.
22623
22624 GNU Emacs is free software: you can redistribute it and/or modify
22625 it under the terms of the GNU General Public License as published by
22626 the Free Software Foundation, either version 3 of the License, or
22627 (at your option) any later version.
22628
22629 GNU Emacs is distributed in the hope that it will be useful,
22630 but WITHOUT ANY WARRANTY; without even the implied warranty of
22631 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22632 GNU General Public License for more details.
22633
22634 You should have received a copy of the GNU General Public License
22635 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.