2181a6dde7e7e935eab7d795d8d96f22f9dea791
[bpt/emacs.git] / lisp / ChangeLog
1 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
2
3 * startup.el (initial-buffer-choice): Allow function as value
4 (Bug#13251).
5 (command-line-1): Handle case where initial-buffer-choice
6 specifies a function.
7 * server.el (server-execute): Handle case where
8 initial-buffer-choice specifies a function.
9
10 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
11
12 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
13 its own function.
14 (smtpmail-try-auth-methods): Forget the user name/password if the
15 login is unsuccessful (bug#12424).
16
17 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
18
19 * notifications.el (notifications-notify): Protect body with
20 `with-demoted-errors'.
21
22 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Check
23 properties of remote device. Restart connection, if there is a
24 change.
25
26 2012-12-21 Chong Yidong <cyd@gnu.org>
27
28 * sort.el (sort-subr): Doc fix (Bug#13056).
29
30 2012-12-21 Bastien Guerry <bzg@gnu.org>
31
32 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
33
34 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
35
36 * simple.el (process-file): Overwrite stderr file, if exists.
37
38 2012-12-21 Daiki Ueno <ueno@gnu.org>
39
40 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
41 (epg-error): Set `error-message' property.
42
43 2012-12-21 Chong Yidong <cyd@gnu.org>
44
45 * international/mule-cmds.el (read-char-by-name): Signal an error
46 if the user does not supply a valid character (Bug#13177).
47
48 * simple.el (transpose-subr-1): Preserve marker positions by
49 changing the insertion sequence (Bug#13122).
50
51 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
52
53 * simple.el (kill-region): Deactivate mark even for empty regions
54 (Bug#13169).
55
56 2012-12-21 Chong Yidong <cyd@gnu.org>
57
58 * help-fns.el (describe-variable): Make sure we get the right
59 buffer name (Bug#13105). Suggested by Kelly Dean.
60
61 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
62
63 * comint.el (comint-redirect-previous-input-string): New variable.
64 (comint-redirect-setup, comint-redirect-cleanup)
65 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
66 (comint-redirect-preoutput-filter): Fix verbose message.
67
68 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
69
70 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
71 is too long for Tramp. See discussion in
72 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
73
74 * progmodes/compile.el (compilation-start): Remove line escape
75 template.
76
77 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
78
79 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
80 Adjust comment.
81
82 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
83
84 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
85 following non-comment text (bug#13207).
86 (lm-header-multiline): Continuation lines need to be indented more than
87 the first line.
88 (lm-homepage): New function.
89 (lm-with-file): Don't be confused if narrowing is in effect.
90
91 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
92 very beginning of a hunk (e.g. killing the first line).
93
94 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
95
96 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
97 and text properties from returned ACL string.
98 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
99 for "setfacl" command.
100
101 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
102
103 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
104 `tramp-cleanup-this-connection', when the process has died.
105 (Bug#13151)
106
107 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
108
109 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
110
111 2012-12-17 Kevin Ryde <user42@zip.com.au>
112
113 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
114
115 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
116
117 Add support for preserving ACL entries of files.
118
119 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
120 `set-file-acl' handlers.
121
122 * net/tramp-adb.el (tramp-adb-handle-copy-file):
123 Handle PRESERVE-EXTENDED-ATTRIBUTES.
124
125 * net/tramp-compat.el (tramp-compat-copy-file):
126 Handle PRESERVE-EXTENDED-ATTRIBUTES.
127
128 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
129 Add `file-acl' and `set-file-acl' handlers.
130 (tramp-gvfs-handle-copy-file):
131 Handle PRESERVE-EXTENDED-ATTRIBUTES.
132 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
133 New defuns.
134
135 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
136 Add `file-acl' and `set-file-acl' handlers.
137 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
138 (tramp-sh-handle-set-file-acl): New defuns.
139 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
140 Handle PRESERVE-EXTENDED-ATTRIBUTES.
141
142 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
143 Add `file-acl' and `set-file-acl' handlers.
144 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
145
146 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
147
148 * help-macro.el (make-help-screen): Instead of switch-to-buffer
149 use pop-to-buffer with NORECORD argument t. As buffer name, use
150 *Metahelp* with a leading space (Bug#13190).
151
152 2012-12-16 Romain Francoise <romain@orebokech.com>
153
154 * files.el (file-extended-attributes)
155 (set-file-extended-attributes): New functions.
156 (backup-buffer): Use them to handle both SELinux context and ACL
157 entries.
158 (backup-buffer-copy): Work with an alist of extended attributes,
159 rather than an SELinux context.
160 (basic-save-buffer-2): Ditto.
161
162 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
163
164 * battery.el (battery-bsd-apm): New function.
165
166 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
167
168 * calc/calc.el (calc-standard-date-formats): Adjust one of the
169 standard date formats.
170
171 2012-12-15 Juri Linkov <juri@jurta.org>
172
173 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
174 `isearch-insert-char-by-name'.
175 (with-isearch-suspended): New defmacro with body mostly from
176 `isearch-edit-string' except the part that sets
177 `isearch-new-string' and `isearch-new-message'.
178 (isearch-edit-string): Use new macro `with-isearch-suspended' with
179 body that sets `isearch-new-string' and `isearch-new-message'.
180 (isearch-insert-char-by-name): New command.
181 * international/mule-cmds.el (read-char-by-name): Let-bind
182 `enable-recursive-minibuffers' to t.
183 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
184
185 2012-12-15 Juri Linkov <juri@jurta.org>
186
187 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
188 (Bug#13175)
189
190 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
191
192 * dired-x.el (dired-guess-shell-command): Put colon at the end of
193 the prompt. (Bug#13045)
194
195 2012-12-14 Glenn Morris <rgm@gnu.org>
196
197 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
198 Try to include filename in non-bytecomp warning. (Bug#13132)
199
200 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
201
202 Fix permissions bugs with setgid directories etc. (Bug#13125)
203 * files.el (backup-buffer): Don't rely on 9th output of
204 file-attributes, as it's now a placeholder. Instead, use the new
205 optional arg of file-ownership-preserved-p.
206 (file-ownership-preserved-p): New optional arg GROUP.
207 Fix mishandling of setuid directories that would cause this
208 function to return t when it should have returned nil.
209 Document what happens if the file does not exist, and when
210 it's not known whether the ownership will be preserved.
211 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
212 Likewise.
213 (tramp-get-local-gid): Use group-gid for integer, as that's
214 faster and more reliable.
215
216 2012-12-14 Julien Danjou <julien@danjou.info>
217
218 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
219 Update keywords list, data type and PL/pgSQL.
220
221 2012-12-14 Dave Abrahams <dave@boostpro.com>
222
223 * vc/ediff-util.el (ediff-buffer-type): New function.
224 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
225 rather than taking it as as argument.
226 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
227
228 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
229
230 * json.el: Add pretty-print option (bug#12634).
231 (json-encoding-separator, json-encoding-default-indentation)
232 (json--encoding-current-indentation, json-encoding-pretty-print)
233 (json-encoding-lisp-style-closings): New vars.
234 (json--with-indentation): New macro.
235 (json-encode-hash-table, json-encode-alist, json-encode-plist)
236 (json-encode-array): Use it to obey json-encoding-pretty-print.
237 (json-pretty-print-buffer, json-pretty-print): New commands.
238
239 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
240
241 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
242 Extract `ruby-syntax-propertize-expansions'.
243 (ruby-syntax-propertize-expansions): Only change syntax on
244 certain string delimiters, to punctuation. This way the common
245 functions like forward-word and thing-at-point still work.
246 (ruby-match-expression-expansion): Improve readability.
247 (ruby-block-contains-point): New function.
248 (ruby-add-log-current-method): Handle several edge cases.
249
250 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
251
252 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
253 unload-feature finishes even when aborting an ongoing edebug session.
254 Also, do not worry about edebug-mode, unload-feature takes care of it.
255
256 2012-12-13 Andreas Schwab <schwab@suse.de>
257
258 * net/tls.el (tls-program): Update customize type.
259
260 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
261
262 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
263 (edebug-setup-hook, cl-read-load-hooks): Use it.
264 (edebug-unload-function): New function. (Bug#13163)
265
266 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
267
268 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
269 Otherwise, there could be errors in autoloading. (Bug#13151)
270
271 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
272
273 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
274 sequences.
275
276 2012-12-13 Alan Mackenzie <acm@muc.de>
277
278 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
279 * progmodes/cc-engine.el (c-backward-comments): Add code to work
280 around `forward-comment' not recognizing ^M as whitespace.
281
282 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
283
284 * progmodes/python.el (python-skeleton-class)
285 (python-skeleton-def): Do not add space after defun name.
286
287 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
288
289 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
290 (cl--symbol-function): Remove (now that funbound is like nil).
291
292 2012-12-12 Glenn Morris <rgm@gnu.org>
293
294 * button.el (button--area-button-p): Fix typo.
295
296 2012-12-12 Sam Steingold <sds@gnu.org>
297
298 * frame.el (frame-maximization-style): New user option.
299 (toggle-frame-maximized): Toggle frame maximization according to
300 `frame-maximization-style', bound to <f11>.
301 (cycle-frame-maximized): Cycle between all maximization styles and
302 non-maximized frame, bound to shift-<f11>.
303
304 2012-12-12 David Cadé <codename68@gmail.com>
305
306 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
307
308 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
309
310 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
311 (eieio-override-prin1): Don't quote kewords and booleans.
312 (object-write) <eieio-default-superclass>: Don't put closing parens
313 on new line, avoid needless empty lines, align values that are objects
314 with the slot keyword (instead of beginning on the same line).
315 (eieio-list-prin1): Align value with slot keyword; increase
316 eieio-print-depth before printing members of the list.
317
318 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
319
320 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
321 a display text-property.
322 (report-emacs-bug-hook): Don't bother deleting it any more.
323
324 * hilit-chg.el (highlight-save-buffer-state): Delete.
325 Use with-silent-modifications instead.
326 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
327
328 * button.el: Handle buttons in display text-properties.
329 (button--area-button-p, button--area-button-string):
330 Use (STRING . STRING-POS) representation instead of just STRING.
331
332 2012-12-11 Eli Zaretskii <eliz@gnu.org>
333
334 * makefile.w32-in (compile4-SH): Fix a typo that caused term
335 subdirectory be skipped.
336
337 2012-12-11 Glenn Morris <rgm@gnu.org>
338
339 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
340
341 * progmodes/f90.el (f90-line-continued, f90-indent-region):
342 Treat preprocessor lines embedded in continuations like comments.
343 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
344
345 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
346
347 * calc/calc.el (calc-standard-date-formats): Add more date
348 formats.
349 * calc/calc-forms.el (math-parse-iso-date): New function.
350 (math-parse-date): Use `math-parse-iso-date' when appropriate.
351 (math-parse-iso-date-validate): Add extra error checking.
352 (calc-date-notation): Add ability to access new date formats.
353
354 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
355
356 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
357 font-lock as well as when there's no text-property.
358
359 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
360
361 * hi-lock.el: Refine the choice of default face.
362 (hi-lock-keyword->face): New function. Use it wherever we used
363 cadadadr instead.
364 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
365 (hi-lock--last-face): Remove var.
366 (hi-lock--unused-faces): New var to replace it.
367 (hi-lock-read-face-name): Use/maintain it.
368 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
369 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
370 if it has another face.
371
372 2012-12-10 Eli Zaretskii <eliz@gnu.org>
373
374 * subr.el (w32notify-handle-event): New function.
375 (inotify-handle-event): Doc fix.
376
377 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
378
379 * subr.el (inotify-event-p, inotify-handle-event): New functions.
380
381 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
382
383 * simple.el (just-one-space): Doc fix.
384
385 2012-12-10 Eli Zaretskii <eliz@gnu.org>
386
387 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
388
389 2012-12-10 Le Wang <l26wang@gmail.com>
390
391 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
392 narrowed buffer (bug#12361).
393
394 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
395
396 * vc/vc-hooks.el (vc-state): Doc fix.
397
398 2012-12-10 Glenn Morris <rgm@gnu.org>
399
400 * mail/rmail.el (rmail-maybe-display-summary):
401 Preserve buffer, in case select-window changes it. (Bug#13066)
402
403 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
404
405 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
406 cl-load-hook where they belong.
407
408 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
409
410 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
411
412 2012-12-09 Eli Zaretskii <eliz@gnu.org>
413
414 Parallelize byte compilation on MS-Windows.
415 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
416 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
417 (WINS_BASIC): Define as concatenation of the above.
418 (compile): Subdivide into 4 separate and independent jobs that can
419 be run in parallel.
420 (compile0-CMD, compile0-SH): New targets for compiling
421 COMPILE_FIRST files, which are prerequisites for the rest of the
422 byte-compilation.
423 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
424 New targets for parallel compilation with cmd.exe.
425 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
426 compiling under a Unixy shell.
427
428 2012-12-09 Chong Yidong <cyd@gnu.org>
429
430 * simple.el (set-mark-default-inactive): Delete this
431 accidentally-introduced option.
432 (set-mark-command, exchange-point-and-mark): Remove calls.
433
434 2012-12-09 Glenn Morris <rgm@gnu.org>
435
436 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
437 Respect a defcustom's :set function, if appropriate. (Bug#109)
438 (eval-defun): Doc fix.
439
440 2012-12-08 Juri Linkov <juri@jurta.org>
441
442 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
443 (Info-fontify-node, Info-bookmark-make-record): Remove the
444 file extension from Info-current-file (Bug#13016).
445
446 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
447
448 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
449 point, still provide some default.
450 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
451 names, since we don't use it right now. Actually return the list.
452 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
453
454 2012-12-07 Chong Yidong <cyd@gnu.org>
455
456 * novice.el (disabled-command-function): Remove a spurious help
457 xref (Bug#13043). Suggested by Kelly Dean.
458
459 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
460 syntax is specified (Bug#13025).
461
462 * info.el (Info-set-mode-line): Remove the file extension from
463 Info-current-file if there is one (Bug#13016).
464
465 2012-12-07 Glenn Morris <rgm@gnu.org>
466
467 * mail/rmail.el (rmail-mime-decoded): New permanent local.
468 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
469 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
470 and rmail-mime-decoded. (Bug#9841)
471
472 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
473 (batch-unrmail, unrmail): Doc fixes.
474 (unrmail): Respect unrmail-mbox-format.
475 * mail/rmail.el (rmail-mbox-format): New option.
476 (rmail-show-message-1): Respect rmail-mbox-format.
477
478 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
479
480 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
481
482 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
483
484 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
485 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
486 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
487 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
488 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
489 (cl-progv): Don't rely on dynamic scoping to find the body.
490 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
491 (cl--proclaims-deferred): Rename from the "cl-" prefix.
492 (cl-declaim): Use backquotes.
493 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
494 Use "cl--" prefix for the object's tag.
495
496 * ses.el: Use advice-add/remove.
497 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
498 (copy-region-as-kill, yank): Use advice-add.
499 (ses-unload-function): Use advice-remove.
500
501 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
502
503 * button.el: Make them work in header-lines (bug#12817).
504 (button-map): Add bindings for header-line and mode-line use.
505 (button-get, button-put, button-label): `button' may now be a string.
506 (button-activate): Don't make it a defsubst.
507 (button--area-button-p, button--area-button-string): New functions.
508 (make-text-button): Fix the return value when `beg' was a string.
509 (push-button): Handle the mode-line case.
510
511 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
512
513 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
514 (sql-signum): Remove. Use `cl-signum' instead.
515 (sql-read-passwd): Remove; use read-passwd instread.
516 (sql-get-login-ext): Use read-string.
517 (sql-get-login): Use dolist and pcase.
518 (sql--completion-table): Rename from sql-try-completion.
519 Use complete-with-action.
520 (sql-mode): Don't change abbrev-all-caps globally.
521 (sql-connect): Don't rely on dynamic scoping for `new-name'.
522 (sql-postgres-completion-object): Initialize vars in their `let'.
523 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
524 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
525 (sql-comint-interbase): Use a single append, without setq.
526 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
527
528 * hi-lock.el: Rework the default face and the serialize regexp code.
529 (hi-lock--auto-select-face-defaults): Remove.
530 (hi-lock-string-serialize-serial): Remove.
531 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
532 make weak.
533 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
534 equal string.
535 (hi-lock-set-pattern): Adjust accordingly.
536 (hi-lock--regexps-at-point): Simplify accordingly.
537 (hi-lock--auto-select-face-defaults): Remove.
538 (hi-lock--last-face): New var to replace it.
539 (hi-lock-read-face-name): Rewrite (bug#11095).
540 (hi-lock-unface-buffer): Arrange for the face to be the next default.
541
542 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
543
544 * net/tramp.el (tramp-replace-environment-variables):
545 Hide compiler warning.
546 (tramp-file-name-for-operation): Remove `executable-find',
547 `start-process', `call-process' and `call-process-region'.
548
549 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
550
551 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
552 compatibility.
553
554 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
555
556 2012-12-06 Chong Yidong <cyd@gnu.org>
557
558 * ffap.el (ffap-replace-file-component): Fix typo.
559
560 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
561
562 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
563 fix open-paren-like token test (bug#12785).
564
565 2012-12-06 Glenn Morris <rgm@gnu.org>
566
567 * mail/rmailsum.el (rmail-new-summary): Tweak for
568 rmail-maybe-display-summary changing buffer. (Bug#13066)
569
570 2012-12-06 Juri Linkov <juri@jurta.org>
571
572 * info.el (Info-fontify-node): Don't hide the last newline.
573 (Bug#12272)
574
575 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
576
577 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
578 so as to enable message-read-from-minibuffer to expand mail aliases.
579
580 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
581
582 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
583 the `intangible' property.
584 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
585
586 2012-12-05 Deniz Dogan <deniz@dogan.se>
587
588 * net/rcirc.el (rcirc-urls): Update documentation.
589 (rcirc-condition-filter): New function.
590 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
591 and exclude consecutive duplicate URLs (Bug#6082).
592
593 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
594
595 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
596 Check return code of copy command.
597
598 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
599 Use group `tramp'. Add version.
600
601 2012-12-05 Chong Yidong <cyd@gnu.org>
602
603 * ffap.el (ffap-url-regexp): Don't require matching at front of
604 string (Bug#4952).
605 (ffap-url-p): If only a substring matches, return that.
606 (ffap-url-at-point): Use the return value of ffap-url-p.
607 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
608 (find-file-at-point, dired-at-point, dired-at-point-prompter)
609 (ffap-guess-file-name-at-point): Likewise.
610 (ffap-replace-file-component): Fix typo.
611
612 * info.el (info-display-manual): Add existing Info buffers, whose
613 files may not be in Info-directory-list, to the completion.
614 (info--manual-names): New helper function.
615
616 2012-12-05 Glenn Morris <rgm@gnu.org>
617
618 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
619 New functions, for detecting and resolving conflicts. (Bug#10709)
620
621 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
622
623 * hi-lock.el (hi-lock-auto-select-face): New user variable.
624 (hi-lock-auto-select-face-defaults): New buffer local variable.
625 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
626 (hi-lock-unface-buffer): Prompt user with useful defaults.
627 With prefix arg, unhighlight all hi-lock patterns in buffer.
628
629 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
630
631 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
632
633 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
634
635 * Makefile.in (TRAMP_SRC):
636 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
637
638 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
639
640 * net/tramp-adb.el: New package.
641
642 2012-12-04 Chong Yidong <cyd@gnu.org>
643
644 * terminal.el: Move to obsolete/.
645
646 * longlines.el: Move to obsolete/.
647
648 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
649 Remove code referring to longlines mode.
650
651 2012-12-03 Juri Linkov <juri@jurta.org>
652
653 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
654
655 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
656
657 * textmodes/ispell.el (ispell-init-process)
658 (ispell-start-process, ispell-internal-change-dictionary):
659 Make sure personal dictionary name is expanded after initial
660 `default-directory' value. Use expanded strings for
661 keep/restart checks and for value (Bug#13019).
662
663 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
664
665 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
666
667 2012-12-03 Leo Liu <sdl.web@gmail.com>
668
669 * files.el (dir-locals-read-from-file): Check file non-empty
670 before reading. (Bug#13038)
671
672 2012-12-03 Glenn Morris <rgm@gnu.org>
673
674 * jka-cmpr-hook.el (jka-compr-get-compression-info):
675 Remove any version extension before checking filename. (Bug#13006)
676 (jka-compr-compression-info-list): Belated :version bump.
677
678 2012-12-03 Chong Yidong <cyd@gnu.org>
679
680 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
681
682 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
683 (buffer-menu): Doc fix (Bug#12294).
684
685 2012-12-03 Roland Winkler <winkler@gnu.org>
686
687 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
688 of diary-show-all-entries in the diary buffer (Bug#12994).
689
690 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
691
692 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
693 "<STDIN>". This is binary safe.
694
695 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
696
697 * calc/calc-forms.el (math-absolute-from-iso-dt)
698 (math-date-to-iso-dt, math-parse-iso-date-validate)
699 (math-iso-dt-to-date): New functions.
700 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
701 (math-fd-isoweekday): New variables.
702 (calc-date-notation, math-parse-standard-date, math-format-date)
703 (math-format-date-part): Add support for more formatting codes.
704
705 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
706
707 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
708 current buffer's file name when called interactively (Bug#12488).
709
710 2012-12-02 Juri Linkov <juri@jurta.org>
711
712 * info.el (info-display-manual): Don't clobber an existing Info
713 buffer (Bug#10770). Add completion (Bug#10771).
714
715 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
716
717 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
718 before using it for comparison (Bug#5297).
719
720 2012-12-01 Jari Aalto <jari.aalto@cante.net>
721
722 * textmodes/css-mode.el (css-current-defun-name): New function.
723 (css-mode): Use it.
724
725 * textmodes/sgml-mode.el (html-current-defun-name): New function.
726 (html-mode): Use it.
727
728 2012-12-01 Chong Yidong <cyd@gnu.org>
729
730 Modularize add-log-current-defun (Bug#2224).
731 Suggested by Jari Aalto.
732
733 * vc/add-log.el (add-log-current-defun-function): Doc fix.
734 (add-log-current-defun): Move mode-specific code to other files.
735 (add-log-lisp-like-modes, add-log-c-like-modes)
736 (add-log-tex-like-modes): Variables deleted.
737
738 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
739 (lisp-mode-variables): Use it.
740
741 * progmodes/cc-mode.el (c-common-init):
742 * progmodes/cperl-mode.el (cperl-mode): Set a value for
743 add-log-current-defun-function.
744
745 * progmodes/m4-mode.el (m4-current-defun-name): New function.
746 (m4-mode): Use it.
747
748 * progmodes/perl-mode.el (perl-current-defun-name): New.
749 (perl-mode): Use it.
750
751 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
752 Use lisp-current-defun-name.
753
754 * textmodes/tex-mode.el (tex-current-defun-name): New.
755 (tex-common-initialization): Use it.
756
757 * textmodes/texinfo.el (texinfo-current-defun-name): New.
758 (texinfo-mode): Use it.
759
760 2012-12-01 Chong Yidong <cyd@gnu.org>
761
762 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
763 * progmodes/autoconf.el (autoconf-mode):
764 * progmodes/js.el (js-mode):
765 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
766 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
767 * progmodes/perl-mode.el (perl-mode):
768 * progmodes/sh-script.el (sh-mode, sh-set-shell):
769 * textmodes/css-mode.el (css-mode):
770 * textmodes/sgml-mode.el (html-mode, sgml-mode)
771 (sgml-tags-invisible, sgml-guess-indent):
772 * textmodes/tex-mode.el (tex-common-initialization)
773 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
774 (doctex-mode, plain-tex-mode, latex-mode):
775 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
776
777 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
778
779 * vc/vc-hg.el (vc-hg-next-revision):
780 Ensure use of default "tip" output format. (Bug#6968)
781
782 2012-12-01 Kim F. Storm <storm@cua.dk>
783
784 * startup.el (fancy-startup-tail): Add a clickable link
785 (Bug#2176).
786
787 2012-12-01 Chong Yidong <cyd@gnu.org>
788
789 * startup.el (fancy-startup-tail): Improve the message about
790 auto-save files (Bug#2176).
791
792 * files.el (recover-session): Improve the descriptive message, and
793 use substitute-command-keys.
794
795 2012-12-01 Glenn Morris <rgm@gnu.org>
796
797 * ido.el (ido-file-internal):
798 Handle other-window, other-frame for dired. (Bug#13036)
799
800 2012-11-30 Glenn Morris <rgm@gnu.org>
801
802 * icomplete.el (icomplete-separator): Fix :version.
803
804 2012-11-30 Chong Yidong <cyd@gnu.org>
805
806 * shell.el (shell): For C-u M-x shell, use an inactive shell
807 buffer as the default (Bug#1975).
808 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
809 (shell-mode): Use them to reapply ansi colorization if Shell mode
810 is re-enabled.
811
812 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
813
814 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
815
816 2012-11-30 Samuel Bronson <naesten@gmail.com>
817
818 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
819 flag to xargs, for compatibility with BSD xargs (Bug#11703).
820
821 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
822
823 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
824 by move-to-column (Bug#3234).
825
826 2012-11-30 Chong Yidong <cyd@gnu.org>
827
828 * longlines.el (longlines-wrap-line, longlines-encode-region):
829 Preserve text properties (Bug#1425).
830
831 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
832
833 * vc/vc.el (vc-register): Allow registering a file which is
834 already registered with a different backend (Bug#10589).
835
836 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
837 Stefan Monnier <monnier@iro.umontreal.ca>
838
839 * icomplete.el: Change separator; add ido-style commands.
840 (icomplete-show-key-bindings): Remove custom var.
841 (icomplete-get-keys): Remove function.
842 (icomplete-forward-completions, icomplete-backward-completions):
843 New commands.
844 (icomplete-minibuffer-map): New var.
845 (icomplete-minibuffer-setup): Use it.
846 (icomplete-exhibit): Don't delay if the list of completions is known.
847 (icomplete-separator): New custom.
848 (icomplete-completions): Use it.
849 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
850 (minibuffer-force-complete-and-exit): New command.
851 (minibuffer--complete-and-exit): New function extracted from
852 minibuffer-complete-and-exit.
853 (minibuffer-complete-and-exit): Use it.
854
855 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
856 error message when the file doesn't exist (bug#12974).
857
858 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
859
860 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
861
862 2012-11-29 Glenn Morris <rgm@gnu.org>
863
864 * files.el (hack-dir-local-variables): Warn if try to set
865 coding via dir-locals, since it doesn't work. (Bug#7169)
866
867 Add desktop support for restoring vc-dir buffers. (Bug#10606)
868 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
869 Set buffer-local value of desktop-save-buffer.
870 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
871 New functions.
872 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
873 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
874
875 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
876 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
877 Doc fix.
878 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
879 Doc fixes.
880
881 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
882
883 * calc/calc-forms.el (calc-date-notation): Fix regexp
884 used to find time codes. Fix symbol for seconds.
885
886 2012-11-27 Glenn Morris <rgm@gnu.org>
887
888 * emacs-lisp/derived.el (derived-mode-make-docstring):
889 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
890
891 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
892
893 * textmodes/table.el (table-insert): Don't use `symbol-name' on
894 lexically scoped variables (bug#13005).
895
896 2012-11-27 Glenn Morris <rgm@gnu.org>
897
898 * vc/vc-hooks.el (vc-mistrust-permissions):
899 Default to t, to avoid data-loss. (Bug#11490)
900
901 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
902
903 * progmodes/python.el (python-indent-guess-indent-offset):
904 If indentation is guessed make python-indent-offset buffer-local.
905
906 Fix Imenu regression.
907 * progmodes/python.el (python-nav-beginning-of-defun):
908 Fix forward movement when statement(s) separates point from defun.
909 (python-imenu-prev-index-position): New function.
910
911 2012-11-27 Eli Zaretskii <eliz@gnu.org>
912
913 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
914
915 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
916 Don't set buffer-file-type. Return nil. (Bug#12989)
917
918 2012-11-27 Glenn Morris <rgm@gnu.org>
919
920 * hippie-exp.el (hippie-expand-try-functions-list):
921 Re-autoload it. (Bug#12982)
922
923 2012-11-27 Eli Zaretskii <eliz@gnu.org>
924
925 * descr-text.el (describe-char-padded-string):
926 Call internal-char-font only on GUI frames. (Bug#11964)
927
928 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
929
930 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
931 and obsoletion message.
932
933 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
934
935 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
936 the constructs to keep outside of the `cl-block' (bug#12977).
937
938 2012-11-27 Chong Yidong <cyd@gnu.org>
939
940 * mouse.el (mouse-drag-line): Even if the line is not draggable,
941 keep reading until we get the up-event anyway, in order to process
942 the up-event for mouse-1-click-follows-link (Bug#12971).
943
944 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
945
946 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
947 base function is not yet defined (bug#12965).
948 (ad-activate-advised-definition): Use ad-compile-function.
949 (ad-activate): Use cond.
950
951 2012-11-25 Leo Liu <sdl.web@gmail.com>
952
953 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
954 (Bug#12979)
955
956 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
957
958 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
959 reftex-section-info-function in order to be compatible with
960 Texinfo integration.
961
962 * textmodes/reftex.el (reftex-section-pre-regexp)
963 (reftex-section-post-regexp, reftex-section-info-function):
964 New variable.
965 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
966 reftex-section-post-regexp, and reftex-section-info-function in order
967 to be compatible with Texinfo integration.
968
969 * textmodes/reftex-toc.el (reftex-toc-promote-action):
970 use reftex-section-pre-regexp variable in order to be compatible with
971 Texinfo integration.
972
973 2012-11-25 Chong Yidong <cyd@gnu.org>
974
975 * faces.el: Make face-spec-set more analogous to setq.
976 (face-spec-set): Change the third arg to specify whether this
977 function is being called via defface, customize, or a third party.
978 Set the appropriate symbol properties. Clear the override spec if
979 setting via Custom. Initialize face if necessary. (Bug#4988)
980 (face-spec-recalc): Allow theme faces to completely replace the
981 defface spec, in the same way as custom faces (Bug#8454).
982
983 * cus-face.el (custom-declare-face): Move face initialization to
984 face-spec-set.
985 (custom-theme-set-faces): Don't initialize the face name here, as
986 that is now done in face-spec-set.
987
988 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
989 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
990 Simplify by using the new arg to face-spec-set.
991
992 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
993 reset face-override-spec too, and use custom-declare-face.
994
995 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
996
997 * term/ns-win.el (ns-initialize-window-system): Move creation of
998 fontsets here (Bug#11964).
999
1000 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
1001
1002 * ses.el (ses-rename-cell): Correct bug on mode-line update after
1003 cell renaming.
1004
1005 2012-11-24 Chong Yidong <cyd@gnu.org>
1006
1007 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
1008 obsolete.
1009
1010 * custom.el (custom-theme-set-variables): Use a topological sort
1011 for ordering by custom dependencies (Bug#12952).
1012 (custom--sort-vars, custom--sort-vars-1): New functions.
1013
1014 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
1015
1016 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
1017 lexical-binding (bug#12938).
1018
1019 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
1020
1021 * image-mode.el (image-transform-check-size): Use assertions only
1022 for images of type imagemagick.
1023
1024 Otherwise no error, image-transform-fit-to-{width,height} is
1025 silently ignored, as before. Doc fix.
1026
1027 2012-11-24 Chong Yidong <cyd@gnu.org>
1028
1029 * faces.el (color-defined-p): Doc fix (Bug#12853).
1030
1031 2012-11-24 Juri Linkov <juri@jurta.org>
1032
1033 * dired.el (dired-mark): Add optional arg `interactive'.
1034 Check for `use-region-p' if `interactive' is non-nil.
1035 (dired-unmark, dired-flag-file-deletion): Add optional arg
1036 `interactive'. Call `dired-mark' with the arg `interactive'.
1037 (Bug#10624)
1038
1039 * wdired.el: Revert 2012-10-17 change partly and replace it with
1040 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
1041 (wdired-finish-edit): Add marks for new file names to
1042 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
1043 after `revert-buffer'.
1044 (wdired-do-renames): Remove calls to `dired-remove-file',
1045 `dired-add-file', `dired-add-entry'. (Bug#11795)
1046
1047 2012-11-24 Alan Mackenzie <acm@muc.de>
1048
1049 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
1050
1051 Fix bugs in the state cache. Enhance a debugging mechanism.
1052 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
1053 "brace at column zero" strategy for C++.
1054 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
1055 (c-parse-state-point): New variable.
1056 (c-record-parse-state-state): Record old parse state with
1057 `copy-tree'. Record previous value of point.
1058 (c-debug-parse-state-double-cons): New debugging function.
1059 (c-debug-parse-state): Call the above new function.
1060 (c-toggle-parse-state-debug): Output a confirmatory message.
1061
1062 * progmodes/cc-mode.el (c-before-change, c-after-change):
1063 Call c-invalidate-state-cache from `c-before-change' instead of
1064 `c-after-change'.
1065
1066 2012-11-23 Chong Yidong <cyd@gnu.org>
1067
1068 * find-cmd.el (find-constituents): Add executable, ipath,
1069 readable, samefile, writable, daystart, regextype (Bug#12856).
1070
1071 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
1072
1073 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
1074
1075 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
1076
1077 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
1078 definition. This fixes a bootstrap failure.
1079 (calc-gregorian-switch): In menu, put dates before regions.
1080 This is easier to follow, lines up better in the menu, and lets us
1081 coalesce regions that switch at the same time. Give country
1082 names, not "Vatican", as that's better for non-expert users.
1083 Use names that are stable between the date of switch and now, e.g.,
1084 Bohemia and Moravia (which existed then and now) and not
1085 Czechoslovakia (which didn't exist then and doesn't exist now).
1086 What is now the U.S. mostly did not switch at the same time as
1087 Britain, so omit the U.S. Correct spelling of "Britain".
1088 Catholic Switzerland was too much of a mess, so omit it.
1089
1090 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
1091
1092 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
1093 after the variable is changed.
1094
1095 2012-11-21 Daniel Colascione <dancol@dancol.org>
1096
1097 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
1098 in SQL declarations for font-lock.
1099 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
1100
1101 2012-11-21 Glenn Morris <rgm@gnu.org>
1102
1103 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
1104 (face-italic-p): Add optional argument "inherit".
1105
1106 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
1107 Remove -p suffix from names, for consistency with other set-face-*.
1108 (set-face-inverse-video): Fix interactive spec.
1109 * play/gamegrid.el (gamegrid-make-mono-tty-face):
1110 * textmodes/table.el (table--update-cell-face):
1111 Use set-face-inverse-video rather than now obsolete alias.
1112
1113 2012-11-21 Eli Zaretskii <eliz@gnu.org>
1114
1115 * simple.el (line-move): Don't call line-move-partial if
1116 scroll-conservatively is in effect. (Bug#12927)
1117
1118 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1119
1120 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
1121 Fallback on completion-at-point rather than
1122 pcomplete-expand-and-complete, and only if pcomplete actually failed.
1123 (eshell-cmpl-initialize): Setup completion-at-point.
1124
1125 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
1126
1127 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
1128
1129 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
1130
1131 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
1132 are remote, check out-of-band property for both.
1133
1134 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1135
1136 * window.el (switch-to-buffer): Re-add the warning that was lost in the
1137 code rewrite.
1138
1139 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
1140
1141 More minor time fixes.
1142 * calendar/time-date.el: Commentary fix.
1143 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
1144 too much other code depends on (0 0) time stamps.
1145 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
1146 Add a couple of FIXME comments.
1147
1148 Minor cleanup for times as lists of four integers.
1149 * files.el (dir-locals-directory-cache):
1150 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
1151 Doc fixes.
1152 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
1153 * ps-bdf.el (bdf-file-newer-than-time):
1154 Process four-integers time stamps, not two. Doc fixes.
1155
1156 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
1157
1158 * uniquify.el (uniquify-managed): Use defvar-local.
1159 (rename-buffer, create-file-buffer): Advise with advice-add.
1160 (uniquify-unload-function): Unadvise accordingly.
1161
1162 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
1163 (trace-buffer): Don't purecopy.
1164 (trace-entry-message, trace-exit-message): Add `context' arg.
1165 (trace--timer): New var.
1166 (trace-make-advice): Adjust for use in nadvice.
1167 Add `context' argument. Delay `display-buffer' via a timer.
1168 (trace-function-internal): Use advice-add.
1169 (trace--read-args): New function.
1170 (trace-function-foreground, trace-function-background): Use it.
1171 (trace-function): Rename to trace-function-foreground and redefine as
1172 an alias to that new name.
1173 (untrace-function, untrace-all): Adjust to the use of nadvice.
1174
1175 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
1176
1177 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
1178
1179 * subr.el (called-interactively-p-functions): New var.
1180 (internal--called-interactively-p--get-frame): New macro.
1181 (called-interactively-p, interactive-p): Rewrite in Lisp.
1182 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
1183 (called-interactively-p-functions): Use it.
1184 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
1185 (called-interactively-p-functions): Use it.
1186 * allout.el (allout-called-interactively-p): Don't assume
1187 called-interactively-p is a subr.
1188
1189 2012-11-20 Glenn Morris <rgm@gnu.org>
1190
1191 * profiler.el (profiler-report-mode-map): Add a menu.
1192 No need to bind `q' because we derive from special-mode.
1193 (profiler-report-find-entry): Handle calls from the menu-bar.
1194
1195 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
1196
1197 * emacs-lisp/byte-run.el (defun-declarations-alist):
1198 Allow a compiler-macro to be a lambda expression.
1199
1200 * progmodes/python.el: Use cl-lib. Move var declarations outside of
1201 eval-when-compile.
1202 (python-syntax-context): Add compiler-macro.
1203 (python-font-lock-keywords): Simplify with De Morgan.
1204
1205 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
1206
1207 * files.el (load-file): Require match in minibuffer selection, as was
1208 the case in Emacs-20 before we changed the spec to allow .elc files
1209 (bug#12935).
1210
1211 * json.el: Don't require cl since we don't use it.
1212 * color.el: Don't require cl.
1213 (color-complement): `caddr' -> `nth 2'.
1214
1215 * calendar/time-date.el (time-to-seconds): De-obsolete.
1216
1217 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
1218
1219 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
1220 year numbers.
1221 (math-date-to-julian-dt): Adjust the initial approximation for the
1222 year to deal with the new definition of the DATE.
1223
1224 2012-11-19 Daniel Colascione <dancol@dancol.org>
1225
1226 * term/w32-win.el (cygwin-convert-path-from-windows):
1227 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
1228
1229 2012-11-18 Chong Yidong <cyd@gnu.org>
1230
1231 * filecache.el (file-cache--read-list): New function.
1232 (file-cache-add-directory-list, file-cache-add-file-list)
1233 (file-cache-delete-file-list, file-cache-delete-directory-list):
1234 Use it to read a list of files or directories (Bug#12846).
1235 (file-cache-add-file, file-cache-add-directory)
1236 (file-cache-delete-file-list, file-cache-delete-file-regexp)
1237 (file-cache-delete-directory): Print an message.
1238
1239 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
1240
1241 * calc/calc-forms.el (math-date-to-dt): Use integer date when
1242 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
1243
1244 2012-11-18 Glenn Morris <rgm@gnu.org>
1245
1246 * image.el (insert-image, insert-sliced-image): Doc fix.
1247
1248 2012-11-18 Chong Yidong <cyd@gnu.org>
1249
1250 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
1251 (Bug#12810).
1252
1253 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
1254
1255 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
1256 response when the target file is in a subdirectory (Bug#12757).
1257
1258 2012-11-18 Chong Yidong <cyd@gnu.org>
1259
1260 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
1261
1262 2012-11-18 Glenn Morris <rgm@gnu.org>
1263
1264 * emacs-lisp/cl-lib.el (face-underline-p):
1265 Use set-face-underline rather than the alias set-face-underline-p.
1266
1267 * window.el (with-temp-buffer-window): Doc fix.
1268 * subr.el (with-output-to-temp-buffer):
1269 Add doc xref to with-temp-buffer-window.
1270
1271 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
1272
1273 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
1274 * calc/calc.el (math-format-date-cache): Declare.
1275
1276 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
1277
1278 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
1279 It also uses January 1, 1 AD as its day number 1.
1280 * calc/calc-forms.el (math-julian-date-beginning)
1281 (math-julian-date-beginning-int): Implement this.
1282
1283 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
1284
1285 * descr-text.el (quail-find-key):
1286 * dired.el (desktop-file-name):
1287 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
1288 * generic-x.el (comint-mode, comint-exec):
1289 * image-dired.el (widget-forward):
1290 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
1291 (speedbar-change-expand-button-char)
1292 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
1293 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
1294 * printing.el (easy-menu-add-item, easy-menu-remove-item)
1295 (widget-field-action, widget-value-set):
1296 * speedbar.el (imenu--make-index-alist):
1297 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
1298 (ring-length, ring-insert):
1299 * vcursor.el (compare-windows-skip-whitespace):
1300 * woman.el (dired-get-filename):
1301 Declare functions.
1302
1303 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
1304
1305 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1306
1307 * calc/calc.el (calc-gregorian-switch): New variable.
1308
1309 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
1310 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
1311 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
1312 (math-leap-year-p): Add option to distinguish between Julian
1313 and Gregorian calendars.
1314 (math-day-number): Use `math-day-in-year' to do the computations.
1315 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
1316 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
1317 to do the computations.
1318 (math-date-to-dt): Use `math-date-to-julian-dt' and
1319 `math-date-to-gregorian-dt' to do the computations.
1320 (calcFunc-weekday, math-format-date-part): Use the new version of
1321 the DATE to determine the weekday.
1322 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
1323 when necessary.
1324
1325 2012-11-17 Eli Zaretskii <eliz@gnu.org>
1326
1327 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
1328 Cygwin; otherwise use 'file:'. (Bug#12914)
1329 (cygwin-convert-path-from-windows): Declare, to avoid
1330 byte-compiler warnings.
1331
1332 2012-11-17 Andreas Politz <politza@fh-trier.de>
1333
1334 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
1335 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
1336 prefix and negative numeric prefix args (Bug#12795).
1337
1338 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
1339
1340 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
1341 Don't signal an error with a score that is too low to add to the
1342 list of top scores. (Bug#12779)
1343
1344 2012-11-17 Chong Yidong <cyd@gnu.org>
1345
1346 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
1347
1348 * filecache.el (file-cache-add-file): Handle relative file name in
1349 the argument (Bug#12694).
1350
1351 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
1352
1353 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
1354
1355 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
1356
1357 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
1358
1359 * emacs-lisp/cl-lib.el: Set more meaningful version number.
1360
1361 2012-11-16 Martin Rudalics <rudalics@gmx.at>
1362
1363 * window.el (enlarge-window, shrink-window): Don't mention return
1364 value in doc-string (Bug#12896).
1365 (window--display-buffer): Don't resize frames - it won't work
1366 with all window managers and defeat pop-up-frame-alist.
1367 (display-buffer-alist): In doc-string explain that CONDITION can
1368 be a function and which arguments are passed to it (Bug#12854).
1369 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
1370 expressions (Bug#12854).
1371 (display-buffer): Pass ACTION argument to
1372 display-buffer-assq-regexp.
1373
1374 2012-11-16 Glenn Morris <rgm@gnu.org>
1375
1376 * window.el (fit-frame-to-buffer-bottom-margin)
1377 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
1378
1379 * faces.el (face-underline-p): Use face-attribute-specified-or.
1380
1381 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
1382
1383 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
1384
1385 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
1386
1387 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
1388
1389 2012-11-16 Glenn Morris <rgm@gnu.org>
1390
1391 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
1392 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
1393
1394 * faces.el (face-underline-p): Doc fix. Handle :underline being
1395 things other than `t' (a string, a list).
1396 (face-inverse-video-p): Doc fix.
1397 (set-face-underline): Rename it back from set-face-underline-p.
1398 Doc fix. Allow interactive input of values other than t.
1399 (read-face-attribute): Apply formatting to :underline,
1400 since like :box and :stipple it can take list values.
1401
1402 * term.el (ansi-term): Don't let C-x escape-char binding
1403 clobber the more standard C-c binding. (Bug#12842)
1404
1405 * subr.el (set-temporary-overlay-map): Doc fix.
1406
1407 2012-11-16 Martin Rudalics <rudalics@gmx.at>
1408
1409 * window.el (record-window-buffer)
1410 (display-buffer-record-window): When copying the markers to
1411 window-point preserve window-point-insertion-type. (Bug#12588)
1412
1413 2012-11-16 Glenn Morris <rgm@gnu.org>
1414
1415 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
1416 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
1417 Use new names for hooks rather than obsolete aliases.
1418
1419 2012-11-15 Daniel Colascione <dancol@dancol.org>
1420
1421 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
1422 prefix instead of "file:" so that when FILE-NAME begins with "//",
1423 as it does when the target file is on a network share, url-handler
1424 isn't confused.
1425
1426 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1427
1428 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
1429 a preactivated advice from an old advice.el; they're not compatible!
1430
1431 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
1432
1433 * emacs-lisp/nadvice.el (advice--make-interactive-form):
1434 Fix string-spec case.
1435
1436 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
1437
1438 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1439
1440 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
1441 (advice--buffer-local-function-sample): New var.
1442 (advice--set-buffer-local, advice--buffer-local): New functions.
1443 (add-function, remove-function): Use them.
1444
1445 2012-11-15 Drew Adams <drew.adams@oracle.com>
1446
1447 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
1448
1449 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1450
1451 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
1452 potential binding of print-gensym to t, and prettify (back)quotes in
1453 case they appear in args's default values (bug#12884).
1454
1455 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1456
1457 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
1458 (advice-eval-interactive-spec): New function.
1459 (advice--make-interactive-form): Support around advice (bug#12844).
1460
1461 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
1462
1463 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
1464 more strict. Add docstring.
1465 (ruby-expression-expansion-re): Extract from
1466 `ruby-match-expression-expansion'.
1467 (ruby-syntax-propertize-function): After everything else, search
1468 for expansions in string literals, mark their insides as
1469 whitespace syntax and save match data for font-lock.
1470 (ruby-font-lock-keywords): Use the 2nd group from expression
1471 expansion matches.
1472 (ruby-match-expression-expansion): Use the match data saved to the
1473 text property in ruby-syntax-propertize-function.
1474
1475 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1476
1477 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
1478 (bug#12879).
1479
1480 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
1481
1482 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
1483 start/end keyword a bit harder. Works with different values of N.
1484 Add more comments.
1485 (ruby-end-of-block): Update accordingly.
1486
1487 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
1488
1489 * woman.el (woman-file-name): Don't mess with unread-command-events
1490 (bug#12861).
1491
1492 * emacs-lisp/advice.el: Layer on top of nadvice.el.
1493 Remove out of date self-require hack.
1494 (ad-do-advised-functions): Use simple `dolist'.
1495 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
1496 (ad-advice-definition): Redefine as functions.
1497 (ad-advice-classes): Move before first use.
1498 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
1499 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
1500 (ad--defalias-fset): Remove functions.
1501 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
1502 (ad-get-orig-definition): Rewrite.
1503 (ad-make-advised-definition-docstring): Change base docstring.
1504 (ad-real-orig-definition): Rewrite.
1505 (ad-map-arglists): Change name of called function.
1506 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
1507 (ad-make-advised-definition): Simplify.
1508 (ad-assemble-advised-definition): Tweak for new calling context.
1509 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
1510 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
1511 function and call ad-activate if needed.
1512 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
1513 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
1514 (ad-compile-function): Compile ad-Advice-*.
1515 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
1516 (ad-start-advice, ad-stop-advice): Remove.
1517
1518 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
1519
1520 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
1521 period before class method names, not after. Remove handling of
1522 one impossible case. Add comments.
1523
1524 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
1525
1526 * emacs-lisp/advice.el: Remove support for freezing.
1527 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
1528 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
1529 Remove support for `freeze'.
1530
1531 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
1532 override the default.
1533 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
1534 cl--dotimes/dolist.
1535 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
1536 `cl' is loaded.
1537
1538 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
1539 from add-advice.
1540 (advice--strip-macro): New function.
1541 (advice--defalias-fset): Use them to handle macros.
1542 (advice-add): Use them.
1543 (advice-member-p): Correctly handle macros.
1544
1545 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
1546
1547 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1548 Never font-lock the beginning of singleton class as heredoc.
1549
1550 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
1551
1552 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
1553
1554 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
1555
1556 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
1557 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
1558 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
1559
1560 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
1561
1562 Fix end-of-defun misbehavior.
1563 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
1564 python-beginning-of-defun-function. Handle nested defuns
1565 correctly.
1566 (python-nav-end-of-defun): Rename from
1567 python-end-of-defun-function. Ensure forward movement.
1568 (python-info-current-defun): Reimplement to work as intended
1569 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
1570 parent defuns as soon as possible.
1571
1572 2012-11-13 Glenn Morris <rgm@gnu.org>
1573
1574 * progmodes/flymake.el (flymake-error-bitmap)
1575 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
1576 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
1577
1578 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
1579
1580 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
1581 backward, always stop at indentation. Reverts the change from
1582 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
1583
1584 2012-11-13 Glenn Morris <rgm@gnu.org>
1585
1586 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
1587 Add ibuffer-filter-by-derived-mode.
1588
1589 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
1590 the same name shadowing each other.
1591
1592 * window.el (with-temp-buffer-window): Doc tweak.
1593
1594 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
1595
1596 * help.el (temp-buffer-max-height):
1597 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
1598 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
1599
1600 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
1601
1602 * emacs-lisp/nadvice.el: New package.
1603 * subr.el (special-form-p): New function.
1604 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
1605 (elp-all-instrumented-list): Remove var.
1606 (elp-not-profilable): Remove elp-wrapper.
1607 (elp-profilable-p): Use autoloadp and special-form-p.
1608 (elp--advice-name): New const.
1609 (elp-instrument-function): Use advice-add.
1610 (elp--instrumented-p): New predicate.
1611 (elp-restore-function): Use advice-remove.
1612 (elp-restore-all, elp-reset-all): Use mapatoms.
1613 (elp-set-master): Use elp--instrumented-p.
1614 (elp--make-wrapper): Rename from elp-wrapper, return a function
1615 suitable for advice-add. Use cl-inf.
1616 (elp-results): Use mapatoms+elp--instrumented-p.
1617 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
1618 (debug-function-list): Remove var.
1619 (debug): Rename arg, and then let-bind it explicitly inside.
1620 (debugger-setup-buffer): Rename arg.
1621 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
1622 (debugger-frame-number): Adjust to new debug-on-entry setup.
1623 (debug--implement-debug-on-entry): Rename from
1624 implement-debug-on-entry, add argument.
1625 (debugger-special-form-p): Remove, use special-form-p instead.
1626 (debug-on-entry): Use advice-add.
1627 (debug--function-list): New function.
1628 (cancel-debug-on-entry): Use it, along with advice-remove.
1629 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
1630 (debugger-list-functions): Use debug--function-list instead of
1631 debug-function-list.
1632 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
1633 (ad-special-form-p): Remove, use special-form-p instead.
1634 (ad-set-advice-info): Use add-function and remove-function.
1635 (ad--defalias-fset): Adjust accordingly.
1636
1637 2012-11-10 Glenn Morris <rgm@gnu.org>
1638
1639 * mail/emacsbug.el (report-emacs-bug-tracker-url)
1640 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
1641 (report-emacs-bug-create-existing-bugs-buffer)
1642 (report-emacs-bug-parse-query-results)
1643 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
1644
1645 * term.el (term-default-fg-color, term-default-bg-color):
1646 Make obsolete, rather than just saying "deprecated" in the doc.
1647
1648 * term.el (term): Rename from `term-face'.
1649 (term-current-face, ansi-term-color-vector)
1650 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
1651 Update all users.
1652
1653 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
1654
1655 * server.el (server-create-window-system-frame): Handle Nextstep
1656 specially (Bug#12780).
1657
1658 2012-11-10 Glenn Morris <rgm@gnu.org>
1659
1660 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
1661 Unautoload, and make obsolete. (Bug#7449)
1662
1663 2012-11-10 Chong Yidong <cyd@gnu.org>
1664
1665 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
1666 rename from diff-remove-trailing-whitespace (Bug#12831).
1667
1668 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
1669
1670 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
1671 miscompilation of trace.el.
1672
1673 2012-11-10 Glenn Morris <rgm@gnu.org>
1674
1675 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
1676
1677 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
1678
1679 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
1680 (bug#12812).
1681
1682 2012-11-10 Chong Yidong <cyd@gnu.org>
1683
1684 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
1685 a defcustom with an appropriate :set function.
1686 (minibuffer-default--in-prompt-regexps): New function.
1687
1688 2012-11-10 Glenn Morris <rgm@gnu.org>
1689
1690 * emacs-lisp/cl.el (define-setf-expander, defsetf)
1691 (define-modify-macro): Doc fixes.
1692
1693 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
1694 (gv-define-simple-setter): Update doc of `fix-return'.
1695
1696 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
1697
1698 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
1699 twice when `fix-return' is set (bug#12813).
1700
1701 * emacs-lisp/cl.el (defsetf): Pass the third arg to
1702 gv-define-simple-setter (bug#12812).
1703
1704 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
1705 (bug#12756).
1706
1707 2012-11-10 Glenn Morris <rgm@gnu.org>
1708
1709 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
1710
1711 * emacs-lisp/cl-extra.el (cl-prettyexpand):
1712 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
1713 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
1714 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
1715
1716 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
1717
1718 2012-11-10 Leo Liu <sdl.web@gmail.com>
1719
1720 * ido.el (ido-set-matches-1): Improve flex matching performance by
1721 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
1722
1723 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1724
1725 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
1726 (ad--defalias-fset): New function.
1727 (ad-safe-fset): Remove.
1728 (ad-make-freeze-definition): Use cl-letf*.
1729
1730 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1731
1732 * subr.el (dolist): Don't bind VAR in RESULT.
1733
1734 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
1735 (fset, documentation): Don't save real def since we don't advise.
1736 (ad-do-advised-functions): Remove problematic `result-form'.
1737 (ad-safe-fset): `ad-real-fset' => `fset'.
1738 (ad-read-advised-function): Don't assume that ad-do-advised-functions
1739 uses CL's dolist internally.
1740 (ad-arglist): Remove unused arg `name'.
1741 (ad-docstring, ad-make-advised-docstring):
1742 `ad-real-documentation' => `documentation'.
1743 (warning-suppress-types): Declare.
1744 (ad-set-arguments): Simple CSE.
1745 (ad-recover-normality): Sanity check.
1746
1747 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
1748 (funcall '(lambda ..) ..) into ((lambda ..) ..).
1749
1750 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
1751
1752 * ses.el: symbol to coordinate mapping is made by symbol property
1753 `ses-cell'. This means that the same mapping is done for all SES
1754 sheets. That is good enough for cells with standard A1 names, but
1755 not for named cell. So a hash map is added for the latter.
1756 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
1757 (ses-sym-rowcol): Use hashmap for named cell.
1758 (ses-is-cell-sym-p): New defun.
1759 (ses-decode-cell-symbol): New defun.
1760 (ses-create-cell-variable): Add cell to hashmap when name is not
1761 A1-like.
1762 (ses-rename-cell): Check that cell new name is not already in
1763 spreadsheet with the use of ses-is-cell-sym-p
1764 (ses-rename-cell): Use hash map for named cells, but accept also
1765 renaming back to A1-like.
1766
1767 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1768
1769 * emacs-lisp/advice.el: Use new dynamic docstrings.
1770 (ad-make-advised-definition-docstring, ad-advised-definition-p):
1771 Use dynamic-docstring-function instead of ad-advice-info.
1772 (ad--make-advised-docstring): New function extracted from
1773 ad-make-advised-docstring.
1774 (ad-make-advised-docstring): Use it.
1775 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
1776 from sql-help.
1777 (sql-help): Use it with dynamic-docstring-function.
1778
1779 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
1780
1781 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1782
1783 * files.el (hack-one-local-variable--obsolete): New function.
1784 (hack-one-local-variable): Use it for obsolete settings.
1785
1786 * subr.el (locate-user-emacs-file): If both old and new name exist, use
1787 the new name.
1788
1789 * progmodes/js.el (js--filling-paragraph): New var.
1790 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
1791 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
1792 less sneaky.
1793
1794 2012-11-08 Julien Danjou <julien@danjou.info>
1795
1796 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
1797 `auto-mode-alist' (Bug#12835).
1798
1799 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1800
1801 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
1802 (perl--prettify-symbols-alist): New const.
1803 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
1804 New functions.
1805 (perl-font-lock-keywords-2): Use them.
1806 (perl-electric-noindent-p): New function.
1807 (perl-mode): Use it to set up electric-indent-mode.
1808 (perl-electric-terminator, perl-indent-command): Mark obsolete.
1809 (perl-mode-map): Remove bindings for them.
1810 (perl-imenu-generic-expression, perl-outline-level):
1811 Match functions&packages in column>0.
1812
1813 * env.el (env--substitute-vars-regexp): New const.
1814 (substitute-env-vars): Use it. Add `only-defined' arg.
1815 * net/tramp.el (tramp-replace-environment-variables): Use it.
1816
1817 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
1818 Byte-compile *before* eval in eval-and-compile.
1819 (byte-compile-log-warning): Remove redundant inhibit-read-only.
1820 (byte-compile-file-form-autoload): Don't hide actual definition.
1821 (byte-compile-maybe-guarded): Accept `functionp' as well.
1822
1823 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
1824
1825 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
1826
1827 * notifications.el (notifications-get-server-information-method):
1828 New defconst.
1829 (notifications-get-capabilities): Fix docstring.
1830 (notifications-get-server-information): New defun.
1831
1832 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1833
1834 * textmodes/ispell.el (ispell-region): Standard re-indent for better
1835 readability.
1836
1837 * textmodes/ispell.el: Experimental support for support debugging.
1838 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
1839 buffer for ispell.
1840 (ispell-print-if-debug): New function to print stuff to
1841 `ispell-debug-buffer' if debugging is enabled.
1842 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
1843 show some debugging info.
1844 (ispell-buffer-with-debug): New function that creates a debugging
1845 buffer and calls `ispell-buffer' with debugging enabled.
1846
1847 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
1848 comment in autoconf mode. (Bug#12768)
1849
1850 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
1851
1852 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
1853 frame-first-window, frame-root-window, frame-selected-window,
1854 minibuffer-selected-window, minibuffer-window,
1855 window-absolute-pixel-edges, window-at, window-body-height,
1856 window-body-width, window-display-table, window-combination-limit,
1857 window-frame, window-fringes, window-inside-absolute-pixel-edges,
1858 window-inside-edges, window-inside-pixel-edges, window-left-child,
1859 window-left-column, window-margins, window-next-buffers,
1860 window-next-sibling, window-new-normal, window-new-total,
1861 window-normal-size, window-parameter, window-parameters, window-parent,
1862 window-pixel-edges, window-point, window-prev-buffers,
1863 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
1864 window-start, window-text-height, window-top-child, window-top-line,
1865 window-total-height, window-total-width and window-use-time to the list
1866 of functions without side-effects.
1867 (toplevel): Add window-valid-p to the list of error-free functions
1868 without side-effects.
1869
1870 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1871
1872 * textmodes/ispell.el (ispell-program-name):
1873 Update spellchecker parameters when customized.
1874
1875 2012-11-04 Glenn Morris <rgm@gnu.org>
1876
1877 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
1878
1879 2012-11-04 Chong Yidong <cyd@gnu.org>
1880
1881 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
1882 same-window-* variables.
1883
1884 2012-11-04 Juri Linkov <juri@jurta.org>
1885
1886 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
1887 (isearch-describe-key, isearch-describe-mode): Use a display
1888 action instead of binding same-window-* variables (Bug#10040).
1889
1890 2012-11-03 Glenn Morris <rgm@gnu.org>
1891
1892 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
1893 Rename handler properties back from cl-- to cl-. (Bug#12788)
1894
1895 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
1896
1897 2012-11-03 Eli Zaretskii <eliz@gnu.org>
1898
1899 * term/pc-win.el: Don't load term/internal from here.
1900
1901 * loadup.el: Load term/internal from here.
1902
1903 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
1904
1905 * progmodes/python.el (inferior-python-mode): Fix hang in
1906 jit-lock (Bug#12645).
1907
1908 2012-11-03 Martin Rudalics <rudalics@gmx.at>
1909
1910 * window.el (switch-to-visible-buffer)
1911 (switch-to-buffer-preserve-window-point): Fix doc-strings.
1912
1913 2012-11-03 Glenn Morris <rgm@gnu.org>
1914
1915 * emacs-lisp/cl-lib.el (cl--random-time):
1916 Rename from cl-random-time. (Bug#12773)
1917 (cl--gensym-counter, cl--random-state): Update callers.
1918 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
1919
1920 2012-11-03 Chong Yidong <cyd@gnu.org>
1921
1922 * cus-start.el: Make cursor-type customizable (Bug#11633).
1923
1924 2012-11-02 Glenn Morris <rgm@gnu.org>
1925
1926 * filecache.el: No need to load find-lisp when compiling.
1927 (find-lisp-find-files): Autoload it.
1928 (file-cache-add-directory-recursively): Don't require find-lisp.
1929
1930 * image.el (image-type-from-file-name): Trivial simplification.
1931
1932 * emacs-lisp/bytecomp.el (byte-compile-eval):
1933 Decouple "noruntime" and "cl-functions" warnings.
1934
1935 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
1936
1937 * play/gomoku.el (gomoku-display-statistics): Update mode line
1938 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
1939
1940 2012-10-31 Martin Rudalics <rudalics@gmx.at>
1941
1942 * window.el (quit-restore-window): If the window has been
1943 created on an existing frame and ended up as the sole window on
1944 that frame, do not delete it (Bug#12764).
1945
1946 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
1947
1948 * progmodes/sh-script.el (sh--inside-noncommand-expression):
1949 Rename from sh--inside-arithmetic-expression, handle more cases
1950 (bug#11263).
1951
1952 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
1953 (sh-font-lock-open-heredoc): Use it (bug#12770).
1954
1955 2012-10-30 Glenn Morris <rgm@gnu.org>
1956
1957 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
1958
1959 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
1960
1961 2012-10-29 Chong Yidong <cyd@gnu.org>
1962
1963 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
1964 function key is stored in a keyboard macro (Bug#4894).
1965
1966 * thingatpt.el (number-at-point): Apply a thing-at-point property.
1967
1968 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1969
1970 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
1971 header comments".
1972 (diff-unified->context, diff-context->unified)
1973 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
1974
1975 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
1976
1977 * files.el (find-alternate-file): Only ask one question (bug#12487).
1978
1979 2012-10-29 Chong Yidong <cyd@gnu.org>
1980
1981 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
1982 Suggested by Dan Nicolaescu (Bug#6326).
1983
1984 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
1985
1986 * startup.el (fancy-about-screen): Don't message (Bug#12680).
1987
1988 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
1989
1990 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
1991
1992 * face-remap.el (face-remap-add-relative): Handle the case where a
1993 face-remapping-alist entry is a cons cell (Bug#12762).
1994
1995 2012-10-29 Kevin Ryde <user42@zip.com.au>
1996
1997 * woman.el (woman-parse-numeric-value): Handle picas correctly
1998 (Bug#12639).
1999
2000 2012-10-29 Glenn Morris <rgm@gnu.org>
2001
2002 * emacs-lisp/cl.el (defsetf): Doc fix.
2003
2004 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2005
2006 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
2007 syntax to the matching opener, if any (bug#12547).
2008 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
2009 matching open as a "case-(".
2010 (sh-smie-rc-grammar): Add a corresponding rule for it.
2011
2012 2012-10-28 Daniel Hackney <dan@haxney.org>
2013
2014 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
2015 "PKGNAME-autoloads.el" in case we created it.
2016
2017 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2018
2019 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
2020 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
2021 (completion--twq-all): Disable too-strict assertions.
2022
2023 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
2024
2025 2012-10-27 Eli Zaretskii <eliz@gnu.org>
2026
2027 * profiler.el (profiler-report-make-entry-part): Fix help-echo
2028 text to match the real keybindings.
2029
2030 2012-10-27 Juri Linkov <juri@jurta.org>
2031
2032 * wdired.el (wdired-keep-marker-rename): New defcustom.
2033 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
2034 (Bug#11795)
2035
2036 * dired.el (dired-keep-marker-rename): Add reference to
2037 `wdired-keep-marker-rename' in the docstring.
2038 Add default character value ?R to display initially in
2039 Customization UI instead of ?@.
2040
2041 2012-10-27 Martin Rudalics <rudalics@gmx.at>
2042
2043 * window.el (display-buffer): In doc-string describe
2044 window-height and window-width alist entries.
2045
2046 * time.el (display-time-world): Restore fit-window-to-buffer
2047 behavior.
2048
2049 2012-10-27 Chong Yidong <cyd@gnu.org>
2050
2051 * subr.el (insert-buffer-substring-as-yank): Doc fix.
2052
2053 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
2054
2055 * minibuffer.el (completion-category-overrides): New completion
2056 category `bookmark' (bug#11131).
2057
2058 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
2059
2060 * emacs-lisp/advice.el (ad-assemble-advised-definition):
2061 Silence bogus compiler warnings for ad-do-it.
2062
2063 * bookmark.el (bookmark-completing-read): Set the completion category
2064 to `bookmark' (bug#11131).
2065
2066 2012-10-26 Bastien <bzg@altern.org>
2067 Stefan Monnier <monnier@iro.umontreal.ca>
2068
2069 * face-remap.el: Use lexical-binding.
2070 (text-scale-adjust): Improve docstring. Use itself for the temporary
2071 overlay-map bindings, so as to repeat the "Use..." message each time.
2072
2073 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
2074
2075 * emacs-lisp/macroexp.el (macroexp--expand-all):
2076 Obey byte-compile-warning-enabled-p (bug#12486).
2077
2078 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
2079 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
2080
2081 2012-10-26 Martin Rudalics <rudalics@gmx.at>
2082
2083 * mouse.el (mouse-drag-line): Move last form into preceding when
2084 clause (Bug#12731).
2085
2086 * help.el (resize-temp-buffer-window): Fix doc-string.
2087
2088 2012-10-25 David Engster <deng@randomsample.de>
2089
2090 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
2091 Remove. This feature is already integrated in imenu.
2092
2093 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
2094 always loaded. Require `speedbar' unconditionally.
2095
2096 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2097
2098 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
2099
2100 * minibuffer.el (minibuffer-force-complete): Fix thinko.
2101
2102 * net/ldap.el (ldap-search-internal): The official ldif format starts
2103 with a "version: 1" header (bug#12724).
2104
2105 * emacs-lisp/package.el (package-installed-p): Warn if not ready
2106 (bug#12721).
2107
2108 2012-10-25 Glenn Morris <rgm@gnu.org>
2109
2110 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
2111
2112 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2113
2114 * minibuffer.el (minibuffer-force-complete): Use one more marker
2115 for the temporary-overlay-map command (bug#12619).
2116
2117 2012-10-24 Chong Yidong <cyd@gnu.org>
2118
2119 * time.el (display-time-world-mode): Derive from special-mode.
2120 (display-time-world): Use display-buffer (Bug#12708).
2121 (display-time-world-mode-map): Variable deleted.
2122 (display-time-world-display): Wrap the final delete-char inside
2123 inhibit-read-only.
2124
2125 2012-10-24 Chong Yidong <cyd@gnu.org>
2126
2127 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
2128 Doc fix.
2129
2130 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
2131
2132 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2133
2134 * minibuffer.el (completion--all-sorted-completions-location): New var.
2135 (completion--cache-all-sorted-completions)
2136 (completion--flush-all-sorted-completions): Use it.
2137 (completion-in-region, completion-in-region--postch)
2138 (completion-at-point, completion-help-at-point): Use markers in
2139 completion-in-region--data (bug#12619).
2140
2141 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2142
2143 * progmodes/compile.el (compilation-start): Try to handle common
2144 quoting of `cd' argument (bug#12640).
2145
2146 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
2147 (bug#12671).
2148
2149 2012-10-23 Glenn Morris <rgm@gnu.org>
2150
2151 * progmodes/gud.el (gud-menu-map):
2152 Check gdb-active-process is bound. (Bug#12358)
2153
2154 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2155
2156 * repeat.el (repeat): Set real-this-command (bug#12232).
2157
2158 * htmlfontify.el (hfy-post-html-hook):
2159 * filesets.el (filesets-cache-fill-content-hook):
2160 * arc-mode.el (archive-extract-hook):
2161 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
2162 * net/rcirc.el (rcirc-sentinel-functions)
2163 (rcirc-receive-message-functions, rcirc-activity-functions)
2164 (rcirc-print-functions):
2165 * net/dbus.el (dbus-event-error-functions):
2166 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
2167 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
2168 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
2169 * term/sun.el (sun-raw-prefix-hooks):
2170 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
2171
2172 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
2173
2174 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2175 Set `tramp-chunksize' to 1. This improves the performance.
2176 (tramp-smb-wait-for-output): Add timeout to
2177 `tramp-accept-process-output' calls.
2178
2179 2012-10-23 Chong Yidong <cyd@gnu.org>
2180
2181 * faces.el (font-list-limit): Define as an obsolete variable.
2182
2183 * startup.el (command-line):
2184 * cus-start.el: Don't refer to font-list-limit.
2185
2186 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
2187
2188 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2189
2190 * subr.el (internal-temp-output-buffer-show): Rename from
2191 temp-output-buffer-show, since previously compiled files expect this name.
2192
2193 2012-10-23 Glenn Morris <rgm@gnu.org>
2194
2195 * image.el (image-type-from-file-name): If multiple types match,
2196 return the first one that is supported. (Bug#9045)
2197
2198 2012-10-22 Glenn Morris <rgm@gnu.org>
2199
2200 * image.el (imagemagick-enabled-types): Doc fix.
2201
2202 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
2203
2204 * progmodes/which-func.el (which-func-current): The hash-table may have
2205 an explicit nil (bug#12338).
2206
2207 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2208
2209 * electric.el (electric-pair-delete-selection-self-insert-function):
2210 Rename to electric-pair-will-use-region, return a boolean.
2211 (electric-pair-mode): Adjust accordingly. Don't require delsel.
2212
2213 * delsel.el (delete-selection-helper): Use a function instead of a hook.
2214 (delete-selection-pre-hook): Use use-region-p.
2215 (delete-selection-self-insert-function): Remove.
2216 (self-insert-command): Obey self-insert-uses-region-functions.
2217 (self-insert-iso): Revert to previous setting, since we don't actually
2218 know what that command does.
2219 (delete-selection-self-insert-hooks): Remove.
2220
2221 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
2222
2223 * delsel.el (delete-selection-helper): New function, extracted from
2224 delete-selection-pre-hook.
2225 (delete-selection-pre-hook): Use it.
2226 (delete-selection-self-insert-function): New function.
2227 (delete-selection-self-insert-hooks): New hook.
2228 (self-insert-command, self-insert-iso): Use it.
2229 * electric.el (electric-pair-syntax): New function, extracted from
2230 electric-pair-post-self-insert-function.
2231 (electric-pair-post-self-insert-function): Use it.
2232 (electric-pair-delete-selection-self-insert-function): New function.
2233 (electric-pair-mode): Require delsel and setup
2234 delete-selection-self-insert-hooks (bug#11520).
2235
2236 2012-10-20 Chong Yidong <cyd@gnu.org>
2237
2238 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
2239 no changes to show (Bug#12586).
2240
2241 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
2242 list explicitly (Bug#12571).
2243
2244 2012-10-20 Arne Jørgensen <arne@arnested.dk>
2245
2246 * progmodes/flymake.el (flymake-create-temp-inplace):
2247 Use file-truename.
2248
2249 2012-10-20 Eli Zaretskii <eliz@gnu.org>
2250
2251 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
2252
2253 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
2254
2255 * calc/calc-units.el (math-extract-units): Properly extract powers
2256 of units.
2257
2258 2012-10-20 Daniel Colascione <dancol@dancol.org>
2259
2260 * frame.el (make-frame): Set x-display-name as we used to in order
2261 to unbreak creating an X11 frame from an Emacs daemon started
2262 without a display.
2263
2264 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2265
2266 * minibuffer.el (minibuffer-force-complete): Make the next completion use
2267 the same completion-field (bug#12221).
2268
2269 2012-10-19 Martin Rudalics <rudalics@gmx.at>
2270
2271 * emacs-lisp/debug.el (debug): Record height of debugger window
2272 also when debugger will be back (Bug#8789).
2273
2274 2012-10-18 Chong Yidong <cyd@gnu.org>
2275
2276 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
2277 Convert to defcustom.
2278 (gdb-get-source-file): Don't bind pop-up-windows.
2279
2280 * progmodes/gud.el (gud-display-line): Don't specially re-use
2281 other frames for the gdb-mi case (Bug#12648).
2282
2283 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
2284
2285 * emacs-lisp/advice.el: Clean up commentary a bit.
2286 (ad-do-advised-functions, ad-with-originals): Use `declare'.
2287 (byte-code-function-p): Never redefine.
2288
2289 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
2290
2291 2012-10-18 Glenn Morris <rgm@gnu.org>
2292
2293 * dired.el (dired-sort-toggle): Some ls implementations only allow
2294 a single option string. (Bug#12666)
2295
2296 * minibuffer.el (completion-cycle-threshold): Doc fix.
2297
2298 2012-10-17 Kenichi Handa <handa@gnu.org>
2299
2300 * international/mule.el (set-keyboard-coding-system):
2301 Recover input meta mode when the new coding system doesn not use 8-bit.
2302 Supply TERMINAL arg to set-input-meta-mode.
2303
2304 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
2305
2306 * wdired.el (wdired-old-marks): New variable.
2307 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
2308 (wdired-do-renames): Move point with renamed file and don't lose
2309 mark status (Bug#11795).
2310
2311 2012-10-16 Juri Linkov <juri@jurta.org>
2312
2313 * replace.el (query-replace-help): Mention multi-buffer replacement
2314 keys in the Help message. (Bug#12655)
2315
2316 2012-10-15 Chong Yidong <cyd@gnu.org>
2317
2318 * emacs-lisp/byte-run.el (defsubst): Doc fix.
2319
2320 2012-10-14 Eli Zaretskii <eliz@gnu.org>
2321
2322 * window.el (display-buffer): Doc fix.
2323
2324 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2325 Adjust the msft regexp to the output of Studio 2010, and move msft
2326 before edg-1. See the discussion on emacs-devel,
2327 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
2328 for the details.
2329
2330 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
2331
2332 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
2333 (oset): Move uses of object-class-fast macro after its definition.
2334
2335 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
2336
2337 2012-10-13 Chong Yidong <cyd@gnu.org>
2338
2339 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
2340 enabled, re-enable it (Bug#11963).
2341
2342 2012-10-13 Martin Rudalics <rudalics@gmx.at>
2343
2344 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
2345 non-nil, restore window configuration (Bug#12623).
2346
2347 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2348
2349 * help-fns.el (describe-variable, describe-function-1):
2350 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
2351
2352 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
2353
2354 2012-10-12 Glenn Morris <rgm@gnu.org>
2355
2356 * mail/rmailsum.el (rmail-header-summary):
2357 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
2358
2359 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
2360
2361 * progmodes/python.el (python-mode-map):
2362 Replace subtitute-key-definition with proper command remapping.
2363 (python-nav--up-list): Fix behavior for blocks on the same level.
2364
2365 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2366
2367 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
2368
2369 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
2370 changes to the format of load-history.
2371
2372 * international/mule-cmds.el (read-char-by-name): Move let-binding of
2373 completion-ignore-case in case that var is buffer-local (bug#12615).
2374
2375 2012-10-11 Kenichi Handa <handa@gnu.org>
2376
2377 * international/eucjp-ms.el: Re-generated.
2378
2379 2012-10-10 Kenichi Handa <handa@gnu.org>
2380
2381 * select.el (xselect--encode-string): If a coding is specified for
2382 selection, and that is compatible with COMPOUND_TEXT, use it.
2383
2384 2012-10-10 Martin Rudalics <rudalics@gmx.at>
2385
2386 * window.el (switch-to-buffer-preserve-window-point): New option.
2387 (switch-to-buffer):
2388 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
2389
2390 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2391
2392 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
2393 Don't document nil as a useful value (bug#12583).
2394
2395 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
2396
2397 * net/tramp.el (tramp-debug-message):
2398 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
2399 (with-tramp-progress-reporter): Rename from
2400 `tramp-with-progress-reporter'.
2401 (with-tramp-file-property, with-tramp-connection-property):
2402 Move from tramp-cache.el, rename from `with-file-property' and
2403 `with-connection-property', respectively.
2404
2405 * net/tramp-cache.el: Remove `with-file-property' and
2406 `with-connection-property'.
2407
2408 * net/tramp.el:
2409 * net/tramp-gvfs.el:
2410 * net/tramp-sh.el:
2411 * net/tramp-smb.el: Adapt callees.
2412
2413 * net/trampver.el: Update release number.
2414
2415 2012-10-09 Glenn Morris <rgm@gnu.org>
2416
2417 * w32-fns.el (set-message-beep):
2418 * term/w32-win.el (set-message-beep): Update declarations.
2419
2420 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2421
2422 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
2423 (mode-line-widen, mode-line-input-method-map)
2424 (mode-line-coding-system-map, mode-line-remote)
2425 (mode-line-unbury-buffer, mode-line-bury-buffer)
2426 (mode-line-next-buffer, mode-line-previous-buffer):
2427 Replace save-selected-window+select-window => with-selected-window.
2428
2429 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
2430 * progmodes/cc-vars.el (bq-process): Remove, unused.
2431
2432 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
2433
2434 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
2435
2436 Implemented `backward-up-list'-like navigation.
2437 * progmodes/python.el (python-nav-up-list)
2438 (python-nav-backward-up-list): New functions.
2439 (python-mode-map): Define substitute key for backward-up-list to
2440 python-nav-backward-up-list.
2441
2442 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
2443
2444 * progmodes/python.el (python-fill-paragraph): Rename from
2445 python-fill-paragraph-function. Fixed fill-paragraph for
2446 decorators (Bug#12605).
2447
2448 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
2449
2450 * progmodes/python.el (python-shell-output-filter): Handle extra
2451 carriage return in OSX (Bug#12409).
2452
2453 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
2454
2455 Fix shell handling of unbalanced quotes and parens in output.
2456 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
2457 (python-syntax-propertize-function): Use it.
2458 (python-shell-output-syntax-table): New var.
2459 (inferior-python-mode): Prevent unbalanced parens/quotes from
2460 previous output mess with current input context.
2461
2462 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
2463
2464 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
2465 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
2466
2467 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
2468
2469 * ffap.el (ffap-replace-file-component): Support Tramp file name
2470 syntax, not only ange-ftp's one.
2471
2472 2012-10-08 Glenn Morris <rgm@gnu.org>
2473
2474 * cus-start.el (message-log-max): Set :version.
2475
2476 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
2477
2478 2012-10-08 Martin Rudalics <rudalics@gmx.at>
2479
2480 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
2481 the minibuffer window (Bug#10851).
2482
2483 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
2484
2485 Enhancements on forward-sexp movement.
2486 * progmodes/python.el (python-nav-beginning-of-statement)
2487 (python-nav-end-of-statement): Return point-marker.
2488 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
2489 (python-info-current-symbol)
2490 (python-info-statement-starts-block-p): Rename from
2491 python-info-beginning-of-block-p.
2492 (python-info-statement-ends-block-p): Rename from
2493 python-info-end-of-block-p.
2494 (python-info-beginning-of-statement-p)
2495 (python-info-end-of-statement-p)
2496 (python-info-beginning-of-block-p, python-info-end-of-block-p):
2497 New functions.
2498
2499 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2500
2501 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
2502 frame-selected-windows.
2503
2504 2012-10-08 Daniel Colascione <dancol@dancol.org>
2505
2506 * battery.el (battery-status-function): Check for
2507 w32-battery-status itself, not system-time windows-nt.
2508
2509 * frame.el: Require cl-lib.
2510 (display-format-alist): New variable mapping frame types to
2511 functions that initialize them.
2512 (window-system-for-display): New function: interprets
2513 display-format-alist.
2514 (make-frame-on-display): Remove existing display-selection logic
2515 and just forward to make-frame, which will now DTRT.
2516 (make-frame): Restructure to use window-system-for-display to
2517 figure out how to create a frame on a given display.
2518 (display-mouse-p): Look for frame-type w32, not a particular
2519 system-type.
2520
2521 * loadup.el: Load w32 lisp code when we have the w32 feature.
2522
2523 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
2524 system-type windows-nt.
2525
2526 * server.el (server-create-window-system-frame): Look for window
2527 type.
2528 (server-proces-filter): Only force a window system when windows-nt
2529 _and_ w32. Explain why.
2530
2531 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
2532 of window systems we configure for the mode.
2533
2534 * startup.el (command-line): Mark window system is initialized
2535 after we've done it.
2536
2537 * common-win.el (x-select-text): Look for w32, not windows-nt.
2538
2539 * ns-win.el: Require cl-lib. Add ourselves to
2540 display-format-alist.
2541 (ns-initialize-window-system): Assert we're not initialized twice.
2542
2543 * w32-win.el: Enable lexical binding; require cl-lib; add
2544 ourselves to display-format-alist.
2545 (w32-handle-dropped-file): Convert incoming dropped files from
2546 Windows paths to Cygwin ones before passing them on to the rest of
2547 Emacs.
2548 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
2549 (w32-initialize-window-system): Assert we're not initialized twice.
2550
2551 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
2552 (x-initialize-window-system): Assert we're not initialized twice.
2553
2554 * w32-common-fns.el: New File.
2555 (w32-version, w32-using-nt, w32-get-clipboard-data)
2556 (w32-set-clipboard-data, x-set-selection, x-get-selection)
2557 (w32-charset-info-alist, x-last-selected, text)
2558 (x-get-selection-value, x-selection-value): Move here.
2559
2560 * w32-fns.el: Require w32-common-fns.
2561 (w32-version, w32-using-nt, w32-get-clipboard-data)
2562 (w32-set-clipboard-data, x-set-selection, x-get-selection)
2563 (w32-charset-info-alist, x-last-selected, text)
2564 (x-get-selection-value, x-selection-value): Move to
2565 w32-common-fns.
2566
2567 * w32-vars.el:
2568 (w32-allow-system-shell, w32-system-shells): Define only in
2569 non-cygwin case.
2570
2571 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2572
2573 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
2574 (read-passwd): Remove a few more potential sources of leaks.
2575
2576 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
2577
2578 * progmodes/python.el (inferior-python-mode)
2579 (python-shell-make-comint): Fix initialization of local
2580 variables copied from parent buffer.
2581
2582 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
2583
2584 * term/ns-win.el (ns-read-file-name): Update declaration to match
2585 nsfns.m.
2586 (ns-respond-to-change-font): Change fontsize separatly so we are sure
2587 it is set when font is acted upon.
2588
2589 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
2590
2591 Enhancements to indentation.
2592 * progmodes/python.el (python-indent-context): Give priority to
2593 inside-string context. Make comments indentation markers.
2594 (python-indent-region): Do not mess with strings, unless it's the
2595 enclosing set of quotes.
2596
2597 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2598
2599 * window.el (internal--before-save-selected-window)
2600 (internal--after-save-selected-window): New functions extracted from
2601 save-selected-window. Make sure we return the `alist' we construct.
2602 (save-selected-window): Use them.
2603
2604 * textmodes/tex-mode.el (tex-recenter-output-buffer):
2605 Use with-selected-window.
2606
2607 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
2608 forms that define macros (bug#12593).
2609
2610 2012-10-07 Kenichi Handa <handa@gnu.org>
2611
2612 * international/mule-conf.el (compound-text-with-extensions):
2613 Add :mime-charset property as x-ctext.
2614
2615 2012-10-07 Stefan Merten <smerten@oekonux.de>
2616
2617 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
2618 (rst-indent-literal-normal, rst-indent-literal-minimized)
2619 (rst-indent-comment): Correct :version tag.
2620 (rst-official-cvs-rev): Correct version string.
2621
2622 2012-10-07 Glenn Morris <rgm@gnu.org>
2623
2624 * mail/rmailmm.el (rmail-mime-process-multipart):
2625 Do not confuse a multipart message with an epilogue
2626 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
2627
2628 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
2629
2630 Fix shell output retrieval and comint-prompt-regexp init.
2631 * progmodes/python.el (inferior-python-mode):
2632 (python-shell-make-comint): Fix initialization of
2633 comint-prompt-regexp from copied file local variables.
2634 (python-shell-fetched-lines): Remove var.
2635 (python-shell-output-filter-in-progress): Rename from
2636 python-shell-fetch-lines-in-progress.
2637 (python-shell-output-filter-buffer): Rename from
2638 python-shell-fetch-lines-string.
2639 (python-shell-fetch-lines-filter): Delete function.
2640 (python-shell-output-filter): New function.
2641 (python-shell-send-string-no-output): Use them.
2642
2643 2012-10-07 Glenn Morris <rgm@gnu.org>
2644
2645 * hi-lock.el (hi-lock-process-phrase):
2646 Try to make it less fragile. (Bug#7161)
2647
2648 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
2649
2650 2012-10-06 Glenn Morris <rgm@gnu.org>
2651
2652 * ehelp.el (electric-help-mode): Use help-mode rather than
2653 non-existent mode `help'.
2654 (electric-help-map): Use button-buffer-map. (Bug#10917)
2655
2656 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
2657 (reftex-create-bibtex-footer): Fix custom types.
2658
2659 * progmodes/sh-script.el (sh-indent-after-continuation):
2660 Add explicit :group.
2661
2662 * textmodes/rst.el (rst-preferred-decorations)
2663 (rst-shift-basic-offset): Clarify obsolescence versions.
2664
2665 * profiler.el (profiler): Add missing group :version tag.
2666 * avoid.el (mouse-avoidance-banish-position):
2667 * proced.el (proced-renice-command):
2668 * calc/calc.el (calc-ensure-consistent-units):
2669 * calendar/icalendar.el (icalendar-import-format-uid):
2670 * net/tramp.el (tramp-save-ad-hoc-proxies):
2671 * progmodes/bug-reference.el (bug-reference-bug-regexp):
2672 * progmodes/flymake.el (flymake-error-bitmap)
2673 (flymake-warning-bitmap, flymake-fringe-indicator-position):
2674 * progmodes/sh-script.el (sh-indent-after-continuation):
2675 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
2676 (verilog-before-save-font-hook, verilog-after-save-font-hook):
2677 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
2678 (vhdl-array-index-record-field-in-sensitivity-list)
2679 (vhdl-indent-comment-like-next-code-line):
2680 * textmodes/reftex-vars.el (reftex-ref-style-alist)
2681 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
2682 (reftex-cite-key-separator, reftex-create-bibtex-header)
2683 (reftex-create-bibtex-footer):
2684 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
2685 (rst-indent-literal-normal, rst-indent-literal-minimized)
2686 (rst-indent-comment): Add missing custom :version tags.
2687
2688 * calendar/timeclock.el (timeclock-modeline-display):
2689 Add missing obsolete alias for renamed user option.
2690
2691 * strokes.el (strokes-modeline-string):
2692 * emulation/crisp.el (crisp-mode-modeline-string):
2693 * eshell/esh-mode.el (eshell-status-in-modeline):
2694 Aliases to defcustoms must come before the defcustom.
2695
2696 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
2697 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
2698 (cal-tex-cursor-week-monday): Doc fixes.
2699 (cal-tex-cursor-week2-summary): Doc fix.
2700 Rename from cal-tex-cursor-week-at-a-glance.
2701
2702 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
2703 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
2704
2705 * calendar/calendar.el (calendar-mode-map):
2706 Add cal-tex-cursor-week2-summary.
2707
2708 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
2709
2710 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
2711
2712 * subr.el (read-passwd-map): New var.
2713 (read-passwd): Use `read-string' again.
2714 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
2715
2716 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
2717
2718 * register.el (append-to-register, prepend-to-register):
2719 Deactivate mark, as does `copy-to-register' (bug#12389).
2720
2721 2012-10-06 Chong Yidong <cyd@gnu.org>
2722
2723 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
2724
2725 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
2726
2727 * international/characters.el: Fix simple mistake ((car chars) ->
2728 elt), delete duplicated code.
2729
2730 2012-10-06 Glenn Morris <rgm@gnu.org>
2731
2732 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
2733
2734 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
2735
2736 * color.el (color-hsl-to-rgb): Fix incorrect results for
2737 small and large hue values. (Bug#12559)
2738
2739 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
2740
2741 Enhancements to docstring formatting when filling paragraphs.
2742 * progmodes/python.el (python-fill-docstring-style): Rename from
2743 python-fill-string-style. Added new style.
2744 (python-fill-string): Use new style. Better checks for
2745 docstrings.
2746
2747 2012-10-05 Glenn Morris <rgm@gnu.org>
2748
2749 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
2750
2751 * color.el (color-name-to-rgb, color-rgb-to-hex)
2752 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
2753 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
2754 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
2755 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
2756
2757 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
2758
2759 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
2760
2761 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
2762 to get the correct size across symlinks.
2763
2764 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
2765
2766 2012-10-04 Juri Linkov <juri@jurta.org>
2767
2768 * replace.el (query-replace-interactive): Declare obsolete.
2769 (query-replace-read-from): Add the last incremental search string
2770 to the list of default values accessible via M-n.
2771 (map-query-replace-regexp): Use `read-regexp'.
2772 (query-replace, query-replace-regexp, query-replace-regexp-eval)
2773 (map-query-replace-regexp, replace-string, replace-regexp):
2774 Fix docstrings to replace mentions of `query-replace-interactive'
2775 with alternatives. (Bug#12526)
2776
2777 2012-10-04 Juri Linkov <juri@jurta.org>
2778
2779 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
2780 (dired-pop-to-buffer): Declare obsolete.
2781 (dired-mark-pop-up): Doc fix.
2782
2783 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
2784
2785 Allow user to set docstring style for fill-paragraph.
2786 * progmodes/python.el
2787 (python-fill-comment-function, python-fill-string-function)
2788 (python-fill-decorator-function, python-fill-paren-function):
2789 Remove :safe for defcustoms.
2790 (python-fill-string-style): New defcustom
2791 (python-fill-paragraph-function): Enhance context detection.
2792 (python-fill-string): Honor python-fill-string-style settings.
2793
2794 2012-10-04 Martin Rudalics <rudalics@gmx.at>
2795
2796 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
2797 after setting its buffer (Bug#10805).
2798
2799 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
2800
2801 Fix cornercase for string syntax.
2802 * progmodes/python.el (python-syntax-propertize-function):
2803 Simplify and enhance the regexp for unescaped quotes. Now it also
2804 matches quotes in weird situations like the single quote in
2805 "something\"'".
2806 (python-syntax-stringify): Simplify num-quotes detecting code.
2807
2808 2012-10-03 Glenn Morris <rgm@gnu.org>
2809
2810 * help-macro.el (three-step-help):
2811 Revert 2012-09-29 change. (Bug#12567)
2812
2813 2012-10-03 Martin Rudalics <rudalics@gmx.at>
2814
2815 * menu-bar.el (kill-this-buffer): Don't do anything when
2816 `menu-frame' is not alive or visible (Bug#8184).
2817
2818 * emacs-lisp/debug.el (debug): When quitting the debugger window
2819 restore current buffer (Bug#12502).
2820
2821 2012-10-02 Chong Yidong <cyd@gnu.org>
2822
2823 * progmodes/hideif.el (hif-lookup, hif-defined):
2824 Handle semantic-c-takeover-hideif.
2825
2826 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
2827
2828 Change sampling interval units from ms to ns.
2829 * profiler.el (profiler-sampling-interval): Change units
2830 from ms to ns, multiplying the default by 1000000 so that
2831 it remains 1 ms.
2832 (profiler-report-cpu-line-format): Give enough room for
2833 the maximum counters on 64-bit hosts.
2834 (profiler-report-render-calltree-1): Call them "CPU samples",
2835 not "Time (ms)", since they are not milliseconds now (and
2836 never really were).
2837
2838 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
2839
2840 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
2841 Fix querying BBDB for entries without a last name (Bug#11580).
2842
2843 2012-10-02 Chong Yidong <cyd@gnu.org>
2844
2845 * emacs-lisp/eieio.el: Restore Version header.
2846
2847 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
2848
2849 * vc/diff-mode.el (diff--auto-refine-data): New var.
2850 (diff-hunk): Use it to delay refinement.
2851 (diff-mode): Remove overlays when we turn off font-lock.
2852
2853 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
2854 (table-initialize-table-fixed-width-mode)
2855 (table-set-table-fixed-width-mode): Remove functions.
2856 (table-command-list): Move initialization into declaration.
2857 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
2858 (table-with-cache-buffer): Use `declare'.
2859 (table-span-cell): Simplify via CSE.
2860 (table-fixed-width-mode): Use define-minor-mode.
2861 (table-call-interactively, table-funcall, table-apply): Remove.
2862 (table-function): New function, to replace them.
2863
2864 * bookmark.el (bookmark-search-pattern): Remove var.
2865 (bookmark-read-search-input): Remove function.
2866 (bookmark-bmenu-search): Reimplement using a minibuffer.
2867
2868 * faces.el (modeline): Remove obsolete face name.
2869
2870 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
2871 and give a non-nil default value.
2872 (add-change-log-entry): Simplify accordingly.
2873
2874 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
2875
2876 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
2877 (vc-git-log-edit-toggle-amend): New function.
2878 (vc-git-log-edit-toggle-signoff): New function.
2879 (vc-git-log-edit-mode): New major mode.
2880 (vc-git-log-edit-mode-map): Keymap for it.
2881 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
2882
2883 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
2884 header names.
2885 (log-edit-toggle-header): New function.
2886 (log-edit-extract-headers): Accept function values in HEADERS alist.
2887
2888 2012-10-01 David Engster <deng@randomsample.de>
2889
2890 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
2891 from symbol property and change message to be more consistent with
2892 Emacs proper.
2893 (eieio-describe-generic): Add filename for each implementation.
2894 Fix indices for generic and normal methods.
2895 (eieio-method-def, eieio-class-def): New buttons.
2896 (eieio-help-find-method-definition)
2897 (eieio-help-find-class-definition): New functions.
2898 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
2899 class, constructor and method definitions.
2900
2901 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
2902 information in symbol property.
2903 (scoped-class): Remove.
2904 (eieio-slot-name-index, call-next-method): Check if it is bound.
2905
2906 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
2907
2908 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
2909 (eieio-custom-mode): New major mode.
2910 (eieio-customize-object): Use it.
2911
2912 2012-10-01 Eric Ludlam <zappo@gnu.org>
2913
2914 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
2915 specifying the expected class, and whether subclassing is allowed.
2916 (eieio-persistent-convert-list-to-object):
2917 (eieio-persistent-validate/fix-slot-value)
2918 (eieio-persistent-slot-type-is-class-p): New functions.
2919 (eieio-named::slot-missing): Doc fix.
2920
2921 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
2922 Stop using unused publd variable.
2923
2924 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
2925 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
2926 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
2927 (eieio-speedbar-handle-click): Do not specify a class for the
2928 method. Fixes method invocation order problems with EDE.
2929
2930 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2931
2932 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
2933 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
2934
2935 2012-10-01 Karl Fogel <kfogel@red-bean.com>
2936
2937 * bookmark.el (bookmark-version-control): Give tags in the
2938 :type choices (Bug#12309), and improve doc string.
2939 (bookmark-write-file): Bind `print-circle' to `t' to allow
2940 circular custom bookmark types. (Bug#12503)
2941
2942 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
2943
2944 Revert the FOLLOW-SYMLINKS change for file-attributes.
2945 * files.el (remote-file-name-inhibit-cache, after-find-file):
2946 * time.el (display-time-file-nonempty-p): Undo last change.
2947
2948 * profiler.el (profiler-sampling-interval): Change default back to 1.
2949 See Stefan Monnier in
2950 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
2951
2952 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
2953
2954 Shell output catching a la gud-gdb.
2955 * progmodes/python.el (python-shell-fetch-lines-in-progress)
2956 (python-shell-fetch-lines-string, python-shell-fetched-lines):
2957 New Vars.
2958 (python-shell-fetch-lines-filter): New function.
2959 (python-shell-send-string-no-output): Use them.
2960
2961 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
2962
2963 * profiler.el (profiler-sampling-interval): Rename from
2964 profiler-sample-interval.
2965 (profiler-sampling-interval): Default to 10.
2966 (profiler-find-profile): New command (was profiler-find-log).
2967 (profiler-find-profile-other-window): New command.
2968 (profiler-find-profile-other-frame): New command.
2969 (profiler-profile): Introduce API-level data structure.
2970
2971 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
2972
2973 file-attributes has a new optional arg FOLLOW-SYMLINKS.
2974 * files.el (remote-file-name-inhibit-cache):
2975 * time.el (display-time-file-nonempty-p): Use it.
2976 * files.el (after-find-file): Don't chase links before calling
2977 file-exists-p, as file-exists-p already does the right thing.
2978
2979 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
2980
2981 Merge from standalone RefTeX repository.
2982
2983 The following ChangeLog entries are shortened versions of the
2984 original ones with file paths adapted. A not so strongly edited
2985 version of the original ChangeLog can be found in the commit log.
2986
2987 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
2988 (reftex-arg-cite): Use `reftex-cite-key-separator'.
2989 Correctly handle new value type returned by `reftex-citation'.
2990
2991 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
2992 that entries with whitespace at various places are found.
2993 Doc fix. Include entries that are cross-referenced from cited entries.
2994 Include @String definitions in the resulting bib file. Add header
2995 and footer defined in `reftex-create-bibtex-header' and
2996 `reftex-create-bibtex-footer'.
2997 (reftex-do-citation): Make it possible again to insert
2998 non-existent entries. Save match data when asking for optional
2999 arguments. Return all keys, not just the first one.
3000 (reftex-all-used-citation-keys): Fix regexp to correctly extract
3001 all citations in the same line.
3002 (reftex-parse-bibtex-entry): Accept additional optional argument
3003 `raw' and keep quotes or braces if it is non-nil. Match fields
3004 containing hyphens besides word constituents.
3005 (reftex-get-string-refs): New function.
3006 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
3007 and ask if it should be reread in case it did.
3008 (reftex-pop-to-bibtex-entry)
3009 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
3010 entries with spaces or tabs in front of arguments.
3011 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
3012 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
3013 Match entries containing numbers and symbol constituents.
3014 (reftex-do-citation, reftex-figure-out-cite-format):
3015 Use `reftex-cite-key-separator'.
3016
3017 * textmodes/reftex-dcr.el: Move provide statement to end of file.
3018 (reftex-mouse-view-crossref): Explain why point is set.
3019
3020 * textmodes/reftex-global.el: Whitespace changes.
3021
3022 * textmodes/reftex-index.el: Move provide statement to end of
3023 file.
3024 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
3025 (reftex-index-visit-phrases-buffer): Set marker when visiting
3026 buffer. This allows for returning from the phrases file to the
3027 file one was just editing instead of the file where the last
3028 phrases was added from.
3029 (reftex-index-phrases-syntax-table): New variable. Give ?\"
3030 punctuation syntax as it usually is not used as string quote in
3031 TeX-related modes and may occur unmatched. The change also
3032 prevents fontification of quoted content.
3033 (reftex-index-phrases-mode): Use it.
3034
3035 * textmodes/reftex-parse.el (reftex-parse-from-file):
3036 Move backward one char if a `\' was matched after a section macro.
3037 (reftex-parse-from-file): Use beginning of match instead of end as
3038 bound.
3039
3040 * textmodes/reftex-ref.el: Adapt creation of
3041 `reftex-<package>-<macro>' functions to new structure of
3042 `reftex-ref-style-alist'.
3043 (reftex-reference): Use `reftex-ref-style-list' function.
3044 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
3045 reference macro if `reftex-ref-macro-prompt' is non-nil.
3046 (reftex-reference): Pass refstyle to `reftex-format-special'.
3047 Determine reference macro by looking at
3048 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
3049 Use only one special format function.
3050 (reftex-varioref-vref, reftex-fancyref-fref)
3051 (reftex-fancyref-Fref): Remove definitions. The functions are now
3052 generated from `reftex-ref-style-alist'.
3053 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
3054 Remove.
3055 (reftex-format-special): New function.
3056
3057 * textmodes/reftex-sel.el
3058 (reftex-select-cycle-ref-style-internal): Adapt to new structure
3059 of `reftex-ref-style-alist'. Remove code for testing macro type.
3060 (reftex-select-toggle-varioref)
3061 (reftex-select-toggle-fancyref): Remove.
3062 (reftex-select-cycle-ref-style-internal)
3063 (reftex-select-cycle-ref-style-forward)
3064 (reftex-select-cycle-ref-style-backward): New functions.
3065 (reftex-select-label-map): Use `v' and `V' for general cycling
3066 through reference styles. Add `p' for switching between number
3067 and page reference types.
3068
3069 * textmodes/reftex-toc.el (reftex-re-enlarge):
3070 Call `enlarge-window' only if there is something to do because in Emacs
3071 the horizontal version throws an error even if the parameter is 0.
3072
3073 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
3074 (reftex-plug-into-AUCTeX): Doc fix.
3075 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
3076 string. Adapt to new name.
3077 (reftex-ref-style-alist): Change structure so that it is not
3078 possible to use multiple different package names within a style.
3079 Remove the symbols for symbols for macro type distinction.
3080 Add characters for macro selection.
3081 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
3082 (reftex-create-bibtex-footer): New variables.
3083 (reftex-format-ref-function): Mention third argument of special
3084 format function.
3085 (reftex-ref-style-alist, reftex-ref-style-default-list):
3086 New variables.
3087 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
3088 to new implementation. Mark as obsolete. Add compatibility code
3089 for honoring the variable values in case they are set.
3090 (reftex-cite-format-builtin, reftex-bibliography-commands):
3091 Add support for ConTeXt.
3092 (reftex-format-ref-function, reftex-format-cite-function):
3093 Fix custom type.
3094 (reftex-cite-key-separator): New variable.
3095
3096 * textmodes/reftex.el (reftex-syntax-table-for-bib)
3097 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
3098 `reftex-syntax-table' because parens have to retain their paren
3099 syntax in order for parsing of BibTeX entries like @book(...) to
3100 work.
3101 (reftex-in-comment): Do not error out if `comment-start-skip' is
3102 not set. Deal correctly with escaped comment characters.
3103 (reftex-tie-multifile-symbols): Add doc string.
3104 Initialize `reftex-ref-style-list'.
3105 (reftex-untie-multifile-symbols): Add doc string.
3106 (reftex-add-index-macros): Doc fix.
3107 (reftex-ref-style-activate, reftex-ref-style-toggle)
3108 (reftex-ref-style-list): New functions.
3109 (reftex-mode-menu): Use them. Adapt to new structure of
3110 `reftex-ref-style-alist'.
3111 (reftex-select-with-char): Kill the RefTeX Select buffer when
3112 done.
3113 (reftex-remove-if): New function.
3114 (reftex-erase-all-selection-and-index-buffers)
3115 (reftex-mode-menu): Reference styles are now computed from
3116 `reftex-ref-style-alist'. Fix typo.
3117 (reftex-report-bug): New function.
3118 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
3119 algorithms with O(n log n). Introduce optional argument SORT (not
3120 yet used).
3121
3122 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
3123
3124 Enhancements for triple-quote string syntax.
3125 * progmodes/python.el (python-syntax-propertize-function):
3126 Match both quote cases in one regexp.
3127 (python-syntax-stringify): Handle matches properly.
3128
3129 2012-09-30 Juri Linkov <juri@jurta.org>
3130
3131 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
3132 to nil around the call to `insert' to prevent
3133 directory time modification by lock_file. (Bug#2295)
3134 * tar-mode.el (tar-summarize-buffer): Idem.
3135
3136 2012-09-30 Juri Linkov <juri@jurta.org>
3137
3138 * facemenu.el (list-colors-sort): Add option "Luminance".
3139 (list-colors-sort-key): Implement it.
3140
3141 * vc/diff-mode.el (diff-refine-removed):
3142 * vc/ediff-init.el (ediff-fine-diff-A):
3143 * vc/smerge-mode.el (smerge-refined-removed):
3144 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
3145
3146 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
3147
3148 * term/ns-win.el (x-file-dialog): New function.
3149
3150 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
3151
3152 * ido.el (ido-max-directory-size): Default to nil; the current
3153 default is small for POSIX systems, and impractical on Windows 7
3154 now that lstat returns directory sizes for NTFS.
3155
3156 2012-09-30 Martin Rudalics <rudalics@gmx.at>
3157
3158 In buffer display functions handle window-height/window-width
3159 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
3160 * window.el (window--display-buffer): New argument ALIST.
3161 Obey window-height and window-width alist entries.
3162 (window--try-to-split-window): New argument ALIST.
3163 Bind window-combination-limit to t when the window's size shall be
3164 changed and window-combination-limit equals `window-size'.
3165 (display-buffer-in-atom-window)
3166 (display-buffer-in-major-side-window)
3167 (display-buffer-in-side-window, display-buffer-same-window)
3168 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3169 (display-buffer-pop-up-window, display-buffer-below-selected)
3170 (display-buffer-at-bottom, display-buffer-in-previous-window)
3171 (display-buffer-use-some-window): Adjust all callers of
3172 window--display-buffer and window--try-to-split-window.
3173 (fit-frame-to-buffer): New option.
3174 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
3175 is non-nil.
3176 (display-buffer-in-major-side-window): Evaluate window-height /
3177 window-width alist entries.
3178
3179 * help.el (temp-buffer-resize-frames)
3180 (temp-buffer-resize-regexps): Remove options.
3181 (temp-buffer-resize-mode): Adjust doc-string.
3182 (resize-temp-buffer-window): Don't consult
3183 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
3184 temp-buffer-resize-frames.
3185
3186 * dired.el (dired-mark-pop-up):
3187 Call display-buffer-below-selected with a fit-window-to-buffer alist
3188 entry.
3189
3190 2012-09-30 Chong Yidong <cyd@gnu.org>
3191
3192 * server.el (server-host): Document the security implications.
3193 (server-auth-key): Doc fix.
3194
3195 * startup.el (initial-buffer-choice): Doc fix.
3196
3197 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
3198
3199 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
3200 restriction change.
3201
3202 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
3203
3204 * help-fns.el (help-fns--obsolete): Fix last change.
3205
3206 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
3207
3208 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
3209 (minor-mode-map-alist): Remove redundant code.
3210
3211 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
3212 visited in a buffer.
3213 (cvs-insert-visited-file): New function.
3214 (find-file-hook): Use it.
3215
3216 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
3217
3218 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
3219 chose face.
3220 (log-edit-empty-buffer-p): Don't require a space after a header.
3221
3222 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
3223
3224 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
3225
3226 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
3227 a proper minor-mode.
3228
3229 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
3230
3231 2012-09-29 Glenn Morris <rgm@gnu.org>
3232
3233 * winner.el (winner-mode): Remove variable (let define-minor-mode
3234 handle it).
3235 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
3236 Doc fixes.
3237 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
3238 (winner-mode): Use define-minor-mode.
3239
3240 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
3241 the full definition in loaddefs, rather than duplicating it.
3242
3243 * help-macro.el (three-step-help): No need to autoload defcustom.
3244
3245 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
3246 (inferior-lisp-program, inferior-lisp-load-command)
3247 (inferior-lisp-prompt, inferior-lisp-mode-hook):
3248 No need to autoload defcustoms.
3249
3250 * hippie-exp.el (hippie-expand-try-functions-list)
3251 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
3252 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
3253 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
3254 (hippie-expand-only-buffers): No need to autoload defcustoms.
3255 * progmodes/vhdl-mode.el (vhdl-line-expand):
3256 Explicitly load hippie-exp, so it does not get autoloaded
3257 while hippie-expand-try-functions-list is let-bound.
3258
3259 2012-09-28 Glenn Morris <rgm@gnu.org>
3260
3261 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
3262
3263 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
3264 Only "cl.el" counts as cl these days.
3265
3266 2012-09-28 Juri Linkov <juri@jurta.org>
3267
3268 Display archive errors in the echo area instead of inserting
3269 to the file buffer.
3270
3271 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
3272 to STDERR-TEST that can be a regexp matching a successful output.
3273 Create a temporary file and redirect stderr to it. Search for
3274 STDERR-TEST in the stderr output and display it in the echo area
3275 if no match is found.
3276 (archive-extract-by-file): New function like
3277 `archive-extract-by-stdout' but extracting archives to files
3278 and looking for successful matches in stdout. Function body is
3279 mostly copied from `archive-rar-extract'.
3280 (archive-rar-extract): Use `archive-extract-by-file'.
3281 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
3282
3283 2012-09-28 Leo Liu <sdl.web@gmail.com>
3284
3285 * pcomplete.el (pcomplete-show-completions):
3286 Use minibuffer-message to make pcomplete usable in minibuffer.
3287
3288 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
3289
3290 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3291
3292 * type-break.el: Use lexical-binding.
3293 (type-break-mode): Use define-minor-mode.
3294
3295 * emacs-lisp/pcase.el (pcase--mark-used): New.
3296 (pcase--u1): Use it (bug#12512).
3297
3298 * custom.el (load-theme): Set buffer-file-name so the load is recorded
3299 in load-history with the right file name.
3300
3301 2012-09-28 Tassilo Horn <tsdh@gnu.org>
3302
3303 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
3304 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
3305 (doc-view-get-bounding-box): Make bounding box slicing work for
3306 ODF and DVI documents.
3307
3308 2012-09-28 Glenn Morris <rgm@gnu.org>
3309
3310 * type-break.el (type-break-mode, type-break-interval)
3311 (type-break-good-rest-interval, type-break-keystroke-threshold):
3312 No need to autoload.
3313 (type-break-good-rest-interval, type-break-keystroke-threshold):
3314 Add :set-after.
3315
3316 2012-09-28 Chong Yidong <cyd@gnu.org>
3317
3318 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
3319 Add :version tag.
3320
3321 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
3322
3323 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
3324
3325 2012-09-27 Glenn Morris <rgm@gnu.org>
3326
3327 * faces.el (x-display-name): Declare (for without-x builds).
3328
3329 * linum.el (linum-format): Don't autoload it. Improve :type.
3330
3331 * progmodes/tcl.el: Don't require outline when compiling.
3332 (outline-regexp, outline-level): Declare.
3333 * textmodes/sgml-mode.el: Don't require outline when compiling.
3334 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
3335
3336 * term.el (term-ansi-reset):
3337 Try setting term-ansi-face-already-done to nil. (Bug#11785)
3338
3339 * vc/vc.el (vc-next-action): Only gripe about committing read-only
3340 files for RCS and SCCS. (Bug#9781)
3341
3342 2012-09-27 Chong Yidong <cyd@gnu.org>
3343
3344 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
3345 change; value should be t.
3346
3347 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
3348
3349 * image-mode.el: Use lexical-binding.
3350 (image-mode-winprops): Use t to stand for the window of
3351 a buffer that's not displayed.
3352 * doc-view.el (doc-view-new-window-function): Handle the new
3353 t in winprops.
3354 (doc-view-enlarge): Make it a real nop if the size is not changed.
3355 (doc-view-display): Handle the case where the buffer is not (yet?)
3356 displayed in any window.
3357 (doc-view-saved-settings): New var.
3358 (doc-view-mode): Use it.
3359 (doc-view-fallback-mode): Set it.
3360
3361 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
3362 Set lexical-binding.
3363 (minibuffer-eldef-shorten-default): New var.
3364 (minibuffer-default-in-prompt-regexps): Use it for new default.
3365 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
3366
3367 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
3368
3369 * international/uni-bidi.el:
3370 * international/uni-category.el:
3371 * international/uni-name.el:
3372 * international/uni-numeric.el: Regenerate.
3373
3374 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
3375 Stefan Monnier <monnier@iro.umontreal.ca>
3376
3377 * profiler.el: New file.
3378
3379 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
3380
3381 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
3382 (testcover-reinstrument): Simplify with CSE.
3383
3384 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
3385
3386 * window.el (temp-buffer-window-setup): Fix typo in docstring.
3387
3388 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
3389
3390 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
3391 (verilog-auto-input, verilog-auto-insert-lisp)
3392 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
3393 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
3394 (verilog-auto-unused, verilog-auto-wire)
3395 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
3396 newline. Reported by Andrew Jones.
3397 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
3398 Reported by Brad Dobbie.
3399 (verilog-batch-delete-trailing-whitespace):
3400 Create verilog-batch-delete-trailing-whitespace.
3401 Reported by Brad Dobbie.
3402 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
3403 parameters from another module. Reported by Dan Katz.
3404 (verilog-auto, verilog-auto-assign-modport)
3405 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
3406 AUTOINOUTMODPORT for UVM interface module shell generation.
3407 Reported by Brad Dobbie.
3408 (verilog-auto-inst-interfaced-ports): Make default nil, as more
3409 standard behavior.
3410 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
3411 Reported by Matt Martin.
3412
3413 2012-09-25 Martin Rudalics <rudalics@gmx.at>
3414
3415 * window.el (window--resize-child-windows): When resizing child
3416 windows proportionally, process them in reverse order to
3417 preserve the "when splitting a window the new one gets the odd
3418 line" behavior.
3419 (window--resize-root-window-vertically): When resizing the
3420 minibuffer window try to affect only windows at the bottom of the
3421 frame. (Bug#12419)
3422
3423 2012-09-25 Chong Yidong <cyd@gnu.org>
3424
3425 * subr.el (declare): Doc fix.
3426
3427 * help-fns.el (help-fns--obsolete): Handle macros properly.
3428
3429 2012-09-25 Chong Yidong <cyd@gnu.org>
3430
3431 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
3432 this function obsolete.
3433
3434 * calendar/cal-x.el (calendar-two-frame-setup)
3435 (calendar-only-one-frame-setup, calendar-one-frame-setup):
3436 * calendar/calendar.el (american-calendar, european-calendar)
3437 (calendar-for-loop):
3438 * comint.el (comint-dynamic-simple-complete)
3439 (comint-dynamic-complete-as-filename, comint-unquote-filename):
3440 * desktop.el (desktop-load-default):
3441 * dired-x.el (dired-omit-here-always)
3442 (dired-hack-local-variables, dired-default-directory):
3443 * emacs-lisp/derived.el (derived-mode-class):
3444 * emacs-lisp/timer.el (timer-set-time-with-usecs):
3445 * emacs-lock.el (toggle-emacs-lock):
3446 * epa.el (epa-display-verify-result):
3447 * epg.el (epg-sign-keys, epg-start-sign-keys)
3448 (epg-passphrase-callback-function):
3449 * eshell/esh-util.el (eshell-for):
3450 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
3451 (eshell-add-to-window-buffer-names):
3452 * files.el (locate-file-completion):
3453 * imenu.el (imenu-example--create-c-index)
3454 (imenu-example--create-lisp-index)
3455 (imenu-example--lisp-extract-index-name)
3456 (imenu-example--name-and-position):
3457 * international/mule-cmds.el (princ-list):
3458 * international/mule-diag.el (decode-codepage-char):
3459 * international/mule-util.el (detect-coding-with-priority):
3460 * iswitchb.el (iswitchb-read-buffer):
3461 * mail/mailalias.el (mail-complete):
3462 * mail/sendmail.el (mail-sent-via):
3463 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
3464 (mouse-major-mode-menu):
3465 * password-cache.el (password-read-and-add):
3466 * pcomplete.el (pcomplete-parse-comint-arguments):
3467 * progmodes/sh-script.el (sh-maybe-here-document):
3468 * replace.el (query-replace-regexp-eval):
3469 * savehist.el (savehist-load):
3470 * simple.el (choose-completion-delete-max-match):
3471 * term.el (term-dynamic-simple-complete):
3472 * vc/ediff-init.el (ediff-check-version):
3473 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
3474 * vc/vc.el (vc-diff-switches-list):
3475 * view.el (view-return-to-alist-update): Likewise.
3476
3477 * subr.el (eval-next-after-load, makehash, insert-string)
3478 (assoc-ignore-representation, assoc-ignore-case): Use declare to
3479 mark obsolete.
3480 (mode-line-inverse-video): Variable deleted.
3481
3482 * international/mule-util.el (string-to-sequence): Remove.
3483
3484 * calendar/calendar.el (calendar-version):
3485 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
3486 (icalendar-convert-diary-to-ical):
3487 * cus-edit.el (custom-mode):
3488 * ansi-color.el (ansi-color-unfontify-region):
3489 * international/latin1-disp.el (latin1-char-displayable-p):
3490 * progmodes/cwarn.el (turn-on-cwarn-mode):
3491 * progmodes/which-func.el (which-func-update-1):
3492 Use define-obsolete-function-alias.
3493
3494 * net/newst-backend.el (newsticker-cache-filename):
3495 * net/newst-treeview.el (newsticker-groups-filename):
3496 Fix incorrect obsolescence declaration.
3497
3498 * allout.el (allout-passphrase-hint-string): Likewise.
3499 (allout-init): Use a declare form to mark obsolete.
3500
3501 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
3502 this applies to functions.
3503
3504 * iswitchb.el (iswitchb-read-buffer): Move code of
3505 iswitchb-define-mode-map here, and delete that obsolete function.
3506
3507 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
3508 font-lock-reference-face.
3509
3510 2012-09-25 Glenn Morris <rgm@gnu.org>
3511
3512 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
3513 Doc fixes.
3514
3515 * eshell/em-term.el (eshell-term-name):
3516 Default to term-term-name. (Bug#12485)
3517
3518 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
3519
3520 * progmodes/python.el (python-shell-send-buffer): Better handling
3521 of "if __name__ == '__main__':" conditionals when sending the buffer.
3522
3523 2012-09-24 Glenn Morris <rgm@gnu.org>
3524
3525 * eshell/esh-cmd.el (eshell-find-alias-function):
3526 Tighten up file-name regexp. (Bug#12499)
3527
3528 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
3529
3530 Enhancements for triple-quote string syntax.
3531 * progmodes/python.el (python-quote-syntax): Remove.
3532 (python-syntax-propertize-function): New value.
3533 (python-syntax-count-quotes, python-syntax-stringify):
3534 New functions.
3535
3536 2012-09-24 Chong Yidong <cyd@gnu.org>
3537
3538 * mail/supercite.el (sc-version): Remove obsolete function.
3539 (sc-describe): Don't mark as obsolete, since it is bound.
3540 (sc-submit-bug-report): Remove.
3541
3542 * vc/log-edit.el (cvs-changelog-full-paragraphs)
3543 (cvs-commit-buffer-require-final-newline): Remove.
3544 (log-edit-require-final-newline)
3545 (log-edit-changelog-full-paragraphs): Default to t.
3546
3547 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
3548 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
3549 * vc/vc.el (vc-checkout-carefully): Likewise.
3550
3551 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
3552 (emerge-version): Remove.
3553
3554 * progmodes/compile.el (compile-internal): Remove.
3555 (compilation-parse-errors-function): Fix typo.
3556
3557 * international/mule.el (set-char-table-default): Remove.
3558 (set-coding-priority, make-coding-system, generic-char-p)
3559 (charset-list, charset-bytes, charset-id): Use declare to mark
3560 functions as obsolete.
3561
3562 * vc/pcvs-defs.el (cvs-buffer-name-alist)
3563 (cvs-invert-ignore-marks): Remove references to obsolete vars.
3564 * vc/vc-hooks.el (vc-default-registered): Don't use
3565 vc-master-templates.
3566
3567 * font-lock.el (font-lock-reference-face):
3568 Use define-obsolete-variable-alias.
3569
3570 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
3571 * calendar/calendar.el (calendar-font-lock-keywords):
3572 * calendar/diary-lib.el (diary-font-lock-keywords)
3573 (diary-fancy-font-lock-keywords):
3574 * textmodes/reftex-sel.el (reftex-insert-docstruct):
3575 * textmodes/reftex-index.el (reftex-insert-index):
3576 * textmodes/reftex-cite.el (reftex-format-bib-entry):
3577 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3578 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
3579 * progmodes/prolog.el (prolog-font-lock-keywords):
3580 * progmodes/idlwave.el (idlwave-idl-keywords):
3581 * progmodes/ada-mode.el (ada-font-lock-keywords):
3582 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
3583
3584 2012-09-24 Glenn Morris <rgm@gnu.org>
3585
3586 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
3587
3588 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
3589
3590 * progmodes/python.el (python-indent-line): More consistent cursor
3591 movement behavior.
3592
3593 2012-09-23 Stefan Merten <smerten@oekonux.de>
3594
3595 * textmodes/rst.el: Fix compiler warning.
3596
3597 2012-09-23 Roland Winkler <winkler@gnu.org>
3598
3599 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
3600 Transcribe also LaTeX hyphenation.
3601 (bibtex-reformat): Bug fix. Do not quote twice the elements of
3602 bibtex-reformat-previous-options.
3603
3604 2012-09-23 Roland Winkler <winkler@gnu.org>
3605
3606 * proced.el (proced-renice-command): New variable.
3607 (proced-marked-processes): New function.
3608 (proced-with-processes-buffer): New macro.
3609 (proced-send-signal): Use them.
3610 (proced-renice): New command bound to r.
3611
3612 2012-09-23 Roland Winkler <winkler@gnu.org>
3613
3614 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
3615 ibuffer-saved-filter-groups has one element, shortcut the call of
3616 completing-read. (Bug#12331)
3617
3618 2012-09-23 Chong Yidong <cyd@gnu.org>
3619
3620 * bindings.el (mode-line-toggle-read-only):
3621 * bs.el (bs-toggle-readonly):
3622 * buff-menu.el (Buffer-menu-toggle-read-only):
3623 * dired.el (dired-toggle-read-only):
3624 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
3625
3626 2012-09-23 Chong Yidong <cyd@gnu.org>
3627
3628 * image.el (image-type-available-p): Adapt to init-image-library
3629 argument changes.
3630
3631 2012-09-22 Juri Linkov <juri@jurta.org>
3632
3633 * dired.el (dired-mode-map): Add [remap read-only-mode] for
3634 `dired-toggle-read-only'. (Bug#12462)
3635
3636 2012-09-22 Martin Rudalics <rudalics@gmx.at>
3637
3638 * subr.el (temp-output-buffer-show): New function.
3639 (with-output-to-temp-buffer): Call temp-output-buffer-show
3640 instead of internal-temp-output-buffer-show.
3641
3642 2012-09-22 Chong Yidong <cyd@gnu.org>
3643
3644 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
3645 (Bug#12462).
3646
3647 * repeat.el (repeat): Doc fix (Bug#12348).
3648
3649 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
3650 (Bug#10909).
3651
3652 * simple.el (shell-command-on-region): Doc fix.
3653 (read-only-mode): Doc fix.
3654
3655 2012-09-22 Eli Zaretskii <eliz@gnu.org>
3656
3657 * emacs-lisp/timer.el (run-with-idle-timer)
3658 (timer-activate-when-idle): Warn against reinvoking an idle timer
3659 from within its own timer action. (Bug#12447)
3660
3661 2012-09-22 Martin Rudalics <rudalics@gmx.at>
3662
3663 * cus-start.el (window-combination-limit): Add new optional
3664 values.
3665 * window.el (temp-buffer-window-show)
3666 (window--try-to-split-window): Handle new values of
3667 window-combination-limit (Bug#1806).
3668 (split-window): Test window-combination-limit for t instead of
3669 non-nil.
3670 (display-buffer-at-bottom): New buffer display action function.
3671 * help.el (temp-buffer-resize-regexps): New option.
3672 (temp-buffer-resize-mode): Rewrite doc-string.
3673 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
3674 Don't resize reused window. Suggested by Glenn Morris.
3675
3676 2012-09-22 Stefan Merten <smerten@oekonux.de>
3677
3678 * textmodes/rst.el: Revamp section title faces.
3679 (rst-official-version)
3680 (rst-package-emacs-version-alist): Sync with official version
3681 V1.4.0.
3682 (rst-faces-defaults, rst-set-level-default)
3683 (rst-level-face-max, rst-level-face-base-color)
3684 (rst-level-face-base-light, rst-level-face-format-light)
3685 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
3686 (rst-adornment-faces-alist): Match new setup.
3687 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
3688 (rst-level-5, rst-level-6): New faces.
3689
3690 2012-09-22 Chong Yidong <cyd@gnu.org>
3691
3692 * simple.el (undo): Handle indirect buffers (Bug#8207).
3693
3694 2012-09-21 Leo Liu <sdl.web@gmail.com>
3695
3696 IDO: Disable match re-ordering for buffer switching.
3697 * ido.el (ido-buffer-disable-smart-matches): New variable.
3698 (ido-set-matches-1): Use it. (Bug#2042)
3699
3700 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
3701
3702 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
3703 Fix 2011-05-17 change. (Bug#12418)
3704
3705 2012-09-21 Leo Liu <sdl.web@gmail.com>
3706
3707 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
3708
3709 2012-09-21 Glenn Morris <rgm@gnu.org>
3710
3711 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
3712 Be more robust about locating simple.el.
3713
3714 2012-09-21 Glenn Morris <rgm@gnu.org>
3715
3716 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
3717
3718 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
3719
3720 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
3721
3722 2012-09-20 Juri Linkov <juri@jurta.org>
3723
3724 * replace.el (query-replace-read-from): Use `read-regexp' instead
3725 of `read-from-minibuffer' when `regexp-flag' is non-nil.
3726 (occur-read-primary-args): Use `read-regexp' instead of
3727 `read-string'.
3728 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
3729 `read-from-minibuffer'.
3730 * isearch.el (isearch-occur): Use `read-regexp' instead of
3731 `read-string'.
3732 * dired.el (dired-read-regexp): Use `read-regexp' instead of
3733 `read-from-minibuffer'.
3734 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
3735 of `read-string'. (Bug#7567)
3736
3737 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
3738 and allow accepting a list of strings prepended to a list of
3739 standard default values. Doc fix. (Bug#12321)
3740
3741 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
3742
3743 * replace.el (read-regexp): Don't add ": " when PROMPT already
3744 ends with a colon and space. (Bug#12321)
3745
3746 2012-09-20 Tassilo Horn <tsdh@gnu.org>
3747
3748 * doc-view.el (doc-view-display): Better fix for the cl-assertion
3749 error.
3750
3751 2012-09-20 Stefan Merten <smerten@oekonux.de>
3752
3753 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
3754 Fixes feature request bug#11711.
3755 (rst-mode): Create `imenu-create-index-function'.
3756 (rst-get-stripped-line): Delete after refactoring.
3757 (rst-section-tree, rst-section-tree-rec)
3758 (rst-section-tree-point): Refactor and document properly.
3759 (rst-imenu-find-adornments-for-position)
3760 (rst-imenu-convert-cell, rst-imenu-create-index):
3761 New function.
3762
3763 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3764
3765 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
3766 (macroexp--expand-all): Use it.
3767 (macroexp--funcall-and-return): Remove by folding it into its sole
3768 caller (macroexp--warn-and-return).
3769 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
3770 Use macroexp--obsolete-warning.
3771
3772 * calc/calc.el: Fix last change by removing the whole chunk, since it
3773 was only needed back when Calc was not bundled.
3774
3775 2012-09-20 Martin Rudalics <rudalics@gmx.at>
3776
3777 * emacs-lisp/debug.el (debug): Restore assignment to
3778 debugger-old-buffer removed on 2012-09-08.
3779
3780 2012-09-20 Juri Linkov <juri@jurta.org>
3781
3782 * dired-aux.el (dired-diff): Remove (require 'diff) since
3783 `diff-latest-backup-file' is now autoloaded.
3784
3785 2012-09-20 Chong Yidong <cyd@gnu.org>
3786
3787 * vc/diff.el (diff-latest-backup-file): Autoload.
3788
3789 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3790
3791 * calc/calc.el: Remove redundant autoload shape check.
3792 (sel-mode): Don't defvar.
3793 (calc-get-stack-element): Add `sel-mode' arg instead.
3794 (calc-top, calc-top-list): Pass it this additional argument.
3795 * calc/calc-store.el (calc-store-map):
3796 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
3797 (calc-map-equation, calc-outer-product, calc-inner-product):
3798 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
3799
3800 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
3801
3802 2012-09-19 Juri Linkov <juri@jurta.org>
3803
3804 * dired-aux.el (dired-diff): Add (require 'diff) because
3805 `diff-latest-backup-file' is not autoloaded.
3806 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
3807 of `dired-get-filename' to t to not report error when there is
3808 no default file on the current line.
3809
3810 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3811
3812 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
3813 macroexp--eval-if-compile.
3814 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
3815 (macroexp--expand-all): Use them (bug#12371).
3816
3817 * doc-view.el (doc-view-guess-paper-size)
3818 (doc-view-scale-bounding-box): Fix unbound `caddr'.
3819
3820 2012-09-19 Tassilo Horn <tsdh@gnu.org>
3821
3822 New feature: set optimal slice from BoundingBox information.
3823 * doc-view.el (doc-view-mode-map): Add keybinding.
3824 (doc-view-menu): Add menu entry.
3825 (doc-view-set-slice): Adapt docstring.
3826 (doc-view-get-bounding-box, doc-view-guess-paper-size)
3827 (doc-view-scale-bounding-box)
3828 (doc-view-set-slice-from-bounding-box): New functions.
3829 (doc-view-paper-sizes): New defvar.
3830
3831 2012-09-19 Glenn Morris <rgm@gnu.org>
3832
3833 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
3834 (byte-compile-log-warning): Autoload. (Bug#12371)
3835
3836 * calendar/calendar.el (calendar-american-month-header)
3837 (calendar-european-month-header, calendar-iso-month-header)
3838 (calendar-month-header): New options.
3839 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
3840 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
3841
3842 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
3843
3844 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
3845
3846 2012-09-18 Juri Linkov <juri@jurta.org>
3847
3848 * dired-aux.el (dired-diff): Restore original functionality of
3849 getting the default value, but keep new feature of using the
3850 latest existing backup file (`diff-latest-backup-file').
3851
3852 2012-09-18 Juri Linkov <juri@jurta.org>
3853
3854 * dired.el (dired-mark): If the region is active in Transient Mark
3855 mode, mark all files in the active region. Doc fix.
3856 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
3857 Doc fix. (Bug#10624)
3858
3859 2012-09-18 Juri Linkov <juri@jurta.org>
3860
3861 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
3862 attributes for M-n are pulled from the file at point.
3863 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
3864 Suggested by Drew Adams. (Bug#10624)
3865
3866 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
3867
3868 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
3869 whitespace after "end".
3870 (ruby-do-end-to-brace): Collapse block to one line if it fits
3871 within fill-column.
3872
3873 2012-09-18 Martin Rudalics <rudalics@gmx.at>
3874
3875 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
3876 value.
3877 (debug): Don't remove debugger window when debugger is expected
3878 to be back.
3879
3880 2012-09-18 Chong Yidong <cyd@gnu.org>
3881
3882 * custom.el (defface): Doc fix.
3883
3884 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
3885
3886 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
3887
3888 * progmodes/compile.el (compilation-start): Use compilation-always-kill
3889 to initialize query-on-exit; then test that instead (bug#12288).
3890
3891 2012-09-17 Stefan Merten <smerten@oekonux.de>
3892
3893 * textmodes/rst.el: Add support for `testcover'.
3894 (rst-defcustom-testcover, rst-testcover-add-compose)
3895 (rst-testcover-add-1value): New functions.
3896 (rst-portable-mark-active-p): Replace by `use-region-p'.
3897 (rst-update-section, rst-classify-adornment)
3898 (rst-find-title-line): Mark `1value' forms.
3899 (rst-classify-adornment): Remove superfluous form.
3900 (rst-update-section, rst-get-adornments-around)
3901 (rst-adornment-complete-p, rst-get-next-adornment)
3902 (rst-adjust, rst-promote-region)
3903 (rst-display-adornments-hierarchy, rst-straighten-adornments)
3904 (rst-find-pfx-in-region, rst-section-tree-rec)
3905 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
3906 (rst-toc-node, rst-toc, rst-forward-section)
3907 (rst-iterate-leftmost-paragraphs)
3908 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
3909 (rst-bullet-list-region)
3910 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
3911 (rst-compile-find-conf, rst-compile)
3912 (rst-repeat-last-character): Fix style.
3913
3914 2012-09-17 Chong Yidong <cyd@gnu.org>
3915
3916 * comint.el (comint--complete-file-name-data): Don't add a space
3917 if the status is `sole'; that adds a gratuitous space in the
3918 completion-cycling case (Bug#12092).
3919
3920 * pcomplete.el (pcomplete-completions-at-point): Likewise.
3921
3922 2012-09-17 Richard Stallman <rms@gnu.org>
3923
3924 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
3925 only in the mime-shown mode, not in raw mode.
3926 (rmail-mime): Toggle off mime by displaying the message without
3927 mime processing. (Bug#12305)
3928
3929 * mail/rmail.el (rmail-retry-failure):
3930 Turn off mime processing first. (Bug#12037)
3931
3932 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
3933
3934 2012-09-17 Chong Yidong <cyd@gnu.org>
3935
3936 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
3937 (shell-dynamic-complete-functions): Convert to defcustom.
3938 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
3939
3940 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
3941 * comint.el (comint-prompt-read-only):
3942 * custom.el (defcustom):
3943 * hi-lock.el (hi-lock-mode):
3944 * ibuffer.el (ibuffer-formats):
3945 * ielm.el (ielm-prompt-read-only):
3946 * novice.el (disable-command):
3947 * saveplace.el (toggle-save-place):
3948 * speedbar.el (speedbar-supported-extension-expressions):
3949 * startup.el (auto-save-list-file-prefix, init-file-user)
3950 (after-init-hook, inhibit-startup-echo-area-message):
3951 * strokes.el (strokes-help):
3952 * time-stamp.el (time-stamp):
3953 * calendar/calendar.el (calendar, diary-file):
3954 * calendar/diary-lib.el (diary-mail-entries, diary)
3955 (diary-list-entries-hook):
3956 * calendar/holidays.el (holidays, calendar-holidays):
3957 * calendar/lunar.el (lunar-phases):
3958 * calendar/solar.el (sunrise-sunset):
3959 * emulation/edt.el (edt-load-keys):
3960 * emulation/viper.el (viper-mode):
3961 * eshell/em-alias.el (eshell-command-aliases-list):
3962 * eshell/esh-util.el (eshell-convert-numeric-arguments):
3963 * international/ogonek.el (ogonek-information):
3964 * net/tramp-cmds.el (tramp-bug):
3965 * net/quickurl.el (quickurl-reread-hook-postfix):
3966 * play/decipher.el (decipher-font-lock-keywords):
3967 * progmodes/cc-styles.el (c-set-style):
3968 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
3969 * progmodes/inf-lisp.el (inferior-lisp-prompt):
3970 * progmodes/octave-mod.el (octave-mode):
3971 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
3972 * progmodes/verilog-mode.el (verilog-read-defines):
3973 * textmodes/two-column.el (2C-mode): Likewise.
3974
3975 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
3976
3977 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
3978 that holds many addresses.
3979
3980 2012-09-16 Chong Yidong <cyd@gnu.org>
3981
3982 * align.el (align-areas): Call the indication function with
3983 positions instead of markers for arguments (Bug#12343).
3984
3985 * files.el (parse-colon-path): Use split-string (Bug#12351).
3986
3987 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
3988 (display-buffer-function): Mark as obsolete.
3989
3990 * progmodes/compile.el (compilation-parse-errors): Accept list
3991 values similar to font-lock-keywords (Bug#12136).
3992 Suggested by Oleksandr Manzyuk.
3993 (compilation-error-regexp-alist): Doc fix.
3994
3995 2012-09-15 Glenn Morris <rgm@gnu.org>
3996
3997 * version.el (emacs-bzr-version-bzr): New function.
3998 (emacs-bzr-get-version): Add optional EXTERNAL argument.
3999
4000 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
4001 checkouts, check the parent dirstate matches the branch.
4002 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
4003 empty string.
4004
4005 * version.el (emacs-bzr-version): Doc fix.
4006 (emacs-bzr-version-dirstate): New function.
4007 (emacs-bzr-get-version): For lightweight checkouts, if the parent
4008 is local try and check that it matches the branch. If not, just
4009 use dirstate information. (Bug#12441)
4010
4011 2012-09-14 Juri Linkov <juri@jurta.org>
4012
4013 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
4014 (Bug#12399)
4015
4016 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4017
4018 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
4019
4020 * emacs-lisp/edebug.el: Miscellaneous cleanup.
4021 Remove obsolete byte-compiler hack that tried to silence some warnings.
4022 (edebug-submit-bug-report): Remove.
4023 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
4024 Remove aliases, use the un-prefixed name instead.
4025 (edebug-pop-to-buffer): Consider other frames.
4026 (edebug-original-read):: Make it more obvious that it's always defined.
4027 (edebug--make-form-data-entry, edebug--form-data-name)
4028 (edebug--form-data-begin, edebug--form-data-end): Rename from the
4029 single-dashed name, and implement with cl-defstruct.
4030 (edebug-set-form-data-entry): Use the standard accessors.
4031 (edebug-make-top-form-data-entry): Use push.
4032 (edebug-no-match): Drop useless `funcall'.
4033 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
4034 to functions.
4035 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
4036 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
4037 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
4038 (easy-menu-define, with-custom-print): Remove redundant specs.
4039 (edebug-outside-overriding-local-map)
4040 (edebug-outside-overriding-terminal-local-map): Remove, unused.
4041 (edebug--display): Bind unread-command-events directly to nil rather
4042 than binding it to unread-command-events and later setting it to nil.
4043 (edebug--display): Kill edebug-eval-buffer here...
4044 (edebug--recursive-edit): ...rather than here.
4045 Bind standard-output and standard-input.
4046 (edebug-eval): Check cl-macroexpand-all is fboundp.
4047 (edebug-temp-display-freq-count): Fix last change.
4048
4049 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
4050 * subr.el (noreturn, 1value): Add `debug' spec.
4051 * emacs-lisp/advice.el: Require cl-lib.
4052 (ad-copy-tree): Remove, use copy-tree instead.
4053 (ad-dolist): Remove use dolist or cl-dolist instead.
4054 (ad-do-return): Remove, use cl-return instead.
4055 (defadvice): Add `debug' spec.
4056
4057 2012-09-13 Juri Linkov <juri@jurta.org>
4058
4059 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
4060 (Bug#12399)
4061
4062 2012-09-13 Glenn Morris <rgm@gnu.org>
4063
4064 * calc/calc.el (math-compose-expr):
4065 * calc/calc-ext.el (math-compose-expr):
4066 * progmodes/cc-defs.el (cl-macroexpand-all):
4067 * progmodes/cc-langs.el (delete-duplicates, mapcan)
4068 (cl-macroexpand-all): Update declarations.
4069
4070 * vc/vc.el: No need to require ediff.
4071 (ediff-load-version-control): Declare.
4072 (ediff-vc-internal): Fix declaration.
4073 (vc-version-ediff): Require ediff.
4074
4075 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
4076
4077 Use a more backwards-compatible timer format (Bug#12430).
4078 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
4079 being right after USECS, as that better supports old code that
4080 inadvisedly looked directly at the timer vector.
4081
4082 2012-09-13 Kenichi Handa <handa@gnu.org>
4083
4084 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
4085 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
4086 `coding-priority' property of these language environment.
4087
4088 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
4089
4090 Fix glitches caused by addition of psec to timers (Bug#12430).
4091 * image.el (image-animate-timer):
4092 * time.el (display-time-world-timer):
4093 Use timer--function and timer--args rather than raw access to
4094 timer vector.
4095
4096 2012-09-13 Glenn Morris <rgm@gnu.org>
4097
4098 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
4099 If not compiling a file, try using load-file-name.
4100
4101 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4102
4103 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
4104 Fix last change.
4105 (edebug-update-eval-list): Use `push'.
4106
4107 * emacs-lisp/edebug.el: Use lexical-binding.
4108 Remove the "edebug-" prefix from non-dynamically-scoped variables.
4109 Mark unused args with underscore.
4110 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
4111 (edebug-form-data): Use defvar-local.
4112 (edebug-make-before-and-after-form, edebug-make-after-form):
4113 Use backquote.
4114 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
4115 Not dynamically scoped any more.
4116 (edebug--enter-trace): Add arguments `function' and `args'.
4117 Rename from edebug-enter-trace.
4118 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
4119 (edebug--update-coverage): Add `after-index' and `value' args.
4120 Rename from edebug-update-coverage.
4121 (edebug-slow-after): Call it accordingly.
4122 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
4123 edebug-recursive-edit.
4124 (edebug--display): Call it accordingly. Add args `value',
4125 `offset-index', and `arg-mode'. Rename from edebug-display.
4126 (edebug-debugger, edebug): Call it accordingly.
4127 (edebug-eval-display-list): Use dolist.
4128
4129 2012-09-12 Juri Linkov <juri@jurta.org>
4130
4131 * info.el (Info-search): Don't check for isearch-mode and
4132 isearch-regexp before let-binding search-spaces-regexp to
4133 Info-search-whitespace-regexp.
4134 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
4135 search-whitespace-regexp if isearch-lax-whitespace or
4136 isearch-regexp-lax-whitespace is non-nil.
4137 (Info-mode): Don't set local variable search-whitespace-regexp.
4138 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
4139
4140 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4141
4142 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
4143 (debugger-env-macro): Remove support for unread-command-char.
4144
4145 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
4146 the temporary map re-appearing on emulation-mode-map-alists.
4147
4148 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
4149 since 22.1.
4150
4151 * ehelp.el (with-electric-help): Accept functions in
4152 electric-help-form-to-execute.
4153 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
4154 And replace unread-command-char -> unread-command-events.
4155
4156 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
4157
4158 Sync with Tramp 2.2.6.
4159
4160 * net/tramp.el (tramp-accept-process-output): Don't use
4161 JUST-THIS-ONE in the XEmacs case.
4162
4163 * net/trampver.el: Update release number.
4164
4165 2012-09-12 Martin Rudalics <rudalics@gmx.at>
4166
4167 * emacs-lisp/debug.el (debugger-previous-window-height):
4168 New variable.
4169 (debug): When debugger-jumping-flag is non-nil try to restore
4170 height of debugger window. (Bug#8789)
4171
4172 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4173
4174 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
4175 overriding-local-map and pre/post-command-hook here.
4176 (edebug-recursive-edit): Do it here instead (bug#12345).
4177 (edebug-outside-unread-command-char): Remove all uses of
4178 unread-command-char.
4179
4180 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
4181 inhibit-debugger is bound instead.
4182
4183 2012-09-11 Bastien Guerry <bzg@gnu.org>
4184
4185 * subr.el (set-temporary-overlay-map): Add a docstring.
4186 (Bug#12346)
4187
4188 2012-09-11 Bastien Guerry <bzg@gnu.org>
4189
4190 * minibuffer.el (completion-table-subvert): Fix docstring.
4191 (Bug#12347)
4192
4193 2012-09-11 Bastien Guerry <bzg@gnu.org>
4194
4195 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
4196
4197 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
4198
4199 * progmodes/sql.el: Version 3.1
4200 (sql-db2-escape-newlines): New variable.
4201 (sql-escape-newlines-filter): Use it.
4202
4203 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
4204
4205 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
4206
4207 2012-09-10 Dan Nicolaescu <dann@gnu.org>
4208
4209 * vc/diff-mode.el (diff-mode-menu):
4210 Bind diff-remove-trailing-whitespace.
4211
4212 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4213
4214 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
4215 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
4216 (emacs-lisp-byte-code-mode): New functions.
4217 (eval-sexp-add-defvars): Don't skip defvars in column >0.
4218 (eval-defun-2): Remove bogus interactive spec.
4219 (lisp-indent-line): Remove redundant whole-exp code, now done in
4220 indent-according-to-mode.
4221 (save-match-data): Remove redundant indent data.
4222
4223 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
4224 Use `declare'.
4225
4226 2012-09-09 Juri Linkov <juri@jurta.org>
4227
4228 * replace.el (replace-regexp-lax-whitespace): New defcustom.
4229 (replace-lax-whitespace, query-replace-regexp)
4230 (query-replace-regexp-eval, replace-regexp): Doc fix.
4231 (perform-replace, replace-highlight): Let-bind
4232 isearch-lax-whitespace to replace-lax-whitespace and
4233 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
4234
4235 * isearch.el (isearch-query-replace): Let-bind
4236 replace-lax-whitespace to isearch-lax-whitespace and
4237 replace-regexp-lax-whitespace to
4238 isearch-regexp-lax-whitespace. (Bug#10885)
4239
4240 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
4241
4242 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
4243
4244 2012-09-09 Alan Mackenzie <acm@muc.de>
4245
4246 * progmodes/cc-engine.el (c-state-cache-init):
4247 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
4248 (c-record-parse-state-state):
4249 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
4250
4251 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
4252
4253 * register.el (register-separator): Rename from
4254 separator-register. All uses changed. Doc fix.
4255 (register): Fix version.
4256
4257 2012-09-09 Chong Yidong <cyd@gnu.org>
4258
4259 * replace.el (query-replace-map): Bind four new symbols for
4260 requesting window scrolling.
4261
4262 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
4263 query-replace-map (Bug#8948).
4264
4265 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
4266
4267 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
4268 since they are now in query-replace-map.
4269
4270 * window.el (scroll-other-window-down): Make the arg optional.
4271
4272 2012-09-09 Chong Yidong <cyd@gnu.org>
4273
4274 * files.el (hack-local-variables-confirm): Use quit-window to kill
4275 the *Local Variables* buffer.
4276
4277 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
4278
4279 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
4280 not just expect to be at its beginning. Adjust callees.
4281 Succeed when do-end block has no space before the pipe character.
4282 (ruby-brace-to-do-end): When the original block is one-liner,
4283 convert to multiline. Reindent the result.
4284
4285 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
4286
4287 * register.el (register): New group.
4288 (separator-register): New user option.
4289 (increment-register): Route it to `append-to-register', if
4290 register contains text. Implication is that `C-x r +' can now be
4291 used for appending to a text register (bug#12217).
4292 (append-to-register, prepend-to-register): Add separator based on
4293 `separator-register'.
4294
4295 2012-09-08 Alan Mackenzie <acm@muc.de>
4296
4297 AWK Mode: make auto-newline work when there's "==" in the pattern.
4298 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
4299 correctly.
4300 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
4301 Test more rigorously for "=" token.
4302
4303 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
4304
4305 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
4306 Only fail when reached LIMIT.
4307
4308 2012-09-08 Chong Yidong <cyd@gnu.org>
4309
4310 * dired.el (dired-mode-map): Don't bind M-=.
4311
4312 * dired-aux.el (dired-diff): Use backup file as default.
4313
4314 2012-09-08 Drew Adams <drew.adams@oracle.com>
4315
4316 * subr.el (add-to-history): Fix delete usage (Bug#12314).
4317
4318 2012-09-08 Chong Yidong <cyd@gnu.org>
4319
4320 * subr.el (syntax-after, syntax-class): Doc fix.
4321
4322 2012-09-08 Martin Rudalics <rudalics@gmx.at>
4323
4324 * window.el (display-buffer-in-previous-window): New buffer
4325 display action function.
4326
4327 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
4328 (debugger-previous-window): New variable.
4329 (debug): Rewrite using display-buffer-in-previous-window,
4330 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
4331
4332 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
4333
4334 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
4335
4336 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
4337
4338 * progmodes/python.el (python-shell-send-string):
4339 When default-directory is remote, create temp file on remote
4340 filesystem.
4341 (python-shell-send-file): When file is remote, pass local view of
4342 file paths to remote Python interpreter. (Bug#12340)
4343
4344 2012-09-07 Chong Yidong <cyd@gnu.org>
4345
4346 * window.el (switch-to-buffer): Doc fix (Bug#12181).
4347
4348 * files.el (after-find-file): Don't fail on a read-only buffer if
4349 require-final-newline is `visit' or `visit-save' (Bug#11156).
4350
4351 * subr.el (read-char-choice): Allow quitting via ESC ESC.
4352
4353 * userlock.el (ask-user-about-supersession-threat):
4354 Use read-char-choice (Bug#12093).
4355
4356 2012-09-07 Chong Yidong <cyd@gnu.org>
4357
4358 * subr.el (buffer-narrowed-p): New function.
4359
4360 * ses.el (ses-widen):
4361 * simple.el (count-words--buffer-message):
4362 * net/browse-url.el (browse-url-of-buffer): Use it.
4363
4364 * simple.el (count-words-region): Don't signal an error if there
4365 is a non-nil prefix arg and the mark is not set.
4366
4367 * help.el (describe-key-briefly): Allow the message to be seen
4368 when invoked from the minibuffer (Bug#7014).
4369
4370 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
4371
4372 * progmodes/ruby-mode.el (ruby-end-of-defun)
4373 (ruby-beginning-of-defun): Simplify, allow indentation before
4374 block beginning and end keywords.
4375 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
4376 (ruby-end-of-defun): Expect that the point is at the beginning of
4377 the defun.
4378
4379 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4380
4381 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
4382 (bug#12367).
4383 (cl--make-usage-args): Strip _ from argument names.
4384
4385 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4386
4387 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
4388 obsolete alias speedbar-key-map.
4389 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
4390 (vhdl-index-menu-init): Don't use obsolete variable
4391 font-lock-maximum-size.
4392
4393 2012-09-06 Chong Yidong <cyd@gnu.org>
4394
4395 * frame.el (window-system-version): Mark as obsolete.
4396
4397 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
4398 of obsolete variable speedbar-key-map.
4399
4400 2012-09-06 Juri Linkov <juri@jurta.org>
4401
4402 * replace.el (replace-lax-whitespace): New defcustom.
4403 (query-replace, query-replace-regexp, query-replace-regexp-eval)
4404 (replace-string, replace-regexp): Mention it in docstrings.
4405 (perform-replace, replace-highlight): Let-bind
4406 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
4407 to the values of replace-lax-whitespace and regexp-flag.
4408 Don't let-bind search-whitespace-regexp. (Bug#10885)
4409
4410 * isearch.el (isearch-query-replace): Let-bind
4411 replace-lax-whitespace instead of let-binding
4412 replace-search-function and replace-re-search-function.
4413 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
4414 and isearch-regexp-lax-whitespace to lazy-highlight variables.
4415 (isearch-toggle-symbol): Set isearch-regexp to nil
4416 in isearch-word mode (like in isearch-toggle-word).
4417
4418 2012-09-06 Juri Linkov <juri@jurta.org>
4419
4420 * replace.el (replace-search-function)
4421 (replace-re-search-function): Set default values to nil.
4422 (perform-replace): Let-bind isearch-related variables based on
4423 replace-related values, call `isearch-search-fun' and let-bind
4424 the result to `search-function'. Remove code that sets
4425 `search-function' and `search-string' separately for
4426 `delimited-flag'.
4427 (replace-highlight): Add new argument `delimited-flag' and
4428 rename other arguments to the names used in `perform-replace'.
4429 Let-bind `isearch-word' to the argument `delimited-flag'.
4430 (Bug#10885, bug#10887)
4431
4432 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
4433
4434 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
4435 ruby-beginning-of-indent, simplify, allow all keywords to have
4436 indentation before them.
4437 (ruby-beginning-of-indent): Adjust for above. Search until the
4438 found point is not inside a string or comment.
4439 (ruby-font-lock-keywords): Allow symbols to start with "@"
4440 character, give them higher priority than variables.
4441 (ruby-syntax-propertize-function)
4442 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
4443 matchers. Expression expansions are not comments when inside a
4444 string, and there comment syntax status is irrelevant.
4445 (ruby-match-expression-expansion): New function. Check that
4446 expression expansion is inside a string, and it's not escaped.
4447 (ruby-font-lock-keywords): Use it.
4448
4449 2012-09-05 Martin Rudalics <rudalics@gmx.at>
4450
4451 * help.el (temp-buffer-max-height): New default value.
4452 (temp-buffer-resize-frames): New option.
4453 (resize-temp-buffer-window): Optionally resize frame.
4454
4455 * window.el (fit-frame-to-buffer-bottom-margin): New option.
4456 (fit-frame-to-buffer): New function.
4457
4458 2012-09-05 Glenn Morris <rgm@gnu.org>
4459
4460 * emulation/cua-rect.el (cua--init-rectangles):
4461 * textmodes/picture.el (picture-mode-map):
4462 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
4463 like forward-char and backward-char. (Bug#12317)
4464
4465 2012-09-05 Leo Liu <sdl.web@gmail.com>
4466
4467 * progmodes/flymake.el (flymake-warning-re): New variable.
4468 (flymake-parse-line): Use it.
4469
4470 2012-09-05 Glenn Morris <rgm@gnu.org>
4471
4472 * calendar/holidays.el (holiday-christian-holidays):
4473 Rename an entry. (Bug#12289)
4474
4475 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4476
4477 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
4478 (bug#12222).
4479
4480 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4481
4482 * loadup.el: Load macroexp. Remove hack.
4483 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
4484 (macroexp--expand-all): Use it to get better warnings.
4485 (macroexp--backtrace, macroexp--trim-backtrace-frame)
4486 (internal-macroexpand-for-load): New functions.
4487 (macroexp--pending-eager-loads): New var.
4488 (emacs-startup-hook): New hack to replace one in loadup.el.
4489 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
4490 (cl--compiler-macro-cXXr): Move to top, before they can be used.
4491 (cl-psetf): Simplify.
4492 (cl-defstruct): Add indent rule.
4493
4494 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
4495
4496 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
4497 over `user-mail-address' for the SMTP MAIL FROM envelope.
4498 (smtpmail-via-smtp): Ditto.
4499
4500 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
4501
4502 * progmodes/ruby-mode.el: Clean up keybindings.
4503 (ruby-mode-map): Don't bind ruby-electric-brace,
4504 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
4505 backward-kill-word, reindent-then-newline-and-indent.
4506 (ruby-mark-defun): Remove.
4507 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
4508 (ruby-mode): Set local beginning-of-defun-function and
4509 end-of-defun-function values.
4510
4511 2012-09-03 Martin Rudalics <rudalics@gmx.at>
4512
4513 * window.el (temp-buffer-window-setup-hook)
4514 (temp-buffer-window-show-hook): New hooks.
4515 (temp-buffer-window-setup, temp-buffer-window-show)
4516 (with-temp-buffer-window): New functions.
4517 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
4518 (special-display-popup-frame): Make sure the window used shows BUFFER.
4519
4520 * help.el (temp-buffer-resize-mode): Fix doc-string.
4521 (resize-temp-buffer-window): New optional argument WINDOW.
4522
4523 * files.el (recover-file, save-buffers-kill-emacs):
4524 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
4525
4526 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
4527
4528 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
4529 remote definition of `default-directory', ensure we can connect.
4530
4531 2012-09-02 Juri Linkov <juri@jurta.org>
4532
4533 Toggle whitespace matching mode with M-s SPC.
4534 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
4535
4536 * isearch.el (search-whitespace-regexp): Doc fix.
4537 Remove cons cell customization.
4538 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
4539 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
4540 New variables.
4541 (isearch-forward, isearch-forward-regexp): Doc fix.
4542 (isearch-toggle-lax-whitespace): New command.
4543 (search-forward-lax-whitespace, search-backward-lax-whitespace)
4544 (re-search-forward-lax-whitespace)
4545 (re-search-backward-lax-whitespace): New functions.
4546 (isearch-whitespace-regexp): Remove function.
4547 (isearch-query-replace): Let-bind replace-search-function and
4548 replace-re-search-function.
4549 (isearch-occur): Let-bind search-spaces-regexp according to the
4550 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
4551 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
4552 condition for C-q SPC.
4553 (isearch-search-fun-default): Use new functions mentioned above.
4554 (isearch-search-forward, isearch-search-backward): Remove functions.
4555 (isearch-search): Don't let-bind search-spaces-regexp.
4556 (isearch-lazy-highlight-space-regexp): Remove variable.
4557 (isearch-lazy-highlight-lax-whitespace)
4558 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
4559 (isearch-lazy-highlight-new-loop): Use them.
4560 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
4561
4562 2012-09-02 Chong Yidong <cyd@gnu.org>
4563
4564 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
4565
4566 2012-09-02 Glenn Morris <rgm@gnu.org>
4567
4568 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
4569
4570 2012-09-01 Glenn Morris <rgm@gnu.org>
4571
4572 * term.el: Tidy up menu definitions.
4573 (term-mode-map): Use easymenu for In/Out, Complete menus.
4574 (term-pager-break-map): Initialize in the defvar.
4575 (term-terminal-menu, term-signals-menu): Define with easymenu.
4576 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
4577 (term-pager-menu): New, extracted from term-process-pager.
4578 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
4579 (term-update-mode-line): Propertize line/char and page items.
4580 (term-process-pager): Move keymap initialization elsewhere.
4581
4582 2012-09-01 Martin Rudalics <rudalics@gmx.at>
4583
4584 * window.el (switch-to-prev-buffer): Handle additional values of
4585 BURY-OR-KILL argument. Don't switch in minibuffer window.
4586 (switch-to-next-buffer): Don't switch in minibuffer window.
4587 (quit-restore-window): New function based on quit-window.
4588 Handle additional values of former KILL argument.
4589 (quit-window): Call quit-restore-window with appropriate
4590 interpretation of KILL argument.
4591 (display-buffer-below-selected): New buffer display action
4592 function.
4593
4594 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
4595
4596 * minibuffer.el (completion-at-point-functions): Complete docstring
4597 (bug#12254).
4598
4599 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
4600
4601 Better seed support for (random).
4602 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
4603 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
4604 * play/mpuz.el, play/tetris.el, play/zone.el:
4605 * calc/calc-comb.el (math-init-random-base):
4606 * play/blackbox.el (bb-init-board):
4607 * play/life.el (life):
4608 * server.el (server-use-tcp):
4609 * type-break.el (type-break):
4610 Remove unnecessary call to (random t).
4611 * net/sasl.el (sasl-unique-id-function):
4612 Change (random t) to (random), now that the latter is more random.
4613 * play/life.el (life-initialized): Remove no-longer-needed var.
4614
4615 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
4616
4617 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
4618 Consider frame's buffer predicate when choosing the buffer.
4619 (Bug#12081)
4620
4621 2012-08-30 Richard Stallman <rms@gnu.org>
4622
4623 * simple.el (special-mode-map): Delete binding for `z'.
4624
4625 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
4626
4627 * progmodes/compile.el (compilation-always-kill): Doc fix.
4628
4629 2012-08-30 Chong Yidong <cyd@gnu.org>
4630
4631 * window.el (display-buffer-reuse-frames): Make the obsolescence
4632 message more informative.
4633
4634 2012-08-30 Glenn Morris <rgm@gnu.org>
4635
4636 * paren.el (show-paren-delay):
4637 Add a :set function. Doc fix. (Bug#12297)
4638
4639 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
4640
4641 * progmodes/compile.el (compilation-always-kill): New var.
4642 (compilation-start): Use it.
4643
4644 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4645
4646 * simple.el (read-only-mode): Move from files.el for bootstrapping.
4647 * files.el (read-only-mode): Move to simple.el.
4648
4649 * files.el (read-only-mode): New minor mode.
4650 (toggle-read-only): Use it and mark obsolete.
4651 (find-file--read-only):
4652 * vc/vc.el (vc-next-action, vc-checkout):
4653 * vc/vc-cvs.el (vc-cvs-checkout):
4654 * obsolete/vc-mcvs.el (vc-mcvs-update):
4655 * ffap.el (ffap--toggle-read-only): Update callers.
4656
4657 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
4658
4659 * eshell/esh-ext.el (eshell-external-command): Do not examine
4660 remote shell scripts.
4661 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
4662
4663 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
4664 "/usr/local/sbin".
4665
4666 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4667
4668 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
4669
4670 2012-08-28 Leo Liu <sdl.web@gmail.com>
4671
4672 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
4673 completion-at-point. (Bug#12220)
4674
4675 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
4676
4677 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
4678
4679 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4680
4681 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
4682 be buffer-local; add delete-trailing-whitespace (bug#12259).
4683
4684 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
4685
4686 * progmodes/hideif.el (hif-compress-define-list):
4687 Fix typo. (Bug#11951)
4688
4689 2012-08-28 Dan Nicolaescu <dann@gnu.org>
4690
4691 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
4692 buffer local setting.
4693
4694 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
4695 rcirc-encode-coding-system.
4696
4697 2012-08-28 Leo Liu <sdl.web@gmail.com>
4698
4699 * net/rcirc.el (rcirc-split-message): New function.
4700 (rcirc-send-message): Use it. (Bug#12051)
4701
4702 2012-08-28 Juri Linkov <juri@jurta.org>
4703
4704 * info.el (Info-fontify-node): Hide empty lines at the end of
4705 the node. (Bug#12272)
4706
4707 2012-08-27 Drew Adams <drew.adams@oracle.com>
4708
4709 * dired.el (dired-pop-to-buffer): Make window start at beginning
4710 of buffer (Bug#12281).
4711
4712 2012-08-26 Chong Yidong <cyd@gnu.org>
4713
4714 * window.el (special-display-regexps, special-display-frame-alist)
4715 (special-display-buffer-names, special-display-function)
4716 (display-buffer-reuse-frames): Mark as obsolete.
4717
4718 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
4719
4720 * help.el (help-print-return-message): Don't treat
4721 display-buffer-reuse-frames specially.
4722
4723 2012-08-26 Chong Yidong <cyd@gnu.org>
4724
4725 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
4726 New variable, replacing gdb-frame-parameters.
4727 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
4728 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
4729 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
4730 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
4731 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
4732 the functions directly with gdb-display-buffer-other-frame-action.
4733 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
4734 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
4735 (gdb-display-stack-buffer, gdb-display-locals-buffer)
4736 (gdb-display-registers-buffer): Define directly.
4737 (def-gdb-display-buffer): Macro deleted.
4738 (gdb-display-buffer): Remove second and third args, callers don't
4739 use them. Defer to the default display-buffer behavior, apart
4740 from making windows dedicated.
4741 (gdb-setup-windows): Don't call display-buffer unnecessarily.
4742
4743 * progmodes/gud.el (gud-display-line): Just use display-buffer.
4744
4745 * window.el (display-buffer-pop-up-frame): Handle a
4746 pop-up-frame-parameters alist entry.
4747 (display-buffer): Document it.
4748
4749 2012-08-26 Chong Yidong <cyd@gnu.org>
4750
4751 * isearch.el (search-whitespace-regexp): Make string and nil
4752 values apply to both ordinary and regexp search. Allow a cons
4753 cell value to distinguish between the two.
4754 (isearch-whitespace-regexp, isearch-search-forward)
4755 (isearch-search-backward): New functions.
4756 (isearch-occur, isearch-search-fun-default, isearch-search)
4757 (isearch-lazy-highlight-new-loop): Use them.
4758 (isearch-forward, isearch-forward-regexp): Doc fix.
4759
4760 2012-08-26 Chong Yidong <cyd@gnu.org>
4761
4762 * faces.el (help-argument-name): Always inherit from italic
4763 (Bug#12213).
4764
4765 2012-08-25 Martin Rudalics <rudalics@gmx.at>
4766
4767 * window.el (window--even-window-heights): Even heights when
4768 WINDOW and the selected window form a vertical combination.
4769 (display-buffer-use-some-window): Provide that window used gets
4770 sized back by quit-window. (Bug#11880) and (Bug#12091)
4771
4772 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
4773
4774 Fix file time stamp problem with bzr and CVS (Bug#12001).
4775 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
4776 in the file's time stamp, since the version control system loses
4777 that information.
4778
4779 2012-08-22 Juri Linkov <juri@jurta.org>
4780
4781 * info.el (Info-fontify-node): Hide the suffix of the
4782 Info file name in the header line. (Bug#12187)
4783
4784 2012-08-22 Glenn Morris <rgm@gnu.org>
4785
4786 * calendar/cal-tex.el (cal-tex-weekly-common):
4787 Restore leading blank page.
4788
4789 2012-08-22 Le Wang <l26wang@gmail.com>
4790
4791 * misc.el (forward-to-word, backward-to-word): Activate or extend
4792 the region under `shift-select-mode'. (Bug#12231)
4793
4794 2012-08-22 Bastien Guerry <bzg@gnu.org>
4795
4796 * progmodes/executable.el (executable-prefix): Set to "#!" instead
4797 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
4798 gives details on why the space is never needed.
4799
4800 2012-08-22 Martin Rudalics <rudalics@gmx.at>
4801
4802 * window.el (walk-window-tree, window-with-parameter):
4803 New optional argument MINIBUF to control whether these functions
4804 should run on the minibuffer window.
4805 (window-at-side-list): Don't operate on minibuffer window.
4806 (window-in-direction): Simplify and rewrite doc-string.
4807 (window--size-ignore): Rename to window--size-ignore-p.
4808 Update callers.
4809 (display-buffer-in-atom-window, window--major-non-side-window)
4810 (window--major-side-window, display-buffer-in-major-side-window)
4811 (delete-side-window, display-buffer-in-side-window):
4812 New functions.
4813 (window--side-check, window-deletable-p, delete-window)
4814 (delete-other-windows, split-window): Handle side windows and
4815 atomic windows appropriately.
4816 (window--display-buffer): Call display-buffer-record-window also
4817 when the window buffer did not change.
4818
4819 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
4820
4821 * help-fns.el (help-fns--key-bindings):
4822 Abbreviate non-symbol remap targets. (Bug#12174)
4823
4824 2012-08-22 Martin Rudalics <rudalics@gmx.at>
4825
4826 * dired.el (dired-mark-remembered): Don't clobber point.
4827 (Bug#11795)
4828
4829 2012-08-22 Glenn Morris <rgm@gnu.org>
4830
4831 * progmodes/bug-reference.el (bug-reference): New custom group.
4832 (bug-reference-bug-regexp): Make it a defcustom.
4833
4834 2012-08-22 Daiki Ueno <ueno@unixuser.org>
4835
4836 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
4837 (js-paren-indent-offset, js-square-indent-offset)
4838 (js-curly-indent-offset): Add :safe (Bug#12257).
4839
4840 2012-08-22 Edward O'Connor <hober0@gmail.com>
4841
4842 * json.el (json-key-format): Add error properties.
4843 (json-encode-key): New function.
4844 (json-encode-hash-table, json-encode-alist, json-encode-plist):
4845 Use json-encode-key.
4846
4847 2012-08-22 Glenn Morris <rgm@gnu.org>
4848
4849 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
4850 (cal-tex-leftday, cal-tex-rightday): Remove functions.
4851 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
4852 Update for above change.
4853
4854 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
4855
4856 * cus-face.el (custom-face-attributes): Fix customize type for the
4857 :underline attribute. (Bug#11805)
4858
4859 2012-08-21 Martin Rudalics <rudalics@gmx.at>
4860
4861 * window.el (window-point-1, set-window-point-1): Remove.
4862 (window-in-direction, record-window-buffer)
4863 (set-window-buffer-start-and-point, split-window-below)
4864 (window--state-get-1, display-buffer-record-window):
4865 Replace calls to window-point-1 and set-window-point-1 by calls to
4866 window-point and set-window-point respectively.
4867
4868 2012-08-21 Glenn Morris <rgm@gnu.org>
4869
4870 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
4871 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
4872 Use it.
4873
4874 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
4875 (cal-tex-shortday): New function.
4876 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
4877 (cal-tex-cursor-filofax-daily): Use the above.
4878
4879 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
4880 New functions.
4881 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
4882 (cal-tex-cursor-filofax-week): Use them.
4883
4884 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
4885 New constants.
4886 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
4887 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
4888
4889 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
4890 (cal-tex-end-document): Don't rely on buffer name.
4891
4892 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
4893 Use cal-tex-vspace.
4894 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
4895 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
4896 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
4897 Use cal-tex-arg.
4898
4899 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
4900 (cal-tex-cursor-week, cal-tex-cursor-week2)
4901 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
4902 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
4903 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
4904 (cal-tex-insert-preamble, cal-tex-b-document)
4905 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
4906 Improve cal-tex-cmd usage.
4907
4908 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
4909 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
4910 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
4911 (cal-tex-weekly-paper): New function.
4912 (cal-tex-cursor-week, cal-tex-cursor-week2)
4913 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
4914 (cal-tex-cursor-day): Use it.
4915
4916 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
4917 (cal-tex-cursor-filofax-week): Remove leading blank page.
4918
4919 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
4920 Add autoload cookie. For now at least, don't use color, since
4921 no other cal-tex function does.
4922
4923 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
4924 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
4925 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
4926
4927 2012-08-21 Juri Linkov <juri@jurta.org>
4928
4929 * info.el (Info-file-attributes): New variable.
4930 (info-insert-file-contents): Add file attributes to
4931 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
4932 `Info-toc-nodes' when previous modtime of the Info file is less
4933 than new modtime.
4934 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
4935 of info.el. (Bug#12230)
4936
4937 2012-08-20 Glenn Morris <rgm@gnu.org>
4938
4939 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
4940 * calendar/holidays.el (calendar-holiday-list):
4941 Report errors with display-warning rather than beep'n'sleep.
4942
4943 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
4944
4945 * net/tramp.el (tramp-accept-process-output): Accept only output
4946 from PROC. Otherwise, process filters and sentinels might be
4947 confused. (Bug#12145)
4948
4949 2012-08-20 Chong Yidong <cyd@gnu.org>
4950
4951 * descr-text.el (describe-text-properties-1): Use overlays-in to
4952 report on empty overlays (Bug#3322).
4953
4954 2012-08-20 Glenn Morris <rgm@gnu.org>
4955
4956 * mail/rmailout.el (rmail-output-read-file-name):
4957 Trap and report errors in rmail-output-file-alist elements.
4958
4959 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
4960 since most non-font-lock faces are not also variables).
4961
4962 2012-08-20 Edward Reingold <reingold@iit.edu>
4963
4964 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
4965 New function. (Bug12160)
4966
4967 2012-08-19 Glenn Morris <rgm@gnu.org>
4968
4969 * mail/rmailout.el (rmail-output-read-file-name):
4970 Fix previous change (when the alist is nil or does not match).
4971
4972 2012-08-19 Chong Yidong <cyd@gnu.org>
4973
4974 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
4975 (Bug#12228).
4976
4977 2012-08-18 Chong Yidong <cyd@gnu.org>
4978
4979 * simple.el (yank-handled-properties): New defcustom.
4980 (yank-excluded-properties): Add font-lock-face and category.
4981 (yank): Doc fix.
4982
4983 * subr.el (remove-yank-excluded-properties):
4984 Obey yank-handled-properties. The special handling of font-lock-face
4985 and category is now done this way, instead of being hard-coded.
4986 (insert-for-yank-1): Remove font-lock-face handling.
4987 (yank-handle-font-lock-face-property)
4988 (yank-handle-category-property): New function.
4989
4990 2012-08-17 Glenn Morris <rgm@gnu.org>
4991
4992 * mail/rmailout.el (rmail-output-read-file-name):
4993 Check rmail-output-file-alist against the full message body
4994 in the correct rmail buffer. (Bug#12214)
4995
4996 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
4997
4998 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4999 Eliminate superfluous prompt. (Bug#12203)
5000
5001 2012-08-17 Chong Yidong <cyd@gnu.org>
5002
5003 * mouse.el (mouse-appearance-menu): If x-select-font returns a
5004 font spec, set the font directly (Bug#3228).
5005
5006 2012-08-17 Martin Rudalics <rudalics@gmx.at>
5007
5008 * window.el (delete-window): Fix last fix.
5009
5010 2012-08-16 Martin Rudalics <rudalics@gmx.at>
5011
5012 * window.el (window-valid-p): Move to window.c.
5013 (window-child, window-child-count, window-last-child)
5014 (window-normalize-window, window-combined-p)
5015 (window-combinations, window-atom-root, window-min-size)
5016 (window-sizable, window-sizable-p, window-size-fixed-p)
5017 (window-min-delta, window-max-delta, window--resizable)
5018 (window--resizable-p, window-resizable, window-total-size)
5019 (window-full-height-p, window-full-width-p, window-body-size)
5020 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
5021 (minimize-window, window-deletable-p, delete-window)
5022 (delete-other-windows, set-window-buffer-start-and-point)
5023 (next-buffer, previous-buffer, split-window, balance-windows-2)
5024 (set-window-text-height, window-buffer-height)
5025 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
5026 (truncated-partial-width-window-p): Minor code adjustments.
5027 In doc-strings state whether the argument window has to denote a
5028 live, valid or any window.
5029
5030 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
5031
5032 * progmodes/subword.el (subword-forward-function)
5033 (subword-backward-function, subword-forward-regexp)
5034 (subword-backward-regexp): New variables.
5035 (subword-forward, subword-forward-internal, subword-backward-internal):
5036 Use new variables, eg so that different "word" definitions
5037 can be easily used. (Bug#11411)
5038
5039 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5040
5041 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
5042 for composite selectors.
5043 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
5044 operation just because we can't find a previous revision.
5045
5046 2012-08-15 Chong Yidong <cyd@gnu.org>
5047
5048 * frame.el (set-frame-font): Accept font objects.
5049
5050 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5051
5052 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
5053
5054 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
5055
5056 * man.el (Man-overstrike-face, Man-underline-face)
5057 (Man-reverse-face): Remove variables.
5058 (Man-overstrike, Man-underline, Man-reverse): New faces.
5059 (Man-fontify-manpage): Use them instead of the variables.
5060 (Man-cleanup-manpage): Comment change.
5061 (Man-ansi-color-map): New variable.
5062 (Man-fontify-manpage): Use it.
5063 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
5064
5065 Implement ANSI SGR parameters 22-27 (bug#12146).
5066 * ansi-color.el (ansi-colors): Doc fix.
5067 (ansi-color-context, ansi-color-context-region): Doc fix.
5068 (ansi-color--find-face): New function.
5069 (ansi-color-apply, ansi-color-apply-on-region): Use it.
5070 Rename the local variable `face' to `codes' since it is now a list of
5071 ansi codes. Doc fix.
5072 (ansi-color-get-face): Remove.
5073 (ansi-color-parse-sequence): New function, derived from
5074 ansi-color-get-face.
5075 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
5076 codes 22-27.
5077
5078 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
5079
5080 * subr.el (read-passwd): Allow use from a minibuffer.
5081
5082 2012-08-14 Eli Zaretskii <eliz@gnu.org>
5083
5084 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
5085 inside comments and strings as identifiers.
5086
5087 * progmodes/gud.el (gud-tooltip-print-command): Quote the
5088 expression to evaluate. This allows to evaluate expressions with
5089 embedded whitespace.
5090 (gud-tooltip-tips): Add a blank before the newline in the
5091 message-box text, for the benefit of message-box emulation on
5092 MS-Windows.
5093
5094 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
5095 messages from GDB, pop them up in a tooltip to give feedback to
5096 user.
5097 (gdb-tooltip-print-1): Quote the expression to evaluate.
5098 This allows to evaluate expressions with embedded whitespace.
5099 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
5100 if the TTY name is nil or empty (which happens when communicating
5101 with the inferior via pipes, e.g. on MS-Windows).
5102 (gdb-internals): If GDB sends a "&\n" empty debugging message,
5103 don't send that to the GUD buffer.
5104
5105 2012-08-14 Glenn Morris <rgm@gnu.org>
5106
5107 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
5108 Optimize away setq-default with no args, as for setq. (Bug#12195)
5109
5110 2012-08-14 Chong Yidong <cyd@gnu.org>
5111
5112 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
5113
5114 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
5115 (Bug#12085).
5116
5117 2012-08-14 Glenn Morris <rgm@gnu.org>
5118
5119 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
5120
5121 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
5122
5123 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
5124 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5125 Use cached shell name.
5126
5127 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
5128
5129 * progmodes/python.el (python-shell-send-string):
5130 (python-shell-send-setup-code): Do not use `format' with `message'.
5131
5132 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
5133
5134 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
5135 (ruby-percent-literal-beg-re): New constant.
5136 (ruby-syntax-general-delimiters-goto-beg): Rename to
5137 `ruby-syntax-enclosing-percent-literal', improve literal type check.
5138 (ruby-syntax-propertize-general-delimiters): Rename to
5139 `ruby-syntax-propertize-percent-literal', it's a shorter and more
5140 popular term. Adjust comments everywhere.
5141 (ruby-syntax-propertize-percent-literal): Only propertize when not
5142 inside a simple string or comment. When the literal is unclosed,
5143 leave the text after it unpropertized.
5144 (ruby-syntax-methods-before-regexp): New constant.
5145 (ruby-syntax-propertize-function): Use it to recognize regexps.
5146 Don't look at the text after regexp, just use the whitelist.
5147
5148 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
5149
5150 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
5151 non-nil always load the compiled file if it exists. (Bug#12197)
5152
5153 2012-08-14 Chong Yidong <cyd@gnu.org>
5154
5155 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
5156 (hi-lock-set-pattern): When deciding whether to use font lock or
5157 overlays, look at font-lock-mode instead of font-lock-fontified
5158 (Bug#12168).
5159 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
5160 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
5161
5162 2012-08-14 Daiki Ueno <ueno@unixuser.org>
5163
5164 * subr.el (internal--after-with-selected-window): Fix typo
5165 (Bug#12193).
5166
5167 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
5168
5169 Use `completion-table-dynamic' for completion functions.
5170 * progmodes/python.el
5171 (python-shell-completion--do-completion-at-point)
5172 (python-shell-completion--get-completions):
5173 Remove functions.
5174 (python-shell-completion-complete-at-point): New function.
5175 (python-completion-complete-at-point): Use it.
5176
5177 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
5178
5179 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
5180 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
5181
5182 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5183
5184 * subr.el (function-get): Refine `autoload' arg so it can also
5185 autoload functions for gv.el (bug#12191).
5186 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
5187 autoloads macros.
5188
5189 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
5190 Prefer pcase-let over destructuring-bind.
5191 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
5192 Also, remove whitespace as we go, rather than after accumulating the
5193 various places.
5194
5195 * subr.el (internal--before-with-selected-window)
5196 (internal--after-with-selected-window): Fix typo seleted->selected.
5197 (with-selected-window): Adjust callers.
5198 Reported by Dmitry Gutov <dgutov@yandex.ru>.
5199
5200 2012-08-13 Bastien Guerry <bzg@gnu.org>
5201
5202 * window.el (special-display-popup-frame): Minor docstring
5203 enhancement. (Bug#12172)
5204
5205 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
5206
5207 * tar-mode.el (tar-header-data-end): Only ignore size for files of
5208 type 1-6.
5209 (tar-header-block-summarize, tar-get-descriptor): Handle pax
5210 extended headers.
5211
5212 * files.el (hack-local-variables-filter): Remove useless eval.
5213
5214 2012-08-13 Martin Rudalics <rudalics@gmx.at>
5215
5216 * subr.el (with-selected-window): Fix last change.
5217
5218 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5219
5220 * subr.el (internal--before-with-seleted-window)
5221 (internal--after-with-seleted-window): New functions.
5222 (with-selected-window): Use them, to replace dependency on
5223 tty-top-frame.
5224
5225 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
5226
5227 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
5228 binding for `newline'.
5229 (ruby-move-to-block): When moving backward, stop at block opening,
5230 not indentation.
5231 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
5232 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
5233 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
5234 `ruby-toggle-block'.
5235
5236 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5237
5238 * ibuffer.el (ibuffer-do-toggle-read-only):
5239 * dired.el (dired-toggle-read-only):
5240 * buff-menu.el (Buffer-menu-toggle-read-only):
5241 * bindings.el (mode-line-toggle-read-only):
5242 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
5243
5244 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
5245
5246 * descr-text.el (describe-char): Put the overlays over the
5247 "displayed as" character.
5248
5249 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
5250
5251 * calc/calc-units.el (math-default-units-table): Give an
5252 initial value.
5253 (math-put-default-units): Add options to put composite units and
5254 unit systems in the default units table.
5255 (calc-convert-units): Send composite units to
5256 `math-put-default-units' when appropriate.
5257
5258 2012-08-11 Glenn Morris <rgm@gnu.org>
5259
5260 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
5261
5262 * tutorial.el (help-with-tutorial):
5263 * emacs-lisp/copyright.el (copyright-update-directory):
5264 * emacs-lisp/autoload.el (autoload-find-generated-file)
5265 (autoload-find-file): Disable local eval: (for insurance).
5266
5267 * files.el (hack-local-variables-filter): If an eval: form is not
5268 known to be safe, and enable-local-variables is :safe, then ignore
5269 the form totally, as is done for non-eval forms. (Bug#12155)
5270 This is CVE-2012-3479.
5271
5272 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
5273
5274 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
5275 (rx-form): Simplify.
5276
5277 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
5278
5279 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
5280 ?, _, and : are symbol constituents, ! is not (but kinda should be).
5281 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
5282 (ruby-syntax-propertize-function): Adjust for changes in
5283 `ruby-syntax-propertize-heredoc'.
5284
5285 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
5286
5287 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
5288 binding (use `M-;' instead).
5289 (ruby-singleton-class-p): New function.
5290 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
5291
5292 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
5293
5294 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
5295
5296 2012-08-10 Chong Yidong <cyd@gnu.org>
5297
5298 * progmodes/python.el (python-shell-get-process-name): Don't mess
5299 with same-window-buffer-names.
5300
5301 * eshell/eshell.el (eshell-add-to-window-buffer-names)
5302 (eshell-remove-from-window-buffer-names): Make obsolete.
5303 (eshell-buffer-name, eshell-unload-hook): Don't use them.
5304 (eshell): Just use pop-to-buffer-same-window instead.
5305
5306 2012-08-10 Chong Yidong <cyd@gnu.org>
5307
5308 * bindings.el: Bind M-= back to count-words-region.
5309
5310 * simple.el (count-words-region): Accept a prefix arg for acting
5311 on the entire buffer.
5312 (count-words--buffer-message): New helper function.
5313
5314 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
5315
5316 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
5317 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
5318 (event-start, event-end): Use posn-at-point to return a more
5319 informative posn.
5320 (posnp): New function.
5321 * mouse.el (popup-menu-normalize-position): Use it.
5322
5323 2012-08-10 Masatake YAMATO <yamato@redhat.com>
5324
5325 * mouse.el (popup-menu-normalize-position): New function.
5326 (popup-menu): Use `popup-menu-normalize-position' to normalize
5327 the form for POSITION argument.
5328
5329 * term/x-win.el (x-menu-bar-open):
5330 Use the value returend from (posn-at-point) as position
5331 passed to `popup-menu'.
5332
5333 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
5334
5335 * calc/calccomp.el (math-compose-expr): Add extra argument
5336 indicating that parentheses should be put around products in
5337 denominators. Give multiplication precedence over division during
5338 composition.
5339
5340 2012-08-09 Chong Yidong <cyd@gnu.org>
5341
5342 * man.el (Man-switches, Man-sed-command, Man-awk-command)
5343 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
5344 (Man-untabify-command, manual-program): Convert to defcustom
5345 (Bug#10429).
5346
5347 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
5348
5349 * descr-text.el (describe-char): Don't insert extra newlines
5350 (Bug#10127).
5351
5352 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
5353 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
5354
5355 * align.el (align-region): Delete temporary markers (Bug#10047).
5356 Plus some code cleanups.
5357
5358 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
5359
5360 * progmodes/python.el (python-pdbtrack-tracked-buffer)
5361 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
5362 (python-shell-internal-last-output): Use make-local-variable
5363 instead of make-variable-buffer-local.
5364
5365 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
5366
5367 * progmodes/python.el: Enhancements to forward-sexp.
5368 (python-nav-forward-sexp): Rename from
5369 python-nav-forward-sexp-function.
5370 (python-nav--forward-sexp, python-nav--backward-sexp):
5371 New functions.
5372
5373 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
5374
5375 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
5376 modes and simplification modes.
5377
5378 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5379
5380 * delsel.el (delete-selection-pre-hook): Don't propagate the
5381 file-supersession signals (bug#12161).
5382
5383 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5384
5385 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
5386 (cl-map-extents): Add compatibility aliases (bug#12135).
5387
5388 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
5389
5390 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
5391 tests by `ignore-error'.
5392 (tramp-find-shell): Open also a new shell, when cache is already
5393 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
5394
5395 2012-08-08 Juri Linkov <juri@jurta.org>
5396
5397 * bookmark.el: Add `defaults' property to the bookmark record.
5398 (bookmark-current-buffer): Doc fix.
5399 (bookmark-make-record): Add `defaults' property with default values
5400 to the bookmark record.
5401 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
5402 with `bookmark-insert-current-bookmark'.
5403 (bookmark-set): Get `defaults' property from the bookmark record
5404 and use it in `read-from-minibuffer'.
5405 (bookmark-insert-current-bookmark): Remove function.
5406
5407 * info.el (Info-bookmark-make-record): Add `defaults' property
5408 with values of canonical Info node name, the current Info file
5409 name and the current Info node name. (Bug#12107)
5410
5411 2012-08-08 Juri Linkov <juri@jurta.org>
5412
5413 * files.el (basic-save-buffer): Use `buffer-name' as the default
5414 of `read-file-name' when buffer is not visiting a file (bug#12128).
5415
5416 2012-08-08 Juri Linkov <juri@jurta.org>
5417
5418 * info.el (Info-isearch-search): Doc fix.
5419 (Info-search): Change search-failed message from "initial node" to
5420 "end of node" (bug#12078).
5421 (Info-isearch-search): Change `isearch-string-state' to
5422 `isearch--state-string'.
5423
5424 2012-08-08 Glenn Morris <rgm@gnu.org>
5425
5426 * language/persian.el: Remove file.
5427 * language/misc-lang.el: Move unique part of persian.el here.
5428 * loadup.el: Remove language/persian.
5429
5430 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
5431
5432 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
5433
5434 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
5435
5436 * progmodes/python.el Fixed defsubst warning.
5437 (python-syntax-context) Rename from python-info-ppss-context.
5438 (python-syntax-context-type): Rename from
5439 python-info-ppss-context-type.
5440 (python-syntax-comment-or-string-p): Rename from
5441 python-info-ppss-comment-or-string-p.
5442
5443 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
5444
5445 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
5446
5447 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
5448
5449 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
5450 a defcustom that is quoted with backquote.
5451
5452 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
5453 Fix handling of interactive spec when the body uses return.
5454 (math-do-arg-check, math-define-function-body): Use backquote forms.
5455 * calc/calc-ext.el (math-defcache): Likewise.
5456 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
5457 * allout.el (allout-new-exposure): Likewise.
5458 * calc/calcalg2.el (math-tracing-integral): Likewise.
5459 * info.el (Info-last-menu-item): Likewise.
5460 * emulation/vip.el (vip-loop): Likewise.
5461 * textmodes/artist.el (artist-funcall): Likewise.
5462 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
5463 Construct menu-item directly.
5464
5465 * progmodes/autoconf.el (font-lock-syntactic-keywords):
5466 Don't declare.
5467
5468 2012-08-07 Chong Yidong <cyd@gnu.org>
5469
5470 * simple.el (deactivate-mark): Preserve text properties when
5471 saving the primary selection (Bug#8384).
5472
5473 2012-08-07 Kevin Ryde <user42@zip.com.au>
5474
5475 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
5476 (woman-parse-numeric-value): On a bad .IP line, issue a warning
5477 and continue processing (Bug#12110).
5478
5479 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
5480
5481 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
5482 syntax-propertize-function (bug#10095).
5483
5484 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
5485
5486 * help-fns.el (help-fns--key-bindings, help-fns--signature)
5487 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
5488 describe-function-1.
5489 (describe-function-1): Use them. Move compiler macro after sig.
5490 (help-fns--compiler-macro): Use function-get. Assume we're already in
5491 standard-output. Adjust layout to new call order.
5492
5493 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
5494 re-binding a symbol that has a symbol-macro (bug#12119).
5495
5496 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
5497
5498 * language/persian.el: New file. (Bug#11812)
5499 * loadup.el: Add language/persian.el.
5500
5501 2012-08-06 Chong Yidong <cyd@gnu.org>
5502
5503 * window.el (window--maybe-raise-frame): New function.
5504 (window--display-buffer): Split off from here.
5505 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5506 (display-buffer-pop-up-window, display-buffer-use-some-window):
5507 Obey an inhibit-switch-frame action alist entry.
5508 (display-buffer): Update doc.
5509
5510 * replace.el (occur-after-change-function): Avoid losing focus by
5511 using the inhibit-switch-frame display parameter (Bug#12139).
5512
5513 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
5514
5515 Make internal shell process buffer names start with space.
5516 * progmodes/python.el (python-shell-make-comint): Add optional
5517 argument INTERNAL.
5518 (run-python-internal): Use it.
5519 (python-shell-internal-get-or-create-process): Check for new
5520 internal buffer names.
5521
5522 2012-08-06 Glenn Morris <rgm@gnu.org>
5523
5524 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5525 Do less getting and setting of environment variables.
5526
5527 2012-08-05 Chong Yidong <cyd@gnu.org>
5528
5529 * proced.el (proced): Add substitution string to docstring to
5530 trigger autoloading of the proced library on C-h f (Bug#1768).
5531
5532 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5533 Don't show defvars which have no second argument (Bug#8638).
5534
5535 * imenu.el (imenu-generic-expression): Move documentation here
5536 from imenu--generic-function.
5537 (imenu--generic-function): Refer to imenu-generic-expression.
5538
5539 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
5540
5541 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
5542 indentation declaration.
5543 (viper-loop): Add indentation declaration (Bug#7025).
5544
5545 2012-08-05 Chong Yidong <cyd@gnu.org>
5546
5547 * help-fns.el (describe-variable): Add hyperlink for
5548 directory-local variables files. Improve buffer-local and
5549 permanent-local reporting; suggested by MON KEY (Bug#6644).
5550
5551 * help-mode.el (help-dir-local-var-def): New button type.
5552
5553 * files.el (kill-buffer-hook): Provide a defvar.
5554
5555 2012-08-05 Glenn Morris <rgm@gnu.org>
5556
5557 * eshell/esh-ext.el (eshell/addpath):
5558 Also update eshell-path-env. (Bug#12013)
5559
5560 2012-08-05 Chong Yidong <cyd@gnu.org>
5561
5562 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
5563
5564 * fringe.el (fringe-styles): Add docstring.
5565 (fringe--check-mode): New function.
5566 (set-fringe-mode, set-fringe-style): Use it.
5567 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
5568
5569 * files.el (set-auto-mode): Fix invalid setq call.
5570
5571 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5572
5573 * isearch.el: Misc simplification; use defstruct.
5574 (isearch-mode-map): Dense maps now work like sparse ones.
5575 (isearch--state): New defstruct.
5576 (isearch-string-state, isearch-message-state, isearch-point-state)
5577 (isearch-success-state, isearch-forward-state)
5578 (isearch-other-end-state, isearch-word-state, isearch-error-state)
5579 (isearch-wrapped-state, isearch-barrier-state)
5580 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
5581 replaced by defstruct's accessors.
5582 (isearch--set-state): Rename from isearch-top-state and change
5583 calling convention.
5584 (isearch-push-state): Use new isearch--get-state.
5585 (isearch-toggle-word): Disable regexp when enabling word.
5586 (isearch-message-prefix): Remove unused arg _c-q-hack.
5587 (isearch-message-suffix): Remove unused arg _ellipsis.
5588
5589 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
5590
5591 * simple.el (list-processes--refresh): For a server use :host or
5592 :local as the address.
5593 (list-processes): Doc fix.
5594
5595 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
5596
5597 * lisp/mpc.el: Support password in host argument.
5598 (mpc--proc-connect): Parse and use new password element.
5599 Set mpc-proc variable instead of returning process.
5600 (mpc-proc): Adjust accordingly.
5601
5602 2012-08-03 Eli Zaretskii <eliz@gnu.org>
5603
5604 * whitespace.el (whitespace-display-mappings): Use Unicode
5605 codepoints, instead of emacs-mule codepoints. See
5606 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
5607 for the details.
5608
5609 * files.el (file-truename): Don't skip symlink-chasing part on
5610 windows-nt. Incorporate the resolution of 8+3 short aliases on
5611 Windows into the loop that recursively chases symlinks.
5612 Compare directory and its parent case-insensitively on MS-Windows and
5613 MS-DOS.
5614
5615 2012-08-03 Chong Yidong <cyd@gnu.org>
5616
5617 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
5618
5619 * sort.el (sort-regexp-fields): Doc fix.
5620
5621 2012-08-03 Tassilo Horn <tsdh@gnu.org>
5622
5623 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
5624 labels regex position point at the expected place.
5625
5626 2012-08-03 MON KEY <monkey@sandpframing.com>
5627
5628 * net/imap.el (imap-interactive-login, imap-authenticate)
5629 (imap-mailbox-lsub, imap-mailbox-list)
5630 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
5631 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
5632 (imap-parse-response): Doc fix.
5633
5634 2012-08-03 João Távora <joaotavora@gmail.com>
5635
5636 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
5637 if sexp scanning does not move point (Bug#5734).
5638
5639 2012-08-02 Tassilo Horn <tsdh@gnu.org>
5640
5641 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
5642 Add listings, minted, and ctable packages.
5643 (reftex-label-alist-builtin): Move listings, minted, and ctable
5644 entries before LaTeX.
5645 (reftex-label-alist): Docfix.
5646
5647 2012-08-02 Bastien Guerry <bzg@gnu.org>
5648
5649 * replace.el (occur): Fix docstring (bug#12122).
5650
5651 2012-08-02 Glenn Morris <rgm@gnu.org>
5652
5653 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
5654
5655 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
5656
5657 Obsolete alias inactivate-current-input-method-function (Bug#10150).
5658 * international/mule-cmds.el: Create
5659 inactivate-current-input-method-function as an obsolete alias for
5660 deactivate-current-input-method-function. See Katsumi Yamaoka in
5661 <http://bugs.gnu.org/10150#46>.
5662
5663 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
5664
5665 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
5666 of nested `if's.
5667
5668 2012-08-01 Glenn Morris <rgm@gnu.org>
5669
5670 * progmodes/autoconf.el (autoconf-definition-regexp):
5671 Add AH_TEMPLATE, adjust submatch numbering.
5672 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
5673 (autoconf-current-defun-function): Update for above change.
5674 (autoconf-current-defun-function): First skip to end of current word.
5675
5676 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
5677
5678 * calendar/cal-html.el (cal-html-insert-agenda-days):
5679 Fix typo. (Bug#12018)
5680
5681 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
5682
5683 Shell processes: enhancements to startup and CEDET compatibility.
5684 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
5685 (python-shell-make-comint): accept-process-output at startup.
5686 (run-python-internal): Set inferior-python-mode-hook to nil.
5687 (python-shell-internal-get-or-create-process): call sit-for.
5688 (python-preoutput-result): Add obsolete alias.
5689 (python-shell-internal-send-string): Use it.
5690 (python-shell-send-setup-code): Remove call to
5691 accept-process-output.
5692
5693 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
5694
5695 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
5696 (Bug#12108)
5697
5698 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
5699
5700 * calc-mode.el (calc-basic-simplification-mode): Rename from
5701 `calc-limited-simplification-mode'.
5702 (calc-alg-simplification-mode): New function.
5703 (calc-set-simplify-mode): Adjust message.
5704
5705 * calc.el (calc-set-mode-line): Adjust mode line display for
5706 basic simplification mode.
5707
5708 * calc-help.el (calc-m-prefix-help): Update help message.
5709
5710 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
5711 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
5712
5713 2012-07-31 Bastien Guerry <bzg@gnu.org>
5714
5715 * man.el (man): Fix comment. (bug#12101)
5716
5717 2012-07-31 Martin Rudalics <rudalics@gmx.at>
5718
5719 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
5720 Don't return a non-nil value when no suitable buffer was found.
5721
5722 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
5723
5724 * progmodes/python.el (run-python-internal): Disable font lock for
5725 internal shells.
5726
5727 2012-07-30 Stefan Merten <smerten@oekonux.de>
5728
5729 * textmodes/rst.el: Silence `checkdoc-ispell'.
5730 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
5731 (rst-official-version, rst-official-cvs-rev)
5732 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
5733 (rst-mode-map): New key binding.
5734
5735 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
5736
5737 Update .PHONY listings in makefiles.
5738 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
5739 autoloads, update-subdirs, updates, bzr-update, update-authors,
5740 compile-onefile, compile-calc, backup-compiled-files,
5741 compile-after-backup, compile-one-process, mh-autoloads,
5742 bootstrap-clean, distclean, maintainer-clean.
5743
5744 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
5745
5746 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
5747 (calc-set-mode-line): Don't display "AlgSimp ".
5748
5749 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
5750 (calc-lim-simplify-mode): New function.
5751 (calc-set-simplify-mode): Default to 'alg.
5752 (calc-default-simplify-mode): Make algebraic simplifications
5753 the default.
5754
5755 * calc/calc-ext.el (calc-init-extensions): Remove binding for
5756 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
5757
5758 * calc/calc-help.el (calc-m-prefix-help): Change messages to
5759 indicate new simplification modes.
5760
5761 * calc/README: Mention new default simplification mode.
5762
5763 * calc/calc.el (math-normalize-error): New variable.
5764 (math-normalize): Set `math-normalize-error' to t
5765 when there's an error.
5766
5767 * calc/calc-alg.el (math-simplify): Don't simplify when
5768 `math-normalize' returns an error.
5769
5770 2012-07-29 Eli Zaretskii <eliz@gnu.org>
5771
5772 * international/mule-cmds.el (set-locale-environment): Revert last
5773 change, since display-graphic-p returns nil when this function is
5774 called during startup. Instead...
5775
5776 * term/w32console.el (terminal-init-w32console): ...setup the
5777 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
5778
5779 2012-07-29 Juri Linkov <juri@jurta.org>
5780
5781 * simple.el (goto-line): Don't display default line number in the
5782 prompt because it should be displayed by `read-number' (bug#9952).
5783 Add the current line number to the defaults of `goto-line' to
5784 allow its easier modification by users with `M-n' (bug#9201).
5785
5786 * subr.el (read-number): Support multiple default values like in
5787 other minibuffer reading functions. Replace `read' with
5788 `string-to-number' for consistency with `number-to-string'.
5789
5790 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
5791
5792 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
5793 * emulation/viper-init.el (viper-deactivate-input-method-action):
5794 Rename from viper-inactivate-input-method-action.
5795 (viper-deactivate-input-method):
5796 Rename from viper-inactivate-input-method.
5797 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
5798 * international/mule-cmds.el (deactivate-input-method):
5799 Rename from inactivate-input-method.
5800 Also run input-method-deactivate-hook.
5801 (deactivate-current-input-method-function):
5802 Rename from inactivate-current-input-method-function.
5803 (input-method-deactivate-hook): New hook.
5804 (input-method-inactivate-hook): Mark obsolete.
5805 (inactivate-input-method): Mark obsolete.
5806
5807 * international/quail.el (quail-activate):
5808 Also run quail-deactivate-hook.
5809 (quail-deactivate): Rename from quail-inactivate.
5810 * international/robin.el (robin-activate):
5811 Also run robin-deactivate-hook.
5812 (robin-deactivate): Rename from robin-inactivate.
5813
5814 2012-07-29 Chong Yidong <cyd@gnu.org>
5815
5816 * simple.el (indicate-copied-region): New function.
5817 (kill-ring-save): Split off from here.
5818
5819 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
5820 (kill-rectangle): Set deactivate-mark to t on read-only error.
5821
5822 * register.el (copy-to-register, copy-rectangle-to-register):
5823 Deactivate the mark, and use indicate-copied-region (Bug#10056).
5824 (append-to-register, prepend-to-register): Call indicate-copied-region.
5825
5826 2012-07-29 Juri Linkov <juri@jurta.org>
5827
5828 * simple.el (async-shell-command-buffer): New defcustom.
5829 (shell-command): Use it. (Bug#4719)
5830
5831 2012-07-28 Eli Zaretskii <eliz@gnu.org>
5832
5833 * international/mule-cmds.el (set-locale-environment): In a
5834 console session on MS-Windows, set up keyboard and terminal
5835 encoding from the OEM codepage, not the ANSI codepage.
5836 (Bug#12055)
5837
5838 2012-07-28 Chong Yidong <cyd@gnu.org>
5839
5840 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
5841 gdb-get-location.
5842
5843 2012-07-28 Leo Liu <sdl.web@gmail.com>
5844
5845 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
5846 the alist (bug#12029).
5847
5848 2012-07-28 Eli Zaretskii <eliz@gnu.org>
5849
5850 * makefile.w32-in (custom-deps, finder-data, updates, compile)
5851 (compile-always, compile-first)
5852 ($(lisp)/calendar/cal-loaddefs.el)
5853 ($(lisp)/calendar/diary-loaddefs.el)
5854 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
5855 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
5856 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
5857 instead of on update-subdirs.
5858 (bootstrap-clean): Delete $(lisp)/subdirs.el.
5859
5860 2012-07-28 Chong Yidong <cyd@gnu.org>
5861
5862 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
5863 directory if vc-deduce-backend returns nil (Bug#7350).
5864
5865 * simple.el (delete-trailing-lines): New option.
5866 (delete-trailing-whitespace): Obey it (Bug#11879).
5867
5868 2012-07-28 David Engster <deng@randomsample.de>
5869
5870 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
5871 Explanation of new 'symbol-qnames feature in doc-strings.
5872 (xml-maybe-do-ns): Return expanded names as plain symbols if
5873 'symbol-qnames was provided in XML-NS argument (Bug#11916).
5874 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
5875
5876 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
5877
5878 Consistent completion in inferior python with emacs -nw.
5879 * progmodes/python.el (inferior-python-mode): replace "<tab>"
5880 binding in inferior-python-mode-map with "\t".
5881 (python-shell-completion-complete-at-point)
5882 (python-completion-complete-at-point): Remove interactive spec.
5883
5884 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
5885
5886 * calc/calccomp.el (math-compose-expr): Undo previous change.
5887
5888 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
5889
5890 * progmodes/python.el (python-mode-map): Add keybinding for
5891 run-python.
5892 (python-shell-make-comint): Fix pop-to-buffer call.
5893 (run-python): Autoload. New arg SHOW.
5894 (python-shell-get-or-create-process): Do not pop python process
5895 buffer.
5896
5897 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
5898
5899 * notifications.el (notifications-on-action-signal)
5900 (notifications-on-closed-signal): Use also the bus address for the map.
5901 (notifications-notify, notifications-close-notification)
5902 (notifications-get-capabilities): Add optional argument BUS.
5903
5904 2012-07-27 Tassilo Horn <tsdh@gnu.org>
5905
5906 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5907 Add support for the lstlisting and minted environments, and for the
5908 ctable macro.
5909 * textmodes/reftex.el (reftex-compile-variables): Also recognize
5910 labels written in keyvals syntax.
5911
5912 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
5913
5914 * calc/calccomp.el (math-compose-expr): Use parentheses when
5915 there is a product in the denominator of a fraction.
5916
5917 2012-07-26 Eli Zaretskii <eliz@gnu.org>
5918
5919 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
5920 ($(lisp)/calendar/diary-loaddefs.el)
5921 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
5922 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
5923 Fixes failures in parallel bootstrap because subdirs.el is being
5924 rewritten while the autoload files are built at the same time,
5925 which needs to load subdirs.el.
5926
5927 2012-07-26 Martin Rudalics <rudalics@gmx.at>
5928
5929 * mouse.el (popup-menu): Fix doc-string and re-indent code.
5930 (mouse-drag-line): Don't exit tracking when a switch-frame or
5931 switch-window event occurs (Bug#12006).
5932
5933 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5934
5935 * mouse.el (popup-menu): Fix last change.
5936
5937 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5938
5939 Autoload from Lisp with more care. Follow aliases when looking for
5940 function properties.
5941 * subr.el (autoloadp): New function.
5942 (symbol-file): Use it.
5943 (function-get): New function.
5944 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
5945 autoload-do-load.
5946 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
5947 (lisp-indent-function):
5948 * emacs-lisp/gv.el (gv-get):
5949 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
5950 * emacs-lisp/byte-opt.el (byte-optimize-form):
5951 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
5952 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
5953 Use function-get.
5954 * emacs-lisp/cl.el: Don't propagate function properties any more.
5955
5956 * speedbar.el (speedbar-add-localized-speedbar-support):
5957 * emacs-lisp/disass.el (disassemble-internal):
5958 * desktop.el (desktop-load-file):
5959 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
5960 (describe-function-1):
5961 * emacs-lisp/find-func.el (find-function-noselect):
5962 * emacs-lisp/elp.el (elp-instrument-function):
5963 * emacs-lisp/advice.el (ad-has-proper-definition):
5964 * apropos.el (apropos-safe-documentation, apropos-macrop):
5965 * emacs-lisp/debug.el (debug-on-entry):
5966 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
5967 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
5968 * calc/calc.el (name): Use autoloadp & autoload-do-load.
5969
5970 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
5971
5972 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
5973 function, not an obsolete variable (Bug#12046).
5974
5975 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
5976
5977 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
5978
5979 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
5980
5981 * emacs-lisp/pp.el (pp-display-expression): Select old selected
5982 window only if it is still live (Bug#12034).
5983
5984 2012-07-25 Martin Rudalics <rudalics@gmx.at>
5985
5986 * subr.el (redirect-frame-focus): Add advertised calling
5987 convention (Bug#12030).
5988
5989 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
5990
5991 Prefer typical American spelling for "acknowledgment".
5992 * vc/add-log.el (change-log-acknowledgment): Rename from
5993 change-log-acknowledgement, with an alias for the old name.
5994
5995 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
5996
5997 * calc-alg.el (math-simplify-divide): Don't cross multiply
5998 in an equation when the lhs is a variable.
5999
6000 2012-07-24 Julien Danjou <julien@danjou.info>
6001
6002 * net/netrc.el (netrc-find-service-number, netrc-store-data):
6003 Remove, unused.
6004
6005 2012-07-23 Eli Zaretskii <eliz@gnu.org>
6006
6007 * startup.el (command-line): Don't display an empty user name in
6008 the error message about non-existent home directory, when
6009 init-file-user was set to an empty string. See
6010 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
6011 for the details and context.
6012
6013 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
6014
6015 * ses.el (ses-cell-formula-aset): New macro.
6016 (ses-cell-references-aset): New macro.
6017 (ses-cell-p): New function.
6018 (ses-rename-cell): Do no longer rely on complex operations like
6019 ses-cell-set-formula or ses-set-cell to change the cell and handle
6020 the undo at the same time, but rather use lower level new macros
6021 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
6022 the undo directly. Refresh the mode line.
6023
6024 2012-07-21 Leo Liu <sdl.web@gmail.com>
6025
6026 * progmodes/cc-cmds.el (c-defun-name):
6027 Use match-string-no-properties instead for consistency.
6028
6029 2012-07-20 Leo Liu <sdl.web@gmail.com>
6030
6031 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
6032 (Bug#7879)
6033
6034 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
6035
6036 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
6037
6038 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
6039 * progmodes/bug-reference.el, misearch.el: Provide themselves
6040 (bug#11915).
6041
6042 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
6043 of narrowed buffer (bug#11966).
6044
6045 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
6046
6047 * ses.el (ses-rename-cell): Set new name also in reference list of
6048 cells of which the renamed cell depends.
6049
6050 2012-07-20 Masatake YAMATO <yamato@redhat.com>
6051
6052 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
6053 to check whether menu-bar is shown or not. If not shown,
6054 show the menu-bar as a popup menu instead of using tmm.
6055 * mouse.el (popup-menu): Accept `point' as `position' argument.
6056
6057 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
6058
6059 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
6060 up inside string symbol literal (bug#11923).
6061
6062 2012-07-20 Eli Zaretskii <eliz@gnu.org>
6063
6064 * startup.el (fancy-startup-text): Read the whole tutorial, not
6065 just its first 256 bytes. Prevents gibberish in display of the
6066 tutorial title.
6067
6068 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
6069
6070 Drop idle buffer compaction due to an absence of the
6071 proved efficiency.
6072 * compact.el: Remove.
6073
6074 2012-07-19 Sam Steingold <sds@gnu.org>
6075
6076 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
6077 vc-bzr-pull & vc-bzr-merge-branch.
6078 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
6079 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
6080 for consistency with compilation-error-regexp-alist.
6081 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
6082 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
6083 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
6084 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
6085
6086 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
6087
6088 * emacs-lisp/chart.el: Use lexical-binding.
6089 (chart-emacs-storage): Don't hardcode the list of entries.
6090
6091 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
6092
6093 Next round of tweaks caused by Fgarbage_collect changes.
6094 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
6095
6096 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
6097
6098 Compact buffers when idle.
6099 * compact.el: New file.
6100
6101 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
6102
6103 * subr.el (eventp): Presume that if it looks vaguely like an event,
6104 it's an event (bug#10190).
6105
6106 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
6107
6108 Enhancements to ppss related code (thanks Stefan).
6109 * progmodes/python.el (python-indent-context)
6110 (python-indent-calculate-indentation, python-indent-dedent-line)
6111 (python-indent-electric-colon, python-nav-forward-block)
6112 (python-mode-abbrev-table)
6113 (python-info-assignment-continuation-line-p): Simplify checks
6114 for ppss context.
6115 (python-info-continuation-line-p): Cleanup.
6116 (python-info-ppss-context): Do not catch 'quote.
6117 (python-info-ppss-context-type)
6118 (python-info-ppss-comment-or-string-p): Simplify.
6119
6120 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
6121
6122 * progmodes/python.el: Enhancements to eldoc support.
6123 (python-info-current-symbol): New function.
6124 (python-eldoc-at-point): Use python-info-current-symbol.
6125 (python-info-current-defun): Fix cornercase on first defun scan.
6126 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
6127 and signal error when no inferior python process is available.
6128
6129 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
6130
6131 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
6132 assume it's always t.
6133 (vc-git-registered): Remove caching, the function is only called
6134 once.
6135 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
6136
6137 2012-07-18 Chong Yidong <cyd@gnu.org>
6138
6139 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
6140
6141 * simple.el (count-words): Report on narrowing (Bug#9959).
6142
6143 * bindings.el: Bind M-= to count-words.
6144
6145 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
6146
6147 2012-07-18 Masatake YAMATO <yamato@redhat.com>
6148
6149 * progmodes/sh-script.el (sh-imenu-generic-expression):
6150 Capture a function with `function' keyword and without parentheses
6151 like "function FOO" (bug#11856).
6152
6153 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
6154
6155 * window.el (split-window-sensibly): Make WINDOW argument
6156 optional.
6157
6158 2012-07-18 Chong Yidong <cyd@gnu.org>
6159
6160 * subr.el (keyboard-translate): Doc fix (Bug#7261).
6161
6162 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
6163 and make C-x 8 RET exit isearch (Bug#11439).
6164
6165 * international/iso-transl.el: Move isearch-mode-map key
6166 definitions to isearch.el.
6167
6168 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
6169
6170 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
6171 (eieio-defclass): Use gv-define-setter when possible.
6172
6173 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
6174
6175 Reflect recent changes in Fgarbage_collect.
6176 * emacs-lisp/chart.el (chart-emacs-storage): Change to
6177 reflect new format of data returned by Fgarbage_collect.
6178
6179 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
6180
6181 New utility functions + python-info-ppss-context fix (Bug#11910).
6182 * progmodes/python.el (python-info-beginning-of-block-statement-p)
6183 (python-info-ppss-comment-or-string-p): New functions.
6184 (python-info-ppss-context): Small fix for string check.
6185
6186 2012-07-17 Juri Linkov <juri@jurta.org>
6187
6188 * dired-aux.el (dired-do-async-shell-command): Doc fix.
6189 (dired-do-async-shell-command): Don't add `*' at the end of the
6190 command (Bug#11815).
6191 (dired-do-shell-command): Doc fix.
6192 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
6193 Join the individual commands using either "&" or ";" as the
6194 separator depending on the values of these trailing characters.
6195 At the end re-add the trailing "&". (Bug#10598)
6196
6197 * simple.el (async-shell-command): Sync the interactive spec with
6198 `shell-command'. Doc fix.
6199 (shell-command): Doc fix.
6200
6201 2012-07-17 Juri Linkov <juri@jurta.org>
6202
6203 * descr-text.el (describe-char): Fix format args. (Bug#10129)
6204
6205 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
6206
6207 Final renames and doc fixes for movement commands (bug#11899).
6208 * progmodes/python.el (python-nav-beginning-of-statement):
6209 Rename from python-nav-statement-start.
6210 (python-nav-end-of-statement): Rename from
6211 python-nav-statement-end.
6212 (python-nav-beginning-of-block): Rename from
6213 python-nav-block-start.
6214 (python-nav-end-of-block): Rename from python-nav-block-end.
6215
6216 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
6217
6218 * progmodes/python.el (python-shell-send-string-no-output):
6219 Allow accept-process-output to quit, keeping shell process ready for
6220 future interactions (Bug#11868).
6221
6222 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
6223
6224 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
6225
6226 * emacs-lisp/elint.el (elint-find-args-in-code):
6227 Use help-function-arglist, so as to handle lexical byte-code.
6228
6229 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
6230 change (bug#11826).
6231
6232 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
6233
6234 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
6235 Avoid spuriously marking the buffer as modified because of c-is-sws.
6236
6237 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
6238 as not-a-comment (bug#11946).
6239
6240 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
6241 for uninterned vars.
6242
6243 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
6244 Use read-event since we don't really want to read chars but bytes.
6245
6246 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
6247 $$..$$ but also $..$ using regexps (bug#11953).
6248 Use tex-verbatim for \url and \path.
6249 (tex-font-lock-keywords): Define as defconst like the others.
6250 (tex-common-initialization): Don't use font-lock-syntax-table any more.
6251
6252 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
6253
6254 * international/mule-cmds.el (ucs-insert): Make it an obsolete
6255 alias for insert-char.
6256
6257 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
6258
6259 * progmodes/python.el: Simplified imenu implementation.
6260 (python-nav-jump-to-defun): Remove command.
6261 (python-mode-map): Use `imenu' instead.
6262 (python-nav-list-defun-positions-cache)
6263 (python-imenu-include-defun-type, python-imenu-make-tree)
6264 (python-imenu-subtree-root-label, python-imenu-index-alist):
6265 Remove vars.
6266 (python-nav-list-defun-positions, python-nav-read-defun)
6267 (python-imenu-tree-assoc, python-imenu-make-element-tree)
6268 (python-imenu-make-tree, python-imenu-create-index):
6269 Remove functions.
6270 (python-mode): Update to interact with imenu by setting
6271 `imenu-extract-index-name-function' only.
6272
6273 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
6274
6275 * progmodes/python.el: Enhancements to navigation commands.
6276 (python-nav-backward-sentence)
6277 (python-nav-forward-sentence): Remove.
6278 (python-nav-backward-statement, python-nav-forward-statement)
6279 (python-nav-statement-start, python-nav-statement-end)
6280 (python-nav-backward-block, python-nav-forward-block)
6281 (python-nav-block-start, python-nav-block-end)
6282 (python-nav-forward-sexp-function)
6283 (python-info-current-line-comment-p)
6284 (python-info-current-line-empty-p): New functions.
6285 (python-indent-context): Use `python-nav-statement-start'.
6286
6287 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
6288
6289 * eshell/em-ls.el (eshell/ls): Use `apply'.
6290
6291 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
6292 multi-hops, instead of Tramp internals.
6293
6294 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
6295
6296 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
6297 when F1 and F2 are located on different hosts.
6298
6299 2012-07-14 Chong Yidong <cyd@gnu.org>
6300
6301 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
6302 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
6303 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
6304 (xterm-mouse--read-event-sequence-1000)
6305 (xterm-mouse--read-event-sequence-1006): New functions. For old
6306 mouse protocol, handle M-mouse-X events correctly.
6307 (xterm-mouse-event): New arg specifying mouse protocol.
6308 (turn-on-xterm-mouse-tracking-on-terminal)
6309 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
6310 sequence to toggle extended coordinates on newer XTerms.
6311 This appears to be harmless on terminals which do not support this.
6312
6313 2012-07-14 Leo Liu <sdl.web@gmail.com>
6314
6315 Add fringe bitmap indicators for flymake. (Bug#11253)
6316 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
6317 (flymake-make-overlay): New arg BITMAP.
6318 (flymake-error-bitmap, flymake-warning-bitmap)
6319 (flymake-fringe-indicator-position): New user variables.
6320
6321 * fringe.el: New bitmap exclamation-mark.
6322
6323 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
6324
6325 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
6326 also (Bug#7879).
6327
6328 2012-07-14 Chong Yidong <cyd@gnu.org>
6329
6330 * electric.el (electric-pair-post-self-insert-function): Fix pair
6331 insertion in empty-region case (Bug#11520).
6332
6333 2012-07-14 Chong Yidong <cyd@gnu.org>
6334
6335 * bindings.el: Consolidate ctl-x-r-map bindings.
6336 Bind copy-rectangle-as-kill to C-x r w.
6337
6338 * rect.el, register.el: Move bindings to bindings.el.
6339
6340 2012-07-14 Reuben Thomas <rrt@sc3d.org>
6341
6342 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
6343
6344 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
6345
6346 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
6347
6348 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
6349
6350 * bindings.el (top): Use `mapc' instead of `mapcar'.
6351
6352 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
6353
6354 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
6355
6356 * progmodes/sql.el (sql-comint): Suppress the check for program on
6357 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
6358 (Bug#11908)
6359
6360 2012-07-13 Chong Yidong <cyd@gnu.org>
6361
6362 * bindings.el: Assign a non-nil permanent-local property to
6363 per-buffer variables which lack a default value (Bug#11930).
6364
6365 * help-fns.el (describe-variable): In the "automatically becomes
6366 local" notice, take note of permanent-local variables.
6367
6368 2012-07-13 Chong Yidong <cyd@gnu.org>
6369
6370 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
6371 to allow printing the message when called from Lisp.
6372
6373 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6374 Remove toggle-read-only.
6375
6376 * bs.el (bs-toggle-readonly):
6377 * buff-menu.el (Buffer-menu-toggle-read-only):
6378 Remove with-no-warnings around toggle-read-only.
6379
6380 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
6381 Remove with-no-warnings around toggle-read-only.
6382 (ffap-read-only, ffap-read-only-other-window)
6383 (ffap-read-only-other-frame): Callers changed.
6384
6385 * help-mode.el: Don't require view package.
6386 (help-mode-finish): Set buffer-read-only instead of calling
6387 toggle-read-only.
6388
6389 * bindings.el (mode-line-toggle-read-only):
6390 * dired.el (dired-toggle-read-only):
6391 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
6392 with non-nil second arg.
6393
6394 * emacs-lisp/eieio-custom.el (eieio-customize-object):
6395 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
6396 directly.
6397
6398 2012-07-12 Eli Zaretskii <eliz@gnu.org>
6399
6400 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
6401 not incf.
6402
6403 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
6404
6405 More CL cleanups and reduction of use of cl.el.
6406 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
6407 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
6408 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
6409 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
6410 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
6411 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
6412 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
6413 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
6414 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
6415 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
6416 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
6417 * eshell/em-cmpl.el, eshell/em-banner.el:
6418 * calendar/parse-time.el: Use cl-lib.
6419 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
6420 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
6421 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
6422 * term/ns-win.el, term.el, shell.el, ps-samp.el:
6423 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
6424 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
6425 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
6426 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
6427 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
6428 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
6429 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
6430 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
6431 `lambda' rather than with `quote'.
6432 (eshell-do-opt): Adjust accordingly.
6433 (eshell-process-option): Simplify.
6434 * eshell/esh-var.el:
6435 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
6436 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
6437 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
6438 to `pcase--dontcare'.
6439 * emacs-lisp/cl.el (labels): Mark obsolete.
6440 (cl--letf, letf): Move to cl-lib.
6441 (cl--letf*, letf*): Remove.
6442 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
6443 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
6444 (cl-progv): Rewrite.
6445 (cl--letf, cl-letf): Move from cl.el.
6446 (cl-letf*): New macro.
6447 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
6448
6449 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
6450
6451 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
6452
6453 2012-07-11 Chong Yidong <cyd@gnu.org>
6454
6455 * vc/log-edit.el (log-edit-vc-backend): New variable.
6456 (log-edit): Doc fix.
6457
6458 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
6459 argument of log-edit to set up all local variables.
6460 (vc-start-logentry): New optional arg specifying VC backend.
6461
6462 * vc/vc.el (vc-checkin): Use it.
6463 (vc-deduce-fileset): Handle Log Edit buffers.
6464 (vc-diff): Make first argument optional too.
6465
6466 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
6467
6468 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
6469
6470 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
6471 command, just in case. The function is not needed anymore.
6472 (eshell-external-command): Do not call `eshell-remote-command'.
6473
6474 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
6475
6476 Reduce use of (require 'cl).
6477 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
6478 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
6479 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
6480 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
6481 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
6482 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
6483 * battery.el, avoid.el, abbrev.el: Use cl-lib.
6484 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
6485 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
6486 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
6487 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
6488 * calculator.el, autorevert.el, apropos.el: Don't require CL.
6489 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
6490 (byte-compile-unfold-bcf, byte-compile-check-variable):
6491 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
6492 (byte-compile-nilconstp):
6493 * emacs-lisp/autoload.el (make-autoload): Use pcase.
6494 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
6495
6496 * emacs-lisp/gv.el (cond): Make it a valid place.
6497 (if): Simplify slightly.
6498
6499 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
6500 (pcase--self-quoting-p): New function.
6501 (pcase--u1): Use it.
6502
6503 2012-07-10 Glenn Morris <rgm@gnu.org>
6504
6505 * emacs-lisp/authors.el (authors-fixed-entries):
6506 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
6507
6508 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
6509
6510 Rename configure.in to configure.ac (Bug#11603).
6511 * emacs-lisp/authors.el (authors-canonical-file-name):
6512 * progmodes/autoconf.el (autoconf-mode):
6513 Prefer configure.ac to configure.in.
6514
6515 2012-07-08 Chong Yidong <cyd@gnu.org>
6516
6517 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
6518 Implement the mouse-1-click-follows-link handling properly.
6519
6520 * info.el (Info-link-keymap): Use follow-link mechanism for
6521 header-line links (Bug#374).
6522
6523 * simple.el (deactivate-mark): Do not set the primary selection
6524 if another program has acquired it (Bug#11772).
6525
6526 2012-07-07 Kevin Ryde <user42@zip.com.au>
6527
6528 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
6529 (woman-decode-region): Replace escaped-escapes without destroying
6530 bold or underline (Bug#11552).
6531 (woman2-process-escapes): Handle nofill regions (Bug#11591).
6532
6533 2012-07-07 Chong Yidong <cyd@gnu.org>
6534
6535 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
6536 (interprogram-cut-function, interprogram-paste-function):
6537 Mention that we typically mean the clipboard.
6538
6539 2012-07-06 Glenn Morris <rgm@gnu.org>
6540
6541 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
6542
6543 * files.el (toggle-read-only): Restrict message to interactive use.
6544
6545 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
6546
6547 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
6548
6549 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
6550
6551 2012-07-06 Glenn Morris <rgm@gnu.org>
6552
6553 * Makefile.in (compile-one-process): Rename from "recompile".
6554
6555 * Makefile.in (bzr-update): "compile" is the same as "recompile
6556 autoloads", but parallelizable, so use that instead.
6557
6558 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
6559
6560 * window.el (quit-window): Always restore window height when
6561 it's saved in quit-restore parameter (Bug#11810).
6562
6563 2012-07-06 Glenn Morris <rgm@gnu.org>
6564
6565 * simple.el (kill-whole-line): Doc tweak.
6566
6567 2012-07-06 Eli Zaretskii <eliz@gnu.org>
6568
6569 * files.el (file-relative-name): Compare file names
6570 case-insensitively if on MS-Windows or MS-DOS, or if
6571 read-file-name-completion-ignore-case is non-nil. Don't use
6572 case-fold-search for this purpose. (Bug#11827)
6573
6574 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
6575
6576 * calendar/cal-dst.el (calendar-current-time-zone):
6577 Return calendar-current-time-zone-cache if non-nil.
6578
6579 2012-07-17 Masatake YAMATO <yamato@redhat.com>
6580 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
6581
6582 * calendar/cal-dst.el (calendar-current-time-zone):
6583 Return calendar-current-time-zone-cache if non-nil.
6584
6585 2012-07-06 Glenn Morris <rgm@gnu.org>
6586
6587 * Makefile.in (cvs-update): Remove old alias.
6588
6589 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
6590
6591 Sync with Tramp 2.2.6-pre.
6592
6593 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
6594 compatible declaration.
6595
6596 * net/tramp-cmds.el (tramp-append-tramp-buffers):
6597 Protect `list-load-path-shadows' call.
6598
6599 * net/tramp-compat.el (top): Require packages, which aren't
6600 autoloaded anymore for XEmacs. Protect call of
6601 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
6602 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
6603 it hurts at least for SXEmacs.
6604 (tramp-compat-temporary-file-directory): In XEmacs, there is no
6605 standard-value for `temporary-file-directory'.
6606
6607 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
6608 Redirect stderr to /dev/null.
6609 (tramp-sh-handle-write-region): uid and gid can be floats.
6610 Reported by Russell Sim <russell.sim@gmail.com>.
6611 (tramp-sh-handle-vc-registered): Hide errors.
6612 (tramp-vc-file-name-handler): Use dummy results for `process-file'
6613 and `start-file-process'.
6614 (tramp-maybe-open-connection): Check also whether `non-essential'
6615 is bound.
6616
6617 2012-07-04 Chong Yidong <cyd@gnu.org>
6618
6619 * xml.el (xml--parse-buffer): Use xml-syntax-table.
6620 (xml-parse-tag): Likewise, and avoid changing entity tables.
6621 (xml-syntax-table): Define from scratch, making sure not to give
6622 x2000 and other Unicode spaces whitespace syntax, since those are
6623 not spaces in XML.
6624 (xml-parse-fragment): Delete unused function.
6625 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
6626 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
6627 (xml-entity-ref, xml-pe-reference-re)
6628 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
6629 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
6630 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
6631 (xml-entity-value-re): Use syntax references in regexps where
6632 possible; no need to define inside a let-binding.
6633 (xml-parse-dtd): Use xml-pe-reference-re.
6634 (xml-entity-or-char-ref-re): New defconst.
6635 (xml-parse-string, xml-substitute-special): Use it.
6636
6637 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
6638
6639 * files.el (locate-dominating-file): Allow `name' to be a predicate.
6640 (find-file--read-only): New function.
6641 (find-file-read-only, find-file-read-only-other-window)
6642 (find-file-read-only-other-frame): Use it.
6643 (insert-file-contents-literally): Don't `fset'.
6644 (get-free-disk-space): Use locate-dominating-file.
6645
6646 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
6647 function is already compiled.
6648
6649 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
6650
6651 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
6652
6653 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
6654 files on the same host.
6655
6656 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
6657
6658 * help-fns.el (describe-function-1): Only call
6659 help-fns--autoloaded-p when we have a file name. (Bug#11848)
6660
6661 2012-07-03 Chong Yidong <cyd@gnu.org>
6662
6663 * xml.el: Protect parser against XML bombs.
6664 (xml-entity-expansion-limit): New variable.
6665 (xml-parse-string, xml-substitute-special): Use it.
6666 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
6667
6668 2012-07-03 Glenn Morris <rgm@gnu.org>
6669
6670 * progmodes/bug-reference.el (bug-reference-bug-regexp):
6671 Allow linking to specific messages in debbugs reports (eg 123#5).
6672
6673 2012-07-02 Chong Yidong <cyd@gnu.org>
6674
6675 * xml.el: Fix entity and character reference expansion, allowing
6676 them to expand into markup as per XML spec.
6677 (xml-default-ns): New variable.
6678 (xml-entity-alist): Use XML spec definitions for lt and amp.
6679 (xml-parse-region): Make first two arguments optional.
6680 Discard text properties.
6681 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
6682 All callers changed.
6683 (xml-parse-tag): Call xml-parse-tag-1. For backward
6684 compatibility, this function should not modify buffer contents.
6685 (xml-parse-tag-1): Fix opening-tag regexp.
6686 (xml-parse-string): Rewrite, handling entity and character
6687 references properly.
6688 (xml--entity-replacement-text): Signal an error if a parameter
6689 entity is undefined.
6690
6691 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
6692
6693 * comint.el (comint-output-filter): Filter out repeated prompts.
6694
6695 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
6696 and file-name-absolute-p.
6697 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
6698 internal calls.
6699
6700 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
6701
6702 Spelling fixes.
6703 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
6704 Rename from byte-compile--refiy-function. All uses changed.
6705
6706 2012-07-01 Chong Yidong <cyd@gnu.org>
6707
6708 * xml.el (xml--parse-buffer): New function. Move most of
6709 xml-parse-region here.
6710 (xml-parse-region): Copy region into a temporary buffer, since
6711 parameter entity substitution requires changing buffer contents.
6712 Use xml--parse-buffer.
6713 (xml-parse-file): Use xml--parse-buffer.
6714 (xml-parse-dtd): Make parameter entity substitution work right.
6715 Use proper regexps for ELEMENT declarations (Bug#7172).
6716
6717 2012-06-30 Glenn Morris <rgm@gnu.org>
6718
6719 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
6720
6721 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
6722 Remove outdated and unnecessary dbus declarations.
6723
6724 2012-06-30 Eli Zaretskii <eliz@gnu.org>
6725
6726 * emacs-lisp/timer.el (timer-until): Subtract results of
6727 float-time, instead of taking float-time of the result of
6728 time-subtract, since float-time signals an error for negative time
6729 arguments.
6730
6731 2012-06-30 Chong Yidong <cyd@gnu.org>
6732
6733 * xml.el (xml-*-re): Convert defvars into defconsts, and
6734 eval-and-compile them so eval-and-compile works on derivatives.
6735 (xml--entity-replacement-text): Use eval-and-comple.
6736
6737 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
6738
6739 * vc/vc-git.el (vc-git-registered): Use cache property
6740 `git-registered'.
6741 (vc-git-mode-line-string): Call `vc-working-revision' instead of
6742 `vc-git-working-revision' in order to benefit from the cache.
6743 (vc-git-root): Use cache property `git-root'. (Bug#11757)
6744
6745 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
6746
6747 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
6748 removed (likely outside Emacs). (Bug#11757)
6749
6750 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
6751
6752 * emacs-lisp/cl-lib.el: Require macroexp.
6753
6754 2012-06-30 Chong Yidong <cyd@gnu.org>
6755
6756 * xml.el: Implement XML parameter entities.
6757 (xml-parameter-entity-alist): New variable.
6758 (xml-parse-region, xml-parse-fragment): Preserve previous values
6759 of xml-entity-alist and xml-parameter-entity-alist, so that
6760 repeated calls on different documents do not change them.
6761 (xml-parse-tag): Fix doctype regexp.
6762 (xml--entity-replacement-text): New function.
6763 (xml-parse-dtd): Use it. Don't handle system entities; doing that
6764 properly requires url retrieval which is unimplemented.
6765 (xml-escape-string): Doc fix.
6766
6767 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
6768
6769 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
6770
6771 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
6772
6773 * fringe.el (fringe-mode): Doc fix.
6774
6775 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
6776
6777 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
6778 is non-nil.
6779 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
6780 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
6781
6782 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
6783
6784 * calendar/cal-dst.el (calendar-current-time-zone):
6785 Return calendar-current-time-zone-cache if non-nil.
6786
6787 2012-06-29 Masatake YAMATO <yamato@redhat.com>
6788
6789 * progmodes/which-func.el (which-func-format):
6790 Add mouse-face. (Bug#11698)
6791
6792 2012-06-29 Leo Liu <sdl.web@gmail.com>
6793
6794 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
6795
6796 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
6797
6798 * minibuffer.el (minibuffer-confirm-exit-commands):
6799 Add completion-at-point (bug#11725).
6800
6801 2012-06-29 Glenn Morris <rgm@gnu.org>
6802
6803 * progmodes/f90.el (f90-font-lock-keywords-2):
6804 Add some preprocessor elements. (Bug#10499)
6805
6806 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
6807
6808 * progmodes/cperl-mode.el (cperl-update-syntaxification):
6809 Use syntax-propertize (bug#11739).
6810
6811 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
6812
6813 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
6814
6815 2012-06-28 Julien Danjou <julien@danjou.info>
6816
6817 * term.el (term-handle-colors-array): Use a set of new faces to
6818 color the terminal. Also uses :inverse-video property.
6819 (term-default-fg-color): Set to nil by default, deprecate in favor
6820 of `term-face'.
6821 (term-default-bg-color): Set to nil by default, deprecate in favor
6822 of `term-face'.
6823 (term-current-face): Use `term-face' by default.
6824 (term-bold-attribute): Variable deleted.
6825
6826 2012-06-28 Glenn Morris <rgm@gnu.org>
6827
6828 * simple.el (completion-list-mode-finish):
6829 Don't use toggle-read-only. (Since completion-list-mode has
6830 a special mode-class, it wasn't doing anything extra anyway.)
6831
6832 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
6833
6834 Make inlining of other-mode interpreted functions work (bug#11799).
6835 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
6836 (byte-compile): Use it to fix compilation of lexical-binding closures.
6837 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
6838 function, if needed.
6839
6840 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
6841
6842 * help-mode.el (help-make-xrefs): Don't just withstand
6843 cyclic-variable-indirection but any error in documentation-property.
6844
6845 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
6846 memory use.
6847 * bindings.el (bindings--define-key): New function.
6848 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
6849 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
6850 * bindings.el: Use it to purecopy define-key bindings.
6851
6852 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
6853
6854 * emacs-lisp/cl.el (flet): Mark obsolete.
6855 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
6856 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
6857 * progmodes/js.el (js-c-fill-paragraph):
6858 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
6859 (ebrowse-switch-member-buffer-to-derived-class):
6860 * play/5x5.el (5x5-solver): Use cl-flet.
6861
6862 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
6863 (cl--symbol-function): New macro.
6864 (cl--letf, cl--letf*): Use it.
6865
6866 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
6867 Strip "toggle-" if any.
6868
6869 2012-06-27 Glenn Morris <rgm@gnu.org>
6870
6871 * info.el (Info-default-directory-list): Move here from paths.el.
6872 * paths.el: Remove file, which is now empty.
6873 * loadup.el: No longer load "paths".
6874
6875 * custom.el (custom-initialize-delay): Doc fix.
6876
6877 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6878 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
6879 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
6880 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
6881 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
6882 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
6883 * eshell/eshell.el (eshell-defgroup): Remove alias.
6884
6885 2012-06-27 Chong Yidong <cyd@gnu.org>
6886
6887 * help.el (help-enable-auto-load): New variable.
6888
6889 * help-fns.el (help-fns--autoloaded-p): New function.
6890 (describe-function-1): Refer to a function as "autoloaded" if it
6891 was autoloaded at any time in the past. Perform autoloading if
6892 help-enable-auto-load is non-nil.
6893
6894 2012-06-26 Eli Zaretskii <eliz@gnu.org>
6895
6896 * makefile.w32-in (compile, compile-always): Depend on
6897 update-subdirs, not on subdirs.el. Otherwise, several different
6898 sub-targets of 'bootstrap' running in parallel could
6899 simultaneously write to subdirs.el, producing a garbled file.
6900
6901 2012-06-26 Sam Steingold <sds@gnu.org>
6902
6903 * files.el (file-name-base): New convenience function.
6904 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
6905 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
6906 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
6907 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
6908 * textmodes/ispell.el, textmodes/reftex-ref.el:
6909 * textmodes/tex-mode.el: Use it.
6910 Did not touch cedet and org because they are maintained elsewhere.
6911
6912 2012-06-26 Martin Rudalics <rudalics@gmx.at>
6913
6914 * calendar/calendar.el (calendar-exit): Don't try to delete or
6915 iconify last frame. See:
6916 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
6917
6918 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
6919
6920 * server.el (server-process-filter): Remember dir in the
6921 process's `server-client-directory' properties.
6922
6923 2012-06-24 Chong Yidong <cyd@gnu.org>
6924
6925 * xml.el (xml-parse-tag): Correctly handle comment embedded in
6926 non-tag text.
6927
6928 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
6929
6930 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
6931
6932 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
6933
6934 * help-fns.el (describe-variable): Don't croak when doc is not found.
6935 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
6936 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
6937 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
6938 * emacs-lisp/smie.el (smie-next-sexp): CSE.
6939 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
6940 ((lambda ..) ..).
6941 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
6942
6943 2012-06-23 Chong Yidong <cyd@gnu.org>
6944
6945 * info.el (Info-mouse-follow-link): Accept symbol values of
6946 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
6947 (Info-fontify-node): Use Info-link-keymap for all navigation
6948 buttons, with link-args property to perform the desired action.
6949 (Info-link-keymap): Doc fix.
6950 (Info-next-link-keymap, Info-prev-link-keymap)
6951 (Info-up-link-keymap): Delete now-unused keymaps.
6952
6953 2012-06-23 Chong Yidong <cyd@gnu.org>
6954
6955 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
6956
6957 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
6958 system abbrevs.
6959
6960 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
6961
6962 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
6963
6964 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
6965 (bug#11719).
6966
6967 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
6968 the requote function doesn't work properly (bug#11714).
6969
6970 2012-06-23 Glenn Morris <rgm@gnu.org>
6971
6972 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
6973
6974 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6975
6976 Further GV/CL cleanups.
6977 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
6978 gv-expander.
6979 (gv--defun-declaration): New function.
6980 (defun-declarations-alist): Use it.
6981 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
6982 (gv-place): Autoload.
6983 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
6984 original definition of dotimes and dolist.
6985 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
6986 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
6987 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
6988 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
6989 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
6990 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
6991 to the function's definition.
6992 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
6993 * window.el:
6994 * files.el:
6995 * faces.el:
6996 * env.el: Don't use CL.
6997
6998 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
6999
7000 Support higher-resolution time stamps (Bug#9000).
7001
7002 * calendar/time-date.el (with-decoded-time-value): New arg
7003 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
7004 (encode-time-value): New optional arg PICO. New type 3.
7005 (time-to-seconds) [!float-time]: Support the new picoseconds
7006 component if it's used.
7007 (seconds-to-time, time-subtract, time-add):
7008 Support ps-resolution time stamps as well.
7009
7010 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
7011 (timerp): Timer vectors now have length 9, not 8.
7012 (timer--time): Support new-style (4-part) time stamps.
7013 (timer-next-integral-multiple-of-time): Time stamps now have
7014 picosecond resolution, so take a bit more care about rounding.
7015 (timer-relative-time, timer-inc-time): New optional arg psecs.
7016 (timer-set-time-with-usecs): Set psecs to 0.
7017 (timer--activate): Check psecs component, too.
7018
7019 * proced.el (proced-time-lessp): Support ps-resolution stamps.
7020
7021 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7022
7023 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
7024 Move the non-essential binding to the post/pre-command-hook where it is
7025 more obviously correct.
7026
7027 * subr.el (read-passwd): Don't use a history at all.
7028 * savehist.el (savehist-save): Remove password saved accidentally
7029 because of the above bug.
7030
7031 2012-06-22 Bastien Guerry <bzg@gnu.org>
7032
7033 * files.el (toggle-read-only): Display a message telling whether
7034 the buffer is read-only or not (bug#11726).
7035
7036 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7037
7038 * emacs-lisp/gv.el: New file.
7039 * subr.el (push, pop): Extend to generalized variables.
7040 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
7041 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
7042 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
7043 gv-define-simple-setter, and gv-define-expander.
7044 Remove setf-methods defined in gv. Rename cl-setf -> setf.
7045 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
7046 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
7047 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
7048 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
7049 gv-letplace.
7050 (cl-defstruct): Don't define setf-method any more.
7051 * emacs-lisp/cl.el (flet): Don't autoload.
7052 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
7053 (define-setf-expander, defsetf, define-modify-macro)
7054 (cl-struct-setf-expander): Move from cl-lib.el.
7055 * emacs-lisp/syntax.el:
7056 * emacs-lisp/ewoc.el:
7057 * emacs-lisp/smie.el:
7058 * emacs-lisp/cconv.el:
7059 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
7060 (timer--time): Use gv-define-simple-setter.
7061 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
7062 to avoid coding-system problems in subr.el. Adjust all users.
7063 (macroexp--maxsize, macroexp-small-p): New functions.
7064 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
7065 * scroll-bar.el (scroll-bar-mode):
7066 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
7067 (normal-erase-is-backspace-mode): Don't use the `eq' place.
7068 * winner.el (winner-configuration, winner-make-point-alist)
7069 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
7070 * files.el (locate-file-completion-table): Avoid list*.
7071
7072 2012-06-22 Chong Yidong <cyd@gnu.org>
7073
7074 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
7075 (dired-create-files): Doc fix (Bug#11329).
7076 (dired-do-copy): Doc fix (Bug#11334).
7077 (dired-mark-read-string): Doc fix (Bug#11553).
7078
7079 * dired.el (dired-recursive-copies, dired-recursive-deletes):
7080 Doc fix (Bug#11326).
7081 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
7082 (dired-dwim-target): Doc fix.
7083
7084 * wdired.el (wdired-mode): Doc fix.
7085
7086 2012-06-22 Glenn Morris <rgm@gnu.org>
7087
7088 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
7089 (pcmpl-rpm-cache-stamp-file): New constant.
7090 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
7091 (pcmpl-rpm-packages): Optionally cache list of packages.
7092
7093 * pcmpl-rpm.el (pcmpl-rpm): New group.
7094 (pcmpl-rpm-query-options): New option.
7095 (pcmpl-rpm-packages): No need to inline it.
7096 Use pcmpl-rpm-query-options.
7097
7098 * calendar/calendar.el (calendar-in-read-only-buffer):
7099 Avoid some needless mode changes.
7100
7101 2012-06-21 Chong Yidong <cyd@gnu.org>
7102
7103 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
7104 (desktop-path): Remove . from the default value (Bug#10977).
7105 (desktop-read): Use user-emacs-directory if desktop-path is nil.
7106
7107 2012-06-20 Chong Yidong <cyd@gnu.org>
7108
7109 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
7110
7111 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
7112
7113 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
7114 (bug#11201).
7115
7116 2012-06-20 Chong Yidong <cyd@gnu.org>
7117
7118 * term.el (term-window-width): Handle the case of a missing right
7119 fringe (Bug#8837).
7120 (term-check-size): Use window-text-height (Bug#5445).
7121 (term-mode): Use define-derived-mode. Minor cleanups.
7122 Set font-lock-defaults (Bug#7692).
7123 (term-move-columns, term-insert-char, term-emulate-terminal)
7124 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
7125
7126 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
7127
7128 * net/ange-ftp.el (ange-ftp-get-passwd):
7129 Bind `enable-recursive-minibuffers'.
7130 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
7131
7132 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
7133
7134 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
7135
7136 2012-06-19 Glenn Morris <rgm@gnu.org>
7137
7138 * progmodes/python.el (python-mode): Derive from prog-mode.
7139
7140 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
7141
7142 * emulation/edt.el (edt-default-menu-bar-update-buffers)
7143 (edt-user-menu-bar-update-buffers): New functions.
7144 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
7145
7146 2012-06-19 Chong Yidong <cyd@gnu.org>
7147
7148 * subr.el (with-selected-window): Preserve the selected window's
7149 terminal's top-frame (Bug#4702).
7150
7151 * window.el (save-selected-window): Likewise.
7152
7153 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7154
7155 * progmodes/python.el (python-rx-constituents): Move backquote.
7156 (python-skeleton-define, python-define-auxiliary-skeleton):
7157 Use `declare'.
7158
7159 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
7160
7161 * minibuffer.el (read-file-name-default): Revert the patch from
7162 2012-06-17.
7163
7164 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7165
7166 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
7167 (pcase--u1, pcase--q1): Don't use apply-partially.
7168
7169 2012-06-18 Glenn Morris <rgm@gnu.org>
7170
7171 * progmodes/python.el (python-proc, python-buffer)
7172 (python-send-receive, python-send-string): Fix obsolete versions.
7173
7174 2012-06-18 Martin Rudalics <rudalics@gmx.at>
7175
7176 * window.el (special-display-p): Completely remove stringp
7177 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
7178
7179 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
7180
7181 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
7182
7183 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
7184
7185 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
7186 * net/tramp-sh.el (tramp-maybe-open-connection):
7187 Throw if `non-essential' is non-nil.
7188
7189 2012-06-17 Martin Rudalics <rudalics@gmx.at>
7190
7191 * window.el (special-display-p): Signal an error if BUFFER-NAME
7192 is not a string (Bug#11713).
7193
7194 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
7195
7196 * progmodes/python.el (python-info-beginning-of-backslash):
7197 Rename from python-info-beginning-of-backlash, as a spelling fix.
7198
7199 2012-06-17 Chong Yidong <cyd@gnu.org>
7200
7201 * term.el (term-emulate-terminal): If term-check-size is called,
7202 move point to the process mark without resetting point (Bug#4635).
7203
7204 2012-06-17 Glenn Morris <rgm@gnu.org>
7205
7206 * international/mule-cmds.el (mule-menu-keymap)
7207 (set-language-environment, set-locale-environment): Doc tweaks.
7208
7209 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
7210
7211 * cus-face.el (custom-face-attributes): Add wave-style underline
7212 attribute.
7213 * faces.el (set-face-attribute): Update docstring to describe
7214 wave-style underline attribute.
7215
7216 2012-06-16 Chong Yidong <cyd@gnu.org>
7217
7218 * term/xterm.el (terminal-init-xterm): Discard input before
7219 querying background mode (Bug#10959).
7220
7221 2012-06-16 Stefan Merten <smerten@oekonux.de>
7222
7223 * textmodes/rst.el: Added and corrected some comments.
7224 (rst-re-alist-def): Improve symbol syntax.
7225 (rst-mode-syntax-table): Correct syntax entries.
7226 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
7227 (rst-official-version, rst-official-cvs-rev): Update version
7228 information.
7229
7230 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
7231
7232 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
7233 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
7234
7235 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
7236
7237 * progmodes/python.el: New python.el merge.
7238 (python-guess-indent): Obsolete var.
7239 (python-indent-guess-indent-offset): New defcustom.
7240 (python-indent): Obsolete var.
7241 (python-indent-offset): New defcustom.
7242 (python-python-command, python-jython-command): Delete var.
7243 (python-shell-interpreter): New defcustom.
7244 (python-pdbtrack-do-tracking-p): Delete var.
7245 (python-pdbtrack-activate): New defcustom.
7246 (python-use-skeletons): Obsolete var.
7247 (python-skeleton-autoinsert): New defcustom.
7248 (inferior-python-filter-regexp, python-continuation-offset)
7249 (python-honour-comment-indentation, python-indent-string-contents)
7250 (python-jython-packages, python-mode-hook)
7251 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
7252 (python-shell-prompt-alist)
7253 (python-source-modes): Delete defcustoms.
7254 (python-check-buffer-name, python-eldoc-setup-code)
7255 (python-eldoc-string-code, python-ffap-setup-code)
7256 (python-ffap-string-code, python-fill-comment-function)
7257 (python-fill-decorator-function, python-fill-paren-function)
7258 (python-fill-string-function, python-imenu-include-defun-type)
7259 (python-imenu-make-tree, python-imenu-subtree-root-label)
7260 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
7261 (python-shell-compilation-regexp-alist)
7262 (python-shell-completion-module-string-code)
7263 (python-shell-completion-pdb-string-code)
7264 (python-shell-completion-setup-code)
7265 (python-shell-completion-string-code)
7266 (python-shell-enable-font-lock, python-shell-exec-path)
7267 (python-shell-extra-pythonpaths)
7268 (python-shell-internal-buffer-name, python-shell-interpreter-args)
7269 (python-shell-process-environment)
7270 (python-shell-prompt-block-regexp)
7271 (python-shell-prompt-output-regexp)
7272 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
7273 (python-shell-send-setup-max-wait, python-shell-setup-codes)
7274 (python-shell-virtualenv-path): New defcustoms.
7275 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
7276 (inferior-python-mode-syntax-table, python--prompt-regexp)
7277 (python-buffer, python-command python-python-command)
7278 (python-default-template, python-imports, python-indent-index)
7279 (python-indent-list, python-indent-list-length)
7280 (python-mode-running, python-pdbtrack-is-tracking-p)
7281 (python-preoutput-continuation, python-preoutput-leftover)
7282 (python-preoutput-result, python-preoutput-skip-next-prompt)
7283 (python-prev-dir/file, python-recursing)
7284 (python-saved-check-command, python-version-checked)
7285 (python-which-func-length-limit)
7286 (view-return-to-alist): Delete vars.
7287 (python-check-custom-command, python-dotty-syntax-table)
7288 (python-imenu-index-alist, python-indent-current-level)
7289 (python-indent-dedenters, python-indent-levels)
7290 (python-nav-beginning-of-defun-regexp)
7291 (python-nav-list-defun-positions-cache)
7292 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
7293 (python-shell-internal-buffer)
7294 (python-skeleton-available): New vars.
7295 (def-python-skeleton): Delete macro.
7296 (python-skeleton-define): New macro.
7297 (python-define-auxiliary-skeleton, python-rx): New macros.
7298 (python-insert-class): Delete command.
7299 (python-skeleton-class): New command.
7300 (python-insert-def): Delete command.
7301 (python-skeleton-def): New command.
7302 (python-insert-for): Delete command.
7303 (python-skeleton-for): New command.
7304 (python-insert-if): Delete command.
7305 (python-skeleton-if): New command.
7306 (python-insert-try/except, python-insert-try/finally): Delete commands.
7307 (python-skeleton-try): New command.
7308 (python-insert-while): Delete command.
7309 (python-skeleton-while): New command.
7310 (python-backspace): Delete command.
7311 (python-indent-dedent-line-backspace): New command.
7312 (python-electric-colon): Delete command.
7313 (python-indent-electric-colon): New command.
7314 (python-guess-indent): Delete command.
7315 (python-indent-guess-indent-offset): New command.
7316 (python-shift-left): Delete command.
7317 (python-indent-shift-left): New command.
7318 (python-shift-right): Delete command.
7319 (python-indent-shift-right): New command.
7320 (python-find-function): Delete command.
7321 (python-nav-jump-to-defun): New command.
7322 (python-next-statement): Delete command.
7323 (python-nav-forward-sentence): New command.
7324 (python-previous-statement): Delete command.
7325 (python-nav-backward-sentence): New command.
7326 (python-fill-paragraph): Delete command.
7327 (python-fill-paragraph-function): New command.
7328 (python-send-buffer): Delete command.
7329 (python-shell-send-buffer): New command.
7330 (python-send-defun): Delete command.
7331 (python-shell-send-defun): New command.
7332 (python-send-region, python-send-region-and-go): Delete commands.
7333 (python-shell-send-region)
7334 (python-shell-switch-to-shell): New commands.
7335 (python-send-string): Delete command.
7336 (python-shell-send-string): New command.
7337 (python-switch-to-python): Delete command.
7338 (python-shell-switch-to-shell): New command.
7339 (python-describe-symbol): Delete command.
7340 (python-eldoc-at-point): New command.
7341 (python--set-prompt-regexp, python-args-to-list)
7342 (python-after-info-look, python-check-version)
7343 (python-check-comint-prompt, python-find-imports)
7344 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
7345 (python-unload-function, python-expand-template)
7346 (python-maybe-jython, python-preoutput-filter)
7347 (python-pdbtrack-get-source-buffer)
7348 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
7349 (python-pdbtrack-toggle-stack-tracking)
7350 (python-pdbtrack-track-stack-file, python-initial-text)
7351 (python-first-word, python-comment-line-p, python-send-command)
7352 (python-setup-brm, python-sentinel, python-set-proc)
7353 (python-skip-out, python-input-filter, python-outdent-p)
7354 (python-outline-level, python-backslash-continuation-line-p)
7355 (python-end-of-block, python-end-of-statement, python-mark-block)
7356 (python-beginning-of-block, python-beginning-of-statement)
7357 (python-blank-line-p, python-beginning-of-string)
7358 (python-open-block-statement-p): Delete functions.
7359 (python-indent-line, python-indent-line-1): Delete functions.
7360 (python-indent-line): New function.
7361 (python-indentation-levels): Delete function.
7362 (python-indent-calculate-levels): New function.
7363 (python-proc): Delete function.
7364 (python-shell-get-process): New function.
7365 (python-send-receive): Delete function.
7366 (python-shell-send-string-no-output): New function.
7367 (python-module-path): Delete function.
7368 (python-ffap-module-path): New function.
7369 (python-completion-at-point)
7370 (python-symbol-completions): Delete functions.
7371 (python-completion-complete-at-point): New function.
7372 (python-load-file): Delete function.
7373 (python-shell-send-file): New function.
7374 (python-calculate-indentation): Delete function.
7375 (python-indent-calculate-indentation): New function.
7376 (python-skip-comments/blanks): Delete function.
7377 (python-util-forward-comment): New function.
7378 (python-continuation-line-p): Delete function.
7379 (python-info-continuation-line-p): New function.
7380 (python-which-func, python-current-defun): Delete function.
7381 (python-info-current-defun): New function.
7382 (python-beginning-of-defun): Delete function.
7383 (python-nav-beginning-of-defun): New function.
7384 (python-close-block-statement-p)
7385 (python-block-end-p): Delete function.
7386 (python-info-closing-block): New function.
7387 (python-comint-output-filter-function)
7388 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
7389 (python-fill-comment, python-fill-decorator, python-fill-paren)
7390 (python-fill-string, python-imenu-make-element-tree)
7391 (python-imenu-make-tree, python-imenu-tree-assoc)
7392 (python-indent-context, python-indent-dedent-line)
7393 (python-indent-line-function)
7394 (python-indent-post-self-insert-function)
7395 (python-indent-toggle-levels)
7396 (python-info-assignment-continuation-line-p)
7397 (python-info-beginning-of-backlash)
7398 (python-info-block-continuation-line-p)
7399 (python-info-closing-block-message)
7400 (python-info-line-ends-backslash-p)
7401 (python-info-looking-at-beginning-of-defun)
7402 (python-info-ppss-context, python-info-ppss-context-type)
7403 (python-nav-list-defun-positions, python-nav-read-defun)
7404 (python-nav-sentence-end, python-nav-sentence-start)
7405 (python-pdbtrack-comint-output-filter-function)
7406 (python-pdbtrack-set-tracked-buffer)
7407 (python-shell-calculate-exec-path)
7408 (python-shell-calculate-process-environment)
7409 (python-shell-completion--do-completion-at-point)
7410 (python-shell-completion--get-completions)
7411 (python-shell-completion-complete-at-point)
7412 (python-shell-completion-complete-or-indent)
7413 (python-shell-get-or-create-process)
7414 (python-shell-get-process-name)
7415 (python-shell-internal-get-or-create-process)
7416 (python-shell-internal-get-process-name)
7417 (python-shell-internal-send-string, python-shell-make-comint)
7418 (python-shell-parse-command, python-shell-send-setup-code)
7419 (python-skeleton-add-menu-items)
7420 (python-util-clone-local-variables, python-util-position)
7421 (run-python-internal, python-indentation-levels)
7422 (python-nav-beginning-of-defun)
7423 (python-completion-complete-at-point): New functions.
7424 (run-python): Change arguments. New API requirements.
7425
7426 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7427
7428 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
7429 (bug#11649).
7430
7431 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
7432 (macroexp--expand-all): Use it.
7433
7434 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
7435 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
7436 Use `cl-function' instead.
7437
7438 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
7439
7440 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
7441 Suggested by Stefan Monnier while discussing bug#11657.
7442
7443 2012-06-14 Sam Steingold <sds@gnu.org>
7444
7445 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
7446
7447 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
7448
7449 * play/doctor.el (doctor-doc): Remove parameter and use
7450 doctor-sent instead of sent.
7451 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
7452
7453 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7454
7455 * files.el: Require cl-lib.
7456 (file-name-non-special): Replace case -> cl-case.
7457
7458 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
7459
7460 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
7461 mapping from #' to function*.
7462
7463 2012-06-13 Chong Yidong <cyd@gnu.org>
7464
7465 * mouse.el (mouse-drag-track): Do not set the mark if the user
7466 releases the mouse without selecting anything (Bug#11588).
7467
7468 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7469
7470 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
7471 as well (bug#11646).
7472
7473 * loadup.el: Count byte-code functions as well.
7474
7475 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
7476 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
7477
7478 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
7479 (bug#11649). Add cl-defun and cl-defmacro.
7480
7481 2012-06-13 Drew Adams <drew.adams@oracle.com>
7482
7483 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
7484 Fix last change.
7485
7486 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
7487
7488 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
7489 Otherwise, it blocks in batch mode.
7490
7491 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
7492
7493 * help-mode.el (bookmark-make-record-default): Declare.
7494
7495 2012-06-13 Chong Yidong <cyd@gnu.org>
7496
7497 * emacs-lisp/package.el (list-packages): Compute a list of
7498 packages that are newly-available since the last list-packages
7499 invocation.
7500 (package-menu--new-package-list): New var.
7501 (package-menu--generate, package-menu--print-info)
7502 (package-menu--status-predicate, package-menu-mark-install):
7503 Handle new status label "new".
7504
7505 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7506
7507 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
7508 conversion to backquotes.
7509
7510 2012-06-12 Chong Yidong <cyd@gnu.org>
7511
7512 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
7513 Rename from gud-inhibit-global-bindings.
7514
7515 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
7516
7517 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
7518 hook from nxml-glyph-set-hook.
7519
7520 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
7521 declaration.
7522
7523 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
7524
7525 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
7526 Convert to defcustom.
7527
7528 2012-06-12 Drew Adams <drew.adams@oracle.com>
7529
7530 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
7531 New functions.
7532 (help-mode): Use them.
7533
7534 2012-06-11 Glenn Morris <rgm@gnu.org>
7535
7536 * progmodes/fortran.el (fortran-font-lock-keywords-3):
7537 Use preprocessor face for directives.
7538 (fortran-directive-re): Doc fix.
7539
7540 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7541
7542 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
7543 conversion to backquotes (bug#11652).
7544
7545 Fix compiler-expansion of CL's cXXr functions (bug#11673).
7546 * emacs-lisp/cl-lib.el (cl--defalias): New function.
7547 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
7548 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
7549 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
7550 (cl-ninth, cl-tenth): Mark them as inlinable.
7551 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
7552 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
7553 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
7554 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
7555 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
7556 (cl-list*, cl-adjoin): Don't put an autoload manually.
7557 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
7558 (cl--compiler-macro-list*): Add autoload cookie.
7559 (cl--compiler-macro-cXXr): New function.
7560
7561 * help-fns.el (help-fns--compiler-macro): New function extracted from
7562 describe-function-1; follow aliases and use `compiler-macro' property.
7563 (describe-function-1): Use it.
7564
7565 2012-06-11 Chong Yidong <cyd@gnu.org>
7566
7567 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
7568 is uninstalled, if imagemagick is installed.
7569
7570 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7571
7572 * emacs-lisp/cl-lib.el: Use lexical-binding.
7573 (cl-map-extents, cl-maclisp-member): Remove.
7574 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
7575 (cl--set-substring, cl--block-wrapper, cl--block-throw)
7576 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
7577 * emacs-lisp/cl-extra.el: Use lexical-binding.
7578 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
7579 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
7580 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
7581 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
7582 * emacs-lisp/cl-seq.el: Use lexical-binding.
7583 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
7584 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
7585 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
7586 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
7587 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
7588 CL's internals.
7589
7590 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
7591
7592 Sync with Tramp 2.2.6-pre.
7593
7594 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
7595 `print-length' and `print-level' to nil, in order to avoid
7596 truncation. Reported by Christopher Schmidt
7597 <christopher@ristopher.com>.
7598
7599 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
7600
7601 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
7602 New defmacro.
7603 (tramp-compat-copy-directory): Add optional argument
7604 COPY-CONTENTS. It is not handled yet.
7605
7606 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
7607 (tramp-ftp-file-name-p): Simplify.
7608
7609 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
7610 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
7611 connection vector.
7612
7613 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
7614 (tramp-methods): Do not use `tramp-password-end-of-line'.
7615 (tramp-completion-function-alist-putty): Handle UNIX case.
7616 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
7617 (tramp-do-file-attributes-with-stat)
7618 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
7619 gid as real numbers. They could run out of integer range on cygwin.
7620 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
7621 (tramp-sh-handle-expand-file-name): Handle hops.
7622 (tramp-open-connection-setup-interactive-shell):
7623 Use `tramp-cleanup'. Move check for busyboxes ...
7624 (tramp-find-shell): ... here. Simplify implementation.
7625 Set "remote-shell" property also for alternative shells.
7626 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
7627 If failing, a regular file would be written otherwise.
7628 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
7629 (tramp-find-inline-encoding): Cache the coding commands in the
7630 process cache. Apply test command on the remote side, if defined.
7631 (tramp-find-inline-compress): Cache the compress commands in the
7632 process cache.
7633 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
7634 when requested. Handle hops.
7635 (tramp-current-connection): New defvar.
7636 (tramp-maybe-open-connection): Use `tramp-cleanup'.
7637 Throw `suppress', if there was a failed connection shortly before.
7638 Handle user interrupt. (Bug#10187)
7639 (tramp-get-inline-compress, tramp-get-inline-coding):
7640 Read connection properties from the process cache.
7641
7642 * net/tramp-smb.el (tramp-smb-server-version)
7643 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
7644 New defconsts.
7645 (tramp-smb-prompt): Extend for powershell prompt.
7646 (tramp-smb-file-name-handler-alist): Add handlers for
7647 `process-file', `shell-command' and `start-file-process'.
7648 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
7649 (tramp-smb-winexe-shell-command-switch): New defcustoms.
7650 (tramp-smb-file-name-p): Simplify.
7651 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
7652 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
7653 (tramp-smb-shell-quote-argument): New defuns.
7654 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
7655 Implement using "tar". By this, time-stamps are preserved.
7656 (tramp-smb-handle-copy-file): Handle also the case of directories.
7657 (tramp-smb-do-file-attributes-with-stat)
7658 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
7659 Use `tramp-get-connection-buffer').
7660 (tramp-smb-handle-rename-file): Use "rename", when source and
7661 target are on the same share.
7662 (tramp-smb-maybe-open-connection): Handle wrong passwords.
7663 Use `tramp-smb-server-version'.
7664 (tramp-smb-wait-for-output): Remove prompt.
7665
7666 * net/tramp.el (top): Require 'cl.
7667 (tramp-methods, tramp-rsh-end-of-line):
7668 Remove `tramp-password-end-of-line' from docstring.
7669 (tramp-save-ad-hoc-proxies): New defcustom.
7670 (tramp-completion-function-alist): Adapt docstring.
7671 (tramp-default-password-end-of-line): Remove defcustom.
7672 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
7673 (tramp-user-regexp, tramp-file-name-regexp-unified)
7674 (tramp-file-name-regexp-url): Extend regexp by hop separator.
7675 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
7676 (tramp-remote-file-name-spec-regexp): New defconst.
7677 (tramp-file-name-structure): Extend structure for hops.
7678 (tramp-get-method-parameter): Move up.
7679 (tramp-file-name-p, tramp-dissect-file-name)
7680 (with-parsed-tramp-file-name): Handle hops.
7681 (tramp-file-name-hop): New defun.
7682 (tramp-make-tramp-file-name): New optional arg HOP.
7683 (tramp-message-show-progress-reporter-message): New defvar.
7684 (tramp-with-progress-reporter): Use it. We cannot use
7685 `tramp-message-show-message' here, because this suppresses also
7686 error buffers.
7687 (tramp-error-with-buffer): Suppress buffer view, if
7688 `tramp-message-show-message' is nil.
7689 Use `tramp-get-connection-buffer'.
7690 (tramp-cleanup): New defun.
7691 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
7692 (tramp-file-name-handler): If `debug-on-error' is set, propagate
7693 an error unchanged.
7694 (tramp-completion-handle-file-name-all-completions): Handle hops.
7695 Fix an error when called from ido.
7696 (tramp-completion-dissect-file-name): Use better local variable
7697 name. Add hop to the vector.
7698 (tramp-handle-insert-file-contents): Use progress-reporter for the
7699 whole scenario.
7700 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
7701 to `t'.
7702 (tramp-check-for-regexp): Simplify search.
7703 (tramp-enter-password): Remove it. Move implementation ...
7704 (tramp-action-password): ... here.
7705 (tramp-mode-string-to-int, tramp-local-host-p)
7706 (tramp-make-tramp-temp-file, tramp-read-passwd)
7707 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
7708 Set tramp-autoload cookie.
7709
7710 * net/trampver.el: Update release number.
7711
7712 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7713 Michael Albinus <michael.albinus@gmx.de>
7714
7715 * net/tramp.el (tramp-set-completion-function): Fix docstring.
7716 (tramp-parse-group, tramp-parse-file)
7717 (tramp-parse-shostkeys-sknownhosts): New defuns.
7718 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
7719 (tramp-parse-shosts-group, tramp-parse-sconfig)
7720 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
7721 (tramp-parse-sknownhosts, tramp-parse-hosts)
7722 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
7723 Use them.
7724 (tramp-parse-passwd-group, tramp-parse-netrc-group)
7725 (tramp-parse-putty-group): Don't narrow.
7726 (tramp-parse-putty): Make a loop.
7727 (tramp-file-name-handler): Catch the `suppress' signal.
7728
7729 2012-06-11 Chong Yidong <cyd@gnu.org>
7730
7731 * image.el (imagemagick-register-types): Put the ImageMagick entry
7732 at the end of image-type-file-name-regexps.
7733
7734 2012-06-11 Johan Bockgård <bojohan@gnu.org>
7735
7736 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
7737 (pcase, pcase-let*, pcase-dolist): Use them.
7738
7739 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7740
7741 * emacs-lisp/pcase.el (pcase--let*): New function.
7742 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
7743 (pcase--expand): Use macroexp-let².
7744
7745 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
7746
7747 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
7748 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
7749 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
7750 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
7751 * emacs-lisp/derived.el: Use pcase instead of `cl'.
7752 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
7753
7754 2012-06-10 Glenn Morris <rgm@gnu.org>
7755
7756 * mail/rmail.el (rmail-yank-current-message): Leave point at
7757 correct position. (Bug#11660)
7758
7759 2012-06-10 Chong Yidong <cyd@gnu.org>
7760
7761 * allout-widgets.el: Fix code header.
7762
7763 2012-06-10 Chong Yidong <cyd@gnu.org>
7764
7765 * cus-edit.el (customize-changed-options-previous-release):
7766 Bump to 24.1.
7767
7768 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
7769
7770 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
7771
7772 2012-06-09 Chong Yidong <cyd@gnu.org>
7773
7774 * ebuff-menu.el (electric-buffer-list): Preserve header line.
7775
7776 2012-06-09 Martin Rudalics <rudalics@gmx.at>
7777
7778 * window.el (special-display-popup-frame): Don't use
7779 window--display-buffer (Bug#11651).
7780
7781 2012-06-09 Eli Zaretskii <eliz@gnu.org>
7782
7783 Fix parallel builds: make sure loaddefs.el is not being written
7784 while Lisp files are compiled.
7785 (compile): Don't depend on 'mh-autoloads'.
7786 (compile-CMD, compile-SH): Depend on 'autoloads'.
7787 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
7788
7789 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
7790
7791 2012-06-09 Chong Yidong <cyd@gnu.org>
7792
7793 * face-remap.el (face-remap-add-relative, face-remap-set-base)
7794 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
7795 Doc fixes (Bug#11225).
7796
7797 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
7798
7799 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
7800 a function if there's a clear indication that it has a compiler-macro.
7801 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
7802 (macro-declarations-alist): Add arglist to declaration functions.
7803 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
7804 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
7805 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
7806 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
7807 Also add autoload to find the compiler macro.
7808 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
7809 (cl--compiler-macro-member, cl--compiler-macro-assoc)
7810 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
7811 (cl--compiler-macro-get): New functions, replacing calls to
7812 cl-define-compiler-macro.
7813 (cl-typep) [compiler-macro]: Use macroexp-let².
7814
7815 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
7816
7817 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
7818 string properly, fixes Bug#11473.
7819
7820 2012-06-08 Chong Yidong <cyd@gnu.org>
7821
7822 * faces.el (set-face-attribute): Doc fix.
7823 (modify-face): Don't use :bold and :italic.
7824 (error, warning, success): Tweak definitions.
7825
7826 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
7827 (custom-modified, custom-set, custom-changed, custom-themed)
7828 (custom-saved, custom-button, custom-button-mouse)
7829 (custom-button-pressed, custom-state, custom-comment-tag)
7830 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
7831 (custom-group-subtitle): Use new-style face specs.
7832 (custom-invalid-face, custom-rogue-face, custom-modified-face)
7833 (custom-set-face, custom-changed-face, custom-saved-face)
7834 (custom-button-face, custom-button-pressed-face)
7835 (custom-documentation-face, custom-state-face)
7836 (custom-comment-face, custom-comment-tag-face)
7837 (custom-variable-tag-face, custom-variable-button-face)
7838 (custom-face-tag-face, custom-group-tag-face-1)
7839 (custom-group-tag-face): Remove obsolete face alias.
7840
7841 * epa.el (epa-validity-high, epa-validity-medium)
7842 (epa-validity-low, epa-mark, epa-field-name, epa-string)
7843 (epa-field-name, epa-field-body):
7844 * font-lock.el (font-lock-comment-face, font-lock-string-face)
7845 (font-lock-keyword-face, font-lock-builtin-face)
7846 (font-lock-function-name-face, font-lock-variable-name-face)
7847 (font-lock-type-face, font-lock-constant-face):
7848 * ido.el (ido-first-match, ido-only-match, ido-subdir)
7849 (ido-virtual, ido-indicator, ido-incomplete-regexp):
7850 * speedbar.el (speedbar-button-face, speedbar-file-face)
7851 (speedbar-directory-face, speedbar-tag-face)
7852 (speedbar-selected-face, speedbar-highlight-face)
7853 (speedbar-separator-face):
7854 * whitespace.el (whitespace-newline, whitespace-space)
7855 (whitespace-hspace, whitespace-tab, whitespace-trailing)
7856 (whitespace-line, whitespace-space-before-tab)
7857 (whitespace-space-after-tab, whitespace-indentation)
7858 (whitespace-empty):
7859 * emulation/cua-base.el (cua-global-mark):
7860 * eshell/em-prompt.el (eshell-prompt):
7861 * net/newst-plainview.el (newsticker-new-item-face)
7862 (newsticker-old-item-face, newsticker-immortal-item-face)
7863 (newsticker-obsolete-item-face, newsticker-date-face)
7864 (newsticker-statistics-face, newsticker-default-face):
7865 * net/newst-reader.el (newsticker-feed-face)
7866 (newsticker-extra-face, newsticker-enclosure-face):
7867 * net/newst-treeview.el (newsticker-treeview-face)
7868 (newsticker-treeview-new-face, newsticker-treeview-old-face)
7869 (newsticker-treeview-immortal-face)
7870 (newsticker-treeview-obsolete-face)
7871 (newsticker-treeview-selection-face):
7872 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
7873 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
7874 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
7875 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
7876 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
7877 (nxml-outline-active-indicator, nxml-outline-ellipsis):
7878 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
7879 (mpuz-text):
7880 * progmodes/vera-mode.el (vera-font-lock-number)
7881 (vera-font-lock-function, vera-font-lock-interface):
7882 * textmodes/table.el (table-cell): Use new-style face specs, and
7883 don't use the old :bold and :italic attributes.
7884
7885 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
7886 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
7887 (ebrowse-member-class, ebrowse-progress): Likewise.
7888 (ebrowse-tree-mark-face, ebrowse-root-class-face)
7889 (ebrowse-file-name-face, ebrowse-default-face)
7890 (ebrowse-member-attribute-face, ebrowse-member-class-face)
7891 (ebrowse-progress-face): Remove obsolete faces.
7892
7893 * progmodes/flymake.el (flymake-errline, flymake-warnline):
7894 Inherit from error and warning faces respectively.
7895
7896 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
7897 Likewise.
7898 (flyspell-incorrect-face, flyspell-duplicate-face):
7899 Remove obsolete aliases.
7900
7901 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
7902
7903 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
7904 Avoid infloop.
7905
7906 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
7907
7908 * startup.el (argv, argi): Make lexically scoped.
7909 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
7910 * emacs-lisp/cl-macs.el: Use lexical-binding.
7911 Rename cl-bind-* to cl--bind-*.
7912 * files.el: Don't require `cl' since it doesn't use it.
7913 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
7914
7915 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
7916
7917 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
7918 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
7919 instead of calling external sort utility.
7920 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
7921
7922 2012-06-08 Eli Zaretskii <eliz@gnu.org>
7923
7924 * descr-text.el (describe-char): Mention how to insert the
7925 character, if the current input method doesn't support it.
7926 See the discussion in this thread for the details:
7927 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
7928
7929 2012-06-08 Sam Steingold <sds@gnu.org>
7930
7931 * bindings.el (global-map): Bind XF86Forward to next-buffer and
7932 XF86Back to previous-buffer.
7933 (minibuffer-local-map): Bind them to next-history-element and
7934 previous-history-element respectively.
7935 * help-mode.el (help-mode-map): Bind them to help-go-forward and
7936 help-go-back respectively.
7937 * info.el (Info-mode-map): Bind them to Info-history-forward and
7938 Info-history-back respectively.
7939 These are the keys next to Up on the ThinkPad keyboard.
7940
7941 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
7942
7943 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
7944 * emacs-lisp/cl-macs.el: Provide itself.
7945 (cl--labels-convert-cache): New var.
7946 (cl--labels-convert): New function.
7947 (cl-flet, cl-labels): New implementation with new semantics, relying on
7948 lexical-binding.
7949 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
7950 (cl-closure-vars, cl--function-convert-cache)
7951 (cl--function-convert): Move from cl-macs.el.
7952 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
7953 rename by removing the "cl-" prefix.
7954 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
7955
7956 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7957
7958 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
7959 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
7960 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
7961 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
7962 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
7963 (cl-hash-table-count): Add old compatibility aliases.
7964
7965 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
7966 Use macroexpand-all-environment instead.
7967 (cl--old-macroexpand): New var.
7968 (cl--sm-macroexpand): New function.
7969 (cl-symbol-macrolet): Use it during macro expansion.
7970 (cl--function-convert-cache): New var.
7971 (cl--function-convert): New function, extracted from
7972 cl-macroexpand-all.
7973 (cl-lexical-let): Use it.
7974
7975 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
7976 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
7977 (cl-member): Remove old alias.
7978
7979 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
7980 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
7981 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
7982 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
7983 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
7984 (cl-macroexpand-cmacs): Remove var.
7985 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
7986 Use macroexpand-all instead.
7987
7988 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7989
7990 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
7991 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
7992 (macroexp-copyable-p): New functions and macros.
7993 * emacs-lisp/edebug.el (edebug-unwrap):
7994 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
7995 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
7996 (pcase--let*): Remove.
7997 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
7998 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
7999 macroexp-const-p instead.
8000 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
8001
8002 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
8003 instead of "cl-" for internal definitions. Use macroexp-const-p.
8004 (cl-old-bc-file-form): Remove var.
8005 (cl-const-exprs-p): Remove fun.
8006 (cl-labels, cl-macrolet): Use backquote.
8007 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
8008 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
8009 (cl-define-setf-expander): Rename from cl-define-setf-method.
8010 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
8011
8012 * international/mule-cmds.el: Don't require CL.
8013 (view-hello-file): Don't use `letf'.
8014
8015 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8016
8017 * tmm.el (tmm-prompt): Use string-prefix-p.
8018 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
8019 (tmm-add-prompt): Use minibuffer-completion-help.
8020 (tmm-delete-map): Remove.
8021
8022 * subr.el (kbd): Make it its own function.
8023
8024 2012-06-07 Stefan Merten <smerten@oekonux.de>
8025
8026 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
8027 Silence compiler warnings. Fix versions.
8028 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
8029 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
8030 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
8031 (rst-package-emacs-version-alist): Correct Emacs version to
8032 represent major merge with upstream.
8033 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
8034
8035 2012-06-06 Glenn Morris <rgm@gnu.org>
8036
8037 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
8038 Only print environment variables if set.
8039
8040 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
8041
8042 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
8043 (macroexp--cons): Rename from maybe-cons.
8044 (macroexp--accumulate): Rename from macroexp-accumulate.
8045 (macroexp--all-forms): Rename from macroexpand-all-forms.
8046 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
8047 (macroexp--expand-all): Rename from macroexpand-all-1.
8048
8049 2012-06-06 Sam Steingold <sds@gnu.org>
8050
8051 * calendar/calendar.el (calendar-in-read-only-buffer):
8052 Call `special-mode' to enable the standard read-only keybindings.
8053
8054 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
8055
8056 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
8057 with "loading" messages (bug#11635).
8058
8059 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
8060
8061 * files.el (enable-remote-dir-locals): New option.
8062 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
8063
8064 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
8065 Ensure, that the temp directory is local.
8066
8067 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
8068 `temporary-file-directory'.
8069
8070 * progmodes/python.el (python-send-region): Ensure, that the
8071 temporary file is created also in the remote case.
8072
8073 2012-06-06 Glenn Morris <rgm@gnu.org>
8074
8075 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
8076 (vc-rcs-update-changelog): Use it.
8077
8078 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
8079
8080 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
8081 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
8082 (vc-sccs-diff): Replace use of the external vcdiff script.
8083
8084 2012-06-05 Glenn Morris <rgm@gnu.org>
8085
8086 * ledit.el: Move to obsolete/.
8087
8088 2012-06-05 Sam Steingold <sds@gnu.org>
8089
8090 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
8091 patch (Bug#11140).
8092
8093 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8094
8095 * emacs-lisp/cust-print.el: Move to obsolete.
8096
8097 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
8098 compiler-macro expansion.
8099
8100 Add native compiler-macro support.
8101 * emacs-lisp/macroexp.el (macroexpand-all-1):
8102 Support compiler-macros directly. Properly follow aliases and apply
8103 the compiler macros more thoroughly.
8104 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
8105 macroexpand now properly follows aliases.
8106 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
8107 (cl-compiler-macroexpand): Use new prop.
8108 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
8109
8110 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
8111
8112 2012-06-05 Martin Rudalics <rudalics@gmx.at>
8113
8114 * window.el (get-lru-window, get-mru-window, get-largest-window):
8115 New argument NOT-SELECTED to avoid picking the selected window.
8116 (window--display-buffer-1, window--display-buffer-2): Replace by
8117 new function window--display-buffer
8118 (display-buffer-same-window, display-buffer-reuse-window)
8119 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8120 Use window--display-buffer.
8121 (display-buffer-use-some-window): Remove temporary dedication
8122 hack by calling get-lru-window and get-largest-window with
8123 NOT-SELECTED argument non-nil. Call window--display-buffer.
8124
8125 2012-06-05 Glenn Morris <rgm@gnu.org>
8126
8127 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
8128 Replace external vcdiff script.
8129
8130 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
8131
8132 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
8133
8134 2012-06-04 Chong Yidong <cyd@gnu.org>
8135
8136 * image.el (imagemagick-types-inhibit): Revert last change.
8137 Add INFO and M.
8138 (imagemagick-enabled-types): Remove CIN and EPS*.
8139
8140 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
8141
8142 * emacs-lisp/cl-lib.el: Rename from cl.el.
8143 * emacs-lisp/cl.el: New compatibility file.
8144 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
8145 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
8146 to obey the "cl-" prefix.
8147 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
8148
8149 2012-06-03 Glenn Morris <rgm@gnu.org>
8150
8151 * emacs-lisp/authors.el (authors-aliases): Addition.
8152
8153 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
8154 Fix :version.
8155
8156 2012-06-03 Stefan Merten <smerten@oekonux.de>
8157
8158 * textmodes/rst.el: Add comments.
8159 (rst-transition, rst-adornment): New faces.
8160 (rst-adornment-faces-alist): Make default safe to reevaluate.
8161 Fixes
8162 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
8163 Improve customization tags.
8164 (rst-define-level-faces): Clarify meaning.
8165
8166 2012-06-03 Chong Yidong <cyd@gnu.org>
8167
8168 * progmodes/compile.el (compilation-mode-line-fail)
8169 (compilation-mode-line-run, compilation-mode-line-exit):
8170 New faces.
8171 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
8172
8173 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
8174
8175 * progmodes/which-func.el (which-func-update-ediff-windows):
8176 New function. Use it in ediff-select-hook (Bug#11478).
8177
8178 2012-06-03 Chong Yidong <cyd@gnu.org>
8179
8180 * bindings.el: Remove explicit help text from format-mode-line.
8181 It is now supplied by mode-line-default-help-echo.
8182 (mode-line-front-space, mode-line-end-spaces)
8183 (mode-line-misc-info): New variables.
8184 (mode-line-modes, mode-line-position): Move the default value to
8185 the variable definition.
8186 (mode-line-default-help-echo): New defcustom.
8187 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
8188 (mode-line-modified-help-echo): New functions.
8189 (mode-line-mule-info, mode-line-modified): Use them.
8190 (mode-line-eol-desc, propertized-buffer-identification):
8191 Consistency fixes for help text.
8192 (mode-line-coding-system-map): Allow using mouse-3 to invoke
8193 set-buffer-file-coding-system (Bug#289).
8194 (mode-line-mule-info-help-echo): Update help text.
8195
8196 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8197
8198 * simple.el (execute-extended-command): Set real-this-command
8199 (bug#11506).
8200
8201 2012-06-02 Chong Yidong <cyd@gnu.org>
8202
8203 Remove incorrect uses of "modeline" in comments, docstrings, and
8204 function/variable names (Bug#10329).
8205
8206 * cus-edit.el (mode-line):
8207 * dframe.el (dframe-mouse-hscroll):
8208 * emacs-lisp/re-builder.el:
8209 * emacs-lisp/easy-mmode.el (define-minor-mode):
8210 * frame.el (set-frame-name):
8211 * help.el (lookup-minor-mode-from-indicator):
8212 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
8213 * progmodes/cc-cmds.el (c-toggle-auto-newline)
8214 (c-toggle-hungry-state):
8215 * progmodes/antlr-mode.el (antlr-language-alist):
8216 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
8217 * progmodes/vhdl-mode.el (vhdl-mode):
8218 * progmodes/which-func.el (which-func, which-func-cleanup-function):
8219 * term/ns-win.el (ns-face-at-pos):
8220 * term/sup-mouse.el (sup-mouse-report):
8221 * textmodes/flyspell.el (flyspell-mode-line-string):
8222 * textmodes/ispell.el (ispell-highlight-face):
8223 * textmodes/reftex-global.el:
8224 * vc/vc-arch.el (vc-arch-mode-line-string):
8225 * vc/vc-cvs.el (vc-cvs-mode-line-string):
8226 * vc/vc-git.el (vc-git-mode-line-string):
8227 * vc/vc-hooks.el (vc-display-status)
8228 (vc-default-mode-line-string):
8229 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
8230
8231 * ansi-color.el (ansi-color-faces-vector): Change default faces.
8232
8233 * dired.el (dired-sort-set-mode-line): Rename from
8234 dired-sort-set-modeline. All callers changed.
8235
8236 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
8237 eshell-status-in-modeline.
8238
8239 * foldout.el (foldout-mode-line-string): Rename from
8240 foldout-modeline-string. All callers changed.
8241 (foldout-update-mode-line): Rename from foldout-update-modeline.
8242
8243 * subr.el (redraw-modeline): Make into obsolete alias.
8244
8245 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
8246 timeclock-modeline-display. Make old name an alias.
8247 (timeclock-update-mode-line): Likewise. All callers changed.
8248 (timeclock-mode-line-display): No need to check before using
8249 add-hook.
8250 (timeclock-relative, timeclock-day-over-hook)
8251 (timeclock-use-elapsed, timeclock-mode-string)
8252 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
8253
8254 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
8255 crisp-mode-modeline-string.
8256
8257 * play/solitaire.el (solitaire-build-mode-line): Rename from
8258 solitaire-build-modeline. All callers changed.
8259
8260 * play/zone.el (zone-hiding-mode-line): Rename from
8261 zone-hiding-modeline. All callers changed.
8262 (zone): Remove unusued `modeline-hidden-level' property.
8263
8264 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
8265 xscheme-modeline-initialize. All callers changed.
8266
8267 * strokes.el (strokes-lighter): Rename from
8268 strokes-modeline-string.
8269
8270 * textmodes/sgml-mode.el (html-face-tag-alist)
8271 (html-tag-face-alist): Use mode-line face instead of obsolete
8272 alias modeline.
8273
8274 2012-06-02 Stefan Merten <smerten@oekonux.de>
8275
8276 * textmodes/rst.el: Always require `cl'.
8277 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
8278
8279 2012-06-02 Chong Yidong <cyd@gnu.org>
8280
8281 * image.el (imagemagick-enabled-types): Rename from
8282 imagemagick-types-enable. Add many more types.
8283 (imagemagick-types-inhibit): Change default to nil.
8284 (imagemagick-filter-types): Caller changed.
8285
8286 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8287
8288 * emacs-lisp/cl-macs.el: Use backquotes.
8289 (cl-transform-function-property): Use eval-and-compile rather than
8290 abusing `require'.
8291 (defstruct): Use declare-function instead of with-no-warnings.
8292
8293 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
8294 (byte-compile-output-docform): Re-add the print-circle bindings.
8295 (byte-compile-fix-header): Use #$ just because it's shorter.
8296 (byte-compile-output-file-form): Remove defun/defmacro.
8297
8298 2012-06-01 Martin Rudalics <rudalics@gmx.at>
8299
8300 * simple.el (choose-completion): Remove now obsolete binding for
8301 owindow.
8302
8303 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
8304
8305 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
8306 in order to avoid "Stack overflow in regexp matcher".
8307
8308 2012-05-31 Glenn Morris <rgm@gnu.org>
8309
8310 * image.el: For clarity, call imagemagick-register-types at
8311 top-level, rather than relying on a custom :initialize.
8312 (imagemagick-types-enable): New option. (Bug#11557)
8313 (imagemagick-filter-types): New function. (Bug#7406)
8314 (imagemagick-register-types): Use imagemagick-filter-types.
8315 If disabling support, remove elements altogether rather
8316 than using an impossible regexp.
8317 (imagemagick-types-inhibit): Give it the default init function.
8318
8319 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8320
8321 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
8322 Handle arbitrary file name lengths (Bug#11585).
8323
8324 2012-05-31 Martin Rudalics <rudalics@gmx.at>
8325
8326 * desktop.el (desktop-read): Clear previous and next buffers for
8327 all windows and bury *Messages* buffer (bug#11556).
8328
8329 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8330
8331 Add `declare' for `defun'. Align `defmacro's with it.
8332 * emacs-lisp/easy-mmode.el (define-minor-mode)
8333 (define-globalized-minor-mode): Don't autoload the var definitions.
8334 * emacs-lisp/byte-run.el: Use lexical-binding.
8335 (defun-declarations-alist, macro-declarations-alist): New vars.
8336 (defmacro, defun): Use them.
8337 (make-obsolete, define-obsolete-function-alias)
8338 (make-obsolete-variable, define-obsolete-variable-alias):
8339 Use `declare'.
8340 (macro-declaration-function): Mark obsolete.
8341 * emacs-lisp/autoload.el: Use lexical-binding.
8342 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
8343
8344 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8345
8346 * textmodes/ispell.el (ispell-with-no-warnings):
8347 Define as a macro.
8348 (ispell-kill-ispell, ispell-change-dictionary):
8349 Use `called-interactively-p' for Emacs instead of obsolete
8350 `interactive-p'.
8351
8352 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8353
8354 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
8355 (macro-declaration-function): Move var from C code.
8356 (macro-declaration-function): Define function with defalias.
8357 * emacs-lisp/macroexp.el (macroexpand-all-1):
8358 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
8359 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
8360 defun/defmacro any more.
8361 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
8362 Provide fallback for unknown arglist.
8363 (byte-compile-arglist-warn): Change calling convention.
8364 (byte-compile-output-file-form): Move print-vars binding.
8365 (byte-compile-output-docform): Simplify accordingly.
8366 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
8367 (byte-compile-defmacro-declaration): Remove.
8368 (byte-compile-file-form-defmumble): Generalize to defalias.
8369 (byte-compile-output-as-comment): Return byte-positions.
8370 Simplify callers accordingly.
8371 (byte-compile-lambda): Use `assert'.
8372 (byte-compile-defun, byte-compile-defmacro): Remove.
8373 (byte-compile-file-form-defalias):
8374 Use byte-compile-file-form-defmumble.
8375 (byte-compile-defalias-warn): Remove.
8376
8377 2012-05-29 Stefan Merten <smerten@oekonux.de>
8378
8379 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
8380 possible. Fix authors. Improve comments. Improve loading of `cl'.
8381
8382 (rst-mode-abbrev-table): Merge definition.
8383 (rst-mode): Make sure `font-lock-defaults' is buffer local.
8384 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
8385
8386 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
8387
8388 * calendar/icalendar.el
8389 (icalendar-export-region): Export UID properly.
8390
8391 2012-05-29 Leo Liu <sdl.web@gmail.com>
8392 * calendar/icalendar.el (icalendar-import-format):
8393 Add `icalendar-import-format-uid' (Bug#11525).
8394 (icalendar-import-format-uid): New.
8395 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
8396 Export UID.
8397
8398 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8399
8400 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
8401 different alternative patterns.
8402 (pcase-codegen): Be more careful to preserve identity.
8403 (pcase--u1): Don't forget to mark vars as used.
8404
8405 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
8406 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
8407 (byte-compile-from-buffer): ...rather than here.
8408
8409 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
8410 functions from byte-compile-function-environment.
8411
8412 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
8413
8414 * window.el (window-deletable-p): Avoid deleting the root window
8415 of a frame with an active minibuffer.
8416
8417 2012-05-29 Martin Rudalics <rudalics@gmx.at>
8418
8419 * simple.el (choose-completion): Use quit-window (Bug#11567).
8420
8421 2012-05-29 Chong Yidong <cyd@gnu.org>
8422
8423 * whitespace.el (whitespace-cleanup): Fix usage of
8424 whitespace-empty-at-bob-regexp (Bug#11492).
8425
8426 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8427
8428 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
8429 revert (Bug#11488).
8430
8431 2012-05-29 Juri Linkov <juri@jurta.org>
8432
8433 * isearch.el (isearch-mode-map): Bind `M-s _' to
8434 `isearch-toggle-symbol'. Bind `M-s c' to
8435 `isearch-toggle-case-fold'.
8436 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
8437 (isearch-forward): Add `M-s _' to the docstring.
8438 (isearch-forward-symbol, isearch-toggle-case-fold)
8439 (isearch-symbol-regexp): New functions. (Bug#11381)
8440
8441 2012-05-29 Juri Linkov <juri@jurta.org>
8442
8443 * isearch.el (isearch-word): Add docstring. (Bug#11381)
8444 (isearch-occur, isearch-search-and-update): If `isearch-word' is
8445 a function, call it to get the regexp.
8446 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
8447 property `isearch-message-prefix' instead of the string "word ".
8448 (isearch-search-fun-default): For the case of `isearch-word',
8449 return a lambda that calls re-search-forward/re-search-backward
8450 with a regexp returned by `word-search-regexp' or by the function
8451 in `isearch-word'.
8452
8453 2012-05-29 Juri Linkov <juri@jurta.org>
8454
8455 * isearch.el (isearch-search-fun-default): New function.
8456 (isearch-search-fun): Move default part to the new function
8457 `isearch-search-fun-default'.
8458 (isearch-search-fun-function): Set the default value to
8459 `isearch-search-fun-default'. (Bug#11381)
8460
8461 * comint.el (comint-history-isearch-end):
8462 Use `isearch-search-fun-default'.
8463 (comint-history-isearch-search): Use `isearch-search-fun-default'
8464 and remove spacial case for `isearch-word'.
8465 (comint-history-isearch-wrap): Remove spacial case for
8466 `isearch-word'.
8467
8468 * hexl.el (hexl-isearch-search-function):
8469 Use `isearch-search-fun-default'.
8470
8471 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
8472 Use `word-search-regexp' for `isearch-word'.
8473
8474 * misearch.el (multi-isearch-search-fun):
8475 Use `isearch-search-fun-default'.
8476
8477 * simple.el (minibuffer-history-isearch-search):
8478 Use `isearch-search-fun-default' and remove spacial case for
8479 `isearch-word'.
8480 (minibuffer-history-isearch-wrap): Remove spacial case for
8481 `isearch-word'.
8482
8483 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
8484 Remove spacial case for `isearch-word'.
8485 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
8486
8487 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8488
8489 Decrease XEmacs incompatibilities.
8490 * textmodes/flyspell.el (flyspell-check-pre-word-p):
8491 Use `string-match'.
8492 (flyspell-delete-region-overlays): Use alternative definition for
8493 XEmacs.
8494 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
8495 (flyspell-word): Use `process-kill-without-query' if XEmacs.
8496 (flyspell-mode-on): Use `interactive-p' if XEmacs.
8497 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
8498 `define-obsolete-face-alias' under XEmacs, but old method.
8499
8500 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
8501 `with-no-warnings' definition or Emacs alias.
8502 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
8503 (ispell-word): Do not use `region-p' if XEmacs.
8504
8505 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8506
8507 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
8508 Check for `ispell-dictionary-base-alist' instead of full
8509 `ispell-dictionary-alist'.
8510 (ispell-init-process): Show spellchecker when starting new Ispell
8511 process.
8512
8513 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
8514
8515 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
8516 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
8517
8518 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
8519
8520 * version.el (motif-version-string, gtk-version-string)
8521 (ns-version-string): Declare.
8522
8523 2012-05-27 Juri Linkov <juri@jurta.org>
8524
8525 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
8526 after the `eval-defun-1' specialcaseing
8527 like in `edebug-eval-defun' (bug#10181).
8528
8529 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
8530 like in `eval-defun-1'.
8531
8532 2012-05-27 Eli Zaretskii <eliz@gnu.org>
8533
8534 * mail/sendmail.el (mail-yank-region):
8535 Recognize rmail-yank-current-message in addition to insert-buffer.
8536 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
8537 a *mail* buffer created through rmail-start-mail with sendmail as
8538 mail-user-agent.
8539
8540 2012-05-27 Chong Yidong <cyd@gnu.org>
8541
8542 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
8543 Default to 256 (Bug#11267).
8544
8545 * help.el (describe-mode): Doc fix.
8546
8547 2012-05-26 Glenn Morris <rgm@gnu.org>
8548
8549 * w32-fns.el (w32-init-info): Remove.
8550 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
8551
8552 * info.el (info-initialize): For self-contained NS builds, put the
8553 included info/ directory at the front. (Bug#2791)
8554
8555 * paths.el (Info-default-directory-list): Make it a defcustom,
8556 mainly so that we can use custom-initialize-delay.
8557
8558 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
8559
8560 * subr.el (buffer-has-markers-at): Mark obsolete.
8561
8562 * subr.el (lambda): Use declare.
8563
8564 * emacs-lisp/lisp-mode.el (lambda):
8565 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
8566
8567 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8568
8569 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
8570
8571 2012-05-26 Glenn Morris <rgm@gnu.org>
8572
8573 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
8574
8575 2012-05-25 Glenn Morris <rgm@gnu.org>
8576
8577 * paths.el: Remove no-byte-compile.
8578 * loadup.el: No need to load paths.el uncompiled.
8579
8580 * image.el (imagemagick-types-inhibit): Doc fix.
8581
8582 * version.el: Remove no-byte-compile and associated formatting.
8583 * loadup.el: No need to load version.el uncompiled. AFAICS, this
8584 is ancient code from when there was an "inc-vers.el".
8585
8586 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8587
8588 * progmodes/gdb-mi.el: Minor style changes.
8589 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
8590 Turn into minor modes.
8591 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
8592 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
8593 (gdb-shell): Remove unneeded let-binding.
8594 (gdb-get-many-fields): Eliminate O(n²) behavior.
8595
8596 2012-05-25 Eli Zaretskii <eliz@gnu.org>
8597
8598 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
8599 platforms that don't link in fontset.c.
8600
8601 2012-05-25 Juri Linkov <juri@jurta.org>
8602
8603 Use the same diff color scheme as in modern VCSes (bug#10181).
8604
8605 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
8606 to avoid confusion with `diff-added' that now uses green colors.
8607 (diff-removed): Use shades of red.
8608 (diff-added): Use shades of green.
8609 (diff-changed): Leave just the yellow color.
8610 (diff-use-changed-face): New variable.
8611 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
8612 how to highlight context diff changes.
8613 (diff-refine-change): Use shades of yellow.
8614 (diff-refine-removed): New face that uses shades of red.
8615 (diff-refine-added): New face that uses shades of green.
8616 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
8617 `diff-refine-removed' in the call to `smerge-refine-subst'
8618 depending on the value of `diff-use-changed-face'.
8619
8620 * vc/smerge-mode.el (smerge-mine): Use shades of red.
8621 (smerge-other): Use shades of green.
8622 (smerge-base): Use shades of yellow.
8623 (smerge-refined-change): Empty face.
8624 (smerge-refined-removed): New face that uses shades of red.
8625 (smerge-refined-added): New face that uses shades of green.
8626 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
8627 args `props-r' and `props-a', and use them. Doc fix.
8628 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
8629 on its value use different faces `smerge-refined-change',
8630 `smerge-refined-removed', `smerge-refined-added' in the call to
8631 `smerge-refine-subst'.
8632
8633 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
8634 Add face condition `min-colors 88' with shades of red.
8635 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
8636 `min-colors 88' with shades of green.
8637 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
8638 `min-colors 88' with shades of yellow.
8639
8640 2012-05-24 Glenn Morris <rgm@gnu.org>
8641
8642 * paths.el (prune-directory-list, remote-shell-program): Move to...
8643 * files.el (prune-directory-list, remote-shell-program): ...here.
8644 For the latter, delay initialization, prefer ssh, just search PATH.
8645
8646 * paths.el (term-file-prefix): Move to faces.el (the only user).
8647 * faces.el (term-file-prefix): Move here, make it a defcustom.
8648
8649 * paths.el (news-directory, news-path, news-inews-program):
8650 Move to gnus/nnspool.el.
8651
8652 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
8653
8654 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
8655 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
8656 Make the latter a defcustom, with a delayed initialization.
8657
8658 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
8659 These were deleted from Gnus itself late 2010.
8660
8661 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
8662
8663 * progmodes/which-func.el (which-func-ff-hook):
8664 Check against user-error, not error.
8665
8666 * emacs-lisp/edebug.el (top): Do not load or set up loading of
8667 cl-specs.el, which no longer exists.
8668
8669 2012-05-22 Glenn Morris <rgm@gnu.org>
8670
8671 * info.el (info-emacs-bug): New command.
8672 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
8673 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
8674
8675 2012-05-21 Glenn Morris <rgm@gnu.org>
8676
8677 * makefile.w32-in (update-subdirs-SH):
8678 * Makefile.in (update-subdirs): Update for moved update-subdirs.
8679
8680 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
8681
8682 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
8683
8684 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8685 Simplify Maven regexp, and make sure the file can't start with a space
8686 (bug#11517).
8687
8688 2012-05-21 Glenn Morris <rgm@gnu.org>
8689
8690 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
8691 Scrap superfluous subshells.
8692
8693 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
8694
8695 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
8696 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
8697
8698 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
8699
8700 * calc/calc.el (calc-ensure-consistent-units): New variable.
8701
8702 * calc/calc-units.el (math-consistent-units-p)
8703 (math-check-unit-consistency): New functions.
8704 (calc-quick-units, calc-convert-units):
8705 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
8706 is non-nil.
8707 (calc-extract-units): Fix typo.
8708
8709 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8710
8711 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
8712
8713 * textmodes/flyspell.el: Commenting style, plus code simplifications.
8714 (flyspell-default-deplacement-commands): Don't spell check after
8715 repeated window/frame switches (e.g. triggered by mouse-movement).
8716 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
8717 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
8718 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
8719 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
8720 Remove unused vars.
8721 (flyspell-get-casechars, flyspell-get-not-casechars):
8722 Simplify; Don't bother removing a ] just to add it back.
8723 * textmodes/ispell.el (ispell-program-name): Use executable-find.
8724
8725 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8726
8727 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
8728 New functions.
8729 (math-function-table): Add support for more C functions.
8730
8731 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8732
8733 * textmodes/flyspell.el (flyspell-check-pre-word-p)
8734 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
8735 Protect delay handling for otherchars against empty otherchars.
8736
8737 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8738
8739 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
8740 their respective macro declarations.
8741 * skeleton.el (define-skeleton):
8742 * progmodes/compile.el (define-compilation-mode):
8743 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
8744 (define-ibuffer-filter):
8745 * emacs-lisp/generic.el (define-generic-mode):
8746 * emacs-lisp/easy-mmode.el (define-minor-mode)
8747 (define-globalized-minor-mode):
8748 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
8749 * emacs-lisp/byte-run.el (defsubst):
8750 * custom.el (deftheme): Add doc-string metadata.
8751
8752 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8753
8754 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
8755
8756 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8757
8758 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
8759
8760 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
8761 * emacs-lisp/cl-macs.el: Idem.
8762 * emacs-lisp/cl-specs.el: Remove.
8763
8764 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8765
8766 Minor renaming of internal CL functions and variables.
8767 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
8768 (cl--position): Rename from cl-position.
8769 (cl--delete-duplicates): Rename from cl-delete-duplicates.
8770 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
8771 (cl--random-state): Rename from *random-state*.
8772
8773 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8774
8775 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
8776 parens around the arg list (bug#11499).
8777
8778 2012-05-17 Juri Linkov <juri@jurta.org>
8779
8780 * isearch.el (word-search-regexp, word-search-backward)
8781 (word-search-forward, word-search-backward-lax)
8782 (word-search-forward-lax): Move functions from search.c
8783 (bug#10145, bug#11381).
8784
8785 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8786
8787 * textmodes/flyspell.el (flyspell-check-pre-word-p)
8788 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
8789 Delay for otherchars as for normal word components.
8790
8791 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
8792
8793 * minibuffer.el (completion--sifn-requote): Fix last change.
8794 (minibuffer-local-must-match-filename-map):
8795 Move define-obsolete-variable-alias before its var.
8796
8797 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8798
8799 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
8800
8801 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
8802 behavior.
8803 (completion--string-equal-p): New function.
8804 (completion--twq-all): Use it to get better assertion failure data.
8805
8806 Only handle ".." and '..' quoting in shell-mode (bug#11466).
8807 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
8808 (shell--requote-argument): New functions.
8809 (shell-completion-vars): Use them.
8810 (shell--parse-pcomplete-arguments): Rename from
8811 shell-parse-pcomplete-arguments.
8812 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
8813 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
8814 Obey comint-file-name-quote-list.
8815
8816 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
8817 (smie-indent-keyword): Use it.
8818
8819 2012-05-14 Stefan Merten <smerten@oekonux.de>
8820
8821 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
8822
8823 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
8824
8825 * net/rlogin.el (rlogin-mode-map): Fix last change.
8826
8827 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8828
8829 * mail/smtpmail.el (smtpmail-send-command): Send the command and
8830 the following \r\n using a single `process-send-string', since the
8831 Lotus SMTP server refuses to accept any commands if they are sent
8832 with two `process-send-string's (Bug#11444).
8833
8834 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
8835
8836 * shell.el (shell-parse-pcomplete-arguments):
8837 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
8838
8839 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
8840
8841 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
8842 (image-transform-scale, image-transform-right-angle-fudge): New vars.
8843 (image-transform-width, image-transform-fit-width): New functions.
8844 (image-transform-properties): Use them.
8845 (image-transform-check-size): New function.
8846 (image-toggle-display-image): Use it (for testing).
8847 (image-transform-set-rotation): Reduce angle mod 360.
8848 Delete obsolete comment.
8849
8850 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
8851
8852 * image-mode.el: Fix scaling (bug#11399).
8853 (image-transform-resize): Doc fix.
8854 (image-transform-properties): Default scale is 1 and height should
8855 be an integer.
8856
8857 2012-05-13 Johan Bockgård <bojohan@gnu.org>
8858
8859 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
8860 than hard-coding `car', to fix misbehavior when moving forward.
8861
8862 2012-05-13 Chong Yidong <cyd@gnu.org>
8863
8864 * emacs-lisp/tabulated-list.el (tabulated-list-format)
8865 (tabulated-list-entries, tabulated-list-padding)
8866 (tabulated-list-sort-key): Make permanent-local.
8867
8868 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
8869 (electric-buffer-list): Put electric buffer menu
8870 command descriptions in this docstring, instead of the docstring
8871 of electric-buffer-menu-mode. Code cleanups.
8872 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
8873 Electric-buffer-menu-mode.
8874 (electric-buffer-update-highlight): Minor code cleanup.
8875
8876 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
8877
8878 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
8879 (Bug#11447)
8880
8881 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
8882
8883 Move define-obsolete-variable-alias before the var's definition.
8884 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
8885 * tooltip.el (tooltip-hook):
8886 * textmodes/reftex-toc.el (reftex-toc-map):
8887 * textmodes/reftex-sel.el (reftex-select-label-map)
8888 (reftex-select-bib-map):
8889 * textmodes/reftex-index.el (reftex-index-map)
8890 (reftex-index-phrases-map):
8891 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
8892 * progmodes/meta-mode.el (meta-mode-map):
8893 * novice.el (disabled-command-hook):
8894 * loadhist.el (unload-hook-features-list):
8895 * frame.el (blink-cursor):
8896 * files.el (find-file-not-found-hooks, write-file-hooks)
8897 (write-contents-hooks):
8898 * emulation/tpu-edt.el (GOLD-map):
8899 * emacs-lock.el (emacs-lock-from-exiting):
8900 * emacs-lisp/generic.el (generic-font-lock-defaults):
8901 * emacs-lisp/chart.el (chart-map):
8902 * dos-fns.el (register-name-alist):
8903 * dired-x.el (dired-omit-files-p):
8904 * desktop.el (desktop-enable):
8905 * cus-edit.el (custom-mode-hook):
8906 * buff-menu.el (buffer-menu-mode-hook):
8907 * bookmark.el (bookmark-read-annotation-text-func)
8908 (bookmark-exit-hooks):
8909 * allout.el (allout-mode-deactivate-hook)
8910 (allout-exposure-change-hook, allout-structure-added-hook)
8911 (allout-structure-deleted-hook, allout-structure-shifted-hook):
8912 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
8913 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
8914 comes before the corresponding variable's definition.
8915
8916 2012-05-12 Chong Yidong <cyd@gnu.org>
8917
8918 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
8919 (Buffer-menu-mouse-select): Restore function (Bug#11459).
8920 (Buffer-menu-mode-map): Bind it.
8921 (Buffer-menu--pretty-name): Add a mouse-face property.
8922
8923 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
8924
8925 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
8926 (prolog-upper-case-string, prolog-lower-case-string)
8927 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
8928 (prolog-use-smie, prolog-smie-grammar): New vars.
8929 (prolog-smie-forward-token, prolog-smie-backward-token)
8930 (prolog-smie-rules): New funs.
8931 (prolog-comment-indent): Remove.
8932 (prolog-mode-variables): Use default comment indentation instead.
8933 Setup SMIE.
8934 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
8935 (prolog-mode): Don't call them any more.
8936 (prolog-electric-colon, prolog-electric-dash)
8937 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
8938
8939 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
8940
8941 * minibuffer.el (completion--twq-all): Again, allow case differences.
8942
8943 * term.el: Move keymap initialization code to be more idiomatic.
8944 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
8945 (term-terminal-menu): Move initialization into declaration.
8946 (term-escape-char): Let the user set it in her .emacs.
8947
8948 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
8949 Provide SMIE-based indentation (not enabled by default yet).
8950 (sh-mode-map): Don't bind electric keys.
8951 Use electric-pair-mode instead of skeleton-pair.
8952 (sh-assignment-regexp): Fit within 80 columns.
8953 (sh-indent-supported): Specify actual shell name instead of boolean.
8954 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
8955 (sh-maybe-here-document): Use it. Make obsolete.
8956 (sh-electric-here-document-mode) New minor mode.
8957 (sh-mode): Use it. Don't set sh-indent-supported-here here.
8958 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
8959 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
8960 (sh-smie-rc-grammar, sh-use-smie): New vars.
8961 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
8962 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
8963 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
8964 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
8965 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
8966 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
8967 (sh-set-shell): Use smie-setup if requested.
8968
8969 * term.el (term-set-escape-char): Properly set term-escape-char.
8970 See http://stackoverflow.com/questions/10524656.
8971
8972 2012-05-10 Chong Yidong <cyd@gnu.org>
8973
8974 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
8975 Use url-generic-parse-url, and handle host names and Windows
8976 filenames properly.
8977 (ffap-url-unwrap-remote): Use url-generic-parse-url.
8978 (ffap-url-unwrap-remote): Accept list values, specifying a list of
8979 URL schemes to work on.
8980 (ffap--toggle-read-only): New function.
8981 (ffap-read-only, ffap-read-only-other-window)
8982 (ffap-read-only-other-frame): Use it.
8983 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
8984 necessary for ffap-url-unwrap-remote.
8985
8986 2012-05-10 Dave Abrahams <dave@boostpro.com>
8987
8988 * cus-start.el (create-lockfiles): Add it.
8989
8990 2012-05-09 Chong Yidong <cyd@gnu.org>
8991
8992 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
8993 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
8994
8995 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8996
8997 * shell.el (shell-completion-vars): Fix last change (bug#11348).
8998
8999 2012-05-09 Chong Yidong <cyd@gnu.org>
9000
9001 * ansi-color.el (ansi-color-process-output): Check for validity of
9002 comint-last-output-start before using it. This avoids a bad
9003 interaction with gdb-mi's input/output buffer.
9004
9005 2012-05-09 Glenn Morris <rgm@gnu.org>
9006
9007 * files.el (dir-locals-read-from-file):
9008 Mention dir-locals in any error message.
9009
9010 2012-05-09 Chong Yidong <cyd@gnu.org>
9011
9012 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
9013 package (Bug#11410).
9014
9015 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
9016 variables into description.
9017
9018 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9019
9020 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
9021 shell-delimiter-argument-list (bug#11348).
9022 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
9023
9024 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
9025
9026 * textmodes/rst.el: Silence byte-compiler warnings.
9027 (rst-re-alist, rst-reset-section-caches): Move around.
9028 (rst-re): Use `characterp', not `char-valid-p'.
9029 (font-lock-beg, font-lock-end): Declare.
9030
9031 * progmodes/idlw-shell.el (specs): Remove reference to deleted
9032 variable `idlwave-shell-activate-alt-keybindings' and simplify.
9033
9034 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
9035
9036 2012-05-08 Glenn Morris <rgm@gnu.org>
9037
9038 * files.el (auto-mode-alist): Treat ".make" like ".mk".
9039
9040 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9041
9042 * vc/log-edit.el: Add GNU coding standards highlighting.
9043 (log-edit-font-lock-gnu-style)
9044 (log-edit-font-lock-gnu-keywords): New vars.
9045 (log-edit-font-lock-keywords): New fun.
9046 (log-edit-mode): Don't fold case in font-lock.
9047 (log-edit-font-lock-keywords): Do not assume case-folding.
9048
9049 * imenu.el: Misc cleanup. Make docstrings out of comments.
9050 Use lexical-binding.
9051 (imenu--index-alist, imenu--last-menubar-index-alist)
9052 (imenu-menubar-modified-tick): Use defvar-local.
9053 (imenu--split-menu): Remove unused var.
9054 (imenu--cleanup-seen): Declare as global.
9055 (imenu--cleanup): Use dolist.
9056
9057 * subr.el (defvar-local): Add debug spec and doc-string position.
9058
9059 2012-05-08 Glenn Morris <rgm@gnu.org>
9060
9061 * language/burmese.el, language/cham.el, language/czech.el:
9062 * language/english.el, language/georgian.el, language/greek.el:
9063 * language/japanese.el, language/khmer.el, language/korean.el:
9064 * language/lao.el, language/misc-lang.el, language/romanian.el:
9065 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
9066 * language/thai.el, language/utf-8-lang.el:
9067 Remove no-byte-compile setting.
9068
9069 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
9070
9071 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9072
9073 * progmodes/make-mode.el (makefile-browse):
9074 Remove unnecessary interactive. (Bug#11324)
9075
9076 2012-05-07 Glenn Morris <rgm@gnu.org>
9077
9078 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
9079
9080 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
9081
9082 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9083
9084 * loadup.el: Preload newcomment.el.
9085 * newcomment.el: Move autoload-only code to toplevel.
9086
9087 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
9088 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
9089 Handle new :right-align column property.
9090 (tabulated-list-print-col): Idem, plus use `display' text-property to
9091 try and preserve alignment for variable pitch fonts.
9092
9093 2012-05-07 Chong Yidong <cyd@gnu.org>
9094
9095 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
9096 (tabulated-list-use-header-line): New var.
9097 (tabulated-list-init-header): Use it.
9098 (tabulated-list-print-fake-header): New function.
9099 (tabulated-list-print): Use it.
9100 (tabulated-list-sort-button-map): Add non-header-line commands.
9101 (tabulated-list-init-header): Add column name property to basic
9102 labels as well.
9103 (tabulated-list-col-sort): Handle non-header-line button case.
9104 (tabulated-list--sort-by-column-name): Fix a corner case.
9105
9106 * buff-menu.el (list-buffers--refresh):
9107 Handle Buffer-menu-use-header-line.
9108
9109 2012-05-06 Chong Yidong <cyd@gnu.org>
9110
9111 * buff-menu.el: Convert to Tabulated List mode.
9112 (Buffer-menu-buffer+size-width): Make obsolete.
9113 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
9114 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
9115 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
9116 documentation into docstring of buffer-menu.
9117 (Buffer-menu-toggle-files-only): Add an informative message.
9118 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
9119 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
9120 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
9121 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
9122 (Buffer-menu-execute, Buffer-menu-select)
9123 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
9124 (Buffer-menu-bury): Use Tabulated List machinery.
9125 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
9126 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
9127 Delete.
9128 (list-buffers--refresh): New function.
9129 (list-buffers-noselect): Use it.
9130 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
9131 (Buffer-menu--pretty-file-name): New helper functions.
9132
9133 * loadup.el: Preload tabulated-list.
9134
9135 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
9136 tabulated-list-sort-column.
9137 (tabulated-list-init-header): Add the initial aligning space even
9138 if tabulated-list-padding is zero.
9139
9140 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
9141
9142 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
9143 whose cdr is not a cons cell correctly (bug#11038).
9144
9145 2012-05-06 Chong Yidong <cyd@gnu.org>
9146
9147 * emacs-lisp/tabulated-list.el (tabulated-list-format):
9148 Accept additional plist in column descriptors.
9149 (tabulated-list-init-header): Obey it.
9150 (tabulated-list-get-entry): New function.
9151 (tabulated-list-put-tag): Use it. Use string-width instead of
9152 length.
9153 (tabulated-list--column-number): New function.
9154 (tabulated-list-print): Use it.
9155 (tabulated-list-print-col): New function.
9156 Set `tabulated-list-column-name' property on each column's text.
9157 (tabulated-list-print-entry): Use it.
9158 (tabulated-list-delete-entry, tabulated-list-set-col):
9159 New functions.
9160 (tabulated-list-sort-column): New command (Bug#11337).
9161
9162 * buff-menu.el (list-buffers): Move C-x C-b binding from
9163 buff-menu.el to bindings.el.
9164
9165 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
9166 :advertised-binding feature.
9167
9168 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
9169
9170 * progmodes/compile.el (compilation-internal-error-properties):
9171 Calculate start position correctly when end-col is set but
9172 end-line is not (Bug#11382).
9173
9174 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
9175
9176 * man.el (Man-unindent): Use text-property-default-nonsticky to
9177 prevent untabify from inheriting face properties (Bug#11408).
9178
9179 2012-05-05 Stefan Merten <smerten@oekonux.de>
9180
9181 * textmodes/rst.el: Major merge with upstream development up to
9182 Docutils SVN r7399 / rst.el V1.2.1.
9183
9184 Clarify maintainership and authors.
9185
9186 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
9187 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
9188 (rst-official-version, rst-official-cvs-rev, rst-version)
9189 (rst-package-emacs-version-alist): New functions and variables
9190 for version information.
9191
9192 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
9193 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
9194 (rst-mode-syntax-table, rst-mode): New and corrected functions
9195 and variables representing reStructuredText features.
9196
9197 (rst-re): New function for reStructuredText regexes. Use in
9198 many places.
9199
9200 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
9201 (rst-mode-map): Rebind keys.
9202
9203 (rst-mode-lazy, rst-font-lock-keywords)
9204 (rst-font-lock-extend-region)
9205 (rst-font-lock-extend-region-internal)
9206 (rst-font-lock-extend-region-extend)
9207 (rst-font-lock-find-unindented-line-limit)
9208 (rst-font-lock-find-unindented-line-match)
9209 (rst-adornment-level, rst-font-lock-adornment-level)
9210 (rst-font-lock-adornment-match)
9211 (rst-font-lock-handle-adornment-pre-match-form)
9212 (rst-font-lock-handle-adornment-matcher): Major revision of
9213 font-locking. Integrate with other code. Use `jit-lock-mode'.
9214
9215 (rst-preferred-adornments, rst-adjust-hook)
9216 (rst-new-adornment-down, rst-preferred-bullets)
9217 (rst-preferred-bullets, rst-indent, rst-indent-width)
9218 (rst-indent-field, rst-indent-literal-normal)
9219 (rst-indent-literal-minimized, rst-indent-comment): Change,
9220 extend and improve customization.
9221
9222 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
9223 (rst-normalize-cursor-position, rst-get-decoration)
9224 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
9225 (rst-rstrip, rst-toc-insert-find-delete-contents)
9226 (rst-shift-fill-region, rst-compute-bullet-tabs)
9227 (rst-debug-print-tabs, rst-debug-mark-found)
9228 (rst-shift-region-guts, rst-shift-region-right)
9229 (rst-shift-region-left, rst-use-char-classes)
9230 (rst-font-lock-keywords-function)
9231 (rst-font-lock-indentation-point)
9232 (rst-font-lock-find-unindented-line-begin)
9233 (rst-font-lock-find-unindented-line-end)
9234 (rst-font-lock-find-unindented-line)
9235 (rst-font-lock-adornment-point, rst-font-lock-level)
9236 (rst-adornment-level-alist): Remove functions and variables.
9237
9238 (rst-compare-adornments, rst-get-adornment-match)
9239 (rst-suggest-new-adornment, rst-get-adornments-around)
9240 (rst-adornment-complete-p, rst-get-next-adornment)
9241 (rst-adjust-adornment, rst-display-adornments-hierarchy)
9242 (rst-straighten-adornments): Standardize function names to
9243 use "adornment" instead of "decoration". Correct callers.
9244 Similar standardizing in many places.
9245
9246 (rst-update-section, rst-adjust, rst-promote-region)
9247 (rst-enumerate-region, rst-bullet-list-region)
9248 (rst-repeat-last-character): Correct use of `interactive'.
9249
9250 (rst-classify-adornment, rst-find-all-adornments)
9251 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
9252 (rst-find-leftmost-column, rst-repeat-last-character):
9253 Refactor functions.
9254
9255 (rst-find-title-line, rst-reset-section-caches)
9256 (rst-get-adornments-around, rst-adjust-adornment-work)
9257 (rst-arabic-to-roman, rst-roman-to-arabic)
9258 (rst-insert-list-pos, rst-insert-list-new-item)
9259 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
9260 New functions.
9261
9262 (rst-all-sections, rst-section-hierarchy)
9263 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
9264 New variables.
9265
9266 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
9267 configuration instead of only buffer. Change where necessary.
9268
9269 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
9270 (rst-shift-region, rst-adaptive-fill): New functions for
9271 indentation and filling.
9272
9273 (rst-comment-line-break, rst-comment-indent)
9274 (rst-comment-insert-comment, rst-comment-region)
9275 (rst-uncomment-region): New functions for handling comments.
9276
9277 (rst-compile): Quote shell arguments.
9278
9279 (rst-compile-pdf-preview, rst-compile-slides-preview):
9280 Delete temporary files after use.
9281
9282 2012-05-05 Glenn Morris <rgm@gnu.org>
9283
9284 * calendar/cal-html.el: Optionally include holidays in the output.
9285 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
9286 (cal-html-holidays): New option.
9287 (cal-html-css-default): Add holiday entry.
9288 (holiday-in-range): Autoload it.
9289 (cal-html-htmlify-entry): Add optional class argument.
9290 (cal-html-htmlify-list): Add optional holidays argument.
9291 (cal-html-insert-agenda-days): Include holidays in the output.
9292 (cal-html-one-month): Maybe include holidays.
9293
9294 * calendar/holidays.el (holiday-in-range):
9295 Move here from cal-tex-list-holidays.
9296 * calendar/cal-tex.el (cal-tex-list-holidays):
9297 Make it an obsolete alias for holiday-in-range. Update all callers.
9298
9299 2012-05-05 Chong Yidong <cyd@gnu.org>
9300
9301 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
9302 Nextstep.
9303
9304 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
9305
9306 * files.el (file-auto-mode-skip): New var.
9307 (set-auto-mode-1): Use it.
9308
9309 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9310
9311 * repeat.el: Use lexical-binding.
9312 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
9313 (repeat-undo-count): Remove.
9314 (repeat):
9315 * progmodes/octave-mod.el (octave-abbrev-start):
9316 * progmodes/f90.el (f90-abbrev-start):
9317 * face-remap.el (text-scale-adjust):
9318 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
9319
9320 * emacs-lisp/pcase.el (pcase--let*): New function.
9321 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
9322 a bit more.
9323 (pcase--split-pred): Be more clever about ruling out overlap between
9324 a predicate and some constant pattern.
9325 (pcase--q1): Use `null' instead of (eq foo nil).
9326
9327 * subr.el (setq-local, defvar-local): New macros.
9328 (kbd): Redefine as an alias.
9329 (with-selected-window): Leave unrelated frames alone.
9330 (set-temporary-overlay-map): New function.
9331
9332 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9333
9334 * subr.el (user-error): New function.
9335 * window.el (switch-to-buffer):
9336 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
9337 (smerge-match-conflict):
9338 * simple.el (previous-matching-history-element)
9339 (next-matching-history-element, goto-history-element, undo-more)
9340 (undo-start):
9341 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
9342 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
9343 (next-file, tags-loop-scan, list-tags, complete-tag):
9344 * progmodes/compile.el (compilation-loop):
9345 * mouse.el (mouse-minibuffer-check):
9346 * man.el (Man-bgproc-sentinel, Man-goto-page):
9347 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
9348 (Info-history-forward, Info-follow-reference, Info-menu)
9349 (Info-extract-menu-item, Info-extract-menu-counting)
9350 (Info-forward-node, Info-backward-node, Info-next-menu-item)
9351 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
9352 (Info-next-reference, Info-prev-reference, Info-index)
9353 (Info-index-next, Info-follow-nearest-node)
9354 (Info-copy-current-node-name):
9355 * imenu.el (imenu--make-index-alist)
9356 (imenu-default-create-index-function, imenu-add-to-menubar):
9357 * files.el (basic-save-buffer, recover-file):
9358 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
9359 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
9360 (checkdoc-message-text, checkdoc-defun):
9361 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
9362 * cus-edit.el (customize-changed-options, customize-rogue)
9363 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
9364 (custom-variable-mark-to-reset-standard)
9365 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
9366 (custom-file):
9367 * completion.el (check-completion-length):
9368 * comint.el (comint-search-arg)
9369 (comint-previous-matching-input-string-position)
9370 (comint-previous-matching-input)
9371 (comint-replace-by-expanded-history-before-point, comint-send-input)
9372 (comint-copy-old-input, comint-backward-matching-input)
9373 (comint-goto-process-mark, comint-set-process-mark):
9374 * calendar/calendar.el (calendar-cursor-to-date): Use it.
9375 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
9376
9377 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9378
9379 * dabbrev.el (dabbrev--ignore-case-p): New function.
9380 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
9381 Use it.
9382
9383 * files.el (automount-dir-prefix): Mark as obsolete.
9384
9385 2012-05-04 Glenn Morris <rgm@gnu.org>
9386
9387 * patcomp.el, play/bruce.el: Move to obsolete/.
9388
9389 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
9390
9391 Fix minor Y10k bugs.
9392 * arc-mode.el (archive-unixdate):
9393 * autoinsert.el (auto-insert-alist):
9394 * calc/calc-forms.el (math-this-year):
9395 * emacs-lisp/copyright.el (copyright-current-year)
9396 (copyright-update-year, copyright):
9397 * tar-mode.el (tar-clip-time-string):
9398 * time.el (display-time-update):
9399 Don't assume years have 4 digits.
9400
9401 2012-05-04 Chong Yidong <cyd@gnu.org>
9402
9403 * dos-w32.el (file-name-buffer-file-type-alist)
9404 (direct-print-region-use-command-dot-com):
9405 * ffap.el (ffap-menu-regexp):
9406 * find-file.el (ff-special-constructs):
9407 * follow.el (follow-debug):
9408 * forms.el (forms--debug):
9409 * iswitchb.el (iswitchb-all-frames):
9410 * ido.el (ido-all-frames):
9411 * emacs-lisp/timer.el (timer-max-repeats):
9412 * mail/feedmail.el (feedmail-mail-send-hook)
9413 (feedmail-mail-send-hook-queued):
9414 * mail/footnote.el (footnote-signature-separator):
9415 * mail/mailabbrev.el (mail-alias-separator-string)
9416 (mail-abbrev-mode-regexp):
9417 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
9418 * progmodes/idlwave.el (idlwave-libinfo-file)
9419 (idlwave-default-completion-case-is-down)
9420 (idlwave-library-routines): Convert defvars to defcustoms.
9421
9422 * mail/rmail.el (rmail-decode-mime-charset):
9423 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
9424 (idlwave-shell-fix-inserted-breaks)
9425 (idlwave-shell-activate-alt-keybindings)
9426 (idlwave-shell-use-breakpoint-glyph):
9427 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
9428
9429 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9430
9431 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
9432
9433 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
9434
9435 * progmodes/verilog-mode.el (font-lock-keywords):
9436 Fix mis-highligting auto. Reported by Craig Barner.
9437 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
9438 defines from global name space. Reported by Dan Dever.
9439 (verilog-auto-reset, verilog-auto-reset-widths)
9440 (verilog-auto-tieoff): Support using unbased numbers for
9441 AUTORESET and AUTOTIEOFF.
9442 (verilog-submit-bug-report): Update variable list.
9443 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
9444 parenthesis from not matching. Reported by Michael Rytting.
9445 (verilog-auto-template-lint): Fix hash error when linting modules
9446 with no used templates.
9447 (verilog-warn, verilog-warn-error)
9448 (verilog-warn-fatal): When non-interactive report multiple
9449 warnings before exiting. Suggested by Brad Dobbie.
9450 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
9451 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
9452 to report unused template errors. Reported by Brad Dobbie.
9453 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
9454 nets, bug438. Reported by Vns Blore.
9455 (verilog-auto-inout-module, verilog-auto-reg)
9456 (verilog-read-decls, verilog-read-sub-decls-sig)
9457 (verilog-signals-edit-wire-reg, verilog-signals-with):
9458 Fix passing of Verilog data types in ANSI input/output ports
9459 such as "output logic" into the AUTOs. Special case "wire" and
9460 "reg" for backwards compatibility presuming Verilog 2001.
9461 (verilog-auto-ascii-enum): Add "auto enum" as alias.
9462 (verilog-preprocess): Fix replication of preprocess output.
9463 Reported by Brad Dobbie.
9464 (verilog-auto-inst-interfaced-ports):
9465 Create verilog-auto-inst-interfaced-ports, bug429.
9466 Reported by Julian Gorfajn.
9467 (verilog-after-save-font-hook)
9468 (verilog-before-save-font-hook): New variable.
9469 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
9470 (verilog-save-font-mods): Wrap disabling fontification, reported
9471 by David Rogoff.
9472 (verilog-do-indent, verilog-pretty-declarations-auto)
9473 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
9474 Reported by Pierre-David Pfister.
9475 (verilog-set-auto-endcomments): Fix endtask auto comments outside
9476 of class declarations, bug292. Reported by Kevin Heilman.
9477 (verilog-read-decls): Fix 'parameter type' not appearing in
9478 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
9479 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
9480 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
9481 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
9482 Reported by David Kravitz.
9483
9484 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
9485
9486 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
9487 assignment with tests in ifs and for loops.
9488 (verilog-extended-complete-re, verilog-complete-reg): Change so
9489 that DPI inport functions don't look like fuction declarations.
9490 (verilog-pretty-expr): Don't line up assignment
9491 operations to the test and increment in if and for loops
9492 (verilog-extended-complete-re, verilog-complete-reg): Change so
9493 that DPI inport functions don't look like fuction declarations.
9494
9495 2012-05-03 Kenichi Handa <handa@m17n.org>
9496
9497 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
9498 decoding, and show a warning message without signaling an error
9499 (Bug#11282).
9500
9501 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9502
9503 * emacs-lisp/bytecomp.el
9504 (byte-compile-file-form-custom-declare-variable): Compile all elements,
9505 since cconv.el might have introduced :fun-body, internal-make-closure,
9506 and friends for bytecomp to handle (bug#11391).
9507 * custom.el (defcustom): Avoid ((λ ..) ..).
9508
9509 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
9510
9511 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
9512
9513 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
9514
9515 * notifications.el (dbus-debug):
9516 * term/linux.el (gpm-mouse-enable):
9517 * term/screen.el (xterm-register-default-colors): Declare.
9518
9519 2012-05-02 Chong Yidong <cyd@gnu.org>
9520
9521 * cus-start.el (gc-cons-percentage, exec-suffixes)
9522 (dos-display-scancodes, dos-hyper-key, dos-super-key)
9523 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
9524 (make-cursor-line-fully-visible, void-text-area-pointer)
9525 (font-list-limit): Add customization data.
9526
9527 * allout.el (allout-exposure-change-functions)
9528 (allout-structure-added-functions)
9529 (allout-structure-deleted-functions)
9530 (allout-structure-shifted-functions): Rename abnormal hooks from
9531 *-hook, and convert to defcustoms.
9532 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
9533 Convert to defcustoms.
9534 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
9535
9536 * allout-widgets.el: Hook callers changed.
9537
9538 2012-05-02 Eli Zaretskii <eliz@gnu.org>
9539
9540 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
9541 the yanked message in preference to the default value of
9542 buffer-file-coding-system.
9543
9544 2012-05-02 Martin Rudalics <rudalics@gmx.at>
9545
9546 * window.el (display-buffer--action-function-custom-type):
9547 Fix entry.
9548
9549 2012-05-02 Alan Mackenzie <acm@muc.de>
9550
9551 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
9552
9553 2012-05-01 Glenn Morris <rgm@gnu.org>
9554
9555 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
9556
9557 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
9558
9559 * cus-edit.el (custom-variable-documentation): Simplify with format.
9560
9561 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9562 Stefan Monnier <monnier@iro.umontreal.ca>
9563
9564 * simple.el (suggest-key-bindings, execute-extended-command):
9565 Move from keyboard.c.
9566
9567 2012-05-01 Chong Yidong <cyd@gnu.org>
9568
9569 * follow.el: Eliminate advice.
9570 (set-process-filter, process-filter, sit-for): Advice deleted.
9571 (follow-mode-off-hook): Obsolete hook removed.
9572 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
9573 Vars deleted.
9574 (follow-auto): Use a :set function.
9575 (follow-mode): Rewritten. Don't advise process filters.
9576 (follow-switch-to-current-buffer-all, follow-scroll-up)
9577 (follow-scroll-down): Assume follow-mode is bound.
9578 (follow-comint-scroll-to-bottom)
9579 (follow-align-compilation-windows): New functions.
9580 (follow--window-sorter): New function.
9581 (follow-all-followers): Use it to explicitly sort windows by their
9582 positions; don't make assumptions about next-window order.
9583 (follow-windows-start-end, follow-delete-other-windows-and-split)
9584 (follow-calc-win-start): Doc fix.
9585 (follow-windows-aligned-p, follow-select-if-visible): Don't call
9586 vertical-motion unnecessarily.
9587 (follow-adjust-window): New function.
9588 (follow-post-command-hook): Use it.
9589 (follow-call-set-process-filter, follow-call-process-filter)
9590 (follow-intercept-process-output, follow-tidy-process-filter-alist)
9591 (follow-stop-intercept-process-output, follow-generic-filter):
9592 Functions deleted.
9593 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
9594 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
9595 New functions, replacing advice on scroll-bar-* commands.
9596 (follow-mwheel-scroll): New function (Bug#4112).
9597
9598 * comint.el (comint-adjust-point): New function.
9599 (comint-postoutput-scroll-to-bottom): Use it.
9600 Call follow-comint-scroll-to-bottom for Follow mode buffers.
9601
9602 2012-05-01 Glenn Morris <rgm@gnu.org>
9603
9604 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
9605 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
9606 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
9607 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
9608 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
9609 Remove no-byte-compile setting.
9610
9611 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
9612
9613 * minibuffer.el (completion-table-with-quoting): Fix compatibility
9614 all-completions code to not return a number in the last cdr.
9615
9616 2012-04-30 Leo Liu <sdl.web@gmail.com>
9617
9618 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
9619 read-only error.
9620
9621 2012-04-29 Chong Yidong <cyd@gnu.org>
9622
9623 * follow.el (follow-calc-win-end): Rewrite to handle partial
9624 screen lines correctly (Bug#8390).
9625 (follow-avoid-tail-recenter): Minor cleanup.
9626
9627 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9628
9629 Avoid the obsolete `assoc' package.
9630 * speedbar.el (speedbar-refresh): Avoid adelete.
9631 (speedbar-file-lists): Simplify and avoid aput.
9632 * man.el (Man--sections, Man--refpages): New vars, replacing
9633 Man-sections-alist and Man-refpages-alist.
9634 (Man-build-section-alist, Man-build-references-alist):
9635 Use them; avoid aput.
9636 (Man--last-section, Man--last-refpage): New vars.
9637 (Man-follow-manual-reference): Use them.
9638 Use the `default' arg of completing-read.
9639 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
9640
9641 2012-04-27 Chong Yidong <cyd@gnu.org>
9642
9643 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
9644
9645 * startup.el (x-apply-session-resources): New function.
9646
9647 * term/ns-win.el (ns-initialize-window-system):
9648 * term/w32-win.el (w32-initialize-window-system):
9649 * term/x-win.el (x-initialize-window-system): Use it to properly
9650 set menu-bar-mode and other vars from X resources, even if the
9651 initial frame is not a window-system frame (Bug#2299).
9652
9653 * subr.el (read-key): Avoid running filter function when setting
9654 up temporary tool bar entries (Bug#9922).
9655
9656 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
9657
9658 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
9659 (Bug#11344)
9660
9661 2012-04-27 Chong Yidong <cyd@gnu.org>
9662
9663 * select.el (xselect--encode-string): New function, split from
9664 xselect-convert-to-string.
9665 (xselect-convert-to-string): Use it.
9666 (xselect-convert-to-filename, xselect-convert-to-os)
9667 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
9668 returned strings are properly encoded (Bug#11315).
9669
9670 2012-04-27 Chong Yidong <cyd@gnu.org>
9671
9672 * simple.el (delete-active-region): Move to killing custom group.
9673
9674 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
9675
9676 * progmodes/which-func.el (which-func-current): Quote %
9677 characters for mode-line processing.
9678
9679 2012-04-27 Chong Yidong <cyd@gnu.org>
9680
9681 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
9682 reaching eob (Bug#11286).
9683
9684 2012-04-27 Eli Zaretskii <eliz@gnu.org>
9685
9686 * progmodes/gdb-mi.el (gdb-control-level): New variable.
9687 (gdb): Make it buffer-local and init to zero.
9688 (gdb-control-commands-regexp): New variable.
9689 (gdb-send): Don't wrap in "-interpreter-exec console" if
9690 gdb-control-level is positive. Increment gdb-control-level
9691 whenever the command matches gdb-control-commands-regexp, and
9692 decrement it each time the command is "end". (Bug#11279)
9693
9694 2012-04-27 Martin Rudalics <rudalics@gmx.at>
9695
9696 * window.el (adjust-window-trailing-edge, enlarge-window)
9697 (shrink-window, window-resize):
9698 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
9699 windows (Bug#11276).
9700
9701 2012-04-27 Chong Yidong <cyd@gnu.org>
9702
9703 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
9704 fix "missing prefix" warning. All callers changed.
9705
9706 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9707
9708 * emacs-lisp/assoc.el: Move to obsolete/.
9709
9710 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9711
9712 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
9713
9714 * term/ns-win.el (ns-define-service):
9715 * progmodes/pascal.el (pascal-goto-defun):
9716 * progmodes/js.el (js--read-tab):
9717 * progmodes/etags.el (tags-lazy-completion-table):
9718 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
9719 * emacs-lisp/ewoc.el (ewoc--wrap):
9720 * emacs-lisp/assoc.el (aput, adelete, amake):
9721 * doc-view.el (doc-view-convert-current-doc):
9722 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
9723
9724 2012-04-26 Chong Yidong <cyd@gnu.org>
9725
9726 * image.el (image-type-from-buffer): Only return supported image
9727 type (Bug#9045).
9728
9729 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
9730 value, for symmetry with diff-end-of-hunk.
9731 (diff-split-hunk, diff-find-source-location)
9732 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
9733 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
9734 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
9735 compute the relevant hunk or file properly (Bug#6005).
9736 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
9737
9738 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9739
9740 * vc/vc-mtn.el:
9741 * vc/vc-hg.el:
9742 * vc/vc-git.el:
9743 * vc/vc-dir.el:
9744 * vc/vc-cvs.el:
9745 * vc/vc-bzr.el:
9746 * vc/vc-arch.el:
9747 * vc/vc.el: Replace lexical-let by lexical-binding.
9748 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
9749 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
9750 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
9751
9752 2012-04-26 Chong Yidong <cyd@gnu.org>
9753
9754 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
9755 (diff-mode-shared-map): Bind it to / and [remap undo].
9756
9757 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
9758 (ediff-window-setup-function): Use it as the default, to set up
9759 windows based on whether the current frame is graphical (Bug#2138).
9760 (ediff-choose-window-setup-function-automatically): Make obsolete.
9761
9762 * vc/ediff-init.el: Always define ediff-pixel-width/height.
9763
9764 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9765
9766 * ffap.el: Remove old code for obsolete package.
9767 (ffap-complete-as-file-p): Remove.
9768
9769 Use completion-table-with-quoting for comint and pcomplete.
9770 * comint.el (comint--unquote&requote-argument)
9771 (comint--unquote-argument, comint--requote-argument): New functions.
9772 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
9773 (comint-quote-filename): Use regexp-opt-charset.
9774 (comint--common-suffix, comint--common-quoted-suffix)
9775 (comint--table-subvert): Remove.
9776 (comint-unquote-function, comint-requote-function): New vars.
9777 (comint--complete-file-name-data): Use them with
9778 completion-table-with-quoting.
9779 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
9780 * pcomplete.el (pcomplete-arg-quote-list)
9781 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
9782 (pcomplete-unquote-argument-function): Default to non-nil.
9783 (pcomplete-unquote-argument): Simplify.
9784 (pcomplete--common-quoted-suffix): Remove.
9785 (pcomplete-requote-argument-function): New var.
9786 (pcomplete--common-suffix): New function.
9787 (pcomplete-completions-at-point): Use completion-table-with-quoting
9788 and completion-table-subvert.
9789
9790 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
9791 (minibuffer--double-dollars): Preserve properties.
9792 (completion--sifn-requote): New function.
9793 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
9794
9795 * minibuffer.el: Add support for completion of quoted/escaped data.
9796 (completion-table-with-quoting, completion-table-subvert): New funs.
9797 (completion--twq-try, completion--twq-all): New functions.
9798 (completion--nth-completion): New function.
9799 (completion-try-completion, completion-all-completions): Use it.
9800
9801 2012-04-25 Leo Liu <sdl.web@gmail.com>
9802
9803 * progmodes/python.el (python-pdbtrack-get-source-buffer):
9804 Use compilation-message if available to find real filename.
9805
9806 2012-04-25 Chong Yidong <cyd@gnu.org>
9807
9808 * vc/diff-mode.el (diff-setup-whitespace): New function.
9809 (diff-mode): Use it.
9810
9811 * vc/diff.el (diff-sentinel):
9812 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
9813 Whitespace mode variables based on diff style (Bug#8612).
9814
9815 2012-04-25 Leo Liu <sdl.web@gmail.com>
9816
9817 * progmodes/python.el (python-send-region): Add suffix .py to the
9818 temp file.
9819
9820 * files.el (auto-mode-alist): Use javascript-mode instead.
9821
9822 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
9823
9824 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
9825
9826 * net/soap-client.el (soap-resolve-references-for-sequence-type)
9827 (soap-resolve-references-for-array-type): Hack to prevent self
9828 references, see Bug#9.
9829 (soap-parse-envelope): Report the contents of the 'detail' node
9830 when receiving a fault reply.
9831 (soap-parse-envelope): Report the contents of the entire 'detail' node.
9832
9833 * net/soap-inspect.el (soap-sample-value-for-simple-type)
9834 (soap-inspect-simple-type): New function.
9835
9836 * net/soap-client.el (soap-simple-type): New struct.
9837 (soap-default-xsd-types, soap-default-soapenc-types)
9838 (soap-decode-basic-type, soap-encode-basic-type):
9839 support unsignedInt and double basic types.
9840 (soap-resolve-references-for-simple-type)
9841 (soap-parse-simple-type, soap-encode-simple-type): New function.
9842 (soap-parse-schema): Parse xsd:simpleType declarations.
9843
9844 * net/soap-client.el (soap-default-xsd-types)
9845 (soap-default-soapenc-types): Add integer, byte and anyURI types.
9846 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
9847 the local name of "soapenc:Array".
9848 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
9849 decoding integer, byte and anyURI xsd types.
9850
9851 2012-04-25 Chong Yidong <cyd@gnu.org>
9852
9853 * cus-edit.el (custom-buffer-create-internal): Update header text.
9854
9855 2012-04-25 Eli Zaretskii <eliz@gnu.org>
9856
9857 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
9858 settings on 'system-type', not on 'window-system'. On MS-Windows,
9859 set interactive-mode on in GDB.
9860
9861 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9862
9863 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
9864 (ruby-syntax-propertize-regexp): Remove.
9865 (ruby-syntax-propertize-function): Split regexp into chunks.
9866 Match following code directly.
9867
9868 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
9869
9870 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
9871 (ruby-syntax-propertize-regexp): New function.
9872 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
9873 by a special keyword.
9874
9875 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
9876 (ruby-syntax-general-delimiters-goto-beg)
9877 (ruby-syntax-propertize-general-delimiters): New functions.
9878 (ruby-syntax-propertize-function): Use them to handle GDL.
9879 (ruby-font-lock-keywords): Move old handling of GDL...
9880 (ruby-font-lock-syntactic-keywords): .. to here.
9881 (ruby-calculate-indent): Adjust indentation for GDL.
9882
9883 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
9884
9885 * notifications.el (top): Remove unneeded declarations.
9886 (notifications-specification-version): Change to "1.2".
9887 (notifications-interface, notifications-notify-method)
9888 (notifications-close-notification-method): Fix docstring.
9889 (notifications-get-capabilities-method): New defconst.
9890 (notifications-notify): Add :action-items, :resident and
9891 :transient hints. Change "image_data" to "image-data" and
9892 "image_path" to "image-path".
9893 (notifications-get-capabilities): New defun.
9894
9895 2012-04-24 Leo Liu <sdl.web@gmail.com>
9896
9897 * progmodes/python.el: Move hideshow setup to the end.
9898
9899 2012-04-24 Martin Rudalics <rudalics@gmx.at>
9900
9901 * window.el (handle-select-window): Clear echo area since this is
9902 no more done by read_char (Bug#11304).
9903
9904 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9905
9906 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
9907 and `/ M' to filter-derived-mode.
9908 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
9909 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
9910 (ibuffer-mark-by-mode): Use default rather than initial-input.
9911 (ibuffer-filter-by-derived-mode): Autoload and require-match.
9912
9913 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
9914
9915 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
9916 (ibuffer-filter-by-derived-mode): New filter.
9917 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
9918
9919 2012-04-23 Andreas Politz <politza@fh-trier.de>
9920
9921 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
9922
9923 2012-04-23 Chong Yidong <cyd@gnu.org>
9924
9925 * cus-edit.el (customize-apropos, customize-apropos-options):
9926 Disable matching of non-option variables (Bug#11176).
9927 (customize-option, customize-option-other-window)
9928 (customize-changed-options): Doc fix.
9929 (customize-apropos-options, customize-apropos-faces)
9930 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
9931
9932 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
9933 Fix word list splitting (Bug#11132).
9934 (apropos-symbol, apropos-keybinding, apropos-label)
9935 (apropos-property, apropos-function-button)
9936 (apropos-variable-button, apropos-misc-button): New faces.
9937 (apropos-symbol-face, apropos-keybinding-face)
9938 (apropos-label-face, apropos-property-face, apropos-match-face):
9939 Variables removed (Bug#8396).
9940 (apropos-library-button, apropos-format-plist, apropos-print)
9941 (apropos-print-doc, apropos-describe-plist): Callers changed.
9942
9943 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
9944
9945 * net/xesam.el (xesam-mode-map): Use let-bound map in
9946 initialization. (Bug#11292)
9947
9948 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9949
9950 Preserve ispell session localwords when switching back to
9951 original buffer.
9952
9953 * textmodes/ispell.el (ispell-buffer-session-localwords):
9954 New buffer-local variable to hold buffer session localwords.
9955 (ispell-kill-ispell): Add option 'clear to delete session
9956 localwords.
9957 (ispell-command-loop, ispell-change-dictionary)
9958 (ispell-buffer-local-words): Preserve session localwords when
9959 needed.
9960
9961 * textmodes/flyspell.el (flyspell-process-localwords)
9962 (flyspell-do-correct): Preserve session localwords when needed.
9963
9964 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9965
9966 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
9967 using obsolete `translation-table-for-input'.
9968 (ispell-word, ispell-process-line, ispell-complete-word):
9969 Use plain `insert' instead of removed `ispell-insert-word'.
9970
9971 2012-04-22 Chong Yidong <cyd@gnu.org>
9972
9973 * cus-edit.el (custom-variable-menu)
9974 (custom-variable-reset-saved, custom-face-menu)
9975 (custom-face-reset-saved): If there is no saved value, make the
9976 "reset-saved" operation bring back the default (Bug#9509).
9977 (custom-face-state): Properly detect themed faces.
9978
9979 * faces.el (face-spec-set): Stop supporting deprecated form of
9980 third arg.
9981
9982 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
9983
9984 Move functions from C to Lisp. Make non-blocking method calls
9985 the default. Implement further D-Bus standard interfaces.
9986
9987 * net/dbus.el (dbus-message-internal): Declare function.
9988 Remove unneeded function declarations.
9989 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
9990 (dbus-message-type-method-return, dbus-message-type-error)
9991 (dbus-message-type-signal): Declare variables. Remove local
9992 definitions.
9993 (dbus-interface-dbus, dbus-interface-peer)
9994 (dbus-interface-introspectable, dbus-interface-properties)
9995 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
9996 Adapt docstring.
9997 (dbus-interface-objectmanager): New defconst.
9998 (dbus-call-method, dbus-call-method-asynchronously)
9999 (dbus-send-signal, dbus-method-return-internal)
10000 (dbus-method-error-internal, dbus-register-service)
10001 (dbus-register-signal, dbus-register-method): New defuns, moved
10002 from dbusbind.c
10003 (dbus-call-method-handler, dbus-setenv)
10004 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
10005 New defuns.
10006 (dbus-call-method-non-blocking): Make it an obsolete function.
10007 (dbus-unregister-object, dbus-unregister-service)
10008 (dbus-handle-event, dbus-register-property)
10009 (dbus-property-handler): Obey the new structure of
10010 `bus-registered-objects'.
10011 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
10012 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
10013 Use `dbus-call-method'.
10014
10015 2012-04-22 Chong Yidong <cyd@gnu.org>
10016
10017 * cus-edit.el (custom-commands, custom-reset-menu)
10018 (Custom-reset-standard): Tweak labels.
10019 (custom-reset-button-menu): Change default to t.
10020 (custom-buffer-create-internal): For the custom-reset-button-menu
10021 case, put the revert button first.
10022 (custom-group-subtitle): New face.
10023 (custom-group-value-create): Align docstring to a specific column.
10024
10025 * wid-edit.el (widget-documentation-link-add): Don't handle
10026 indentation in this function.
10027 (widget-documentation-string-indent-to): New function.
10028 (widget-documentation-string-value-create): Use it.
10029
10030 * autorevert.el (auto-revert):
10031 * epg-config.el (epg):
10032 * ibuffer.el (ibuffer):
10033 * mpc.el (mpc):
10034 * ses.el (ses):
10035 * eshell/eshell.el (eshell):
10036 * net/ange-ftp.el (ange-ftp):
10037 * progmodes/ebnf2ps.el (postscript):
10038 * progmodes/flymake.el (flymake):
10039 * progmodes/prolog.el (prolog):
10040 * progmodes/verilog-mode.el (verilog-mode):
10041 * progmodes/which-func.el (which-func):
10042 * term/xterm.el (xterm):
10043 * textmodes/picture.el (picture):
10044 * textmodes/tildify.el (tildify):
10045 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
10046 customization buffers.
10047
10048 2012-04-22 Alan Mackenzie <acm@muc.de>
10049
10050 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
10051 Adding a ) can hide the resulting (..) from searches. Fix it.
10052 Bound the backward search to the position of the existing (.
10053
10054 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
10055
10056 * progmodes/verilog-mode.el (verilog-mode): Check whether
10057 which-func-modes is t before adding verilog-mode.
10058 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
10059
10060 2012-04-21 Leo Liu <sdl.web@gmail.com>
10061
10062 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
10063
10064 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
10065
10066 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
10067 filling of the last column of a table (Bug#5635).
10068 (woman-find-next-control-line): New arg, specifying an additional
10069 regexp component for the control line.
10070 (woman2-roff-buffer): Use it.
10071 (woman-break-table): New function.
10072 (woman2-TS): Use it.
10073
10074 2012-04-21 Chong Yidong <cyd@gnu.org>
10075
10076 * woman.el (woman-set-buffer-display-table, woman-decode-region)
10077 (woman-horizontal-escapes, woman-negative-vertical-space)
10078 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
10079 (WoMan-warn-ignored): Use ?\s instead of ?\ .
10080
10081 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10082
10083 * minibuffer.el (completion-file-name-table): Complete user names.
10084
10085 2012-04-20 Leo Liu <sdl.web@gmail.com>
10086
10087 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
10088 and pcase-let*.
10089
10090 2012-04-20 Chong Yidong <cyd@gnu.org>
10091
10092 * server.el (server-execute): Respect initial-buffer-choice if it
10093 is a string and there are no files to open (Bug#2825).
10094 (server-create-window-system-frame, server-create-tty-frame):
10095 Don't switch buffers here.
10096 (server-process-filter): Only try to open a window system frame if
10097 compiled with graphical support (Bug#8314).
10098
10099 2012-04-20 Dan Nicolaescu <dann@gnu.org>
10100
10101 * battery.el (battery-echo-area-format): Display remaining time
10102 for sysfs backend too (Bug#11269).
10103 (battery-linux-sysfs): Fix conditional for the charge.
10104
10105 2012-04-20 Chong Yidong <cyd@gnu.org>
10106
10107 * progmodes/gdb-mi.el (gdb): Revert previous change.
10108 (gdb-inferior-io--init-proc): New function.
10109 (gdb-init-1): Use it.
10110 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
10111 responsible for allocating a new pty and hooking it to gdb when
10112 the old pty gets an EIO due to process exit.
10113 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
10114 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
10115 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
10116
10117 2012-04-20 Eli Zaretskii <eliz@gnu.org>
10118
10119 * window.el (window-min-size, window-sizable, window-min-delta)
10120 (window-max-delta, window--resizable, window-resizable)
10121 (window-total-size, window-full-height-p, window-full-width-p)
10122 (window-in-direction, window--resize-mini-window, window-resize)
10123 (window--resize-child-windows-normal)
10124 (window--resize-child-windows, window--resize-siblings)
10125 (window--resize-this-window, adjust-window-trailing-edge)
10126 (enlarge-window, shrink-window): Doc fixes.
10127
10128 2012-04-20 Chong Yidong <cyd@gnu.org>
10129
10130 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
10131 New function to call delete-process on the gdb-inferior buffer's pty.
10132 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
10133 pty process (Bug#11273).
10134 (gdb-update): New arg to suppress talking to the gdb process.
10135 (gdb-done-or-error): Use it.
10136 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
10137 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
10138 sentinel not being called.
10139
10140 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
10141
10142 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
10143
10144 2012-04-20 Glenn Morris <rgm@gnu.org>
10145
10146 * net/network-stream.el (open-network-stream): Doc fix.
10147
10148 2012-04-20 Chong Yidong <cyd@gnu.org>
10149
10150 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
10151
10152 2012-04-20 Alan Mackenzie <acm@muc.de>
10153
10154 Ensure searching for keywords is case sensitive.
10155
10156 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
10157 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
10158 (c-defun-name, c-mark-function, c-cpp-define-name)
10159 (c-comment-indent, c-scan-conditionals, c-indent-defun)
10160 (c-context-line-break): Bind case-fold-search to nil.
10161
10162 * progmodes/cc-mode.el (c-font-lock-fontify-region):
10163 Bind case-fold-search to nil.
10164
10165 2012-04-20 Chong Yidong <cyd@gnu.org>
10166
10167 * mail/sendmail.el (mail-bury): Call return action with the right
10168 Rmail buffer (Bug#11242).
10169
10170 * server.el (server-process-filter): Handle corner case where both
10171 tty and nowait options are present (Bug#11102).
10172
10173 2012-04-20 Eli Zaretskii <eliz@gnu.org>
10174
10175 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
10176 (top level): Put into the executable the ident-style '$Id:' tag on
10177 windows-nt as well.
10178
10179 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10180
10181 * electric.el (electric-indent-post-self-insert-function): Check that
10182 electric-indent-mode is enabled in current buffer.
10183
10184 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
10185
10186 * imenu.el (imenu-progress-message): Restore; it is "used" in
10187 erc/erc-imenu.el and net/snmp-mode.el.
10188
10189 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
10190
10191 * avoid.el (mouse-avoidance-mode): Mark unused arg.
10192 (mouse-avoidance-nudge-mouse): Remove unused binding.
10193
10194 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
10195
10196 * descr-text.el (describe-char):
10197 * progmodes/python.el (python-describe-symbol):
10198 Don't call `toggle-read-only', set `buffer-read-only'.
10199
10200 * imenu.el (imenu-default-goto-function): Mark unused args.
10201 (imenu-progress-message): Remove obsolete macro; all callers changed.
10202
10203 * subr.el (keymap-canonicalize): Remove unused binding.
10204 (read-passwd): Mark unused arg.
10205
10206 * tutorial.el (tutorial--display-changes): Remove unused binding.
10207 (tutorial--save-tutorial-to): Remove unused variable.
10208
10209 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
10210 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
10211 (package-generate-autoloads, package-menu--generate)
10212 (package-menu--find-upgrades): Remove unused bindings.
10213
10214 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
10215 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
10216 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
10217 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
10218 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
10219 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
10220 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
10221 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
10222 (cua-delete-char-rectangle): Mark unused args.
10223 (cua-align-rectangle): Remove unused binding.
10224
10225 * mail/rmail.el (compilation--message->loc)
10226 (epa--find-coding-system-for-mime-charset): Declare.
10227
10228 * net/dbus.el (dbus-register-service): Declare.
10229 (dbus-name-owner-changed-handler): Remove unused binding.
10230
10231 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
10232 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
10233 (nxml-scan-backward-within): Mark unused arg.
10234 (nxml-dynamic-markup-word): Remove unused binding.
10235
10236 * mouse.el (mouse-menu-major-mode-map):
10237 * emacs-lisp/authors.el (authors-scan-change-log)
10238 (authors-add-to-author-list):
10239 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
10240 * emacs-lisp/smie.el (smie-auto-fill):
10241 * mail/sendmail.el (mail-bury):
10242 * mail/unrmail.el (unrmail):
10243 * net/tls.el (open-tls-stream):
10244 * textmodes/picture.el (picture-mouse-set-point):
10245 Remove unused bindings.
10246
10247 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
10248
10249 * net/tramp.el (tramp-action-password): Let-bind
10250 `enable-recursive-minibuffers' to t.
10251
10252 2012-04-18 Sam Steingold <sds@gnu.org>
10253
10254 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
10255 instead of 'string to accommodate values like [f11].
10256 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
10257 * progmodes/gdb-mi.el: Likewise.
10258
10259 2012-04-18 Leo Liu <sdl.web@gmail.com>
10260
10261 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
10262 current buffer.
10263 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
10264 LOCAL is nil.
10265
10266 2012-04-18 Chong Yidong <cyd@gnu.org>
10267
10268 * simple.el (line-move): Use forward-line if in batch mode
10269 (Bug#11053).
10270
10271 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
10272
10273 * files.el (after-find-file): Do not try to add a final newline if
10274 the buffer is read-only (Bug#11156).
10275
10276 2012-04-17 Richard Stallman <rms@gnu.org>
10277
10278 * mail/rmail.el (rmail-start-mail):
10279 Pass (rmail-mail-return...) for the return-action.
10280 Pass (rmail-yank-current-message...) for the yank-action.
10281 (rmail-yank-current-message): New function.
10282 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
10283 (rmail-reply): Likewise.
10284 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
10285
10286 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
10287 buffer, not the last. Reject temp buffers. Use the rmail-mode
10288 buffer, not newbuf.
10289
10290 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
10291
10292 * server.el (server-ensure-safe-dir): Simplify.
10293
10294 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10295
10296 * emacs-lisp/smie.el: Provide smarter auto-filling.
10297 (smie-auto-fill): New function.
10298 (smie-setup): Use it.
10299
10300 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
10301
10302 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
10303
10304 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
10305 (comment-indent): Use it.
10306
10307 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
10308
10309 * ses.el: The overall change is to add cell renaming, that is
10310 setting fancy names for cell symbols other than name matching
10311 "\\`[A-Z]+[0-9]+\\'" regexp .
10312 (ses-localvars): Add ses--renamed-cell-symb-list.
10313 (ses-create-cell-variable): New defun.
10314 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
10315 (ses-relocate-formula): Relocate formulas only for cells the
10316 symbols of which are not renamed, i.e. symbols whose names do not
10317 match regexp "\\`[A-Z]+[0-9]+\\'".
10318 (ses-relocate-all): Relocate values only for cells the symbols of
10319 which are not renamed.
10320 (ses-load): Create cells variables as the (ses-cell ...) are read,
10321 in order to check row col consistency with cell symbol name only
10322 for cells that are not renamed.
10323 (ses-replace-name-in-formula): New defun.
10324 (ses-rename-cell): New defun.
10325
10326 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
10327
10328 * progmodes/perl-mode.el (perl-indent-parens-as-block):
10329 New option (bug#11118).
10330 (perl-calculate-indent): Respect it.
10331
10332 2012-04-17 Glenn Morris <rgm@gnu.org>
10333
10334 * dired-aux.el (dired-mark-read-string): Doc fix.
10335
10336 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
10337
10338 * dired-aux.el (dired-mark-read-string): Offer optional completion.
10339 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
10340
10341 2012-04-17 Glenn Morris <rgm@gnu.org>
10342
10343 * mouse.el (mouse-drag-track):
10344 * speedbar.el (speedbar-frame-mode):
10345 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
10346
10347 2012-04-16 Leo Liu <sdl.web@gmail.com>
10348
10349 * progmodes/python.el: Trivial cleanup.
10350
10351 2012-04-16 Glenn Morris <rgm@gnu.org>
10352
10353 * vc/vc.el (vc-string-prefix-p):
10354 * vc/pcvs-util.el (cvs-string-prefix-p):
10355 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
10356 * mpc.el (mpc-string-prefix-p):
10357 Make all of these into obsolete aliases for string-prefix-p.
10358 Update callers.
10359 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
10360
10361 * textmodes/two-column.el: Move custom options to the start.
10362 (frame-width): Remove compat definition.
10363 (2C-associate-buffer, 2C-dissociate):
10364 Use with-current-buffer rather than save-excursion.
10365 (2C-dissociate): Force a mode-line update.
10366 (2C-autoscroll): Use ignore-errors.
10367
10368 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
10369 Autoload trivia.
10370
10371 * emacs-lisp/cl-extra.el (*random-state*):
10372 Remove unnecessary declaration.
10373
10374 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
10375
10376 * play/cookie1.el (cookie-snarf):
10377 Give an explicit error if input file cannot be read.
10378
10379 * play/yow.el (yow-file): Use expand-file-name rather than concat.
10380
10381 * progmodes/perl-mode.el (c-macro-expand):
10382 Remove unnecessary autoload (it is in loaddefs.el).
10383
10384 * textmodes/picture.el (picture-desired-column)
10385 (picture-update-desired-column): Convert comments to doc-strings.
10386 (picture-substitute): Remove function.
10387 (picture-mode-map): Initialize in the defvar.
10388
10389 * woman.el: Remove eval-after-load for tar-mode.
10390 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
10391 (woman-tar-extract-file): Autoload it.
10392
10393 * frame.el (automatic-hscrolling): Make this alias obsolete.
10394
10395 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10396
10397 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
10398 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
10399 (ispell-dictionary-base-alist): Revert to original XEmacs
10400 friendly version for default. [:alpha:] will be added in
10401 `ispell-set-spellchecker-params' if needed.
10402
10403 2012-04-16 Chong Yidong <cyd@gnu.org>
10404
10405 * image.el (imagemagick--file-regexp): New variable.
10406 (imagemagick-register-types): Use it.
10407 (imagemagick-types-inhibit): Add :set function. Allow new value
10408 of t to inhibit all types.
10409
10410 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
10411 so we can preload it.
10412
10413 * loadup.el (fboundp): Preload regexp-opt, needed by
10414 imagemagick-register-types.
10415
10416 2012-04-15 Chong Yidong <cyd@gnu.org>
10417
10418 * frame.el (scrolling): Remove nearly unused customization group.
10419
10420 * scroll-all.el (scroll-all-mode): Move to windows group.
10421
10422 2012-04-15 Chong Yidong <cyd@gnu.org>
10423
10424 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
10425
10426 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10427
10428 Avoid the use of ((lambda ...) ...) in lexical-binding code.
10429 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
10430
10431 2012-04-15 Glenn Morris <rgm@gnu.org>
10432
10433 * simple.el (process-file-side-effects): Doc fix.
10434
10435 2012-04-15 Glenn Morris <rgm@gnu.org>
10436
10437 * international/mule-cmds.el (set-language-environment): Doc fix.
10438
10439 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
10440
10441 * server.el (server-auth-key, server-generate-key): Doc fixes.
10442 (server-get-auth-key): Doc fix. Use `string-match-p'.
10443 (server-start): Reflow docstring.
10444
10445 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
10446
10447 * server.el (server-generate-key): `called-interactively-p'
10448 requires a parameter.
10449
10450 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
10451
10452 * server.el (server-auth-key): New variable.
10453 (server-generate-key, server-get-auth-key): New function.
10454 (server-start): Use the new variable and functions to allow
10455 setting a permanent server key (bug#9423).
10456
10457 2012-04-14 Leo Liu <sdl.web@gmail.com>
10458
10459 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
10460
10461 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
10462
10463 Spelling fixes.
10464 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
10465 Emacs uses American spelling.
10466
10467 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
10468
10469 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
10470 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
10471 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
10472 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
10473
10474 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10475
10476 * progmodes/which-func.el (which-func-modes): Change default.
10477
10478 2012-04-14 Kim F. Storm <storm@cua.dk>
10479
10480 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
10481 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
10482
10483 2012-04-14 Chong Yidong <cyd@gnu.org>
10484
10485 * custom.el (custom-theme-set-variables): Doc fix.
10486
10487 2012-04-14 Glenn Morris <rgm@gnu.org>
10488
10489 * international/mule.el (set-auto-coding-for-load): Doc fix.
10490
10491 2012-04-14 Alan Mackenzie <acm@muc.de>
10492
10493 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
10494 imenu work again for Objective C Mode. Correct the *-index values,
10495 these having been disturbed by a previous change in 2011-08.
10496
10497 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
10498 Correct two search limits.
10499
10500 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10501
10502 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
10503
10504 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
10505
10506 * international/characters.el: Fix sorting.
10507
10508 2012-04-14 Eli Zaretskii <eliz@gnu.org>
10509
10510 * international/characters.el: Add more missing Latin case pairs.
10511
10512 2012-04-14 Glenn Morris <rgm@gnu.org>
10513
10514 * files.el (dir-locals-set-class-variables): Doc fix.
10515
10516 2012-04-14 Eli Zaretskii <eliz@gnu.org>
10517
10518 * international/characters.el: Add set-case-syntax-pair call for
10519 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
10520 counterpart. (Bug#11209)
10521
10522 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
10523
10524 2012-04-14 Glenn Morris <rgm@gnu.org>
10525
10526 * calendar/holidays.el (calendar-check-holidays): Doc fix.
10527
10528 2012-04-14 Eli Zaretskii <eliz@gnu.org>
10529
10530 * textmodes/ispell.el (ispell-dictionary-base-alist):
10531 Add data for Hebrew.
10532
10533 2012-04-14 Chong Yidong <cyd@gnu.org>
10534
10535 * net/rcirc.el (rcirc-cmd-quit):
10536 Revert 2012-03-18 change (Bug#11192).
10537
10538 2012-04-14 Glenn Morris <rgm@gnu.org>
10539
10540 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
10541
10542 2012-04-14 Eli Zaretskii <eliz@gnu.org>
10543
10544 * minibuffer.el (completion-in-region-mode-map):
10545 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
10546
10547 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
10548
10549 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
10550
10551 2012-04-13 Masatake YAMATO <yamato@redhat.com>
10552
10553 * minibuffer.el (minibuffer-local-filename-syntax): New variable
10554 to allow `C-M-f' and `C-M-b' to move to the nearest path
10555 separator (bug#9511).
10556
10557 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
10558
10559 * avoid.el: Require cl when compiling. And also move the
10560 `provide' to the end.
10561
10562 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10563
10564 * avoid.el (mouse-avoidance-banish-position): New variable.
10565 (mouse-avoidance-banish-destination): Use it (bug#10165).
10566
10567 2012-04-13 Leo Liu <sdl.web@gmail.com>
10568
10569 * progmodes/which-func.el (which-func-modes): Add objc-mode.
10570
10571 2012-04-13 Ken Brown <kbrown@cornell.edu>
10572
10573 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
10574 this is no longer needed now that cygstart understands file:// URLs.
10575 (browse-url-filename-alist): For the same reason, don't modify
10576 file:// URLs on Cygwin.
10577
10578 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
10579
10580 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
10581 the region on shift if the binding is already shifted (bug#11221).
10582
10583 2012-04-12 Glenn Morris <rgm@gnu.org>
10584
10585 * mail/mailpost.el: Move to obsolete/.
10586
10587 2012-04-12 Drew Adams <drew.adams@oracle.com>
10588
10589 * imenu.el (imenu--generic-function): Ignore invisible definitions
10590 (bug#10123).
10591
10592 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
10593
10594 * hexl.el (hexl-bits): New variable.
10595 (hexl-options): Mention the variable in the doc string.
10596 (hexl-rulerise, hexl-line-displen): New functions.
10597 (hexl-mode): Mention the new variable.
10598 (hexl-mode, hexl-current-address, hexl-current-address):
10599 Use the displen.
10600 (hexl-ascii-start-column): New function.
10601 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
10602 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
10603
10604 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10605
10606 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
10607 '("-i" ENCODING), in 2 separate command-line arguments, to specify
10608 the encoding, as expected by hunspell.
10609
10610 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
10611
10612 * battery.el (battery--linux-sysfs-regexp): New const.
10613 (battery-status-function): Use it. Remove yeeloong special case.
10614 (battery-yeeloong-sysfs): Remove.
10615 (battery-echo-area-format): Remove yeeloong special case.
10616
10617 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10618
10619 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
10620 Reported by Noah Friedman.
10621
10622 * subr.el (read-passwd): Use read-string.
10623
10624 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10625
10626 * vcursor.el (vcursor-move): Increase the priority of the overlay
10627 (bug#9663).
10628
10629 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
10630
10631 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
10632 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
10633
10634 2012-04-11 William Stevenson <yhvh2000@gmail.com>
10635
10636 * textmodes/artist.el (artist-mode): Convert artist-mode to use
10637 define-minor-mode (bug#10760).
10638
10639 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
10640
10641 * progmodes/grep.el (rgrep): Tweak the find command line so
10642 that directories matching `grep-find-ignored-files' won't be
10643 pruned (bug#10351).
10644
10645 2012-04-11 Chong Yidong <cyd@gnu.org>
10646
10647 * startup.el (command-line): Remove support for long-obsolete
10648 variable font-lock-face-attributes.
10649
10650 2012-04-11 Glenn Morris <rgm@gnu.org>
10651
10652 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
10653
10654 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10655
10656 * window.el (window--state-get-1): Obey window-point-insertion-type.
10657
10658 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
10659
10660 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
10661 to previous function when point is on the first character of a
10662 function. Take care of that in `narrow-to-defun' (bug#6157).
10663
10664 2012-04-11 Glenn Morris <rgm@gnu.org>
10665
10666 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
10667 not just file-errors.
10668
10669 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
10670 (vc-bzr-sha1): Use internal sha1.
10671
10672 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10673
10674 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
10675
10676 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
10677
10678 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
10679 that start in the middle of the line (bug#10496).
10680
10681 2012-04-10 Dan Nicolaescu <dann@gnu.org>
10682
10683 * battery.el (battery-linux-proc-acpi): Only one battery is
10684 discharged at a time, but that seems to confuse battery.el when
10685 computing `rate-type' for the battery not being discharged
10686 (bug#10332).
10687
10688 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10689
10690 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
10691
10692 * international/quail.el: Use dolist and simplify.
10693 (quail-define-package, quail-update-keyboard-layout)
10694 (quail-define-rules): Use dolist.
10695 (quail-insert-kbd-layout, quail-get-translation): CSE.
10696
10697 * tmm.el: Use dolist, remove left over hook.
10698 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
10699 Use dolist.
10700 (calendar-load-hook): Don't mess with it.
10701
10702 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
10703 Use derived-mode-p. Run the diff asynchronously.
10704
10705 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
10706
10707 * obsolete/mouse-sel.el: Add an Obsolete-since header.
10708
10709 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
10710
10711 * misc.el: Display absolute path of loaded DLLs (bug#10424).
10712 (list-dynamic-libraries--loaded): New function.
10713 (list-dynamic-libraries--refresh): Use it.
10714
10715 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
10716
10717 * progmodes/python.el (python-fill-paragraph):
10718 Make python-fill-region in a multiline string work when font-lock is
10719 disabled (bug#7018).
10720
10721 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
10722
10723 * language/european.el (cp775): Add oem/legacy (en)coding on
10724 DOS/MS Windows for the Baltic languages. There are still plenty
10725 of texts written in this encoding/codepage (bug#6519).
10726
10727 2012-04-10 Glenn Morris <rgm@gnu.org>
10728
10729 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
10730 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
10731
10732 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
10733
10734 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
10735 next-line "n" and previous-line "p" in order to make recentf more
10736 consistent with ibuffer, dired or org-mode (bug#9387).
10737
10738 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
10739
10740 * image.el (put-image): Return the overlay created instead of the
10741 optional input string (bug#7834). Note that this may break code
10742 that is (for some reason or other) depending on `put-image'
10743 returning the string.
10744
10745 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
10746
10747 * simple.el (zap-to-char): Allow zapping using input methods
10748 (bug#1580).
10749
10750 * textmodes/fill.el (fill-region): Leave point and mark where they
10751 were before filling (bug#5399).
10752
10753 2012-04-09 Glenn Morris <rgm@gnu.org>
10754
10755 * version.el (emacs-bzr-get-version):
10756 Handle lightweight checkouts of local branches.
10757
10758 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
10759
10760 * international/characters.el: Recover lost case pairs. (Bug#11209)
10761
10762 2012-04-09 Chong Yidong <cyd@gnu.org>
10763
10764 * custom.el (custom-variable-p): Return nil for non-symbol
10765 arguments instead of signaling an error.
10766 (user-variable-p): Obsolete alias for custom-variable-p.
10767
10768 * apropos.el (apropos-variable):
10769 * files-x.el (read-file-local-variable):
10770 * simple.el (set-variable):
10771 * woman.el (woman-mini-help):
10772 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
10773
10774 2012-04-09 Glenn Morris <rgm@gnu.org>
10775
10776 * startup.el (normal-top-level): Don't look for leim-list.el
10777 in places where it will not be found. (Bug#910)
10778
10779 * international/mule-cmds.el (set-default-coding-systems):
10780 * files.el (normal-mode):
10781 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
10782 This function was removed with ucs-tables.el in 2008.
10783
10784 2012-04-08 Eli Zaretskii <eliz@gnu.org>
10785
10786 * textmodes/ispell.el (ispell-check-version): For hunspell, set
10787 ispell-encoding8-command to "-i", without a trailing space.
10788 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
10789 separate command-line arguments, to specify the encoding, since
10790 that's how hunspell expects it.
10791
10792 2012-04-08 Glenn Morris <rgm@gnu.org>
10793
10794 * loadup.el: Load bindings before cus-start.
10795 This reduces somewhat the number of "rogue" settings in emacs -Q.
10796
10797 2012-04-07 Glenn Morris <rgm@gnu.org>
10798
10799 * version.el (emacs-bzr-get-version): New function.
10800 (emacs-bzr-version): New variable.
10801 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
10802 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
10803
10804 2012-04-07 Eli Zaretskii <eliz@gnu.org>
10805
10806 * international/uni-bidi.el, international/uni-category.el:
10807 * international/uni-combining.el, international/uni-decimal.el:
10808 * international/uni-decomposition.el, international/uni-digit.el:
10809 * international/uni-lowercase.el, international/uni-mirrored.el:
10810 * international/uni-name.el, international/uni-numeric.el:
10811 * international/uni-titlecase.el, international/uni-uppercase.el:
10812 Update for Unicode 6.1.
10813
10814 2012-04-07 Eli Zaretskii <eliz@gnu.org>
10815
10816 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
10817
10818 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
10819
10820 * window.el (shrink-window): Mention the `window-min-height'
10821 variable in the doc string.
10822
10823 2012-04-05 Bastien Guerry <bzg@altern.org>
10824
10825 * color.el (color-lighten-name): Fix typo.
10826
10827 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10828
10829 * server.el (server--on-display-p): New function.
10830 (server--on-display-p): Use it.
10831
10832 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
10833
10834 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
10835 (bug#11145).
10836
10837 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10838
10839 * comint.el (comint--common-quoted-suffix): Check string boundary
10840 before comparing (bug#11158).
10841 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
10842
10843 2012-04-04 Chong Yidong <cyd@gnu.org>
10844
10845 * minibuffer.el (completion-extra-properties): Doc fix.
10846
10847 * subr.el (delayed-warnings-hook): Doc fix.
10848
10849 2012-04-04 Daiki Ueno <ueno@unixuser.org>
10850
10851 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
10852 selection (Bug#11159).
10853 (epa-insert-keys): Inform that the default public key will be
10854 exported if no key is selected.
10855
10856 2012-04-04 Richard Stallman <rms@gnu.org>
10857
10858 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
10859
10860 2012-04-03 Chong Yidong <cyd@gnu.org>
10861
10862 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
10863 mail-insert-file, not its obsolete alias mail-attach-file.
10864
10865 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
10866
10867 * notifications.el (notifications-notify): Fix docstring.
10868
10869 2012-04-02 Glenn Morris <rgm@gnu.org>
10870
10871 * emacs-lisp/authors.el (authors-aliases): Another addition.
10872
10873 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
10874
10875 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
10876 `tramp-compat-call-process' instead of `tramp-local-call-process'.
10877 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
10878
10879 2012-04-01 Chong Yidong <cyd@gnu.org>
10880
10881 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
10882 Handle root directory properly.
10883 (copy-directory): Caller changed.
10884
10885 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
10886 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
10887
10888 2012-03-31 Glenn Morris <rgm@gnu.org>
10889
10890 * term/xterm.el (xterm-extra-capabilities): Doc fix.
10891
10892 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
10893
10894 * calendar/calendar.el (calendar-window-list)
10895 (calendar-hide-window): Restore. (Bug#11140)
10896 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
10897
10898 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
10899
10900 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10901
10902 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
10903 Check if file is a symlink (Bug#10489).
10904
10905 * files.el (copy-directory): Likewise.
10906
10907 2012-03-30 Chong Yidong <cyd@gnu.org>
10908
10909 * image.el (imagemagick-types-inhibit)
10910 (imagemagick-register-types): Doc fix.
10911
10912 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10913
10914 * textmodes/ispell.el (ispell-get-extended-character-mode):
10915 Disable extended-char-mode for hunspell. hunspell does not support it
10916 and treats ~word as ordinary words in pipe mode.
10917
10918 2012-03-30 Glenn Morris <rgm@gnu.org>
10919
10920 * tutorial.el (help-with-tutorial): Ensure local variables don't
10921 happen to make the buffer read-only. (Bug#11127)
10922
10923 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
10924
10925 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
10926 (perl-calculate-indent): Return `noindent' in strings.
10927
10928 2012-03-28 Sam Steingold <sds@gnu.org>
10929
10930 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
10931 instead of the broken adhockery which does not prevent calendar
10932 buffers from being displayed at random after exit.
10933 (calendar-window-list, calendar-hide-window): Remove the broken
10934 adhockery.
10935
10936 2012-03-28 Glenn Morris <rgm@gnu.org>
10937
10938 * replace.el (query-replace-map): Doc fix.
10939
10940 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
10941
10942 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
10943 contents. (Bug#11109)
10944
10945 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10946
10947 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
10948 (bug#11077).
10949 (avl-tree--check, avl-tree--check-node): New funs.
10950
10951 2012-03-27 Martin Rudalics <rudalics@gmx.at>
10952
10953 * window.el (switch-to-visible-buffer): New option.
10954 (switch-to-prev-buffer, switch-to-next-buffer):
10955 Observe switch-to-visible-buffer. Make sure that checking for a window
10956 showing a buffer already is done on the same frame.
10957
10958 2012-03-27 Glenn Morris <rgm@gnu.org>
10959
10960 * startup.el (mail-host-address): Doc fix.
10961
10962 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10963
10964 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
10965 than 197 variables.
10966
10967 2012-03-26 Ami Fischman <ami@fischman.org>
10968
10969 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
10970
10971 2012-03-26 Glenn Morris <rgm@gnu.org>
10972
10973 * files.el (save-buffers-kill-emacs): Doc fix.
10974
10975 * startup.el (normal-top-level, command-line, command-line-1):
10976 Give them doc strings.
10977
10978 2012-03-25 Eli Zaretskii <eliz@gnu.org>
10979
10980 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
10981 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
10982
10983 2012-03-25 Chong Yidong <cyd@gnu.org>
10984
10985 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
10986 theme if it was previously enabled before (Bug#11031).
10987
10988 * cus-theme.el (custom-theme-write-faces): Retrieve current face
10989 spec with custom-face-get-current-spec if its :shown-value is not
10990 determined yet (Bug#9337).
10991 (customize-create-theme, custom-theme-revert): Doc fixes.
10992
10993 * button.el (button-at): Minor addition to docstring.
10994
10995 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
10996
10997 * vc/vc.el (vc-merge): Fix a prompt.
10998
10999 2012-03-24 Chong Yidong <cyd@gnu.org>
11000
11001 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
11002 point (Bug#9623).
11003
11004 * button.el (button-at): Minor addition to docstring.
11005
11006 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
11007
11008 * newcomment.el (comment-choose-indent): No space after BOL.
11009
11010 2012-03-22 Sam Steingold <sds@gnu.org>
11011
11012 * window.el (switch-to-prev-buffer): Revert last patch because the
11013 bug turned out to be an advertised feature (Elisp manual 28.14).
11014
11015 2012-03-22 Glenn Morris <rgm@gnu.org>
11016
11017 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
11018 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
11019
11020 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
11021
11022 * net/network-stream.el (network-stream-open-starttls): Make error
11023 message under Windows be less misleading.
11024
11025 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
11026
11027 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
11028 understands (bug#9942).
11029
11030 2012-03-22 Chong Yidong <cyd@gnu.org>
11031
11032 * simple.el (end-of-visible-line): Handle return value of
11033 next-single-property-change properly (Bug#9371).
11034
11035 2012-03-22 Kenichi Handa <handa@m17n.org>
11036
11037 * international/quail.el (quail-insert-kbd-layout): Fix previous
11038 change. To avoid unwanted bidi reordering, use
11039 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
11040
11041 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
11042
11043 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
11044 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
11045 (ruby-beginning-of-indent): Be more careful with the difference
11046 between word-boundary and symbol boundary.
11047 (ruby-mode-syntax-table): Make : a symbol constituent.
11048
11049 2012-03-21 Andreas Politz <politza@fh-trier.de>
11050
11051 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
11052
11053 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
11054
11055 * progmodes/etags.el (tags-completion-at-point-function):
11056 Improve last fix.
11057
11058 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
11059
11060 2012-03-21 Sam Steingold <sds@gnu.org>
11061
11062 * progmodes/etags.el (tags-completion-at-point-function):
11063 Avoid the error when point is inside the pattern.
11064
11065 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
11066
11067 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
11068 line (Bug#10855).
11069
11070 2012-03-21 Drew Adams <drew.adams@oracle.com>
11071
11072 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
11073
11074 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
11075
11076 * ido.el (ido-set-current-directory, ido-read-internal)
11077 (ido-choose-completion-string, ido-completion-help): Handle nil
11078 value of ido-completion-buffer (Bug#11008).
11079
11080 2012-03-21 Sam Steingold <sds@gnu.org>
11081
11082 * window.el (switch-to-prev-buffer): Do not switch to a visible
11083 window previous buffer, just like with the frame previous buffers.
11084
11085 2012-03-21 Chong Yidong <cyd@gnu.org>
11086
11087 * faces.el (make-face, make-empty-face, copy-face):
11088 * face-remap.el (face-remap-add-relative, face-remap-set-base):
11089 Doc fixes.
11090
11091 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
11092
11093 * wid-edit.el (widget-complete-field): Remove (bug#11051).
11094 (widget-complete): Remove broken use of it.
11095
11096 2012-03-20 Chong Yidong <cyd@gnu.org>
11097
11098 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11099 Use string-width and truncate-string-width to handle arbitrary
11100 characters.
11101
11102 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
11103
11104 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
11105 to draw rectangles, not squares. (Regression introduced by revno
11106 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
11107
11108 2012-03-18 Chong Yidong <cyd@gnu.org>
11109
11110 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
11111 it is not yet defined (for temacs).
11112
11113 2012-03-18 Leo Liu <sdl.web@gmail.com>
11114
11115 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
11116 prefix.
11117
11118 2012-03-17 Eli Zaretskii <eliz@gnu.org>
11119
11120 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
11121 (ispell-choices-win-default-height, ispell-silently-savep)
11122 (ispell-dictionary-alist, ispell-encoding8-command)
11123 (ispell-check-version, ispell-aspell-find-dictionary)
11124 (ispell-valid-dictionary-list, ispell-words-keyword)
11125 (ispell-get-word, ispell-internal-change-dictionary)
11126 (ispell-region, ispell-skip-region-list)
11127 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
11128 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
11129 (ispell-message-text-end, ispell-message)
11130 (ispell-buffer-local-parsing): Doc fix.
11131
11132 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
11133
11134 * htmlfontify.el: Add support for code block fontification for ODT
11135 export (Bug #9914).
11136 (hfy-optimisations): Define new option
11137 `body-text-only'
11138 (hfy-fontify-buffer): Honor above setting.
11139 (hfy-begin-span, hfy-end-span): New routines factored out form
11140 `hfy-fontify-buffer'.
11141 (hfy-begin-span-handler, hfy-end-span-handler): New variables
11142 that permit insertion of custom tags.
11143 (hfy-fontify-buffer): Use above handlers.
11144 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
11145 (hfy-face-to-css): Re-defined to be a variable.
11146 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
11147 over multiple runs. This is made possible by having the caller let
11148 bind a special variable `hfy-user-sheet-assoc'.
11149 (htmlfontify-string): New defun.
11150 (hfy-compile-face-map): Make sure that the last char in the
11151 buffer is correctly fontified.
11152 (hfy-face-resolve-face): Whitespace only change.
11153
11154 2012-03-17 Eli Zaretskii <eliz@gnu.org>
11155
11156 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
11157 message more clear.
11158
11159 2012-03-16 Leo Liu <sdl.web@gmail.com>
11160
11161 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
11162
11163 2012-03-16 Alan Mackenzie <acm@muc.de>
11164
11165 Further optimise the handling of large macros.
11166
11167 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
11168 limit to a call of `c-literal-limits'.
11169 (c-determine-+ve-limit): New function.
11170 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
11171 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
11172 In CASE 5B, restrict a search limit to 500.
11173 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
11174
11175 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
11176 Restrict macro bounds to +-500 from after-change's BEG END.
11177
11178 2012-03-16 Leo Liu <sdl.web@gmail.com>
11179
11180 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
11181
11182 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
11183
11184 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
11185 `special-mode' setting of `buffer-read-only'. (Bug#11010)
11186
11187 2012-03-16 Glenn Morris <rgm@gnu.org>
11188
11189 * view.el (view-buffer, view-buffer-other-window)
11190 (view-buffer-other-frame): Doc fixes re special mode-class.
11191
11192 * subr.el (eval-after-load): If named feature is provided not from
11193 a file, run after-load forms. (Bug#10946)
11194
11195 * calendar/calendar.el (calendar-insert-at-column):
11196 Handle non-unit-width characters a bit better. (Bug#10978)
11197
11198 2012-03-15 Chong Yidong <cyd@gnu.org>
11199
11200 * emacs-lisp/ring.el (ring-extend): New function.
11201 (ring-insert+extend): Extend the ring correctly (Bug#11019).
11202
11203 * comint.el (comint-read-input-ring)
11204 (comint-add-to-input-history): Grow comint-input-ring lazily.
11205
11206 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11207
11208 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
11209 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
11210
11211 * imenu.el: Fix multiple inheritance breakage (bug#9199).
11212 (imenu-add-to-menubar): Don't add a redundant index.
11213 (imenu-update-menubar): Handle a dynamically composed keymap.
11214
11215 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
11216
11217 * mail/sendmail.el (mail-encode-header):
11218 Bind rfc2047-encode-encoded-words to nil.
11219
11220 2012-03-13 Glenn Morris <rgm@gnu.org>
11221
11222 * calendar/calendar.el (calendar-string-spread):
11223 Handle non-unit-width characters a bit better. (Bug#10978)
11224
11225 2012-03-13 Leo Liu <sdl.web@gmail.com>
11226
11227 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
11228 directory and file as argument (Bug#10822).
11229
11230 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
11231
11232 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
11233 For dynamically generated code, follow $PC.
11234 (gdb-disassembly-handler-custom): Handle no function name case.
11235
11236 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
11237
11238 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
11239 * emulation/ws-mode.el (ws-query-replace):
11240 * sort.el (sort-regexp-fields):
11241 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
11242
11243 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11244
11245 * dabbrev.el: Fix cycle completion order (bug#10963).
11246 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
11247 (dabbrev-completion): Don't use an obarray; provide
11248 a cycle-sort-function.
11249
11250 2012-03-12 Leo Liu <sdl.web@gmail.com>
11251
11252 * simple.el (kill-new): Use equal-including-properties for comparison.
11253 (kill-do-not-save-duplicates): Doc fix.
11254
11255 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11256
11257 * dabbrev.el: Fix cycle completion (bug#10963).
11258 Use lexical binding and wrap to 80 columns.
11259 (dabbrev-completion): Delay computing the list of completions.
11260
11261 2012-03-12 Kenichi Handa <handa@m17n.org>
11262
11263 * international/quail.el (quail-insert-kbd-layout): Surround each
11264 row by LRO and PDF instead of inserting many LRMs. Pad the left
11265 and right of each non-spacing marks. Insert invisible space
11266 between lower and upper characters to prevent composition.
11267
11268 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11269
11270 * minibuffer.el (minibuffer-complete): Don't get confused when the
11271 function is run twice via different commands (bug#10958).
11272 (complete-with-action): Fix docstring.
11273
11274 2012-03-12 Chong Yidong <cyd@gnu.org>
11275
11276 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
11277 (nxml-completion-at-point-function): New function.
11278 (nxml-mode): Use it.
11279 (nxml-bind-meta-tab-to-complete-flag): Default to t.
11280
11281 * emacs-lisp/package.el (package-unpack, package-unpack-single):
11282 Load generated autoloads file before byte compiling (Bug#10970).
11283 (package--make-autoloads-and-compile): New helper fun.
11284
11285 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
11286
11287 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
11288
11289 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
11290
11291 * autorevert.el (auto-revert-handler): Ensure, that
11292 file-readable-p is applied only for local files or in
11293 auto-revert-tail-mode.
11294
11295 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
11296
11297 * server.el (server-eval-at): Handle non-tcp connections.
11298 Decode result string.
11299
11300 * server.el (server-msg-size): New constant.
11301 (server-reply-print): New function.
11302 (server-eval-and-print): Use it.
11303 (server-eval-at): Use server-quote-arg and server-unquote-arg.
11304 Handle -print-nonl.
11305
11306 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
11307
11308 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
11309 (Bug#10987).
11310
11311 2012-03-11 Chong Yidong <cyd@gnu.org>
11312
11313 * simple.el (goto-line): Doc fix (Bug#9938).
11314
11315 * subr.el (save-window-excursion): Doc fix (Bug#9979).
11316
11317 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
11318 when finished (Bug#10963).
11319
11320 2012-03-11 Martin Rudalics <rudalics@gmx.at>
11321
11322 * window.el (split-window-below): Fix bug in case where
11323 split-window-keep-point is nil (Bug#10971).
11324
11325 2012-03-11 Juri Linkov <juri@jurta.org>
11326
11327 * replace.el (replace-highlight): Set isearch-word to nil
11328 unconditionally. (Bug#10887)
11329
11330 2012-03-10 Eli Zaretskii <eliz@gnu.org>
11331
11332 * net/mairix.el (mairix-replace-invalid-chars): Rename from
11333 mairix-replace-illegal-chars; all callers changed. Don't remove
11334 ^, ~, and = characters: they are meaningful in mairix search specs.
11335 (mairix-widget-create-query): Add usage information about mairix
11336 search forms: negating words, searching for substrings, etc.
11337
11338 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
11339
11340 * international/fontset.el (font-encoding-alist): Add an entry for
11341 ksx1001 (Bug#5667).
11342
11343 2012-03-10 Richard Stallman <rms@gnu.org>
11344
11345 * mail/sendmail.el (mail-encode-header):
11346 Set rfc2047-encode-encoded-words.
11347
11348 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
11349
11350 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
11351 view buffer means not swapped.
11352 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
11353 (rmail-write-region-annotate): Error if real text has disappeared.
11354
11355 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
11356
11357 2012-03-10 Chong Yidong <cyd@gnu.org>
11358
11359 * emulation/cua-rect.el (cua--init-rectangles):
11360 * emulation/cua-base.el (cua--init-keymaps):
11361 Add delete-forward-char to remappings (Bug#9666).
11362
11363 2012-03-10 Martin Rudalics <rudalics@gmx.at>
11364
11365 * speedbar.el (speedbar-unhighlight-one-tag-line):
11366 Avoid unhighlighting due to frame switching (Bug#10275).
11367
11368 2012-03-10 Chong Yidong <cyd@gnu.org>
11369
11370 * minibuffer.el (completion-in-region, completion-help-at-point):
11371 Give the completion field overlay a high priority (Bug#6830).
11372
11373 * dired.el (dired-goto-file): Recognize absolute file name
11374 listings (Bug#7126).
11375 (dired-goto-file-1): New helper function.
11376 (dired-toggle-read-only): Inhibit warnings.
11377
11378 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
11379
11380 * net/dbus.el (dbus-property-handler): Return empty array if
11381 there are no properties.
11382
11383 2012-03-09 Leo Liu <sdl.web@gmail.com>
11384
11385 * savehist.el (savehist-printable): Stricter check for string
11386 value (Bug#10937).
11387
11388 2012-03-09 Eli Zaretskii <eliz@gnu.org>
11389
11390 * mail/smtpmail.el (smtpmail-send-it):
11391 Bind coding-system-for-write to *-unix, so that FCC files are kept in
11392 valid mbox format.
11393
11394 2012-03-09 Glenn Morris <rgm@gnu.org>
11395
11396 * files.el (dir-locals-find-file):
11397 Don't check result is regular, readable.
11398 (dir-locals-read-from-file): Demote errors.
11399
11400 2012-03-08 Eli Zaretskii <eliz@gnu.org>
11401
11402 * international/quail.el (quail-insert-kbd-layout):
11403 Insert invisible LRM characters before each character in a keyboard
11404 layout cell, to prevent their reordering by bidi display engine.
11405 For details, see the discussion in
11406 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
11407
11408 2012-03-08 Alan Mackenzie <acm@muc.de>
11409
11410 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
11411 the starting position; make it extend the marked region when
11412 invoked repeatedly - all under appropriate circumstances.
11413 Fixes bugs #5525, #10906.
11414
11415 2012-03-08 Glenn Morris <rgm@gnu.org>
11416
11417 * files.el (locate-dominating-file, dir-locals-find-file):
11418 Undo 2012-03-06 change.
11419
11420 2012-03-07 Eli Zaretskii <eliz@gnu.org>
11421
11422 * international/quail.el (quail-help):
11423 Force bidi-paragraph-direction be left-to-right. See discussion in
11424 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
11425 for the reason.
11426
11427 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
11428
11429 Avoid superfluous registering of signals. (Bug#10807)
11430
11431 * notifications.el (notifications-on-action-object)
11432 (notifications-on-close-object): New defvars.
11433 (notifications-on-action-signal, notifications-on-closed-signal):
11434 Unregister the signal if not needed any longer.
11435 (notifications-notify): Register `notifications-action-signal' or
11436 `notifications-closed-signal', if :on-action or :on-close has been
11437 passed as argument.
11438
11439 2012-03-07 Chong Yidong <cyd@gnu.org>
11440
11441 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
11442 non-X platforms.
11443
11444 2012-03-06 Glenn Morris <rgm@gnu.org>
11445
11446 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
11447 (x-disown-selection-internal, x-get-selection-internal):
11448 Doc fix (add arglist signatures). (Bug#10783)
11449
11450 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
11451
11452 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
11453 Handle breakpoints with no "type".
11454
11455 2012-03-06 Glenn Morris <rgm@gnu.org>
11456
11457 * files.el (locate-dominating-file): Add optional predicate argument.
11458 (dir-locals-find-file): Make use of above change.
11459
11460 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
11461
11462 * info.el (Info-insert-dir): Also try "dir.gz".
11463
11464 2012-03-06 Glenn Morris <rgm@gnu.org>
11465
11466 * files.el (dir-locals-find-file):
11467 Ignore non-readable or non-regular files. (Bug#10928)
11468
11469 * files.el (locate-dominating-file): Doc fix.
11470
11471 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
11472
11473 * calendar/calendar.el (calendar-set-mode-line):
11474 `getenv' returns a string. (Bug#10951)
11475
11476 2012-03-05 Leo Liu <sdl.web@gmail.com>
11477
11478 * simple.el (backward-delete-char-untabify): Constrain point to
11479 field (Bug#10939).
11480
11481 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
11482
11483 2012-03-05 Chong Yidong <cyd@gnu.org>
11484
11485 * simple.el (count-words): If called from Lisp, return the word
11486 count, for symmetry with `count-lines'. Arglist changed.
11487 (count-words--message): Args changed. Consolidate counting code
11488 from count-words and count-words-region.
11489 (count-words-region): Caller changed.
11490 (count-lines-region): Make it an obsolete alias.
11491
11492 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
11493
11494 * saveplace.el (save-place-to-alist)
11495 (save-place-ignore-files-regexp): Allow value nil to disable this
11496 feature.
11497
11498 2012-03-04 Chong Yidong <cyd@gnu.org>
11499
11500 * faces.el (face-spec-reset-face): For the default face, reset the
11501 attributes to default values (Bug#10748).
11502
11503 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
11504
11505 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
11506 previous patch: Check `message-send-mail-function', and not the
11507 default function (bug#10897).
11508
11509 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
11510
11511 * notifications.el (notifications-on-action-signal)
11512 (notifications-on-closed-signal): Check for unique service name of
11513 incoming event. Fix error in removing entry.
11514 (top): Register for signals with wildcard service name.
11515 (notifications-notify): Use daemon unique service name for map entries.
11516
11517 2012-03-04 Chong Yidong <cyd@gnu.org>
11518
11519 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
11520
11521 2012-03-04 Glenn Morris <rgm@gnu.org>
11522
11523 * abbrev.el (copy-abbrev-table, abbrev-table-p)
11524 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
11525 (expand-abbrev, define-abbrev-table): Doc fixes.
11526
11527 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11528
11529 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
11530 `message-default-send-mail-function' and not `send-mail-function'
11531 when doing the prompting for `sendmail-query-once' before sending
11532 in Message buffers (bug#10897).
11533
11534 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
11535 This is inconsistent with all the other stream functions, which leave
11536 the setting up to the higher levels (if so wanted) (bug#10931).
11537
11538 2012-03-02 Alan Mackenzie <acm@muc.de>
11539
11540 Depessimize the handling of very large macros.
11541
11542 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
11543 (c-macro-cache-syntactic): New variables to implement a one
11544 element macro cache.
11545 (c-invalidate-macro-cache): New function.
11546 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
11547 Adapt to use the new cache.
11548 (c-state-safe-place): Use better the cache of safe positions.
11549 (c-state-semi-nonlit-pos-cache)
11550 (c-state-semi-nonlit-pos-cache-limit):
11551 New variables for...
11552 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
11553 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
11554 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
11555 Use c-state-semi-safe-place.
11556
11557 * progmodes/cc-langs.el (c-get-state-before-change-functions):
11558 Add c-invalidate-macro-cache to the C, C++, Obj entries.
11559
11560 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
11561
11562 * jka-compr.el (jka-compr-call-process):
11563 Apply `file-accessible-directory-p' only when the default directory is
11564 not remote.
11565
11566 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
11567
11568 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
11569 access of FILE2, if FILE1 does not exist.
11570
11571 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
11572 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
11573
11574 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
11575 Add "PAGER=" to `process-environment'.
11576
11577 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
11578
11579 * progmodes/sql.el: Bug fix
11580 (sql-get-login-ext): Save login values in globals.
11581 (sql-get-login): Use new version of `sql-get-login-ext'.
11582 (sql-interactive-mode): Set global `sql-connection' to nil.
11583 (sql-connect): Set global values for connection.
11584 (sql-product-interactive): Save global values as buffer local.
11585
11586 2012-02-29 Leo Liu <sdl.web@gmail.com>
11587
11588 * abbrev.el (define-abbrevs): Reset sys to nil.
11589
11590 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11591
11592 * files.el (file-equal-p): Rename from `files-equal-p'.
11593 Return nil when one or both files don't exist.
11594 (file-subdir-of-p): Now only top directory must exists,
11595 return nil if it doesn't.
11596 (copy-directory): No need to test with `file-subdir-of-p' after
11597 creating dir.
11598 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
11599 to `file-equal-p'.
11600
11601 2012-02-28 Glenn Morris <rgm@gnu.org>
11602
11603 * shell.el (shell-mode):
11604 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
11605 * play/landmark.el (landmark-font-lock-face-O):
11606 * play/handwrite.el (handwrite):
11607 * play/gomoku.el (gomoku-O):
11608 * net/browse-url.el (browse-url-browser-display):
11609 * international/mule.el (define-charset):
11610 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
11611 * filesets.el (filesets-find-file-delay):
11612 * eshell/em-xtra.el (eshell-xtra):
11613 * eshell/em-unix.el (eshell-grep):
11614 * emulation/viper.el (viper-mode):
11615 * emacs-lisp/regexp-opt.el (regexp-opt-group):
11616 * emacs-lisp/easymenu.el (easy-menu-define):
11617 * calendar/timeclock.el (timeclock-use-display-time):
11618 * bs.el (bs-mode):
11619 * bookmark.el (bookmark-save-flag):
11620 Doc fix (standardize possessive apostrophe usage).
11621
11622 2012-02-27 Chong Yidong <cyd@gnu.org>
11623
11624 * emulation/viper-cmd.el (viper-intercept-ESC-key):
11625 Fix key-binding lookup for ESC key (Bug#9146).
11626
11627 * font-lock.el (font-lock-specified-p): Rename from
11628 font-lock-spec-present. Callers changed.
11629
11630 2012-02-27 Daniel Hackney <dan@haxney.org>
11631
11632 * emacs-lisp/package.el (package-compute-transaction):
11633 Handle holding a package version to t in package-load-list.
11634
11635 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
11636
11637 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
11638 (tramp-get-inode, tramp-get-device): Use cached values.
11639
11640 2012-02-26 Alan Mackenzie <acm@muc.de>
11641
11642 Check there is a font-lock specification before doing initial
11643 fontification.
11644
11645 * font-core.el (font-lock-mode): Move the conditional from
11646 :after-hook to font-lock-initial-fontify.
11647 (font-lock-default-function): Move the check for a specification
11648 to font-lock-spec-present.
11649
11650 * font-lock.el (font-lock-initial-fontify): Call ...
11651 (font-lock-spec-present): New function.
11652
11653 2012-02-26 Jim Blandy <jimb@red-bean.com>
11654
11655 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
11656 (gdb-send): Apply it to the operand of the '-interpreter-exec
11657 console' command, so that we can pass arguments with (say) quotes
11658 in them. Store exact string sent in gdb-debug-log (Bug#10765).
11659
11660 2012-02-26 Chong Yidong <cyd@gnu.org>
11661
11662 * help-fns.el (describe-function-1): Clarify description of
11663 remapping (Bug#10844).
11664
11665 * files.el (files-equal-p): Doc fix.
11666 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
11667 and quit the loop once a mismatch is found.
11668
11669 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
11670
11671 * bs.el (bs--show-with-configuration): Don't throw an error
11672 if the window cannot be split; otherwise, subsequent calls to
11673 bs-show fail, restoring a stale window config. (Bug#10882)
11674
11675 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
11676
11677 * term/ns-win.el (global-map): Bind ns-drag-file to
11678 ns-find-file (Bug#5855, Bug#10050).
11679
11680 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
11681
11682 * calendar/parse-time.el (parse-time-string): Allow extractor to
11683 return nil.
11684
11685 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
11686
11687 * net/tramp.el (tramp-file-name-for-operation):
11688 Add `files-equal-p' and `file-subdir-of-p'.
11689
11690 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
11691 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
11692 Add COPY-CONTENTS argument.
11693
11694 2012-02-25 Chong Yidong <cyd@gnu.org>
11695
11696 Add custom groups for VC backends, for consistency with vc-bzr.
11697
11698 * vc/vc-arch.el (vc-arch):
11699 * vc/vc-cvs.el (vc-cvs):
11700 * vc/vc-git.el (vc-git):
11701 * vc/vc-hg.el (vc-hg):
11702 * vc/vc-mtn.el (vc-mtn):
11703 * vc/vc-rcs.el (vc-rcs):
11704 * vc/vc-sccs.el (vc-sccs):
11705 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
11706 All relevant defcustoms reassigned.
11707
11708 2012-02-25 Chong Yidong <cyd@gnu.org>
11709
11710 * newcomment.el (comment-styles): Add autoload (Bug#10868).
11711
11712 * term/x-win.el (x-initialize-window-system): Reduce default for
11713 x-selection-timeout to 5 seconds (Bug#8869).
11714
11715 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11716
11717 * files.el (files-equal-p, file-subdir-of-p): New functions.
11718 (copy-directory): Error when trying to copy a directory on itself.
11719 Add missing copy-contents arg to tramp handler.
11720 * dired-aux.el (dired-copy-file-recursive): Same.
11721 (dired-create-files): Modify destination when source is equal to
11722 dest when copying files.
11723 Return also when dest is a subdir of source. (Bug#10489)
11724
11725 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
11726
11727 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
11728 (Bug#10874)
11729
11730 2012-02-23 Alan Mackenzie <acm@muc.de>
11731
11732 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
11733 parameter "after-hook:" to allow the expansion to run code after
11734 the execution of the mode hooks.
11735
11736 * font-lock.el (font-lock-initial-fontify): New function extracted
11737 from font-lock-mode-internal.
11738
11739 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
11740 :after-hook.
11741
11742 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
11743
11744 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
11745 (completion--cache-all-sorted-completions): New function.
11746 (completion-all-sorted-completions): Use it.
11747 (completion--do-completion, minibuffer-force-complete):
11748 Use it to re-instate the flush hook.
11749
11750 * icomplete.el (icomplete-completions): Replace last fix with a better
11751 one (bug#10850).
11752
11753 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
11754
11755 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
11756 when it might call us back infinitely (bug#10797).
11757
11758 2012-02-23 Glenn Morris <rgm@gnu.org>
11759
11760 * minibuffer.el (completion-category-overrides): Doc fix.
11761
11762 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
11763
11764 * minibuffer.el (completion-table-with-context): Fix inf-loop.
11765 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
11766
11767 2012-02-23 Glenn Morris <rgm@gnu.org>
11768
11769 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
11770 (authors-obsolete-files-regexps, authors-ignored-files)
11771 (authors-ambiguous-files, authors-renamed-files-alist):
11772 Add more entries.
11773
11774 2012-02-23 Juri Linkov <juri@jurta.org>
11775
11776 * isearch.el (isearch-occur): Sync interactive spec with occur's
11777 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
11778
11779 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
11780
11781 2012-02-22 Juri Linkov <juri@jurta.org>
11782
11783 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
11784 (ucs-insert): Doc fix. Check for hex digits in the string.
11785 Don't display `nil' in the error message. (Bug#10857)
11786
11787 2012-02-22 Alan Mackenzie <acm@muc.de>
11788
11789 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
11790
11791 2012-02-22 Glenn Morris <rgm@gnu.org>
11792
11793 * ffap.el (ffap-c-path):
11794 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
11795
11796 2012-02-22 Chong Yidong <cyd@gnu.org>
11797
11798 * custom.el (load-theme): Doc fix.
11799
11800 2012-02-22 Glenn Morris <rgm@gnu.org>
11801
11802 * dired-x.el (dired-guess-shell-alist-default):
11803 Remove escape sequences from nroff output. (Bug#172)
11804
11805 2012-02-21 Glenn Morris <rgm@gnu.org>
11806
11807 * vc/emerge.el (emerge-defvar-local):
11808 Set `permanent-local' property rather than unused `preserved'.
11809
11810 * textmodes/picture.el (picture-delete-char): New alias.
11811 (picture-mode-map): Use it. (Bug#10860)
11812 (picture-mode): Doc fix.
11813
11814 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
11815
11816 * newcomment.el (uncomment-region-default): Remove unused binding.
11817
11818 2012-02-21 Glenn Morris <rgm@gnu.org>
11819
11820 * textmodes/picture.el (picture-motion, picture-motion-reverse)
11821 (picture-self-insert, picture-tab-chars): Doc fix.
11822 (picture-mode-map): Fix C-a, C-e.
11823
11824 2012-02-20 Glenn Morris <rgm@gnu.org>
11825
11826 * emacs-lisp/authors.el (authors-aliases): Add another entry.
11827
11828 2012-02-20 Leo Liu <sdl.web@gmail.com>
11829
11830 * icomplete.el (icomplete-completions): Check FROM arg before
11831 passing to substring (Bug#10850).
11832
11833 2012-02-19 Chong Yidong <cyd@gnu.org>
11834
11835 * comint.el: Require ansi-color.
11836 (comint-output-filter-functions): Add ansi-color-process-output.
11837
11838 * ansi-color.el: Don't set comint-output-filter-functions; it is
11839 now in the initial value defined in comint.el.
11840 (ansi-color-apply-face-function): New variable.
11841 (ansi-color-apply-on-region): Use it.
11842 (ansi-color-apply-overlay-face): New function.
11843
11844 * shell.el (shell): No need to require ansi-color.
11845 (shell-mode): Use ansi-color-apply-face-function to highlight
11846 color escapes using font-lock-face property (Bug#10835).
11847
11848 2012-02-19 Chong Yidong <cyd@gnu.org>
11849
11850 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
11851 mode-line formats (Bug#10839).
11852
11853 2012-02-18 Glenn Morris <rgm@gnu.org>
11854
11855 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
11856
11857 * mail/undigest.el (unforward-rmail-message): Doc fix.
11858
11859 * saveplace.el (save-place-ignore-files-regexp): Add :version.
11860
11861 2012-02-18 Eli Zaretskii <eliz@gnu.org>
11862
11863 * international/characters.el (script-list): Sync with the latest
11864 Unicode Character Database.
11865
11866 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
11867
11868 * international/titdic-cnv.el: Remove duplicate coding tag.
11869 * language/cham.el: Likewise.
11870 * language/tai-viet.el: Likewise.
11871
11872 2012-02-18 Glenn Morris <rgm@gnu.org>
11873
11874 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
11875 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
11876 (calendar-bahai-all-holidays-flag, calendar-other-dates):
11877 * calendar/diary-lib.el (diary-abbreviated-year-flag):
11878 * calendar/holidays.el (holiday-bahai-holidays)
11879 (calendar-holidays, list-holidays):
11880 Use utf-8 Bahá'í in doc-strings, menus, etc.
11881
11882 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
11883
11884 * saveplace.el (save-place-ignore-files-regexp): New variable
11885 allowing for excluding files from saving their location of point.
11886 The default value matches the temporary commit message editing
11887 files from Git, SVN, Bazaar, and Mercurial.
11888 (save-place-to-alist): Use it.
11889
11890 2012-02-17 Lawrence Mitchell <wence@gmx.li>
11891 Stefan Monnier <monnier@iro.umontreal.ca>
11892
11893 * newcomment.el (uncomment-region-default): Don't leave extra space
11894 when an arg is provided (bug#8150).
11895
11896 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
11897
11898 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
11899
11900 2012-02-17 Glenn Morris <rgm@gnu.org>
11901
11902 * net/socks.el: Require network-stream. (Bug#10599)
11903
11904 2012-02-17 Kenichi Handa <handa@m17n.org>
11905
11906 * international/charprop.el:
11907 * international/uni-name.el:
11908 * international/uni-old-name.el:
11909 * international/uni-comment.el: Regenerate.
11910
11911 2012-02-16 Glenn Morris <rgm@gnu.org>
11912
11913 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
11914 Interactively in calendar buffer, give an error if not on a date.
11915
11916 2012-02-15 Glenn Morris <rgm@gnu.org>
11917
11918 * shell.el (shell-delimiter-argument-list):
11919 Revert 2011-02-17 change. (Bug#8027)
11920
11921 2012-02-15 Chong Yidong <cyd@gnu.org>
11922
11923 * minibuffer.el (completion-at-point-functions): Doc fix.
11924
11925 * custom.el (defcustom): Doc fix; note use of defvar.
11926
11927 2012-02-15 Glenn Morris <rgm@gnu.org>
11928
11929 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
11930 Doc fixes.
11931
11932 2012-02-14 Glenn Morris <rgm@gnu.org>
11933
11934 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
11935
11936 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
11937
11938 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
11939 way the ports list is computed.
11940 (smtpmail-query-smtp-server): Prompt the user for a port number if
11941 we can't connect to any of the standard ports (bug#10810).
11942
11943 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
11944
11945 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
11946
11947 2012-02-13 Glenn Morris <rgm@gnu.org>
11948
11949 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
11950
11951 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
11952
11953 * net/gnutls.el (gnutls-trustfiles): New variable.
11954 (gnutls-negotiate): Use it.
11955
11956 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
11957
11958 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
11959 does its stuff if Gnus is running.
11960
11961 2012-02-13 Alan Mackenzie <acm@muc.de>
11962
11963 Fix a loop in c-set-fl-decl-start.
11964
11965 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
11966 c-backward-syntactic-ws actually moves backwards.
11967
11968 2012-02-13 Leo Liu <sdl.web@gmail.com>
11969
11970 * net/rcirc.el (rcirc-markup-attributes): Move point to the
11971 beginning so that all \C-o chars are removed.
11972
11973 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
11974
11975 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
11976
11977 2012-02-12 Alan Mackenzie <acm@muc.de>
11978
11979 Fix infinite loop with long macros.
11980 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
11981
11982 2012-02-12 Chong Yidong <cyd@gnu.org>
11983
11984 * window.el (display-buffer): Doc fix (Bug#10785).
11985
11986 2012-02-12 Glenn Morris <rgm@gnu.org>
11987
11988 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
11989 (x-disown-selection-internal, x-get-selection-internal):
11990 Sync docs with the xselect.c versions.
11991
11992 * allout-widgets.el: Add missing license notice.
11993
11994 2012-02-11 Glenn Morris <rgm@gnu.org>
11995
11996 * select.el (x-get-selection-internal, x-own-selection-internal)
11997 (x-disown-selection-internal):
11998 * x-dnd.el (x-get-selection-internal): Update declarations.
11999
12000 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
12001
12002 * window.el (window-sides-slots):
12003 * tool-bar.el (tool-bar-position):
12004 * term/xterm.el (xterm-extra-capabilities):
12005 * ses.el (ses-self-reference-early-detection):
12006 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
12007 (verilog-auto-wire-type)
12008 (verilog-auto-delete-trailing-whitespace)
12009 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
12010 (verilog-auto-tieoff-declaration):
12011 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
12012 (sql-oracle-statement-starters, sql-oracle-scan-on):
12013 * progmodes/prolog.el (prolog-align-comments-flag)
12014 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
12015 (prolog-left-indent-regexp, prolog-paren-indent-p)
12016 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
12017 (prolog-types, prolog-mode-specificators)
12018 (prolog-determinism-specificators, prolog-directives)
12019 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
12020 (prolog-electric-dot-flag)
12021 (prolog-electric-dot-full-predicate-template)
12022 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
12023 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
12024 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
12025 (prolog-program-switches, prolog-prompt-regexp)
12026 (prolog-debug-on-string, prolog-debug-off-string)
12027 (prolog-trace-on-string, prolog-trace-off-string)
12028 (prolog-zip-on-string, prolog-zip-off-string)
12029 (prolog-use-standard-consult-compile-method-flag)
12030 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
12031 (prolog-imenu-max-lines, prolog-info-predicate-index)
12032 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
12033 (prolog-char-quote-workaround):
12034 * progmodes/cc-vars.el (c-defun-tactic):
12035 * net/tramp.el (tramp-encoding-command-interactive)
12036 (tramp-local-end-of-line):
12037 * net/soap-client.el (soap-client):
12038 * net/netrc.el (netrc-file):
12039 * net/gnutls.el (gnutls):
12040 * minibuffer.el (completion-category-overrides)
12041 (completion-cycle-threshold)
12042 (completion-pcm-complete-word-inserts-delimiters):
12043 * man.el (Man-name-local-regexp):
12044 * mail/feedmail.el (feedmail-display-full-frame):
12045 * international/characters.el (glyphless-char-display-control):
12046 * eshell/em-ls.el (eshell-ls-date-format):
12047 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
12048 (lisp-lambda-list-keyword-parameter-indentation)
12049 (lisp-lambda-list-keyword-parameter-alignment):
12050 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
12051 * dired-x.el (dired-omit-verbose):
12052 * cus-theme.el (custom-theme-allow-multiple-selections):
12053 * calc/calc.el (calc-highlight-selections-with-faces)
12054 (calc-lu-field-reference, calc-lu-power-reference)
12055 (calc-note-threshold):
12056 * battery.el (battery-mode-line-limit):
12057 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
12058 (archive-7z-update):
12059 * allout.el (allout-prefixed-keybindings)
12060 (allout-unprefixed-keybindings)
12061 (allout-inhibit-auto-fill-on-headline)
12062 (allout-flattened-numbering-abbreviation):
12063 * allout-widgets.el (allout-widgets-auto-activation)
12064 (allout-widgets-icons-dark-subdir)
12065 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
12066 (allout-widgets-theme-dark-background)
12067 (allout-widgets-theme-light-background)
12068 (allout-widgets-item-image-properties-emacs)
12069 (allout-widgets-item-image-properties-xemacs)
12070 (allout-widgets-run-unit-tests-on-load)
12071 (allout-widgets-time-decoration-activity)
12072 (allout-widgets-hook-error-post-time)
12073 (allout-widgets-track-decoration):
12074 Add missing :version tags to new defcustoms and defgroups.
12075
12076 * progmodes/sql.el (sql-ansi-statement-starters)
12077 (sql-oracle-statement-starters): Add custom type.
12078
12079 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
12080 (prolog-system-version): Give it a type.
12081
12082 2012-02-11 Eli Zaretskii <eliz@gnu.org>
12083
12084 * term/pc-win.el (x-select-text, x-selection-owner-p)
12085 (x-own-selection-internal, x-disown-selection-internal)
12086 (x-get-selection-internal): Sync doc strings and argument lists
12087 with xselect.c, common-win.el and x-win.el. (Bug#10783)
12088
12089 2012-02-11 Leo Liu <sdl.web@gmail.com>
12090
12091 * progmodes/python.el (python-end-of-statement): Fix infinite
12092 loop. (Bug#10788)
12093
12094 2012-02-10 Glenn Morris <rgm@gnu.org>
12095
12096 * international/mule-cmds.el (unify-8859-on-encoding-mode)
12097 (unify-8859-on-decoding-mode): Properly mark as obsolete.
12098
12099 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
12100
12101 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
12102 about SMTP before checking the From header.
12103
12104 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
12105 into own function for reuse by emacsbug.el.
12106
12107 2012-02-10 Leo Liu <sdl.web@gmail.com>
12108
12109 * subr.el (condition-case-unless-debug): Rename from
12110 condition-case-no-debug. All callers changed.
12111 (with-demoted-errors): Fix caller.
12112
12113 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
12114 * nxml/rng-valid.el (rng-do-some-validation):
12115 * emacs-lisp/package.el (package-refresh-contents)
12116 (package-menu-execute):
12117 * desktop.el (desktop-create-buffer):
12118 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
12119
12120 2012-02-10 Glenn Morris <rgm@gnu.org>
12121
12122 * textmodes/bibtex.el:
12123 Add missing :version tags for new/changed defcustoms.
12124
12125 * files.el (remote-file-name-inhibit-cache): Doc fixes.
12126
12127 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
12128
12129 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
12130 (smtpmail-via-smtp): Use it, or fall back on the From address.
12131 (smtpmail-send-it): Ditto.
12132
12133 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
12134
12135 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
12136 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
12137 (byte-compile-tmp-var): New const.
12138 (byte-compile-defvar): Use it to minimize .elc size.
12139 Just use `defvar' rather than simulate it (bug#10761).
12140
12141 2012-02-09 Glenn Morris <rgm@gnu.org>
12142
12143 * files.el (rename-uniquely): Doc fix. (Bug#3806)
12144
12145 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
12146 Add :version tags.
12147
12148 * progmodes/compile.el (compilation-error-screen-columns)
12149 (compilation-first-column, compilation-filter-start): Doc fixes.
12150
12151 * vc/log-view.el (log-view-toggle-entry-display):
12152 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
12153
12154 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
12155 (report-emacs-bug-can-use-xdg-email):
12156 (report-emacs-bug-insert-to-mailer): Doc fixes.
12157 (report-emacs-bug): Message fix.
12158
12159 * net/browse-url.el (browse-url-can-use-xdg-open)
12160 (browse-url-xdg-open): Doc fixes.
12161
12162 * electric.el (electric-indent-mode, electric-pair-mode)
12163 (electric-layout-rules, electric-layout-mode): Doc fixes.
12164 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
12165
12166 2012-02-08 Martin Rudalics <rudalics@gmx.at>
12167
12168 * server.el (server-unselect-display): Don't inadvertently kill
12169 the current buffer. (Bug#10729)
12170
12171 2012-02-08 Glenn Morris <rgm@gnu.org>
12172
12173 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
12174 (sql-list-table): Doc fixes.
12175
12176 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
12177 Comment out (does nothing).
12178
12179 * completion.el (dynamic-completion-mode):
12180 * dirtrack.el (dirtrack-debug-mode):
12181 * electric.el (electric-layout-mode):
12182 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
12183 * face-remap.el (text-scale-mode, buffer-face-mode):
12184 * iimage.el (iimage-mode):
12185 * image-mode.el (image-transform-mode):
12186 * minibuffer.el (completion-in-region-mode):
12187 * scroll-lock.el (scroll-lock-mode):
12188 * simple.el (next-error-follow-minor-mode):
12189 * tar-mode.el (tar-subfile-mode):
12190 * tooltip.el (tooltip-mode):
12191 * vcursor.el (vcursor-use-vcursor-map):
12192 * wid-browse.el (widget-minor-mode):
12193 * emulation/tpu-edt.el (tpu-edt-mode):
12194 * emulation/tpu-extras.el (tpu-cursor-free-mode):
12195 * international/iso-ascii.el (iso-ascii-mode):
12196 * language/thai-util.el (thai-word-mode):
12197 * mail/supercite.el (sc-minor-mode):
12198 * net/goto-addr.el (goto-address-mode):
12199 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
12200 * progmodes/cwarn.el (cwarn-mode):
12201 * progmodes/flymake.el (flymake-mode):
12202 * progmodes/glasses.el (glasses-mode):
12203 * progmodes/hideshow.el (hs-minor-mode):
12204 * progmodes/pascal.el (pascal-outline-mode):
12205 * textmodes/enriched.el (enriched-mode):
12206 * vc/smerge-mode.el (smerge-mode):
12207 Doc fixes (minor mode argument).
12208
12209 2012-02-07 Eli Zaretskii <eliz@gnu.org>
12210
12211 * ls-lisp.el (ls-lisp-sanitize): New function.
12212 (ls-lisp-insert-directory): Use it to fix or remove any elements
12213 in file-alist with missing attributes. (Bug#4673)
12214
12215 2012-02-07 Alan Mackenzie <acm@muc.de>
12216
12217 Fix spurious recognition of c-in-knr-argdecl.
12218
12219 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
12220 putative K&R region.
12221
12222 2012-02-07 Alan Mackenzie <acm@muc.de>
12223
12224 * progmodes/cc-engine.el (c-forward-objc-directive):
12225 Prevent looping in "#pragma mark @implementation".
12226
12227 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
12228
12229 * notifications.el (notifications-on-closed-signal): Make `reason'
12230 optional. (Bug#10744)
12231
12232 2012-02-07 Glenn Morris <rgm@gnu.org>
12233
12234 * emacs-lisp/easy-mmode.el (define-minor-mode):
12235 Doc fixes for the macro and the mode it defines.
12236
12237 * image.el (imagemagick-types-inhibit): Doc fix.
12238
12239 * cus-start.el (imagemagick-render-type): Add it.
12240
12241 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
12242
12243 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
12244 Set the default at load time, too, so that `font-lock-fontify-buffer'
12245 can be called without setting up the entire mode first. This fixes
12246 a bug in `mm-inline-text' with C MIME parts.
12247
12248 2012-02-06 Chong Yidong <cyd@gnu.org>
12249
12250 * simple.el (list-processes--refresh): Delete exited processes
12251 (Bug#8094).
12252
12253 * comint.el (comint-next-prompt): next-single-char-property-change
12254 and prev-single-char-property-change never return nil (Bug#8657).
12255
12256 * custom.el (defcustom): Doc fix (Bug#9711).
12257
12258 2012-02-05 Chong Yidong <cyd@gnu.org>
12259
12260 * cus-edit.el (custom-variable-reset-backup): Quote the value
12261 before storing it in the customized-value property (Bug#6712).
12262 (custom-display): Add a customization type tag.
12263 (custom-buffer-create-internal): Improve tooltip message.
12264
12265 * wid-edit.el (widget-field-value-get): New optional arg to
12266 suppress trailing whitespace truncation.
12267 (character): Use it (Bug#2689).
12268
12269 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
12270
12271 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
12272 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
12273
12274 2012-02-05 Chong Yidong <cyd@gnu.org>
12275
12276 * cus-edit.el (custom-variable-value-create): For mismatched
12277 types, show the current value (Bug#7600).
12278
12279 * custom.el (defcustom): Doc fix.
12280
12281 2012-02-05 Glenn Morris <rgm@gnu.org>
12282
12283 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
12284
12285 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
12286
12287 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
12288 (pp-buffer): Use `ignore-errors', `looking-at-p'.
12289 (pp-last-sexp): Use `looking-at-p'.
12290
12291 2012-02-04 Glenn Morris <rgm@gnu.org>
12292
12293 * files.el (revert-buffer):
12294 Doc fix (mention revert-buffer-in-progress-p).
12295
12296 * emacs-lisp/ert-x.el (ert-simulate-command):
12297 Check deferred-action-list (which is obsolete) is bound.
12298
12299 * subr.el (with-wrapper-hook): Doc fixes.
12300
12301 * simple.el (filter-buffer-substring-functions)
12302 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
12303
12304 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
12305
12306 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
12307 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
12308
12309 2012-02-04 Leo Liu <sdl.web@gmail.com>
12310
12311 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
12312
12313 2012-02-04 Glenn Morris <rgm@gnu.org>
12314
12315 * image.el (image-extension-data): Add obsolete alias.
12316
12317 * isearch.el (isearch-update): Doc fix.
12318
12319 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
12320
12321 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
12322
12323 2012-02-03 Glenn Morris <rgm@gnu.org>
12324
12325 * image.el (image-animated-p): Doc fix. Use image-animated-types.
12326 (image-animate-timeout): Doc fix.
12327
12328 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
12329
12330 2012-02-02 Glenn Morris <rgm@gnu.org>
12331
12332 * server.el (server-auth-dir): Doc fix.
12333 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
12334
12335 * subr.el (run-mode-hooks): Doc fix.
12336
12337 2012-02-02 Juri Linkov <juri@jurta.org>
12338
12339 * image-mode.el (image-toggle-display-image): Remove tautological
12340 `major-mode' from the `derived-mode-p' test.
12341
12342 2012-02-02 Kenichi Handa <handa@m17n.org>
12343
12344 * composite.el (compose-region): Cancel previous change.
12345
12346 2012-02-02 Kenichi Handa <handa@m17n.org>
12347
12348 * composite.el (compose-region, compose-string): Signal error for
12349 a null string component (Bug#6988).
12350
12351 2012-02-01 Chong Yidong <cyd@gnu.org>
12352
12353 * view.el (view-buffer-other-window, view-buffer-other-frame):
12354 Handle special modes like view-buffer (Bug#10650).
12355 (view-buffer): Simplify.
12356
12357 * frame.el (set-frame-font): Tweak meaning of third argument.
12358
12359 * dynamic-setting.el (font-setting-change-default-font):
12360 Use set-frame-font (Bug#9982).
12361
12362 2012-02-01 Glenn Morris <rgm@gnu.org>
12363
12364 * progmodes/compile.el (compilation-internal-error-properties):
12365 Respect compilation-first-column in the "*compilation*" buffer.
12366
12367 * emacs-lisp/easy-mmode.el (define-minor-mode):
12368 Relax :variable's test for a named function.
12369
12370 2012-01-31 Alan Mackenzie <acm@muc.de>
12371
12372 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
12373 off by one error.
12374
12375 2012-01-31 Chong Yidong <cyd@gnu.org>
12376
12377 * frame.el (set-frame-font): New arg ALL-FRAMES.
12378
12379 * menu-bar.el (menu-set-font): Use set-frame-font.
12380
12381 * faces.el (face-spec-reset-face): Don't apply unspecified
12382 attribute values to the default face.
12383
12384 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
12385
12386 * progmodes/cwarn.el (cwarn): Remove dead link.
12387 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
12388 Remove * from defcustom docstrings.
12389 (turn-on-cwarn-mode): Make obsolete.
12390 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
12391 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
12392
12393 2012-01-31 Glenn Morris <rgm@gnu.org>
12394
12395 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
12396 Fix :variable handling of mode a symbol not equal to modefun.
12397 Allow named functions to be used as the cdr of :variable.
12398
12399 2012-01-30 Glenn Morris <rgm@gnu.org>
12400
12401 * emacs-lisp/authors.el (authors-fixed-entries):
12402 Remove reference to deleted file rnewspost.el.
12403
12404 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
12405
12406 * window.el (window-with-parameter): Remove unused variable `windows'.
12407 (window--side-check): Remove unused variable `code'.
12408 (window--resize-siblings): Remove unused variable `first'.
12409 (adjust-window-trailing-edge): Remove unused variable `failed'.
12410 (window-deletable-p, window--delete): Remove unused variable `buffer'.
12411 Use `let', not `let*'.
12412 (balance-windows-2): Remove unused variable `found'.
12413 (window--state-put-2): Remove unused variable `splits'.
12414 (window-state-put): Remove unused variable `selected'.
12415 (same-window-p): Use `string-match-p'.
12416 (display-buffer-assq-regexp): Remove unused variable `value'.
12417 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12418 Mark argument ALIST as ignored.
12419 (pop-to-buffer): Remove unused variable `old-window'.
12420
12421 2012-01-29 Eli Zaretskii <eliz@gnu.org>
12422
12423 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
12424 and .lzma compressed files.
12425
12426 2012-01-29 Chong Yidong <cyd@gnu.org>
12427
12428 * frame.el (window-system-default-frame-alist): Doc fix.
12429
12430 * dynamic-setting.el (font-setting-change-default-font): Don't
12431 change the default face if SET-FONT argument is non-nil (Bug#9982).
12432
12433 2012-01-29 Samuel Bronson <naesten@gmail.com>
12434
12435 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
12436
12437 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
12438
12439 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
12440 breakpoints in files outside current directory (Bug#6098).
12441
12442 2012-01-29 Chong Yidong <cyd@gnu.org>
12443
12444 * progmodes/python.el: Require ansi-color at top-level.
12445
12446 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
12447 Define and use in Emacs Lisp mode (Bug#9360).
12448 (lisp-mode-abbrev-table): Add doc.
12449 (lisp-mode-variables): Don't set local-abbrev-table.
12450 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
12451
12452 2012-01-28 Roland Winkler <winkler@gnu.org>
12453
12454 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
12455
12456 2012-01-28 Roland Winkler <winkler@gnu.org>
12457
12458 * textmodes/bibtex.el (bibtex-entry-alist): New function.
12459 (bibtex-set-dialect): Use it. Either set global values of
12460 dialect-dependent variables or bind these variables buffer-locally
12461 (Bug#10254).
12462 (bibtex-mode): Call bibtex-set-dialect via
12463 hack-local-variables-hook.
12464 (bibtex-dialect): Update docstring.
12465 Add safe-local-variable predicate.
12466 (bibtex-entry-alist, bibtex-field-alist): Initialize via
12467 bibtex-set-dialect.
12468 (bibtex-mode-map): Define menu for each dialect.
12469 (bibtex-entry): Fix docstring.
12470
12471 2012-01-28 Chong Yidong <cyd@gnu.org>
12472
12473 * eshell/esh-arg.el (eshell-quote-argument): New function.
12474
12475 * eshell/esh-ext.el (eshell-invoke-batch-file):
12476 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
12477 first arg to eshell-parse-command (Bug#10523).
12478
12479 2012-01-28 Drew Adams <drew.adams@oracle.com>
12480
12481 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
12482 `default-directory' is non-nil.
12483
12484 2012-01-28 Eli Zaretskii <eliz@gnu.org>
12485
12486 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
12487 line that displays system-configuration-options. (Bug#9924)
12488
12489 2012-01-28 Drew Adams <drew.adams@oracle.com>
12490
12491 * descr-text.el (describe-char): Show information about POS, in
12492 addition to information about the character at POS. Improve and
12493 update the doc string. Change "code point" to "code point in
12494 charset", to avoid confusion with the character's Unicode code
12495 point shown above that. (Bug#10129)
12496
12497 2012-01-28 Eli Zaretskii <eliz@gnu.org>
12498
12499 * descr-text.el (describe-char): Show the raw character, not only
12500 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
12501 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
12502 for the reasons.
12503
12504 2012-01-28 Phil Hagelberg <phil@hagelb.org>
12505
12506 * emacs-lisp/package.el (package-install):
12507 Run package-refresh-contents if there is no archive yet (Bug#9798).
12508
12509 2012-01-28 Chong Yidong <cyd@gnu.org>
12510
12511 * emacs-lisp/package.el (package-maybe-load-descriptor):
12512 New function, split from package-maybe-load-descriptor.
12513 (package-maybe-load-descriptor): Use it.
12514 (package-download-transaction): Fully load required packages
12515 inside the loop, so that `require' calls work (Bug#10593).
12516 (package-install): No need to call package-initialize now.
12517
12518 2012-01-28 Chong Yidong <cyd@gnu.org>
12519
12520 * simple.el (deactivate-mark): Doc fix (Bug#8614).
12521
12522 * tooltip.el (tooltip-mode): Doc fix.
12523 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
12524
12525 * frame.el (set-cursor-color): Doc fix (Bug#352).
12526
12527 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
12528 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
12529
12530 * cus-edit.el (custom-buffer-create-internal): Fix search button
12531 action (Bug#10542).
12532 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
12533
12534 2012-01-27 Eduard Wiebe <usenet@pusto.de>
12535
12536 * dired.el (dired-mark-files-regexp):
12537 Include any subdirectory components. (Bug#10445)
12538
12539 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
12540
12541 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
12542 Handle [host]:port syntax. (Bug#10533)
12543
12544 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
12545
12546 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
12547
12548 2012-01-26 Glenn Morris <rgm@gnu.org>
12549
12550 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
12551 * term.el (term-raw-escape-map): Use Control-X-prefix.
12552 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
12553
12554 2012-01-25 Martin Rudalics <rudalics@gmx.at>
12555
12556 * window.el (window-state-get, window--state-get-1): Don't deal
12557 with fixed-sizeness of windows. Simplify code.
12558
12559 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
12560
12561 * window.el (window--state-get-1, window--state-put-2):
12562 Don't save and restore the mark.
12563
12564 2012-01-25 Chong Yidong <cyd@gnu.org>
12565
12566 * custom.el (custom-variable-p): Doc fix.
12567
12568 2012-01-25 Glenn Morris <rgm@gnu.org>
12569
12570 * dired.el (dired-goto-file): Handle some of the more common
12571 characters that `ls -b' escapes. (Bug#10596)
12572
12573 * progmodes/compile.el (compilation-next-error-function):
12574 Respect compilation-first-column in the "*compilation*" buffer.
12575 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
12576
12577 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
12578
12579 2012-01-24 Glenn Morris <rgm@gnu.org>
12580
12581 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
12582
12583 2012-01-24 Julien Danjou <julien@danjou.info>
12584
12585 * color.el (color-rgb-to-hsl): Fix value computing.
12586 (color-hue-to-rgb): New function.
12587 (color-hsl-to-rgb): New function.
12588 (color-clamp, color-saturate-hsl, color-saturate-name)
12589 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
12590 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
12591
12592 2012-01-24 Glenn Morris <rgm@gnu.org>
12593
12594 * vc/vc-rcs.el (vc-rcs-create-tag):
12595 * vc/vc-sccs.el (vc-sccs-create-tag):
12596 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
12597
12598 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
12599
12600 * eshell/esh-util.el (eshell-read-hosts-file):
12601 Skip comment lines. (Bug#10549)
12602
12603 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
12604
12605 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
12606
12607 * subr.el (display-delayed-warnings): Doc fix.
12608 (collapse-delayed-warnings): New function to collapse identical
12609 adjacent warnings.
12610 (delayed-warnings-hook): Add it.
12611
12612 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
12613
12614 * net/tramp.el (tramp-action-login): Set connection property "login-as".
12615
12616 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
12617 (tramp-default-user-alist): Don't add "pscp".
12618 (tramp-do-copy-or-rename-file-out-of-band): Use connection
12619 property "login-as", if set. (Bug#10530)
12620
12621 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
12622
12623 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
12624 "plink1" and "psftp". (Bug#10530)
12625
12626 2012-01-21 Kenichi Handa <handa@m17n.org>
12627
12628 * international/mule-cmds.el (prefer-coding-system): Show a
12629 warning message if the default value of file-name-coding-system
12630 was not changed.
12631
12632 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
12633
12634 * windmove.el (windmove-reference-loc):
12635 Fix windmove-reference-loc miscalculation.
12636
12637 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
12638
12639 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
12640 default unit.
12641
12642 2012-01-21 Glenn Morris <rgm@gnu.org>
12643
12644 * international/mule.el (auto-coding-alist): Add .tbz.
12645
12646 * files.el (local-enable-local-variables): Doc fix.
12647 (inhibit-local-variables-regexps): Rename from
12648 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
12649 Doc fix. Add some extensions from auto-coding-alist.
12650 (inhibit-local-variables-suffixes):
12651 Rename from inhibit-first-line-modes-suffixes. Doc fix.
12652 (inhibit-local-variables-p):
12653 New function, extracted from set-auto-mode-1.
12654 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
12655 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
12656 (hack-local-variables): Doc fix. Make the mode-only case
12657 respect enable-local-variables and friends.
12658 Respect inhibit-local-variables-regexps for file-locals, but
12659 not for directory-locals.
12660 (set-visited-file-name):
12661 Take account of inhibit-local-variables-regexps.
12662 Whether it applies may change as the file name is changed.
12663 * jka-cmpr-hook.el (jka-compr-install):
12664 * jka-compr.el (jka-compr-uninstall):
12665 Update for inhibit-first-line-modes-suffixes name change.
12666
12667 2012-01-20 Martin Rudalics <rudalics@gmx.at>
12668
12669 * help-macro.el (make-help-screen): Temporarily restore original
12670 binding for minor-mode-map-alist (Bug#10454).
12671
12672 2012-01-19 Julien Danjou <julien@danjou.info>
12673
12674 * color.el (color-name-to-rgb): Use the white color to find the max
12675 color component value and return correctly computed values.
12676 (color-name-to-rgb): Add missing float conversion for max value.
12677
12678 2012-01-19 Martin Rudalics <rudalics@gmx.at>
12679
12680 * window.el (window--state-get-1, window-state-get): Do not use
12681 special state value for window-persistent-parameters.
12682 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
12683 (window--state-put-2): Reset all window parameters to nil before
12684 assigning values of persistent parameters.
12685
12686 2012-01-18 Alan Mackenzie <acm@muc.de>
12687
12688 Eliminate sluggishness and hangs in fontification of "semicolon
12689 deserts".
12690
12691 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
12692 Change value 10000 -> 3000.
12693 (c-state-safe-place): Reformulate so it doesn't stack up an
12694 infinite number of wrong entries in c-state-nonlit-pos-cache.
12695 (c-determine-limit-get-base, c-determine-limit): New functions to
12696 determine backward search limits disregarding literals.
12697 (c-find-decl-spots): Amend commenting.
12698 (c-cheap-inside-bracelist-p): New function which detects "={".
12699
12700 * progmodes/cc-fonts.el
12701 (c-make-font-lock-BO-decl-search-function): Give a limit to a
12702 backward search.
12703 (c-font-lock-declarations): Fix an occurrence of point being
12704 undefined. Check additionally for point being in a bracelist or
12705 near a macro invocation without a semicolon so as to avoid a
12706 fruitless time consuming search for a declarator. Give a more
12707 precise search limit for declarators using the new
12708 c-determine-limit.
12709
12710 2012-01-18 Glenn Morris <rgm@gnu.org>
12711
12712 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
12713 (set-auto-mode): Doc fixes.
12714
12715 2012-01-17 Glenn Morris <rgm@gnu.org>
12716
12717 * isearch.el (search-nonincremental-instead): Fix doc typo.
12718
12719 * dired.el (dired-insert-directory): Handle newlines in directory name.
12720 (dired-build-subdir-alist): Unescape newlines in directory name.
12721
12722 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
12723
12724 * net/tramp.el (tramp-local-end-of-line): New defcustom.
12725 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
12726 (tramp-action-terminal): Use it. (Bug#10530)
12727
12728 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
12729
12730 * minibuffer.el (completion--replace): Strip properties (bug#10062).
12731
12732 2012-01-16 Martin Rudalics <rudalics@gmx.at>
12733
12734 * window.el (window-state-ignored-parameters): Remove variable.
12735 (window--state-get-1): Rename argument MARKERS to IGNORE.
12736 Handle persistent window parameters. Make copy of clone-of
12737 parameter only if requested. (Bug#10348)
12738 (window--state-put-2): Install a window parameter only if it has
12739 a non-nil value or an existing parameter shall be overwritten.
12740
12741 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
12742
12743 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
12744
12745 2012-01-14 Eli Zaretskii <eliz@gnu.org>
12746
12747 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
12748 don't pass the (nil) value of `upnode' to string-match.
12749
12750 2012-01-14 Chong Yidong <cyd@gnu.org>
12751
12752 * startup.el (command-line): Fix X resource class for cursorColor.
12753 Fix values recognized by the cursorBlink resource.
12754
12755 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
12756
12757 * epg.el (epg--make-temp-file): Avoid permission race condition
12758 when running on old Emacs versions (bug#10403).
12759
12760 2012-01-14 Glenn Morris <rgm@gnu.org>
12761
12762 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
12763
12764 2012-01-13 Alan Mackenzie <acm@muc.de>
12765
12766 Fix filling for when filladapt mode is enabled.
12767
12768 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
12769 c-mask-paragraph, pass in `fill-paragraph' rather than
12770 `fill-region-as-paragraph'. (This is a reversion of a previous
12771 change.)
12772 * progmodes/cc-mode.el (c-basic-common-init):
12773 Make fill-paragraph-handle-comment buffer local and set it to nil.
12774
12775 2012-01-13 Glenn Morris <rgm@gnu.org>
12776
12777 * dired.el (dired-switches-escape-p): New function.
12778 (dired-insert-directory): Use dired-switches-escape-p.
12779 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
12780
12781 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
12782
12783 2012-01-12 Glenn Morris <rgm@gnu.org>
12784
12785 * mail/sendmail.el (mail-mode): Update paragraph-separate for
12786 changes in adaptive-fill-regexp. (Bug#10276)
12787
12788 2012-01-11 Alan Mackenzie <acm@muc.de>
12789
12790 Fix Emacs bug #10463 - put `widen's around the critical spots.
12791
12792 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
12793 widen around each invocation of c-state-pp-to-literal. Remove an
12794 unused let variable.
12795
12796 2012-01-11 Glenn Morris <rgm@gnu.org>
12797
12798 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
12799 Doc fix.
12800
12801 2012-01-10 Chong Yidong <cyd@gnu.org>
12802
12803 * net/network-stream.el (network-stream-open-starttls):
12804 Avoid emitting a confusing error message when the server gives a bad
12805 response to the capability command.
12806
12807 2012-01-10 Glenn Morris <rgm@gnu.org>
12808
12809 * mail/unrmail.el (unrmail): Tweak previous change.
12810
12811 2012-01-09 Chong Yidong <cyd@gnu.org>
12812
12813 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
12814
12815 2012-01-08 Alan Mackenzie <acm@muc.de>
12816
12817 Optimise font locking in long enum definitions.
12818
12819 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
12820 arm to a cond form to handle enums.
12821 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
12822 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
12823
12824 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
12825
12826 * files.el (move-file-to-trash): Preserve default file modes on error.
12827 (Bug#10401)
12828
12829 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12830
12831 * faces.el (set-face-attribute): Clarify the meaning of the nil
12832 frame (bug#10294).
12833
12834 * subr.el (with-selected-frame): Mention that the selected frame
12835 is restored (bug#9980).
12836
12837 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
12838 (bug#9759).
12839
12840 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
12841 (password-read): Don't autoload unused function.
12842
12843 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
12844
12845 * progmodes/which-func.el (which-func-mode): Turn into a
12846 non-interactive function and mark as obsolete (bug#10428).
12847
12848 2012-01-06 Chong Yidong <cyd@gnu.org>
12849
12850 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
12851 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
12852 functions, along with 1 and -1.
12853
12854 2012-01-06 Eli Zaretskii <eliz@gnu.org>
12855
12856 * time.el (display-time-load-average)
12857 (display-time-default-load-average): Doc fixes. See the thread
12858 starting at
12859 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
12860 for the details.
12861
12862 2012-01-06 Glenn Morris <rgm@gnu.org>
12863
12864 * mail/unrmail.el (unrmail): Give an explicit error if the input file
12865 has no messages. (Bug#10377)
12866
12867 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
12868 than Info-edit. (Bug#10385)
12869
12870 * time.el (display-time-load-average, display-time-next-load-average):
12871 Doc fixes.
12872
12873 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
12874 local setting of buffer-read-only to the input buffer. (Bug#10419)
12875
12876 * calendar/calendar.el (calendar-mode):
12877 Locally set scroll-margin to 0. (Bug#10379)
12878
12879 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
12880
12881 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
12882
12883 2012-01-05 Glenn Morris <rgm@gnu.org>
12884
12885 * eshell/em-unix.el (diff-no-select): Autoload it.
12886 (eshell/diff): Use diff-no-select. (Bug#10420)
12887
12888 2012-01-05 Chong Yidong <cyd@gnu.org>
12889
12890 * shell.el (shell-dynamic-complete-functions): Revert last change.
12891 (shell-command-completion-function): New function.
12892 (shell-completion-vars): Use it to implement
12893 shell-completion-execonly (Bug#10417).
12894
12895 * custom.el (enable-theme): Don't set custom-safe-themes.
12896
12897 * cus-theme.el (custom-theme-merge-theme):
12898 Ignore custom-enabled-themes and custom-safe-themes.
12899
12900 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
12901
12902 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
12903 first prompt in `sql-interacive-mode'.
12904 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
12905 keywords.
12906 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
12907 (sql-product-interactive): Bug fix: Set `sql-buffer' in
12908 context of original buffer. Invoke `sql-login-hook'.
12909
12910 2012-01-04 Eli Zaretskii <eliz@gnu.org>
12911
12912 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
12913 letters in cite-prefix.
12914
12915 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12916
12917 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
12918
12919 2012-01-03 Chong Yidong <cyd@gnu.org>
12920
12921 * shell.el (shell-dynamic-complete-functions):
12922 Put pcomplete-completions-at-point, so as to try
12923 comint-filename-completion first (Bug#10417).
12924
12925 2012-01-02 Richard Stallman <rms@gnu.org>
12926
12927 * battery.el (battery-status-function):
12928 Detect when to use battery-yeeloong-sysfs.
12929 (battery-echo-area-format): Add string for Yeeloong.
12930 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
12931 (battery-yeeloong-sysfs): New function.
12932
12933 2012-01-02 Chong Yidong <cyd@gnu.org>
12934
12935 * dirtrack.el (dirtrack-list): Eliminate unused third element.
12936 (dirtrack): Merge code for handling relative filenames in prompt
12937 from shell-dir-cookie-watcher.
12938 (dirtrack-debug-message): New arg to avoid excess format calls.
12939
12940 * shell.el (shell-dir-cookie-re): Variable deleted.
12941 (shell-dir-cookie-watcher): Function deleted.
12942 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
12943 with dirtrack-mode.
12944
12945 2012-01-01 Eli Zaretskii <eliz@gnu.org>
12946
12947 * term/w32-win.el (dynamic-library-alist) <gnutls>:
12948 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
12949 libgnutls-26.dll.
12950
12951 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
12952
12953 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
12954
12955 2011-12-31 Eli Zaretskii <eliz@gnu.org>
12956
12957 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
12958 headers of non-MIME messages, when rmail-enable-mime is non-nil.
12959
12960 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
12961
12962 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
12963 also for alternative shells.
12964 (tramp-open-connection-setup-interactive-shell): Check, whether
12965 the shell is a busybox.
12966 (tramp-send-command): Don't suppress multiple prompts for
12967 busyboxes, it hurts.
12968
12969 2011-12-28 Chong Yidong <cyd@gnu.org>
12970
12971 * progmodes/gdb-mi.el (gdb-get-source-file-list)
12972 (gdb-get-source-file): Move mode line update to
12973 gdb-get-source-file (Bug#10087).
12974
12975 2011-12-25 Chong Yidong <cyd@gnu.org>
12976
12977 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
12978 gud-gdb-marker-filter without taking it as an argument.
12979 (gud-gdb-run-command-fetch-lines): Caller changed.
12980 (gud-gdb-completion-function): New variable.
12981 (gud-gdb-completion-at-point): Use it.
12982 (gud-gdb-completions-1): Split from gud-gdb-completions.
12983
12984 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
12985 function as separate arguments.
12986 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
12987 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
12988 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
12989 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
12990 (gdb-stopped, def-gdb-auto-update-trigger)
12991 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
12992 (gdb-get-changed-registers, gdb-get-main-selected-frame):
12993 Callers changed.
12994 (gud-gdbmi-completions): New function.
12995 (gdb): Use it for generating the completion table.
12996
12997 2011-12-24 Alan Mackenzie <acm@muc.de>
12998
12999 Introduce a mechanism to widen the region used in context font
13000 locking. Use this to protect declarations from losing their contexts.
13001
13002 * progmodes/cc-langs.el (c-before-font-lock-functions):
13003 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
13004 (c-before-context-fontification-functions): New defvar, a list of
13005 functions to be run just before context (etc.) font locking.
13006
13007 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
13008 New, functionality extracted from
13009 c-neutralize-syntax-in-and-mark-CPP.
13010 (c-in-after-change-fontification): New variable.
13011 (c-after-change): Set c-in-after-change-fontification.
13012 (c-set-fl-decl-start): Rejig its interface, so it can be called
13013 from both after-change and context fontifying.
13014 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
13015 New functions.
13016 (c-standard-font-lock-fontify-region-function): New variable.
13017 (c-font-lock-fontify-region): New function.
13018
13019 2011-12-24 Juri Linkov <juri@jurta.org>
13020
13021 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
13022 (Bug#10348)
13023
13024 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
13025
13026 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
13027 existence of source file. (Bug#10325)
13028
13029 2011-12-23 Alan Mackenzie <acm@muc.de>
13030
13031 Fix unstable fontification inside templates.
13032
13033 * progmodes/cc-langs.el (c-before-font-lock-functions):
13034 Newly created from the singular version. The (c c++ objc) entry now
13035 additionally has c-set-fl-decl-start. The other languages (apart
13036 from AWK) have that as a single entry.
13037
13038 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13039 The functionality for "local" declarations has been extracted to
13040 c-set-fl-decl-start.
13041
13042 * progmodes/cc-mode.el (c-common-init, c-after-change):
13043 Changes due to pluralisation of c-before-font-lock-functions.
13044 (c-set-fl-decl-start): New function, extracted from
13045 c-font-lock-enclosing-decls and enhanced.
13046
13047 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
13048
13049 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
13050
13051 2011-12-22 Juri Linkov <juri@jurta.org>
13052
13053 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
13054
13055 2011-12-22 Chong Yidong <cyd@gnu.org>
13056
13057 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
13058
13059 2011-12-21 Drew Adams <drew.adams@oracle.com>
13060
13061 * files.el (file-remote-p): Fix docstring. (Bug#10319)
13062
13063 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
13064
13065 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
13066
13067 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
13068
13069 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
13070 highlighting and support. Fix up comments for capitalization.
13071 (cfengine-mode-debug): New var.
13072 (cfengine3-mode): Change the modeline indicator to "CFE3".
13073 (cfengine3-font-lock-keywords): Improve defun highlighting.
13074 (cfengine2-actions): Rename from `cfengine-actions'.
13075 (cfengine2-font-lock-keywords): Rename from
13076 `cfengine-font-lock-keywords'.
13077 (cfengine2-imenu-expression): Rename from
13078 `cfengine-imenu-expression'.
13079 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
13080 (cfengine2-beginning-of-defun): Rename from
13081 `cfengine-beginning-of-defun'.
13082 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
13083 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
13084 (cfengine2-mode): Rename from `cfengine-mode'. Change the
13085 modeline indicator to "CFE2".
13086 (cfengine-mode): Defalias to `cfengine-auto-mode'.
13087 (cfengine-mode-abbrevs): Mark obsolete.
13088
13089 2011-12-21 Chong Yidong <cyd@gnu.org>
13090
13091 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
13092 filename argument.
13093
13094 2011-12-20 Martin Rudalics <rudalics@gmx.at>
13095
13096 * window.el (window-normalize-buffer-to-display): Remove.
13097 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
13098
13099 2011-12-19 Chong Yidong <cyd@gnu.org>
13100
13101 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
13102 Don't signal an error in a predicate function; return non-nil.
13103 (vc-dir-mark-file): Move the error here.
13104 (vc-dir-mark-unmark): If acting on the region, keep going if one
13105 of the entries cannot be marked/unmarked.
13106 (vc-dir-mark-all-files): If current entry is a directory, mark
13107 only child files, as documented.
13108
13109 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
13110
13111 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
13112 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
13113 addition.
13114
13115 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
13116
13117 * term/ns-win.el (ns-get-selection-internal)
13118 (ns-store-selection-internal): Declare.
13119 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
13120 Declare as obsolete.
13121 (ns-get-pasteboard, ns-paste-secondary):
13122 Use ns-get-selection-internal.
13123 (ns-set-pasteboard, ns-copy-including-secondary):
13124 Use ns-store-selection-internal.
13125
13126 2011-12-17 Chong Yidong <cyd@gnu.org>
13127
13128 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
13129 (vc-deduce-fileset): Doc fix.
13130
13131 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
13132
13133 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
13134
13135 2011-12-13 Sam Steingold <sds@gnu.org>
13136
13137 * man.el (Man-getpage-in-background): When running under a
13138 window-system, ignore $MANWIDTH and $COLUMNS.
13139
13140 2011-12-15 Kenichi Handa <handa@m17n.org>
13141
13142 * language/ethio-util.el: Change coding tag to utf-8-emacs.
13143 (setup-ethiopic-environment-internal): Comment out key-binding for
13144 ethio-toggle-punctuation.
13145
13146 2011-12-13 Alan Mackenzie <acm@muc.de>
13147
13148 Add the switch statement to AWK Mode.
13149
13150 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
13151 "default" to the keywords regexp.
13152
13153 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
13154 expression as the rest.
13155 (c-nonlabel-token-key): Allow string literals for AWK.
13156 Refactor for the other modes.
13157
13158 Large brace-block initialisation makes CC Mode slow: Fix.
13159 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13160 routines. Limit backward searching in c-font-lock-enclosing.decl.
13161
13162 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
13163 pp-state and literal type in addition to the limits.
13164 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13165 (c-state-literal-at): Use the above new defun.
13166 (c-slow-in-literal, c-fast-in-literal): Remove.
13167 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13168
13169 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
13170 being in a literal. Add a limit for backward searching.
13171
13172 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
13173 c-slow-in-literal.
13174
13175 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
13176
13177 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
13178
13179 2011-12-13 Martin Rudalics <rudalics@gmx.at>
13180
13181 * window.el (delete-other-windows): Use correct frame in call to
13182 window-with-parameter.
13183
13184 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
13185
13186 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
13187 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
13188 (makefile-gmake-statements, makefile-makepp-statements):
13189 Use it and add new makepp keywords.
13190 (makefile-makepp-font-lock-keywords): Add new patterns.
13191 (makefile-match-function-end): Match new [...] and [[...]].
13192
13193 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
13194
13195 * ses.el (ses-call-printer-return, ses-cell-property-get)
13196 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
13197 (ses-create-cell-variable, ses-reset-header-string)
13198 (ses-cell-set-formula, ses-repair-cell-reference-all)
13199 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
13200 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
13201 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
13202 (ses-aset-with-undo, ses-load, ses-truncate-cell)
13203 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
13204 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
13205 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
13206 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
13207 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
13208 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
13209 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
13210 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
13211
13212 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
13213
13214 * ses.el: The overall change is to add cell renaming, that is
13215 setting fancy names for cell symbols other than name matching
13216 "\\`[A-Z]+[0-9]+\\'" regexp .
13217 (ses-create-cell-variable): New defun.
13218 (ses-relocate-formula): Relocate formulas only for cells the
13219 symbols of which are not renamed, i.e. symbols whose names do not
13220 match regexp "\\`[A-Z]+[0-9]+\\'".
13221 (ses-relocate-all): Relocate values only for cells the symbols of
13222 which are not renamed.
13223 (ses-load): Create cells variables as the (ses-cell ...) are read,
13224 in order to check row col consistency with cell symbol name only
13225 for cells that are not renamed.
13226 (ses-replace-name-in-formula): New defun.
13227 (ses-rename-cell): New defun.
13228
13229 2011-12-11 Chong Yidong <cyd@gnu.org>
13230
13231 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
13232 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
13233
13234 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
13235
13236 * window.el (other-window): Fix docstring.
13237
13238 2011-12-10 Eli Zaretskii <eliz@gnu.org>
13239
13240 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
13241 `from' or `to' address before taking its substring.
13242 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
13243 encoded name is chopped in the middle of the encoded string, and
13244 thus displayed encoded.
13245
13246 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
13247
13248 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
13249
13250 2011-12-10 Eli Zaretskii <eliz@gnu.org>
13251
13252 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
13253 to use texinfo-update-node and commands that call it if the
13254 Texinfo file uses @node lines without next/prev/up pointers.
13255 Correct outdated description about texinfo-master-menu.
13256 (texinfo-all-menus-update, texinfo-master-menu)
13257 (texinfo-update-node, texinfo-every-node-update)
13258 (texinfo-multiple-files-update): Doc fix. Warn against updating
13259 all the @node lines.
13260 (texinfo-master-menu): Only call texinfo-update-node if the prefix
13261 argument is numeric. Explain better in the doc string what the
13262 function really does.
13263 (texinfo-insert-master-menu-list): Improve the error message
13264 displayed if there's no menu in the Top node.
13265 (Bug#2975) See also this thread:
13266 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
13267
13268 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
13269
13270 * speedbar.el (speedbar-supported-extension-expressions):
13271 Add .adb and .ads, commonly used for Ada source code (bug#10256).
13272
13273 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
13274
13275 * printing.el (pr-mode-alist):
13276 * simple.el (filter-buffer-substring-functions)
13277 (completion-list-insert-choice-function):
13278 * window.el (window-with-parameter, window-atom-root)
13279 (window-sides-slots, window-size-fixed, window-min-delta)
13280 (window-max-delta, window--resize-mini-window)
13281 (window--resize-child-windows-normal, window-tree)
13282 (delete-other-windows, quit-window, split-window)
13283 (display-buffer-record-window, special-display-buffer-names)
13284 (special-display-regexps, special-display-popup-frame)
13285 (same-window-p, split-window-sensibly)
13286 (display-buffer-overriding-action, display-buffer-alist)
13287 (display-buffer-base-action, display-buffer, switch-to-buffer)
13288 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
13289 (fit-window-to-buffer, recenter-positions)
13290 (mouse-autoselect-window-state, mouse-autoselect-window-select):
13291 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
13292 and remove unneeded backslashes in docstrings.
13293
13294 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
13295
13296 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
13297
13298 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
13299 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
13300 end in ".mk".
13301 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
13302 when reading the makefile (bug#10116).
13303
13304 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
13305
13306 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
13307 (bug#10116).
13308
13309 2011-12-06 Glenn Morris <rgm@gnu.org>
13310
13311 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
13312
13313 2011-12-06 Chong Yidong <cyd@gnu.org>
13314
13315 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
13316
13317 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
13318
13319 * textmodes/table.el (table-shorten-cell): Fix typo.
13320
13321 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
13322
13323 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
13324
13325 2011-12-05 Eli Zaretskii <eliz@gnu.org>
13326
13327 * descr-text.el (describe-char): Fix display of strong
13328 right-to-left characters and directional embeddings and overrides.
13329
13330 * simple.el (what-cursor-position): Fix display of codepoints of
13331 strong right-to-left characters.
13332
13333 2011-12-05 Chong Yidong <cyd@gnu.org>
13334
13335 * faces.el (read-color): Doc fix.
13336
13337 2011-12-05 Glenn Morris <rgm@gnu.org>
13338
13339 * align.el (align--set-marker): Add doc-string.
13340 Don't try to move something that is not a marker. (Bug#10216)
13341
13342 2011-12-04 Glenn Morris <rgm@gnu.org>
13343
13344 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
13345 overly zealous deletion of trailing whitespace.
13346
13347 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
13348
13349 * server.el (server-delete-client): On Windows, do not try to delete
13350 the only terminal.
13351 (server-process-filter): On Windows, treat requests for a tty frame as
13352 if they were for a GUI frame if the running server is in GUI mode.
13353
13354 2011-12-03 Glenn Morris <rgm@gnu.org>
13355
13356 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
13357
13358 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13359
13360 * electric.el: Streamline electric-indent's hook.
13361 (electric-indent-chars): Revert to simple list.
13362 (electric-indent-functions): New var.
13363 (electric-indent-post-self-insert-function): Use it.
13364
13365 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
13366 there's no inferior buffer (bug#10196).
13367 (prolog-consult-compile): Don't use toggle-read-only.
13368
13369 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
13370
13371 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
13372 interrupt. (Bug#10187)
13373
13374 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
13375
13376 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
13377 (bug#9160).
13378
13379 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
13380 (bug#10191).
13381
13382 2011-12-02 Juri Linkov <juri@jurta.org>
13383
13384 * info.el (Info-search): Display "end of manual" when Isearch
13385 reaches the end of single-file Info manual. (Bug#9918)
13386
13387 2011-12-02 Eli Zaretskii <eliz@gnu.org>
13388
13389 * isearch.el (isearch-message-prefix): Run the input method part
13390 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
13391
13392 2011-12-02 Juri Linkov <juri@jurta.org>
13393
13394 * isearch.el (isearch-occur): Use `word-search-regexp' for
13395 `isearch-word'.
13396 (isearch-search-and-update): Add condition for `isearch-word' and
13397 call `word-search-regexp'. (Bug#10145)
13398
13399 2011-12-01 Glenn Morris <rgm@gnu.org>
13400
13401 * eshell/em-hist.el (eshell-hist-initialize):
13402 Handle eshell-history-size nil and HISTSIZE set or unset.
13403 (eshell-history-file-name, eshell-history-size): Fix custom type.
13404
13405 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
13406
13407 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
13408
13409 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
13410
13411 * progmodes/verilog-mode.el (verilog-pretty-expr):
13412 Rework verilog-pretty-expr to handle new assignment operators in system
13413 verilog, such as += *= and the like.
13414 (verilog-assignment-operator-re): Regular expression to find the
13415 assigment operator in a verilog assignment.
13416 (verilog-assignment-operation-re): Regular expression to find an
13417 assignment statement for pretty-expr.
13418 (verilog-in-attribute-p): Query returns true if point is in an
13419 attribute context; used to skip these for expression line up from
13420 pretty-expr.
13421 (verilog-in-parameter-p): Query returns true if point is in an
13422 parameter definition context; used to skip these for expression
13423 line up from pretty-expr.
13424 (verilog-in-parenthesis-p): Query returns true if point is in a
13425 parenthetical expression, specifically ( ) but not [ ] or { };
13426 used by pretty-expr.
13427 (verilog-just-one-space): If there is no space, don't add one.
13428 (verilog-get-lineup-indent-2): Specifically skip just attribute
13429 contexts for expression lineup, rather than skipping all
13430 parenthetical expressions.
13431 (verilog-calculate-indent): Fix comment, and fix indent.
13432 (verilog-do-indent): Indent declarations in lists (suggested by
13433 Joachim Lechner).
13434 (verilog-mode-abbrev-table): Populate abbrev mode with the various
13435 skeleton items.
13436 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
13437 by Alain Mellan).
13438
13439 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
13440
13441 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
13442 parameters with embedded comments. Reported by Ray Stevens.
13443 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
13444 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
13445 Reported by Tim Holt.
13446 (verilog-auto): Fix AUTOing a upper module then AUTOing module
13447 instantiated by upper module causing wrong expansion until AUTOed a
13448 second time. Reported by K C Buckenmaier.
13449 (verilog-diff-auto): Fix showing .* as a difference when
13450 `verilog-auto-star-save' off. Reported by Dan Dever.
13451 (verilog-auto-reset, verilog-read-always-signals)
13452 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
13453 temporary signals in reset list if
13454 verilog-auto-reset-blocking-in-non is nil, and match assignment
13455 style to each signal's assignment type, bug381.
13456 Reported by Thomas Esposito.
13457 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
13458 (verilog-uvm-statement-re): Support UVM indentation and
13459 highlighting, with old OVM keywords only.
13460 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
13461 Support AUTOTIEOFF creating non-wire data types.
13462 Suggested by Jonathan Greenlaw.
13463 (verilog-auto-insert-lisp, verilog-delete-to-paren)
13464 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
13465 (verilog-inject-sense, verilog-read-inst-pins)
13466 (verilog-read-sub-decls, verilog-read-sub-decls-line):
13467 Fix mismatching parenthesis inside commented out code when deleting
13468 AUTOINST, bug383. Reported by Jonathan Greenlaw.
13469 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
13470 non-numeric vector width. Reported by Alex Reed.
13471 (verilog-auto-ascii-enum): Add "onehot" option to work around not
13472 detecting signals with parameter widths. Reported by Alex Reed.
13473 (verilog-auto-delete-trailing-whitespace):
13474 With `verilog-auto-delete-trailing-whitespace' remove trailing
13475 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
13476 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
13477 Fix verilog-scan-cache corruption when running user AUTO expansion
13478 hooks that call indentation routines.
13479 (verilog-simplify-range-expression): Fix typo ignoring lower case
13480 identifiers.
13481 (verilog-delete-auto): Fix delete-autos to also remove user created
13482 automatics, as long as they start with AUTO.
13483 (verilog-batch-diff-auto, verilog-diff-auto)
13484 (verilog-diff-function): Add `verilog-diff-auto' and bind to
13485 "C-c?" to report differences in AUTO expansion, ignoring spaces.
13486 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
13487 (verilog-in-paren-quick, verilog-re-search-backward-quick)
13488 (verilog-re-search-forward-quick, verilog-syntax-ppss):
13489 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
13490 is disabled and its cache will get corrupt, causing AUTOS not to
13491 expand. Instead use only -quick functions.
13492 (verilog-scan-region): Fix scanning over escaped quotes.
13493 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
13494 (verilog-re-search-backward-quick)
13495 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
13496 related functions now ignore strings, to fix misparsing of strings
13497 with magic comments embedded in them.
13498 (verilog-read-auto-template):
13499 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
13500 Reported by Brad Dobbie.
13501 (verilog-read-auto-template):
13502 Fix 'verilog-auto-inst-template-numbers' with comments.
13503 Reported by Brad Dobbie.
13504 (verilog-auto-inst, verilog-auto-inst-param)
13505 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
13506 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
13507 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
13508 debugging templates without merge conflicts, bug357.
13509 Reported by Brad Dobbie.
13510 (verilog-read-auto-template):
13511 Fix verilog-auto-inst-template-numbers with multiple templates.
13512 Reported by Brad Dobbie.
13513 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
13514 abbrevs so user won't be asked to save.
13515 (verilog-read-auto-lisp-present): Fix to start at beginning of
13516 buffer in case called outside of verilog-auto.
13517 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
13518 to "X-2". Reported by Matthew Myers.
13519 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
13520 all inputs from module templates. Reported by Leith Johnson.
13521 (verilog-module-inside-filename-p): Fix locating programs as with
13522 modules.
13523 (verilog-auto-inst-port): Fix vl-width expressions when using
13524 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
13525 (verilog-decls-get-regs, verilog-decls-get-signals,
13526 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
13527 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
13528 verilog-read-decls): Combine reg and wire structures into one var
13529 structure to represent SystemVerilog concepts.
13530 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
13531 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
13532 (verilog-auto-wire-type, verilog-insert-definition):
13533 Add verilog-auto-wire-type and AUTOLOGIC to support using
13534 SystemVerilog "logic" keyword instead of "wire"/"reg".
13535 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
13536 to declares outputs that also have assignments (presumably in an
13537 ifdef or generate if so there's not a driver conflict).
13538 Reported by Matthew Myers.
13539 (verilog-auto-declare-nettype, verilog-insert-definition):
13540 Add verilog-auto-declare-nettype to fix declarations using
13541 `default_nettype none. Reported by Julian Gorfajn.
13542 (verilog-read-always-signals-recurse, verilog-read-decls)
13543 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
13544 malformed end statement, bug325. Reported by Joshua Wise and
13545 Andrew Drake.
13546 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
13547 (verilog-inst-comment-re): Fix not deleting Interfaced comment
13548 when expanding .* in interfaces, bug320.
13549 Reported by Pierre-David Pfister.
13550 (verilog-read-module-name): Fix import statements between module
13551 name and open parenthesis, bug317.
13552 Reported by Pierre-David Pfister.
13553 (verilog-simplify-range-expression): Fix simplification of
13554 multiplications inside AUTOWIRE connections, bug303.
13555 (verilog-auto-inst-port): Support parameter expansion in
13556 multidimensional arrays.
13557 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
13558 after "assert property". Reported by Julian Gorfajn.
13559 (verilog-simplify-range-expression): Fix "couldn't merge" errors
13560 with multiplication, bug303.
13561 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
13562 Reported by Jan Frode Lonnum.
13563
13564 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
13565
13566 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
13567 (hfy-shell-file-name, hfy-shell):
13568 * international/fontset.el (x-decompose-font-name): Fix typos.
13569
13570 2011-11-29 Ken Brown <kbrown@cornell.edu>
13571
13572 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
13573 (gdb-version): Remove defvar.
13574 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
13575 (gdb-gud-context-command, gdb-non-stop-handler)
13576 (gdb-current-context-command, gdb-stopped): Use it.
13577 (gdb-init-1): Enable pretty printing here.
13578 (gdb-non-stop-handler): Don't enable pretty-printing here.
13579 Check to see if the target supports non-stop mode; if not, turn off
13580 non-stop mode. Use the following.
13581 (gdb-check-target-async): New defun.
13582 (gud-watch, gdb-stopped): Fix whitespace.
13583 (gdb-get-source-file): Don't try to display the source file if
13584 `gdb-main-file' is nil.
13585
13586 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
13587
13588 * align.el: Try to generate fewer markers (bug#10047).
13589 (align--set-marker): New macro.
13590 (align-region): Use it.
13591
13592 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
13593
13594 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
13595
13596 2011-11-29 Chong Yidong <cyd@gnu.org>
13597
13598 * indent.el (indent-for-tab-command, indent-according-to-mode):
13599 Doc fix.
13600 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
13601
13602 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
13603
13604 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
13605 aware of remote file names. (Bug#10124)
13606
13607 2011-11-29 Chong Yidong <cyd@gnu.org>
13608
13609 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
13610
13611 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
13612
13613 * files.el (find-file): Don't use force-same-window (bug#10144).
13614 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
13615 use pop-to-buffer if the selected window can't be used.
13616 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
13617
13618 2011-11-28 Eli Zaretskii <eliz@gnu.org>
13619
13620 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
13621 special-mode-map.
13622
13623 2011-11-28 Chong Yidong <cyd@gnu.org>
13624
13625 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
13626
13627 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
13628
13629 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
13630 gdb-get-source-file-list on gdb-create-source-file-list.
13631
13632 2011-11-26 Eli Zaretskii <eliz@gnu.org>
13633
13634 * whitespace.el (whitespace-newline): Use a different foreground
13635 color for 16-color light-background displays.
13636
13637 2011-11-24 Chong Yidong <cyd@gnu.org>
13638
13639 * window.el (display-buffer--special-action): Doc fix.
13640
13641 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
13642
13643 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
13644 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
13645 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
13646 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
13647 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
13648 (avl-tree-stack-first):
13649 * emacs-lisp/cconv.el (cconv--analyse-use):
13650 * net/gnutls.el (gnutls-negotiate): Fix typos.
13651
13652 2011-11-24 Glenn Morris <rgm@gnu.org>
13653
13654 * lpr.el (lpr-windows-system, lpr-lp-system):
13655 * mail/binhex.el (binhex-begin-line):
13656 * progmodes/grep.el (grep-history, grep-find-history):
13657 * textmodes/flyspell.el:
13658 * vc/pcvs-defs.el (cvs-global-menu):
13659 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
13660 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
13661 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
13662
13663 * net/tls.el: Fix case of "GnuTLS".
13664
13665 * paths.el (rmail-file-name): Format doc-string for make-docfile.
13666
13667 * version.el (emacs-build-system): Give it a doc-string.
13668
13669 2011-11-24 Juri Linkov <juri@jurta.org>
13670
13671 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
13672
13673 2011-11-24 Glenn Morris <rgm@gnu.org>
13674
13675 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
13676 if called on a non-mime message just toggle the headers. (Bug#8006)
13677
13678 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
13679
13680 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
13681 (allout-lead-with-comment-string, allout-structure-deleted-hook)
13682 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
13683 (allout-rebullet-heading, allout-open-sibtopic)
13684 (allout-toggle-current-subtree-encryption)
13685 (allout-toggle-subtree-encryption, allout-encrypt-string)
13686 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
13687 (allout-distinctive-bullets-string, allout-auto-activation):
13688 * window.el (window-normalize-buffer-to-display):
13689 * progmodes/verilog-mode.el (verilog-batch-indent):
13690 * textmodes/bibtex.el (bibtex-field-braces-opt)
13691 (bibtex-field-strings-opt):
13692 * vc/cvs-status.el (cvs-tree-merge):
13693 Fix typos.
13694
13695 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
13696
13697 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
13698 `non-essential' to t, in order to avoid remote connections.
13699
13700 2011-11-23 Eli Zaretskii <eliz@gnu.org>
13701
13702 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13703 On MS-DOS and MS-Windows, compare with loaddefs.el
13704 case-insensitively.
13705
13706 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
13707
13708 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
13709
13710 2011-11-23 Glenn Morris <rgm@gnu.org>
13711
13712 * paths.el (rmail-file-name): Reformat the doc-string so that it
13713 is picked up.
13714
13715 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
13716 (rmail-auto-file): Ignore case in the "special" field names,
13717 as mail-fetch-field does for all others.
13718
13719 * mail/rmail.el (rmail-forward):
13720 * mail/rmailkwd.el (rmail-set-label):
13721 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
13722 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
13723
13724 * mail/rmail.el (rmail-current-message): Doc fix.
13725
13726 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
13727
13728 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
13729
13730 * server.el (server-eval-and-print): Allow C-g (bug#6585).
13731
13732 2011-11-22 Glenn Morris <rgm@gnu.org>
13733
13734 * mail/rmailmm.el (test-rmail-mime-handler)
13735 (test-rmail-mime-bulk-handler)
13736 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
13737
13738 2011-11-21 Juri Linkov <juri@jurta.org>
13739
13740 * calc/calc.el (calc-read-key-sequence):
13741 Let-bind `input-method-function' to nil. (Bug#10018)
13742
13743 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13744
13745 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
13746 Tell the caller that the next line needs recomputation, even
13747 though it doesn't start a sexp (bug#10094).
13748
13749 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
13750
13751 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
13752
13753 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
13754
13755 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
13756 Use force-same-window.
13757
13758 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
13759
13760 * descr-text.el (describe-char-unicode-data):
13761 * json.el (json-string-escape):
13762 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
13763 (Footnote-unicode, Footnote-style-p):
13764 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
13765
13766 2011-11-20 Chong Yidong <cyd@gnu.org>
13767
13768 * window.el (replace-buffer-in-windows): Restore interactive spec.
13769
13770 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
13771
13772 * electric.el (electric-indent-mode): Fix last change (too optimistic).
13773
13774 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
13775 (byte-compile-global-not-obsolete-vars): New var.
13776 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
13777 Use it.
13778 (byte-compile-warn-obsolete): Align text with the one in *Help*.
13779
13780 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
13781
13782 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
13783 * progmodes/pascal.el (electric-pascal-equal):
13784 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
13785 * xml.el (xml-substitute-special): Fix typos.
13786
13787 2011-11-20 Glenn Morris <rgm@gnu.org>
13788
13789 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
13790 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
13791 Doc fixes.
13792 (rmail-decode-mime-charset): Mark as obsolete.
13793
13794 * mail/rmailsum.el (rmail-message-regexp-p-1):
13795 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
13796 Before using mime functions, check they are set. (Bug#10077)
13797
13798 2011-11-19 Juri Linkov <juri@jurta.org>
13799
13800 * info.el (Info-finder-find-node): Use `package--builtins' instead
13801 of `package-alist'. Use node names formed by the pattern "Keyword "
13802 and the keyword name.
13803
13804 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
13805
13806 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
13807
13808 2011-11-19 Juri Linkov <juri@jurta.org>
13809
13810 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
13811 that calls `revert-buffer' on all Info buffers. (Bug#9915)
13812 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
13813 `old-history', `old-history-forward'. Add let-binding
13814 `window-selected'. Remove calls to `kill-buffer',
13815 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
13816 before calling `Info-find-node', so `Info-find-node-2' will reread
13817 the Info file. Restore window positions only when `window-selected'
13818 is non-nil.
13819
13820 2011-11-19 Juri Linkov <juri@jurta.org>
13821
13822 * isearch.el (isearch-lazy-highlight-new-loop):
13823 Remove condition `(not isearch-error)'. (Bug#9918)
13824
13825 * misearch.el (multi-isearch-search-fun): Add condition
13826 `(not bound)' to ignore lazy-highlighting search.
13827 Add the search-failed message "end of multi" when the end of
13828 multi-sequence is reached. Uncapitalize the search-failed
13829 message "Repeat for next buffer".
13830
13831 * info.el (Info-search): Add the search-failed message
13832 "end of the manual" when the end of the manual is reached
13833 in Isearch mode.
13834
13835 2011-11-19 Juri Linkov <juri@jurta.org>
13836
13837 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
13838 Use non-destructive `remove' instead of `delete' because
13839 `Info-history-list' stored to `Info-isearch-initial-history-list' in
13840 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
13841
13842 2011-11-19 Juri Linkov <juri@jurta.org>
13843
13844 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
13845 to nil instead of binding `search-ring' and `regexp-search-ring'.
13846 (Bug#9185)
13847
13848 2011-11-19 Eli Zaretskii <eliz@gnu.org>
13849
13850 * simple.el (line-move): Force movement by logical lines for any
13851 hscrolled window, not only when auto-hscroll-mode is on.
13852 (line-move-visual): Update doc string to that effect. (Bug#10076)
13853
13854 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
13855
13856 * language/european.el (macintosh): Define as alias for mac-roman.
13857
13858 2011-11-19 Eli Zaretskii <eliz@gnu.org>
13859
13860 * mail/rmailmm.el (rmail-mime-display-header)
13861 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
13862 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
13863 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
13864 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
13865 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
13866 of a raw aref.
13867 (rmail-mime-entity-segment): To get past the tagline, move forward
13868 2 more lines, to account for the 2 empty lines that precede and
13869 follow the line with the buttons.
13870 (rmail-mime-update-tagline): Move one more line, to get past the
13871 empty line that follows the buttons in the tagline. (Bug#9520)
13872
13873 2011-11-19 Martin Rudalics <rudalics@gmx.at>
13874
13875 * window.el (window-max-delta-1, window-min-delta-1)
13876 (window-min-size-1, window-state-get-1, window-state-put-1)
13877 (window-state-put-2): Use "window--" prefix.
13878
13879 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
13880
13881 * emacs-lisp/smie.el: Improve warnings and conflict detection.
13882 (smie-warning-count): New var.
13883 (smie-set-prec2tab): Use it.
13884 (smie-bnf->prec2): Improve warnings. Add docstring.
13885 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
13886 (smie-bnf--set-class): New function.
13887 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
13888 corner case.
13889
13890 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
13891 (compilation-error-properties, compilation-move-to-column):
13892 Handle compilation-first-column while in the target buffer.
13893
13894 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
13895 Don't hardcode point-min==1.
13896
13897 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
13898 (eshell-rewrite-for-command): Remove workaround.
13899 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
13900 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
13901 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
13902
13903 * files-x.el (modify-file-local-variable): Obey commenting conventions.
13904
13905 2011-11-17 Glenn Morris <rgm@gnu.org>
13906
13907 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13908 Ignore buffer-local generated-autoload-file if it is the same
13909 as the global value. (Bug#10049)
13910
13911 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
13912
13913 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
13914 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
13915 (reftex-toc-previous-heading, reftex-toc-max-level)
13916 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
13917 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
13918 (reftex-toc-do-promote, reftex-toc-promote-prepare)
13919 (reftex-toc-promote-action, reftex-toc-extract-section-number)
13920 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
13921 (reftex-toc-rename-label, reftex-toc-visit-location)
13922 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
13923 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
13924 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
13925 leaving "*toc*" only for references to the buffer.
13926
13927 2011-11-17 Martin Rudalics <rudalics@gmx.at>
13928
13929 * window.el (window-resize, delete-window, split-window):
13930 Replace window-splits by window-combination-resize.
13931 * cus-start.el (window-splits): Replace by window-combination-resize.
13932
13933 2011-11-17 Glenn Morris <rgm@gnu.org>
13934
13935 * progmodes/sh-script.el (sh-font-lock-keywords-var):
13936 Make bash entry derive from sh entry, not shell entry.
13937
13938 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
13939
13940 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
13941 local file name.
13942
13943 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
13944
13945 * menu-bar.el (menu-bar-file-menu):
13946 * printing.el (pr-ps-utility):
13947 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
13948 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
13949 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
13950 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
13951 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
13952 (icalendar--convert-cyclic-to-ical)
13953 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
13954 (icalendar--convert-ical-to-diary)
13955 (icalendar--convert-recurring-to-diary)
13956 (icalendar--convert-non-recurring-all-day-to-diary)
13957 (icalendar-import-format-sample):
13958 * progmodes/idlw-shell.el (idlwave-shell-mode):
13959 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
13960 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
13961 (vhdl-ps-print-init): Fix typos.
13962
13963 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
13964
13965 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
13966 FSF and collapse date sequence, obscure author/maintainer email address
13967 better, remove extra version line, track relocation of author's webpage.
13968
13969 * progmodes/python.el (python-pdbtrack-input-prompt)
13970 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
13971 regular python pdb prompts. Adjustments shamelessly taken exactly as
13972 suggested in EmacsWiki page (tiny change):
13973 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
13974
13975 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
13976
13977 * expand.el (expand-pos, expand-index, expand-point):
13978 Remove redundant info from docstring.
13979 (expand-add-abbrevs): Doc fix.
13980 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
13981 (expand-sample-perl-mode-expand-list): Fix typos.
13982
13983 * net/dbus.el (dbus-event-member-name):
13984 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
13985 * term/pc-win.el (msdos-create-frame-with-faces):
13986 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
13987
13988 2011-11-16 Martin Rudalics <rudalics@gmx.at>
13989
13990 * window.el (split-window, window-state-get-1)
13991 (window-state-put-1, window-state-put-2): Rename occurrences of
13992 window-nest to window-combination-limit.
13993 * cus-start.el (window-nest): Rename to window-combination-limit.
13994
13995 2011-11-16 Chong Yidong <cyd@gnu.org>
13996
13997 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
13998 regexp (Bug#10033).
13999
14000 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
14001
14002 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
14003 `completing-read' will remove *Completions* and will preserve
14004 current-buffer for us.
14005 (tmm-add-prompt): Users of *Completions* will always (re)set its
14006 major mode.
14007 (tmm-old-comp-map): Remove.
14008
14009 2011-11-16 Glenn Morris <rgm@gnu.org>
14010
14011 * mail/rmailedit.el: Require rmailmm when compiling.
14012 (rmail-old-mime-state): New declaration.
14013 (rmail-edit-current-message): If editing a mime message,
14014 edit the "raw" message from the mbox buffer.
14015 (rmail-cease-edit): Handle mime messages. (Bug#9840)
14016
14017 2011-11-15 Glenn Morris <rgm@gnu.org>
14018
14019 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
14020 which wasn't being used. Add optional arg to force given state.
14021 (rmail-mime): Add optional arg to force given state.
14022
14023 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
14024
14025 * allout.el (allout-encryption-plaintext-sanitization-regexps):
14026 * frame.el (display-mm-dimensions-alist):
14027 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
14028 (outline-move-subtree-down):
14029 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
14030 (newsticker--treeview-do-get-node):
14031 * net/quickurl.el (quickurl-list-buffer-name):
14032 * progmodes/dcl-mode.el (dcl-mode):
14033 * progmodes/gdb-mi.el (gdb-mapcar*):
14034 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
14035
14036 2011-11-15 Glenn Morris <rgm@gnu.org>
14037
14038 * mail/rmail.el (rmail-file-coding-system): It's only ever used
14039 in a boolean sense, so just make it a boolean, and fix the doc.
14040 (rmail-show-mime-function, rmail-mime-feature)
14041 (rmail-require-mime-maybe): Doc fixes.
14042 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
14043
14044 * mail/rmailmm.el (rmail-show-mime): Doc fix.
14045
14046 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
14047
14048 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
14049 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
14050 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
14051 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
14052
14053 2011-11-15 Glenn Morris <rgm@gnu.org>
14054
14055 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
14056 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
14057 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
14058 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
14059 (rmail-mime, rmail-show-mime): Doc fixes.
14060
14061 * term/ns-win.el (mode-line-frame-identification):
14062 Leave it alone. (Bug#10051)
14063
14064 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
14065
14066 * mail/rmailout.el (rmail-output-to-rmail-buffer):
14067 Handle empty buffers. (Bug#9978)
14068
14069 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
14070
14071 * international/mule.el (define-charset):
14072 * mail/rmailmm.el (rmail-mime-find-header-encoding):
14073 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
14074 * progmodes/verilog-mode.el (verilog-backward-token):
14075 * textmodes/ispell.el (lookup-words):
14076 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
14077
14078 2011-11-14 Glenn Morris <rgm@gnu.org>
14079
14080 * progmodes/executable.el
14081 (executable-make-buffer-file-executable-if-script-p):
14082 Handle file-modes returning nil.
14083
14084 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
14085 message - not necessary, and causes problems. (Bug#9831)
14086
14087 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
14088
14089 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
14090
14091 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
14092 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
14093 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
14094
14095 2011-11-12 Martin Rudalics <rudalics@gmx.at>
14096
14097 * window.el (window-resize, delete-window): Use window-splits
14098 variable instead of function.
14099 (window-state-get-1, window-state-put-2, window-state-put):
14100 Don't deal with windows' splits status.
14101
14102 2011-11-12 Glenn Morris <rgm@gnu.org>
14103
14104 * apropos.el (apropos-do-all, apropos-library, apropos-value)
14105 (apropos-documentation): Doc fixes.
14106
14107 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
14108
14109 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
14110 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
14111
14112 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
14113
14114 * electric.el (electric-indent-post-self-insert-function): Make it
14115 possible for a char to only indent in some circumstances.
14116 (electric-indent-mode): Simplify.
14117
14118 2011-11-11 Martin Rudalics <rudalics@gmx.at>
14119
14120 * window.el (windows-with-parameter): Remove unused function.
14121 (windows-at-side): Rename to window-at-side-list.
14122 (window-check, window-atom-check, window-atom-check-1)
14123 (window-side-check, window-size-ignore, window-size-fixed-1)
14124 (window-in-direction-2): Prefix with "window--".
14125 (window-tree-1): Rename to window--subtree, fix doc-string.
14126
14127 2011-11-11 Glenn Morris <rgm@gnu.org>
14128
14129 * subr.el (eval-after-load): If FILE is already loaded,
14130 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
14131
14132 2011-11-10 Glenn Morris <rgm@gnu.org>
14133
14134 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
14135 Call svn via vc-svn-command rather than vc-do-command.
14136 (vc-svn-command): Add --non-interactive. (Bug#9993)
14137 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
14138
14139 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14140 Add toggle-read-only. (Bug#7292)
14141 * files.el (toggle-read-only): Mention that it should only
14142 be used interactively. (Bug#10006)
14143
14144 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
14145
14146 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14147 Adjust regexp for OCaml warnings.
14148
14149 * electric.el (electric-pair-post-self-insert-function): Let user
14150 turn it off buffer-locally (bug#9932).
14151
14152 * progmodes/python.el (python-beginning-of-statement):
14153 Rewrite (bug#2703).
14154
14155 * progmodes/compile.el: Better handle TABs (bug#9749).
14156 (compilation-internal-error-properties)
14157 (compilation-next-error-function): Obey the target buffer's
14158 compilation-error-screen-columns.
14159
14160 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
14161
14162 * progmodes/meta-mode.el: Remove obsolete comments.
14163 (meta-right-comment-regexp, meta-ignore-comment-regexp):
14164 Fix typos in docstrings.
14165
14166 2011-11-09 Martin Rudalics <rudalics@gmx.at>
14167
14168 * window.el (window-size-fixed-p): Rewrite doc-string.
14169 (window-resizable-p): Rename to window--resizable-p. Update callers.
14170 (window--resizable): New function. Make all callers of
14171 window-resizable call window--resizable instead.
14172 (window-resizable): Rewrite in terms of window--resizable.
14173
14174 2011-11-08 Glenn Morris <rgm@gnu.org>
14175
14176 * progmodes/delphi.el (delphi-mode-syntax-table):
14177 Let define-derived-mode define a proper syntax table. (Bug#9994)
14178
14179 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
14180
14181 * window.el: Stay away from defsubst.
14182 (window-list-no-nils): Remove.
14183 (window-state-get-1, window-state-get): Use backquote instead.
14184
14185 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14186
14187 * emacs-lisp/find-func.el (find-function-read):
14188 Fix incorrect use of default argument in `completing-read'.
14189
14190 2011-11-08 Martin Rudalics <rudalics@gmx.at>
14191
14192 * window.el (display-buffer-function, special-display-function):
14193 Mention display-buffer-record-window but do not mention
14194 help-setup parameter in doc-strings.
14195 (window-min-delta): Fix doc-string typo.
14196
14197 2011-11-08 Chong Yidong <cyd@gnu.org>
14198
14199 * window.el (window-total-height, window-total-width): Doc fix.
14200 (window-body-size): Move from C.
14201 (window-body-height, window-body-width): Move to C.
14202
14203 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
14204
14205 * window.el: Make special-display like display-buffer-alist (bug#9532).
14206 (display-buffer--special-action): New function, morphed
14207 from display-buffer--special.
14208 (display-buffer): Use it to handle special-display-buffers at higher
14209 priority (just after display-buffer-alist).
14210 (display-buffer-fallback-action, display-buffer--other-frame-action)
14211 (pop-to-buffer-same-window): Remove display-buffer--special.
14212
14213 2011-11-07 Glenn Morris <rgm@gnu.org>
14214
14215 * calendar/cal-menu.el (cal-menu-set-date-title):
14216 Do nothing if not in a calendar. (Bug#9976)
14217
14218 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
14219
14220 * files.el (find-file): Always use selected-window.
14221
14222 2011-11-07 Martin Rudalics <rudalics@gmx.at>
14223
14224 * window.el (window-combinations): Make WINDOW argument
14225 mandatory. Rewrite doc-string.
14226 (walk-window-subtree, window-atom-check, window-min-delta)
14227 (window-max-delta, window--resize-this-window)
14228 (window--resize-root-window-vertically, window-tree)
14229 (balance-windows, window-state-put): Rewrite doc-strings as to
14230 not mention the term "subwindow".
14231 (window--resize-subwindows-skip-p): Rename to
14232 window--resize-child-windows-skip-p.
14233 (window--resize-subwindows-normal): Rename to
14234 window--resize-child-windows-normal.
14235 (window--resize-subwindows): Rename to
14236 window--resize-child-windows.
14237 (window-or-subwindow-p): Rename to window--in-subtree-p.
14238
14239 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
14240
14241 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
14242 Ensure that mbox format messages end in two newlines (Bug#9974).
14243
14244 2011-11-06 Chong Yidong <cyd@gnu.org>
14245
14246 * window.el (window-combination-p): Function deleted; its
14247 side-effect is not used in any existing code.
14248 (window-combinations, window-combined-p): Call window-*-child
14249 directly.
14250
14251 2011-11-05 Chong Yidong <cyd@gnu.org>
14252
14253 * window.el (window-valid-p): Rename from window-any-p.
14254 (window-size-ignore, window-state-get): Callers changed.
14255 (window-normalize-window): Rename from window-normalize-any-window.
14256 New arg LIVE-ONLY, replacing window-normalize-live-window.
14257 (window-normalize-live-window): Delete.
14258 (window-combination-p, window-combined-p, window-combinations)
14259 (walk-window-subtree, window-atom-root, window-min-size)
14260 (window-sizable, window-sizable-p, window-size-fixed-p)
14261 (window-min-delta, window-max-delta, window-resizable)
14262 (window-resizable-p, window-full-height-p, window-full-width-p)
14263 (window-current-scroll-bars, window-point-1, set-window-point-1)
14264 (window-at-side-p, window-in-direction, window-resize)
14265 (adjust-window-trailing-edge, maximize-window, minimize-window)
14266 (window-deletable-p, delete-window, delete-other-windows)
14267 (record-window-buffer, unrecord-window-buffer)
14268 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
14269 (quit-window, split-window, window-state-put)
14270 (set-window-text-height, fit-window-to-buffer)
14271 (shrink-window-if-larger-than-buffer): Callers changed.
14272
14273 2011-11-04 Eli Zaretskii <eliz@gnu.org>
14274
14275 * mail/rmail.el (rmail-simplified-subject): Decode subject with
14276 rfc2047-decode-string.
14277 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
14278 warnings.
14279
14280 * window.el (window-body-height, window-body-width): Mention in
14281 the doc string that the return values are in frame's canonical
14282 units. (Bug#9949)
14283
14284 2011-11-03 Alan Mackenzie <acm@muc.de>
14285
14286 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
14287 change in cc-engine.el.
14288
14289 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
14290
14291 * window.el (switch-to-buffer): Use `force-same-window' interactively.
14292
14293 2011-11-02 Martin Rudalics <rudalics@gmx.at>
14294
14295 * window.el (quit-window): Call unrecord-window-buffer after
14296 showing another buffer in the window. (Bug#9937)
14297 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
14298
14299 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
14300
14301 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
14302 Accept status with more than 9 shelves. (Bug#9935)
14303 Reported by Colin D Bennett <colin@gibibit.com>.
14304
14305 2011-11-01 Martin Rudalics <rudalics@gmx.at>
14306
14307 * help.el (with-help-window): Don't reference
14308 temp-buffer-show-specifiers in doc-string.
14309
14310 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
14311
14312 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
14313 menu-item.
14314
14315 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14316
14317 * whitespace.el: New version 13.2.2.
14318 (whitespace-newline-mode): Disable properly. Reported by Sarah
14319 <EmacsWiki>.
14320
14321 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
14322
14323 * net/newst-treeview.el: Remove "Time-stamp".
14324 (newsticker--group-manage-orphan-feeds): Do not call
14325 newsticker--treeview-tree-update.
14326 (newsticker-treeview-update, newsticker-treeview):
14327 Call newsticker--treeview-tree-update if necessary.
14328
14329 2011-10-30 Martin Rudalics <rudalics@gmx.at>
14330
14331 * window.el (window-iso-combination-p, window-iso-combined-p)
14332 (window-iso-combinations): Remove "iso-" infix.
14333 Suggested by Chong Yidong.
14334 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
14335 (window-max-delta-1, window-resize, window--resize-siblings)
14336 (window--resize-this-window, adjust-window-trailing-edge)
14337 (split-window, balance-windows-1)
14338 (shrink-window-if-larger-than-buffer):
14339 * calendar/calendar.el (calendar-generate-window):
14340 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
14341
14342 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
14343
14344 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
14345 in place (bug#9907).
14346 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
14347 (eshell-rewrite-if-command, eshell-rewrite-for-command)
14348 (eshell-structure-basic-command, eshell-rewrite-while-command)
14349 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
14350 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
14351 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
14352 (eshell-do-pipelines-synchronously, eshell-eval-command):
14353 Use backquotes and prefer setq to set.
14354 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
14355 (eshell-macrop): Use functionp.
14356 (eshell-do-eval): Handle multiple expressions in `while' body.
14357
14358 2011-10-30 Chong Yidong <cyd@gnu.org>
14359
14360 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
14361 instead of set-mark (Bug#9810).
14362
14363 2011-10-30 Chong Yidong <cyd@gnu.org>
14364
14365 * window.el (split-window-below, split-window-right): Rename from
14366 split-window-above-each-other and split-window-side-by-side
14367 respectively. All callers changed.
14368 (split-window-sensibly, split-window-sensibly): Use them.
14369 (split-window-keep-point): Doc fix.
14370
14371 * isearch.el: Add isearch-scroll property to split-window-below
14372 and split-window-right.
14373
14374 * follow.el (follow-mode):
14375 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
14376 * progmodes/ada-xref.el (ada-gdb-application):
14377 * emulation/vip.el (vip-buffer-in-two-windows):
14378 * image-dired.el (image-dired-dired-with-window-configuration):
14379 * dired-x.el (dired-do-find-marked-files):
14380 * dired.el (dired-pop-to-buffer):
14381 * bs.el (bs--show-with-configuration):
14382 * vc/emerge.el (emerge-setup-windows):
14383 * textmodes/two-column.el (2C-two-columns):
14384 * textmodes/reftex-toc.el (reftex-toc):
14385 * progmodes/gdb-mi.el (gdb-setup-windows):
14386 * progmodes/fortran.el (fortran-window-create):
14387 * net/newst-treeview.el (newsticker--treeview-window-init):
14388 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
14389 * emulation/tpu-edt.el (tpu-gold-map):
14390 * emulation/crisp.el (crisp-mode-map):
14391 * calendar/calendar.el (calendar-basic-setup): Callers changed.
14392
14393 2011-10-29 Chong Yidong <cyd@gnu.org>
14394
14395 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
14396
14397 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
14398
14399 * textmodes/flyspell.el (flyspell-word): Fix char offset for
14400 forged Ispell output (Bug#7904).
14401
14402 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
14403
14404 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14405
14406 * doc-view.el: Avoid ugly errors about not finding nil.
14407 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
14408 (doc-view-dvipdf-program, doc-view-unoconv-program)
14409 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
14410 Avoid nil or absolute file name as default value.
14411 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
14412
14413 2011-10-28 Alan Mackenzie <acm@muc.de>
14414
14415 * progmodes/cc-defs.el (c-version): -> 5.32.2.
14416
14417 2011-10-28 Alan Mackenzie <acm@muc.de>
14418
14419 Amend the handling of c-beginning/end-of-defun in nested declaration
14420 scopes.
14421
14422 * progmodes/cc-vars.el (c-defun-tactic): Move here from
14423 cc-langs.el. Change it to a defcustom.
14424
14425 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
14426 cc-vars.el.
14427
14428 * progmodes/cc-engine.el (c-beginning-of-statement-1):
14429 Prevent "class foo : bar" being spuriously recognized as a label.
14430
14431 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
14432 Add parameter `inclusive' (to include enclosing braces in the region).
14433 (c-widen-to-enclosing-decl-scope): New function.
14434 (c-while-widening-to-decl-block): New macro.
14435 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
14436 outward for defun boundaries, and correspondingly change symbol
14437 `respect-enclosure' to `go-outward'.
14438 (c-declaration-limits): Change algorithm to report only the "innermost"
14439 defun's boundaries.
14440
14441 2011-10-28 Deniz Dogan <deniz@dogan.se>
14442
14443 * net/rcirc.el (rcirc-mode): Use hard newlines.
14444
14445 2011-10-28 Alan Mackenzie <acm@muc.de>
14446
14447 Amend to indent and fontify macros "which include their own semicolon"
14448 correctly, using the "virtual semicolon" mechanism.
14449
14450 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
14451
14452 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
14453 Recode to scan one line at a time rather than having \n and \r
14454 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
14455 (c-forward-label): Amend for virtual semicolons.
14456 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
14457
14458 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
14459 of the new C macros.
14460
14461 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
14462 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
14463 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
14464 (c-opt-cpp-macro-define): Make into a full language variable.
14465 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
14466 AWK Mode (including \n, \r) removed, no longer needed.
14467
14468 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
14469 Invoke c-make-macro-with-semi-re.
14470
14471 * progmodes/cc-vars.el (c-macro-with-semi-re):
14472 (c-macro-names-with-semicolon): New variables.
14473 (c-make-macro-with-semi-re): New function.
14474
14475 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14476
14477 * vc/log-edit.el: Fill empty field rather than adding new one.
14478 (log-edit-add-field): New function.
14479 (log-edit-insert-changelog): Use it.
14480
14481 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
14482
14483 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
14484
14485 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14486
14487 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
14488 (gdb--check-interpreter): New function.
14489 (gdb): Use it.
14490
14491 2011-10-27 Glenn Morris <rgm@gnu.org>
14492
14493 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
14494 (least-positive-float, least-negative-float)
14495 (least-positive-normalized-float, least-negative-normalized-float)
14496 (float-epsilon, float-negative-epsilon):
14497 Remove unnecessary declarations.
14498
14499 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
14500 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
14501 (least-positive-float, least-negative-float)
14502 (least-positive-normalized-float, least-negative-normalized-float)
14503 (float-epsilon, float-negative-epsilon): Add doc-strings,
14504 based on those in cl.texi.
14505
14506 * files.el (set-visited-file-name): If the major-mode changed,
14507 reload the local variables. (Bug#9796)
14508
14509 2011-10-27 Chong Yidong <cyd@gnu.org>
14510
14511 * subr.el (change-major-mode-after-body-hook): New hook.
14512 (run-mode-hooks): Run it.
14513
14514 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14515 Use change-major-mode-before-body-hook.
14516
14517 * simple.el (fundamental-mode):
14518 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
14519 change introducing fundamental-mode-hook.
14520
14521 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
14522
14523 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
14524
14525 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
14526
14527 * ido.el (ido-file-name-all-completions-1): Do not require
14528 tramp.el explicitly. (Bug#7583)
14529
14530 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
14531
14532 * progmodes/octave-mod.el:
14533 * progmodes/octave-inf.el: Update maintainer.
14534
14535 2011-10-26 Chong Yidong <cyd@gnu.org>
14536
14537 * subr.el (with-wrapper-hook): Rewrite doc.
14538
14539 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
14540
14541 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
14542 filenames "/method:foo:". (Bug#9793)
14543
14544 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
14545
14546 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
14547 (bug#9865).
14548
14549 2011-10-24 Glenn Morris <rgm@gnu.org>
14550
14551 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
14552
14553 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
14554
14555 * notifications.el: Add the requirement of a running D-Bus session
14556 bus to the Commentary.
14557
14558 2011-10-24 Juri Linkov <juri@jurta.org>
14559
14560 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
14561 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
14562 (Bug#9364)
14563
14564 2011-10-24 Juri Linkov <juri@jurta.org>
14565
14566 * info.el (Info-following-node-name-re): Add newline to the list
14567 of allowed characters for leading space. (Bug#9824)
14568
14569 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
14570
14571 * progmodes/octave-inf.el (inferior-octave-mode-map):
14572 Fix C-c C-h binding.
14573 * progmodes/octave-mod.el (octave-help): Remove.
14574
14575 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
14576
14577 Sync with Tramp 2.2.3.
14578
14579 * net/tramp-cache.el (top): Pacify byte-compiler using
14580 `init-file-user' and `site-run-file'.
14581
14582 * net/trampver.el: Update release number.
14583
14584 2011-10-23 Chong Yidong <cyd@gnu.org>
14585
14586 * files.el (toggle-read-only): Remove obsolete comment about
14587 version control.
14588
14589 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
14590 for toggle-read-only. Note that this hasn't called vc-next-action
14591 since 2008-05-02, though it wasn't documented at the time.
14592
14593 * vc/ediff-init.el (ediff-toggle-read-only-function):
14594 Use toggle-read-only.
14595
14596 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
14597
14598 Fix bug #9560, sporadic wrong indentation; improve instrumentation
14599 of c-parse-state.
14600
14601 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
14602 correct faulty logical expression.
14603 (c-parse-state-state, c-record-parse-state-state):
14604 (c-replay-parse-state-state): New defvar/defuns.
14605 (c-debug-parse-state): Use new functions.
14606
14607 2011-10-22 Martin Rudalics <rudalics@gmx.at>
14608
14609 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
14610 last fix. Use window-in-direction correctly.
14611
14612 2011-10-21 Chong Yidong <cyd@gnu.org>
14613
14614 * progmodes/idlwave.el (idlwave-mode):
14615 * progmodes/vera-mode.el (vera-mode): No need to set
14616 require-final-newline; that's done in prog-mode.
14617 Suggested by Stefan Monnier.
14618
14619 2011-10-21 Martin Rudalics <rudalics@gmx.at>
14620
14621 * mouse.el (mouse-drag-window-above)
14622 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
14623 (mouse-drag-mode-line-1, mouse-drag-header-line)
14624 (mouse-drag-vertical-line-rightward-window): Remove.
14625 (mouse-drag-line): New function.
14626 (mouse-drag-mode-line, mouse-drag-header-line)
14627 (mouse-drag-vertical-line): Call mouse-drag-line.
14628 * window.el (window-at-side-p, windows-at-side): New functions.
14629
14630 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
14631
14632 * tar-mode.el (tar-grind-file-mode):
14633 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
14634
14635 2011-10-21 Chong Yidong <cyd@gnu.org>
14636
14637 * progmodes/idlwave.el (idlwave-mode):
14638 * progmodes/vera-mode.el (vera-mode):
14639 Use mode-require-final-newline.
14640
14641 2011-10-20 Glenn Morris <rgm@gnu.org>
14642
14643 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
14644
14645 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
14646
14647 * emulation/cua-base.el (cua-set-mark): Fix case of string.
14648
14649 2011-10-20 Chong Yidong <cyd@gnu.org>
14650
14651 * emulation/cua-base.el (cua-mode):
14652 * mail/footnote.el (footnote-mode):
14653 * mail/mailabbrev.el (mail-abbrevs-mode):
14654 * net/xesam.el (xesam-minor-mode):
14655 * progmodes/bug-reference.el (bug-reference-mode):
14656 * progmodes/cap-words.el (capitalized-words-mode):
14657 * progmodes/compile.el (compilation-minor-mode)
14658 (compilation-shell-minor-mode):
14659 * progmodes/gud.el (gud-tooltip-mode):
14660 * progmodes/hideif.el (hide-ifdef-mode):
14661 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
14662 * progmodes/subword.el (subword-mode):
14663 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
14664 * progmodes/which-func.el (which-function-mode):
14665 * term/tvi970.el (tvi970-set-keypad-mode):
14666 * term/vt100.el (vt100-wide-mode):
14667 * textmodes/flyspell.el (flyspell-mode):
14668 * textmodes/ispell.el (ispell-minor-mode):
14669 * textmodes/nroff-mode.el (nroff-electric-mode):
14670 * textmodes/paragraphs.el (use-hard-newlines):
14671 * textmodes/refill.el (refill-mode):
14672 * textmodes/reftex.el (reftex-mode):
14673 * textmodes/rst.el (rst-minor-mode):
14674 * textmodes/sgml-mode.el (html-autoview-mode)
14675 (sgml-electric-tag-pair-mode):
14676 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
14677 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
14678 * emulation/crisp.el (crisp-mode):
14679 * emacs-lisp/eldoc.el (eldoc-mode):
14680 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
14681 minor mode behavior.
14682
14683 2011-10-19 Juri Linkov <juri@jurta.org>
14684
14685 * descr-text.el (describe-char): Add #x2010 and #x2011 to
14686 the list of hard-coded chars with escape-glyph face.
14687
14688 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
14689
14690 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
14691
14692 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
14693
14694 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
14695 running process.
14696
14697 2011-10-19 Glenn Morris <rgm@gnu.org>
14698
14699 * vc/vc-bzr.el (vc-bzr-after-dir-status):
14700 Ignore ignored files. (Bug#9726)
14701
14702 2011-10-19 Chong Yidong <cyd@gnu.org>
14703
14704 Doc fix for minor modes, stating that an omitted argument enables
14705 the mode unconditionally when called from Lisp.
14706
14707 * abbrev.el (abbrev-mode):
14708 * allout.el (allout-mode):
14709 * autoinsert.el (auto-insert-mode):
14710 * autoarg.el (autoarg-mode, autoarg-kp-mode):
14711 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
14712 (global-auto-revert-mode):
14713 * battery.el (display-battery-mode):
14714 * composite.el (global-auto-composition-mode)
14715 (auto-composition-mode):
14716 * delsel.el (delete-selection-mode):
14717 * desktop.el (desktop-save-mode):
14718 * dired-x.el (dired-omit-mode):
14719 * dirtrack.el (dirtrack-mode):
14720 * doc-view.el (doc-view-minor-mode):
14721 * double.el (double-mode):
14722 * electric.el (electric-indent-mode, electric-pair-mode):
14723 * emacs-lock.el (emacs-lock-mode):
14724 * epa-hook.el (auto-encryption-mode):
14725 * follow.el (follow-mode):
14726 * font-core.el (font-lock-mode):
14727 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
14728 * help.el (temp-buffer-resize-mode):
14729 * hilit-chg.el (highlight-changes-mode)
14730 (highlight-changes-visible-mode):
14731 * hi-lock.el (hi-lock-mode):
14732 * hl-line.el (hl-line-mode, global-hl-line-mode):
14733 * icomplete.el (icomplete-mode):
14734 * ido.el (ido-everywhere):
14735 * image-file.el (auto-image-file-mode):
14736 * image-mode.el (image-minor-mode):
14737 * iswitchb.el (iswitchb-mode):
14738 * jka-cmpr-hook.el (auto-compression-mode):
14739 * linum.el (linum-mode):
14740 * longlines.el (longlines-mode):
14741 * master.el (master-mode):
14742 * mb-depth.el (minibuffer-depth-indicate-mode):
14743 * menu-bar.el (menu-bar-mode):
14744 * minibuf-eldef.el (minibuffer-electric-default-mode):
14745 * mouse-sel.el (mouse-sel-mode):
14746 * msb.el (msb-mode):
14747 * mwheel.el (mouse-wheel-mode):
14748 * outline.el (outline-minor-mode):
14749 * paren.el (show-paren-mode):
14750 * recentf.el (recentf-mode):
14751 * reveal.el (reveal-mode, global-reveal-mode):
14752 * rfn-eshadow.el (file-name-shadow-mode):
14753 * ruler-mode.el (ruler-mode):
14754 * savehist.el (savehist-mode):
14755 * scroll-all.el (scroll-all-mode):
14756 * scroll-bar.el (scroll-bar-mode):
14757 * server.el (server-mode):
14758 * shell.el (shell-dirtrack-mode):
14759 * simple.el (auto-fill-mode, transient-mark-mode)
14760 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
14761 (line-number-mode, column-number-mode, size-indication-mode)
14762 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
14763 * strokes.el (strokes-mode):
14764 * time.el (display-time-mode):
14765 * t-mouse.el (gpm-mouse-mode):
14766 * tool-bar.el (tool-bar-mode):
14767 * tooltip.el (tooltip-mode):
14768 * type-break.el (type-break-mode-line-message-mode)
14769 (type-break-query-mode):
14770 * view.el (view-mode):
14771 * whitespace.el (whitespace-mode, whitespace-newline-mode)
14772 (global-whitespace-mode, global-whitespace-newline-mode):
14773 * xt-mouse.el (xterm-mouse-mode): Doc fix.
14774
14775 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14776 Fix autogenerated docstring.
14777
14778 2011-10-19 Juri Linkov <juri@jurta.org>
14779
14780 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
14781 by checking environment variables "DESKTOP_SESSION" and
14782 "XDG_CURRENT_DESKTOP". (Bug#9779)
14783
14784 2011-10-19 Juri Linkov <juri@jurta.org>
14785
14786 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
14787 (browse-url-chromium-program, browse-url-chromium-arguments):
14788 New defcustoms.
14789 (browse-url-default-browser): Check for `browse-url-chromium' and
14790 call `browse-url-chromium-program'.
14791 (browse-url-chromium): New command. (Bug#9779)
14792
14793 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
14794
14795 * facemenu.el (list-colors-duplicates): On Windows, detect more
14796 duplicates by assuming that only colors matching "^System" are
14797 special "system colors". (Bug#9722)
14798
14799 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
14800
14801 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
14802 to distinguish the author from the committer.
14803
14804 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
14805
14806 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
14807
14808 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
14809
14810 * international/mule.el (sgml-html-meta-auto-coding-function):
14811 Add support for detecting encoding in HTML5 specified only as
14812 <meta charset="UTF-8">. Implementation just makes http-equiv and
14813 content-type parts from HTML4 encoding string optional. (Bug#9716)
14814
14815 2011-10-18 Glenn Morris <rgm@gnu.org>
14816
14817 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
14818
14819 2011-10-18 Chong Yidong <cyd@gnu.org>
14820
14821 * faces.el (cursor): Doc fix.
14822
14823 2011-10-17 Chong Yidong <cyd@gnu.org>
14824
14825 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
14826
14827 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
14828
14829 * dirtrack.el (dirtrack): Support shell buffers with path
14830 prefixes, e.g. tramp-based remote shells. (Bug#9647)
14831
14832 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
14833
14834 * json.el: Bump version to 1.3 and note change in History.
14835 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
14836
14837 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
14838
14839 * comint.el (comint-insert-input, comint-send-input)
14840 (comint-get-old-input-default, comint-backward-matching-input)
14841 (comint-next-prompt): Use nil instead of `input' for field property of
14842 past user input (bug#114).
14843
14844 * minibuffer.el (completion--replace): Inherit surrounding properties
14845 (bug#114).
14846 (minibuffer-complete-and-exit): Use it.
14847
14848 * comint.el (comint--table-subvert): Quote the all-completions output
14849 (bug#9160).
14850
14851 2011-10-17 Martin Rudalics <rudalics@gmx.at>
14852
14853 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
14854
14855 * menu-bar.el (menu-bar-file-menu): Add entry for making new
14856 window on right of selected. (Bug#9350) Reword other window
14857 entries and separate them from frame entries.
14858
14859 2011-10-15 Glenn Morris <rgm@gnu.org>
14860
14861 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
14862 Doc fixes.
14863
14864 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
14865
14866 * net/network-stream.el (network-stream-open-starttls):
14867 Improve detection of failure due to lack of TLS support.
14868
14869 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
14870 putting the input text in front and in bold.
14871
14872 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
14873
14874 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
14875
14876 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
14877 empty buffer.
14878
14879 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
14880 unread-command-events rather than pushing yet-another event.
14881
14882 2011-10-14 Eli Zaretskii <eliz@gnu.org>
14883
14884 * mail/sendmail.el (sendmail-query-once): Improve the wording of
14885 the explanation of the possible choices. Make the options passed
14886 to completing-read shorter.
14887
14888 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14889
14890 * textmodes/flyspell.el (flyspell-large-region): Make sure
14891 extended character mode is used if defined (Bug#1339).
14892
14893 2011-10-13 Eli Zaretskii <eliz@gnu.org>
14894
14895 * simple.el (what-cursor-position): Fix the display of the
14896 character info for LRE, LRO, RLE, and RLO characters by appending
14897 an invisible PDF.
14898
14899 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
14900
14901 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
14902 even in case of error; add debug spec; simplify data flow.
14903 (with-timeout-handler): Remove.
14904
14905 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
14906
14907 Fix Bug#6019, Bug#9315.
14908
14909 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
14910 complete `buffer-file-name', the local file name part could look
14911 remotely (for example on VMS).
14912
14913 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
14914 `tramp-run-real-handler'.
14915 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
14916 already quoted by '"'.
14917
14918 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
14919 Let `file-name-handler-alist' be nil, the local file name part
14920 could look remotely (for example on VMS).
14921
14922 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
14923
14924 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
14925 from here...
14926 (flyspell-post-command-hook): ...to here.
14927
14928 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
14929
14930 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
14931 if not needed.
14932 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
14933 using completion. Protect against "slow" callers.
14934 Remove the "message hack".
14935
14936 2011-10-11 Juri Linkov <juri@jurta.org>
14937
14938 * isearch.el (isearch-lazy-highlight-word): New variable.
14939 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
14940 Use it. (Bug#9727)
14941
14942 2011-10-11 Glenn Morris <rgm@gnu.org>
14943
14944 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
14945 like f90-previous-statement does.
14946
14947 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14948
14949 * eshell/eshell.el (eshell-command): History should be saved
14950 only in interactive use, to avoid error.
14951
14952 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
14953
14954 * minibuffer.el (completion-file-name-table): Fix last change,
14955 i.e. ignore normal errors but not the other ones.
14956
14957 2011-10-10 Martin Rudalics <rudalics@gmx.at>
14958
14959 * window.el (special-display-buffer-names)
14960 (special-display-regexps): Remove some remnants of earlier
14961 changes from doc-strings.
14962 (quit-windows-on): New function.
14963
14964 * vc/vc.el (vc-revert, vc-rollback):
14965 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
14966 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
14967 (Bug#6183) (Bug#7074) (Bug#7447)
14968
14969 2011-10-09 Martin Rudalics <rudalics@gmx.at>
14970
14971 * window.el (frame-auto-hide-function): Add version tag.
14972 (Bug#9699)
14973
14974 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
14975
14976 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
14977 condition.
14978
14979 2011-10-09 Leo Liu <sdl.web@gmail.com>
14980
14981 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
14982 (Bug#9701)
14983
14984 2011-10-08 Glenn Morris <rgm@gnu.org>
14985
14986 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
14987 before the first code statement zero indent. (Bug#9690)
14988
14989 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
14990
14991 * simple.el (count-words-region): Always count in the region.
14992 Report the number of lines and characters too.
14993 (count-words): New command, which counts in the buffer if the
14994 region is inactive, as count-words-region used to.
14995 (count-words--message): New function. Handle plurals.
14996 (count-lines-region): Make it an alias for count-words-region.
14997
14998 * bindings.el (esc-map): Replace count-lines-region with
14999 count-words-region.
15000
15001 2011-10-08 Martin Rudalics <rudalics@gmx.at>
15002
15003 * window.el (window--delete): Delete dedicated frame
15004 unconditionally when argument KILL is non-nil. (Bug#9699)
15005 (switch-to-buffer): Fix doc-string typo.
15006
15007 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15008
15009 * eshell/eshell.el (eshell-command): Avoid using hooks.
15010
15011 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
15012
15013 * bindings.el ([M-left],[M-right]): Bind to left-word and
15014 right-word respectively.
15015
15016 2011-10-07 Glenn Morris <rgm@gnu.org>
15017
15018 * cus-start.el (debug-on-quit): Fix custom type.
15019
15020 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15021
15022 * subr.el (define-key-after): Clarify that the function is not
15023 useful for non-menu keymaps.
15024
15025 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
15026
15027 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15028
15029 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
15030 in current minibuffer (Fix bug with recursive minibuffers).
15031
15032 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
15033
15034 * progmodes/gdb-mi.el (gdb): Doc fix.
15035
15036 2011-10-05 Martin Rudalics <rudalics@gmx.at>
15037
15038 * window.el (frame-auto-hide-function): New option replacing
15039 frame-auto-delete. Suggested by Stefan Monnier.
15040 (window--delete): Call frame-auto-hide-function instead of
15041 investigating frame-auto-delete.
15042 (window-point-1, set-window-point-1): New functions.
15043 (window-in-direction, record-window-buffer, window-state-get-1)
15044 (display-buffer-record-window): Use window-point-1 instead of
15045 window-point.
15046 (set-window-buffer-start-and-point): Use set-window-point-1.
15047
15048 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
15049
15050 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
15051
15052 2011-10-05 Glenn Morris <rgm@gnu.org>
15053
15054 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
15055 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
15056
15057 2011-10-05 Leo Liu <sdl.web@gmail.com>
15058
15059 * subr.el (read-char-choice): Fix argument to buffer-live-p which
15060 works with buffer object.
15061
15062 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
15063
15064 * mpc.el (mpc-tool-bar-map): Add labels.
15065
15066 2011-10-04 Glenn Morris <rgm@gnu.org>
15067
15068 * calendar/holidays.el (calendar-check-holidays): Doc fix.
15069
15070 2011-10-04 Martin Rudalics <rudalics@gmx.at>
15071
15072 * window.el (window--delete): New function.
15073 (frame-auto-delete): Resuscitate option.
15074 (bury-buffer, replace-buffer-in-windows)
15075 (quit-window): Rewrite using window--delete.
15076 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
15077 Pass display-buffer-mark-dedicated to window--display-buffer-2
15078 (Bug#9639).
15079
15080 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
15081
15082 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
15083 returns a list (bug#9554). Add remote file name completion.
15084 * comint.el (comint--table-subvert): Curry and get quote&unquote
15085 functions as arguments.
15086 (comint--complete-file-name-data): Adjust call accordingly.
15087 * pcomplete.el (pcomplete--table-subvert): Remove.
15088 (pcomplete-completions-at-point): Use comint--table-subvert instead.
15089
15090 * minibuffer.el (completion-table-case-fold): Use currying.
15091 (completion--styles-type, completion--cycling-threshold-type):
15092 New constants.
15093 (completion-styles, completion-category-overrides)
15094 (completion-cycle-threshold): Use them.
15095 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
15096 completion-table-case-fold.
15097
15098 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
15099
15100 * minibuffer.el (completion-category-overrides): Fix type of styles
15101 and add more user friendly tags (bug#9660).
15102
15103 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
15104
15105 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
15106 (mule-input-method-string): New widget.
15107 (default-input-method, language-info-custom-alist): Use it.
15108
15109 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
15110
15111 * pcomplete.el: Require comint.
15112 (pcomplete--common-suffix): Remove.
15113 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
15114 (pcomplete--table-subvert): Sync with comint--table-subvert.
15115 (pcomplete--entries): Use comint-completion-file-name-table.
15116 * comint.el (comint-unquote-filename): Simplify.
15117 (comint-completion-file-name-table): New function (bug#9616).
15118 (comint--complete-file-name-data): Use it.
15119
15120 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
15121 (pcmpl-gnu-tar-buffer): Remove.
15122 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
15123 around. Make sure pcomplete-suffix-list is only changed temporarily.
15124 Don't look inside the tar's file if it's too large.
15125
15126 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
15127
15128 * cus-edit.el (custom-mode-map):
15129 * epa.el (epa-key-list-mode-map):
15130 * man.el (Man-mode-map):
15131 * startup.el (splash-screen-keymap):
15132 * simple.el (special-mode-map): Use scroll-up-command and
15133 scroll-down-command.
15134
15135 * progmodes/idlw-help.el (idlwave-help-mode-map):
15136 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
15137 * net/newst-plainview.el (newsticker-mode-map):
15138 * emulation/ws-mode.el (wordstar-mode-map):
15139 * emulation/vi.el (vi-com-map):
15140 * calc/calc-graph.el (calc-graph-show-dumb):
15141 * term/sun.el (terminal-init-sun):
15142 * term/ns-win.el (global-map):
15143 * progmodes/grep.el (grep-mode-map):
15144 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
15145 * mail/rmail.el (rmail-mode-map):
15146 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
15147
15148 * custom.el (custom-safe-themes, load-theme): Treat value of t for
15149 custom-safe-themes as special.
15150
15151 2011-10-01 Julien Danjou <julien@danjou.info>
15152
15153 * notifications.el (notifications-notify): Fix docstring.
15154
15155 2011-10-01 Per Starbäck <per@starback.se>
15156
15157 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
15158
15159 2011-09-30 Martin Rudalics <rudalics@gmx.at>
15160
15161 * startup.el (command-line-1): Fix last fix by inserting
15162 initial-scratch-message into *scratch* before displaying it.
15163 (Bug#9605) and (Bug#9636)
15164
15165 2011-09-29 Eli Zaretskii <eliz@gnu.org>
15166
15167 * simple.el (line-move): If auto-hscroll-mode is disabled and the
15168 window is hscrolled, move by logical lines. (Bug#9607)
15169 (line-move-visual): Update the doc string to the above effect.
15170
15171 2011-09-29 Martin Rudalics <rudalics@gmx.at>
15172
15173 * window.el (display-buffer-record-window): When WINDOW is the
15174 selected window use `point' instead of `window-point'. (Bug#9626)
15175
15176 * startup.el (command-line-1): Use insert-before-markers when
15177 inserting initial-scratch-message. (Bug#9605)
15178
15179 * help.el (help-window): Remove variable.
15180
15181 2011-09-29 Glenn Morris <rgm@gnu.org>
15182
15183 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
15184
15185 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
15186
15187 * descr-text.el (describe-char-categories): Accept category
15188 descriptions more than one line long.
15189
15190 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
15191
15192 * simple.el (delete-trailing-whitespace): Fix last change.
15193
15194 * progmodes/perl-mode.el (perl-syntax-propertize-function):
15195 Don't confuse "y => 3" as the beginning of a `y' operation.
15196
15197 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
15198 object has more than 4 slots (bug#9613).
15199
15200 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
15201
15202 * subr.el (with-output-to-temp-buffer):
15203 * net/quickurl.el (quickurl, quickurl-browse-url):
15204 Fix typos in docstrings.
15205
15206 2011-09-27 Eli Zaretskii <eliz@gnu.org>
15207
15208 * minibuffer.el (completion-styles)
15209 (completion-category-overrides): Cross reference each other in doc
15210 strings.
15211
15212 2011-09-27 Glenn Morris <rgm@gnu.org>
15213
15214 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
15215 to split-string. (Bug#9606)
15216
15217 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
15218
15219 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
15220 (bug#9615).
15221
15222 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
15223
15224 * emacs-lisp/package.el (list-packages): Fix echo area message.
15225
15226 2011-09-27 Leo Liu <sdl.web@gmail.com>
15227
15228 * ido.el (ido-read-internal): Accept cons cell HIST arg.
15229
15230 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
15231
15232 * net/dbus.el (dbus-unregister-object): Don't release services for
15233 registered signals. (Bug#9581)
15234
15235 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
15236
15237 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
15238 function that picks between cfengine 2 and 3 support
15239 automatically. Update docs accordingly.
15240
15241 2011-09-22 Kenichi Handa <handa@m17n.org>
15242
15243 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
15244 ZERO.
15245 (indian-itrans-v5-table-for-tamil): New variable.
15246 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
15247
15248 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
15249
15250 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
15251 that's true if the current command involved collapsing of text.
15252 It's reset to false at the beginning of the next command.
15253 (allout-post-command-business): Move the cursor to the beginning
15254 of entry if the cursor is hidden and collapsing activity just
15255 happened.
15256
15257 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
15258
15259 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
15260 tracking (Bug#9541).
15261
15262 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
15263
15264 * net/newst-reader.el (newsticker-html-renderer)
15265 (newsticker-show-news): Automatically load html rendering package
15266 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
15267 because w3m-fill-column is let-bound" and the error "Symbol's value
15268 as variable is void: w3m-fill-column".
15269
15270 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
15271
15272 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
15273 Release services only if they are defined. (Bug#9581)
15274
15275 2011-09-23 Richard Stallman <rms@gnu.org>
15276
15277 * textmodes/paragraphs.el (forward-sentence): For backwards case,
15278 distinguish start of paragraph from start of its text.
15279
15280 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
15281
15282 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
15283 (rmail-generate-viewer-buffer): Put that hook on view buffer.
15284 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
15285
15286 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
15287
15288 * international/mule-diag.el (mule-diag): Insert a newline after
15289 each fontset description.
15290
15291 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
15292
15293 * simple.el (delete-trailing-whitespace):
15294 Document last change; simplify.
15295
15296 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
15297
15298 * simple.el (delete-trailing-whitespace): Also delete
15299 extra newlines at the end of the buffer.
15300
15301 * textmodes/picture.el: Make motion commands obey shift-select-mode.
15302 (picture-newline): Use forward-line so as to ignore fields.
15303
15304 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
15305
15306 * subr.el (with-wrapper-hook): Fix edebug spec.
15307
15308 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
15309
15310 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
15311 (bug#4538).
15312
15313 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
15314
15315 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
15316 Fix nasty bug using wrong cached values.
15317
15318 2011-09-23 Alan Mackenzie <acm@muc.de>
15319
15320 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
15321
15322 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
15323
15324 * window.el (pop-to-buffer): Ensure right window is selected if we
15325 chose another frame.
15326
15327 2011-09-22 Eli Zaretskii <eliz@gnu.org>
15328
15329 * simple.el (what-cursor-position): Use get-char-property-change
15330 and next-single-char-property-change, to be able to show display
15331 properties that come from overlays as well as text properties.
15332
15333 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
15334
15335 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
15336
15337 * cmuscheme.el (run-scheme, switch-to-scheme):
15338 * cus-edit.el (customize-group, custom-buffer-create)
15339 (customize-browse):
15340 * info.el (info):
15341 * shell.el (shell):
15342 * mail/sendmail.el (mail):
15343 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
15344
15345 2011-09-22 Richard Stallman <rms@gnu.org>
15346
15347 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
15348 move back only to line beg, don't move back over blank lines.
15349
15350 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
15351
15352 * files.el (copy-directory): Set directory attributes only in case
15353 they could be retrieved from the source directory. (Bug#9565)
15354
15355 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
15356
15357 * progmodes/hideshow.el (hs-looking-at-block-start-p)
15358 (hs-find-block-beginning, hs-hide-level-recursive):
15359 Ignore strings as well as comments. (Bug#9502)
15360
15361 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
15362
15363 * progmodes/sql.el (sql-comint-postgres):
15364 Convert port number to a string. (Bug#9566)
15365
15366 2011-09-22 Martin Rudalics <rudalics@gmx.at>
15367
15368 * window.el (quit-window): Undedicate window when switching to
15369 previous buffer. Reported by Thierry Volpiatto
15370 <thierry.volpiatto@gmail.com>.
15371 (special-display-popup-frame): When popping up a new frame reset
15372 its previous buffers to nil. Simplify code.
15373
15374 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
15375
15376 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
15377 and process filter, as done also in `shell-command'.
15378
15379 2011-09-21 Martin Rudalics <rudalics@gmx.at>
15380
15381 * window.el (set-window-buffer-start-and-point):
15382 Call set-window-start with NOFORCE argument t.
15383 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
15384 (quit-window): Reword doc-string. Handle new format of
15385 quit-restore parameter. Don't delete window if it has a
15386 previous buffer we can show instead of the present one.
15387 (display-buffer-record-window): Rewrite using a new format for
15388 the quit-restore window parameter
15389 (special-display-popup-frame, display-buffer-same-window)
15390 (display-buffer-reuse-window, display-buffer-pop-up-frame)
15391 (display-buffer-pop-up-window, display-buffer-use-some-window):
15392 Adapt symbol passed to display-buffer-record-window.
15393 * help.el (help-window-setup): Handle new format of quit-restore
15394 parameter.
15395
15396 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
15397
15398 * faces.el (face-list): Fix docstring (bug#9564).
15399
15400 * window.el (display-buffer--action-function-custom-type):
15401 Don't include internal functions in the Custom interface.
15402
15403 2011-09-20 Juri Linkov <juri@jurta.org>
15404
15405 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
15406 (Info-forward-node, Info-backward-node, Info-next-preorder)
15407 (Info-last-preorder): Use it. (Bug#9528)
15408
15409 2011-09-20 Juri Linkov <juri@jurta.org>
15410
15411 * info.el (Info-last-preorder): Visit last menu item only when
15412 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
15413
15414 2011-09-20 Julien Danjou <julien@danjou.info>
15415
15416 * password-cache.el (password-cache-remove): Remove entries even if the
15417 value is nil, so that password with a nil value (negative caching) is
15418 possible to invalidate.
15419
15420 2011-09-20 Lawrence Mitchell <wence@gmx.li>
15421
15422 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
15423 all whitespace around breakpoint. (Bug#9553)
15424 (f90-find-breakpoint): Only break at whitespace inside a comment.
15425
15426 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
15427
15428 * minibuffer.el (completion-file-name-table): Keep track of errors.
15429 (completion-table-with-predicate): Handle the case where pred1 is nil.
15430 * pcomplete.el (pcomplete-completions-at-point): Simplify.
15431
15432 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
15433
15434 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
15435 (debugger-return-value): Signal an error if the debugging context does
15436 not await any return value.
15437
15438 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
15439 * image-mode.el (image-toggle-display-text)
15440 (image-toggle-display-image): Stay away from evil `intangible'.
15441
15442 2011-09-19 Leo Liu <sdl.web@gmail.com>
15443
15444 * replace.el (occur-revert-arguments): Make it permanent-local.
15445 (occur-mode): Don't call font-lock-defontify.
15446
15447 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
15448
15449 * net/ldap.el (ldap-search-internal): Don't push empty search
15450 result (Bug#9508).
15451
15452 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
15453
15454 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
15455
15456 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
15457
15458 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
15459 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
15460
15461 2011-09-18 Juri Linkov <juri@jurta.org>
15462
15463 * buff-menu.el (Buffer-menu-mode-map):
15464 * dired.el (dired-mode-map):
15465 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
15466 (lisp-interaction-mode-map):
15467 * emacs-lisp/package.el (package-menu-mode-map):
15468 * epa.el (epa-key-list-mode-map):
15469 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
15470 (menu-bar-options-menu):
15471 * outline.el (outline-mode-menu-bar-map):
15472 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
15473 * vc/vc-dir.el (vc-dir-menu-map):
15474 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
15475 Capitalize non-function content words in menu item strings.
15476
15477 * dired.el (dired-mode-map): Add menu item for
15478 `image-dired-dired-toggle-marked-thumbs'.
15479
15480 2011-09-18 Juri Linkov <juri@jurta.org>
15481
15482 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
15483 to `isearch-case-fold-search' and restore its original value
15484 after the `isearch-mode' call.
15485
15486 2011-09-18 Juri Linkov <juri@jurta.org>
15487
15488 * progmodes/grep.el (grep-process-setup): Don't check code for 1
15489 because `zgrep' returns 1 for successful matches (bug#9226).
15490
15491 2011-09-18 Juri Linkov <juri@jurta.org>
15492
15493 * info.el (Info-extract-menu-node-name): Check the second match
15494 for empty string (second test-case of bug#9528).
15495 (Info-last-preorder): Let-bind `Info-history' to nil to not add
15496 intermediate nodes to the history (first test-case of bug#9528).
15497
15498 2011-09-18 Juri Linkov <juri@jurta.org>
15499
15500 * info.el (Info-mode-syntax-table): New variable.
15501 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
15502
15503 2011-09-18 Juri Linkov <juri@jurta.org>
15504
15505 * info.el (Info-file-supports-index-cookies):
15506 Increment line-beginning-position's arg from 3 to 4 because makeinfo
15507 outputs one more line for long file names (bug#4142).
15508
15509 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
15510
15511 * newcomment.el (comment-normalize-vars): If prompting for
15512 comment-start, set comment-start-skip too (Bug#8424).
15513
15514 2011-09-18 Johan Bockgård <bojohan@gnu.org>
15515
15516 * icomplete.el: Fix previous fix of Bug#5849.
15517 (icomplete-mode): Don't set completion-show-inline-help.
15518 (icomplete-minibuffer-setup): Set completion-show-inline-help
15519 locally during icompletion.
15520
15521 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
15522
15523 * woman.el (woman2-process-escapes): Don't delete unrecognized
15524 escapes (Bug#7843).
15525
15526 * files.el (inhibit-first-line-modes-regexps): Add image files.
15527 (hack-local-variables-prop-line): Return nil for malformed
15528 prop-lines (Bug#9044).
15529
15530 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
15531
15532 * net/tramp.el (top): Don't require 'shell.
15533 (tramp-methods): Fix docstring.
15534 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
15535 Return complete remote file name. Handle "smb" case.
15536 Use `tramp-tmpdir', if defined for the respective method.
15537 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
15538
15539 * net/tramp-compat.el (top): Require 'shell.
15540
15541 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
15542 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
15543 `tramp-current-host'.
15544 (tramp-get-remote-tmpdir): Remove.
15545
15546 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
15547 `tramp-tmpdir' entries.
15548 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
15549 (tramp-smb-handle-file-attributes): Ignore errors.
15550 (tramp-smb-wait-for-output): Check also for process end.
15551
15552 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
15553
15554 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
15555 when sending QUIT (bug#9312).
15556
15557 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
15558
15559 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
15560 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
15561 occur-mode-display-occurrence.
15562 (occur-edit-mode): Add usage message.
15563 (occur-cease-edit): New command.
15564 (occur-after-change-function): Use text properties to find the
15565 position of the prefix text.
15566 (occur-engine): Set stickiness of prefix text properties.
15567
15568 2011-09-17 Glenn Morris <rgm@gnu.org>
15569
15570 * progmodes/etags.el (complete-tag):
15571 Fix call to completion-in-region. (Bug#9526)
15572
15573 2011-09-17 Juri Linkov <juri@jurta.org>
15574
15575 * textmodes/ispell.el (ispell-word): Add to the error message
15576 the word, ispell program name and current dictionary (bug#9121).
15577 (ispell-tex-arg-end): Capitalize "error" in the error message.
15578
15579 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
15580
15581 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
15582 check. (Bug#4251)
15583
15584 2011-09-17 Juri Linkov <juri@jurta.org>
15585
15586 * window.el (window-safe-min-height, window-safe-min-width):
15587 Fix typos (followup to bug#9522).
15588
15589 2011-09-17 Sven Joachim <svenjoac@gmx.de>
15590
15591 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
15592
15593 2011-09-16 Eli Zaretskii <eliz@gnu.org>
15594
15595 * simple.el (line-move): If goal-column is set, move by logical
15596 lines, not by display lines. (Bug#971)
15597 (next-line, previous-line, goal-column, line-move-visual): Doc fix
15598 to reflect the above change.
15599
15600 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
15601
15602 * image.el (imagemagick-register-types): Use regexp-opt.
15603
15604 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
15605
15606 * window.el (display-buffer-base-action): Rename from
15607 display-buffer-default-action. Make default value empty.
15608 (display-buffer-overriding-action): Convert to defvar.
15609 (display-buffer-fallback-action): New var.
15610
15611 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
15612
15613 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
15614 declaration.
15615 (package--add-to-archive-contents): If there is a duplicate entry
15616 with an older version, remove it.
15617 (package-menu-mark-delete, package-menu-mark-install)
15618 (package-menu-mark-unmark): Make unused args optional.
15619 (package-menu-mark-obsolete-for-deletion):
15620 Use package-menu-get-status instead of a regexp search.
15621 (package-menu-get-status): Use tabulated-list-entry.
15622 (package-menu-mark-upgrades): New command.
15623 (package-menu-mode-map): Bind it to U. Add it to menu bar.
15624 (package-menu-execute): Do installation before deletion.
15625 (package-menu-refresh, package-menu-execute): Use derived-mode-p
15626 instead of checking major-mode.
15627 (package-menu--find-upgrades): New function.
15628
15629 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15630
15631 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
15632 passwords in the log buffer.
15633 (smtpmail-process-filter): Update the process marker so that the
15634 "broken by peer" status message is inserted in the right place.
15635
15636 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
15637
15638 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
15639 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
15640 bibtex-completion-at-point-function.
15641 (bibtex-completion-at-point-function): Use them.
15642
15643 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
15644
15645 * mpc.el (mpc-constraints-tag-lookup): New function.
15646 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
15647 also to browser "album|playlist".
15648
15649 2011-09-14 Juri Linkov <juri@jurta.org>
15650
15651 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
15652 (isearch-edit-string): Use length of `isearch-string' when
15653 `isearch-fail-pos' returns nil.
15654 (isearch-message): Remove duplicate code and call
15655 `isearch-fail-pos' with arg `t'.
15656
15657 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
15658
15659 * replace.el (occur-mode-goto-occurrence): Don't force using other
15660 window (Bug#9499).
15661
15662 * dired-aux.el (dired-do-chmod): Don't provide initial input.
15663
15664 2011-09-14 Martin Rudalics <rudalics@gmx.at>
15665
15666 * window.el (display-buffer-window): Remove.
15667 (display-buffer-record-window): Use help-setup window parameter
15668 instead of variable display-buffer-window.
15669 (display-buffer-function, special-display-buffer-names)
15670 (special-display-function): Mention help-setup parameter instead
15671 of display-buffer-window in doc-string.
15672 * help.el (help-window-setup): New argument help-window.
15673 Use help-window-setup parameter instead of display-buffer-window.
15674 Reword some messages.
15675 (with-help-window): Pass window used for displaying the buffer
15676 to help-window-setup. Don't set display-buffer-window.
15677
15678 2011-09-13 Glenn Morris <rgm@gnu.org>
15679
15680 * emacs-lisp/debug.el (debugger-make-xrefs):
15681 Preserve point. (Bug#9462)
15682
15683 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
15684
15685 * window.el (window-deletable-p): Use next-frame.
15686
15687 2011-09-13 Martin Rudalics <rudalics@gmx.at>
15688
15689 * window.el (window-auto-delete): Remove.
15690 (window-deletable-p): Remove argument FORCE. Don't deal with
15691 dedication and previous buffers.
15692 (switch-to-prev-buffer): Don't delete window.
15693 (delete-windows-on): Delete a window's frame if and only if the
15694 window is dedicated.
15695 (replace-buffer-in-windows): Delete buffer's window or frame if
15696 and only if window is dedicated.
15697 (quit-window): Handle quit-restore as before last change.
15698 (bury-buffer): Delete window only if window-deletable-p returns t.
15699
15700 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
15701
15702 * window.el (window-deletable-p): Never delete the last frame on a
15703 given terminal.
15704
15705 2011-09-13 Glenn Morris <rgm@gnu.org>
15706
15707 * help.el (describe-key-briefly): Copy previous standard-output change.
15708
15709 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
15710
15711 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
15712
15713 2011-09-13 Glenn Morris <rgm@gnu.org>
15714
15715 * emacs-lisp/lisp-mode.el (lisp-indent-function):
15716 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
15717
15718 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
15719
15720 * dired-aux.el (dired-mark-read-string): Don't return default
15721 value on empty input (Bug#9361).
15722 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
15723 Omit initial minibuffer contents.
15724 (dired-do-chmod): Signal an error on empty input.
15725 (dired-mark-read-string): Don't return default on empty input.
15726
15727 * files.el (file-modes-symbolic-to-number): Doc fix.
15728
15729 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
15730
15731 * international/mule-cmds.el (ucs-completions): Remove.
15732 (read-char-by-name): Use complete-with-action instead; add metadata.
15733
15734 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
15735
15736 * window.el (display-buffer--action-function-custom-type)
15737 (display-buffer--action-custom-type): New vars.
15738 (display-buffer-alist, display-buffer-default-action)
15739 (display-buffer-overriding-action): Add defcustom types.
15740
15741 * frame.el (delete-other-frames): Doc fix (Bug#276).
15742
15743 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15744
15745 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
15746
15747 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
15748
15749 Change modes that used same-window-* vars to use switch-to-buffer.
15750
15751 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
15752 Use switch-to-buffer.
15753
15754 * cus-edit.el (customize-group, custom-buffer-create)
15755 (customize-browse, custom-buffer-create-other-window):
15756 Use switch-to-buffer or switch-to-buffer-other-window.
15757
15758 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
15759 (Info-prev, Info-up, Info-speedbar-goto-node)
15760 (info-display-manual): Use switch-to-buffer.
15761 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
15762
15763 * mail/sendmail.el (mail): Use switch-to-buffer.
15764 (mail-recover): Use switch-to-buffer-other-window.
15765
15766 * cmuscheme.el (run-scheme, switch-to-scheme):
15767 * ielm.el (ielm):
15768 * shell.el (shell):
15769 * net/rlogin.el (rlogin):
15770 * net/telnet.el (telnet, rsh):
15771 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
15772
15773 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
15774
15775 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
15776
15777 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15778
15779 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
15780 so don't mention it (bug#9301).
15781 (dired-sort-toggle-or-edit): Clarify string further.
15782
15783 * faces.el (face-spec-set-match-display): Make `(type graphic)'
15784 match `x', `w32' and `ns', like the manual says (bug#9029).
15785
15786 * subr.el (eval-after-load): Doc string clarification (bug#9125).
15787 (process-kill-buffer-query-function): Mention the buffer name in
15788 the query.
15789
15790 * image-mode.el (image-next-line): The line parameter is mandatory
15791 (bug#9258).
15792
15793 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
15794 which can be useful (bug#9301).
15795
15796 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
15797
15798 * subr.el (match-string): Mention that the current buffer should
15799 be the same as the search was done in (bug#9282).
15800
15801 * facemenu.el: Disable the remove-* commands if the mark isn't
15802 active (bug#9162).
15803
15804 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
15805
15806 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
15807 of display-buffer.
15808 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
15809
15810 * replace.el (occur-mode-goto-occurrence)
15811 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
15812 and display-buffer.
15813
15814 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
15815 display-buffer.
15816
15817 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
15818 special-display and same-window variables.
15819 (mail-other-window): Use switch-to-buffer-other-window.
15820 (mail-other-frame): USe switch-to-buffer-other-frame.
15821
15822 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
15823 Use display-buffer-other-frame.
15824 (gdb-display-gdb-buffer): Use pop-to-buffer.
15825
15826 * progmodes/gud.el (gud-goto-info): Use info-other-window.
15827
15828 * progmodes/python.el: Don't set same-window-buffer-names.
15829
15830 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
15831
15832 * window.el (display-buffer-alist): Add *Python*.
15833
15834 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
15835
15836 * window.el (display-buffer-alist): Add entry for buffers
15837 previously handled same-window-*.
15838 (display-buffer-alist, display-buffer-default-action)
15839 (display-buffer-overriding-action): Mark as risky.
15840 (display-buffer-alist): Document action function changes.
15841 (display-buffer--same-window-action)
15842 (display-buffer--other-frame-action): New variables.
15843 (switch-to-buffer, display-buffer-other-frame): Use them.
15844 (display-buffer): Rename reuse-frame entry to reusable-frames.
15845 (display-buffer-reuse-selected-window): Function deleted.
15846 (display-buffer-reuse-window): Handle reusable-frames alist entry.
15847 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
15848 (display-buffer-special): New function.
15849 (display-buffer--maybe-pop-up-frame-or-window): Rename from
15850 display-buffer-reuse-or-pop-window. Split off special-display
15851 part into display-buffer-special.
15852 (display-buffer-use-some-window): Don't perform any special
15853 pop-up-frames handling.
15854 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
15855 (display-buffer--maybe-same-window): Rename from
15856 display-buffer-maybe-same-window.
15857
15858 * info.el: Don't set same-window-regexps.
15859 (info-setup): New function.
15860 (info-other-window, info): Call it.
15861
15862 * cus-edit.el: Don't set same-window-regexps.
15863 (customize-group): New argument.
15864 (customize-group-other-window): Use it.
15865 (customize-face, customize-face-other-window): Likewise.
15866 (custom-buffer-create-other-window): Use pop-to-buffer directly.
15867
15868 * net/rlogin.el:
15869 * net/telnet.el:
15870 * progmodes/gud.el: Don't set same-window-regexps.
15871
15872 * cmuscheme.el:
15873 * ielm.el:
15874 * shell.el:
15875 * mail/sendmail.el:
15876 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
15877
15878 2011-09-10 Juri Linkov <juri@jurta.org>
15879
15880 * isearch.el (isearch-edit-string): Remove obsolete mention of
15881 `C-w' (`isearch-yank-word-or-char') from docstring.
15882 (isearch-query-replace): Fix typo in docstring (bug#9466).
15883
15884 2011-09-10 Juri Linkov <juri@jurta.org>
15885
15886 * paren.el (show-paren-function): Don't show escaped parens.
15887 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
15888
15889 2011-09-10 Eli Zaretskii <eliz@gnu.org>
15890
15891 * mail/sendmail.el (mml-to-mime, mml-attach-file)
15892 (mm-default-file-encoding): Remove autoload forms, they are
15893 replaced with autoload cookies in mml.el and mm-encode.el.
15894 (mail-add-attachment): New command.
15895 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
15896 (mail-mode): Mention mail-insert-file and mail-add-attachment in
15897 the doc string.
15898 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
15899
15900 2011-09-10 Reuben Thomas <rrt@sc3d.org>
15901
15902 * simple.el (count-words-region): Use buffer if there's no region
15903 (bug#9429).
15904
15905 2011-09-09 Juri Linkov <juri@jurta.org>
15906
15907 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
15908 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
15909 (wdired-isearch-filter-read-only): New function. (Bug#6362)
15910
15911 2011-09-09 Alan Mackenzie <acm@muc.de>
15912
15913 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
15914 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
15915
15916 2011-09-09 Eli Zaretskii <eliz@gnu.org>
15917
15918 Fix for Savannah bug#9392.
15919 * simple.el (mail-encode-mml): New defvar.
15920
15921 * mail/rmail.el (mail-encode-mml): Add a defvar.
15922 (rmail-enable-mime-composing): Default to t.
15923 (rmail-forward): Use MIME method of forwarding only if both
15924 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
15925 Set mail-encode-mml non-nil if the MIME method was used.
15926
15927 * mail/sendmail.el (mml-to-mime): Add autoload form.
15928 (mail-encode-mml): Add a defvar.
15929 (mail-mode): Make mail-encode-mml buffer-local and initialize it
15930 to nil.
15931 (mail-send): If mail-encode-mml is non-nil, run the outgoing
15932 message through mml-to-mime, and reset mail-encode-mml to nil.
15933
15934 2011-09-09 Glenn Morris <rgm@gnu.org>
15935
15936 * woman.el (woman-if-body): When processing an .el block,
15937 do not delete the next .el block as well. (Bug#9447)
15938 (woman-special-characters): Add oq, cq, and hy characters.
15939
15940 2011-09-08 Martin Rudalics <rudalics@gmx.at>
15941
15942 * window.el (window-deletable-p): Make sure window is live before
15943 invoking window-prev-buffers.
15944
15945 2011-09-08 Leo Liu <sdl.web@gmail.com>
15946
15947 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
15948
15949 2011-09-08 Juri Linkov <juri@jurta.org>
15950
15951 * progmodes/compile.el (compilation-environment): Make it
15952 a defcustom (bug#8340).
15953
15954 2011-09-08 Martin Rudalics <rudalics@gmx.at>
15955
15956 * window.el (frame-auto-delete): Rename to window-auto-delete.
15957 Make it control auto-deletion of windows and/or frames.
15958 (window-deletable-p): New argument FORCE. Rewrite conditions
15959 for deleting window/frame. (Bug#9419)
15960 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
15961 Rewrite handling of case when window/frame can be deleted.
15962 (delete-windows-on): Call window-deletable-p with new FORCE
15963 argument t. (Bug#9456)
15964
15965 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
15966
15967 * help-mode.el (help-mode): Restore autoload.
15968
15969 2011-09-07 Juri Linkov <juri@jurta.org>
15970
15971 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
15972 `compilation-environment'. Set buffer-local
15973 `compilation-environment' to `thisenv' later after (funcall mode).
15974 (Bug#8340)
15975
15976 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
15977 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
15978 instead of replacing its value. (Bug#8340)
15979
15980 2011-09-07 Juri Linkov <juri@jurta.org>
15981
15982 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
15983 based on text properties put by `grep-filter' instead of matching
15984 escape sequences.
15985 (grep-mode): Set buffer-local `compilation-error-screen-columns'
15986 to the value of `grep-error-screen-columns' (bug#9438).
15987
15988 2011-09-07 Juri Linkov <juri@jurta.org>
15989
15990 * simple.el (next-error-highlight, next-error-highlight-no-select):
15991 Doc fix (bug#9432).
15992
15993 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
15994
15995 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15996 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
15997
15998 2011-09-07 Leo Liu <sdl.web@gmail.com>
15999
16000 * net/rcirc.el (rcirc-mode): Conditionally initialize
16001 rcirc-input-ring.
16002
16003 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
16004
16005 * emacs-lisp/find-func.el (find-function-C-source): Only set
16006 find-function-C-source-directory after checking that we found a source
16007 file there (bug#9440).
16008
16009 2011-09-06 Alan Mackenzie <acm@muc.de>
16010
16011 * isearch.el (isearch-other-meta-char): Wherever a key list is
16012 unread, "unread" the prefix arg, too. This fixes bug #8901.
16013
16014 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
16015
16016 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
16017
16018 2011-09-05 Juri Linkov <juri@jurta.org>
16019
16020 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
16021
16022 2011-09-05 Juri Linkov <juri@jurta.org>
16023
16024 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
16025 keeping point where processing of grep matches begins, and
16026 continue to delete remaining escape sequences from the same point.
16027 (grep-filter): Make leading zero optional in "0?1;31m" because
16028 git-grep emits "\033[1;31m" escape sequences unlike expected
16029 "\033[01;31m" as GNU Grep does (bug#9408).
16030 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
16031
16032 2011-09-05 Juri Linkov <juri@jurta.org>
16033
16034 * subr.el (y-or-n-p): Capitalize "yes".
16035
16036 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
16037
16038 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
16039 `tramp-cache-unload-hook' where appropriate.
16040 (tramp-methods): Rename `tramp-remote-sh' to
16041 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
16042 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
16043
16044 * net/tramp-sh.el (top): Don't require 'shell.
16045 (tramp-methods): Add `tramp-remote-shell' and
16046 `tramp-remote-shell-args' entries.
16047 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
16048 (tramp-sh-handle-shell-command): Remove.
16049 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
16050 Use `tramp-remote-shell'.
16051
16052 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
16053
16054 * mail/sendmail.el (sendmail-query-once-function): Delete.
16055 (sendmail-query-once): Save directly to send-mail-function.
16056 Update message-send-mail-function too.
16057
16058 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
16059
16060 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
16061
16062 * progmodes/python.el (python-mode-map): Use correct function to
16063 start python interpreter from menu-bar (as reported by Geert
16064 Kloosterman).
16065 (inferior-python-mode-map): Fix typo.
16066 (python-shell-map): Remove.
16067
16068 2011-09-03 Deniz Dogan <deniz@dogan.se>
16069
16070 * net/rcirc.el (rcirc-print): Simplify code for
16071 rcirc-scroll-show-maximum-output. There is no need to walk
16072 through all windows to find the right one.
16073
16074 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
16075
16076 * help.el (help-return-method): Doc fix.
16077
16078 2011-09-03 Martin Rudalics <rudalics@gmx.at>
16079
16080 * window.el (window-deletable-p): Don't return a non-nil value
16081 when there's a buffer that was shown in the window before.
16082 (Bug#9419)
16083 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
16084 Set window's previous buffers to nil.
16085
16086 2011-09-03 Eli Zaretskii <eliz@gnu.org>
16087
16088 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
16089 newline before and after the tag line, so it doesn't interfere
16090 with determining the paragraph direction of bidirectional text.
16091
16092 2011-09-03 Leo Liu <sdl.web@gmail.com>
16093
16094 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
16095
16096 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
16097
16098 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
16099 (pop-to-buffer): Change interactive spec. Pass second argument
16100 directly to display-buffer.
16101 (display-buffer): Fix interactive spec. Use functionp to
16102 distinguish between a function and a list of functions.
16103
16104 * abbrev.el (edit-abbrevs):
16105 * arc-mode.el (archive-extract):
16106 * autoinsert.el (auto-insert):
16107 * bookmark.el (bookmark-bmenu-list):
16108 * files.el (find-file):
16109 * view.el (view-buffer):
16110 * progmodes/compile.el (compilation-goto-locus):
16111 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
16112
16113 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
16114
16115 * window.el (display-buffer-alist): Doc fix.
16116 (display-buffer): Add docstring. Don't treat
16117 display-buffer-default specially.
16118 (display-buffer-reuse-selected-window)
16119 (display-buffer-same-window, display-buffer-maybe-same-window)
16120 (display-buffer-reuse-window, display-buffer-pop-up-frame)
16121 (display-buffer-pop-up-window)
16122 (display-buffer-reuse-or-pop-window)
16123 (display-buffer-use-some-window): New functions.
16124 (display-buffer-default-action): Use them.
16125 (display-buffer-default): Delete.
16126 (pop-to-buffer-1): Fix choice of actions.
16127
16128 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
16129
16130 * minibuffer.el (completion--insert-strings): Don't get confused by
16131 completion entries that end with an LF char.
16132
16133 2011-09-01 Eli Zaretskii <eliz@gnu.org>
16134
16135 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
16136
16137 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
16138
16139 * window.el (display-buffer): Restore interactive spec.
16140 (display-buffer-same-window, display-buffer-other-window):
16141 New functions.
16142 (pop-to-buffer-1): New function. Use the above.
16143 (pop-to-buffer, pop-to-buffer-same-window): Use it.
16144 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
16145
16146 * view.el (view-buffer-other-window, view-buffer-other-frame):
16147 Just use pop-to-buffer.
16148
16149 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16150
16151 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
16152
16153 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
16154
16155 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
16156
16157 2011-08-31 Richard Stallman <rms@gnu.org>
16158
16159 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
16160 of the separation of rmail-view-buffer from rmail-buffer.
16161 If you say no to "replace original", the decrypt is in the
16162 view buffer. If you say yes, the decrypt goes into the
16163 rmail buffer also.
16164
16165 2011-08-31 Martin Rudalics <rudalics@gmx.at>
16166
16167 * window.el (display-buffer-window): Rewrite doc-string.
16168 (display-buffer-record-window): New function.
16169 (display-buffer-macro-specifiers)
16170 (display-buffer-even-window-sizes, display-buffer-set-height)
16171 (display-buffer-set-width, display-buffer-in-window)
16172 (display-buffer-reuse-window, display-buffer-split-specifiers)
16173 (display-buffer-side-specifiers, display-buffer-split-window-1)
16174 (display-buffer-split-window, display-buffer-split-atom-window)
16175 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
16176 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
16177 (display-buffer-other-window-means-other-frame)
16178 (display-buffer-normalize-special)
16179 (display-buffer-normalize-default)
16180 (display-buffer-normalize-argument)
16181 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
16182 (display-buffer-normalize-specifiers, display-buffer-frame)
16183 (display-buffer-same-window, display-buffer-same-frame)
16184 (display-buffer-other-window)
16185 (display-buffer-same-frame-other-window)
16186 (display-buffer-other-frame, pop-to-buffer-same-window)
16187 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
16188 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
16189 (switch-to-buffer-same-frame)
16190 (switch-to-buffer-other-window-same-frame)
16191 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
16192 (display-buffer-alist-set-1, display-buffer-alist-set-2)
16193 (display-buffer-alist-set): Remove.
16194 (display-buffer-function, special-display-buffer-names)
16195 (special-display-regexps, special-display-function):
16196 In doc-string refer to display-buffer-window and quit-restore
16197 parameter.
16198 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
16199 (special-display-frame-alist, special-display-popup-frame)
16200 (same-window-buffer-names, same-window-regexps, same-window-p)
16201 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16202 (split-window-preferred-function, split-height-threshold)
16203 (split-width-threshold, window-splittable-p)
16204 (split-window-sensibly, window--try-to-split-window)
16205 (window--frame-usable-p, even-window-heights)
16206 (window--even-window-heights, window--display-buffer-1)
16207 (window--display-buffer-2, display-buffer-other-frame):
16208 Restore old Emacs 23 code, order and doc-strings where applicable.
16209 (display-buffer-default, display-buffer-assq-regexp): New functions.
16210 (display-buffer-alist): Rewrite doc-string.
16211 (display-buffer-default-action)
16212 (display-buffer-overriding-action): New variables.
16213 (display-buffer, switch-to-buffer): Rewrite.
16214 (pop-to-buffer): Restore Emacs 23 behavior but use
16215 window-normalize-buffer-to-display.
16216 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
16217 Restore Emacs 23 behavior but use
16218 window-normalize-buffer-to-switch-to.
16219 (pop-to-buffer-same-window): Rewrite.
16220 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
16221 Rewrite using Emacs 23 options.
16222
16223 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
16224
16225 * net/tramp.el (tramp-root-regexp): Remove.
16226 (tramp-completion-file-name-regexp-unified)
16227 (tramp-completion-file-name-regexp-separate)
16228 (tramp-completion-file-name-regexp-url): Don't use leading volume
16229 letter on w32 systems. (Bug#5303, Bug#9311)
16230 (tramp-drop-volume-letter): Simplify definition.
16231 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
16232
16233 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
16234
16235 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
16236 (bug#9356).
16237
16238 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
16239
16240 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
16241
16242 2011-08-29 Juri Linkov <juri@jurta.org>
16243
16244 * isearch.el (isearch-done): Don't display message "Mark saved"
16245 when arg `edit' is non-nil to prevent its flicker in the echo area.
16246
16247 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
16248
16249 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
16250 obsolete packages for deletion.
16251
16252 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
16253
16254 * help-mode.el (help-mode-map): Add special-mode-map to parent.
16255 (help-mode): Derive help-mode from special-mode. Don't invoke
16256 view-mode from help-mode.
16257 (help-xref-override-view-map): Remove.
16258 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
16259 view-mode is not used anymore.
16260
16261 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
16262
16263 * server.el (server-port): Doc fix.
16264
16265 * cus-theme.el (custom-theme-choose-mode): Inherit from
16266 special-mode (Bug#9124).
16267 (custom-theme-choose-mode-map): Add special-mode to parent.
16268
16269 2011-08-28 Alan Mackenzie <acm@muc.de>
16270
16271 * progmodes/cc-fonts.el
16272 (c-make-font-lock-BO-decl-search-function): New function.
16273 (c-basic-matchers-after - "Fontify the clauses after various
16274 keywords"): Extract the three keyword lists for the 3 erroneous
16275 constructs from the list of four, and use the new function above
16276 in place of an old one.
16277
16278 2011-08-28 Deniz Dogan <deniz@dogan.se>
16279
16280 * net/rcirc.el (rcirc-insert-prev-input)
16281 (rcirc-insert-next-input): Remove unused argument.
16282
16283 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
16284
16285 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
16286
16287 2011-08-27 Alan Mackenzie <acm@muc.de>
16288
16289 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
16290 handle function pointer parameters properly.
16291
16292 2011-08-27 Martin Rudalics <rudalics@gmx.at>
16293
16294 * window.el (display-buffer-reuse-window): Fix case where
16295 selected window was reused with non-nil OTHER-WINDOW argument.
16296 (Bug#9381)
16297
16298 2011-08-27 Deniz Dogan <deniz@dogan.se>
16299
16300 * net/rcirc.el (rcirc-check-auth-status): Adding support for
16301 oftc's NickServ messages.
16302
16303 2011-08-27 Glenn Morris <rgm@gnu.org>
16304
16305 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
16306
16307 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
16308
16309 * emacs-lisp/package.el (package-install): Call package-initialize
16310 if called interactively.
16311
16312 2011-08-26 Leo Liu <sdl.web@gmail.com>
16313
16314 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
16315
16316 2011-08-25 Juri Linkov <juri@jurta.org>
16317
16318 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
16319 `search-whitespace-regexp' (bug#9364).
16320
16321 2011-08-25 Juri Linkov <juri@jurta.org>
16322
16323 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
16324 `regexp-search-ring' to their global values to protect from
16325 updating by `read-from-minibuffer' (bug#9185).
16326
16327 2011-08-25 Juri Linkov <juri@jurta.org>
16328
16329 * textmodes/ispell.el (ispell-command-loop): Add newline
16330 at the end of the "Use option `i'..." line.
16331
16332 2011-08-25 Juri Linkov <juri@jurta.org>
16333
16334 * battery.el (display-battery-mode): If `battery-status-function'
16335 or `battery-mode-line-format' is nil, display the message and set
16336 `display-battery-mode' to nil (bug#9363).
16337
16338 2011-08-25 Eli Zaretskii <eliz@gnu.org>
16339
16340 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
16341 bidi-string-mark-left-to-right; they are unnecessary now.
16342
16343 2011-08-25 Deniz Dogan <deniz@dogan.se>
16344
16345 * net/quickurl.el: Documentation typo fixes.
16346
16347 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
16348
16349 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
16350
16351 2011-08-25 Glenn Morris <rgm@gnu.org>
16352
16353 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
16354
16355 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
16356 (smtpmail-via-smtp): Handle nil response from smtp.
16357
16358 2011-08-24 Juri Linkov <juri@jurta.org>
16359
16360 * proced.el (proced-marked): Inherit from `error' instead of
16361 `font-lock-warning-face'.
16362
16363 * ibuffer.el (ibuffer-marked-face): Change default face from
16364 `font-lock-warning-face' to `warning'.
16365 (ibuffer-deletion-face): Change default face from
16366 `font-lock-type-face' to `error'.
16367
16368 * battery.el (battery-update): Use the face `error' instead of
16369 `font-lock-warning-face' (bug#6117).
16370
16371 2011-08-24 Juri Linkov <juri@jurta.org>
16372
16373 * faces.el (success): Change face color from "Green3" to
16374 "ForestGreen" on light background (bug#9353).
16375
16376 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
16377
16378 * window.el (quit-window): Rename from quit-restore-window.
16379 Use same arglist as old quit-window.
16380 (frame-auto-delete): Doc fix.
16381
16382 * view.el (view-mode-exit): Use quit-window.
16383
16384 2011-08-24 Juri Linkov <juri@jurta.org>
16385
16386 * isearch.el (isearch-ring-adjust1): Start visiting previous
16387 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
16388 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
16389 for empty search string (when the last search string is reused
16390 automatically) to adjust the isearch ring to the last element and
16391 prepare the correct index for further M-p commands (bug#9185).
16392
16393 2011-08-24 Kenichi Handa <handa@m17n.org>
16394
16395 * international/ucs-normalize.el: If decomposition property of
16396 CHAR is the default one (i.e. a list of CHAR itself), treat it as
16397 nil.
16398 (nfd, nfkd): Likewise.
16399
16400 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
16401
16402 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
16403 from process filters aren't reliably transmitted to the surrounding
16404 accept-process-output.
16405 (mpc-proc-check): New function.
16406 (mpc-proc-sync): Use it (bug#8293)
16407
16408 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
16409
16410 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
16411 Add compatibility functions (bug#9313).
16412
16413 2011-08-23 Eli Zaretskii <eliz@gnu.org>
16414
16415 * cus-start.el (all): Add entry for bidi-paragraph-direction.
16416
16417 * international/uni-bidi.el: Regenerate.
16418
16419 2011-08-23 Kenichi Handa <handa@m17n.org>
16420
16421 * international/charprop.el:
16422 * international/uni-bidi.el:
16423 * international/uni-category.el:
16424 * international/uni-combining.el:
16425 * international/uni-comment.el:
16426 * international/uni-decimal.el:
16427 * international/uni-decomposition.el:
16428 * international/uni-digit.el:
16429 * international/uni-lowercase.el:
16430 * international/uni-mirrored.el:
16431 * international/uni-name.el:
16432 * international/uni-numeric.el:
16433 * international/uni-old-name.el:
16434 * international/uni-titlecase.el:
16435 * international/uni-uppercase.el: Regenerate.
16436
16437 2011-08-23 Martin Rudalics <rudalics@gmx.at>
16438
16439 * help.el (help-window-setup): Fix message displayed when other
16440 window is reused. (Bug#9341)
16441
16442 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
16443
16444 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
16445 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
16446
16447 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
16448 Mark obsolete.
16449 * shell.el (shell-parse-pcomplete-arguments): New function.
16450 (shell-completion-vars): Use it instead (bug#9160).
16451
16452 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
16453
16454 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
16455 strings and comments (bug#9333).
16456
16457 * emacs-lisp/debug.el (debug-arglist): New function.
16458 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
16459 (debug-on-entry-1): Handle interpreted closures (bug#9120).
16460
16461 2011-08-22 Juri Linkov <juri@jurta.org>
16462
16463 * progmodes/compile.el (compilation-mode-font-lock-keywords):
16464 Revert regexp that highlights output switches to its old
16465 pre-2010-10-28 value and remove one `?' from it (bug#9319).
16466
16467 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
16468 to check for empty output (bug#9226).
16469
16470 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
16471
16472 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
16473 symbol-constituent as the default, as that stops font-lock from
16474 working properly (Bug#8843).
16475
16476 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16477
16478 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
16479 `coding-system-for-*' around the process open call to avoid
16480 auth-source side effects.
16481 (smtpmail-try-auth-methods): Expand the secret password.
16482 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
16483 probe hangs.
16484
16485 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
16486
16487 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
16488
16489 * emacs-lisp/find-func.el (find-function-noselect): New arg
16490 lisp-only.
16491
16492 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
16493 signal an error for built-in functions (Bug#6664).
16494
16495 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16496
16497 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
16498 (smtpmail-try-auth-methods): Use it.
16499
16500 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
16501
16502 * font-lock.el (font-lock-fontify-region)
16503 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
16504 (font-lock-default-unfontify-buffer)
16505 (font-lock-default-fontify-region)
16506 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
16507
16508 * progmodes/compile.el (compilation-error-properties):
16509 Fix confusion between file struct and message struct (Bug#9319).
16510 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
16511 `ant' regexp.
16512
16513 * net/browse-url.el (browse-url-firefox): Don't call
16514 browse-url-firefox-sentinel unless using -remote (Bug#9328).
16515
16516 2011-08-20 Glenn Morris <rgm@gnu.org>
16517
16518 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
16519
16520 * tutorial.el (tutorial--default-keys): Update some default bindings.
16521
16522 * files.el (hack-local-variables): Fully ignore case for "mode:".
16523
16524 2011-08-20 Alan Mackenzie <acm@muc.de>
16525
16526 Resolve invalid use of a regexp in regexp-opt.
16527
16528 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
16529 detection for a java annotation.
16530
16531 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
16532 detection for a java annotation.
16533
16534 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
16535 handling for java.
16536 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
16537
16538 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
16539
16540 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
16541 (Bug#9274).
16542
16543 2011-08-20 Alan Mackenzie <acm@muc.de>
16544
16545 Fontify CPP expressions correctly when starting in the middle of
16546 such a construct. Mainly for when jit-lock etc. starts a chunk
16547 here.
16548
16549 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
16550 variable.
16551 (c-make-font-lock-search-form): New function, extracted from
16552 c-make-font-lock-search-function.
16553 (c-make-font-lock-search-function): Use the above function.
16554 (c-make-font-lock-context-search-function): New function.
16555 (c-cpp-matchers): Enhance the preprocessor expression case with
16556 the above function
16557 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
16558 which takes an expression.
16559
16560 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
16561
16562 2011-08-20 Martin Rudalics <rudalics@gmx.at>
16563
16564 * window.el (display-buffer-reuse-window)
16565 (display-buffer-pop-up-window): Don't reuse or split a side
16566 window.
16567
16568 2011-08-19 Glenn Morris <rgm@gnu.org>
16569
16570 * files.el (hack-local-variables-prop-line, hack-local-variables):
16571 Downcase "Mode:". (Bug#9331)
16572
16573 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
16574
16575 * international/characters.el: Add L and R categories.
16576
16577 * subr.el (bidi-string-mark-left-to-right): Rename from
16578 string-mark-left-to-right. Use category search.
16579
16580 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
16581
16582 2011-08-18 Juri Linkov <juri@jurta.org>
16583
16584 * faces.el (error, warning, success): New faces with definitions
16585 copied from old default values of `font-lock-warning-face',
16586 `compilation-warning', `compilation-info' (bug#6117).
16587
16588 * font-lock.el (font-lock-warning-face): Inherit from `error'.
16589
16590 * progmodes/compile.el (compilation-error): Inherit from `error'.
16591 (compilation-warning): Inherit from `warning'.
16592 (compilation-info): Inherit from `success'.
16593
16594 * dired.el (dired-marked): Inherit from `warning'.
16595 (dired-flagged): Inherit from `error'.
16596
16597 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
16598
16599 * mail/smtpmail.el (auth-source): Require to avoid problems with
16600 binding variables (bug#9298). Also clean up some unused
16601 autoloads.
16602
16603 * net/network-stream.el (network-stream-open-starttls):
16604 Support using starttls.el without using gnutls-cli.
16605
16606 2011-08-17 Juri Linkov <juri@jurta.org>
16607
16608 * progmodes/grep.el (rgrep): Handle the case when
16609 `grep-find-command' is a cons cell (bug#9278).
16610
16611 2011-08-17 Martin Rudalics <rudalics@gmx.at>
16612
16613 * window.el (display-buffer-pop-up-frame): Run frame creation
16614 function with BUFFER current (as special-display-popup-frame
16615 does). Reported by Drew Adams.
16616
16617 2011-08-17 Daiki Ueno <ueno@unixuser.org>
16618
16619 * epa-mail.el: Simplify GnuPG group expansion using
16620 epg-expand-group.
16621 (epa-mail-group-alist, epa-mail-group-modtime)
16622 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
16623 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
16624 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
16625 Remove.
16626
16627 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
16628
16629 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
16630
16631 2011-08-16 Alan Mackenzie <acm@muc.de>
16632
16633 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
16634 Correct, to avoid the inside of macros.
16635
16636 2011-08-16 Richard Stallman <rms@gnu.org>
16637
16638 * epa-mail.el: Handle GnuPG group definitions.
16639 (epa-mail-group-alist, epa-mail-group-modtime)
16640 (epa-mail-gnupg-conf-file): New variables.
16641 (epa-mail-parse-groups, epa-mail-sync-groups)
16642 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
16643 (epa-mail-expand-recipients): New functions.
16644 (epa-mail-encrypt): Call epa-mail-expand-recipients.
16645
16646 * mail/rmail.el (rmail-epa-decrypt): New command.
16647
16648 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
16649 Don't bind buffer-read-only, just inhibit-read-only.
16650 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
16651 (epa-decrypt-armor-in-region): Make error message clearer.
16652
16653 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
16654
16655 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
16656 and "a2b" to "ab" for `prefix'.
16657
16658 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
16659
16660 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
16661 filter groups.
16662 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
16663 Fourquet (Bug#8804).
16664
16665 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
16666
16667 * startup.el (argi): Declare as global variable (bug#9275).
16668
16669 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
16670
16671 * subr.el (string-mark-left-to-right): Search the entire string
16672 for RTL script, not just the terminating character. Doc fix.
16673
16674 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
16675
16676 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
16677 New function.
16678 (js--regexp-literal, js-syntax-propertize-function): Remove.
16679 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
16680 (js-mode-map): Don't rebind electric keys.
16681 (js-insert-and-indent): Remove.
16682 (js-mode): Setup electric-layout and electric-indent instead.
16683
16684 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
16685
16686 2011-08-12 Daiki Ueno <ueno@unixuser.org>
16687
16688 * epa.el (epa-progress-callback-function): Fix the logic of
16689 displaying progress.
16690 * epa-file.el (epa-file-insert-file-contents): Make progress
16691 display more user-friendly.
16692 (epa-file-write-region): Ditto.
16693
16694 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
16695
16696 * subr.el (string-mark-left-to-right): New function.
16697
16698 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
16699 Use string-mark-left-to-right.
16700 (list-buffers-noselect): Caller changed.
16701
16702 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16703 Use string-mark-left-to-right.
16704 (tabulated-list-print): Recenter after moving point.
16705
16706 2011-08-10 Juri Linkov <juri@jurta.org>
16707
16708 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
16709 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
16710 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
16711
16712 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
16713
16714 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
16715 (Bug#7554).
16716
16717 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
16718
16719 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
16720 character. (Bug#6594)
16721
16722 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
16723
16724 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
16725 (image-dired--with-db-file): New macro.
16726 (image-dired-write-tags, image-dired-remove-tag)
16727 (image-dired-create-gallery-lists, image-dired-write-comments)
16728 (image-dired-get-comment, image-dired-mark-tagged-files)
16729 (image-dired-list-tags, image-dired-gallery-generate): Use it.
16730 (image-dired-gallery-generate): Use insert-file-contents.
16731
16732 * time.el (display-time-world-list, display-time-world-display):
16733 * time-stamp.el (time-stamp-string):
16734 * vc/add-log.el (add-change-log-entry): Use setenv instead of
16735 set-time-zone-rule (Bug#7337).
16736
16737 2011-08-08 Daiki Ueno <ueno@unixuser.org>
16738
16739 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
16740 (epg-error-to-string, epg-errors-to-string): New function.
16741 (epg-wait-for-completion): Reverse errors list.
16742 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
16743 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
16744 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
16745 (epg-sign-keys, epg-generate-key-from-file)
16746 (epg-generate-key-from-string): Format errors by using
16747 epg-errors-to-string (bug#9255).
16748 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
16749
16750 2011-08-07 Juri Linkov <juri@jurta.org>
16751
16752 * faces.el (list-faces-display): Remove extra angle bracket
16753 from `help-mode-map'.
16754
16755 * info.el (Info-history-toc-nodes): Doc fix.
16756
16757 * longlines.el (longlines-mode): Doc fix.
16758
16759 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
16760
16761 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
16762 of statements and in a few more cases (bug#9183).
16763
16764 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
16765 New functions.
16766 (cl-transform-lambda): Use them (bug#9239).
16767
16768 2011-08-05 Martin Rudalics <rudalics@gmx.at>
16769
16770 * window.el (display-buffer-same-window)
16771 (display-buffer-same-frame, display-buffer-other-window)
16772 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
16773 (pop-to-buffer-other-window)
16774 (pop-to-buffer-same-frame-other-window)
16775 (pop-to-buffer-other-frame): Make them defuns.
16776 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
16777
16778 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
16779
16780 * subr.el (make-composed-keymap): Move from C. Change calling
16781 convention, and improve docstring to bring attention to a subtle point.
16782 * minibuffer.el (completing-read-default): Adjust accordingly.
16783
16784 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
16785
16786 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
16787 (tramp-open-shell): Use `tramp-shell-quote-argument'.
16788
16789 * net/trampver.el: Update release number.
16790
16791 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
16792
16793 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
16794 "in" (bug#9190).
16795
16796 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16797
16798 * mail/sendmail.el (sendmail-query-once): Restore the current
16799 buffer after querying (bug#9074).
16800
16801 * dired.el (dired-flagged): Use different faces for marked and
16802 flagged files (bug#6117).
16803
16804 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
16805 (bug#4433).
16806
16807 * ido.el (ido-mode): Switch off the message if called
16808 non-interactively.
16809
16810 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
16811 before 587, since it appears that that's more likely to work for
16812 more people.
16813
16814 * cus-edit.el (custom-file): When running under emacs -q, always
16815 refuse to save the customizations, even if the .emacs file doesn't
16816 exist.
16817
16818 * info.el: Remove the `Info-beginning-of-buffer' function
16819 (bug#8325).
16820
16821 * net/network-stream.el (network-stream-open-starttls):
16822 Use `starttls-available-p' to see whether starttls.el can be used.
16823
16824 2011-08-01 Martin Rudalics <rudalics@gmx.at>
16825
16826 * window.el (display-buffer-in-window): Don't set dedicated status
16827 of window here (Bug#9215).
16828 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
16829 (display-buffer-pop-up-side-window)
16830 (display-buffer-in-side-window): Set dedicated status of window here.
16831
16832 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
16833
16834 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
16835 before binding generated-autoload-file.
16836
16837 2011-08-01 Deniz Dogan <deniz@dogan.se>
16838
16839 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
16840
16841 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
16842
16843 Sync with Tramp 2.2.2.
16844
16845 * net/trampver.el: Update release number.
16846
16847 2011-07-30 Juri Linkov <juri@jurta.org>
16848
16849 * dired-aux.el (dired-touch-initial): Remove function.
16850 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
16851 current time, and `default' to the last modification time of the
16852 current marked file (bug#6887).
16853
16854 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
16855
16856 * simple.el (goto-line): Use string-to-number to provide a
16857 numeric argument to read-number (bug#9163).
16858
16859 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
16860
16861 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
16862 connection process, it could be nil.
16863
16864 2011-07-27 Leo Liu <sdl.web@gmail.com>
16865
16866 Simplify url handling in rcirc-mode.
16867
16868 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
16869 (rcirc-browse-url-at-mouse): Remove.
16870 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
16871
16872 2011-07-26 Alan Mackenzie <acm@muc.de>
16873
16874 Fontify bitfield declarations properly.
16875
16876 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
16877 (c-symbol-chars): Now exported as a lang variable.
16878 (c-not-primitive-type-keywords): New lang variable.
16879
16880 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
16881 QT keyword "more" to prevent "more slots: ...." being spuriously
16882 parsed as a bitfield declaration.
16883
16884 * progmodes/cc-engine.el (c-beginning-of-statement-1):
16885 Refactor and enhance to handle bitfield declarations.
16886 (c-punctuation-in): New function.
16887 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
16888 declarations properly.
16889
16890 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
16891
16892 * calendar/icalendar.el (icalendar--all-events): Take care of
16893 multiple vcalendars in a single file.
16894 (icalendar--convert-float-to-ical): Checkdoc fixes.
16895
16896 2011-07-25 Deniz Dogan <deniz@dogan.se>
16897
16898 * image.el (insert-image): Clarifying docstring.
16899
16900 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
16901
16902 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
16903 `tramp-send-command-and-check' if there is no error.
16904 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
16905
16906 2011-07-22 Alan Mackenzie <acm@muc.de>
16907
16908 Prevent cc-langs.elc being loaded at run time.
16909
16910 * progmodes/cc-mode.el: Remove two autoload forms which loaded
16911 cc-langs.
16912
16913 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
16914 "(require 'cc-langs)". Quote a form so it will evaluate at
16915 (cc-mode's) compilation time.
16916
16917 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
16918
16919 * net/tramp.el (tramp-file-name-handler): Avoid recursive
16920 loading. (Bug#9114)
16921
16922 2011-07-21 Martin Rudalics <rudalics@gmx.at>
16923
16924 * window.el (display-buffer-pop-up-window)
16925 (display-buffer-pop-up-side-window)
16926 (display-buffer-in-side-window): Call display-buffer-set-height
16927 and display-buffer-set-width after setting the new window's
16928 buffer so `fit-window-to-buffer' and friends work on the right buffer.
16929
16930 2011-07-20 Sam Steingold <sds@gnu.org>
16931
16932 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
16933 (etags-tags-included-tables): Call `convert-standard-filename' on
16934 the file names contained in TAGS so that windows Emacs can handle
16935 TAGS files created by cygwin ctags.
16936
16937 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
16938
16939 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
16940 which apparently didn't work.
16941
16942 2011-07-19 Roland Winkler <winkler@gnu.org>
16943
16944 * proced.el (proced-send-signal): For *Marked Processes* buffer
16945 put point at beginning of buffer.
16946
16947 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
16948
16949 * proced.el (proced-format): Make header lines align with the text
16950 (bug#1779).
16951
16952 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
16953
16954 * view.el (view-buffer): Allow running in `special' modes if we're
16955 visiting a file (bug#8615).
16956
16957 2011-07-19 Martin Rudalics <rudalics@gmx.at>
16958
16959 * window.el (display-buffer-alist-of-strings-p)
16960 (display-buffer-alist-set-1, display-buffer-alist-set-2):
16961 New functions.
16962 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
16963 more accurately.
16964
16965 2011-07-18 Alan Mackenzie <acm@muc.de>
16966
16967 Fontify declarators properly when, e.g., a jit-lock chunk begins
16968 inside a declaration.
16969
16970 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
16971
16972 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
16973 New function.
16974 (c-complex-decl-matchers): Insert reference to
16975 c-font-lock-enclosing-decls.
16976
16977 * progmodes/cc-engine.el (c-backward-single-comment):
16978 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
16979 to nil around calls to (forward-comment -1).
16980
16981 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
16982
16983 * image.el (put-image): Doc typo fix.
16984
16985 * progmodes/etags.el (tags-search): Doc typo fix.
16986
16987 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
16988 password if we get errors 550 to 554.
16989
16990 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
16991
16992 * net/gnutls.el (gnutls-log-level): Remove.
16993
16994 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
16995 indentation character (bug#6380).
16996
16997 * files.el (buffer-offer-save): Made permanently local (bug#6241).
16998
16999 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
17000 to clarify what the problem is (bug#4291).
17001
17002 * simple.el (current-kill): Clarify what
17003 `interprogram-paste-function' does (bug#7500).
17004 (auto-fill-mode): Document `auto-fill-function' in relation to
17005 `auto-fill-mode' (bug#2470).
17006
17007 2011-07-16 Lawrence Mitchell <wence@gmx.li>
17008
17009 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
17010 method if slot is read-only (bug#9035).
17011
17012 2011-07-16 Martin Rudalics <rudalics@gmx.at>
17013
17014 * frame.el (select-frame-set-input-focus): New argument NORECORD.
17015 * window.el (pop-to-buffer): Select window used even if it was
17016 selected before, see discussion of (Bug#8615), (Bug#6954).
17017 Pass argument NORECORD on to select-frame-set-input-focus.
17018
17019 2011-07-15 Glenn Morris <rgm@gnu.org>
17020
17021 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
17022 Respect help-form.
17023
17024 2011-07-09 Lawrence Mitchell <wence@gmx.li>
17025
17026 * net/gnutls.el (gnutls-min-prime-bits): New variable.
17027 (gnutls-negotiate): Use it.
17028
17029 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
17030
17031 * net/gnutls.el (gnutls-negotiate):
17032 Upcase `gnutls-algorithm-priority'.
17033
17034 2011-07-15 Glenn Morris <rgm@gnu.org>
17035
17036 * jka-compr.el (jka-compr-verbose): Move from here...
17037 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
17038 Add missing :version tag.
17039 * info.el: No need to require jka-compr when compiling.
17040
17041 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
17042
17043 * net/gnutls.el (gnutls-algorithm-priority): New variable.
17044 (gnutls-negotiate): Use it.
17045
17046 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
17047
17048 * info.el (Info-beginning-of-buffer): New command.
17049 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
17050 announcing `b' as the key (bug#8325).
17051 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
17052
17053 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
17054
17055 * international/mule-cmds.el
17056 (describe-specified-language-support): Make the error message
17057 clearer (bug#8905).
17058
17059 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
17060
17061 * isearch.el (isearch-barrier): Add a doc string, since it's
17062 mentioned in a function doc string (bug#8678).
17063
17064 2011-07-15 Martin Rudalics <rudalics@gmx.at>
17065
17066 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
17067 buffer argument (Bug#9083) and self-identifying label argument.
17068
17069 2011-07-15 Glenn Morris <rgm@gnu.org>
17070
17071 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
17072
17073 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
17074
17075 * man.el (Man-fontify-manpage): Fix message when formatting the
17076 man page (bug#7929).
17077
17078 2011-07-14 Eli Zaretskii <eliz@gnu.org>
17079
17080 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
17081 argument LRM; if non-nil, append an invisible LRM character to the
17082 buffer name.
17083 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
17084 last argument non-nil, when formatting buffer names.
17085 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
17086 paragraph direction.
17087
17088 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
17089
17090 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
17091 the man page name (bug#7929).
17092
17093 * image.el (put-image): Mention the `put-image' overlay property
17094 (bug#7834).
17095
17096 * scroll-bar.el (set-scroll-bar-mode): Mention that
17097 `scroll-bar-mode' lists the values (bug#7772).
17098
17099 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
17100 command (bug#7729).
17101
17102 * rect.el (apply-on-rectangle): Return the point after the last
17103 operation.
17104 (string-rectangle): Go to the point after the last operation
17105 (bug#7522).
17106
17107 * printing.el (pr-toggle-region): Clarify the documentation
17108 slightly (bug#7493).
17109
17110 * time.el (display-time-update):
17111 Allow `display-time-mail-function' to return nil (bug#7158).
17112 Fix suggested by Detlev Zundel.
17113
17114 * vc/diff.el (diff): Clarify the order the file names are read
17115 (bug#7111).
17116
17117 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
17118 the doc string (bug#7015).
17119
17120 * font-lock.el (font-lock-maximum-decoration): Mention what
17121 numeric levels mean (bug#6935).
17122
17123 * startup.el (initial-buffer-choice): Don't mention the `none'
17124 selection, which is against policy.
17125
17126 2011-07-14 Martin Rudalics <rudalics@gmx.at>
17127
17128 * window.el (display-buffer-normalize-special):
17129 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
17130
17131 2011-07-14 Eli Zaretskii <eliz@gnu.org>
17132
17133 * subr.el (version<, version<=, version=): Mention "-CVS" and
17134 "-12345" alpha version numbers.
17135
17136 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
17137
17138 * bindings.el: Add advertised binding for set-mark-command
17139 (Bug#5772).
17140
17141 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
17142
17143 * bindings.el (mode-line-other-buffer):
17144 * bookmark.el (bookmark-bmenu-2-window):
17145 * bs.el (bs-cycle-next, bs-cycle-previous):
17146 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
17147 switch-to-buffer.
17148
17149 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
17150 Delete.
17151
17152 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
17153
17154 * follow.el (follow-debug-message, follow-redisplay):
17155 * jka-cmpr-hook.el (with-auto-compression-mode):
17156 Fix typos in docstrings.
17157
17158 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17159
17160 * subr.el (with-silent-modifications): Clarify somewhat what the
17161 macro inhibits (bug#6525).
17162
17163 * simple.el (eval-expression): Note what it does if called
17164 interactively (bug#6495).
17165
17166 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
17167
17168 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
17169 Use pop-to-buffer buffer-or-name if it is nil.
17170
17171 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17172 Remove switch-to-buffer.
17173
17174 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17175
17176 * files.el (make-directory): Clarify that an error will be raised
17177 if there's an error (bug#6397).
17178
17179 * startup.el (initial-buffer-choice): Add `none' as a choice
17180 (bug#6234).
17181
17182 * subr.el (add-hook): Clarify section about buffer-local hooks
17183 (bug#6218).
17184
17185 * dired.el (dired-flagged): Clarify doc string (bug#6117).
17186
17187 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
17188
17189 * tabify.el (untabify): Preserve the current column so that point
17190 doesn't move (bug#6032).
17191
17192 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17193
17194 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
17195 Rewrite to avoid awkward possessive "s" (bug#5986).
17196
17197 2011-07-13 Glenn Morris <rgm@gnu.org>
17198
17199 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
17200 (dired-insert-directory): Give a message the first time
17201 if ls is found not to support --dired.
17202
17203 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17204
17205 * simple.el (toggle-truncate-lines): Clarify what is toggled
17206 (bug#5580). Text by Drew Adams.
17207
17208 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
17209
17210 * simple.el (blink-matching-open): Make the error message from the
17211 last change less verbose.
17212
17213 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
17214
17215 * font-lock.el (font-lock-comment-face): Use the high contrast
17216 "yellow" color for font-lock-comment-face on low color terminals
17217 using a dark background color (bug#4221).
17218
17219 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17220
17221 * dired.el (dired-insert-set-properties): Make the doc string
17222 reflect what it does now (bug#5325).
17223
17224 * simple.el (blink-matching-open): Say that we were unable to find
17225 the match within the limit, if we're limited (bug#5122).
17226
17227 * international/mule-cmds.el (prefer-coding-system): Add an
17228 example (bug#4869).
17229
17230 * progmodes/etags.el (tags-search): Document `file-list-form'
17231 (bug#4731).
17232
17233 2011-07-13 Lawrence Mitchell <wence@gmx.li>
17234
17235 * net/browse-url.el (browse-url-default-browser)
17236 (browse-url-browser-function): Make the default browser choice a
17237 bit more logical (bug#4300). Also clean up the doc string.
17238
17239 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
17240
17241 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
17242 binary endings (bug#4440).
17243
17244 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17245
17246 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
17247 which can be pretty annoying (bug#8971).
17248
17249 * jka-compr.el (jka-compr-verbose): New variable, and use
17250 throughout (bug#8971).
17251
17252 * info.el (Info-find-file): Fall back on the installation
17253 directory if we can't find the info node anywhere else.
17254
17255 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
17256
17257 * vc/vc.el (vc-revert-file):
17258 Don't set file time-stamp in the past. (Bug#5181)
17259
17260 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
17261
17262 * files.el (after-find-file): Give a better error message when
17263 trying to find a symlink that points to a file that doesn't exist
17264 (bug#4398).
17265
17266 * progmodes/cc-vars.el: Remove (probably) misleading comment
17267 (bug#4396).
17268
17269 2011-07-12 Johan Bockgård <bojohan@gnu.org>
17270
17271 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
17272
17273 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
17274
17275 * mouse-sel.el: Hack restoring functionality, while keeping
17276 compatibility with 2010-07-03 changes to mouse selection.
17277 (mouse-sel-primary-overlay): New var.
17278 (mouse-sel-selection-alist): Use it.
17279 (mouse-sel-mode): Doc fix; remove points that are default features
17280 of mouse.el.
17281
17282 2011-07-12 Johan Bockgård <bojohan@gnu.org>
17283
17284 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17285 Fix previous fix (bug#2490).
17286
17287 2011-07-12 Roland Winkler <winkler@gnu.org>
17288
17289 * textmodes/bibtex.el (bibtex-initialize):
17290 Use pop-to-buffer-same-window.
17291 (bibtex-search-entries): Fix interactive call.
17292
17293 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
17294
17295 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17296 Fontise bytecomp Error lines more correctly (bug#2490).
17297 Fix suggested by Johan Bockgård.
17298
17299 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
17300
17301 * dired-x.el (dired-guess-default): Use `delete-dups'.
17302
17303 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
17304
17305 * dired.el (dired-mark-prompt):
17306 * dired-aux.el (dired-read-shell-command): Doc fix.
17307
17308 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17309
17310 * mail/sendmail.el (sendmail-query-once):
17311 Use `customize-save-variable' unconditionally, now that it works under
17312 emacs -Q.
17313
17314 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
17315
17316 * cus-edit.el (custom-file): Take an optional no-error variable.
17317 (customize-save-variable): Set the variable, and give a warning if
17318 running under "emacs -q".
17319
17320 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
17321
17322 * loadhist.el (unload-feature-special-hooks):
17323 Add `auto-coding-functions', `fill-nobreak-predicate' and
17324 `find-directory-functions' (bug#5327).
17325
17326 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17327
17328 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
17329
17330 * cus-edit.el (custom-guess-name-alist): -alist variables should
17331 use the `alist' type (bug#3120). Suggested by Drew Adams.
17332
17333 * printing.el: Add documentation to all the `pr-toggle-' commands.
17334
17335 2011-07-11 Leo Liu <sdl.web@gmail.com>
17336
17337 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
17338 backends where it makes sense (bug#2623).
17339
17340 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17341
17342 * dired-x.el (dired-guess-default): Remove duplicate shell command
17343 entries (bug#2028).
17344 (dired-guess-default): Fix grammar in doc string (bug#2028).
17345 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
17346
17347 * subr.el (remove-duplicates): New conveniency function.
17348
17349 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
17350
17351 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
17352 (bug#1526).
17353
17354 2011-07-10 Martin Rudalics <rudalics@gmx.at>
17355
17356 * window.el (display-buffer-normalize-default): Don't invert
17357 meaning of even-window-heights. Reported by Eli Zaretskii
17358 <eliz@gnu.org>.
17359
17360 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
17361
17362 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
17363
17364 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
17365
17366 * window.el (display-buffer): Fix arguments to
17367 display-buffer-reuse-window in last change.
17368
17369 * faces.el (link): Use a less saturated blue on light backgrounds.
17370
17371 * startup.el (fancy-startup-text, fancy-about-text)
17372 (fancy-startup-tail): Use font-lock faces, for background safety.
17373
17374 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
17375
17376 * emulation/viper-cmd.el (viper-change-state-to-vi):
17377 Limit triggering of abbrev expansion (Bug#9038).
17378
17379 2011-07-09 Martin Rudalics <rudalics@gmx.at>
17380
17381 * window.el (display-buffer-default-specifiers): Remove.
17382 (display-buffer-macro-specifiers): Remove default specifiers.
17383 (display-buffer-alist): Default to nil.
17384 (display-buffer-reuse-window): New optional argument other-window.
17385 (display-buffer-pop-up-window): Allow splitting internal
17386 windows. Check whether a live window was created.
17387 (display-buffer-other-window-means-other-frame)
17388 (display-buffer-normalize-arguments): Rename to
17389 display-buffer-normalize-argument and rewrite. Set the
17390 other-window specifier.
17391 (display-buffer-normalize-special): New function.
17392 (display-buffer-normalize-options): Rename to
17393 display-buffer-normalize-default and rewrite.
17394 (display-buffer-normalize-options-inhibit): Remove.
17395 (display-buffer-normalize-specifiers): Rewrite.
17396 (display-buffer): Process other-window specifier and call
17397 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
17398 more faithfully.
17399 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
17400 (display-buffer-alist-set): Don't handle 'unset default values.
17401 (display-buffer-in-window, display-buffer-alist-set):
17402 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
17403 <tassilo@member.fsf.org>.
17404
17405 2011-07-09 Leo Liu <sdl.web@gmail.com>
17406
17407 * register.el (insert-register): Restore accidental change on
17408 2011-06-26. (Bug#9028)
17409
17410 2011-07-09 Glenn Morris <rgm@gnu.org>
17411
17412 * subr.el (remq): Handle the empty list. (Bug#9024)
17413
17414 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
17415
17416 * mail/sendmail.el (send-mail-function): No longer delay custom
17417 initialization.
17418 * custom.el (custom-initialize-delay): Doc fix.
17419
17420 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
17421
17422 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
17423
17424 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
17425
17426 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
17427 human-friendly prompt.
17428
17429 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
17430
17431 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
17432 provided by a particular plugin.
17433
17434 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
17435
17436 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
17437 save customizations (with "emacs -Q"), just set the variable
17438 instead of erroring out.
17439
17440 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
17441
17442 2011-07-08 Juri Linkov <juri@jurta.org>
17443
17444 * arc-mode.el (archive-zip-expunge, archive-zip-update)
17445 (archive-zip-update-case): Use 7z if found by `executable-find'.
17446 The order of searching the available programs is the same as in
17447 `archive-zip-extract' (bug#8968).
17448
17449 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
17450
17451 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
17452 (menu-bar-options-menu): Tweak descriptions.
17453
17454 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
17455
17456 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
17457 menu items into verb phrases (bug#1421). Also refill to fit under
17458 80 columns.
17459
17460 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
17461
17462 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
17463 (Info-read-node-name): Doc fix (Bug#1084).
17464
17465 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
17466 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
17467 (end-of-sexp, beginning-of-sexp)
17468 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
17469 (forward-symbol, forward-same-syntax, word-at-point)
17470 (sentence-at-point): Doc fix (Bug#1144).
17471
17472 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
17473
17474 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
17475 should cover it (bug#1281).
17476
17477 * cus-edit.el (custom-show): Mark as obsolete.
17478
17479 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
17480 negotiation fails, then possibly try again with a non-encrypted
17481 connection (bug#9017).
17482
17483 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
17484 be used.
17485
17486 2011-07-07 Richard Stallman <rms@gnu.org>
17487
17488 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
17489 property, and handle its changed format.
17490 Look for the correct line number.
17491 Use file's line contents (but not past first =) to find
17492 correct line in message.
17493
17494 2011-07-07 Kenichi Handa <handa@m17n.org>
17495
17496 * international/characters.el (build-unicode-category-table):
17497 Delete it.
17498 (unicode-category-table): Set it by unicode-property-table-internal.
17499
17500 * international/mule-cmds.el (char-code-property-alist): Move to
17501 to src/chartab.c.
17502 (get-char-code-property): Call unicode-property-table-internal to
17503 load a file. Call get-unicode-property-internal where necessary.
17504 (put-char-code-property): Call unicode-property-table-internal to
17505 load a file. Call put-unicode-property-internal where necessary.
17506 put-unicode-property-internal where necessary.
17507 (char-code-property-description):
17508 Call unicode-property-table-internal to load a file.
17509
17510 * international/charprop.el:
17511 * international/uni-bidi.el:
17512 * international/uni-category.el:
17513 * international/uni-combining.el:
17514 * international/uni-comment.el:
17515 * international/uni-decimal.el:
17516 * international/uni-decomposition.el:
17517 * international/uni-digit.el:
17518 * international/uni-lowercase.el:
17519 * international/uni-mirrored.el:
17520 * international/uni-name.el:
17521 * international/uni-numeric.el:
17522 * international/uni-old-name.el:
17523 * international/uni-titlecase.el:
17524 * international/uni-uppercase.el: Regenerate.
17525
17526 * loadup.el: Load international/charprop.el before
17527 international/characters.
17528
17529 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
17530
17531 * window.el (next-buffer, previous-buffer): Signal an error if
17532 called from a minibuffer window.
17533
17534 * bindings.el: Revert 2011-07-04 change.
17535
17536 2011-07-06 Richard Stallman <rms@gnu.org>
17537
17538 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
17539 (rmail-mime-insert-bulk, rmail-mime-insert-text):
17540 Treat markers like ints.
17541 (rmail-mime-entity): Doc fix.
17542
17543 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
17544
17545 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
17546 defcustom again for backwards compatibility.
17547
17548 * simple.el (shell-command-on-region): Fill.
17549
17550 * dired-aux.el (dired-kill-line): Add a doc string.
17551
17552 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
17553 to "\\sw\\|\\s_" (bug#358).
17554
17555 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
17556 (dired-unmark-backward): Ditto.
17557 (dired-flag-backup-files): Ditto.
17558
17559 * dired-x.el (dired-mark-sexp): Ditto.
17560
17561 2011-07-06 Richard Stallman <rms@gnu.org>
17562
17563 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
17564 (rmail-mime-entity): New arg TRUNCATED.
17565 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
17566 New functions.
17567 (rmail-mime-save): Warn if entity is truncated.
17568 (rmail-mime-toggle-hidden): Likewise, for showing.
17569 (rmail-mime-process-multipart): Record when an entity is truncated.
17570
17571 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
17572 if ENTITY is a string.
17573
17574 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
17575
17576 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
17577 of faces when `M-C-x'-ing their definitions (bug#8378).
17578 Also clean up the code slightly.
17579
17580 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
17581 because that makes the colors go away.
17582
17583 * mail/sendmail.el (send-mail-function): Change the default to
17584 `sendmail-query-once'.
17585 (sendmail-query-once): Add an autoload cookie.
17586
17587 * net/network-stream.el (network-stream-open-starttls): Try using
17588 a plain connection even if the server offered STARTTLS, and we
17589 kinda wanted to use it, if Emacs doesn't have any STARTTLS
17590 capability. This should make smtpmail.el work in slightly more
17591 configurations.
17592
17593 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
17594
17595 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
17596 New defun.
17597 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
17598
17599 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
17600
17601 * progmodes/sql.el: Version 3.0
17602 (sql-product-alist): Add product :completion-object,
17603 :completion-column, and :statement attributes.
17604 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
17605 (sql-mode-syntax-table): Mark all punctuation.
17606 (sql-font-lock-keywords-builder): Temporarily remove fallback on
17607 ansi keywords.
17608 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
17609 (sql-mode-oracle-font-lock-keywords): Improve.
17610 (sql-oracle-show-reserved-words): New function for development.
17611 (sql-product-font-lock): Simplify for source code buffers.
17612 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
17613 New functions.
17614 (sql-highlight-product): Set product specific syntax table.
17615 (sql-mode-map): Add statement movement functions.
17616 (sql-ansi-statement-starters, sql-oracle-statement-starters):
17617 New variable.
17618 (sql-statement-regexp, sql-beginning-of-statement)
17619 (sql-end-of-statement, sql-signum): New functions.
17620 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
17621 (sql-show-sqli-buffer): Bug fix.
17622 (sql-interactive-mode): Store connection data as buffer local.
17623 (sql-connect): Add NEW-NAME parameter. Redesign interaction
17624 with sql-interactive-mode.
17625 (sql-save-connection): Save buffer local settings.
17626 (sql-connection-menu-filter): Change menu entry name.
17627 (sql-product-interactive): Bug fix.
17628 (sql-preoutput-hold): New variable.
17629 (sql-interactive-remove-continuation-prompt): Bug fixes.
17630 (sql-debug-redirect): New variable.
17631 (sql-str-literal): New function.
17632 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
17633 Redesign.
17634 (sql-oracle-save-settings, sql-oracle-restore-settings)
17635 (sql-oracle-list-all, sql-oracle-list-table): New functions.
17636 (sql-completion-object, sql-completion-column)
17637 (sql-completion-sqlbuf): New variables.
17638 (sql-build-completions-1, sql-build-completions)
17639 (sql-try-completion): New functions.
17640 (sql-read-table-name): Use them.
17641 (sql-contains-names): New buffer local variable.
17642 (sql-list-all, sql-list-table): Use it.
17643 (sql-oracle-completion-types): New variable.
17644 (sql-oracle-completion-object, sql-sqlite-completion-object)
17645 (sql-postgres-completion-object): New functions.
17646
17647 2011-07-06 Glenn Morris <rgm@gnu.org>
17648
17649 * window.el (pop-to-buffer): Doc fix.
17650
17651 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
17652
17653 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
17654
17655 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
17656
17657 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
17658
17659 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
17660
17661 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
17662
17663 * button.el (button): Inherit from link face. Suggested by Dan
17664 Nicolaescu.
17665
17666 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
17667
17668 * progmodes/gdb-mi.el: Fit in 80 columns.
17669 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
17670 switch-to-buffer.
17671
17672 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
17673 if imenu is simply not configured (bug#8941).
17674
17675 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
17676
17677 * allout.el (allout-post-undo-hook): New allout outline-change
17678 event hook to signal undo activity.
17679 (allout-post-command-business): Run allout-post-undo-hook if an
17680 undo just occurred.
17681 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
17682 * allout-widgets.el (allout-widgets-after-undo-function):
17683 Ensure the integrity of the current item's decoration after it has been
17684 in the vicinity of an undo.
17685 (allout-widgets-mode): Include allout-widgets-after-undo-function
17686 on the new allout-post-undo-hook.
17687
17688 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
17689
17690 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
17691 Let define-derived-mode define it.
17692 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
17693 cycles of abbrev-table inheritance (bug#8998).
17694
17695 2011-07-05 Roland Winkler <winkler@gnu.org>
17696
17697 * textmodes/bibtex.el: Add support for biblatex.
17698 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
17699 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
17700 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
17701 (bibtex-entry-alist, bibtex-field-alist): New variables.
17702 (bibtex-entry-field-alist): Obsolete alias for
17703 bibtex-BibTeX-entry-alist.
17704 (bibtex-entry-alist, bibtex-field-alist): New widgets.
17705 (bibtex-set-dialect): New command.
17706 (bibtex-entry-type, bibtex-entry-head)
17707 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
17708 Bind via bibtex-set-dialect.
17709 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
17710 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
17711 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
17712 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
17713 Define via bibtex-set-dialect.
17714 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
17715 Obey bibtex-no-opt-remove-re.
17716 (bibtex-vec-push, bibtex-vec-incr): New functions.
17717 (bibtex-format-entry, bibtex-field-list)
17718 (bibtex-print-help-message, bibtex-validate)
17719 (bibtex-search-entries): Use new format of bibtex-entry-alist.
17720
17721 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
17722
17723 * progmodes/compile.el (compilation-goto-locus):
17724 * net/tramp-cmds.el (tramp-append-tramp-buffers):
17725 * bs.el (bs-cycle-next, bs-cycle-previous):
17726 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
17727 * bindings.el (mode-line-other-buffer):
17728 * autoinsert.el (auto-insert):
17729 * arc-mode.el (archive-extract):
17730 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
17731
17732 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
17733
17734 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
17735 Fix check of `emacs-lock-unlockable-modes'.
17736 Coerce true values of `emacs-lock--try-unlocking' to t.
17737
17738 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
17739
17740 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
17741 * emacs-lock.el: New file.
17742
17743 2011-07-05 Julien Danjou <julien@danjou.info>
17744
17745 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
17746 than `boundp' to check if face is set.
17747
17748 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
17749
17750 * register.el (registerv-make):
17751 * window.el (window-min-height): Fix typos in docstrings.
17752
17753 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
17754
17755 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
17756 Update doc string.
17757
17758 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
17759
17760 * server.el (server-execute): Catch quit and call
17761 `server-return-error' to pass the error back to emacsclient and
17762 close the connection (bug#8942).
17763
17764 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
17765
17766 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
17767 insecure exception for current topic. Also note that auto-saves
17768 are handled differently.
17769
17770 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
17771 State variables for tracking auto-save inhibition situation.
17772
17773 (allout-write-contents-hook-handler): Rename from
17774 'allout-write-file-hook-handler', and describe how it depends on
17775 write-contents-functions sensitivity to non-nil value to prevent
17776 file write.
17777
17778 (allout-auto-save-hook-handler): Remove. auto-save does not check
17779 this in individual buffers, only in the starting buffer, so this
17780 is not the right way for us to inhibit auto-save in a buffer
17781 according to its condition.
17782
17783 (allout-mode): Use new allout-write-contents-hook-handler, and
17784 only with write-contents-functions. Remove auto-save provisions -
17785 they're implemented elsewhere.
17786
17787 (allout-before-change-handler): If undo is in progress, note that
17788 for attention of allout-post-command-business.
17789
17790 (allout-post-command-business): If the command we're following was
17791 an undo, check for change in the status of encrypted items and
17792 adjust auto-save inhibitions accordingly.
17793
17794 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
17795 according to whether there are or aren't any plain-text topics
17796 pending encryption.
17797
17798 (allout-inhibit-auto-save-info-for-decryption):
17799 Adjust buffer-saved-size and some allout state to inhibit auto-saves
17800 if there are plain-text topics pending encryption.
17801
17802 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
17803 buffer-saved-size and some allout state to not inhibit auto-saves
17804 if there are no longer any plain-text topics pending encryption.
17805
17806 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
17807 No longer provide for exemption of the current topic.
17808
17809 2011-07-04 Juri Linkov <juri@jurta.org>
17810
17811 Add 7z operations to delete and save changed members (bug#8968).
17812 * arc-mode.el (archive-7z-expunge, archive-7z-update):
17813 New defcustoms.
17814 (archive-7z-write-file-member): New function.
17815 (archive-7z-summarize): Fix the number of dashes in the
17816 listing output.
17817
17818 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
17819
17820 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
17821 (bug#8958).
17822
17823 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
17824
17825 * bindings.el: Ignore next-buffer and previous-buffer in
17826 minibuffer-local-map.
17827
17828 * font-lock.el (font-lock-builtin-face): Change light background
17829 color to dark slate blue (Bug#6693).
17830
17831 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
17832
17833 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
17834
17835 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
17836
17837 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
17838 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17839 Add switch-to-buffer.
17840
17841 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
17842
17843 * isearch.el (isearch-search-fun-function): Clarify further the
17844 meaning of the function returned.
17845
17846 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
17847
17848 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
17849
17850 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
17851 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
17852 Use it.
17853 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
17854 `tramp-default-remote-path' does not exist.
17855 (tramp-send-command-and-read): New optional argument NOERROR.
17856 (tramp-open-connection-setup-interactive-shell)
17857 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
17858 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
17859 (tramp-process-sentinel): Flush also process' connection property.
17860 (tramp-sh-handle-start-file-process): Do not set process
17861 sentinel. It is done now ...
17862 (tramp-maybe-open-connection): ... here. (Bug#8929)
17863
17864 2011-07-04 MON KEY <monkey@sandpframing.com>
17865
17866 * play/animate.el (animate-string): Doc fixes and allow changing
17867 the buffer name (bug#5417).
17868
17869 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
17870
17871 * play/animate.el (animation-buffer-name): Rename from *animate*.
17872
17873 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
17874
17875 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
17876 This is simpler and helps future-proof the code.
17877 (timer-until): Use time-subtract and float-time.
17878 (timer--time-less-p): Use time-less-p.
17879
17880 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
17881
17882 * type-break.el (timep): Use the value of `float-time' to avoid a
17883 byte-compiler warning.
17884
17885 * server.el (server-eval-and-print): Return any result, even nil.
17886
17887 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
17888
17889 * type-break.el: Accept time formats that the builtins accept.
17890 (timep, type-break-time-difference): Accept any format that
17891 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
17892 This is simpler and helps future-proof the code.
17893 (type-break-time-difference): Round rather than ignoring
17894 subseconds components.
17895
17896 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17897
17898 * info.el (Info-apropos-matches): Make non-interactive, since it
17899 doesn't seem to do anything useful as a command (bug#8829).
17900
17901 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
17902
17903 * frame.el (frame-background-mode, frame-set-background-mode):
17904 Move from faces.el.
17905 (frame-default-terminal-background): New function.
17906
17907 * custom.el (custom-push-theme): Don't record faces in `changed'
17908 theme; this doesn't work correctly for per-frame face settings.
17909 (disable-theme): Use face-set-after-frame-default to reset faces.
17910 (custom--frame-color-default): New function.
17911
17912 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17913
17914 * dired.el (dired-flagging-regexp): Remove unused variable
17915 (bug#8769).
17916
17917 2011-03-29 Kevin Ryde <user42@zip.com.au>
17918
17919 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17920 `perl-Test2' extend to match possible "fail #N" rep count
17921 (bug#8377).
17922
17923 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17924
17925 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
17926 `smtpmail-via-smtp' now returns the error instead of nil.
17927
17928 * isearch.el (isearch-search-fun-function): Clarify the doc string
17929 (bug#8101).
17930
17931 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
17932
17933 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
17934 unnecessary spaces (bug#8987).
17935
17936 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17937
17938 * net/network-stream.el (open-network-stream): Use the
17939 :end-of-capability command thoughout.
17940
17941 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
17942
17943 * net/network-stream.el (open-network-stream): Add the
17944 :end-of-capability command parameter, used by pop3.el.
17945
17946 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17947
17948 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
17949
17950 * fringe.el (fringe-query-style): Remove redundant text " (type ?
17951 for list)" (bug#6475).
17952
17953 * files.el (file-expand-wildcards): Ignore non-readable
17954 sub-directories while trying to find matches instead of signaling
17955 an error (bug#6297).
17956
17957 * man.el (Man-reference-regexp): Allow matching possible
17958 word-wrapped references (bug#6289).
17959
17960 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
17961 for consistency with the other vc buffers (bug#6197).
17962 (vc-checkin): Ditto.
17963
17964 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
17965
17966 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
17967
17968 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17969
17970 * custom.el (defcustom): Clarify that :set is only used in the
17971 Customize user interface (bug#6089).
17972
17973 * progmodes/flymake.el (flymake-mode): If the buffer isn't
17974 associated with a file, refuse to run instead of erroring out
17975 (bug#6084).
17976
17977 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
17978 the doc string, since it appears that using `fill-column' always
17979 controls the width (bug#7845).
17980
17981 * simple.el (shell-command-on-region): Say where the error output
17982 went if `shell-command-default-error-buffer' is set (bug#6857).
17983
17984 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
17985
17986 * allout.el (allout-yank-processing): Adjust cursor position for
17987 backwards-deleted space.
17988
17989 (allout-rebullet-heading): Register changes with
17990 allout-exposure-changed-hook, so the modified topic is properly
17991 decorated.
17992
17993 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17994
17995 * minibuffer.el (completion-in-region): Document PREDICATE
17996 (bug#7136).
17997
17998 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
17999 of keyword/argument pairs (bug#6904).
18000
18001 * replace.el (multi-occur):
18002 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
18003
18004 2011-07-02 Drew Adams <drew.adams@oracle.com>
18005
18006 * dired.el (dired-mark-if): Make the message about whether it's
18007 marking or unmarking clearer (bug#8523).
18008
18009 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18010
18011 * disp-table.el (display-table-print-array): New function.
18012 (describe-display-table): Use it to print the vectors more pretty
18013 (Bug#8859).
18014
18015 2011-07-02 Martin Rudalics <rudalics@gmx.at>
18016
18017 * window.el (window-state-get-1): Don't assign clone numbers.
18018 Add clone-of item to list of window parameters.
18019 (window-state-put-2): Don't process clone numbers.
18020 (display-buffer-alist): Fix doc-string.
18021
18022 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
18023
18024 * subr.el (remq): Don't allocate if it's not needed.
18025 (keymap--menu-item-binding, keymap--menu-item-with-binding)
18026 (keymap--merge-bindings): New functions.
18027 (keymap-canonicalize): Use them to refine the canonicalization.
18028 * minibuffer.el (minibuffer-local-completion-map)
18029 (minibuffer-local-must-match-map): Move initialization from C.
18030 (minibuffer-local-filename-completion-map): Move initialization from C;
18031 don't inherit from anything here.
18032 (minibuffer-local-filename-must-match-map): Make obsolete.
18033 (completing-read-default): Use make-composed-keymap to combine
18034 minibuffer-local-filename-completion-map with either
18035 minibuffer-local-must-match-map or
18036 minibuffer-local-filename-completion-map.
18037
18038 2011-07-01 Glenn Morris <rgm@gnu.org>
18039
18040 * type-break.el (type-break-time-sum): Use dolist.
18041
18042 * textmodes/flyspell.el (flyspell-word-search-backward):
18043 Replace CL function.
18044
18045 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
18046
18047 * mouse.el (mouse--strip-first-event): New function.
18048 (function-key-map): Use it to map fringe clicks to normal clicks
18049 by default.
18050
18051 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
18052 (vc-bzr-revision-completion-table): Add support for annotate and date.
18053
18054 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
18055 inherit from parent.
18056
18057 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
18058
18059 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
18060 (dired-show-file-type): Doc fixup (bug#8818).
18061
18062 * dired.el (dired-mode): Fix up the doc string as suggested by
18063 Drew Adams (bug#8817).
18064
18065 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
18066 cookie, since the manual says that it should be possible to add
18067 this function to `find-file-hook' (bug#8709).
18068
18069 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
18070
18071 * progmodes/cfengine.el: Moved all cfengine3.el functionality
18072 here. Noted Ted Zlatanov as the maintainer.
18073 (cfengine-common-settings, cfengine-common-syntax): New functions
18074 to set up common things between `cfengine-mode' and
18075 `cfengine3-mode'.
18076 (cfengine3-mode): New mode.
18077 (cfengine3-defuns cfengine3-defuns-regex
18078 (cfengine3-class-selector-regex cfengine3-category-regex)
18079 (cfengine3-vartypes cfengine3-font-lock-keywords)
18080 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
18081 (cfengine3-indent-line): Add from cfengine3.el.
18082
18083 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
18084
18085 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
18086
18087 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
18088
18089 2011-07-01 Martin Rudalics <rudalics@gmx.at>
18090
18091 * window.el (same-window-buffer-names, same-window-regexps)
18092 (same-window-p, special-display-frame-alist)
18093 (special-display-popup-frame, special-display-function)
18094 (special-display-buffer-names, special-display-regexps)
18095 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
18096 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18097 (split-window-preferred-function, split-height-threshold)
18098 (split-width-threshold, even-window-heights)
18099 (display-buffer-mark-dedicated, window-splittable-p)
18100 (split-window-sensibly, window-safely-shrinkable-p):
18101 Un-obsolete.
18102 (display-buffer): Don't spread args with function specifier
18103 because special-display-popup-frame won't like it.
18104
18105 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
18106
18107 Time-stamp simplifications and fixes.
18108 These improve accuracy slightly, and future-proof the code
18109 against some potential changes to current-time format.
18110
18111 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
18112 by using time-since and float-time.
18113
18114 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
18115 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
18116 + NNN microseconds".
18117
18118 * type-break.el (type-break-time-sum): Rewrite using time-add.
18119
18120 * play/hanoi.el (hanoi-current-time-float): Remove.
18121 All uses replaced by float-time.
18122
18123 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
18124 This yields a more-accurate answer.
18125 (rng-time-to-float): Remove; no longer needed.
18126
18127 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
18128
18129 * calendar/timeclock.el (timeclock-seconds-to-time):
18130 Defalias to seconds-to-time, since they're the same thing.
18131
18132 * emacs-lisp/elp.el (elp-elapsed-time):
18133 * emacs-lisp/benchmark.el (benchmark-elapse):
18134 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
18135
18136 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
18137
18138 * window.el (bury-buffer): Don't iconify the only frame.
18139 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
18140 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
18141
18142 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
18143
18144 * eshell/em-smart.el (eshell-smart-display-navigate-list):
18145 Add mouse-yank-primary.
18146
18147 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
18148
18149 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
18150
18151 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
18152
18153 * emacs-lisp/find-func.el (find-library--load-name): New fun.
18154 (find-library-name): Use it to find relative load names when provided
18155 absolute file name (bug#8803).
18156
18157 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
18158
18159 * textmodes/flyspell.el (flyspell-word): Consider words that
18160 differ only in case as potential doublons (bug#5687).
18161
18162 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
18163 Remove two rather uninteresting debugging-like messages to make
18164 debbugs.el more silent.
18165
18166 * comint.el (comint-password-prompt-regexp): Accept "Response" as
18167 a password-like phrase.
18168
18169 2011-06-30 Masatake YAMATO <yamato@redhat.com>
18170
18171 * progmodes/cc-guess.el: New file.
18172
18173 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
18174
18175 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
18176 derived from `c-basic-common-init'.
18177
18178 * progmodes/cc-mode.el (top-level): Require cc-guess.
18179 (c-basic-common-init): Use `cc-choose-style-for-mode'.
18180
18181 2011-06-30 Lawrence Mitchell <wence@gmx.li>
18182
18183 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
18184
18185 2011-06-30 Alan Mackenzie <acm@muc.de>
18186
18187 * progmodes/cc-engine.el (c-guess-continued-construct):
18188 Correct the handling of template-args-cont, particularly for when font
18189 lock is disabled. Name this case as "CASE G".
18190
18191 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
18192
18193 * allout.el (allout-yank-processing): Fix injection of extra space
18194 between bullet and non-whitespace character in first topic when
18195 pasting, ensuring that the actual spacing in the pasted topic
18196 following the bullet char is preserved. This extra space was
18197 causing pasted encrypted topics to get a decrypted status even
18198 when the content was actually still encrypted. Now the decryption
18199 status from before the paste is preserved.
18200
18201 (allout-flag-region): Set all allout overlays so they evaporate
18202 when reduced to zero length (evanescent), to prevent overlay
18203 leakage.
18204
18205 2011-06-30 Glenn Morris <rgm@gnu.org>
18206
18207 * w32-fns.el (w32-charset-info-alist): Declare.
18208
18209 * find-dired.el (find-grep-options): Simplify.
18210
18211 * term/ns-win.el (ns-set-resource): Declare.
18212
18213 * ses.el (row, col): Declare dynamic variables honestly.
18214
18215 * textmodes/reftex-parse.el (index-tags): Declare.
18216
18217 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
18218
18219 * cus-edit.el (customize-push-and-save): New function.
18220
18221 * files.el (hack-local-variables-confirm): Use it.
18222
18223 * custom.el (load-theme): New arg NO-CONFIRM.
18224 Use customize-push-and-save (Bug#8720).
18225 (custom-enabled-themes): Doc fix.
18226
18227 * cus-theme.el (customize-create-theme)
18228 (custom-theme-merge-theme): Callers to load-theme changed.
18229
18230 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
18231
18232 * thingatpt.el (thing-at-point-short-url-regexp): Require that
18233 short URLs have at least one dot in them (bug #7614).
18234
18235 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
18236 nil, because using a pty is apparently too slow (bug #895).
18237
18238 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
18239
18240 * mail/sendmail.el (sendmail-query-once): New function.
18241 (sendmail-query-once-function): New variable.
18242
18243 2011-06-29 Glenn Morris <rgm@gnu.org>
18244
18245 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
18246
18247 * ses.el (top-level): Require cl when compiling.
18248 (ses-set-localvars): Fix error statement.
18249 Call it at compile time to silence a storm of warnings.
18250
18251 2011-06-29 Martin Rudalics <rudalics@gmx.at>
18252
18253 * window.el (normalize-live-buffer): Rename to
18254 window-normalize-buffer.
18255 (normalize-live-frame): Rename to window-normalize-frame.
18256 (normalize-any-window): Rename to window-normalize-any-window.
18257 (normalize-live-window): Rename to window-normalize-live-window.
18258 (make-window-atom): Rename to window-make-atom.
18259 (window-resize-reset): Rename to window--resize-reset.
18260 (window-resize-reset-1): Rename to window--resize-reset-1.
18261 (resize-mini-window): Rename to window--resize-mini-window.
18262 (resize-subwindows-skip-p): Rename to
18263 window--resize-subwindows-skip-p.
18264 (resize-subwindows-normal): Rename to
18265 window--resize-subwindows-normal.
18266 (resize-subwindows): Rename to window--resize-subwindows.
18267 (resize-other-windows): Rename to window--resize-siblings.
18268 (resize-this-window): Rename to window--resize-this-window.
18269 (resize-root-window): Rename to window--resize-root-window.
18270 (resize-root-window-vertically): Rename to
18271 window--resize-root-window-vertically.
18272 (normalize-buffer-to-display): Rename to
18273 window-normalize-buffer-to-display.
18274 (normalize-buffer-to-switch-to): Rename to
18275 window-normalize-buffer-to-switch-to.
18276 Correspondingly update all callers of the functions listed
18277 above.
18278 (display-buffer-alist, display-buffer-normalize-arguments)
18279 (display-buffer-normalize-options, display-buffer)
18280 (display-buffer-alist-set): Use "function" instead of
18281 "fun-with-args".
18282
18283 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
18284
18285 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
18286 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
18287 debbugs.gnu.org. Mention acknowledgment email.
18288
18289 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
18290
18291 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
18292 buffer multibyteness, since it shouldn't matter.
18293
18294 2011-06-28 Martin Rudalics <rudalics@gmx.at>
18295
18296 * window.el (display-buffer-in-side-window): Handle dedicated
18297 windows as in display-buffer-reuse-window.
18298 (display-buffer-normalize-alist): Use value of override
18299 specifier.
18300 (display-buffer-normalize-specifiers): Use value of
18301 other-window-means-other-frame specifier.
18302 (display-buffer-alist): Rewrite some texts in widgets.
18303 (display-buffer): Spread arguments when calling function
18304 specified by fun-with-args.
18305
18306 2011-06-28 Deniz Dogan <deniz@dogan.se>
18307
18308 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
18309 Unnest `let'.
18310
18311 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
18312 selectors (Bug#5732).
18313 (css-proprietary-nmstart-re): Use `regexp-opt'.
18314
18315 2011-06-27 Jari Aalto <jari.aalto@cante.net>
18316
18317 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
18318 (eshell-ls-date-format): New defcustom.
18319 (eshell-ls-file): Use it.
18320
18321 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
18322
18323 * help-fns.el (describe-variable): Fix message for terminal-local vars.
18324
18325 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
18326
18327 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
18328 (ange-ftp-make-tmp-name): New arg.
18329 (ange-ftp-file-local-copy): Use it.
18330
18331 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
18332
18333 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
18334 no-conversion (Bug#8870).
18335
18336 2011-06-27 Martin Rudalics <rudalics@gmx.at>
18337
18338 * window.el (window-right, window-left, window-child)
18339 (window-child-count, window-last-child)
18340 (window-iso-combination-p, walk-window-tree-1)
18341 (window-atom-check-1, window-tree-1, delete-window)
18342 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
18343 new naming conventions - window-vchild, window-hchild,
18344 window-next and window-prev are now called window-top-child,
18345 window-left-child, window-next-sibling and window-prev-sibling
18346 respectively.
18347 (resize-window-reset): Rename to window-resize-reset.
18348 (resize-window-reset-1): Rename to window-resize-reset-1.
18349 (resize-window): Rename to window-resize.
18350 (window-min-height, window-min-width)
18351 (resize-mini-window, resize-this-window, resize-root-window)
18352 (resize-root-window-vertically, adjust-window-trailing-edge)
18353 (enlarge-window, shrink-window, maximize-window)
18354 (minimize-window, delete-window, quit-restore-window)
18355 (split-window, balance-windows, balance-windows-area-adjust)
18356 (balance-windows-area, window-state-put-2)
18357 (display-buffer-even-window-sizes, display-buffer-set-height)
18358 (display-buffer-set-width, set-window-text-height)
18359 (fit-window-to-buffer): Rename all "resize-window" prefixed
18360 calls to use the "window-resize" prefix convention.
18361 (display-buffer-alist): Fix symbol for label specifier.
18362 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
18363 corresponding specifier.
18364 Reported by Juanma Barranquero <lekktu@gmail.com>.
18365
18366 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
18367
18368 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
18369 convention.
18370 (ses-call-printer): Does not pass an empty string to formatter when the
18371 cell is empty to keep from barking printer Calc math-format-value.
18372
18373 2011-06-27 Richard Stallman <rms@gnu.org>
18374
18375 * battery.el (battery-mode-line-limit): New variable.
18376 (battery-update): Handle it.
18377
18378 * mail/rmailmm.el (rmail-mime-process-multipart):
18379 Handle truncated messages.
18380
18381 2011-06-27 Glenn Morris <rgm@gnu.org>
18382
18383 * progmodes/flymake.el (flymake-err-line-patterns):
18384 Allow for column numbers in the ant/javac pattern. (Bug#8866)
18385
18386 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
18387
18388 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
18389 (ses--clean-!, ses--clean-_): New functions.
18390 (ses-range): Add configurability of readout order, and conversion
18391 to Calc vector.
18392
18393 * ses.el (ses-repair-cell-reference-all): New function.
18394 (ses-cell-symbol): Set macro as safe, so that it can be used in
18395 formulas.
18396
18397 * ses.el: Update cycle detection algorithm.
18398 (ses-localvars): Add ses--Dijkstra-attempt-nb and
18399 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
18400 (ses-set-localvars): New function.
18401 (ses-make-cell): Add property-list as a cell element.
18402 (ses-cell-property-get-fun, ses-cell-property-get)
18403 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
18404 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
18405 New functions.
18406 (ses-cell-property-set, ses-cell-property-pop)
18407 (ses-cell-property-get-handle): New macro.
18408 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
18409 New aliases, used for code readability.
18410 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
18411 cycle detection.
18412 (ses-self-reference-early-detection): New defcustom.
18413 (ses-formula-references): Robustify against self-referring cells.
18414 (ses-mode): Use ses-set-localvars.
18415 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
18416 before lauching the update processing.
18417 (ses-initialize-Dijkstra-attempt): New function.
18418 (ses-recalculate-cell): Update for cycle detection based on
18419 Dijkstra algorithm.
18420
18421 * ses.el: Fix commenting and indenting convention.
18422
18423 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
18424
18425 * bs.el (bs-cycle-next): Complete last change.
18426
18427 2011-06-27 Drew Adams <drew.adams@oracle.com>
18428
18429 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
18430
18431 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
18432
18433 * net/network-stream.el (network-stream-open-starttls):
18434 Don't re-get capabilities unless we've reestablished connection.
18435 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
18436
18437 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
18438 to binary to possibly avoid line encoding issues on Windows (among
18439 other things).
18440
18441 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
18442
18443 * net/network-stream.el (open-network-stream): Return an :error
18444 saying what the problem was, if possible.
18445
18446 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
18447 server.
18448
18449 * net/network-stream.el (network-stream-open-starttls): If we
18450 wanted to use STARTTLS, and the server offered it, but we weren't
18451 able to because we had no STARTTLS support, then close the connection.
18452 (open-network-stream): Return an :error element, if present.
18453
18454 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
18455
18456 * hl-line.el (hl-line-sticky-flag): Doc fix.
18457 (global-hl-line-sticky-flag): New option (Bug#8323).
18458 (global-hl-line-highlight): Obey it.
18459
18460 * vc/vc.el (vc-revert-show-diff): Default to t.
18461
18462 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
18463
18464 * allout-widgets.el (allout-widgets-post-command-business):
18465 Stop decorating intermediate isearch matches. They're not being
18466 undecorated when an isearch is continued past, and isearch
18467 automatically collapses them. This leads to "widget leaks", where
18468 decorated items accumulate in collapsed areas. Lines with lots of
18469 hidden widgets can slow down cursor travel, substantially.
18470 Too much complicated machinery would be needed to ensure undecoration,
18471 so we're doing without this nicety.
18472
18473 (allout-widgets-tally-string): Don't try to do a hash-table-count
18474 of allout-widgets-tally when it's nil. This eliminates spurious "Error
18475 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
18476 *Messages* when allout-widgets-maintain-tally is t.
18477
18478 2011-06-26 Martin Rudalics <rudalics@gmx.at>
18479
18480 * window.el (display-buffer-normalize-argument): Rename to
18481 display-buffer-normalize-arguments. Handle special meaning of
18482 LABEL argument. Respect special-display-function when popping up
18483 a new frame. Fix code searching for a window showing the buffer
18484 on another frame.
18485 (display-buffer-normalize-specifiers):
18486 Call display-buffer-normalize-arguments.
18487 (display-buffer-in-window): Don't undedicate the window if its
18488 buffer remains the same.
18489 Reported by Drew Adams <drew.adams@oracle.com>.
18490 (display-buffer-alist): Add choice for same-window macro
18491 specfier.
18492 (display-buffer): Mention special meaning of LABEL argument in
18493 doc-string. Fix quoting. Don't pop up a new frame even as
18494 fallback.
18495
18496 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
18497
18498 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
18499 avoid deleting the current window in some cases (bug#8911).
18500
18501 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
18502
18503 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
18504 (Bug#8934)
18505
18506 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
18507
18508 * net/network-stream.el (network-stream-open-starttls):
18509 Use built-in TLS support if `gnutls-available-p' is true.
18510 (network-stream-open-tls): Ditto.
18511
18512 2011-06-26 Leo Liu <sdl.web@gmail.com>
18513
18514 * register.el (registerv): New struct.
18515 (registerv-make): New function.
18516 (jump-to-register, describe-register-1, insert-register):
18517 Support the jump-func, print-func and insert-func slot of a registerv
18518 struct. (Bug#8415)
18519
18520 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
18521
18522 * vc/vc.el (vc-revert-show-diff): New defcustom.
18523 (vc-diff-internal): New arg specifying diff buffer.
18524 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
18525 reuse an existing *vc-diff* buffer (Bug#8927).
18526
18527 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
18528
18529 2011-06-26 Glenn Morris <rgm@gnu.org>
18530
18531 * progmodes/f90.el (f90-critical-indent): New option.
18532 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
18533 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
18534 (f90-mode): Doc fix.
18535 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
18536 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
18537 (f90-beginning-of-block, f90-next-block, f90-indent-region)
18538 (f90-match-end): Handle block, critical.
18539
18540 2011-06-25 Glenn Morris <rgm@gnu.org>
18541
18542 * calendar/diary-lib.el (diary-included-files): Doc fix.
18543 (diary-include-files): New function, extracted from
18544 diary-include-other-diary-files and diary-mark-included-diary-files.
18545 (diary-include-other-diary-files, diary-mark-included-diary-files):
18546 Just call diary-include-files.
18547 (diary-mark-entries): Reset diary-included-files on first call.
18548
18549 * calendar/diary-lib.el (diary-mark-entries)
18550 (diary-mark-included-diary-files):
18551 Visit included diary-files in temp buffers.
18552
18553 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
18554 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
18555 (f90-start-block-re, f90-imenu-generic-expression)
18556 (f90-looking-at-program-block-start, f90-no-block-limit):
18557 Add support for submodules.
18558
18559 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
18560 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
18561
18562 2011-06-25 Eli Zaretskii <eliz@gnu.org>
18563
18564 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
18565 buffer-file-type before setting its value, to avoid disastrous
18566 global effects on decoding files for DOS/Windows systems. (Bug#8780)
18567
18568 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
18569
18570 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
18571
18572 * ses.el (ses-unload-function):
18573 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
18574
18575 * proced.el (proced-unload-function):
18576 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
18577
18578 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
18579
18580 * server.el (server-create-window-system-frame): Add parameters arg.
18581 (server-process-filter): Doc fix. Handle frame-parameters.
18582
18583 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
18584
18585 Fix bug#8730, bug#8781.
18586
18587 * loadhist.el (unload--set-major-mode): New function.
18588 (unload-feature): Use it.
18589
18590 * progmodes/python.el (python-after-info-look): Add autoload cookie.
18591 (python-unload-function): New function.
18592
18593 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
18594
18595 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
18596
18597 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
18598
18599 * net/browse-url.el (browse-url-firefox-program): Add icecat to
18600 the candidates list.
18601
18602 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
18603
18604 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
18605
18606 2011-06-23 Richard Stallman <rms@gnu.org>
18607
18608 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
18609 (rmail-variables): Set next-error-move-function.
18610 (rmail-what-message): Take argument POS.
18611 (rmail-next-error-move): New function.
18612
18613 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
18614
18615 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
18616 messages for adjacent non-terminals.
18617
18618 2011-06-23 Richard Stallman <rms@gnu.org>
18619
18620 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
18621 (rmail-show-message-1): Preserve buffer modified flag.
18622 (rmail-start-mail): Don't specify use of rmail-mail-return;
18623 that's done by mail-bury now.
18624 (rmail-mail-return): Handle arg NEWBUF.
18625
18626 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
18627
18628 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
18629 SIZE is a number.
18630
18631 2011-06-23 Martin Rudalics <rudalics@gmx.at>
18632
18633 * window.el (get-lru-window, get-mru-window)
18634 (get-largest-window): Never return a minibuffer window.
18635 (display-buffer-pop-up-window): Fix a bug that could lead to
18636 reusing the minibuffer window.
18637 (display-buffer): Pass original specifier argument to
18638 display-buffer-function instead of the normalized one.
18639 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
18640
18641 2011-06-22 Leo Liu <sdl.web@gmail.com>
18642
18643 * minibuffer.el (completing-read-function)
18644 (completing-read-default): Move from minibuf.c.
18645
18646 2011-06-22 Richard Stallman <rms@gnu.org>
18647
18648 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
18649 to Rmail even if not started by a special Rmail command.
18650
18651 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
18652 Copy the buffer currently showing just one message.
18653
18654 2011-06-22 Roland Winkler <winkler@gnu.org>
18655
18656 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
18657 (bibtex-clean-entry): First delete the old key so that a
18658 customized algorithm for generating the new key does not get
18659 confused by the old key.
18660 (bibtex-url): Obey regexp of first step.
18661 (bibtex-search-entries): Do not use add-to-list with local
18662 list-var.
18663
18664 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
18665
18666 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
18667 stored a user name, then query for the password first, instead of
18668 waiting for SMTP to give an error message and the trying again.
18669
18670 2011-06-22 Lawrence Mitchell <wence@gmx.li>
18671
18672 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
18673 BUFFER in call-process.
18674
18675 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
18676
18677 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
18678 QUIT twice.
18679 (smtpmail-try-auth-methods): Require user name and password from
18680 auth-source.
18681
18682 2011-06-22 Martin Rudalics <rudalics@gmx.at>
18683
18684 * window.el (display-buffer-default-specifiers)
18685 (display-buffer-alist): Remove entries for pop-up-frame-alist.
18686 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
18687 (split-window): Normalize SIDE argument (Bug#8916).
18688
18689 * frame.el (pop-up-frame-alist, pop-up-frame-function)
18690 (special-display-frame-alist, special-display-popup-frame):
18691 Remove duplicate declarations. These are now in window.el.
18692
18693 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18694
18695 * mail/smtpmail.el (smtpmail-via-smtp):
18696 Set :use-starttls-if-possible so that we always use STARTTLS if the
18697 server supports it. SMTP servers that support STARTTLS commonly
18698 require it.
18699
18700 * net/network-stream.el (network-stream-open-starttls): Support
18701 upgrading to STARTTLS always, even if we don't have built-in support.
18702 (open-network-stream): Add the :always-query-capabilities keyword.
18703
18704 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
18705 upgrades with `open-network-stream', and rely solely on
18706 auth-source for all credentials. Big changes throughout the file,
18707 but in particular:
18708 (smtpmail-auth-credentials): Remove.
18709 (smtpmail-starttls-credentials): Remove.
18710 (smtpmail-via-smtp): Check for servers saying they want AUTH after
18711 MAIL FROM, too.
18712
18713 * net/network-stream.el (network-stream-open-starttls):
18714 Provide support for client certificates both for external and built-in
18715 STARTTLS.
18716 (auth-source): Require.
18717 (open-network-stream): Document the :client-certificate keyword.
18718 (network-stream-certificate): Change cert-cert to cert and
18719 cert-key to key.
18720
18721 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
18722
18723 * net/tramp-cache.el (top): Don't load the persistency file when
18724 "emacs -Q" has been called.
18725
18726 2011-06-21 Tim Harper <timcharper@gmail.com>
18727
18728 * term/ns-win.el (ns-initialize-window-system):
18729 Set application-specific `ApplePressAndHoldEnabled' system
18730 resource to NO as it is not yet supported by the NS port.
18731
18732 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
18733
18734 * misc.el (list-dynamic-libraries--refresh): Compute header here...
18735 (list-dynamic-libraries): ...not here.
18736
18737 2011-06-21 Leo Liu <sdl.web@gmail.com>
18738
18739 * subr.el (sha1): Implement sha1 using secure-hash.
18740
18741 2011-06-21 Martin Rudalics <rudalics@gmx.at>
18742
18743 * window.el (display-buffer-alist): In default value do not
18744 enforce searching a window on any but the selected frame.
18745 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
18746 (display-buffer-select-window): Remove function.
18747 (display-buffer-in-window): When a window on another frame gets
18748 reused, do not select it any more but just raise its frame if
18749 necessary (Bug#8851) and (Bug#8856).
18750 (display-buffer-normalize-options): Handle pop-up-frames related
18751 options more faithfully.
18752 (pop-to-buffer): Don't rely on `display-buffer' selecting the
18753 window if it is on another frame.
18754 (display-buffer-alist, display-buffer-default-specifiers):
18755 Don't make new frame unsplittable by default.
18756 (display-buffer-normalize-argument): Fix doc-string typo and use
18757 'same-frame-other-window instead of 'other-window when associating
18758 with display-buffer-macro-specifiers.
18759
18760 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
18761
18762 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
18763 New functions.
18764 (5x5-mode-map, 5x5-mode-menu): Bind them.
18765 (5x5-draw-grid): Tweak the solver's rendering.
18766
18767 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
18768
18769 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
18770 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
18771
18772 2011-06-21 Drew Adams <drew.adams@oracle.com>
18773
18774 * menu-bar.el: Use function variable instead of switch-to-buffer.
18775 (menu-bar-select-buffer-function): New variable.
18776 (menu-bar-update-buffers): Use it (bug#8876).
18777
18778 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
18779
18780 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
18781 variable's status.
18782
18783 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
18784
18785 * x-dnd.el (x-dnd-version-from-flags)
18786 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
18787 and long as number (Bug#8899).
18788 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
18789
18790 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
18791
18792 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
18793 (completion-try-completion, completion-all-completions): Compute the
18794 metadata argument if it's missing; make it optional (bug#8795).
18795
18796 * wid-edit.el: Use lex-bind and move towards completion-at-point.
18797 (widget-complete): Use new :completion-function property.
18798 (widget-completions-at-point): New function.
18799 (default): Use :completion-function instead of :complete.
18800 (widget-default-completions): Rename from widget-default-complete;
18801 Rewrite.
18802 (widget-string-complete, widget-file-complete, widget-color-complete):
18803 Remove functions.
18804 (file, symbol, function, variable, coding-system, color):
18805 * international/mule-cmds.el (default-input-method, charset)
18806 (language-info-custom-alist):
18807 * cus-edit.el (face): Use new property :completions.
18808
18809 * progmodes/pascal.el (pascal-completions-at-point): New function.
18810 (pascal-mode): Use it.
18811 (pascal-mode-map): Use completion-at-point.
18812 (pascal-toggle-completions): Make obsolete.
18813 (pascal-complete-word, pascal-show-completions):
18814 * progmodes/octave-mod.el (octave-complete-symbol):
18815 Redefine as obsolete alias.
18816 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
18817 Signal absence of completion info for old Octave,
18818 (inferior-octave-complete): Redefine as obsolete alias.
18819 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
18820 (meta-completions-at-point): Rename from meta-complete-symbol and
18821 adapt it for use on completion-at-point-functions.
18822 (meta-common-mode): Use it.
18823 (meta-looking-at-backward, meta-match-buffer): Remove.
18824 (meta-complete-symbol): Redefine as obsolete alias.
18825 (meta-common-mode-map): Use completion-at-point.
18826 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
18827 (makefile-mode-map): Use completion-at-point.
18828 (makefile-completions-at-point): Rename from makefile-complete and
18829 adapt it for use on completion-at-point-functions.
18830 (makefile-mode): Use it.
18831 (makefile-complete): Redefine as obsolete alias.
18832
18833 2011-06-20 Deniz Dogan <deniz@dogan.se>
18834
18835 * net/rcirc.el: Delete trailing whitespaces once and for all.
18836
18837 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
18838
18839 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
18840
18841 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
18842
18843 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
18844
18845 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
18846
18847 2011-06-19 Martin Rudalics <rudalics@gmx.at>
18848
18849 * window.el (display-buffer-other-window-means-other-frame):
18850 Call display-buffer-normalize-alist.
18851 (display-buffer-normalize-specifiers-1): Rename to
18852 display-buffer-normalize-argument. New argument other-frame.
18853 Rewrite.
18854 (display-buffer-normalize-specifiers-2): Rename to
18855 display-buffer-normalize-options.
18856 (display-buffer-normalize-alist-1): New function.
18857 (display-buffer-normalize-specifiers-3): Rename to
18858 display-buffer-normalize-alist.
18859 Call display-buffer-normalize-alist-1.
18860 (display-buffer-normalize-options-inhibit): New variable.
18861 (display-buffer-normalize-specifiers): Rewrite calling
18862 display-buffer-normalize-alist,
18863 display-buffer-normalize-argument, and
18864 display-buffer-normalize-options. Don't call the latter if
18865 display-buffer-normalize-options-inhibit is non-nil.
18866 (frame-auto-delete): New option.
18867 (window-deletable-p): Use frame-auto-delete.
18868 (window-list-no-nils, window-state-ignored-parameters)
18869 (window-state-get-1, window-state-get, window-state-put-list)
18870 (window-state-put-1, window-state-put-2, window-state-put):
18871 New functions.
18872 (display-buffer-normalize-options): Move special-display-p group
18873 after pop-up-frame group (Bug#8851) and (Bug#8856).
18874
18875 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
18876
18877 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
18878 groups (Bug#8776).
18879 (rx-submatch-n): New function.
18880 (rx): Document it.
18881
18882 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
18883 (Bug#8768).
18884
18885 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
18886
18887 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
18888
18889 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
18890 anytime existing face settings are present (Bug#8889).
18891
18892 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
18893 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
18894 Remove unused argument.
18895
18896 2011-06-18 Martin Rudalics <rudalics@gmx.at>
18897
18898 * window.el (display-buffer-default-specifiers):
18899 Remove pop-up-frame. Add pop-up-window-min-height,
18900 pop-up-window-min-width, and another reuse-window specifier
18901 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
18902 (display-buffer-normalize-specifiers-2):
18903 Handle split-height-threshold and split-width-threshold also when
18904 pop-up-windows is unset. Add a reuse-window specifier for the
18905 case popping up a new window fails.
18906 (special-display-popup-frame): Remove double quoting.
18907 (display-buffer-normalize-specifiers-1): Fix thinko.
18908
18909 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
18910
18911 * shell.el (shell-completion-vars): Set pcomplete-termination-string
18912 according to comint-completion-addsuffix.
18913
18914 * pcomplete.el: Convert to lexical binding and fix bug#8819.
18915 (pcomplete-suffix-list): Mark as obsolete.
18916 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
18917 pcomplete-seen in the closure.
18918 (pcomplete-comint-setup): Setup completion-at-point as well.
18919 (pcomplete--entries): New function.
18920 (pcomplete--env-regexp): New var.
18921 (pcomplete-entries): Rewrite to work with partial-completion and
18922 without relying on pcomplete-suffix-list.
18923 (pcomplete-pare-list): Remove, unused.
18924
18925 2011-06-17 Martin Rudalics <rudalics@gmx.at>
18926
18927 * window.el (display-buffer-alist): Set pop-up-window-min-height
18928 and pop-up-window-min-width in default value. Reported by
18929 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
18930 other-window-means-other-frame.
18931 (display-buffer-macro-specifiers): Comment out entry for
18932 other-window specifier.
18933 (display-buffer-other-window-means-other-frame): New function.
18934 (display-buffer-normalize-specifiers-1): New arguments
18935 buffer-name and label. Treat other-window case specially.
18936 (display-buffer-normalize-specifiers-2): Treat other-window case
18937 specially.
18938 (display-buffer-normalize-specifiers-3): New function.
18939 (display-buffer-normalize-specifiers):
18940 Call display-buffer-normalize-specifiers-3.
18941
18942 2011-06-17 Martin Rudalics <rudalics@gmx.at>
18943
18944 * window.el (same-window-p): Fix two typos introduced when
18945 adding with-no-warnings.
18946 (display-buffer-normalize-specifiers-1): Don't check
18947 pop-up-frames for 'unset initialization.
18948 (display-buffer-normalize-specifiers-2): Major rewrite using
18949 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
18950 (pop-up-frames, display-buffer-reuse-frames)
18951 (display-buffer-mark-dedicated): Don't initialize to 'unset.
18952 Suggested by David Engster <deng@randomsample.de>.
18953 (even-window-heights): Initialize to 'unset.
18954 (display-buffer-alist-set): Handle new 'unset initializations.
18955 (display-buffer-macro-specifiers): Don't pop up a new frame in the
18956 other window case.
18957
18958 2011-06-16 Martin Rudalics <rudalics@gmx.at>
18959
18960 * window.el (display-buffer-normalize-specifiers-1):
18961 Respect current value of pop-up-frames for most reasonable values of
18962 second argument of display-buffer (Bug#8865).
18963 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
18964 (switch-to-buffer-other-window-same-frame)
18965 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
18966 Adams (Bug#8875).
18967 (display-buffer): Don't check noninteractive when calling
18968 display-buffer-pop-up-frame.
18969 (display-buffer-pop-up-frame): Never pop up a frame in
18970 noninteractive mode (Bug#8857).
18971 (enlarge-window, shrink-window): Don't report an error when the
18972 window can't be resized as requested (Bug#8862).
18973
18974 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
18975
18976 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
18977
18978 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
18979
18980 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
18981
18982 2011-06-15 Alan Mackenzie <acm@muc.de>
18983
18984 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
18985 for declarators, disable knr checking to speed up for normal files.
18986 2: Refactor, replacing a sequence of nested if forms by a cond form.
18987
18988 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
18989
18990 * net/network-stream.el (open-network-stream): Add the keyword
18991 :always-query-capabilities for the case where you want to force a
18992 `plain' network connection, but the protocol still requires the
18993 capabilitiy command (i.e., SMTP and EHLO).
18994
18995 * subr.el (process-live-p): Rename from `process-alive-p' for
18996 consistency with other `-live-p' functions.
18997
18998 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
18999
19000 * window.el (same-window-buffer-names, same-window-regexps)
19001 (special-display-frame-alist, special-display-popup-frame)
19002 (special-display-function, special-display-buffer-names)
19003 (special-display-regexps, pop-up-frame-alist)
19004 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
19005 (pop-up-windows, split-window-preferred-function)
19006 (split-height-threshold, split-width-threshold, even-window-heights)
19007 (display-buffer-mark-dedicated): Don't encourage the use of
19008 display-buffer-alist from Elisp code.
19009
19010 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
19011
19012 * progmodes/python.el (python-mode): Derive from prog-mode.
19013 * progmodes/ps-mode.el (ps-mode):
19014 * progmodes/mixal-mode.el (mixal-mode):
19015 * progmodes/cfengine.el (cfengine-mode):
19016 * progmodes/ld-script.el (ld-script-mode): Likewise.
19017
19018 2011-06-15 Martin Rudalics <rudalics@gmx.at>
19019
19020 * window.el (display-buffer-alist): Trim default value to avoid
19021 popping up a new frame (Bug#8857) or reusing an arbitrary window
19022 on another frame.
19023 (display-buffer): Do not fall back on popping up a new frame in
19024 batch mode (Bug#8857).
19025
19026 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
19027
19028 * cus-theme.el (describe-theme-1): Use custom-theme-p.
19029 (custom-theme-summary): New function.
19030 (customize-themes): Use it.
19031
19032 2011-06-13 Glenn Morris <rgm@gnu.org>
19033
19034 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
19035
19036 2011-06-13 Martin Rudalics <rudalics@gmx.at>
19037
19038 * help.el (help-window): Remove variable.
19039 (help-window-point-marker, temp-buffer-max-height)
19040 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
19041 (help-print-return-message): Don't set help-window.
19042 (resize-temp-buffer-window): Rewrite cod eand doc-string.
19043 (help-window-setup-finish): Remove.
19044 (help-window-display-message, help-window-setup)
19045 (with-help-window): Major rewrite based on new
19046 display-buffer-window variable.
19047
19048 * help-mode.el (help-mode-finish): Remove help-window related
19049 code.
19050
19051 * view.el (view-exits-all-viewing-windows): Remove reference to
19052 view-return-to-alist in doc-string.
19053 (view-return-to-alist): Make obsolete.
19054 (view-buffer): Call pop-to-buffer-same-window and remove
19055 undo-window code.
19056 (view-buffer-other-window): Call pop-to-buffer-other-window and
19057 simplify code. Ignore second argument.
19058 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
19059 simplify code. Ignore second argument.
19060 (view-return-to-alist-update): Make obsolete.
19061 (view-mode-enter): Rename second argument to QUIT-RESTORE.
19062 Rewrite using quit-restore window parameters.
19063 (view-mode-exit): Rename second argument to EXIT-ONLY.
19064 Rewrite using quit-restore-window.
19065 (View-exit, View-exit-and-edit, View-leave, View-quit)
19066 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
19067 appropriate arguments.
19068 (view-end-message): Use quit-restore window parameter.
19069
19070 * window.el (display-buffer-function): Rewrite doc-string.
19071 (display-buffer-window, display-buffer-alist): New variables.
19072 (display-buffer-split-specifiers)
19073 (display-buffer-side-specifiers)
19074 (display-buffer-macro-specifiers): New constants.
19075 (display-buffer-even-window-sizes, display-buffer-set-height)
19076 (display-buffer-set-width, display-buffer-select-window)
19077 (display-buffer-in-window, display-buffer-reuse-window)
19078 (display-buffer-split-window-1, display-buffer-split-window)
19079 (display-buffer-split-atom-window, display-buffer-pop-up-window)
19080 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
19081 (display-buffer-in-side-window, normalize-buffer-to-display)
19082 (display-buffer-normalize-specifiers-1)
19083 (display-buffer-normalize-specifiers-2)
19084 (display-buffer-normalize-specifiers, display-buffer-frame):
19085 New functions.
19086 (display-buffer): Major rewrite.
19087 (display-buffer-other-window, display-buffer-other-frame)
19088 (pop-to-buffer, switch-to-buffer-other-window)
19089 (switch-to-buffer-other-frame): Rewrite.
19090 (display-buffer-same-window, display-buffer-same-frame)
19091 (display-buffer-same-frame-other-window)
19092 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
19093 (pop-to-buffer-other-window)
19094 (pop-to-buffer-same-frame-other-window)
19095 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
19096 (switch-to-buffer-other-window-same-frame): New functions.
19097 (same-window-p, special-display-p): Rewrite disabling warnings.
19098 Make obsolete.
19099 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
19100 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
19101 Make obsolete
19102 (same-window-buffer-names, same-window-regexps)
19103 (special-display-frame-alist, special-display-popup-frame)
19104 (special-display-function, special-display-buffer-names)
19105 (special-display-regexps, pop-up-frame-alist)
19106 (pop-up-frame-function, split-window-preferred-function)
19107 (split-height-threshold, split-width-threshold)
19108 (even-window-heights): Make obsolete.
19109
19110 2011-06-12 Glenn Morris <rgm@gnu.org>
19111
19112 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
19113 Misc simplifications.
19114
19115 2011-06-12 Martin Rudalics <rudalics@gmx.at>
19116
19117 * window.el (window-safely-shrinkable-p): Restore function which
19118 was inadvertently removed in change from 2011-06-11. Declare as
19119 obsolete.
19120
19121 * calendar/calendar.el (calendar-generate-window):
19122 Use window-iso-combined-p instead of combination of one-window-p and
19123 window-safely-shrinkable-p.
19124
19125 2011-06-12 Glenn Morris <rgm@gnu.org>
19126
19127 * progmodes/fortran.el (fortran-mode-syntax-table):
19128 * progmodes/f90.el (f90-mode-syntax-table):
19129 Set % to punctuation. (Bug#8820)
19130 (f90-find-tag-default): Remove, no longer needed.
19131
19132 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
19133
19134 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
19135
19136 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
19137
19138 * image.el (image-animated-p): Return animation delay in seconds.
19139 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
19140 (image-animate-timeout): Remove DELAY argument. Don't assume
19141 every subimage has the same delay; get it from image-animated-p.
19142 (image-animate): Caller changed.
19143
19144 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
19145
19146 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
19147 to ignored backtrace functions.
19148
19149 2011-06-11 Glenn Morris <rgm@gnu.org>
19150
19151 * calendar/appt.el (appt-disp-window-function): Doc fix.
19152 (appt-check): Handle overlapping appointments. (Bug#8337)
19153
19154 2011-06-11 Martin Rudalics <rudalics@gmx.at>
19155
19156 * window.el (window-tree-1, window-tree): New functions, moving
19157 the latter to window.el.
19158 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
19159 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
19160 (bw-refresh-edges): Remove.
19161 (balance-windows-1, balance-windows-2): New functions.
19162 (balance-windows): Rewrite in terms of window tree functions,
19163 balance-windows-1 and balance-windows-2.
19164 (bw-adjust-window): Remove.
19165 (balance-windows-area-adjust): New function with functionality of
19166 bw-adjust-window but using resize-window.
19167 (set-window-text-height): Rewrite doc-string.
19168 Use normalize-live-window and resize-window.
19169 (enlarge-window-horizontally, shrink-window-horizontally):
19170 Rename argument to DELTA.
19171 (window-buffer-height): New function.
19172 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
19173 Rewrite using new window resize routines.
19174 (kill-buffer-and-window, mouse-autoselect-window-select):
19175 Use ignore-errors instead of condition-case.
19176 (quit-window): Call delete-frame instead of delete-windows-on
19177 for the only buffer on frame.
19178
19179 2011-06-10 Martin Rudalics <rudalics@gmx.at>
19180
19181 * loadup.el (top-level): Load window before files for the sake
19182 of replace-buffer-in-windows.
19183
19184 * files.el (read-buffer-to-switch)
19185 (switch-to-buffer-other-window)
19186 (switch-to-buffer-other-frame, display-buffer-other-frame):
19187 Move to window.el.
19188
19189 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
19190 (previous-buffer): Move to window.el.
19191
19192 * bindings.el (unbury-buffer): Move to window.el.
19193
19194 * window.el (delete-other-windows-vertically): Move after
19195 definition of delete-other-windows.
19196 (other-window, delete-windows-on, replace-buffer-in-windows):
19197 Move here from window.c.
19198 (record-window-buffer, unrecord-window-buffer)
19199 (set-window-buffer-start-and-point, switch-to-prev-buffer)
19200 (switch-to-next-buffer): New functions.
19201 (get-next-valid-buffer, last-buffer, next-buffer): Move here
19202 from simple.el. Call switch-to-next-buffer.
19203 (previous-buffer): Move here from simple.el.
19204 Call switch-to-prev-buffer.
19205 (bury-buffer): Move here from buffer.c. Switch to previous
19206 buffer when window cannot be deleted.
19207 (unbury-buffer): Move here from bindings.el.
19208 (ctl-x-map): Move binding for other-window from window.c to
19209 here.
19210 (read-buffer-to-switch, switch-to-buffer-other-window)
19211 (switch-to-buffer-other-frame): Move here from files.el.
19212 (normalize-buffer-to-switch-to): New functions.
19213 (switch-to-buffer): Move here from buffer.c.
19214 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
19215
19216 2011-06-10 Martin Rudalics <rudalics@gmx.at>
19217
19218 * window.el (window-min-height, window-min-width): Move here
19219 from window.c. Add defcustoms and rewrite doc-strings.
19220 (resize-mini-window, resize-window): New functions.
19221 (adjust-window-trailing-edge, enlarge-window, shrink-window):
19222 Move here from window.c.
19223 (maximize-window, minimize-window): New functions.
19224 (delete-window, delete-other-windows, split-window): Move here
19225 from window.c.
19226 (window-split-min-size): New function.
19227 (split-window-keep-point): Mention split-window-above-each-other
19228 instead of split-window-vertically.
19229 (split-window-above-each-other, split-window-vertically):
19230 Rename split-window-vertically to split-window-above-each-other
19231 and provide defalias for old definition.
19232 (split-window-side-by-side, split-window-horizontally):
19233 Rename split-window-horizontally to split-window-side-by-side
19234 and provide defalias for the old definition.
19235 (ctl-x-map): Move bindings for delete-window,
19236 delete-other-windows and enlarge-window here from window.c.
19237 Replace bindings for split-window-vertically and
19238 split-window-horizontally by bindings for
19239 split-window-above-each-other and split-window-side-by-side.
19240
19241 * cus-start.el (all): Remove entries for window-min-height and
19242 window-min-width. Add entries for window-splits and
19243 window-nest.
19244
19245 2011-06-09 Glenn Morris <rgm@gnu.org>
19246
19247 * calendar/appt.el (appt-mode-line): New function.
19248 (appt-check, appt-disp-window): Use it.
19249
19250 * files.el (hack-one-local-variable-eval-safep):
19251 Allow minor-modes with explicit +/-1 arguments.
19252
19253 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
19254
19255 * term/xterm.el (xterm): Add defgroup.
19256 (xterm-extra-capabilities): Add defcustom to supply known xterm
19257 capabilities, skip querying them, or query them (default).
19258 (terminal-init-xterm): Use it.
19259 (terminal-init-xterm-modify-other-keys): New function to set up
19260 modifyOtherKeys support to simplify `terminal-init-xterm'.
19261
19262 2011-06-09 Martin Rudalics <rudalics@gmx.at>
19263
19264 * window.el (resize-window-reset, resize-window-reset-1)
19265 (resize-subwindows-skip-p, resize-subwindows-normal)
19266 (resize-subwindows, resize-other-windows, resize-this-window)
19267 (resize-root-window, resize-root-window-vertically)
19268 (window-deletable-p, window-or-subwindow-p)
19269 (frame-root-window-p): New functions.
19270
19271 2011-06-09 Glenn Morris <rgm@gnu.org>
19272
19273 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
19274 (ange-ftp-get-files): Use it.
19275
19276 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
19277
19278 * mail/sendmail.el (mail-recover-1, mail-recover):
19279 * files.el (recover-file, recover-session):
19280 Handle dired-listing-switches not being just a single short option.
19281
19282 2011-06-09 Glenn Morris <rgm@gnu.org>
19283
19284 * calendar/appt.el (appt-display-message, appt-disp-window):
19285 Handle lists of appointments.
19286
19287 2011-06-08 Martin Rudalics <rudalics@gmx.at>
19288
19289 * window.el (one-window-p): Move down in code.
19290 Rewrite doc-string.
19291 (window-current-scroll-bars): Rewrite doc-string.
19292 Normalize live window argument.
19293 (walk-windows, get-window-with-predicate, count-windows):
19294 Rewrite doc-string. Use window-list-1.
19295 (window-in-direction-2, window-in-direction, get-mru-window):
19296 New functions.
19297
19298 2011-06-08 Reuben Thomas <rrt@sc3d.org>
19299
19300 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
19301 Doc fix (Bug#8713).
19302
19303 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
19304
19305 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
19306
19307 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
19308
19309 * loadhist.el (unload-feature-special-hooks):
19310 Add `comint-output-filter-functions'.
19311
19312 2011-06-08 Ivan Kanis <gnu@kanis.fr>
19313
19314 * calendar/appt.el (appt-check): Move some initializations into the let.
19315
19316 2011-06-08 Martin Rudalics <rudalics@gmx.at>
19317
19318 * window.el (window-height): Defalias to window-total-height.
19319 (window-width): Defalias to window-body-width.
19320
19321 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
19322
19323 * image-mode.el (image-toggle-animation): New command.
19324 (image-mode-map): Bind it to RET.
19325 (image-mode): Update message.
19326 (image-toggle-display-image): Avoid a spurious cache flush.
19327 (image-transform-rotation): Doc fix.
19328 (image-transform-properties): Return quickly in the normal case.
19329 (image-animate-loop): Rename from image-animate-max-time.
19330
19331 * image.el (image-animate-max-time): Move to image-mode.el.
19332 (create-animated-image): Remove unnecessary function.
19333 (image-animate): Rename from image-animate-start. New arg.
19334 (image-animate-stop): Remove; just use image-animate-timer.
19335 (image-animate-timer): Use car-safe.
19336 (image-animate-timeout): Rename argument.
19337
19338 2011-06-07 Martin Rudalics <rudalics@gmx.at>
19339
19340 * window.el (get-lru-window, get-largest-window): Move here from
19341 window.c. Rename first argument to ALL-FRAMES.
19342 Rephrase doc-strings.
19343 (get-buffer-window-list): Rewrite using window-list-1.
19344 Rephrase doc-string.
19345 (window-safe-min-height, window-safe-min-width): New constants.
19346 (window-size-ignore, window-min-size, window-min-size-1)
19347 (window-sizable, window-sizable-p, window-size-fixed-1)
19348 (window-size-fixed-p, window-min-delta-1, window-min-delta)
19349 (window-max-delta-1, window-max-delta, window-resizable)
19350 (window-resizable-p, window-total-height, window-total-width)
19351 (window-body-width): New functions.
19352 (window-full-height-p, window-full-width-p): Rewrite using
19353 window-total-size.
19354 (window-body-height): Rewrite using window-body-size.
19355
19356 2011-06-06 Martin Rudalics <rudalics@gmx.at>
19357
19358 * window.el (window-right, window-left, window-child)
19359 (window-child-count, window-last-child, window-any-p)
19360 (normalize-live-buffer, normalize-live-frame)
19361 (normalize-any-window, normalize-live-window)
19362 (window-iso-combination-p, window-iso-combined-p)
19363 (window-iso-combinations)
19364 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
19365 (windows-with-parameter, window-with-parameter)
19366 (window-atom-root, make-window-atom, window-atom-check-1)
19367 (window-atom-check, window-side-check, window-check):
19368 New functions.
19369 (ignore-window-parameters, window-sides, window-sides-vertical)
19370 (window-sides-slots): New variables.
19371 (window-size-fixed): Move down in code. Minor doc-string fix.
19372
19373 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
19374
19375 * comint.el (comint-dynamic-complete-as-filename)
19376 (comint-dynamic-complete-filename): Correctly call
19377 completion-in-region.
19378
19379 2011-06-05 Deniz Dogan <deniz@dogan.se>
19380
19381 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
19382 in last change.
19383
19384 2011-06-05 Deniz Dogan <deniz@dogan.se>
19385
19386 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
19387 (rcirc): Use it to prompt for encryption.
19388
19389 2011-06-05 Roland Winkler <winkler@gnu.org>
19390
19391 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
19392 (bibtex-search-entries): New command bound to C-c C-a.
19393 (bibtex-display-entries): New function.
19394
19395 2011-06-05 Roland Winkler <winkler@gnu.org>
19396
19397 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
19398 (bibtex-insert-kill): After yanking insert newline if necessary.
19399 (bibtex-initialize): Call bibtex-string-files-init only once.
19400 (bibtex-mode): Do not call easy-menu-add.
19401 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
19402 (bibtex-yank): Set arg properly if nil.
19403
19404 2011-06-05 Roland Winkler <winkler@gnu.org>
19405
19406 * textmodes/bibtex.el (bibtex-search-entry-globally):
19407 New variable.
19408 (bibtex-search-entry): Use it.
19409
19410 2011-06-05 Roland Winkler <winkler@gnu.org>
19411
19412 * textmodes/bibtex.el (bibtex-entry-format): New option
19413 sort-fields.
19414 (bibtex-format-entry, bibtex-reformat): Honor this option.
19415 (bibtex-parse-entry): Return fields in proper order.
19416
19417 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
19418
19419 * doc-view.el (doc-view-remove-if): Move computation of result out
19420 of `dolist' to silence misleading lexical-binding warning.
19421
19422 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
19423
19424 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
19425 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
19426
19427 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
19428
19429 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
19430 "SunOS 5.10".
19431
19432 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
19433
19434 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
19435 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
19436 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
19437 (tramp-parse-putty):
19438 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
19439 (tramp-completion-function-alist-ssh)
19440 (tramp-completion-function-alist-telnet)
19441 (tramp-completion-function-alist-su)
19442 (tramp-completion-function-alist-putty): Set `tramp-autoload'
19443 cookie.
19444
19445 * net/tramp-ftp.el:
19446 * net/tramp-sh.el:
19447 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
19448 load "tramp.el" `tramp-set-completion-function'.
19449
19450 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
19451
19452 * shell.el: Require and use pcomplete.
19453 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
19454 (shell-completion-vars): Set pcomplete-default-completion-function.
19455
19456 2011-06-04 Deniz Dogan <deniz@dogan.se>
19457
19458 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
19459 `memq' (Bug#8799).
19460
19461 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
19462
19463 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
19464
19465 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
19466
19467 * bs.el (bs--mark-unmark, bs--nth-wrapper):
19468 * mpc.el (mpc-select-extend, mpc-songpointer-context):
19469 * vc/log-view.el (log-view-beginning-of-defun):
19470 * vc/smerge-mode.el (smerge-apply-resolution-patch)
19471 (smerge-refine-forward, smerge-refine-chopup-region):
19472 Silence warning for unused `dotimes' counter variables.
19473
19474 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
19475
19476 * net/tramp.el (tramp-with-progress-reporter): Rename from
19477 with-progress-reporter. Use `declare'.
19478 * net/tramp-smb.el:
19479 * net/tramp-sh.el:
19480 * net/tramp-gvfs.el: Update all uses.
19481
19482 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
19483
19484 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
19485 buffer isn't killed before making it current.
19486
19487 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
19488
19489 Silence various byte-compiler warnings.
19490 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
19491 `access-type' and new obsolescence format.
19492 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
19493 new format.
19494 (byte-compile-check-variable): New `access-type' argument.
19495 Only warn if the access-type is obsolete.
19496 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
19497 (byte-compile-variable-set): Adjust callers.
19498 * help-fns.el (describe-variable): Adjust to new obsolescence format.
19499 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
19500 setting it as obsolete.
19501 * simple.el (minibuffer-completing-symbol):
19502 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
19503 access as obsolete.
19504 * minibuffer.el (minibuffer-completing-file-name): Don't make it
19505 obsolete yet.
19506 * international/quail.el (quail-mouse-choose-completion): Remove unused
19507 code referring to obsolete var.
19508 (quail-choose-completion-string): Remove.
19509 * server.el (server-clients-with, server-kill-buffer-query-function)
19510 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
19511 * proced.el (proced-send-signal):
19512 * emacs-lisp/lisp.el (lisp-complete-symbol):
19513 Replace completion-annotate-function with completion-extra-properties.
19514
19515 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
19516
19517 * simple.el (goto-line): Use read-number.
19518 (overriding-map-is-bound): Remove.
19519 (saved-overriding-map): Change default.
19520 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
19521 Take the map as argument.
19522 (universal-argument, negative-argument, digit-argument): Use it.
19523 (restore-overriding-map): Adjust.
19524 (do-auto-fill): Use fill-forward-paragraph.
19525 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
19526
19527 * minibuffer.el (minibuffer-inactive-mode-map): New var.
19528 (minibuffer-inactive-mode): New major mode.
19529 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
19530 the *Messages* buffer" hack.
19531 (mouse-popup-menubar): Don't burp if the event is a normal key.
19532
19533 Miscellaneous tweaks.
19534 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
19535 lexical scoping as in subr.el's dolist and dotimes.
19536 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
19537 Silence compiler warning.
19538 * thingatpt.el (forward-whitespace): Trivial coding style fix.
19539 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
19540 * international/ccl.el (ccl-compile): Trivial simplification.
19541 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
19542 * emacs-lisp/testcover.el (testcover-end): Remove spurious
19543 `printflag' argument.
19544 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
19545 Purecopy the whole obsolescence data.
19546
19547 2011-06-01 Leo Liu <sdl.web@gmail.com>
19548
19549 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
19550 improve doc-string as suggested by Marco Pessotto
19551 <melmothx@gmail.com>.
19552 (rcirc-print): Fix last change.
19553
19554 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
19555
19556 * minibuffer.el (complete-with-action): Return nil for the metadata and
19557 boundaries of non-functional tables.
19558 (completion-table-dynamic): Return nil for the metadata.
19559 (completion-table-with-terminator): Add default case, using
19560 complete-with-action.
19561 (completion--metadata): New function.
19562 (completion-all-sorted-completions, minibuffer-completion-help): Use it
19563 to try and avoid pathological performance problems.
19564 (completion--embedded-envvar-table): Return `category' metadata.
19565
19566 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
19567
19568 * subr.el (process-alive-p): New tiny convenience function.
19569
19570 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
19571
19572 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
19573 content but also its previous major mode.
19574
19575 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
19576
19577 * emacs-lisp/debug.el (debug): Restore the previous content of the
19578 *Backtrace* buffer when we exit with C-M-c.
19579
19580 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
19581
19582 * minibuffer.el: Add metadata method to completion tables.
19583 (completion-category-overrides): New defcustom.
19584 (completion-metadata, completion--field-metadata)
19585 (completion-metadata-get, completion--styles)
19586 (completion--cycle-threshold): New functions.
19587 (completion-try-completion, completion-all-completions):
19588 Add `metadata' argument to choose completion-styles.
19589 (completion--do-completion): Use metadata to choose cycling.
19590 (completion-all-sorted-completions): Use metadata for sorting.
19591 Remove :completion-cycle-penalty which is not needed any more.
19592 (completion--try-word-completion): Add `metadata' argument.
19593 (minibuffer-completion-help): Check metadata for annotation function
19594 and sorting.
19595 (completion-file-name-table): Return `category' metadata.
19596 (minibuffer-completing-file-name): Make obsolete.
19597 * simple.el (minibuffer-completing-symbol): Make obsolete.
19598 * icomplete.el (icomplete-completions): Pass new `metadata' param to
19599 completion-try-completion.
19600
19601 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
19602
19603 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
19604
19605 2011-05-30 Leo Liu <sdl.web@gmail.com>
19606
19607 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
19608 (rcirc-print): Decode all incoming messages (bug#8744).
19609 (rcirc-decode-coding-system): Allow value nil for automatic coding
19610 system detection.
19611
19612 2011-06-01 Glenn Morris <rgm@gnu.org>
19613
19614 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
19615
19616 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
19617
19618 * image.el (image-animate-max-time): Allow nil and t values.
19619 Default to nil.
19620 (create-animated-image): Doc fix.
19621 (image-animate-start): Remove second arg; just use
19622 image-animate-max-time.
19623 (image-animate-timeout): Doc fix. Args changed.
19624
19625 * image-mode.el (image-toggle-display-image): Ensure that the
19626 image spec passed to the animate timer is the same object as in
19627 the buffer's display property (Bug#6981).
19628 (image-transform-properties): Doc fix.
19629
19630 * image.el (image-animate-max-time): Default to nil.
19631
19632 2011-05-29 Martin Rudalics <rudalics@gmx.at>
19633
19634 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
19635 entire buffer list (Bug#8184).
19636
19637 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
19638
19639 * image.el (imagemagick-types-inhibit)
19640 (imagemagick-register-types): Doc fix.
19641
19642 2011-05-29 Deniz Dogan <deniz@dogan.se>
19643
19644 * net/rcirc.el (rcirc): Use the user's stored encryption method by
19645 default.
19646
19647 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
19648
19649 * select.el: Don't perform clipboard-manager saving in hooks;
19650 leave the hooks empty.
19651
19652 2011-05-28 Leo Liu <sdl.web@gmail.com>
19653
19654 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
19655 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
19656 (occur-edit-mode): New major mode (Bug#8463).
19657 (occur-after-change-function): New function.
19658 (occur-engine): Give Occur tags a read-only property.
19659
19660 2011-05-28 Kevin Ryde <user42@zip.com.au>
19661
19662 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
19663
19664 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
19665
19666 * bindings.el (help-echo): Make the initial non-indicator dash
19667 empty on graphical terminals (Bug#7295).
19668
19669 * files.el (auto-mode-alist): Move config rule after the
19670 in-stripping one (Bug#8547).
19671
19672 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
19673
19674 * startup.el (normal-splash-screen): Remove gratuitous mode-line
19675 setting (Bug#8740).
19676
19677 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
19678
19679 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
19680 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
19681 (Bug#8539).
19682
19683 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
19684
19685 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
19686
19687 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
19688
19689 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
19690 (hs-hide-block-at-point, hs-find-block-beginning)
19691 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
19692 (Bug#8279).
19693
19694 2011-05-28 Glenn Morris <rgm@gnu.org>
19695
19696 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
19697
19698 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
19699
19700 * help-fns.el (describe-function-1): If the function is a derived
19701 major mode, print the parent mode.
19702
19703 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
19704 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
19705
19706 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
19707
19708 * minibuffer.el (completion--capf-wrapper): Check applicability before
19709 returning non-nil for non-exclusive completion data.
19710 * progmodes/etags.el (tags-completion-at-point-function):
19711 * info-look.el (info-lookup-completions-at-point): Mark as
19712 non-exclusive.
19713 (info-complete): Adjust accordingly.
19714
19715 * info-look.el: Convert to lexical-binding and completion-at-point.
19716 (info-lookup-completions-at-point): New function.
19717 (info-complete): Use it and completion-in-region.
19718
19719 2011-05-28 Drew Adams <drew.adams@oracle.com>
19720
19721 * isearch.el: Let M-e start with point at the first mismatched char.
19722 (isearch-fail-pos): New function.
19723 (isearch-edit-string): Use it.
19724
19725 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
19726
19727 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
19728
19729 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
19730
19731 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
19732 traversal functions for avl-trees.
19733 (avl-tree--stack): New struct.
19734 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
19735 (avl-tree-enter): Add optional `updatefun' arg.
19736 (avl-tree--do-enter): Add optional `updatefun' arg.
19737 Change return value.
19738 (avl-tree-delete): Add optional `test' and `nilflag' args.
19739 (avl-tree--do-delete): Add `test' and `nilflag' args.
19740 Change return value.
19741 (avl-tree-member): Add optional `nilflag'
19742 (avl-tree-member-p): New function.
19743 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
19744 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
19745 (avl-tree-stack-empty-p): New functions.
19746
19747 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
19748 avl-tree--del-balance1 and make it work both ways.
19749 (avl-tree--del-balance2): Remove.
19750 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
19751 make it work both ways.
19752 (avl-tree--enter-balance2): Remove.
19753 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
19754 New macros.
19755 (avl-tree--mapc, avl-tree-map): Add direction argument.
19756
19757 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
19758
19759 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
19760
19761 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
19762
19763 * select.el: Support clipboard managers with built-in function
19764 x-clipboard-manager-save, via delete-frame-functions and
19765 kill-emacs-hook.
19766 (xselect-convert-to-targets): Add MULTIPLE target to list.
19767 (xselect-convert-to-save-targets): New function.
19768
19769 2011-05-27 Kenichi Handa <handa@m17n.org>
19770
19771 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
19772 let-binding rfc2047-encode-encoded-words to nil.
19773
19774 2011-05-27 Glenn Morris <rgm@gnu.org>
19775
19776 * mail/emacsbug.el: Don't require url-util.
19777
19778 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
19779
19780 * files.el (set-auto-mode):
19781 Also respect mode: entries at the end of the file. (Bug#8586)
19782
19783 2011-05-26 Glenn Morris <rgm@gnu.org>
19784
19785 * files.el (hack-local-variables-prop-line, hack-local-variables):
19786 Downcase mode names, as seems to be traditional.
19787 (hack-local-variables, hack-local-variables-apply): Doc fixes.
19788
19789 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
19790 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
19791
19792 2011-05-25 Julien Danjou <julien@danjou.info>
19793
19794 * textmodes/rst.el (rst-define-level-faces): Do not define face
19795 symbol if it is already defined.
19796
19797 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
19798
19799 * play/5x5.el (5x5-new-game, 5x5-randomize):
19800 Reset 5x5-solver-output to nil when a new grid is cast.
19801 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
19802 these debugging traces, as defmacro breaks the compiled code.
19803
19804 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
19805
19806 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
19807
19808 2011-05-24 Leo Liu <sdl.web@gmail.com>
19809
19810 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
19811 (vc-bzr-sha1): Adapt.
19812
19813 * sha1.el: Remove. Function `sha1' is now builtin.
19814
19815 * bindings.el: Provide sha1 feature.
19816
19817 2011-05-24 Kenichi Handa <handa@m17n.org>
19818
19819 * mail/sendmail.el: Require `rfc2047'.
19820 (mail-insert-from-field): Do not perform RFC2047 encoding.
19821 (mail-encode-header): New function.
19822 (sendmail-send-it): Set buffer-file-coding-system of the work
19823 buffer to the return value of select-message-coding-system.
19824 Call mail-encode-header.
19825
19826 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
19827
19828 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
19829
19830 * mail/supercite.el (sc-default-cite-frame):
19831 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
19832
19833 2011-05-24 Glenn Morris <rgm@gnu.org>
19834
19835 * progmodes/python.el (brm-menu): Declare.
19836
19837 * emulation/viper.el (viper-set-hooks): Declare.
19838
19839 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
19840 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
19841 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
19842 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
19843 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
19844 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
19845
19846 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
19847
19848 Add an :exit-function for completion-at-point.
19849
19850 * minibuffer.el (completion--done): New fun.
19851 (completion--do-completion): Use it. New arg `expect-exact'.
19852 (minibuffer-complete, minibuffer-complete-word): Don't output message,
19853 since completion--do-completion does it for us now.
19854 (minibuffer-force-complete): Use completion--done and
19855 completion--replace. Handle sole-completion case with more care.
19856 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
19857 (completion-extra-properties): New var.
19858 (completion-annotate-function): Make obsolete.
19859 (minibuffer-completion-help): Adjust accordingly.
19860 Use completion-list-insert-choice-function.
19861 (completion-at-point, completion-help-at-point):
19862 Bind completion-extra-properties.
19863 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
19864 * simple.el (completion-list-insert-choice-function): New var.
19865 (completion-setup-function): Preserve it.
19866 (choose-completion): Pay attention to it, shuffle the code a bit.
19867 (choose-completion-string): New arg `insert-function'.
19868
19869 * textmodes/bibtex.el: Convert to lexical binding.
19870 (bibtex-mode-map): Use completion-at-point.
19871 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
19872 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
19873 (bibtex-complete): Define as obsolete alias.
19874 (bibtex-complete-internal): Remove.
19875 (bibtex-format-entry): Remove unused sub-group in regexp.
19876 * shell.el (shell--command-completion-data)
19877 (shell-environment-variable-completion):
19878 * pcomplete.el (pcomplete-completions-at-point):
19879 * comint.el (comint--complete-file-name-data): Use :exit-function
19880 instead of completion-table-with-terminator so it also works for
19881 choose-completion.
19882
19883 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
19884
19885 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
19886
19887 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
19888 (bug#8710).
19889
19890 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
19891
19892 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
19893
19894 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
19895 customization variable and implement: If non-nil, auto-fill will
19896 be inhibited while on topic's header line.
19897
19898 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
19899
19900 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
19901 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
19902 always have a solution in grid size = 5 cases.
19903 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
19904 (5x5-solver-output, 5x5-log-buffer): New vars.
19905 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
19906 Make these variables buffer local to achieve 5x5 multi-session-ness.
19907 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
19908 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
19909 (5x5-solve-suggest): New funs.
19910 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
19911 randomize a grid so that we ensure that there is always a solution.
19912 (5x5-make-random-grid): Allow other movement than flipping.
19913
19914 2011-05-23 Kevin Ryde <user42@zip.com.au>
19915
19916 * emacs-lisp/advice.el (ad-read-advised-function):
19917 Use `function-called-at-point' as the default, if it has
19918 advice and passes PREDICATE.
19919
19920 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
19921
19922 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
19923 byte-compile-lambda if it's actually a lambda.
19924
19925 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
19926 Fix function quoting. Use backquote better.
19927
19928 2011-05-22 Yuanle Song <sylecn@gmail.com>
19929
19930 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
19931 matching (Bug#8516).
19932
19933 2011-01-22 Jari Aalto <jari.aalto@cante.net>
19934
19935 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
19936 different face (Bug#8178).
19937
19938 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
19939
19940 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
19941 defface (Bug#8144).
19942
19943 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
19944
19945 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
19946 funcall as well (bug#8712). Warn when performing those conversions.
19947 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
19948
19949 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
19950
19951 2011-05-22 Glenn Morris <rgm@gnu.org>
19952
19953 * files.el (hack-local-variables-prop-line): Small simplifications.
19954 (hack-local-variables, hack-local-variables-prop-line):
19955 If MODE-ONLY, return the mode, rather than just `t'.
19956
19957 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
19958
19959 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
19960
19961 2011-05-21 Glenn Morris <rgm@gnu.org>
19962
19963 * files.el (hack-local-variables-prop-line, hack-local-variables):
19964 If only interested in the mode, don't bother doing the other stuff.
19965
19966 * image-mode.el (image-after-revert-hook):
19967 Redraw all frames on which the image is visible. (Bug#8567)
19968
19969 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
19970
19971 * wid-edit.el (widget-checklist-match-inline):
19972 Fix 2011-04-19 change. (Bug#8649)
19973
19974 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
19975
19976 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
19977 Also allow singlespace after single-letter capitals followed by a dot.
19978
19979 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
19980 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
19981
19982 2011-05-20 Nix <nix@esperi.org.uk>
19983
19984 * files.el (basic-save-buffer-2):
19985 Fix handling of break-hardlink-on-save with non-existent files.
19986
19987 2011-05-19 Deniz Dogan <deniz@dogan.se>
19988
19989 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
19990 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
19991
19992 2011-05-19 Glenn Morris <rgm@gnu.org>
19993
19994 * progmodes/f90.el (f90-type-def-re):
19995 Handle "type, bind(c)". (Bug#8691)
19996
19997 * emacs-lisp/autoload.el (batch-update-autoloads):
19998 Set autoload-excludes by parsing loadup.el rather than Makefiles.
19999
20000 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
20001
20002 * net/tramp.el (tramp-process-actions): Set "first-password-request"
20003 property for the correct connection in case of multihops.
20004
20005 2011-05-18 Glenn Morris <rgm@gnu.org>
20006
20007 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
20008 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
20009
20010 Rationalize calendar handling of day and month abbrev-arrays.
20011 * calendar/calendar.el (calendar-customized-p): New function.
20012 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
20013 (calendar-day-name-array, calendar-month-name-array): Doc fix.
20014 Add :set function.
20015 (calendar-abbrev-length, calendar-day-abbrev-array)
20016 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
20017 (calendar-day-abbrev-array, calendar-month-abbrev-array):
20018 Elements may no longer be nil.
20019 (calendar-day-name, calendar-month-name):
20020 Update for changed nature of abbrev arrays.
20021 * calendar/diary-lib.el (diary-name-pattern):
20022 Update for changed nature of abbrev arrays.
20023 (diary-mark-entries-1): Update calendar-make-alist calls.
20024 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
20025 * calendar/cal-html.el (cal-html-day-abbrev-array):
20026 Simply inherit from calendar-day-abbrev-array.
20027
20028 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
20029
20030 * progmodes/grep.el (grep-mode): Disable default
20031 compilation-directory-matcher setting (bug#8684).
20032
20033 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
20034
20035 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
20036 instead of "head" and "tail". There were problems with SunOS 5.9,
20037 and it performs better.
20038
20039 2011-05-17 Glenn Morris <rgm@gnu.org>
20040
20041 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
20042
20043 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
20044 Replace obsolete function.
20045
20046 * shell.el (pcomplete-parse-arguments-function): Declare.
20047
20048 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
20049 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
20050 (appt-check): Doc fixes.
20051 (appt-disp-window-function, appt-delete-window-function):
20052 Remove needless special case in custom :type.
20053 (appt-display-count): Default to 0, not nil.
20054 (appt-check): Reset appt-display-count to 0, not nil.
20055
20056 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
20057
20058 * progmodes/python.el (python-font-lock-keywords):
20059 Add the Python 3.X keyword "nonlocal" (bug#8639).
20060
20061 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
20062
20063 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
20064
20065 2011-05-16 Kevin Ryde <user42@zip.com.au>
20066
20067 * info-look.el (makefile-automake-mode): New setups, looking in
20068 automake manual, then makefile-mode.
20069 (makefile-mode): Remove automake manual, have it just in
20070 makefile-automake-mode since there's various things different or
20071 not relevant to plain make.
20072 (makefile-mode): Remove "other-modes" non-existent automake-mode,
20073 believe a hypothetical automake-mode would go to makefile-mode,
20074 not the other way around.
20075
20076 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
20077
20078 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
20079 hunk-end tags (Bug#8672).
20080
20081 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
20082 vc-annotate-show-diff-revision-at-line (Bug#8671).
20083
20084 2011-05-14 Glenn Morris <rgm@gnu.org>
20085
20086 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
20087 in the middle of an existing one with multiple authors. (Bug#8645)
20088 (change-log-font-lock-keywords): Also handle multiple author lines
20089 with leading tabs. (Bug#8644)
20090
20091 * calendar/appt.el (appt-check): Rename some local variables.
20092 Some simplification/reordering.
20093
20094 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
20095 (feedmail-sendmail-f-doesnt-sell-me-out)
20096 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
20097 (feedmail-debug-sit-for, feedmail-queue-express-hook)
20098 (feedmail-queue-runner-message-sender): Set :version.
20099 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
20100 (bbdb-dwim-net-address, vm-mail): Declare.
20101 (feedmail-binmail-gnulinuxish-template):
20102 Rename from feedmail-binmail-linuxish-template.
20103 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
20104 Use insert-buffer-substring.
20105
20106 2011-05-14 Bill Carpenter <bill@carpenter.org>
20107
20108 * mail/feedmail.el (feedmail-patch-level): Increase.
20109 (feedmail-debug): New custom group.
20110 (feedmail-confirm-outgoing-timeout)
20111 (feedmail-sendmail-f-doesnt-sell-me-out)
20112 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
20113 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
20114 (feedmail-sender-line, feedmail-from-line)
20115 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
20116 (feedmail-spray-this-address)
20117 (feedmail-spray-address-fiddle-plex-list)
20118 (feedmail-queue-use-send-time-for-date)
20119 (feedmail-queue-use-send-time-for-message-id)
20120 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
20121 (feedmail-buffer-eating-function):
20122 Doc fixes.
20123 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
20124 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
20125 (feedmail-message-action-scroll-down): New functions.
20126 (feedmail-queue-directory, feedmail-queue-draft-directory):
20127 Use expand-file-name.
20128 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
20129 Remove C-v help entry.
20130 (feedmail-queue-buffer-file-name): New variable.
20131 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
20132 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
20133 (feedmail-message-action-send-strong, feedmail-message-action-edit)
20134 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
20135 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
20136 (feedmail-message-action-toggle-spray)
20137 (feedmail-run-the-queue-no-prompts)
20138 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
20139 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
20140 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
20141 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
20142 (feedmail-envelope-deducer, feedmail-fiddle-from)
20143 (feedmail-fiddle-sender, feedmail-default-date-generator)
20144 (feedmail-fiddle-date, feedmail-fiddle-message-id)
20145 (feedmail-fiddle-spray-address)
20146 (feedmail-fiddle-list-of-spray-fiddle-plexes)
20147 (feedmail-fiddle-list-of-fiddle-plexes)
20148 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
20149 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
20150 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
20151 Change default. Doc fix.
20152 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
20153 (feedmail-binmail-linuxish-template): New constant.
20154 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
20155 Respect feedmail-sendmail-f-doesnt-sell-me-out.
20156 (feedmail-send-it): Add debug call.
20157 Use feedmail-queue-buffer-file-name, and
20158 feedmail-send-it-immediately-wrapper.
20159 (feedmail-message-action-send): Add debug call.
20160 Use feedmail-send-it-immediately-wrapper.
20161 (feedmail-queue-express-to-queue): Add debug call.
20162 Run feedmail-queue-express-hook.
20163 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
20164 (feedmail-message-action-help-blat):
20165 Rename from feedmail-queue-send-edit-prompt-help-first.
20166 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
20167 Check line-endings. Handle errors better.
20168 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
20169 Doc fix. Add debug call.
20170 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
20171 Use feedmail-queue-send-edit-prompt-inner.
20172 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
20173 (feedmail-queue-send-edit-prompt-inner): New function, extracted
20174 from feedmail-queue-send-edit-prompt.
20175 (feedmail-queue-send-edit-prompt-help)
20176 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
20177 (feedmail-tidy-up-slug): Add debug call.
20178 Respect feedmail-queue-slug-suspect-regexp.
20179 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
20180 (feedmail-dump-message-to-queue): Add debug call.
20181 Expand queue-directory.
20182 (feedmail-dump-message-to-queue): Change message slightly.
20183 Use feedmail-say-chatter.
20184 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
20185 (feedmail-send-it-immediately-wrapper): New function.
20186 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
20187 Insert empty string rather than newline. Handle full-frame case.
20188 Use catch/throw. Use feedmail-say-chatter.
20189 (feedmail-fiddle-from): Try mail-host-address.
20190 (feedmail-default-message-id-generator): Doc fix.
20191 Bind system-time-locale. Handle missing end.
20192 (feedmail-fiddle-x-mailer): Add debug call.
20193 Handle feedmail-x-mailer-line being nil.
20194 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
20195 Add debug call. Use buffer-substring-no-properties.
20196 (feedmail-say-debug, feedmail-say-chatter): New functions.
20197 (feedmail-find-eoh): Give an explicit error.
20198
20199 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
20200
20201 * net/newst-treeview.el (newsticker-treeview-face): Change default
20202 family from helvetica to sans.
20203 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
20204 etc/images/newsticker.
20205
20206 * net/newst-reader.el (newsticker-feed-face): Change default
20207 family from helvetica to sans.
20208
20209 * net/newst-plainview.el (newsticker-new-item-face)
20210 (newsticker-old-item-face, newsticker-immortal-item-face)
20211 (newsticker-obsolete-item-face, newsticker-date-face)
20212 (newsticker-statistics-face): Change default family from
20213 helvetica to sans.
20214 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
20215 etc/images/newsticker.
20216
20217 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
20218 (newsticker--process-auto-mark-filter-match): Tell user about
20219 auto-marking.
20220
20221 2011-05-13 Didier Verna <didier@xemacs.org>
20222
20223 Common Lisp indentation improvements on defmethod and lambda-lists.
20224 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
20225 TODO entries.
20226 (lisp-lambda-list-keyword-parameter-indentation)
20227 (lisp-lambda-list-keyword-parameter-alignment)
20228 (lisp-lambda-list-keyword-alignment): New customizable user options.
20229 (lisp-indent-defun-method): Improve docstring.
20230 (extended-loop-p): Fix comment.
20231 (lisp-indent-lambda-list-keywords-regexp): New variable.
20232 (lisp-indent-lambda-list): New function.
20233 (lisp-indent-259): Use it.
20234 (lisp-indent-defmethod): Support for more than one
20235 method qualifier and properly indent methods lambda-lists.
20236 (defgeneric): Provide a missing common-lisp-indent-function property.
20237
20238 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
20239
20240 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
20241 bounds for the empty string (bug#8667).
20242
20243 2011-05-13 Glenn Morris <rgm@gnu.org>
20244
20245 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
20246
20247 * mail/sendmail.el (sendmail-program): Try executable-find first.
20248 (sendmail-send-it): `sendmail-program' cannot be unbound.
20249
20250 * calendar/appt.el (appt-make-list): Simplify.
20251 (appt-time-msg-list): Doc fix.
20252 (appt-check): Change mode-line message at the time of the appointment.
20253
20254 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
20255
20256 * progmodes/ld-script.el (ld-script-keywords)
20257 (ld-script-builtins): Update keywords list.
20258
20259 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
20260
20261 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
20262
20263 * shell.el (shell-completion-vars): New function.
20264 (shell-mode):
20265 * simple.el (read-shell-command): Use it.
20266 (blink-matching-open): No need for " [...]" in minibuffer-message.
20267
20268 2011-05-12 Glenn Morris <rgm@gnu.org>
20269
20270 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
20271 (appt-check): Simplify.
20272
20273 2011-05-12 Eli Zaretskii <eliz@gnu.org>
20274
20275 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
20276 literal "/dev/null".
20277
20278 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
20279
20280 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
20281 Fix typo.
20282
20283 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
20284
20285 * progmodes/which-func.el (which-function):
20286 Use add-log-current-defun instead of add-log-current-defun-function,
20287 which might not be defined (Bug#8260).
20288
20289 2011-05-12 Glenn Morris <rgm@gnu.org>
20290
20291 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
20292 Let byte-compile-initial-macro-environment always take precedence.
20293
20294 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
20295
20296 * net/rcirc.el: Add support for SSL/TLS connections.
20297 (rcirc-server-alist): New field `encryption'.
20298 (rcirc): Check `encryption' settings.
20299 (rcirc-connect): New arg `encryption'. Use open-network-stream.
20300 Merge make-local-variable into `set'.
20301 (rcirc--connection-open-p): New function.
20302 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
20303 the process is not a network process (e.g. running gnutls-cli).
20304 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
20305 Make rcirc-(en|de)code-coding-system local here.
20306 (rcirc-mode): Merge make-local-variable into `set'.
20307 (rcirc-parent-buffer): Make permanent buffer-local.
20308 (rcirc-multiline-minor-mode): Don't do it here.
20309 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
20310 there's no server buffer.
20311
20312 2011-05-11 Glenn Morris <rgm@gnu.org>
20313
20314 * newcomment.el (comment-kill): Prefix "unused" local.
20315
20316 * term/w32console.el (get-screen-color): Declare.
20317
20318 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
20319 Handle symbol elements of byte-compile-initial-macro-environment.
20320
20321 2011-05-10 Leo Liu <sdl.web@gmail.com>
20322
20323 * bookmark.el (bookmark-bmenu-mode-map):
20324 Bind bookmark-bmenu-search to `/'.
20325
20326 * mail/footnote.el: Convert to utf-8 encoding.
20327 (footnote-unicode-string, footnote-unicode-regexp): New variable.
20328 (Footnote-unicode): New function.
20329 (footnote-style-alist): Add unicode style to the list.
20330 (footnote-style): Doc fix.
20331
20332 2011-05-10 Jim Meyering <meyering@redhat.com>
20333
20334 Fix doubled-word typos.
20335 * international/quail.el (quail-insert-kbd-layout): and and -> and
20336 * kermit.el: and and -> and
20337 * net/ldap.el (ldap-search-internal): to to -> to
20338 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
20339 * progmodes/js.el (js-mode): and and -> and
20340 * textmodes/artist.el (artist-move-to-xy): at at -> at
20341 (artist-draw-region-trim-line-endings): if if -> if
20342 And Safetyc -> Safety.
20343 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
20344
20345 2011-05-10 Glenn Morris <rgm@gnu.org>
20346 Stefan Monnier <monnier@iro.umontreal.ca>
20347
20348 * files.el (hack-one-local-variable-eval-safep):
20349 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
20350
20351 2011-05-10 Glenn Morris <rgm@gnu.org>
20352
20353 * calendar/diary-lib.el (diary-list-entries-hook)
20354 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
20355 (diary-nongregorian-marking-hook, diary-list-entries)
20356 (diary-include-other-diary-files, diary-mark-entries)
20357 (diary-mark-included-diary-files): Doc fixes.
20358
20359 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
20360
20361 * misc.el: Require tabulated-list.el during compilation.
20362
20363 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
20364
20365 * progmodes/compile.el (compilation-start):
20366 Run compilation-filter-hook for the async case too.
20367 (compilation-filter-hook): Doc fix.
20368
20369 2011-05-09 Deniz Dogan <deniz@dogan.se>
20370
20371 * wdired.el: Remove outdated installation comment. Fix usage
20372 comment.
20373
20374 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
20375
20376 * misc.el: Implement new command `list-dynamic-libraries'.
20377 (list-dynamic-libraries--loaded-only-p): New variable.
20378 (list-dynamic-libraries--refresh): New function.
20379 (list-dynamic-libraries): New command.
20380
20381 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
20382
20383 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20384 Fix the ant regexp to handle end-line and end-column info from jikes.
20385 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
20386 higher priority to avoid clobbering by gnu.
20387
20388 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
20389
20390 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
20391 if the face has existing theme settings (Bug#8454).
20392
20393 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
20394
20395 * progmodes/perl-mode.el (perl-imenu-generic-expression):
20396 Only match variables declared via `my' or `our' (Bug#8261).
20397
20398 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
20399 special file names `.' and `..' (Bug#8259).
20400
20401 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
20402
20403 * progmodes/grep.el (grep-mode-font-lock-keywords):
20404 Remove buffer-changing entries.
20405 (grep-filter): New function.
20406 (grep-mode): Add it to compilation-filter-hook.
20407
20408 * progmodes/compile.el (compilation-filter-hook)
20409 (compilation-filter-start): New defvars.
20410 (compilation-filter): Call compilation-filter-hook prior to
20411 updating the process mark.
20412
20413 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
20414
20415 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
20416
20417 2011-05-07 Eli Zaretskii <eliz@gnu.org>
20418
20419 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
20420 mailclient-send-it even if window-system is nil. (Bug#8595)
20421
20422 * term/w32console.el (terminal-init-w32console):
20423 Call get-screen-color and use its output to set the frame
20424 background-mode. (Bug#8597)
20425
20426 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
20427
20428 Make bytecomp.el understand that defmethod defines funs (bug#8631).
20429 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
20430 New functions.
20431 (defgeneric, eieio--defmethod): Use them.
20432 (eieio-defgeneric): Remove.
20433 (defmethod): Call defgeneric in a way visible to the byte-compiler.
20434
20435 2011-05-07 Glenn Morris <rgm@gnu.org>
20436
20437 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
20438 Use let rather than let*.
20439 (timeclock-find-discrep): Remove unused local.
20440
20441 * calendar/diary-lib.el (diary-comment-start): Doc fix.
20442
20443 * calendar/appt.el (appt-time-msg-list): Doc fix.
20444
20445 2011-05-06 Noah Friedman <friedman@splode.com>
20446
20447 * apropos.el (apropos-print-doc): Only use
20448 emacs-lisp-docstring-fill-column when it is bound to an integer,
20449 per that variable's documentation.
20450
20451 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
20452
20453 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
20454 and warnings are not silently discarded (e.g. use -d instead of -P).
20455
20456 2011-05-06 Glenn Morris <rgm@gnu.org>
20457
20458 * calendar/appt.el (appt-message-warning-time): Doc fix.
20459 (appt-warning-time-regexp): New option.
20460 (appt-make-list): Respect appt-message-warning-time.
20461
20462 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
20463 New options.
20464 (diary-add-to-list): Strip comments from the displayed string.
20465 (diary-mode): Set comment-start and comment-end.
20466
20467 * vc/diff-mode.el (smerge-refine-subst): Declare.
20468 (diff-refine-hunk): Don't require smerge-mode when compiling.
20469
20470 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
20471
20472 * simple.el (list-processes): Return nil as the docstring says.
20473
20474 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
20475
20476 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
20477 to "".
20478 (ange-ftp-write-region, ange-ftp-insert-file-contents)
20479 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
20480 determining of binary transfer. (Bug#7383)
20481
20482 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
20483
20484 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20485 Fix port computation bug. (Bug#8618)
20486
20487 2011-05-05 Glenn Morris <rgm@gnu.org>
20488
20489 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
20490
20491 * simple.el (shell-dynamic-complete-functions)
20492 (comint-dynamic-complete-functions): Declare.
20493
20494 * net/network-stream.el (gnutls-negotiate):
20495 * simple.el (tabulated-list-print): Fix declarations.
20496
20497 * progmodes/gud.el (syntax-symbol, syntax-point):
20498 Remove unnecessary and incorrect declarations.
20499
20500 * emacs-lisp/check-declare.el (check-declare-scan):
20501 Handle byte-compile-initial-macro-environment in bytecomp.el.
20502
20503 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
20504
20505 Fix earlier half-done eieio-defmethod change (bug#8338).
20506 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
20507 Streamline and change calling convention.
20508 (defmethod): Adjust accordingly and simplify.
20509 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
20510 new eieio--defmethod.
20511 (slot-boundp): Minor CSE simplification.
20512
20513 2011-05-05 Milan Zamazal <pdm@zamazal.org>
20514
20515 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
20516 (glasses-make-readable): Use glasses-separate-capital-groups.
20517
20518 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
20519
20520 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
20521 (warning-series): Doc fix.
20522 (display-warning): Don't try to create the buffer if we just found it.
20523
20524 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
20525
20526 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
20527 (autoload-find-generated-file): New function.
20528 (generate-file-autoloads): Bind generated-autoload-file to
20529 buffer-file-name.
20530 (update-file-autoloads, update-directory-autoloads):
20531 Use autoload-find-generated-file. If called interactively, prompt for
20532 output file (Bug#7989).
20533 (batch-update-autoloads): Doc fix.
20534
20535 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
20536
20537 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
20538
20539 2011-05-04 Glenn Morris <rgm@gnu.org>
20540
20541 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
20542 function, so it follows changes in calendar-date-style.
20543 (diary-fancy-date-matcher): New function.
20544 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
20545 (diary-fancy-font-lock-fontify-region-function):
20546 Use diary-fancy-date-pattern as a function.
20547
20548 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
20549 non-numbers for `year' etc pseudo-variables. (Bug#8583)
20550
20551 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
20552
20553 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
20554 instead of positional arguments. Allow :keylist and :crlfiles
20555 arguments.
20556 (open-gnutls-stream): Call it.
20557
20558 * net/network-stream.el (network-stream-open-starttls): Adjust to
20559 call `gnutls-negotiate' with :process and :hostname arguments.
20560
20561 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
20562
20563 * minibuffer.el (completion--message): New function.
20564 (completion--do-completion, minibuffer-complete)
20565 (minibuffer-force-complete, minibuffer-complete-word): Use it.
20566 (completion--do-completion): Don't ignore completion-auto-help when in
20567 icomplete-mode.
20568
20569 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
20570 internal encoding (e.g. tibetan zero is not whitespace).
20571 (global-whitespace-mode): Prefer save-current-buffer.
20572 (whitespace-trailing-regexp): Remove useless save-match-data.
20573 (whitespace-empty-at-bob-regexp): Minor simplification.
20574
20575 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
20576
20577 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
20578
20579 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
20580
20581 * textmodes/ispell.el (ispell-add-per-file-word-list):
20582 Use `concat' to create string for insertion.
20583
20584 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
20585
20586 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
20587 Avoid open-line which runs post-self-insert-hook.
20588 (bibtex-fill-entry): Remove unused `end' var.
20589
20590 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
20591
20592 * textmodes/ispell.el (ispell-add-per-file-word-list):
20593 Protect against `nil' value of `comment-start' (Bug#8579).
20594
20595 2011-05-03 Leo Liu <sdl.web@gmail.com>
20596
20597 * isearch.el (isearch-yank-pop): New command.
20598 (isearch-mode-map): Bind it to `M-y'.
20599 (isearch-forward): Mention it.
20600
20601 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
20602
20603 * simple.el (minibuffer-complete-shell-command): Remove.
20604 (minibuffer-local-shell-command-map): Use completion-at-point.
20605 (read-shell-command): Setup completion vars here instead.
20606 (read-expression-map): Bind TAB to symbol completion.
20607
20608 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
20609 error directly rather via storing it into `results'.
20610
20611 2011-05-02 Leo Liu <sdl.web@gmail.com>
20612
20613 * vc/diff.el: Fix description.
20614
20615 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20616
20617 * server.el (server-eval-at): New function.
20618
20619 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
20620
20621 * net/network-stream.el (open-network-stream): Take a :nowait
20622 parameter and pass it on to `make-network-process'.
20623 (network-stream-open-plain): Ditto.
20624
20625 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
20626
20627 * faces.el (face-spec-set-match-display): Don't match toolkit
20628 options on terminal frames.
20629
20630 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
20631
20632 * progmodes/pascal.el: Use lexical binding.
20633 (pascal-mode-map): Remove author preferences.
20634
20635 * pcomplete.el (pcomplete-std-complete): Don't abuse
20636 completion-at-point.
20637
20638 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
20639
20640 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
20641 removing code that has been dead since 1991 or so.
20642
20643 * startup.el (command-line): When warning about "_emacs", use a
20644 delayed warning to allow the user to filter it out.
20645
20646 2011-04-28 Deniz Dogan <deniz@dogan.se>
20647
20648 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
20649 user has not joined.
20650
20651 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
20652
20653 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
20654 aren't any completions at point.
20655
20656 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
20657
20658 * subr.el (display-delayed-warnings): New function.
20659 (delayed-warnings-hook): New variable.
20660
20661 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
20662
20663 * minibuffer.el (completion-at-point, completion-help-at-point):
20664 Don't presume that a given completion-at-point-function will always
20665 use the same calling convention.
20666
20667 * pcomplete.el (pcomplete-completions-at-point):
20668 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
20669 pcomplete-seen is non-nil.
20670 (pcomplete-comint-setup): Also recognize the new comint/shell
20671 completion functions.
20672 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
20673 pcomplete-seen is non-nil.
20674
20675 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
20676
20677 * calendar/icalendar.el (diary-lib): Add require statement.
20678 (icalendar--create-uid): Read out a uid from a text-property on
20679 the first character in the entry. This allows for code to add its
20680 own uid to the entry.
20681 (icalendar--convert-float-to-ical): Add export of
20682 `diary-float'-entries save for those with the optional DAY
20683 argument.
20684
20685 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
20686
20687 * subr.el (shell-quote-argument): Use alternate escaping strategy
20688 when we spot a variable reference in a string.
20689
20690 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
20691
20692 * cus-start.el (all): Define customization for debug-on-event.
20693
20694 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
20695
20696 * subr.el (shell-quote-argument): Escape correctly under Windows.
20697
20698 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
20699
20700 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
20701
20702 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
20703
20704 * net/tramp.el (tramp-process-actions): Add POS argument.
20705 Delete region between POS and (pos).
20706
20707 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20708 Use `nil' position in `tramp-process-actions' call.
20709 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
20710
20711 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
20712 position in `tramp-process-actions' call.
20713
20714 * net/trampver.el: Update release number.
20715
20716 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
20717
20718 * custom.el (defcustom): Obey lexical-binding.
20719
20720 Fix octave-inf completion problems reported by Alexander Klimov.
20721 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
20722 Inherit from octave-mode-syntax-table.
20723 (inferior-octave-mode): Set info-lookup-mode.
20724 (inferior-octave-completion-at-point): New function.
20725 (inferior-octave-complete): Use it and completion-in-region.
20726 (inferior-octave-dynamic-complete-functions): Use it as well, and use
20727 comint-filename-completion.
20728 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
20729 symbol elements which shouldn't be word elements.
20730 (octave-font-lock-keywords, octave-beginning-of-defun)
20731 (octave-function-header-regexp): Adjust regexps accordingly.
20732 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
20733
20734 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
20735
20736 * net/gnutls.el (gnutls-errorp): Declare before first use.
20737
20738 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
20739
20740 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
20741 verify-error, and verify-hostname-error parameters. Check whether
20742 default trustfile exists before going to use it. Add missing
20743 argument to gnutls-message-maybe call. Return value.
20744 Reported by Claudio Bley <claudio.bley@gmail.com>.
20745 (open-gnutls-stream): Add usage example.
20746
20747 * net/network-stream.el (network-stream-open-starttls): Give host
20748 parameter to `gnutls-negotiate'.
20749 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
20750 * subr.el (shell-quote-argument): Escape correctly under Windows.
20751
20752 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
20753
20754 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
20755 Use correct match group (bug#8438).
20756
20757 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
20758
20759 * emacs-lisp/package.el (package-built-in-p): Fix typo.
20760 (package-menu--generate): New arg specifying packages to show.
20761 (package-menu-refresh, package-menu-execute, list-packages):
20762 Callers changed.
20763 (package-show-package-list): New function, replacing deleted
20764 package--list-packages (renamed because it is non-internal).
20765
20766 * finder.el (finder-list-matches): Use package-show-package-list
20767 instead of deleted package--list-packages.
20768
20769 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
20770 Based on a previous implementation by Juanma Barranquero (Bug#8366).
20771 (vc-annotate-mode-map): Bind it to RET.
20772
20773 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
20774
20775 * progmodes/etags.el (next-file): Don't use set-buffer to change
20776 buffers (Bug#8478).
20777
20778 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
20779
20780 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
20781
20782 * apropos.el (apropos-label-face): Avoid variable-pitch face.
20783 (apropos-accumulator): Doc fix.
20784 (apropos-function, apropos-macro, apropos-command)
20785 (apropos-variable, apropos-face, apropos-group, apropos-widget)
20786 (apropos-plist): Add face property.
20787 (apropos-symbols-internal): Fix indentation.
20788 (apropos-print): Simplify help, and recognize apropos-multi-type.
20789 (apropos-print-doc): Use button-type-get to extract the button's
20790 face property. Fill docstring (Bug#8352).
20791
20792 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
20793
20794 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
20795
20796 * play/mpuz.el (mpuz-silent): Doc fix.
20797 (mpuz-mode-map): Use mapc.
20798 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
20799 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
20800 Fix typos in docstrings.
20801
20802 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
20803 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
20804
20805 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
20806
20807 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
20808
20809 * minibuffer.el (completion--do-completion): Avoid the "Next char
20810 not unique" prompt if icomplete-mode is enabled (Bug#5849).
20811
20812 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
20813 mouse-2 into unread-command-events, it is interpreted correctly.
20814
20815 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
20816 (image-toggle-display): Doc fix.
20817
20818 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
20819
20820 * textmodes/page.el (what-page): Use line-number-at-pos to
20821 calculate line number (Bug#6825).
20822
20823 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
20824
20825 * eshell/esh-mode.el (find-tag-interactive): Declare function.
20826 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
20827 Pass argument NO-DEFAULT to `find-tag-interactive'.
20828
20829 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
20830
20831 Lexical-binding cleanup.
20832
20833 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
20834 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
20835 * progmodes/ada-prj.el (ada-prj-initialize-values)
20836 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
20837 (ada-prj-show-value):
20838 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
20839 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
20840 (antlr-invalidate-context-cache, antlr-options-menu-filter)
20841 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
20842 * progmodes/bug-reference.el (bug-reference-push-button):
20843 * progmodes/fortran.el (fortran-line-length):
20844 * progmodes/glasses.el (glasses-change):
20845 * progmodes/octave-mod.el (octave-fill-paragraph):
20846 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
20847 (python-pdbtrack-grub-for-buffer, python-sentinel):
20848 * progmodes/sql.el (sql-save-connection):
20849 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
20850 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
20851 Mark unused parameters.
20852
20853 * progmodes/compile.el (compilation--flush-directory-cache)
20854 (compilation--flush-parse, compile-internal): Mark unused parameters.
20855 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
20856 (compilation-next-error-function): Remove unused variable `timestamp'.
20857
20858 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
20859 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
20860
20861 * progmodes/dcl-mode.el (dcl-end-of-command):
20862 Remove unused variable `start'.
20863 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
20864 (dcl-option-value-basic, dcl-option-value-offset)
20865 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
20866 Mark unused parameters.
20867 (dcl-save-local-variable): Remove unused variable `val'.
20868 (mode): Declare.
20869
20870 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
20871 Mark unused parameters.
20872 (delphi-ignore-changes): Move before first use.
20873 (delphi-charset-token-at): Remove unused variable `start'.
20874 (delphi-else-start): Remove unused variable `if-count'.
20875 (delphi-comment-block-start, delphi-comment-block-end):
20876 Remove unused variable `kind'.
20877 (delphi-indent-line): Remove unused variable `new-point'.
20878
20879 * progmodes/ebrowse.el (ebrowse-files-list)
20880 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
20881 Mark unused parameters. Don't quote `lambda'.
20882 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
20883 Don't quote `lambda'.
20884 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
20885 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
20886 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
20887 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
20888 Use `ignore-errors'.
20889 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
20890 (ebrowse-view/find-file-and-search-pattern)
20891 (ebrowse-view/find-member-declaration/definition):
20892 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
20893 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
20894 Rename parameter PREFIX-ARG to PREFIX.
20895 (ebrowse-tags-read-name): Remove unused variables `start' and
20896 `member-info'.
20897 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
20898 to `tags-file'.
20899
20900 * progmodes/etags.el (local-find-tag-hook): Declare.
20901 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
20902 Mark unused parameters.
20903
20904 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
20905 (executable-interpret): Mark unused parameter.
20906
20907 * progmodes/flymake.el (flymake-process-sentinel)
20908 (flymake-after-change-function)
20909 (flymake-create-temp-with-folder-structure)
20910 (flymake-get-include-dirs-dot): Mark unused parameters.
20911 (flymake-safe-delete-directory): Remove unused variable `err'.
20912
20913 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
20914 (speedbar-timer-fn, speedbar-line-text)
20915 (speedbar-change-expand-button-char, speedbar-delete-subblock)
20916 (speedbar-center-buffer-smartly): Declare functions.
20917 (gdb-find-watch-expression): Remove unused variable `array'.
20918 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
20919 (gdb-starting): Mark unused parameters.
20920 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
20921 (gdb-table-string): Remove unused variable `res'.
20922 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
20923 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
20924 (gdb-display-buffer): Remove unused variable `cur-size'.
20925
20926 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
20927 allow lexical-binding compilation.
20928 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
20929 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
20930 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
20931 Mark unused parameters.
20932 (gud-gdb-marker-filter): Remove unused variable `match'.
20933 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
20934 lambda expressions and funcall them, instead of using `fset'.
20935
20936 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
20937 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
20938
20939 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
20940 variable `header-beg'; use `let'.
20941
20942 * progmodes/icon.el (indent-icon-exp): Remove unused variables
20943 `restart', `last-sexp' and `at-do'.
20944
20945 * progmodes/js.el (js--debug): Mark unused parameter.
20946 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
20947 (js--splice-into-items): Remove unused variable `item'.
20948 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
20949
20950 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
20951 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
20952 (makefile-complete): Remove unused variable `try'.
20953 (makefile-fill-paragraph, makefile-match-function-end):
20954 Mark unused parameters.
20955
20956 * progmodes/octave-inf.el (inferior-octave-complete):
20957 Remove unused variable `proc'.
20958 (inferior-octave-output-digest): Mark unused parameter.
20959
20960 * progmodes/perl-mode.el (perl-calculate-indent):
20961 Remove unused variable `err'.
20962
20963 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
20964 (prolog-indent-line): Mark unused parameters.
20965 (prolog-indent-line): Remove unused variable `beg'.
20966
20967 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
20968 (reporter-dont-compact-list): Declare.
20969
20970 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
20971 Remove unused variable `char'.
20972 (sh-debug): Mark unused parameter.
20973 (sh-get-indent-info): Remove unused variable `start'.
20974 (sh-calculate-indent): Remove unused variable `var'.
20975
20976 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
20977 (simula-electric-keyword): Remove unused variable `null'.
20978 (simula-search-backward, simula-search-forward): Remove unused
20979 variables `begin' and `end'.
20980
20981 * progmodes/vera-mode.el (vera-guess-basic-syntax):
20982 Remove unused variable `pos'.
20983 (vera-electric-tab, vera-comment-uncomment-region):
20984 Mark unused parameters.
20985 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
20986
20987 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
20988
20989 * emacs-lisp/package.el (package--builtins, package-alist)
20990 (package-load-descriptor, package-built-in-p, package-activate)
20991 (define-package, package-installed-p)
20992 (package-compute-transaction, package-buffer-info)
20993 (package--push): Doc fix. Distinguish more clearly between
20994 version strings and version lists.
20995
20996 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
20997
20998 Lexical-binding cleanup.
20999
21000 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
21001 (5x5-make-mutate-best):
21002 * play/fortune.el (fortune-in-buffer):
21003 * play/gomoku.el (gomoku-init-display):
21004 * play/solitaire.el (solitaire, solitaire-do-check):
21005 * play/tetris.el (tetris-default-update-speed-function):
21006 Mark unused parameters.
21007
21008 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
21009 (bubbles--shift): Remove unused variable `char-org'.
21010 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
21011 (bubbles--show-images): Remove unused variable `char'.
21012
21013 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
21014 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
21015 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
21016 (decipher-analyze-buffer): Use ?\s.
21017 (decipher-make-checkpoint): Remove unused variable `mapping'.
21018
21019 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
21020
21021 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
21022 Remove unused variable `result'; use `let'.
21023
21024 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
21025 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
21026 (gametree-children-shown-p, gametree-compute-reduced-score):
21027 Use `ignore-errors'.
21028
21029 * play/handwrite.el (ps-lpr-switches): Declare.
21030 (handwrite): Remove unused variables `pmin' and `lastp'.
21031
21032 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
21033
21034 * play/landmark.el (landmark-init-display)
21035 (landmark-update-naught-weights): Mark unused parameters.
21036 (landmark-y): Remove unused variable `noise'. Simplify.
21037 (landmark-human-plays): Remove unused variable `score'.
21038
21039 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
21040 (mpuz-try-proposal): Remove unused variable `game'.
21041
21042 * play/zone.el (life-patterns): Declare.
21043
21044 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
21045
21046 * vc/vc.el (ediff-vc-internal): Declare function.
21047
21048 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
21049
21050 * shell.el: Use lexical-binding and std completion UI.
21051 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
21052 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
21053 comint-preoutput-filter-functions rather than on
21054 comint-output-filter-functions.
21055 (shell-command-completion, shell--command-completion-data)
21056 (shell-filename-completion, shell-environment-variable-completion)
21057 (shell-c-a-p-replace-by-expanded-directory): New functions.
21058 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
21059 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
21060 (shell-dynamic-complete-environment-variable): Use them.
21061 (shell-dynamic-complete-as-environment-variable)
21062 (shell-dynamic-complete-as-command): Remove.
21063 (shell-match-partial-variable): Match past point.
21064 * comint.el: Clean up use of completion-at-point-functions.
21065 (comint-completion-at-point): New function.
21066 (comint-mode): Use it completion-at-point-functions.
21067 (comint-dynamic-complete): Make it obsolete.
21068 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
21069 (comint-c-a-p-replace-by-expanded-history): New function.
21070 (comint-dynamic-complete-functions)
21071 (comint-replace-by-expanded-history): Use it.
21072 * minibuffer.el (completion-table-with-terminator): Allow dynamic
21073 termination strings. Try harder to avoid second try-completion.
21074 (completion-in-region-mode-map): Disable bindings that don't work yet.
21075
21076 * comint.el: Use lexical-binding. Require CL.
21077 (comint-dynamic-complete-functions): Use comint-filename-completion.
21078 (comint-completion-addsuffix): Tweak custom type.
21079 (comint-filename-completion, comint--common-suffix)
21080 (comint--common-quoted-suffix, comint--table-subvert)
21081 (comint--complete-file-name-data): New functions.
21082 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
21083 (comint-dynamic-list-filename-completions): Use them.
21084 (comint-dynamic-simple-complete): Make obsolete.
21085
21086 * minibuffer.el (completion-in-region-mode):
21087 Keep completion-in-region-mode--predicate global.
21088 (completion-in-region--postch):
21089 Assume completion-in-region-mode--predicate is not null.
21090
21091 * progmodes/flymake.el (flymake-start-syntax-check-process):
21092 Obey `dir'. Simplify.
21093
21094 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
21095 we're in VC after all.
21096
21097 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
21098
21099 * vc/vc.el (vc-diff-build-argument-list-internal)
21100 (vc-version-ediff, vc-ediff): New commands.
21101 (vc-version-diff): Use vc-diff-build-argument-list-internal.
21102
21103 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
21104
21105 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
21106 add sanity check.
21107
21108 * obsolete/erc-hecomplete.el: Make obsolete.
21109 * obsolete/: Standardize obsolescence info in the header.
21110
21111 2011-04-20 Glenn Morris <rgm@gnu.org>
21112
21113 * calendar/solar.el (solar-horizontal-coordinates):
21114 Use the longitude argument rather than `calendar-longitude'.
21115 (solar-date-next-longitude): Remove unused locals.
21116
21117 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
21118
21119 * whitespace.el: New version 13.2.1.
21120
21121 2011-04-20 felix <EmacsWiki> (tiny change)
21122
21123 * whitespace.el (global-whitespace-mode): Keep highlight when
21124 switching between major modes on a file.
21125
21126 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
21127
21128 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
21129 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
21130 multi-line comments as well.
21131
21132 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
21133
21134 Lexical-binding cleanup.
21135
21136 * arc-mode.el (archive-mode-revert):
21137 * cmuscheme.el (scheme-interactively-start-process):
21138 * custom.el (custom-initialize-delay):
21139 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
21140 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
21141 * emacs-lock.el (emacs-lock-clear-sentinel):
21142 * ezimage.el (defezimage):
21143 * follow.el (follow-avoid-tail-recenter):
21144 * fringe.el (set-fringe-mode-1):
21145 * generic-x.el (bat-generic-mode-compile):
21146 * help-mode.el (help-info-variable, help-do-xref)
21147 (help-mode-revert-buffer):
21148 * help.el (view-emacs-todo):
21149 * iswitchb.el (iswitchb-completion-help):
21150 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
21151 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
21152 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
21153 * locate.el (locate-update):
21154 * longlines.el (longlines-encode-region)
21155 (longlines-after-change-function):
21156 * outline.el (outline-isearch-open-invisible):
21157 * ps-def.el (declare-function, charset-dimension, char-width)
21158 (encode-char):
21159 * ps-mule.el (ps-mule-plot-string):
21160 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
21161 (recentf-edit-list-select, recentf-edit-list-validate)
21162 (recentf-open-files-action):
21163 * rect.el (delete-whitespace-rectangle-line)
21164 (rectangle-number-line-callback):
21165 * register.el (window-configuration-to-register)
21166 (frame-configuration-to-register):
21167 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
21168 * select.el (xselect-convert-to-string, xselect-convert-to-length)
21169 (xselect-convert-to-targets, xselect-convert-to-delete)
21170 (xselect-convert-to-filename, xselect-convert-to-charpos)
21171 (xselect-convert-to-lineno, xselect-convert-to-colno)
21172 (xselect-convert-to-os, xselect-convert-to-host)
21173 (xselect-convert-to-user, xselect-convert-to-class)
21174 (xselect-convert-to-name, xselect-convert-to-integer)
21175 (xselect-convert-to-atom, xselect-convert-to-identity):
21176 * subr.el (declare, ignore, process-kill-without-query)
21177 (text-clone-maintain):
21178 * terminal.el (te-get-char, te-tic-sentinel):
21179 * tool-bar.el (tool-bar-make-keymap):
21180 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
21181 * type-break.el (type-break-mode, type-break-noninteractive-query):
21182 * view.el (View-back-to-mark):
21183 * wid-browse.el (widget-browse-action, widget-browse-widget)
21184 (widget-browse-widgets, widget-browse-sexp):
21185 * widget.el (define-widget-keywords):
21186 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
21187 Mark unused parameters.
21188
21189 * align.el (align-adjust-col-for-rule): Mark unused parameter.
21190 (align-areas): Remove unused variable `look'.
21191 (align-region): Remove unused variables `real-end' and `pos-list'.
21192
21193 * apropos.el (apropos-score-doc): Remove unused variable `i'.
21194
21195 * bindings.el (mode-line-modified, mode-line-remote):
21196 Mark unused parameters.
21197 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
21198
21199 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
21200 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
21201
21202 * comint.el (comint-history-isearch-pop-state)
21203 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
21204 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
21205 (comint-substitute-in-file-name): Doc fix.
21206
21207 * completion.el (cmpl-statistics-block): Mark unused parameter.
21208 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
21209 (save-completions-to-file, load-completions-from-file):
21210 Remove unused local variable `e'.
21211
21212 * composite.el (compose-chars): Remove unused variable `len'.
21213 (lgstring-insert-glyph): Remove unused variable `g'.
21214 (compose-glyph-string): Remove unused variables `ascent',
21215 `descent', `lbearing' and `rbearing'.
21216 (compose-glyph-string-relative): Remove unused variables
21217 `lbearing', `rbearing' and `wadjust'.
21218 (compose-gstring-for-graphic): Remove unused variables `header',
21219 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
21220 (compose-gstring-for-terminal): Remove unused variables `header'
21221 and `nchars'. Use `let', not `let*'.
21222
21223 * cus-edit.el (Custom-set, Custom-save, custom-reset)
21224 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
21225 (Custom-buffer-done, custom-buffer-create-internal)
21226 (custom-browse-visibility-action, custom-browse-group-tag-action)
21227 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
21228 (widget-magic-mouse-down-action, custom-toggle-parent)
21229 (custom-add-parent-links, custom-toggle-hide-variable)
21230 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
21231 (custom-toggle-hide-face, face, hook, custom-group-link-action)
21232 (custom-face-menu-create, custom-variable-menu-create, get)
21233 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
21234 (custom-reset-standard-save-and-update): Remove unused variable `value'.
21235 (customize-apropos): Remove unused variable `tests'.
21236 (custom-group-value-create): Remove unused variable `hidden-p'.
21237 (sort-fold-case): Declare.
21238
21239 * cus-theme.el (custom-reset-standard-faces-list)
21240 (custom-reset-standard-variables-list): Declare.
21241 (customize-create-theme, custom-theme-revert, custom-theme-write)
21242 (custom-theme-choose-mode, customize-themes, custom-theme-save):
21243 Mark unused parameters.
21244
21245 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
21246
21247 * delim-col.el (delimit-columns-max): Move defvar before first use.
21248
21249 * descr-text.el (describe-char-categories): Don't quote `lambda'.
21250 (describe-char): Don't quote `lambda'. Mark unused parameter.
21251
21252 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
21253 (auto-insert): Declare.
21254 (desktop-restore-file-buffer): Rename desktop-* parameters;
21255 mark unused ones.
21256 (desktop-create-buffer): Rename desktop-* parameters and bind them.
21257 (desktop-buffer): Rename desktop-* parameters.
21258
21259 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
21260 (dframe-reposition-frame-xemacs, dframe-help-echo)
21261 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
21262 Mark unused parameters.
21263
21264 * dired-aux.el (backup-extract-version-start, overwrite-query)
21265 (overwrite-backup-query, rename-regexp-query)
21266 (rename-non-directory-query): Declare.
21267 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
21268 (dired-add-entry): Remove unused variable `orig-file-name'.
21269 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
21270 Use parameter PRESERVE-TIME instead of accessing dynamic variable
21271 `dired-copy-preserve-time' directly.
21272 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
21273 (dired-insert-subdir-newpos): Rename unused variable `pos'.
21274
21275 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
21276 (dired-virtual-revert, dired-make-relative-symlink):
21277 Mark unused parameters.
21278 (manual-program): Declare.
21279 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
21280 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
21281 wrapped in `with-no-warnings' to avoid replacing one warning by another.
21282
21283 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
21284
21285 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
21286
21287 * echistory.el (electric-history-in-progress, Helper-return-blurb):
21288 Declare.
21289
21290 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
21291
21292 * electric.el (Electric-command-loop): Rename parameter
21293 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
21294
21295 * expand.el (expand-in-literal): Remove unused variable `here'.
21296
21297 * facemenu.el (facemenu-add-new-color):
21298 Remove unused variable `docstring'.
21299
21300 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
21301 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
21302 (face-attr-construct): Mark unused parameter. Doc fix.
21303 (read-color): Remove unused variable `hex-string'.
21304
21305 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
21306 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
21307 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
21308 (display-buffer-other-frame): Remove unused variable `old-window'.
21309 (kill-buffer-hook): Declare.
21310 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
21311 Mark unused parameters.
21312 (after-find-file): Pass 1 to `auto-save-mode', not t.
21313
21314 * files-x.el (auto-insert): Declare.
21315 (modify-file-local-variable-prop-line): Remove unused variable `val'.
21316
21317 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
21318 variable `buf'. Mark unused parameter.
21319 (find-lisp-insert-directory): Mark unused parameter.
21320
21321 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
21322 (format-encode-region): Remove unused variables `cur-buf' and `result'.
21323 (format-common-tail): Remove, unused.
21324 (format-deannotate-region): Remove unused variable `loc'.
21325 (format-annotate-region): Remove unused variable `p'.
21326 (format-annotate-single-property-change): Remove unused variables
21327 `default' and `tail'.
21328
21329 * forms.el (read-file-filter): Declare.
21330 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
21331
21332 * frame.el (frame-creation-function-alist): Mark unused parameter.
21333 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
21334
21335 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
21336 Remove unused parameters.
21337 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
21338 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
21339
21340 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
21341 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
21342 (hfy-prepare-tag-map): Mark unused parameters.
21343 (htmlfontify-buffer): Use `called-interactively-p'.
21344
21345 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
21346 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
21347 (ibuffer-do-occur): Mark unused parameters.
21348 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
21349 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
21350
21351 * ibuffer.el: Don't quote `lambda'.
21352 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
21353 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
21354 Mark unused parameters.
21355
21356 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
21357 (ido-completing-read): Mark unused parameters.
21358 (ido-copy-current-word): Mark unused parameters;
21359 remove unused variable `name'.
21360 (ido-sort-merged-list): Remove unused parameter `dirs'.
21361
21362 * ielm.el (ielm-input-sender): Mark unused parameter.
21363 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
21364 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
21365 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
21366 `ielm-string' as a dynamic variable accessible from the IELM prompt.
21367 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
21368
21369 * image-dired.el (image-dired-display-thumbs): Remove unused
21370 variables `curr-file' and `count'.
21371 (image-dired-remove-tag): Remove unused variable `start'.
21372 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
21373 variable `curr-file'
21374 (image-dired-rotate-original): Remove unused variable `temp-file'.
21375 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
21376 Remove unused variable `file'.
21377 (image-dired-gallery-generate): Remove unused variable `curr'.
21378 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
21379
21380 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
21381
21382 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
21383
21384 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
21385
21386 * isearch.el (minibuffer-history-symbol): Declare.
21387 (isearch-edit-string): Remove unused variable `err'.
21388 (isearch-message-prefix, isearch-message-suffix):
21389 Mark unused parameters.
21390
21391 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
21392
21393 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
21394
21395 * makesum.el (double-column): Remove unused variable `cnt'.
21396
21397 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
21398 (ido-ignore-item-temp-list): Declare.
21399
21400 * mouse-drag.el (mouse-drag-throw): Remove unused variables
21401 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
21402 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
21403 (mouse-drag-drag): Remove unused variables `mouse-delta' and
21404 `mouse-col-delta'.
21405
21406 * mouse-sel.el (mouse-extend-internal):
21407 Remove unused variable `orig-window-frame'.
21408
21409 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
21410 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
21411 Move declarations before first use.
21412 (pcomplete-opt): Mark unused parameters; doc fix.
21413
21414 * proced.el (proced-revert): Mark unused parameter.
21415 (proced-send-signal): Remove unused variable `err'.
21416
21417 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
21418 Rename parameter PREFIX-ARG to ARG.
21419 (ps-basic-plot-string, ps-basic-plot-whitespace):
21420 Mark unused parameters.
21421
21422 * replace.el (replace-count): Define.
21423 (occur-revert-function): Mark unused parameters.
21424 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
21425 (isearch-case-fold-search, isearch-string): Declare.
21426 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
21427 bind `case-fold-search'. Remove unused variables `beg' and `end',
21428 and simplify.
21429 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
21430 COUNT and bind `replace-count'.
21431 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
21432 to COUNT.
21433
21434 * savehist.el (print-readably, print-string-length): Declare.
21435
21436 * shadowfile.el (shadow-expand-cluster-in-file-name):
21437 Remove unused variable `cluster'.
21438 (shadow-copy-file): Remove unused variable `i'.
21439 (shadow-noquery, shadow-clusters, shadow-site-cluster)
21440 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
21441 (shadow-define-literal-group, shadow-define-regexp-group)
21442 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
21443
21444 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
21445 (shell): Use `called-interactively-p'.
21446 (shell-directory-tracker): Remove unused variable `chdir-failure'.
21447
21448 * simple.el (compilation-context-lines, comint-file-name-quote-list)
21449 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
21450 (delete-backward-char): Remove unused variable `ocol'.
21451 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
21452 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
21453 (event-apply-hyper-modifier, event-apply-shift-modifier)
21454 (event-apply-control-modifier, event-apply-meta-modifier):
21455 Mark unused parameters.
21456 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
21457 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
21458
21459 * speedbar.el (speedbar-ignored-directory-expressions)
21460 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
21461 (speedbar-find-file, speedbar-dir-follow)
21462 (speedbar-directory-buttons-follow, speedbar-tag-find)
21463 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
21464 (speedbar-buffers-line-directory, speedbar-buffer-click):
21465 Mark unused parameters.
21466 (speedbar-tag-file): Remove unused variable `mode'.
21467 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
21468
21469 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
21470
21471 * talk.el (talk): Remove unused variable `display'.
21472
21473 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
21474 (tar-write-region-annotate): Mark unused parameter.
21475
21476 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
21477 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
21478 Declare them, wrapped in `with-no-warnings' to avoid replacing one
21479 warning by another.
21480
21481 * time-stamp.el (time-stamp-string-preprocess):
21482 Remove unused variable `require-padding'.
21483
21484 * tree-widget.el (widget-glyph-enable): Declare.
21485 (tree-widget-action): Mark unused parameter.
21486
21487 * w32-fns.el (x-get-selection): Mark unused parameter.
21488 (autoload-make-program, generated-autoload-file): Declare.
21489
21490 * wdired.el (wdired-revert): Mark unused parameters.
21491 (wdired-xcase-word): Remove unused variable `err'.
21492
21493 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
21494 (whitespace-help-scroll): Remove unused variable `data-help'.
21495
21496 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
21497 (widget-image-insert, widget-after-change, default)
21498 (widget-default-format-handler, widget-default-notify)
21499 (widget-default-prompt-value, widget-info-link-action)
21500 (widget-url-link-action, widget-function-link-action)
21501 (widget-variable-link-action, widget-file-link-action)
21502 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
21503 (widget-field-prompt-internal, widget-field-action, widget-field-match)
21504 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
21505 (widget-insert-button-action, widget-delete-button-action, visibility)
21506 (widget-documentation-link-action, widget-documentation-string-action)
21507 (widget-const-prompt-value, widget-regexp-match, symbol)
21508 (widget-coding-system-prompt-value)
21509 (widget-key-sequence-value-to-external, sexp)
21510 (widget-sexp-value-to-internal, character, vector, cons)
21511 (widget-choice-prompt-value, widget-boolean-prompt-value)
21512 (widget-color--choose-action): Mark unused parameters.
21513 (widget-item-match-inline, widget-choice-match-inline)
21514 (widget-checklist-match, widget-checklist-match-inline)
21515 (widget-group-match): Rename parameter VALUES to VALS.
21516 (widget-field-value-set): Remove unused variable `size'.
21517 (widget-color-action): Remove unused variables `value' and `start'.
21518
21519 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
21520 variable `dir'. Doc fix.
21521 (windmove-find-other-window): Don't pass it.
21522
21523 * window.el (count-windows): Mark unused parameter.
21524 (bw-adjust-window): Remove unused variable `err'.
21525
21526 * woman.el (woman-file-name): Remove unused variable `default'.
21527 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
21528 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
21529 (global-font-lock-mode): Declare.
21530 (woman-decode-region): Mark unused parameter.
21531 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
21532
21533 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
21534 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
21535 (x-dnd-handle-moz-url): Remove unused variable `title'.
21536 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
21537
21538 * xml.el (xml-parse-tag, xml-parse-attlist):
21539 Remove unused variable `pos'.
21540
21541 2011-04-19 Glenn Morris <rgm@gnu.org>
21542
21543 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
21544 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
21545 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
21546 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
21547 * calendar/cal-html.el (cal-html-insert-minical):
21548 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
21549 (calendar-mark-date-pattern):
21550 Prefix "unused" locals.
21551
21552 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
21553 optional argument `style'.
21554
21555 * calendar/appt.el (appt-make-list):
21556 * calendar/cal-china.el (calendar-chinese-date-string):
21557 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
21558 (diary-hebrew-yahrzeit):
21559 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
21560 * calendar/calendar.el (calendar-generate-window):
21561 * calendar/time-date.el (time-to-days):
21562 Remove unused local variables.
21563
21564 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
21565
21566 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
21567 glyphless-char-display table.
21568 (tabulated-list-glyphless-char-display): New var.
21569
21570 2011-04-18 Sam Steingold <sds@gnu.org>
21571
21572 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
21573 to acknowledgments.
21574
21575 2011-04-17 Glenn Morris <rgm@gnu.org>
21576
21577 * calendar/diary-lib.el (diary-sexp-entry):
21578 * calendar/holidays.el (holiday-sexp):
21579 Set debug-on-error rather than the removed stack-trace-on-error.
21580
21581 2011-04-16 Glenn Morris <rgm@gnu.org>
21582
21583 * progmodes/f90.el: Use lexical-binding.
21584 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
21585
21586 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
21587
21588 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
21589 (mail-mode): Setup mailalias completion here instead.
21590 * mail/mailalias.el: Use lexical-binding.
21591 (pattern, mailalias-done): Declare dynamic.
21592 (mail-completion-at-point-function): New function, from mail-complete.
21593 (mail-complete): Use it.
21594 (mail-completion-expand): New function.
21595 (mail-get-names): Use it.
21596 (mail-directory, mail-directory-process, mail-directory-stream):
21597 Don't use `pattern' for lexically bound arg.
21598
21599 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
21600
21601 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
21602 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
21603 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
21604
21605 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
21606 (byte-save-window-excursion, byte-temp-output-buffer-setup)
21607 (byte-interactive-p): Define them again, for use when inlining
21608 old code.
21609
21610 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
21611
21612 * loadup.el: Use `string-to-number', not `string-to-int'.
21613
21614 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
21615
21616 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
21617 gud-gdb-complete-command.
21618 (gud-gdb-completions): New function, from gud-gdb-complete-command.
21619 (gud-gdb-completion-at-point): New function.
21620 (gud-gdb-completions): Remove.
21621
21622 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
21623
21624 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
21625 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
21626 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
21627 whether `executable-find' is bound.
21628
21629 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
21630
21631 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
21632
21633 * minibuffer.el (completion-in-region-mode-predicate)
21634 (completion-in-region-mode--predicate): New vars.
21635 (completion-in-region, completion-in-region--postch)
21636 (completion-in-region-mode): Use them.
21637 (completion--capf-wrapper): Also return the hook function.
21638 (completion-at-point, completion-help-at-point):
21639 Adjust and provide a predicate.
21640
21641 Preserve arg names for advice of subr and lexical functions (bug#8457).
21642 * help-fns.el (help-function-arglist): Consolidate the subr and
21643 new-byte-code cases. Add argument `preserve-names' to extract names
21644 from the docstring when needed.
21645 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
21646 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
21647 (ad-arglist): Use help-function-arglist's new arg.
21648 (ad-definition-type): Use cond.
21649
21650 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
21651
21652 * autorevert.el (auto-revert-handler):
21653 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
21654 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
21655 Don't quote lambda.
21656
21657 * image-mode.el (image-transform-set-scale):
21658 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
21659
21660 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
21661
21662 * net/network-stream.el (network-stream-open-starttls): Only do
21663 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
21664 Upgrades via gnutls-cli are too slow to be done opportunistically.
21665
21666 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
21667
21668 * dframe.el (dframe-current-frame): Remove spurious quote.
21669
21670 2011-04-12 Glenn Morris <rgm@gnu.org>
21671
21672 * calendar/cal-tex.el (cal-tex-end-document):
21673 Try to automatically use latin1 input if needed.
21674
21675 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
21676 Don't try to cons a mark onto an empty element.
21677
21678 2011-04-11 Leo Liu <sdl.web@gmail.com>
21679
21680 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
21681 buffers.
21682 (ido-kill-buffer-at-head): Support killing virtual buffers.
21683
21684 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
21685
21686 * minibuffer.el (completion-show-inline-help): New var.
21687 (completion--do-completion, minibuffer-complete)
21688 (minibuffer-force-complete, minibuffer-complete-word):
21689 Inhibit minibuffer messages if completion-show-inline-help is nil.
21690
21691 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
21692 to avoid interference from inline help (Bug#5849).
21693
21694 2011-04-10 Leo Liu <sdl.web@gmail.com>
21695
21696 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
21697 Fix typo.
21698
21699 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
21700
21701 * image-mode.el (image-toggle-display-image): Signal an error if
21702 not in Image mode.
21703 (image-transform-mode, image-transform-resize)
21704 (image-transform-set-rotation): Doc fix.
21705 (image-transform-set-resize): Delete.
21706 (image-transform-set-scale, image-transform-fit-to-height)
21707 (image-transform-fit-to-width): Handle image-toggle-display-image
21708 and image-transform-resize directly.
21709
21710 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
21711
21712 * doc-view.el (doc-view-fit-width-to-window)
21713 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
21714 New functions for fitting the shown image to the Emacs window size.
21715 (doc-view-mode-map): Add bindings for the new functions.
21716
21717 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
21718
21719 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
21720 Fix typo in docstring.
21721
21722 2011-04-08 Eli Zaretskii <eliz@gnu.org>
21723
21724 * files.el (file-size-human-readable): Produce one digit after
21725 decimal, like "ls -lh" does.
21726
21727 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
21728 the file size representation.
21729
21730 * simple.el (list-processes): If async subprocesses are not
21731 available, error out with a clear error message.
21732
21733 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
21734
21735 * help.el (help-form-show): New function, to be called from C.
21736 Put help-form output in a buffer named differently than *Help*.
21737
21738 2011-04-08 Eli Zaretskii <eliz@gnu.org>
21739
21740 * files.el (file-size-human-readable): New function.
21741
21742 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
21743 computing the representation inline. Don't require `cl'.
21744
21745 2011-04-08 Glenn Morris <rgm@gnu.org>
21746
21747 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
21748
21749 * net/browse-url.el (browse-url-firefox):
21750 Test system-type, not system-configuration.
21751
21752 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
21753 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
21754 Use log-edit-empty-buffer-p. (Bug#7598)
21755
21756 * net/rlogin.el (rlogin-process-connection-type): Simplify.
21757 (rlogin-mode-map): Initialize in the defvar.
21758 (rlogin): Use ignore-errors.
21759
21760 * replace.el (occur-mode-map): Some fixes for menu items.
21761
21762 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
21763
21764 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
21765
21766 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
21767
21768 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
21769 issuing unused warnings.
21770
21771 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
21772 macro directly.
21773
21774 * simple.el: Lisp reimplement of list-processes. Based on an
21775 earlier reimplementation by Leo Liu, but using tabulated-list.el.
21776 (process-menu-mode): New major mode.
21777 (list-processes--refresh, list-processes):
21778 (process-menu-visit-buffer): New functions.
21779
21780 * files.el (save-buffers-kill-emacs): Don't assume any return
21781 value of list-processes, which is undocumented anyway.
21782
21783 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
21784
21785 * emacs-lisp/tabulated-list.el: New file.
21786
21787 * emacs-lisp/package.el: Use Tabulated List mode.
21788 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
21789 (package-menu-mode): Derive from tabulated-list-mode. Set up the
21790 table format using Tabulated List mode variables.
21791 (package--push): New macro, replacing package-list-maybe-add.
21792 (package-menu--generate): Use package--push. Renamed from
21793 package--generate-package-list.
21794 (package-menu-refresh, list-packages): Use it.
21795 (package-menu--print-info): Rename from package-print-package.
21796 Return insertion data instead of inserting it directly.
21797 (package-menu-describe-package, package-menu-execute):
21798 Use tabulated-list-get-id.
21799 (package-menu-mark-delete, package-menu-mark-install)
21800 (package-menu-mark-unmark, package-menu-backup-unmark)
21801 (package-menu-mark-obsolete-for-deletion):
21802 Use tabulated-list-put-tag.
21803 (package--list-packages, package-menu-revert)
21804 (package-menu-get-package, package-menu-get-version)
21805 (package-menu-sort-by-column): Functions deleted.
21806 (package-menu-package-list, package-menu-sort-key): Vars deleted.
21807 (package-menu--status-predicate, package-menu--version-predicate)
21808 (package-menu--name-predicate)
21809 (package-menu--description-predicate): Handle arguments in the
21810 Tabulated List format.
21811 (package-list-packages-no-fetch): Call list-packages.
21812
21813 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
21814
21815 * files.el (after-find-file-from-revert-buffer): Remove variable.
21816 (after-find-file): Don't bind it.
21817 (revert-buffer-in-progress-p): New variable.
21818 (revert-buffer): Bind it.
21819 Pass nil for `after-find-file-from-revert-buffer'.
21820
21821 * saveplace.el (save-place-find-file-hook): Use new variable
21822 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
21823
21824 2011-04-06 Glenn Morris <rgm@gnu.org>
21825
21826 * Makefile.in (AUTOGEN_VCS): New variable.
21827 (autoloads): Use $AUTOGEN_VCS.
21828
21829 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
21830 * calendar/calendar.el (calendar-mode-map):
21831 Check for toolkit scroll bars. (Bug#8305)
21832
21833 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
21834
21835 * minibuffer.el (completion-in-region--postch)
21836 (completion-in-region-mode): Remove unnecessary messages.
21837
21838 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
21839
21840 * font-lock.el (font-lock-refresh-defaults):
21841 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
21842 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
21843
21844 * info.el (Info-directory-list, Info-read-node-name-2)
21845 (Info-split-parameter-string): Doc fixes.
21846 (Info-virtual-nodes): Reflow docstring.
21847 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
21848 (Info-apropos-toc-nodes, info-finder, Info-get-token)
21849 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
21850 Fix typos in docstrings.
21851 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
21852 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
21853 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
21854 (Info-restore-desktop-buffer): Mark unused parameters.
21855 (Info-directory-find-file, Info-directory-find-node)
21856 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
21857 (Info-virtual-index-find-node, Info-apropos-find-file)
21858 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
21859 Mark unused parameters; fix typos in docstrings.
21860 (Info-virtual-index): Remove unused local variable `nodename'.
21861
21862 2011-04-05 Deniz Dogan <deniz@dogan.se>
21863
21864 * net/rcirc.el: Update my e-mail address.
21865 (rcirc-mode-map): Remove M-o binding.
21866
21867 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
21868
21869 * startup.el (command-line): Save the cursor's theme-face
21870 directly, instead of using face-override-spec.
21871
21872 * custom.el (load-theme): Minor optimization in assigning faces.
21873
21874 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
21875
21876 * help-fns.el (describe-variable): Complete all variables having
21877 documentation, including keywords.
21878 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
21879
21880 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
21881
21882 Convert to lexical-binding.
21883
21884 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
21885 (bs--get-marked-string, bs--get-modified-string)
21886 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
21887 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
21888 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
21889
21890 * ehelp.el (electric-help-execute-extended)
21891 (electric-help-ctrl-x-prefix):
21892 * hexl.el (hexl-revert-buffer-function):
21893 * linum.el (linum-after-change, linum-after-scroll):
21894 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
21895
21896 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
21897
21898 2011-04-04 Daiki Ueno <ueno@unixuser.org>
21899
21900 * epa-dired.el:
21901 * epa-mail.el:
21902 * epa-hook.el:
21903 * epa-file.el:
21904 * epa.el:
21905 * epg.el: Use lexical binding.
21906
21907 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
21908
21909 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
21910
21911 * textmodes/flyspell.el (flyspell-word): Recognize default
21912 dictionary case for flyspell-mark-duplications-exceptions.
21913 Use regexp matching for languages.
21914 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
21915 default dictionary (Bug#7926).
21916
21917 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
21918
21919 * emacs-lisp/package.el (package--with-work-buffer):
21920 Recognize https URLs.
21921
21922 * net/network-stream.el: Move from gnus/proto-stream.el.
21923 Change prefix to network-stream throughout.
21924 (open-protocol-stream): Merge into open-network-stream, leaving
21925 open-protocol-stream as an alias. Handle nil BUFFER args.
21926
21927 * subr.el (open-network-stream): Move to net/network-stream.el.
21928
21929 2011-04-02 Glenn Morris <rgm@gnu.org>
21930
21931 * find-dired.el (find-exec-terminator): New option.
21932 (find-ls-option): Test for -ls support.
21933 (find-ls-subdir-switches): Test for -b in find-ls-option.
21934 (find-dired, find-grep-dired): Doc fixes.
21935 (find-dired): Use find-exec-terminator.
21936
21937 * find-dired.el (find-ls-option, find-ls-subdir-switches)
21938 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
21939 (find-name-arg): Remove purecopy.
21940
21941 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
21942 (grep-compute-defaults): Check for `-exec COMMAND +' support.
21943 Set grep-find-use-xargs, grep-find-command, and grep-find-template
21944 accordingly. Don't add the null-device if not needed.
21945
21946 * files.el (save-some-buffers): Doc fix.
21947
21948 2011-04-02 Eli Zaretskii <eliz@gnu.org>
21949
21950 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
21951
21952 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
21953
21954 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
21955 Use `dolist' rather than `mapcar'.
21956
21957 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
21958
21959 Add lexical binding.
21960
21961 * subr.el (apply-partially): Use new closures rather than CL.
21962 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
21963 (dolist, dotimes): Use slightly different expansion for lexical code.
21964 (functionp): Move to C.
21965 (letrec): New macro.
21966 (with-wrapper-hook): Use it and apply-partially instead of CL.
21967 (eval-after-load): Preserve lexical-binding.
21968 (save-window-excursion, with-output-to-temp-buffer): Turn them
21969 into macros.
21970
21971 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
21972
21973 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
21974 than the arglist.
21975 (help-add-fundoc-usage): Don't add `Not documented'.
21976 (help-function-arglist): Handle closures, subroutines, and new
21977 byte-code-functions.
21978 (help-make-usage): Remove leading underscores.
21979 (describe-function-1): Handle closures.
21980 (describe-variable): Use special-variable-p for completion.
21981
21982 * files.el (lexical-binding): Declare safe.
21983
21984 * emacs-lisp/pcase.el: Don't use destructuring-bind.
21985 (pcase--memoize): Rename from pcase-memoize. Change weakness.
21986 (pcase): Add `let' pattern.
21987 Change memoization so it actually works.
21988 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
21989 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
21990 <let>: New case.
21991
21992 * emacs-lisp/macroexp.el: Use lexical binding.
21993 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
21994 Don't convert ' to #' without checking that it's indeed quoting
21995 a lambda.
21996
21997 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
21998 Use eval-sexp-add-defvars.
21999 (eval-sexp-add-defvars): New fun.
22000
22001 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
22002
22003 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
22004 Don't autoload.
22005 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
22006 than the internal `byte-compile-lambda'.
22007 (defmethod): Don't hide code under quotes.
22008 (eieio-defmethod): New `code' argument.
22009
22010 * emacs-lisp/eieio-comp.el: Remove.
22011
22012 * emacs-lisp/edebug.el (edebug-eval-defun)
22013 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
22014 (edebug-toggle): Avoid `eval'.
22015
22016 * emacs-lisp/disass.el (disassemble-internal): Handle new
22017 `closure' objects.
22018 (disassemble-1): Handle new byte codes.
22019
22020 * emacs-lisp/cl.el (pushnew): Silence warning.
22021
22022 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
22023 (cl-byte-compile-throw): Remove.
22024 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
22025
22026 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
22027 closures.
22028
22029 * emacs-lisp/cconv.el: New file.
22030
22031 * emacs-lisp/bytecomp.el: Use lexical binding instead of
22032 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
22033 (byte-compile-initial-macro-environment):
22034 Handle declare-function here.
22035 (byte-compile--lexical-environment): New var.
22036 (byte-stack-ref, byte-stack-set, byte-discardN)
22037 (byte-discardN-preserve-tos): New lap codes.
22038 (byte-interactive-p): Don't use any more.
22039 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
22040 New macros.
22041 (byte-compile-lapcode): Use them and handle new lap codes.
22042 (byte-compile-obsolete): Remove.
22043 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
22044 (byte-compile-arglist-warn): Check late def of inlinable funs.
22045 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
22046 since they should have been expanded by now.
22047 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
22048 (byte-compile-from-buffer): Remove unused second arg.
22049 (byte-compile-preprocess): New function.
22050 (byte-compile-toplevel-file-form): New function to distinguish
22051 file-form calls from outside from file-form calls from hunk-handlers.
22052 (byte-compile-file-form): Simplify.
22053 (byte-compile-file-form-defsubst): Remove.
22054 (byte-compile-file-form-defmumble): Simplify now that
22055 byte-compile-lambda always returns a byte-code-function.
22056 (byte-compile): Preprocess.
22057 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
22058 Remove, not used any more.
22059 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
22060 (byte-compile-make-args-desc): New funs.
22061 (byte-compile-lambda): Handle lexical functions. Always return
22062 a byte-code-function.
22063 (byte-compile-reserved-constants): New var, to make up room for
22064 closed-over variables.
22065 (byte-compile-constants-vector): Obey it.
22066 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
22067 (byte-compile-macroexpand-declare-function): New function.
22068 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
22069 byte-code-functions.
22070 (byte-compile-form): Check obsolescence here.
22071 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
22072 (byte-compile-variable-ref): Remove.
22073 (byte-compile-dynamic-variable-op): New fun.
22074 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
22075 (byte-compile-variable-set): New funs.
22076 (byte-compile-discard): Add 2 args.
22077 (byte-compile-stack-ref, byte-compile-stack-set)
22078 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
22079 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
22080 macroexpand-all instead.
22081 (byte-compile-quote-form): Remove.
22082 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
22083 (byte-compile-bind, byte-compile-unbind): New funs.
22084 (byte-compile-let): Handle let* and lexical binding.
22085 (byte-compile-let*): Remove.
22086 (byte-compile-catch, byte-compile-unwind-protect)
22087 (byte-compile-track-mouse, byte-compile-condition-case):
22088 Handle a new :fun-body form, used for lexical scoping.
22089 (byte-compile-save-window-excursion)
22090 (byte-compile-with-output-to-temp-buffer): Remove.
22091 (byte-compile-defun): Simplify.
22092 (byte-compile-stack-adjustment): New fun.
22093 (byte-compile-out): Use it.
22094 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
22095
22096 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
22097 handler any more.
22098
22099 * emacs-lisp/byte-opt.el: Use lexical binding.
22100 (byte-inline-lapcode): Remove (to bytecomp).
22101 (byte-compile-inline-expand): Pay attention to inlining to/from
22102 lexically bound code.
22103 (byte-compile-unfold-lambda): Don't handle byte-code-functions
22104 any more.
22105 (byte-optimize-form-code-walker): Don't handle save-window-excursion
22106 any more and don't call compiler-macros.
22107 (byte-compile-splice-in-already-compiled-code): Remove.
22108 (byte-code): Don't inline any more.
22109 (disassemble-offset): Receive `bytes' as argument rather than via
22110 dynamic scoping.
22111 (byte-compile-tag-number): Declare before first use.
22112 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
22113 `return' even if make-spliceable.
22114 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
22115 obsolete interactive-p.
22116 (byte-optimize-lapcode): Optimize new lap-codes.
22117 Don't trip up on new form of `byte-constant' lap code.
22118
22119 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
22120
22121 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
22122
22123 * custom.el (custom-initialize-default, custom-declare-variable):
22124 Use `defvar'.
22125
22126 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
22127 New variables.
22128 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
22129 (COMPILE_FIRST): Add macroexp and cconv.
22130 * makefile.w32-in: Mirror changes in Makefile.in.
22131
22132 * vc/cvs-status.el:
22133 * vc/diff-mode.el:
22134 * vc/log-edit.el:
22135 * vc/log-view.el:
22136 * vc/smerge-mode.el:
22137 * textmodes/bibtex-style.el:
22138 * textmodes/css-mode.el:
22139 * startup.el:
22140 * uniquify.el:
22141 * minibuffer.el:
22142 * newcomment.el:
22143 * reveal.el:
22144 * server.el:
22145 * mpc.el:
22146 * emacs-lisp/smie.el:
22147 * doc-view.el:
22148 * dired.el:
22149 * abbrev.el: Use lexical binding.
22150
22151 2011-04-01 Eli Zaretskii <eliz@gnu.org>
22152
22153 * info.el (info-display-manual): New function.
22154
22155 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
22156
22157 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
22158
22159 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
22160
22161 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
22162 an entry for that server in rcirc-authinfo. (Bug#8385)
22163
22164 2011-03-31 Glenn Morris <rgm@gnu.org>
22165
22166 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
22167
22168 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
22169
22170 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
22171
22172 * progmodes/python.el (python-default-interpreter)
22173 (python-python-command-args, python-jython-command-args)
22174 (python-which-shell, python-which-args, python-which-bufname)
22175 (python-file-queue, python-comint-output-filter-function)
22176 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
22177 variables and functions.
22178
22179 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
22180
22181 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
22182 (completion-in-region-mode): New minor mode.
22183 (completion-in-region): Use it.
22184 (completion-in-region--data, completion-in-region-mode-map): New vars.
22185 (completion-in-region--postch): New function.
22186 (completion--capf-misbehave-funs, completion--capf-safe-funs):
22187 New vars.
22188 (completion--capf-wrapper): New function.
22189 (completion-at-point): Use it to track well-behavedness of
22190 hook functions.
22191 (completion-help-at-point): New command.
22192
22193 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
22194
22195 * vc/add-log.el (add-change-log-entry): Don't use whitespace
22196 syntax class to search for whitespace on a single line
22197 (Message-ID: <4D938140.4030905@redhat.com>).
22198
22199 2011-03-30 Leo Liu <sdl.web@gmail.com>
22200
22201 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
22202 New commands.
22203 (edit-abbrevs-map): Bind them here.
22204 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
22205
22206 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
22207
22208 * allout.el (allout-hide-by-annotation, allout-flag-region):
22209 Reduce possibility of overlay leakage by making them volatile.
22210
22211 * allout-widgets.el (allout-widgets-tally): Define as nil so the
22212 hash is not shared between buffers. Mode initialization is
22213 responsible for giving it a useful starting value.
22214 (allout-item-span): Reduce possibility of overlay leakage by
22215 making them volatile.
22216 (allout-widgets-count-buttons-in-region): Add diagnostic function
22217 for tracking down button overlay leaks.
22218
22219 2011-03-29 Leo Liu <sdl.web@gmail.com>
22220
22221 * ido.el (ido-read-internal): Use the default history var
22222 minibuffer-history if no HISTORY is specified.
22223
22224 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
22225
22226 * net/imap.el (imap-shell-open, imap-process-connection-type):
22227 Use imap-process-connection-type for 'shell' streams as well as
22228 Kerberos, SSL, other subprocesses.
22229
22230 2011-03-28 Leo Liu <sdl.web@gmail.com>
22231
22232 * abbrev.el (abbrev-table-empty-p): New function.
22233 (prepare-abbrev-list-buffer): Place empty abbrev tables after
22234 nonempty ones. (Bug#5937)
22235
22236 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
22237
22238 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
22239
22240 2011-03-27 Leo Liu <sdl.web@gmail.com>
22241
22242 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
22243 for foreground and background colors.
22244 (ansi-color-make-color-map): Adapt.
22245
22246 2011-03-25 Leo Liu <sdl.web@gmail.com>
22247
22248 * midnight.el (midnight-time-float): Remove. Note it calculates
22249 the microsecond component incorrectly and seconds-to-time does the
22250 same job.
22251 Remove redundant (require 'timer).
22252
22253 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
22254 (ido-completions): Remove unused arguments. (Bug#8329)
22255
22256 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
22257
22258 * minibuffer.el (completion--flush-all-sorted-completions):
22259 Remove itself from hook.
22260 (completion-at-point): Let the functions perform the completion
22261 immediately and return nil or t.
22262 * comint.el (comint-dynamic-complete-functions): Now identical to
22263 completion-at-point-functions.
22264 (comint-dynamic-list-input-ring): Remove unused var `index'.
22265 (comint--match-partial-filename, comint--unquote&expand-filename):
22266 New funs, split from comint-match-partial-filename.
22267 (comint-dynamic-complete): Use completion-at-point.
22268 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
22269
22270 2011-03-24 Drew Adams <drew.adams@oracle.com>
22271
22272 * thingatpt.el: Support `defun'.
22273
22274 2011-03-23 Leo Liu <sdl.web@gmail.com>
22275
22276 * abbrevlist.el: Move to obsolete/abbrevlist.el.
22277
22278 * help-mode.el (help-mode-finish): Tweak regexp.
22279
22280 2011-03-23 Glenn Morris <rgm@gnu.org>
22281
22282 * eshell/esh-opt.el (eshell-eval-using-options):
22283 Do not bind unused local variable `eshell-option-stub'.
22284
22285 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
22286
22287 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
22288
22289 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
22290 keymap variable in `with-no-warnings' to avoid a warning when the
22291 keymap has been already `defconst'ed.
22292
22293 2011-03-22 Leo Liu <sdl.web@gmail.com>
22294
22295 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
22296 encode all chars in abbrevs; otherwise use emacs-mule or
22297 utf-8-emacs. (Bug#8308)
22298
22299 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
22300
22301 * simple.el (backward-delete-char-untabify):
22302 Avoid warning about using `delete-backward-char'.
22303
22304 * image.el (image-type-file-name-regexps): Make it variable.
22305 `imagemagick-register-types' modifies it, and the user may want
22306 to add new extensions for known image types.
22307 (imagemagick-register-types): Throw error if not using ImageMagick.
22308
22309 2011-03-22 Leo Liu <sdl.web@gmail.com>
22310
22311 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
22312 located before rcirc-prompt-end-marker.
22313 (rcirc-complete): Error if point is not after rcirc prompt.
22314 Handle the case when table is nil.
22315 (rcirc-user-authenticated): Define to fix compiler warning.
22316
22317 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
22318
22319 * custom.el (custom--inhibit-theme-enable): Make it affect only
22320 custom-theme-set-variables and custom-theme-set-faces.
22321 (provide-theme): Ignore custom--inhibit-theme-enable.
22322 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
22323 (custom-enabling-themes): Delete variable.
22324 (enable-theme): Accept only loaded themes as arguments.
22325 Ignore the special custom-enabled-themes variable.
22326 (custom-enabled-themes): Forbid themes from setting this.
22327 Eliminate use of custom-enabling-themes.
22328 (custom-push-theme): Quote "changed" custom var entry.
22329
22330 2011-03-21 Leo Liu <sdl.web@gmail.com>
22331
22332 * ido.el (ido-read-internal): Add ido-selected to history instead
22333 of user input.
22334
22335 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
22336
22337 * subr.el (deferred-action-list, deferred-action-function):
22338 Mark obsolete.
22339
22340 2011-03-21 Leo Liu <sdl.web@gmail.com>
22341
22342 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
22343 change on 2011-02-13 (bug#8309).
22344
22345 * minibuffer.el (read-file-name-function): Change default value.
22346 (read-file-name--defaults): Rename from read-file-name-defaults.
22347 (read-file-name-default): Rename from read-file-name.
22348 (read-file-name): Call read-file-name-function.
22349
22350 2011-03-21 Glenn Morris <rgm@gnu.org>
22351
22352 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
22353 Doc fixes.
22354
22355 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
22356
22357 * cus-theme.el: Add missing provide statement.
22358 (customize-create-theme): Extract theme value correctly.
22359 (custom-theme-visit-theme): Autoload.
22360 (customize-create-theme): Prompt before inserting default faces.
22361
22362 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
22363
22364 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
22365 units and musical notes.
22366
22367 2011-03-20 Leo Liu <sdl.web@gmail.com>
22368
22369 * ido.el (ido-read-internal): Use completing-read-default.
22370 (ido-completing-read): Fix compatibility with completing-read.
22371
22372 2011-03-20 Christian Ohler <ohler@gnu.org>
22373
22374 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
22375 (ert-delete-all-tests): Use `called-interactively-p' rather than
22376 `interactive-p'.
22377 (ert--make-xrefs-region): Respect END.
22378
22379 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
22380
22381 * dired-aux.el (dired-create-directory): Signal an error if the
22382 directory already exists (Bug#8246).
22383
22384 * facemenu.el (list-colors-display): Call list-faces-display
22385 inside with-help-window.
22386 (list-colors-print): Use display property to align the final
22387 column, instead of checking window-width.
22388
22389 2011-03-19 Eli Zaretskii <eliz@gnu.org>
22390
22391 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
22392 windows-nt systems.
22393 (emerge-protect-metachars): Quote correctly for ms-dos and
22394 windows-nt systems.
22395
22396 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
22397
22398 * info.el (info-initialize): Replace all uses of `:' with
22399 path-separator for compatibility with non-Unix systems.
22400 Cache quoting of path-separator. (Bug#8258)
22401
22402 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
22403
22404 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
22405 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
22406 (mouse-avoidance-mode): Fix typos in docstrings.
22407
22408 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
22409
22410 * startup.el (package-subdirectory-regexp): Move from package.el.
22411 Omit \\` and \\', and let callers add them.
22412
22413 * emacs-lisp/package.el (package-strip-version)
22414 (package-load-all-descriptors): Add \\` and \\' to
22415 package-subdirectory-regexp before using it.
22416 (package-untar-buffer): New arg DIR; ensure that file untars only
22417 into this expected directory. Remove superfluous delete-region.
22418 (package-unpack): Caller changed.
22419 (package-tar-file-info): Use package-subdirectory-regexp.
22420
22421 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
22422
22423 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
22424 diff-mode-shared-map (bug#8284).
22425 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
22426
22427 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
22428
22429 * calendar/time-date.el (format-seconds): Use assoc instead of
22430 assoc-string, since assoc-string doesn't exist in XEmacs.
22431
22432 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
22433
22434 * custom.el (custom-known-themes): Reflow docstring.
22435 (custom-theme-load-path): Fix typo in docstring.
22436 (load-theme): Fix typo in error message.
22437 (custom-available-themes, custom-variable-theme-value):
22438 Use `let', not `let*'.
22439
22440 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
22441
22442 * calc/README: Mention inclusion of musical notes.
22443
22444 * calc/calc-units.el (calc-lu-quant): Rename from
22445 `calc-logunits-quantity'.
22446 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
22447 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
22448 (calc-db): Rename from `calc-dblevel'.
22449 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
22450 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
22451 (calc-np): Rename from `calc-nplevel'.
22452 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
22453 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
22454 (calc-lu-plus): Rename from `calc-logunits-add'.
22455 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
22456 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
22457 (calc-lu-minus): Rename from `calc-logunits-sub'.
22458 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
22459 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
22460 (calc-lu-times): Rename from `calc-logunits-mul'.
22461 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
22462 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
22463 (calc-lu-divide): Rename from `calc-logunits-div'.
22464 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
22465 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
22466
22467 * calc/calc-ext.el (calc-init-extensions): Update the names of the
22468 functions being autoloaded.
22469
22470 * calc/calc.el (calc-lu-power-reference): Rename from
22471 `calc-logunits-power-reference'.
22472 (calc-lu-field-reference): Rename from
22473 `calc-logunits-field-reference'.
22474
22475 * calc/calc-help.el (calc-l-prefix-help):
22476 Mention musical note functions.
22477
22478 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
22479
22480 * minibuffer.el (completion-all-sorted-completions):
22481 Use :completion-cycle-penalty text property if present.
22482
22483 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
22484
22485 * allout.el (allout-yank-processing): Adjust for new rebulleting
22486 regime so bullet being yanked is used without prompting the user
22487 for a choice.
22488
22489 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
22490
22491 * startup.el (command-line): Warn the user that _emacs is deprecated.
22492
22493 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
22494
22495 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
22496 (delphi-verbose, delphi-comment-face, delphi-string-face)
22497 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
22498 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
22499 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
22500 (delphi-new-comment-line, delphi-font-lock-defaults)
22501 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
22502 Fix typos in docstrings.
22503
22504 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
22505
22506 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
22507 Invert the roles of character and string values for INSTEAD, so a
22508 string is used for the more common case of a defaulting prompt.
22509
22510 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
22511
22512 * progmodes/ruby-mode.el (ruby-backward-sexp):
22513 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
22514 * play/gamegrid.el (gamegrid-make-face):
22515 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
22516 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
22517 * notifications.el (notifications-notify):
22518 * net/xesam.el (xesam-search-engines):
22519 * net/quickurl.el (quickurl-list-insert):
22520 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
22521
22522 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
22523
22524 * startup.el (command-line): Update package subdirectory regexp.
22525
22526 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
22527
22528 * allout.el (allout-abbreviate-flattened-numbering)
22529 (allout-mode-deactivate-hook): Fix up obsolescence "date".
22530
22531 * subr.el (read-char-choice): Only show the cursor after the prompt,
22532 not after the answer.
22533
22534 2011-03-15 Kevin Ryde <user42@zip.com.au>
22535
22536 * help-fns.el (variable-at-point): Skip leading quotes, if any
22537 (bug#8253).
22538
22539 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
22540
22541 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
22542 warning message.
22543
22544 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
22545
22546 * shell.el (shell): When called interactively, offer to change the
22547 shell file name on remote hosts.
22548
22549 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
22550
22551 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
22552 integration for LDAP parameters. The host, base, user or binddn,
22553 and secret tokens can be specified in a netrc file, for instance.
22554 This is optional because an `auth-source' parameter must be
22555 specified in the search attributes.
22556
22557 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
22558
22559 * help.el (describe-mode): Link to the mode's definition (bug#8185).
22560
22561 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
22562
22563 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
22564 into declaration. Remove redundant and harmful binding.
22565
22566 2011-03-12 Eli Zaretskii <eliz@gnu.org>
22567
22568 * files.el (file-ownership-preserved-p): Pass `integer' as an
22569 explicit 2nd argument to `file-attributes'. If the file's owner
22570 is the Administrators group on Windows, and the current user is
22571 Administrator, consider that a match.
22572
22573 * server.el (server-ensure-safe-dir): Consider server directory
22574 safe on MS-Windows if its owner is the Administrators group while
22575 the current Emacs user is Administrator. Use `=' to compare
22576 numerical UIDs, since they could be integers or floats.
22577
22578 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
22579
22580 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
22581
22582 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
22583
22584 Sync with Tramp 2.2.1.
22585
22586 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
22587
22588 * net/trampver.el: Update release number.
22589
22590 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
22591
22592 * progmodes/compile.el (compilation--previous-directory): Fix up
22593 various nil/dead-marker mismatches (bug#8014).
22594 (compilation-directory-properties, compilation-error-properties):
22595 Don't call it at a position past the one we're about to change.
22596
22597 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
22598 Disable obsolescence warnings in the file that declares it.
22599
22600 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
22601
22602 * allout-widgets.el (allout-widgets-tally):
22603 Initialize allout-widgets-tally as a hash table rather than nil to
22604 prevent mode-line redisplay warnings. Also, clarify the module
22605 description and fix a comment typo.
22606
22607 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
22608
22609 * help-fns.el (describe-variable): Don't complete keywords.
22610 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
22611
22612 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
22613
22614 * emacs-lisp/package.el (package-version-join): Impose a standard
22615 string representation for pre/alpha/beta version lists.
22616 (package-unpack-single): Standardize the directory name by passing
22617 it through package-version-join.
22618 (package-strip-rcs-id): Accept any version string that does not
22619 signal an error in version-to-list.
22620
22621 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
22622
22623 * simple.el (delete-trailing-whitespace): Return nil for the
22624 benefit of `write-file-functions'.
22625
22626 2011-03-10 Glenn Morris <rgm@gnu.org>
22627
22628 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
22629
22630 * vc/vc-git.el (vc-git-program): New option.
22631 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
22632 (vc-git--call): Use it.
22633
22634 * eshell/esh-util.el (eshell-condition-case): Doc fix.
22635
22636 * cus-edit.el (Custom-newline): If no button at point, look
22637 for a subgroup button at start-of-line. (Bug#2298)
22638
22639 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
22640
22641 2011-03-10 Julien Danjou <julien@danjou.info>
22642
22643 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
22644 `cursor-type' is nil.
22645
22646 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
22647
22648 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
22649
22650 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
22651
22652 * allout.el: Change so yank of distinctive-bullet items
22653 preserves the existing header prefix, rebulleting it if necessary,
22654 rather than replacing it. This is necessary for proper operation
22655 of cooperative addons like allout-widgets.
22656 (allout-make-topic-prefix, allout-rebullet-heading):
22657 Change SOLICIT arg to INSTEAD, and interpret additionally a string
22658 value as alternate bullet to be used, instead of prompting the user
22659 for a bullet character.
22660
22661 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
22662
22663 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22664 Do not use `tramp-file-name-port', because this returns also
22665 `tramp-default-port'.
22666
22667 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
22668
22669 * net/rcirc.el (rcirc-handler-001): Remove useless
22670 with-rcirc-process-buffer.
22671 (rcirc-check-auth-status): Swap arguments to string-match.
22672
22673 2011-03-09 Glenn Morris <rgm@gnu.org>
22674
22675 * shell.el (shell-mode):
22676 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
22677
22678 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
22679 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
22680
22681 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
22682
22683 * emacs-lisp/package.el (package-refresh-contents)
22684 (package-menu-execute): Use condition-case-no-debug.
22685
22686 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
22687
22688 * simple.el (shell-command-to-string): Use `process-file'.
22689
22690 * emacs-lisp/package.el (package-tar-file-info): Handle also
22691 remote files.
22692
22693 * emacs-lisp/package-x.el (package-upload-buffer-internal):
22694 Use `equal' for upload base check.
22695
22696 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
22697
22698 * textmodes/texinfo.el (texinfo-environments):
22699 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
22700
22701 2011-03-08 Glenn Morris <rgm@gnu.org>
22702
22703 * cus-start.el (cursor-in-non-selected-windows):
22704 Fix :set quoting oddness. (Bug#8192)
22705
22706 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
22707 in some setf expressions. (Bug#2159)
22708
22709 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
22710
22711 * custom.el (custom-available-themes): Return themes in
22712 alphabetical order.
22713
22714 See ChangeLog.15 for earlier changes.
22715
22716 ;; Local Variables:
22717 ;; coding: utf-8
22718 ;; End:
22719
22720 Copyright (C) 2011-2012 Free Software Foundation, Inc.
22721
22722 This file is part of GNU Emacs.
22723
22724 GNU Emacs is free software: you can redistribute it and/or modify
22725 it under the terms of the GNU General Public License as published by
22726 the Free Software Foundation, either version 3 of the License, or
22727 (at your option) any later version.
22728
22729 GNU Emacs is distributed in the hope that it will be useful,
22730 but WITHOUT ANY WARRANTY; without even the implied warranty of
22731 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22732 GNU General Public License for more details.
22733
22734 You should have received a copy of the GNU General Public License
22735 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.