* info.el (info-other-window): New arg, for consistency with info.
[bpt/emacs.git] / lisp / ChangeLog
1 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
2
3 * info.el (info-other-window):
4
5 2012-12-28 Martin Rudalics <rudalics@gmx.at>
6
7 * mail/rmail.el (rmail-maybe-display-summary): Rewrite
8 (Bug#13066).
9
10 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
11
12 * epg.el (epg--start): Modify process-environment locally.
13
14 2012-12-28 Daiki Ueno <ueno@gnu.org>
15
16 * epg.el: Support pinentry-curses.
17 Suggested by Werner Koch in
18 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
19 (epg-agent-file, epg-agent-mtime): New variable.
20 (epg--start): Record the modified time of gpg-agent socket file,
21 to restore Emacs frame after pinentry-curses termination.
22 (epg-wait-for-completion): Restore Emacs frame here.
23
24 2012-12-27 Juri Linkov <juri@jurta.org>
25
26 * info.el (Info-file-completions): New variable.
27 (Info-read-node-name-1): Complete node names in the Info file
28 when a file name is given. Call `Info-build-node-completions'
29 with a file name.
30 (Info-build-node-completions): Add new arg `file'. When it is
31 non-nil, visit it in a temporary buffer and cache its completions in
32 `Info-current-file-completions'. Move most of the function body to
33 `Info-build-node-completions-1'.
34 (Info-build-node-completions-1): New function with the body from
35 `Info-build-node-completions'. (Bug#12456)
36
37 2012-12-27 Juri Linkov <juri@jurta.org>
38
39 * frame.el (frame-maximization-style): Remove user option.
40 (cycle-frame-maximized): Remove function.
41 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
42 (toggle-frame-fullscreen): New command bound to <f11> instead of
43 `toggle-frame-maximized'.
44 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
45
46 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
47
48 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
49
50 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
51 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
52 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
53 for `file-accessible-directory-p'. (Bug#13275)
54
55 2012-12-27 Sam Steingold <sds@gnu.org>
56
57 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
58 continuations, see <http://stackoverflow.com/questions/3582436>.
59
60 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
61
62 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
63 "module" and "def" to have indentation before them. Regression
64 from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
65
66 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
67
68 2012-12-27 Alan Mackenzie <acm@muc.de>
69
70 Speed up fontification where there's large brace blocks.
71 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
72 to a call of c-beginning-of-decl-1.
73
74 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
75
76 * comint.el (comint-adjust-window-point): New function.
77 (comint-postoutput-scroll-to-bottom): Call
78 comint-adjust-window-point (Bug#13248).
79
80 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
81
82 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
83 Rakefile regexp.
84 (auto-mode-alist): Associate .gemspec files with ruby-mode
85 (https://bugs.ruby-lang.org/issues/5453).
86
87 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
88
89 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun. Suppress
90 coloring, if possible (required for BusyBox based systems like
91 CynagenMod).
92 (tramp-adb-handle-file-attributes)
93 (tramp-adb-handle-insert-directory)
94 (tramp-adb-handle-file-name-all-completions): Use it.
95 (tramp-adb-get-toolbox): New defun. Check for remote shell
96 implementation (BusyBox or Toolbox).
97
98 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
99
100 * startup.el (initial-buffer-choice): Allow function as value
101 (Bug#13251).
102 (command-line-1): Handle case where initial-buffer-choice
103 specifies a function.
104 * server.el (server-execute): Handle case where
105 initial-buffer-choice specifies a function.
106
107 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
108
109 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
110 its own function.
111 (smtpmail-try-auth-methods): Forget the user name/password if the
112 login is unsuccessful (bug#12424).
113
114 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
115
116 * notifications.el (notifications-notify): Protect body with
117 `with-demoted-errors'.
118
119 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Check
120 properties of remote device. Restart connection, if there is a
121 change.
122
123 2012-12-21 Chong Yidong <cyd@gnu.org>
124
125 * sort.el (sort-subr): Doc fix (Bug#13056).
126
127 2012-12-21 Bastien Guerry <bzg@gnu.org>
128
129 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
130
131 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
132
133 * simple.el (process-file): Overwrite stderr file, if exists.
134
135 2012-12-21 Daiki Ueno <ueno@gnu.org>
136
137 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
138 (epg-error): Set `error-message' property.
139
140 2012-12-21 Chong Yidong <cyd@gnu.org>
141
142 * international/mule-cmds.el (read-char-by-name): Signal an error
143 if the user does not supply a valid character (Bug#13177).
144
145 * simple.el (transpose-subr-1): Preserve marker positions by
146 changing the insertion sequence (Bug#13122).
147
148 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
149
150 * simple.el (kill-region): Deactivate mark even for empty regions
151 (Bug#13169).
152
153 2012-12-21 Chong Yidong <cyd@gnu.org>
154
155 * help-fns.el (describe-variable): Make sure we get the right
156 buffer name (Bug#13105). Suggested by Kelly Dean.
157
158 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
159
160 * comint.el (comint-redirect-previous-input-string): New variable.
161 (comint-redirect-setup, comint-redirect-cleanup)
162 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
163 (comint-redirect-preoutput-filter): Fix verbose message.
164
165 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
166
167 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
168 is too long for Tramp. See discussion in
169 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
170
171 * progmodes/compile.el (compilation-start): Remove line escape
172 template.
173
174 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
175
176 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
177 Adjust comment.
178
179 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
180
181 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
182 following non-comment text (bug#13207).
183 (lm-header-multiline): Continuation lines need to be indented more than
184 the first line.
185 (lm-homepage): New function.
186 (lm-with-file): Don't be confused if narrowing is in effect.
187
188 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
189 very beginning of a hunk (e.g. killing the first line).
190
191 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
192
193 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
194 and text properties from returned ACL string.
195 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
196 for "setfacl" command.
197
198 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
199
200 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
201 `tramp-cleanup-this-connection', when the process has died.
202 (Bug#13151)
203
204 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
205
206 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
207
208 2012-12-17 Kevin Ryde <user42@zip.com.au>
209
210 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
211
212 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
213
214 Add support for preserving ACL entries of files.
215
216 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
217 `set-file-acl' handlers.
218
219 * net/tramp-adb.el (tramp-adb-handle-copy-file):
220 Handle PRESERVE-EXTENDED-ATTRIBUTES.
221
222 * net/tramp-compat.el (tramp-compat-copy-file):
223 Handle PRESERVE-EXTENDED-ATTRIBUTES.
224
225 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
226 Add `file-acl' and `set-file-acl' handlers.
227 (tramp-gvfs-handle-copy-file):
228 Handle PRESERVE-EXTENDED-ATTRIBUTES.
229 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
230 New defuns.
231
232 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
233 Add `file-acl' and `set-file-acl' handlers.
234 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
235 (tramp-sh-handle-set-file-acl): New defuns.
236 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
237 Handle PRESERVE-EXTENDED-ATTRIBUTES.
238
239 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
240 Add `file-acl' and `set-file-acl' handlers.
241 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
242
243 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
244
245 * help-macro.el (make-help-screen): Instead of switch-to-buffer
246 use pop-to-buffer with NORECORD argument t. As buffer name, use
247 *Metahelp* with a leading space (Bug#13190).
248
249 2012-12-16 Romain Francoise <romain@orebokech.com>
250
251 * files.el (file-extended-attributes)
252 (set-file-extended-attributes): New functions.
253 (backup-buffer): Use them to handle both SELinux context and ACL
254 entries.
255 (backup-buffer-copy): Work with an alist of extended attributes,
256 rather than an SELinux context.
257 (basic-save-buffer-2): Ditto.
258
259 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
260
261 * battery.el (battery-bsd-apm): New function.
262
263 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
264
265 * calc/calc.el (calc-standard-date-formats): Adjust one of the
266 standard date formats.
267
268 2012-12-15 Juri Linkov <juri@jurta.org>
269
270 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
271 `isearch-insert-char-by-name'.
272 (with-isearch-suspended): New defmacro with body mostly from
273 `isearch-edit-string' except the part that sets
274 `isearch-new-string' and `isearch-new-message'.
275 (isearch-edit-string): Use new macro `with-isearch-suspended' with
276 body that sets `isearch-new-string' and `isearch-new-message'.
277 (isearch-insert-char-by-name): New command.
278 * international/mule-cmds.el (read-char-by-name): Let-bind
279 `enable-recursive-minibuffers' to t.
280 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
281
282 2012-12-15 Juri Linkov <juri@jurta.org>
283
284 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
285 (Bug#13175)
286
287 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
288
289 * dired-x.el (dired-guess-shell-command): Put colon at the end of
290 the prompt. (Bug#13045)
291
292 2012-12-14 Glenn Morris <rgm@gnu.org>
293
294 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
295 Try to include filename in non-bytecomp warning. (Bug#13132)
296
297 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
298
299 Fix permissions bugs with setgid directories etc. (Bug#13125)
300 * files.el (backup-buffer): Don't rely on 9th output of
301 file-attributes, as it's now a placeholder. Instead, use the new
302 optional arg of file-ownership-preserved-p.
303 (file-ownership-preserved-p): New optional arg GROUP.
304 Fix mishandling of setuid directories that would cause this
305 function to return t when it should have returned nil.
306 Document what happens if the file does not exist, and when
307 it's not known whether the ownership will be preserved.
308 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
309 Likewise.
310 (tramp-get-local-gid): Use group-gid for integer, as that's
311 faster and more reliable.
312
313 2012-12-14 Julien Danjou <julien@danjou.info>
314
315 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
316 Update keywords list, data type and PL/pgSQL.
317
318 2012-12-14 Dave Abrahams <dave@boostpro.com>
319
320 * vc/ediff-util.el (ediff-buffer-type): New function.
321 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
322 rather than taking it as as argument.
323 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
324
325 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
326
327 * json.el: Add pretty-print option (bug#12634).
328 (json-encoding-separator, json-encoding-default-indentation)
329 (json--encoding-current-indentation, json-encoding-pretty-print)
330 (json-encoding-lisp-style-closings): New vars.
331 (json--with-indentation): New macro.
332 (json-encode-hash-table, json-encode-alist, json-encode-plist)
333 (json-encode-array): Use it to obey json-encoding-pretty-print.
334 (json-pretty-print-buffer, json-pretty-print): New commands.
335
336 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
337
338 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
339 Extract `ruby-syntax-propertize-expansions'.
340 (ruby-syntax-propertize-expansions): Only change syntax on
341 certain string delimiters, to punctuation. This way the common
342 functions like forward-word and thing-at-point still work.
343 (ruby-match-expression-expansion): Improve readability.
344 (ruby-block-contains-point): New function.
345 (ruby-add-log-current-method): Handle several edge cases.
346
347 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
348
349 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
350 unload-feature finishes even when aborting an ongoing edebug session.
351 Also, do not worry about edebug-mode, unload-feature takes care of it.
352
353 2012-12-13 Andreas Schwab <schwab@suse.de>
354
355 * net/tls.el (tls-program): Update customize type.
356
357 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
358
359 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
360 (edebug-setup-hook, cl-read-load-hooks): Use it.
361 (edebug-unload-function): New function. (Bug#13163)
362
363 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
364
365 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
366 Otherwise, there could be errors in autoloading. (Bug#13151)
367
368 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
369
370 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
371 sequences.
372
373 2012-12-13 Alan Mackenzie <acm@muc.de>
374
375 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
376 * progmodes/cc-engine.el (c-backward-comments): Add code to work
377 around `forward-comment' not recognizing ^M as whitespace.
378
379 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
380
381 * progmodes/python.el (python-skeleton-class)
382 (python-skeleton-def): Do not add space after defun name.
383
384 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
385
386 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
387 (cl--symbol-function): Remove (now that funbound is like nil).
388
389 2012-12-12 Glenn Morris <rgm@gnu.org>
390
391 * button.el (button--area-button-p): Fix typo.
392
393 2012-12-12 Sam Steingold <sds@gnu.org>
394
395 * frame.el (frame-maximization-style): New user option.
396 (toggle-frame-maximized): Toggle frame maximization according to
397 `frame-maximization-style', bound to <f11>.
398 (cycle-frame-maximized): Cycle between all maximization styles and
399 non-maximized frame, bound to shift-<f11>.
400
401 2012-12-12 David Cadé <codename68@gmail.com>
402
403 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
404
405 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
406
407 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
408 (eieio-override-prin1): Don't quote kewords and booleans.
409 (object-write) <eieio-default-superclass>: Don't put closing parens
410 on new line, avoid needless empty lines, align values that are objects
411 with the slot keyword (instead of beginning on the same line).
412 (eieio-list-prin1): Align value with slot keyword; increase
413 eieio-print-depth before printing members of the list.
414
415 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
416
417 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
418 a display text-property.
419 (report-emacs-bug-hook): Don't bother deleting it any more.
420
421 * hilit-chg.el (highlight-save-buffer-state): Delete.
422 Use with-silent-modifications instead.
423 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
424
425 * button.el: Handle buttons in display text-properties.
426 (button--area-button-p, button--area-button-string):
427 Use (STRING . STRING-POS) representation instead of just STRING.
428
429 2012-12-11 Eli Zaretskii <eliz@gnu.org>
430
431 * makefile.w32-in (compile4-SH): Fix a typo that caused term
432 subdirectory be skipped.
433
434 2012-12-11 Glenn Morris <rgm@gnu.org>
435
436 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
437
438 * progmodes/f90.el (f90-line-continued, f90-indent-region):
439 Treat preprocessor lines embedded in continuations like comments.
440 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
441
442 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
443
444 * calc/calc.el (calc-standard-date-formats): Add more date
445 formats.
446 * calc/calc-forms.el (math-parse-iso-date): New function.
447 (math-parse-date): Use `math-parse-iso-date' when appropriate.
448 (math-parse-iso-date-validate): Add extra error checking.
449 (calc-date-notation): Add ability to access new date formats.
450
451 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
452
453 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
454 font-lock as well as when there's no text-property.
455
456 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
457
458 * hi-lock.el: Refine the choice of default face.
459 (hi-lock-keyword->face): New function. Use it wherever we used
460 cadadadr instead.
461 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
462 (hi-lock--last-face): Remove var.
463 (hi-lock--unused-faces): New var to replace it.
464 (hi-lock-read-face-name): Use/maintain it.
465 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
466 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
467 if it has another face.
468
469 2012-12-10 Eli Zaretskii <eliz@gnu.org>
470
471 * subr.el (w32notify-handle-event): New function.
472 (inotify-handle-event): Doc fix.
473
474 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
475
476 * subr.el (inotify-event-p, inotify-handle-event): New functions.
477
478 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
479
480 * simple.el (just-one-space): Doc fix.
481
482 2012-12-10 Eli Zaretskii <eliz@gnu.org>
483
484 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
485
486 2012-12-10 Le Wang <l26wang@gmail.com>
487
488 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
489 narrowed buffer (bug#12361).
490
491 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
492
493 * vc/vc-hooks.el (vc-state): Doc fix.
494
495 2012-12-10 Glenn Morris <rgm@gnu.org>
496
497 * mail/rmail.el (rmail-maybe-display-summary):
498 Preserve buffer, in case select-window changes it. (Bug#13066)
499
500 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
501
502 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
503 cl-load-hook where they belong.
504
505 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
506
507 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
508
509 2012-12-09 Eli Zaretskii <eliz@gnu.org>
510
511 Parallelize byte compilation on MS-Windows.
512 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
513 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
514 (WINS_BASIC): Define as concatenation of the above.
515 (compile): Subdivide into 4 separate and independent jobs that can
516 be run in parallel.
517 (compile0-CMD, compile0-SH): New targets for compiling
518 COMPILE_FIRST files, which are prerequisites for the rest of the
519 byte-compilation.
520 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
521 New targets for parallel compilation with cmd.exe.
522 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
523 compiling under a Unixy shell.
524
525 2012-12-09 Chong Yidong <cyd@gnu.org>
526
527 * simple.el (set-mark-default-inactive): Delete this
528 accidentally-introduced option.
529 (set-mark-command, exchange-point-and-mark): Remove calls.
530
531 2012-12-09 Glenn Morris <rgm@gnu.org>
532
533 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
534 Respect a defcustom's :set function, if appropriate. (Bug#109)
535 (eval-defun): Doc fix.
536
537 2012-12-08 Juri Linkov <juri@jurta.org>
538
539 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
540 (Info-fontify-node, Info-bookmark-make-record): Remove the
541 file extension from Info-current-file (Bug#13016).
542
543 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
544
545 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
546 point, still provide some default.
547 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
548 names, since we don't use it right now. Actually return the list.
549 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
550
551 2012-12-07 Chong Yidong <cyd@gnu.org>
552
553 * novice.el (disabled-command-function): Remove a spurious help
554 xref (Bug#13043). Suggested by Kelly Dean.
555
556 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
557 syntax is specified (Bug#13025).
558
559 * info.el (Info-set-mode-line): Remove the file extension from
560 Info-current-file if there is one (Bug#13016).
561
562 2012-12-07 Glenn Morris <rgm@gnu.org>
563
564 * mail/rmail.el (rmail-mime-decoded): New permanent local.
565 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
566 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
567 and rmail-mime-decoded. (Bug#9841)
568
569 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
570 (batch-unrmail, unrmail): Doc fixes.
571 (unrmail): Respect unrmail-mbox-format.
572 * mail/rmail.el (rmail-mbox-format): New option.
573 (rmail-show-message-1): Respect rmail-mbox-format.
574
575 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
576
577 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
578
579 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
580
581 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
582 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
583 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
584 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
585 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
586 (cl-progv): Don't rely on dynamic scoping to find the body.
587 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
588 (cl--proclaims-deferred): Rename from the "cl-" prefix.
589 (cl-declaim): Use backquotes.
590 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
591 Use "cl--" prefix for the object's tag.
592
593 * ses.el: Use advice-add/remove.
594 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
595 (copy-region-as-kill, yank): Use advice-add.
596 (ses-unload-function): Use advice-remove.
597
598 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
599
600 * button.el: Make them work in header-lines (bug#12817).
601 (button-map): Add bindings for header-line and mode-line use.
602 (button-get, button-put, button-label): `button' may now be a string.
603 (button-activate): Don't make it a defsubst.
604 (button--area-button-p, button--area-button-string): New functions.
605 (make-text-button): Fix the return value when `beg' was a string.
606 (push-button): Handle the mode-line case.
607
608 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
609
610 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
611 (sql-signum): Remove. Use `cl-signum' instead.
612 (sql-read-passwd): Remove; use read-passwd instread.
613 (sql-get-login-ext): Use read-string.
614 (sql-get-login): Use dolist and pcase.
615 (sql--completion-table): Rename from sql-try-completion.
616 Use complete-with-action.
617 (sql-mode): Don't change abbrev-all-caps globally.
618 (sql-connect): Don't rely on dynamic scoping for `new-name'.
619 (sql-postgres-completion-object): Initialize vars in their `let'.
620 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
621 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
622 (sql-comint-interbase): Use a single append, without setq.
623 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
624
625 * hi-lock.el: Rework the default face and the serialize regexp code.
626 (hi-lock--auto-select-face-defaults): Remove.
627 (hi-lock-string-serialize-serial): Remove.
628 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
629 make weak.
630 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
631 equal string.
632 (hi-lock-set-pattern): Adjust accordingly.
633 (hi-lock--regexps-at-point): Simplify accordingly.
634 (hi-lock--auto-select-face-defaults): Remove.
635 (hi-lock--last-face): New var to replace it.
636 (hi-lock-read-face-name): Rewrite (bug#11095).
637 (hi-lock-unface-buffer): Arrange for the face to be the next default.
638
639 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
640
641 * net/tramp.el (tramp-replace-environment-variables):
642 Hide compiler warning.
643 (tramp-file-name-for-operation): Remove `executable-find',
644 `start-process', `call-process' and `call-process-region'.
645
646 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
647
648 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
649 compatibility.
650
651 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
652
653 2012-12-06 Chong Yidong <cyd@gnu.org>
654
655 * ffap.el (ffap-replace-file-component): Fix typo.
656
657 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
658
659 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
660 fix open-paren-like token test (bug#12785).
661
662 2012-12-06 Glenn Morris <rgm@gnu.org>
663
664 * mail/rmailsum.el (rmail-new-summary): Tweak for
665 rmail-maybe-display-summary changing buffer. (Bug#13066)
666
667 2012-12-06 Juri Linkov <juri@jurta.org>
668
669 * info.el (Info-fontify-node): Don't hide the last newline.
670 (Bug#12272)
671
672 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
673
674 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
675 so as to enable message-read-from-minibuffer to expand mail aliases.
676
677 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
678
679 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
680 the `intangible' property.
681 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
682
683 2012-12-05 Deniz Dogan <deniz@dogan.se>
684
685 * net/rcirc.el (rcirc-urls): Update documentation.
686 (rcirc-condition-filter): New function.
687 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
688 and exclude consecutive duplicate URLs (Bug#6082).
689
690 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
691
692 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
693 Check return code of copy command.
694
695 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
696 Use group `tramp'. Add version.
697
698 2012-12-05 Chong Yidong <cyd@gnu.org>
699
700 * ffap.el (ffap-url-regexp): Don't require matching at front of
701 string (Bug#4952).
702 (ffap-url-p): If only a substring matches, return that.
703 (ffap-url-at-point): Use the return value of ffap-url-p.
704 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
705 (find-file-at-point, dired-at-point, dired-at-point-prompter)
706 (ffap-guess-file-name-at-point): Likewise.
707 (ffap-replace-file-component): Fix typo.
708
709 * info.el (info-display-manual): Add existing Info buffers, whose
710 files may not be in Info-directory-list, to the completion.
711 (info--manual-names): New helper function.
712
713 2012-12-05 Glenn Morris <rgm@gnu.org>
714
715 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
716 New functions, for detecting and resolving conflicts. (Bug#10709)
717
718 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
719
720 * hi-lock.el (hi-lock-auto-select-face): New user variable.
721 (hi-lock-auto-select-face-defaults): New buffer local variable.
722 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
723 (hi-lock-unface-buffer): Prompt user with useful defaults.
724 With prefix arg, unhighlight all hi-lock patterns in buffer.
725
726 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
727
728 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
729
730 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
731
732 * Makefile.in (TRAMP_SRC):
733 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
734
735 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
736
737 * net/tramp-adb.el: New package.
738
739 2012-12-04 Chong Yidong <cyd@gnu.org>
740
741 * terminal.el: Move to obsolete/.
742
743 * longlines.el: Move to obsolete/.
744
745 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
746 Remove code referring to longlines mode.
747
748 2012-12-03 Juri Linkov <juri@jurta.org>
749
750 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
751
752 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
753
754 * textmodes/ispell.el (ispell-init-process)
755 (ispell-start-process, ispell-internal-change-dictionary):
756 Make sure personal dictionary name is expanded after initial
757 `default-directory' value. Use expanded strings for
758 keep/restart checks and for value (Bug#13019).
759
760 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
761
762 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
763
764 2012-12-03 Leo Liu <sdl.web@gmail.com>
765
766 * files.el (dir-locals-read-from-file): Check file non-empty
767 before reading. (Bug#13038)
768
769 2012-12-03 Glenn Morris <rgm@gnu.org>
770
771 * jka-cmpr-hook.el (jka-compr-get-compression-info):
772 Remove any version extension before checking filename. (Bug#13006)
773 (jka-compr-compression-info-list): Belated :version bump.
774
775 2012-12-03 Chong Yidong <cyd@gnu.org>
776
777 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
778
779 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
780 (buffer-menu): Doc fix (Bug#12294).
781
782 2012-12-03 Roland Winkler <winkler@gnu.org>
783
784 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
785 of diary-show-all-entries in the diary buffer (Bug#12994).
786
787 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
788
789 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
790 "<STDIN>". This is binary safe.
791
792 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
793
794 * calc/calc-forms.el (math-absolute-from-iso-dt)
795 (math-date-to-iso-dt, math-parse-iso-date-validate)
796 (math-iso-dt-to-date): New functions.
797 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
798 (math-fd-isoweekday): New variables.
799 (calc-date-notation, math-parse-standard-date, math-format-date)
800 (math-format-date-part): Add support for more formatting codes.
801
802 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
803
804 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
805 current buffer's file name when called interactively (Bug#12488).
806
807 2012-12-02 Juri Linkov <juri@jurta.org>
808
809 * info.el (info-display-manual): Don't clobber an existing Info
810 buffer (Bug#10770). Add completion (Bug#10771).
811
812 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
813
814 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
815 before using it for comparison (Bug#5297).
816
817 2012-12-01 Jari Aalto <jari.aalto@cante.net>
818
819 * textmodes/css-mode.el (css-current-defun-name): New function.
820 (css-mode): Use it.
821
822 * textmodes/sgml-mode.el (html-current-defun-name): New function.
823 (html-mode): Use it.
824
825 2012-12-01 Chong Yidong <cyd@gnu.org>
826
827 Modularize add-log-current-defun (Bug#2224).
828 Suggested by Jari Aalto.
829
830 * vc/add-log.el (add-log-current-defun-function): Doc fix.
831 (add-log-current-defun): Move mode-specific code to other files.
832 (add-log-lisp-like-modes, add-log-c-like-modes)
833 (add-log-tex-like-modes): Variables deleted.
834
835 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
836 (lisp-mode-variables): Use it.
837
838 * progmodes/cc-mode.el (c-common-init):
839 * progmodes/cperl-mode.el (cperl-mode): Set a value for
840 add-log-current-defun-function.
841
842 * progmodes/m4-mode.el (m4-current-defun-name): New function.
843 (m4-mode): Use it.
844
845 * progmodes/perl-mode.el (perl-current-defun-name): New.
846 (perl-mode): Use it.
847
848 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
849 Use lisp-current-defun-name.
850
851 * textmodes/tex-mode.el (tex-current-defun-name): New.
852 (tex-common-initialization): Use it.
853
854 * textmodes/texinfo.el (texinfo-current-defun-name): New.
855 (texinfo-mode): Use it.
856
857 2012-12-01 Chong Yidong <cyd@gnu.org>
858
859 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
860 * progmodes/autoconf.el (autoconf-mode):
861 * progmodes/js.el (js-mode):
862 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
863 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
864 * progmodes/perl-mode.el (perl-mode):
865 * progmodes/sh-script.el (sh-mode, sh-set-shell):
866 * textmodes/css-mode.el (css-mode):
867 * textmodes/sgml-mode.el (html-mode, sgml-mode)
868 (sgml-tags-invisible, sgml-guess-indent):
869 * textmodes/tex-mode.el (tex-common-initialization)
870 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
871 (doctex-mode, plain-tex-mode, latex-mode):
872 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
873
874 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
875
876 * vc/vc-hg.el (vc-hg-next-revision):
877 Ensure use of default "tip" output format. (Bug#6968)
878
879 2012-12-01 Kim F. Storm <storm@cua.dk>
880
881 * startup.el (fancy-startup-tail): Add a clickable link
882 (Bug#2176).
883
884 2012-12-01 Chong Yidong <cyd@gnu.org>
885
886 * startup.el (fancy-startup-tail): Improve the message about
887 auto-save files (Bug#2176).
888
889 * files.el (recover-session): Improve the descriptive message, and
890 use substitute-command-keys.
891
892 2012-12-01 Glenn Morris <rgm@gnu.org>
893
894 * ido.el (ido-file-internal):
895 Handle other-window, other-frame for dired. (Bug#13036)
896
897 2012-11-30 Glenn Morris <rgm@gnu.org>
898
899 * icomplete.el (icomplete-separator): Fix :version.
900
901 2012-11-30 Chong Yidong <cyd@gnu.org>
902
903 * shell.el (shell): For C-u M-x shell, use an inactive shell
904 buffer as the default (Bug#1975).
905 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
906 (shell-mode): Use them to reapply ansi colorization if Shell mode
907 is re-enabled.
908
909 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
910
911 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
912
913 2012-11-30 Samuel Bronson <naesten@gmail.com>
914
915 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
916 flag to xargs, for compatibility with BSD xargs (Bug#11703).
917
918 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
919
920 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
921 by move-to-column (Bug#3234).
922
923 2012-11-30 Chong Yidong <cyd@gnu.org>
924
925 * longlines.el (longlines-wrap-line, longlines-encode-region):
926 Preserve text properties (Bug#1425).
927
928 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
929
930 * vc/vc.el (vc-register): Allow registering a file which is
931 already registered with a different backend (Bug#10589).
932
933 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
934 Stefan Monnier <monnier@iro.umontreal.ca>
935
936 * icomplete.el: Change separator; add ido-style commands.
937 (icomplete-show-key-bindings): Remove custom var.
938 (icomplete-get-keys): Remove function.
939 (icomplete-forward-completions, icomplete-backward-completions):
940 New commands.
941 (icomplete-minibuffer-map): New var.
942 (icomplete-minibuffer-setup): Use it.
943 (icomplete-exhibit): Don't delay if the list of completions is known.
944 (icomplete-separator): New custom.
945 (icomplete-completions): Use it.
946 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
947 (minibuffer-force-complete-and-exit): New command.
948 (minibuffer--complete-and-exit): New function extracted from
949 minibuffer-complete-and-exit.
950 (minibuffer-complete-and-exit): Use it.
951
952 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
953 error message when the file doesn't exist (bug#12974).
954
955 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
956
957 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
958
959 2012-11-29 Glenn Morris <rgm@gnu.org>
960
961 * files.el (hack-dir-local-variables): Warn if try to set
962 coding via dir-locals, since it doesn't work. (Bug#7169)
963
964 Add desktop support for restoring vc-dir buffers. (Bug#10606)
965 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
966 Set buffer-local value of desktop-save-buffer.
967 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
968 New functions.
969 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
970 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
971
972 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
973 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
974 Doc fix.
975 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
976 Doc fixes.
977
978 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
979
980 * calc/calc-forms.el (calc-date-notation): Fix regexp
981 used to find time codes. Fix symbol for seconds.
982
983 2012-11-27 Glenn Morris <rgm@gnu.org>
984
985 * emacs-lisp/derived.el (derived-mode-make-docstring):
986 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
987
988 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
989
990 * textmodes/table.el (table-insert): Don't use `symbol-name' on
991 lexically scoped variables (bug#13005).
992
993 2012-11-27 Glenn Morris <rgm@gnu.org>
994
995 * vc/vc-hooks.el (vc-mistrust-permissions):
996 Default to t, to avoid data-loss. (Bug#11490)
997
998 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
999
1000 * progmodes/python.el (python-indent-guess-indent-offset):
1001 If indentation is guessed make python-indent-offset buffer-local.
1002
1003 Fix Imenu regression.
1004 * progmodes/python.el (python-nav-beginning-of-defun):
1005 Fix forward movement when statement(s) separates point from defun.
1006 (python-imenu-prev-index-position): New function.
1007
1008 2012-11-27 Eli Zaretskii <eliz@gnu.org>
1009
1010 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
1011
1012 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
1013 Don't set buffer-file-type. Return nil. (Bug#12989)
1014
1015 2012-11-27 Glenn Morris <rgm@gnu.org>
1016
1017 * hippie-exp.el (hippie-expand-try-functions-list):
1018 Re-autoload it. (Bug#12982)
1019
1020 2012-11-27 Eli Zaretskii <eliz@gnu.org>
1021
1022 * descr-text.el (describe-char-padded-string):
1023 Call internal-char-font only on GUI frames. (Bug#11964)
1024
1025 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
1026
1027 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
1028 and obsoletion message.
1029
1030 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1031
1032 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
1033 the constructs to keep outside of the `cl-block' (bug#12977).
1034
1035 2012-11-27 Chong Yidong <cyd@gnu.org>
1036
1037 * mouse.el (mouse-drag-line): Even if the line is not draggable,
1038 keep reading until we get the up-event anyway, in order to process
1039 the up-event for mouse-1-click-follows-link (Bug#12971).
1040
1041 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
1042
1043 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
1044 base function is not yet defined (bug#12965).
1045 (ad-activate-advised-definition): Use ad-compile-function.
1046 (ad-activate): Use cond.
1047
1048 2012-11-25 Leo Liu <sdl.web@gmail.com>
1049
1050 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
1051 (Bug#12979)
1052
1053 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
1054
1055 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
1056 reftex-section-info-function in order to be compatible with
1057 Texinfo integration.
1058
1059 * textmodes/reftex.el (reftex-section-pre-regexp)
1060 (reftex-section-post-regexp, reftex-section-info-function):
1061 New variable.
1062 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
1063 reftex-section-post-regexp, and reftex-section-info-function in order
1064 to be compatible with Texinfo integration.
1065
1066 * textmodes/reftex-toc.el (reftex-toc-promote-action):
1067 use reftex-section-pre-regexp variable in order to be compatible with
1068 Texinfo integration.
1069
1070 2012-11-25 Chong Yidong <cyd@gnu.org>
1071
1072 * faces.el: Make face-spec-set more analogous to setq.
1073 (face-spec-set): Change the third arg to specify whether this
1074 function is being called via defface, customize, or a third party.
1075 Set the appropriate symbol properties. Clear the override spec if
1076 setting via Custom. Initialize face if necessary. (Bug#4988)
1077 (face-spec-recalc): Allow theme faces to completely replace the
1078 defface spec, in the same way as custom faces (Bug#8454).
1079
1080 * cus-face.el (custom-declare-face): Move face initialization to
1081 face-spec-set.
1082 (custom-theme-set-faces): Don't initialize the face name here, as
1083 that is now done in face-spec-set.
1084
1085 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
1086 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
1087 Simplify by using the new arg to face-spec-set.
1088
1089 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
1090 reset face-override-spec too, and use custom-declare-face.
1091
1092 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
1093
1094 * term/ns-win.el (ns-initialize-window-system): Move creation of
1095 fontsets here (Bug#11964).
1096
1097 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
1098
1099 * ses.el (ses-rename-cell): Correct bug on mode-line update after
1100 cell renaming.
1101
1102 2012-11-24 Chong Yidong <cyd@gnu.org>
1103
1104 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
1105 obsolete.
1106
1107 * custom.el (custom-theme-set-variables): Use a topological sort
1108 for ordering by custom dependencies (Bug#12952).
1109 (custom--sort-vars, custom--sort-vars-1): New functions.
1110
1111 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
1112
1113 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
1114 lexical-binding (bug#12938).
1115
1116 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
1117
1118 * image-mode.el (image-transform-check-size): Use assertions only
1119 for images of type imagemagick.
1120
1121 Otherwise no error, image-transform-fit-to-{width,height} is
1122 silently ignored, as before. Doc fix.
1123
1124 2012-11-24 Chong Yidong <cyd@gnu.org>
1125
1126 * faces.el (color-defined-p): Doc fix (Bug#12853).
1127
1128 2012-11-24 Juri Linkov <juri@jurta.org>
1129
1130 * dired.el (dired-mark): Add optional arg `interactive'.
1131 Check for `use-region-p' if `interactive' is non-nil.
1132 (dired-unmark, dired-flag-file-deletion): Add optional arg
1133 `interactive'. Call `dired-mark' with the arg `interactive'.
1134 (Bug#10624)
1135
1136 * wdired.el: Revert 2012-10-17 change partly and replace it with
1137 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
1138 (wdired-finish-edit): Add marks for new file names to
1139 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
1140 after `revert-buffer'.
1141 (wdired-do-renames): Remove calls to `dired-remove-file',
1142 `dired-add-file', `dired-add-entry'. (Bug#11795)
1143
1144 2012-11-24 Alan Mackenzie <acm@muc.de>
1145
1146 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
1147
1148 Fix bugs in the state cache. Enhance a debugging mechanism.
1149 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
1150 "brace at column zero" strategy for C++.
1151 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
1152 (c-parse-state-point): New variable.
1153 (c-record-parse-state-state): Record old parse state with
1154 `copy-tree'. Record previous value of point.
1155 (c-debug-parse-state-double-cons): New debugging function.
1156 (c-debug-parse-state): Call the above new function.
1157 (c-toggle-parse-state-debug): Output a confirmatory message.
1158
1159 * progmodes/cc-mode.el (c-before-change, c-after-change):
1160 Call c-invalidate-state-cache from `c-before-change' instead of
1161 `c-after-change'.
1162
1163 2012-11-23 Chong Yidong <cyd@gnu.org>
1164
1165 * find-cmd.el (find-constituents): Add executable, ipath,
1166 readable, samefile, writable, daystart, regextype (Bug#12856).
1167
1168 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
1169
1170 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
1171
1172 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
1173
1174 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
1175 definition. This fixes a bootstrap failure.
1176 (calc-gregorian-switch): In menu, put dates before regions.
1177 This is easier to follow, lines up better in the menu, and lets us
1178 coalesce regions that switch at the same time. Give country
1179 names, not "Vatican", as that's better for non-expert users.
1180 Use names that are stable between the date of switch and now, e.g.,
1181 Bohemia and Moravia (which existed then and now) and not
1182 Czechoslovakia (which didn't exist then and doesn't exist now).
1183 What is now the U.S. mostly did not switch at the same time as
1184 Britain, so omit the U.S. Correct spelling of "Britain".
1185 Catholic Switzerland was too much of a mess, so omit it.
1186
1187 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
1188
1189 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
1190 after the variable is changed.
1191
1192 2012-11-21 Daniel Colascione <dancol@dancol.org>
1193
1194 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
1195 in SQL declarations for font-lock.
1196 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
1197
1198 2012-11-21 Glenn Morris <rgm@gnu.org>
1199
1200 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
1201 (face-italic-p): Add optional argument "inherit".
1202
1203 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
1204 Remove -p suffix from names, for consistency with other set-face-*.
1205 (set-face-inverse-video): Fix interactive spec.
1206 * play/gamegrid.el (gamegrid-make-mono-tty-face):
1207 * textmodes/table.el (table--update-cell-face):
1208 Use set-face-inverse-video rather than now obsolete alias.
1209
1210 2012-11-21 Eli Zaretskii <eliz@gnu.org>
1211
1212 * simple.el (line-move): Don't call line-move-partial if
1213 scroll-conservatively is in effect. (Bug#12927)
1214
1215 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1216
1217 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
1218 Fallback on completion-at-point rather than
1219 pcomplete-expand-and-complete, and only if pcomplete actually failed.
1220 (eshell-cmpl-initialize): Setup completion-at-point.
1221
1222 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
1223
1224 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
1225
1226 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
1227
1228 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
1229 are remote, check out-of-band property for both.
1230
1231 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1232
1233 * window.el (switch-to-buffer): Re-add the warning that was lost in the
1234 code rewrite.
1235
1236 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
1237
1238 More minor time fixes.
1239 * calendar/time-date.el: Commentary fix.
1240 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
1241 too much other code depends on (0 0) time stamps.
1242 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
1243 Add a couple of FIXME comments.
1244
1245 Minor cleanup for times as lists of four integers.
1246 * files.el (dir-locals-directory-cache):
1247 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
1248 Doc fixes.
1249 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
1250 * ps-bdf.el (bdf-file-newer-than-time):
1251 Process four-integers time stamps, not two. Doc fixes.
1252
1253 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
1254
1255 * uniquify.el (uniquify-managed): Use defvar-local.
1256 (rename-buffer, create-file-buffer): Advise with advice-add.
1257 (uniquify-unload-function): Unadvise accordingly.
1258
1259 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
1260 (trace-buffer): Don't purecopy.
1261 (trace-entry-message, trace-exit-message): Add `context' arg.
1262 (trace--timer): New var.
1263 (trace-make-advice): Adjust for use in nadvice.
1264 Add `context' argument. Delay `display-buffer' via a timer.
1265 (trace-function-internal): Use advice-add.
1266 (trace--read-args): New function.
1267 (trace-function-foreground, trace-function-background): Use it.
1268 (trace-function): Rename to trace-function-foreground and redefine as
1269 an alias to that new name.
1270 (untrace-function, untrace-all): Adjust to the use of nadvice.
1271
1272 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
1273
1274 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
1275
1276 * subr.el (called-interactively-p-functions): New var.
1277 (internal--called-interactively-p--get-frame): New macro.
1278 (called-interactively-p, interactive-p): Rewrite in Lisp.
1279 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
1280 (called-interactively-p-functions): Use it.
1281 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
1282 (called-interactively-p-functions): Use it.
1283 * allout.el (allout-called-interactively-p): Don't assume
1284 called-interactively-p is a subr.
1285
1286 2012-11-20 Glenn Morris <rgm@gnu.org>
1287
1288 * profiler.el (profiler-report-mode-map): Add a menu.
1289 No need to bind `q' because we derive from special-mode.
1290 (profiler-report-find-entry): Handle calls from the menu-bar.
1291
1292 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
1293
1294 * emacs-lisp/byte-run.el (defun-declarations-alist):
1295 Allow a compiler-macro to be a lambda expression.
1296
1297 * progmodes/python.el: Use cl-lib. Move var declarations outside of
1298 eval-when-compile.
1299 (python-syntax-context): Add compiler-macro.
1300 (python-font-lock-keywords): Simplify with De Morgan.
1301
1302 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
1303
1304 * files.el (load-file): Require match in minibuffer selection, as was
1305 the case in Emacs-20 before we changed the spec to allow .elc files
1306 (bug#12935).
1307
1308 * json.el: Don't require cl since we don't use it.
1309 * color.el: Don't require cl.
1310 (color-complement): `caddr' -> `nth 2'.
1311
1312 * calendar/time-date.el (time-to-seconds): De-obsolete.
1313
1314 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
1315
1316 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
1317 year numbers.
1318 (math-date-to-julian-dt): Adjust the initial approximation for the
1319 year to deal with the new definition of the DATE.
1320
1321 2012-11-19 Daniel Colascione <dancol@dancol.org>
1322
1323 * term/w32-win.el (cygwin-convert-path-from-windows):
1324 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
1325
1326 2012-11-18 Chong Yidong <cyd@gnu.org>
1327
1328 * filecache.el (file-cache--read-list): New function.
1329 (file-cache-add-directory-list, file-cache-add-file-list)
1330 (file-cache-delete-file-list, file-cache-delete-directory-list):
1331 Use it to read a list of files or directories (Bug#12846).
1332 (file-cache-add-file, file-cache-add-directory)
1333 (file-cache-delete-file-list, file-cache-delete-file-regexp)
1334 (file-cache-delete-directory): Print an message.
1335
1336 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
1337
1338 * calc/calc-forms.el (math-date-to-dt): Use integer date when
1339 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
1340
1341 2012-11-18 Glenn Morris <rgm@gnu.org>
1342
1343 * image.el (insert-image, insert-sliced-image): Doc fix.
1344
1345 2012-11-18 Chong Yidong <cyd@gnu.org>
1346
1347 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
1348 (Bug#12810).
1349
1350 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
1351
1352 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
1353 response when the target file is in a subdirectory (Bug#12757).
1354
1355 2012-11-18 Chong Yidong <cyd@gnu.org>
1356
1357 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
1358
1359 2012-11-18 Glenn Morris <rgm@gnu.org>
1360
1361 * emacs-lisp/cl-lib.el (face-underline-p):
1362 Use set-face-underline rather than the alias set-face-underline-p.
1363
1364 * window.el (with-temp-buffer-window): Doc fix.
1365 * subr.el (with-output-to-temp-buffer):
1366 Add doc xref to with-temp-buffer-window.
1367
1368 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
1369
1370 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
1371 * calc/calc.el (math-format-date-cache): Declare.
1372
1373 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
1374
1375 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
1376 It also uses January 1, 1 AD as its day number 1.
1377 * calc/calc-forms.el (math-julian-date-beginning)
1378 (math-julian-date-beginning-int): Implement this.
1379
1380 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
1381
1382 * descr-text.el (quail-find-key):
1383 * dired.el (desktop-file-name):
1384 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
1385 * generic-x.el (comint-mode, comint-exec):
1386 * image-dired.el (widget-forward):
1387 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
1388 (speedbar-change-expand-button-char)
1389 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
1390 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
1391 * printing.el (easy-menu-add-item, easy-menu-remove-item)
1392 (widget-field-action, widget-value-set):
1393 * speedbar.el (imenu--make-index-alist):
1394 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
1395 (ring-length, ring-insert):
1396 * vcursor.el (compare-windows-skip-whitespace):
1397 * woman.el (dired-get-filename):
1398 Declare functions.
1399
1400 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
1401
1402 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1403
1404 * calc/calc.el (calc-gregorian-switch): New variable.
1405
1406 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
1407 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
1408 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
1409 (math-leap-year-p): Add option to distinguish between Julian
1410 and Gregorian calendars.
1411 (math-day-number): Use `math-day-in-year' to do the computations.
1412 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
1413 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
1414 to do the computations.
1415 (math-date-to-dt): Use `math-date-to-julian-dt' and
1416 `math-date-to-gregorian-dt' to do the computations.
1417 (calcFunc-weekday, math-format-date-part): Use the new version of
1418 the DATE to determine the weekday.
1419 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
1420 when necessary.
1421
1422 2012-11-17 Eli Zaretskii <eliz@gnu.org>
1423
1424 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
1425 Cygwin; otherwise use 'file:'. (Bug#12914)
1426 (cygwin-convert-path-from-windows): Declare, to avoid
1427 byte-compiler warnings.
1428
1429 2012-11-17 Andreas Politz <politza@fh-trier.de>
1430
1431 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
1432 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
1433 prefix and negative numeric prefix args (Bug#12795).
1434
1435 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
1436
1437 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
1438 Don't signal an error with a score that is too low to add to the
1439 list of top scores. (Bug#12779)
1440
1441 2012-11-17 Chong Yidong <cyd@gnu.org>
1442
1443 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
1444
1445 * filecache.el (file-cache-add-file): Handle relative file name in
1446 the argument (Bug#12694).
1447
1448 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
1449
1450 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
1451
1452 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
1453
1454 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
1455
1456 * emacs-lisp/cl-lib.el: Set more meaningful version number.
1457
1458 2012-11-16 Martin Rudalics <rudalics@gmx.at>
1459
1460 * window.el (enlarge-window, shrink-window): Don't mention return
1461 value in doc-string (Bug#12896).
1462 (window--display-buffer): Don't resize frames - it won't work
1463 with all window managers and defeat pop-up-frame-alist.
1464 (display-buffer-alist): In doc-string explain that CONDITION can
1465 be a function and which arguments are passed to it (Bug#12854).
1466 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
1467 expressions (Bug#12854).
1468 (display-buffer): Pass ACTION argument to
1469 display-buffer-assq-regexp.
1470
1471 2012-11-16 Glenn Morris <rgm@gnu.org>
1472
1473 * window.el (fit-frame-to-buffer-bottom-margin)
1474 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
1475
1476 * faces.el (face-underline-p): Use face-attribute-specified-or.
1477
1478 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
1479
1480 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
1481
1482 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
1483
1484 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
1485
1486 2012-11-16 Glenn Morris <rgm@gnu.org>
1487
1488 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
1489 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
1490
1491 * faces.el (face-underline-p): Doc fix. Handle :underline being
1492 things other than `t' (a string, a list).
1493 (face-inverse-video-p): Doc fix.
1494 (set-face-underline): Rename it back from set-face-underline-p.
1495 Doc fix. Allow interactive input of values other than t.
1496 (read-face-attribute): Apply formatting to :underline,
1497 since like :box and :stipple it can take list values.
1498
1499 * term.el (ansi-term): Don't let C-x escape-char binding
1500 clobber the more standard C-c binding. (Bug#12842)
1501
1502 * subr.el (set-temporary-overlay-map): Doc fix.
1503
1504 2012-11-16 Martin Rudalics <rudalics@gmx.at>
1505
1506 * window.el (record-window-buffer)
1507 (display-buffer-record-window): When copying the markers to
1508 window-point preserve window-point-insertion-type. (Bug#12588)
1509
1510 2012-11-16 Glenn Morris <rgm@gnu.org>
1511
1512 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
1513 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
1514 Use new names for hooks rather than obsolete aliases.
1515
1516 2012-11-15 Daniel Colascione <dancol@dancol.org>
1517
1518 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
1519 prefix instead of "file:" so that when FILE-NAME begins with "//",
1520 as it does when the target file is on a network share, url-handler
1521 isn't confused.
1522
1523 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1524
1525 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
1526 a preactivated advice from an old advice.el; they're not compatible!
1527
1528 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
1529
1530 * emacs-lisp/nadvice.el (advice--make-interactive-form):
1531 Fix string-spec case.
1532
1533 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
1534
1535 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1536
1537 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
1538 (advice--buffer-local-function-sample): New var.
1539 (advice--set-buffer-local, advice--buffer-local): New functions.
1540 (add-function, remove-function): Use them.
1541
1542 2012-11-15 Drew Adams <drew.adams@oracle.com>
1543
1544 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
1545
1546 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1547
1548 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
1549 potential binding of print-gensym to t, and prettify (back)quotes in
1550 case they appear in args's default values (bug#12884).
1551
1552 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1553
1554 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
1555 (advice-eval-interactive-spec): New function.
1556 (advice--make-interactive-form): Support around advice (bug#12844).
1557
1558 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
1559
1560 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
1561 more strict. Add docstring.
1562 (ruby-expression-expansion-re): Extract from
1563 `ruby-match-expression-expansion'.
1564 (ruby-syntax-propertize-function): After everything else, search
1565 for expansions in string literals, mark their insides as
1566 whitespace syntax and save match data for font-lock.
1567 (ruby-font-lock-keywords): Use the 2nd group from expression
1568 expansion matches.
1569 (ruby-match-expression-expansion): Use the match data saved to the
1570 text property in ruby-syntax-propertize-function.
1571
1572 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1573
1574 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
1575 (bug#12879).
1576
1577 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
1578
1579 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
1580 start/end keyword a bit harder. Works with different values of N.
1581 Add more comments.
1582 (ruby-end-of-block): Update accordingly.
1583
1584 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
1585
1586 * woman.el (woman-file-name): Don't mess with unread-command-events
1587 (bug#12861).
1588
1589 * emacs-lisp/advice.el: Layer on top of nadvice.el.
1590 Remove out of date self-require hack.
1591 (ad-do-advised-functions): Use simple `dolist'.
1592 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
1593 (ad-advice-definition): Redefine as functions.
1594 (ad-advice-classes): Move before first use.
1595 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
1596 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
1597 (ad--defalias-fset): Remove functions.
1598 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
1599 (ad-get-orig-definition): Rewrite.
1600 (ad-make-advised-definition-docstring): Change base docstring.
1601 (ad-real-orig-definition): Rewrite.
1602 (ad-map-arglists): Change name of called function.
1603 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
1604 (ad-make-advised-definition): Simplify.
1605 (ad-assemble-advised-definition): Tweak for new calling context.
1606 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
1607 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
1608 function and call ad-activate if needed.
1609 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
1610 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
1611 (ad-compile-function): Compile ad-Advice-*.
1612 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
1613 (ad-start-advice, ad-stop-advice): Remove.
1614
1615 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
1616
1617 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
1618 period before class method names, not after. Remove handling of
1619 one impossible case. Add comments.
1620
1621 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
1622
1623 * emacs-lisp/advice.el: Remove support for freezing.
1624 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
1625 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
1626 Remove support for `freeze'.
1627
1628 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
1629 override the default.
1630 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
1631 cl--dotimes/dolist.
1632 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
1633 `cl' is loaded.
1634
1635 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
1636 from add-advice.
1637 (advice--strip-macro): New function.
1638 (advice--defalias-fset): Use them to handle macros.
1639 (advice-add): Use them.
1640 (advice-member-p): Correctly handle macros.
1641
1642 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
1643
1644 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1645 Never font-lock the beginning of singleton class as heredoc.
1646
1647 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
1648
1649 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
1650
1651 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
1652
1653 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
1654 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
1655 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
1656
1657 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
1658
1659 Fix end-of-defun misbehavior.
1660 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
1661 python-beginning-of-defun-function. Handle nested defuns
1662 correctly.
1663 (python-nav-end-of-defun): Rename from
1664 python-end-of-defun-function. Ensure forward movement.
1665 (python-info-current-defun): Reimplement to work as intended
1666 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
1667 parent defuns as soon as possible.
1668
1669 2012-11-13 Glenn Morris <rgm@gnu.org>
1670
1671 * progmodes/flymake.el (flymake-error-bitmap)
1672 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
1673 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
1674
1675 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
1676
1677 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
1678 backward, always stop at indentation. Reverts the change from
1679 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
1680
1681 2012-11-13 Glenn Morris <rgm@gnu.org>
1682
1683 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
1684 Add ibuffer-filter-by-derived-mode.
1685
1686 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
1687 the same name shadowing each other.
1688
1689 * window.el (with-temp-buffer-window): Doc tweak.
1690
1691 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
1692
1693 * help.el (temp-buffer-max-height):
1694 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
1695 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
1696
1697 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
1698
1699 * emacs-lisp/nadvice.el: New package.
1700 * subr.el (special-form-p): New function.
1701 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
1702 (elp-all-instrumented-list): Remove var.
1703 (elp-not-profilable): Remove elp-wrapper.
1704 (elp-profilable-p): Use autoloadp and special-form-p.
1705 (elp--advice-name): New const.
1706 (elp-instrument-function): Use advice-add.
1707 (elp--instrumented-p): New predicate.
1708 (elp-restore-function): Use advice-remove.
1709 (elp-restore-all, elp-reset-all): Use mapatoms.
1710 (elp-set-master): Use elp--instrumented-p.
1711 (elp--make-wrapper): Rename from elp-wrapper, return a function
1712 suitable for advice-add. Use cl-inf.
1713 (elp-results): Use mapatoms+elp--instrumented-p.
1714 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
1715 (debug-function-list): Remove var.
1716 (debug): Rename arg, and then let-bind it explicitly inside.
1717 (debugger-setup-buffer): Rename arg.
1718 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
1719 (debugger-frame-number): Adjust to new debug-on-entry setup.
1720 (debug--implement-debug-on-entry): Rename from
1721 implement-debug-on-entry, add argument.
1722 (debugger-special-form-p): Remove, use special-form-p instead.
1723 (debug-on-entry): Use advice-add.
1724 (debug--function-list): New function.
1725 (cancel-debug-on-entry): Use it, along with advice-remove.
1726 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
1727 (debugger-list-functions): Use debug--function-list instead of
1728 debug-function-list.
1729 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
1730 (ad-special-form-p): Remove, use special-form-p instead.
1731 (ad-set-advice-info): Use add-function and remove-function.
1732 (ad--defalias-fset): Adjust accordingly.
1733
1734 2012-11-10 Glenn Morris <rgm@gnu.org>
1735
1736 * mail/emacsbug.el (report-emacs-bug-tracker-url)
1737 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
1738 (report-emacs-bug-create-existing-bugs-buffer)
1739 (report-emacs-bug-parse-query-results)
1740 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
1741
1742 * term.el (term-default-fg-color, term-default-bg-color):
1743 Make obsolete, rather than just saying "deprecated" in the doc.
1744
1745 * term.el (term): Rename from `term-face'.
1746 (term-current-face, ansi-term-color-vector)
1747 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
1748 Update all users.
1749
1750 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
1751
1752 * server.el (server-create-window-system-frame): Handle Nextstep
1753 specially (Bug#12780).
1754
1755 2012-11-10 Glenn Morris <rgm@gnu.org>
1756
1757 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
1758 Unautoload, and make obsolete. (Bug#7449)
1759
1760 2012-11-10 Chong Yidong <cyd@gnu.org>
1761
1762 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
1763 rename from diff-remove-trailing-whitespace (Bug#12831).
1764
1765 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
1766
1767 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
1768 miscompilation of trace.el.
1769
1770 2012-11-10 Glenn Morris <rgm@gnu.org>
1771
1772 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
1773
1774 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
1775
1776 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
1777 (bug#12812).
1778
1779 2012-11-10 Chong Yidong <cyd@gnu.org>
1780
1781 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
1782 a defcustom with an appropriate :set function.
1783 (minibuffer-default--in-prompt-regexps): New function.
1784
1785 2012-11-10 Glenn Morris <rgm@gnu.org>
1786
1787 * emacs-lisp/cl.el (define-setf-expander, defsetf)
1788 (define-modify-macro): Doc fixes.
1789
1790 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
1791 (gv-define-simple-setter): Update doc of `fix-return'.
1792
1793 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
1794
1795 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
1796 twice when `fix-return' is set (bug#12813).
1797
1798 * emacs-lisp/cl.el (defsetf): Pass the third arg to
1799 gv-define-simple-setter (bug#12812).
1800
1801 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
1802 (bug#12756).
1803
1804 2012-11-10 Glenn Morris <rgm@gnu.org>
1805
1806 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
1807
1808 * emacs-lisp/cl-extra.el (cl-prettyexpand):
1809 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
1810 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
1811 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
1812
1813 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
1814
1815 2012-11-10 Leo Liu <sdl.web@gmail.com>
1816
1817 * ido.el (ido-set-matches-1): Improve flex matching performance by
1818 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
1819
1820 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1821
1822 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
1823 (ad--defalias-fset): New function.
1824 (ad-safe-fset): Remove.
1825 (ad-make-freeze-definition): Use cl-letf*.
1826
1827 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1828
1829 * subr.el (dolist): Don't bind VAR in RESULT.
1830
1831 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
1832 (fset, documentation): Don't save real def since we don't advise.
1833 (ad-do-advised-functions): Remove problematic `result-form'.
1834 (ad-safe-fset): `ad-real-fset' => `fset'.
1835 (ad-read-advised-function): Don't assume that ad-do-advised-functions
1836 uses CL's dolist internally.
1837 (ad-arglist): Remove unused arg `name'.
1838 (ad-docstring, ad-make-advised-docstring):
1839 `ad-real-documentation' => `documentation'.
1840 (warning-suppress-types): Declare.
1841 (ad-set-arguments): Simple CSE.
1842 (ad-recover-normality): Sanity check.
1843
1844 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
1845 (funcall '(lambda ..) ..) into ((lambda ..) ..).
1846
1847 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
1848
1849 * ses.el: symbol to coordinate mapping is made by symbol property
1850 `ses-cell'. This means that the same mapping is done for all SES
1851 sheets. That is good enough for cells with standard A1 names, but
1852 not for named cell. So a hash map is added for the latter.
1853 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
1854 (ses-sym-rowcol): Use hashmap for named cell.
1855 (ses-is-cell-sym-p): New defun.
1856 (ses-decode-cell-symbol): New defun.
1857 (ses-create-cell-variable): Add cell to hashmap when name is not
1858 A1-like.
1859 (ses-rename-cell): Check that cell new name is not already in
1860 spreadsheet with the use of ses-is-cell-sym-p
1861 (ses-rename-cell): Use hash map for named cells, but accept also
1862 renaming back to A1-like.
1863
1864 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1865
1866 * emacs-lisp/advice.el: Use new dynamic docstrings.
1867 (ad-make-advised-definition-docstring, ad-advised-definition-p):
1868 Use dynamic-docstring-function instead of ad-advice-info.
1869 (ad--make-advised-docstring): New function extracted from
1870 ad-make-advised-docstring.
1871 (ad-make-advised-docstring): Use it.
1872 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
1873 from sql-help.
1874 (sql-help): Use it with dynamic-docstring-function.
1875
1876 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
1877
1878 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1879
1880 * files.el (hack-one-local-variable--obsolete): New function.
1881 (hack-one-local-variable): Use it for obsolete settings.
1882
1883 * subr.el (locate-user-emacs-file): If both old and new name exist, use
1884 the new name.
1885
1886 * progmodes/js.el (js--filling-paragraph): New var.
1887 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
1888 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
1889 less sneaky.
1890
1891 2012-11-08 Julien Danjou <julien@danjou.info>
1892
1893 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
1894 `auto-mode-alist' (Bug#12835).
1895
1896 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1897
1898 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
1899 (perl--prettify-symbols-alist): New const.
1900 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
1901 New functions.
1902 (perl-font-lock-keywords-2): Use them.
1903 (perl-electric-noindent-p): New function.
1904 (perl-mode): Use it to set up electric-indent-mode.
1905 (perl-electric-terminator, perl-indent-command): Mark obsolete.
1906 (perl-mode-map): Remove bindings for them.
1907 (perl-imenu-generic-expression, perl-outline-level):
1908 Match functions&packages in column>0.
1909
1910 * env.el (env--substitute-vars-regexp): New const.
1911 (substitute-env-vars): Use it. Add `only-defined' arg.
1912 * net/tramp.el (tramp-replace-environment-variables): Use it.
1913
1914 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
1915 Byte-compile *before* eval in eval-and-compile.
1916 (byte-compile-log-warning): Remove redundant inhibit-read-only.
1917 (byte-compile-file-form-autoload): Don't hide actual definition.
1918 (byte-compile-maybe-guarded): Accept `functionp' as well.
1919
1920 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
1921
1922 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
1923
1924 * notifications.el (notifications-get-server-information-method):
1925 New defconst.
1926 (notifications-get-capabilities): Fix docstring.
1927 (notifications-get-server-information): New defun.
1928
1929 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1930
1931 * textmodes/ispell.el (ispell-region): Standard re-indent for better
1932 readability.
1933
1934 * textmodes/ispell.el: Experimental support for support debugging.
1935 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
1936 buffer for ispell.
1937 (ispell-print-if-debug): New function to print stuff to
1938 `ispell-debug-buffer' if debugging is enabled.
1939 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
1940 show some debugging info.
1941 (ispell-buffer-with-debug): New function that creates a debugging
1942 buffer and calls `ispell-buffer' with debugging enabled.
1943
1944 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
1945 comment in autoconf mode. (Bug#12768)
1946
1947 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
1948
1949 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
1950 frame-first-window, frame-root-window, frame-selected-window,
1951 minibuffer-selected-window, minibuffer-window,
1952 window-absolute-pixel-edges, window-at, window-body-height,
1953 window-body-width, window-display-table, window-combination-limit,
1954 window-frame, window-fringes, window-inside-absolute-pixel-edges,
1955 window-inside-edges, window-inside-pixel-edges, window-left-child,
1956 window-left-column, window-margins, window-next-buffers,
1957 window-next-sibling, window-new-normal, window-new-total,
1958 window-normal-size, window-parameter, window-parameters, window-parent,
1959 window-pixel-edges, window-point, window-prev-buffers,
1960 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
1961 window-start, window-text-height, window-top-child, window-top-line,
1962 window-total-height, window-total-width and window-use-time to the list
1963 of functions without side-effects.
1964 (toplevel): Add window-valid-p to the list of error-free functions
1965 without side-effects.
1966
1967 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1968
1969 * textmodes/ispell.el (ispell-program-name):
1970 Update spellchecker parameters when customized.
1971
1972 2012-11-04 Glenn Morris <rgm@gnu.org>
1973
1974 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
1975
1976 2012-11-04 Chong Yidong <cyd@gnu.org>
1977
1978 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
1979 same-window-* variables.
1980
1981 2012-11-04 Juri Linkov <juri@jurta.org>
1982
1983 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
1984 (isearch-describe-key, isearch-describe-mode): Use a display
1985 action instead of binding same-window-* variables (Bug#10040).
1986
1987 2012-11-03 Glenn Morris <rgm@gnu.org>
1988
1989 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
1990 Rename handler properties back from cl-- to cl-. (Bug#12788)
1991
1992 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
1993
1994 2012-11-03 Eli Zaretskii <eliz@gnu.org>
1995
1996 * term/pc-win.el: Don't load term/internal from here.
1997
1998 * loadup.el: Load term/internal from here.
1999
2000 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
2001
2002 * progmodes/python.el (inferior-python-mode): Fix hang in
2003 jit-lock (Bug#12645).
2004
2005 2012-11-03 Martin Rudalics <rudalics@gmx.at>
2006
2007 * window.el (switch-to-visible-buffer)
2008 (switch-to-buffer-preserve-window-point): Fix doc-strings.
2009
2010 2012-11-03 Glenn Morris <rgm@gnu.org>
2011
2012 * emacs-lisp/cl-lib.el (cl--random-time):
2013 Rename from cl-random-time. (Bug#12773)
2014 (cl--gensym-counter, cl--random-state): Update callers.
2015 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
2016
2017 2012-11-03 Chong Yidong <cyd@gnu.org>
2018
2019 * cus-start.el: Make cursor-type customizable (Bug#11633).
2020
2021 2012-11-02 Glenn Morris <rgm@gnu.org>
2022
2023 * filecache.el: No need to load find-lisp when compiling.
2024 (find-lisp-find-files): Autoload it.
2025 (file-cache-add-directory-recursively): Don't require find-lisp.
2026
2027 * image.el (image-type-from-file-name): Trivial simplification.
2028
2029 * emacs-lisp/bytecomp.el (byte-compile-eval):
2030 Decouple "noruntime" and "cl-functions" warnings.
2031
2032 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
2033
2034 * play/gomoku.el (gomoku-display-statistics): Update mode line
2035 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
2036
2037 2012-10-31 Martin Rudalics <rudalics@gmx.at>
2038
2039 * window.el (quit-restore-window): If the window has been
2040 created on an existing frame and ended up as the sole window on
2041 that frame, do not delete it (Bug#12764).
2042
2043 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
2044
2045 * progmodes/sh-script.el (sh--inside-noncommand-expression):
2046 Rename from sh--inside-arithmetic-expression, handle more cases
2047 (bug#11263).
2048
2049 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
2050 (sh-font-lock-open-heredoc): Use it (bug#12770).
2051
2052 2012-10-30 Glenn Morris <rgm@gnu.org>
2053
2054 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
2055
2056 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
2057
2058 2012-10-29 Chong Yidong <cyd@gnu.org>
2059
2060 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
2061 function key is stored in a keyboard macro (Bug#4894).
2062
2063 * thingatpt.el (number-at-point): Apply a thing-at-point property.
2064
2065 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2066
2067 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
2068 header comments".
2069 (diff-unified->context, diff-context->unified)
2070 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
2071
2072 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
2073
2074 * files.el (find-alternate-file): Only ask one question (bug#12487).
2075
2076 2012-10-29 Chong Yidong <cyd@gnu.org>
2077
2078 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
2079 Suggested by Dan Nicolaescu (Bug#6326).
2080
2081 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
2082
2083 * startup.el (fancy-about-screen): Don't message (Bug#12680).
2084
2085 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
2086
2087 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
2088
2089 * face-remap.el (face-remap-add-relative): Handle the case where a
2090 face-remapping-alist entry is a cons cell (Bug#12762).
2091
2092 2012-10-29 Kevin Ryde <user42@zip.com.au>
2093
2094 * woman.el (woman-parse-numeric-value): Handle picas correctly
2095 (Bug#12639).
2096
2097 2012-10-29 Glenn Morris <rgm@gnu.org>
2098
2099 * emacs-lisp/cl.el (defsetf): Doc fix.
2100
2101 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2102
2103 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
2104 syntax to the matching opener, if any (bug#12547).
2105 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
2106 matching open as a "case-(".
2107 (sh-smie-rc-grammar): Add a corresponding rule for it.
2108
2109 2012-10-28 Daniel Hackney <dan@haxney.org>
2110
2111 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
2112 "PKGNAME-autoloads.el" in case we created it.
2113
2114 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2115
2116 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
2117 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
2118 (completion--twq-all): Disable too-strict assertions.
2119
2120 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
2121
2122 2012-10-27 Eli Zaretskii <eliz@gnu.org>
2123
2124 * profiler.el (profiler-report-make-entry-part): Fix help-echo
2125 text to match the real keybindings.
2126
2127 2012-10-27 Juri Linkov <juri@jurta.org>
2128
2129 * wdired.el (wdired-keep-marker-rename): New defcustom.
2130 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
2131 (Bug#11795)
2132
2133 * dired.el (dired-keep-marker-rename): Add reference to
2134 `wdired-keep-marker-rename' in the docstring.
2135 Add default character value ?R to display initially in
2136 Customization UI instead of ?@.
2137
2138 2012-10-27 Martin Rudalics <rudalics@gmx.at>
2139
2140 * window.el (display-buffer): In doc-string describe
2141 window-height and window-width alist entries.
2142
2143 * time.el (display-time-world): Restore fit-window-to-buffer
2144 behavior.
2145
2146 2012-10-27 Chong Yidong <cyd@gnu.org>
2147
2148 * subr.el (insert-buffer-substring-as-yank): Doc fix.
2149
2150 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
2151
2152 * minibuffer.el (completion-category-overrides): New completion
2153 category `bookmark' (bug#11131).
2154
2155 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
2156
2157 * emacs-lisp/advice.el (ad-assemble-advised-definition):
2158 Silence bogus compiler warnings for ad-do-it.
2159
2160 * bookmark.el (bookmark-completing-read): Set the completion category
2161 to `bookmark' (bug#11131).
2162
2163 2012-10-26 Bastien <bzg@altern.org>
2164 Stefan Monnier <monnier@iro.umontreal.ca>
2165
2166 * face-remap.el: Use lexical-binding.
2167 (text-scale-adjust): Improve docstring. Use itself for the temporary
2168 overlay-map bindings, so as to repeat the "Use..." message each time.
2169
2170 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
2171
2172 * emacs-lisp/macroexp.el (macroexp--expand-all):
2173 Obey byte-compile-warning-enabled-p (bug#12486).
2174
2175 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
2176 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
2177
2178 2012-10-26 Martin Rudalics <rudalics@gmx.at>
2179
2180 * mouse.el (mouse-drag-line): Move last form into preceding when
2181 clause (Bug#12731).
2182
2183 * help.el (resize-temp-buffer-window): Fix doc-string.
2184
2185 2012-10-25 David Engster <deng@randomsample.de>
2186
2187 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
2188 Remove. This feature is already integrated in imenu.
2189
2190 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
2191 always loaded. Require `speedbar' unconditionally.
2192
2193 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2194
2195 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
2196
2197 * minibuffer.el (minibuffer-force-complete): Fix thinko.
2198
2199 * net/ldap.el (ldap-search-internal): The official ldif format starts
2200 with a "version: 1" header (bug#12724).
2201
2202 * emacs-lisp/package.el (package-installed-p): Warn if not ready
2203 (bug#12721).
2204
2205 2012-10-25 Glenn Morris <rgm@gnu.org>
2206
2207 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
2208
2209 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2210
2211 * minibuffer.el (minibuffer-force-complete): Use one more marker
2212 for the temporary-overlay-map command (bug#12619).
2213
2214 2012-10-24 Chong Yidong <cyd@gnu.org>
2215
2216 * time.el (display-time-world-mode): Derive from special-mode.
2217 (display-time-world): Use display-buffer (Bug#12708).
2218 (display-time-world-mode-map): Variable deleted.
2219 (display-time-world-display): Wrap the final delete-char inside
2220 inhibit-read-only.
2221
2222 2012-10-24 Chong Yidong <cyd@gnu.org>
2223
2224 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
2225 Doc fix.
2226
2227 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
2228
2229 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2230
2231 * minibuffer.el (completion--all-sorted-completions-location): New var.
2232 (completion--cache-all-sorted-completions)
2233 (completion--flush-all-sorted-completions): Use it.
2234 (completion-in-region, completion-in-region--postch)
2235 (completion-at-point, completion-help-at-point): Use markers in
2236 completion-in-region--data (bug#12619).
2237
2238 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2239
2240 * progmodes/compile.el (compilation-start): Try to handle common
2241 quoting of `cd' argument (bug#12640).
2242
2243 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
2244 (bug#12671).
2245
2246 2012-10-23 Glenn Morris <rgm@gnu.org>
2247
2248 * progmodes/gud.el (gud-menu-map):
2249 Check gdb-active-process is bound. (Bug#12358)
2250
2251 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2252
2253 * repeat.el (repeat): Set real-this-command (bug#12232).
2254
2255 * htmlfontify.el (hfy-post-html-hook):
2256 * filesets.el (filesets-cache-fill-content-hook):
2257 * arc-mode.el (archive-extract-hook):
2258 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
2259 * net/rcirc.el (rcirc-sentinel-functions)
2260 (rcirc-receive-message-functions, rcirc-activity-functions)
2261 (rcirc-print-functions):
2262 * net/dbus.el (dbus-event-error-functions):
2263 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
2264 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
2265 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
2266 * term/sun.el (sun-raw-prefix-hooks):
2267 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
2268
2269 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
2270
2271 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2272 Set `tramp-chunksize' to 1. This improves the performance.
2273 (tramp-smb-wait-for-output): Add timeout to
2274 `tramp-accept-process-output' calls.
2275
2276 2012-10-23 Chong Yidong <cyd@gnu.org>
2277
2278 * faces.el (font-list-limit): Define as an obsolete variable.
2279
2280 * startup.el (command-line):
2281 * cus-start.el: Don't refer to font-list-limit.
2282
2283 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
2284
2285 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2286
2287 * subr.el (internal-temp-output-buffer-show): Rename from
2288 temp-output-buffer-show, since previously compiled files expect this name.
2289
2290 2012-10-23 Glenn Morris <rgm@gnu.org>
2291
2292 * image.el (image-type-from-file-name): If multiple types match,
2293 return the first one that is supported. (Bug#9045)
2294
2295 2012-10-22 Glenn Morris <rgm@gnu.org>
2296
2297 * image.el (imagemagick-enabled-types): Doc fix.
2298
2299 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
2300
2301 * progmodes/which-func.el (which-func-current): The hash-table may have
2302 an explicit nil (bug#12338).
2303
2304 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2305
2306 * electric.el (electric-pair-delete-selection-self-insert-function):
2307 Rename to electric-pair-will-use-region, return a boolean.
2308 (electric-pair-mode): Adjust accordingly. Don't require delsel.
2309
2310 * delsel.el (delete-selection-helper): Use a function instead of a hook.
2311 (delete-selection-pre-hook): Use use-region-p.
2312 (delete-selection-self-insert-function): Remove.
2313 (self-insert-command): Obey self-insert-uses-region-functions.
2314 (self-insert-iso): Revert to previous setting, since we don't actually
2315 know what that command does.
2316 (delete-selection-self-insert-hooks): Remove.
2317
2318 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
2319
2320 * delsel.el (delete-selection-helper): New function, extracted from
2321 delete-selection-pre-hook.
2322 (delete-selection-pre-hook): Use it.
2323 (delete-selection-self-insert-function): New function.
2324 (delete-selection-self-insert-hooks): New hook.
2325 (self-insert-command, self-insert-iso): Use it.
2326 * electric.el (electric-pair-syntax): New function, extracted from
2327 electric-pair-post-self-insert-function.
2328 (electric-pair-post-self-insert-function): Use it.
2329 (electric-pair-delete-selection-self-insert-function): New function.
2330 (electric-pair-mode): Require delsel and setup
2331 delete-selection-self-insert-hooks (bug#11520).
2332
2333 2012-10-20 Chong Yidong <cyd@gnu.org>
2334
2335 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
2336 no changes to show (Bug#12586).
2337
2338 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
2339 list explicitly (Bug#12571).
2340
2341 2012-10-20 Arne Jørgensen <arne@arnested.dk>
2342
2343 * progmodes/flymake.el (flymake-create-temp-inplace):
2344 Use file-truename.
2345
2346 2012-10-20 Eli Zaretskii <eliz@gnu.org>
2347
2348 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
2349
2350 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
2351
2352 * calc/calc-units.el (math-extract-units): Properly extract powers
2353 of units.
2354
2355 2012-10-20 Daniel Colascione <dancol@dancol.org>
2356
2357 * frame.el (make-frame): Set x-display-name as we used to in order
2358 to unbreak creating an X11 frame from an Emacs daemon started
2359 without a display.
2360
2361 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2362
2363 * minibuffer.el (minibuffer-force-complete): Make the next completion use
2364 the same completion-field (bug#12221).
2365
2366 2012-10-19 Martin Rudalics <rudalics@gmx.at>
2367
2368 * emacs-lisp/debug.el (debug): Record height of debugger window
2369 also when debugger will be back (Bug#8789).
2370
2371 2012-10-18 Chong Yidong <cyd@gnu.org>
2372
2373 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
2374 Convert to defcustom.
2375 (gdb-get-source-file): Don't bind pop-up-windows.
2376
2377 * progmodes/gud.el (gud-display-line): Don't specially re-use
2378 other frames for the gdb-mi case (Bug#12648).
2379
2380 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
2381
2382 * emacs-lisp/advice.el: Clean up commentary a bit.
2383 (ad-do-advised-functions, ad-with-originals): Use `declare'.
2384 (byte-code-function-p): Never redefine.
2385
2386 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
2387
2388 2012-10-18 Glenn Morris <rgm@gnu.org>
2389
2390 * dired.el (dired-sort-toggle): Some ls implementations only allow
2391 a single option string. (Bug#12666)
2392
2393 * minibuffer.el (completion-cycle-threshold): Doc fix.
2394
2395 2012-10-17 Kenichi Handa <handa@gnu.org>
2396
2397 * international/mule.el (set-keyboard-coding-system):
2398 Recover input meta mode when the new coding system doesn not use 8-bit.
2399 Supply TERMINAL arg to set-input-meta-mode.
2400
2401 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
2402
2403 * wdired.el (wdired-old-marks): New variable.
2404 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
2405 (wdired-do-renames): Move point with renamed file and don't lose
2406 mark status (Bug#11795).
2407
2408 2012-10-16 Juri Linkov <juri@jurta.org>
2409
2410 * replace.el (query-replace-help): Mention multi-buffer replacement
2411 keys in the Help message. (Bug#12655)
2412
2413 2012-10-15 Chong Yidong <cyd@gnu.org>
2414
2415 * emacs-lisp/byte-run.el (defsubst): Doc fix.
2416
2417 2012-10-14 Eli Zaretskii <eliz@gnu.org>
2418
2419 * window.el (display-buffer): Doc fix.
2420
2421 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2422 Adjust the msft regexp to the output of Studio 2010, and move msft
2423 before edg-1. See the discussion on emacs-devel,
2424 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
2425 for the details.
2426
2427 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
2428
2429 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
2430 (oset): Move uses of object-class-fast macro after its definition.
2431
2432 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
2433
2434 2012-10-13 Chong Yidong <cyd@gnu.org>
2435
2436 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
2437 enabled, re-enable it (Bug#11963).
2438
2439 2012-10-13 Martin Rudalics <rudalics@gmx.at>
2440
2441 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
2442 non-nil, restore window configuration (Bug#12623).
2443
2444 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2445
2446 * help-fns.el (describe-variable, describe-function-1):
2447 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
2448
2449 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
2450
2451 2012-10-12 Glenn Morris <rgm@gnu.org>
2452
2453 * mail/rmailsum.el (rmail-header-summary):
2454 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
2455
2456 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
2457
2458 * progmodes/python.el (python-mode-map):
2459 Replace subtitute-key-definition with proper command remapping.
2460 (python-nav--up-list): Fix behavior for blocks on the same level.
2461
2462 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2463
2464 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
2465
2466 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
2467 changes to the format of load-history.
2468
2469 * international/mule-cmds.el (read-char-by-name): Move let-binding of
2470 completion-ignore-case in case that var is buffer-local (bug#12615).
2471
2472 2012-10-11 Kenichi Handa <handa@gnu.org>
2473
2474 * international/eucjp-ms.el: Re-generated.
2475
2476 2012-10-10 Kenichi Handa <handa@gnu.org>
2477
2478 * select.el (xselect--encode-string): If a coding is specified for
2479 selection, and that is compatible with COMPOUND_TEXT, use it.
2480
2481 2012-10-10 Martin Rudalics <rudalics@gmx.at>
2482
2483 * window.el (switch-to-buffer-preserve-window-point): New option.
2484 (switch-to-buffer):
2485 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
2486
2487 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2488
2489 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
2490 Don't document nil as a useful value (bug#12583).
2491
2492 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
2493
2494 * net/tramp.el (tramp-debug-message):
2495 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
2496 (with-tramp-progress-reporter): Rename from
2497 `tramp-with-progress-reporter'.
2498 (with-tramp-file-property, with-tramp-connection-property):
2499 Move from tramp-cache.el, rename from `with-file-property' and
2500 `with-connection-property', respectively.
2501
2502 * net/tramp-cache.el: Remove `with-file-property' and
2503 `with-connection-property'.
2504
2505 * net/tramp.el:
2506 * net/tramp-gvfs.el:
2507 * net/tramp-sh.el:
2508 * net/tramp-smb.el: Adapt callees.
2509
2510 * net/trampver.el: Update release number.
2511
2512 2012-10-09 Glenn Morris <rgm@gnu.org>
2513
2514 * w32-fns.el (set-message-beep):
2515 * term/w32-win.el (set-message-beep): Update declarations.
2516
2517 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2518
2519 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
2520 (mode-line-widen, mode-line-input-method-map)
2521 (mode-line-coding-system-map, mode-line-remote)
2522 (mode-line-unbury-buffer, mode-line-bury-buffer)
2523 (mode-line-next-buffer, mode-line-previous-buffer):
2524 Replace save-selected-window+select-window => with-selected-window.
2525
2526 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
2527 * progmodes/cc-vars.el (bq-process): Remove, unused.
2528
2529 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
2530
2531 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
2532
2533 Implemented `backward-up-list'-like navigation.
2534 * progmodes/python.el (python-nav-up-list)
2535 (python-nav-backward-up-list): New functions.
2536 (python-mode-map): Define substitute key for backward-up-list to
2537 python-nav-backward-up-list.
2538
2539 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
2540
2541 * progmodes/python.el (python-fill-paragraph): Rename from
2542 python-fill-paragraph-function. Fixed fill-paragraph for
2543 decorators (Bug#12605).
2544
2545 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
2546
2547 * progmodes/python.el (python-shell-output-filter): Handle extra
2548 carriage return in OSX (Bug#12409).
2549
2550 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
2551
2552 Fix shell handling of unbalanced quotes and parens in output.
2553 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
2554 (python-syntax-propertize-function): Use it.
2555 (python-shell-output-syntax-table): New var.
2556 (inferior-python-mode): Prevent unbalanced parens/quotes from
2557 previous output mess with current input context.
2558
2559 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
2560
2561 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
2562 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
2563
2564 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
2565
2566 * ffap.el (ffap-replace-file-component): Support Tramp file name
2567 syntax, not only ange-ftp's one.
2568
2569 2012-10-08 Glenn Morris <rgm@gnu.org>
2570
2571 * cus-start.el (message-log-max): Set :version.
2572
2573 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
2574
2575 2012-10-08 Martin Rudalics <rudalics@gmx.at>
2576
2577 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
2578 the minibuffer window (Bug#10851).
2579
2580 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
2581
2582 Enhancements on forward-sexp movement.
2583 * progmodes/python.el (python-nav-beginning-of-statement)
2584 (python-nav-end-of-statement): Return point-marker.
2585 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
2586 (python-info-current-symbol)
2587 (python-info-statement-starts-block-p): Rename from
2588 python-info-beginning-of-block-p.
2589 (python-info-statement-ends-block-p): Rename from
2590 python-info-end-of-block-p.
2591 (python-info-beginning-of-statement-p)
2592 (python-info-end-of-statement-p)
2593 (python-info-beginning-of-block-p, python-info-end-of-block-p):
2594 New functions.
2595
2596 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2597
2598 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
2599 frame-selected-windows.
2600
2601 2012-10-08 Daniel Colascione <dancol@dancol.org>
2602
2603 * battery.el (battery-status-function): Check for
2604 w32-battery-status itself, not system-time windows-nt.
2605
2606 * frame.el: Require cl-lib.
2607 (display-format-alist): New variable mapping frame types to
2608 functions that initialize them.
2609 (window-system-for-display): New function: interprets
2610 display-format-alist.
2611 (make-frame-on-display): Remove existing display-selection logic
2612 and just forward to make-frame, which will now DTRT.
2613 (make-frame): Restructure to use window-system-for-display to
2614 figure out how to create a frame on a given display.
2615 (display-mouse-p): Look for frame-type w32, not a particular
2616 system-type.
2617
2618 * loadup.el: Load w32 lisp code when we have the w32 feature.
2619
2620 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
2621 system-type windows-nt.
2622
2623 * server.el (server-create-window-system-frame): Look for window
2624 type.
2625 (server-proces-filter): Only force a window system when windows-nt
2626 _and_ w32. Explain why.
2627
2628 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
2629 of window systems we configure for the mode.
2630
2631 * startup.el (command-line): Mark window system is initialized
2632 after we've done it.
2633
2634 * common-win.el (x-select-text): Look for w32, not windows-nt.
2635
2636 * ns-win.el: Require cl-lib. Add ourselves to
2637 display-format-alist.
2638 (ns-initialize-window-system): Assert we're not initialized twice.
2639
2640 * w32-win.el: Enable lexical binding; require cl-lib; add
2641 ourselves to display-format-alist.
2642 (w32-handle-dropped-file): Convert incoming dropped files from
2643 Windows paths to Cygwin ones before passing them on to the rest of
2644 Emacs.
2645 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
2646 (w32-initialize-window-system): Assert we're not initialized twice.
2647
2648 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
2649 (x-initialize-window-system): Assert we're not initialized twice.
2650
2651 * w32-common-fns.el: New File.
2652 (w32-version, w32-using-nt, w32-get-clipboard-data)
2653 (w32-set-clipboard-data, x-set-selection, x-get-selection)
2654 (w32-charset-info-alist, x-last-selected, text)
2655 (x-get-selection-value, x-selection-value): Move here.
2656
2657 * w32-fns.el: Require w32-common-fns.
2658 (w32-version, w32-using-nt, w32-get-clipboard-data)
2659 (w32-set-clipboard-data, x-set-selection, x-get-selection)
2660 (w32-charset-info-alist, x-last-selected, text)
2661 (x-get-selection-value, x-selection-value): Move to
2662 w32-common-fns.
2663
2664 * w32-vars.el:
2665 (w32-allow-system-shell, w32-system-shells): Define only in
2666 non-cygwin case.
2667
2668 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2669
2670 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
2671 (read-passwd): Remove a few more potential sources of leaks.
2672
2673 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
2674
2675 * progmodes/python.el (inferior-python-mode)
2676 (python-shell-make-comint): Fix initialization of local
2677 variables copied from parent buffer.
2678
2679 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
2680
2681 * term/ns-win.el (ns-read-file-name): Update declaration to match
2682 nsfns.m.
2683 (ns-respond-to-change-font): Change fontsize separatly so we are sure
2684 it is set when font is acted upon.
2685
2686 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
2687
2688 Enhancements to indentation.
2689 * progmodes/python.el (python-indent-context): Give priority to
2690 inside-string context. Make comments indentation markers.
2691 (python-indent-region): Do not mess with strings, unless it's the
2692 enclosing set of quotes.
2693
2694 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2695
2696 * window.el (internal--before-save-selected-window)
2697 (internal--after-save-selected-window): New functions extracted from
2698 save-selected-window. Make sure we return the `alist' we construct.
2699 (save-selected-window): Use them.
2700
2701 * textmodes/tex-mode.el (tex-recenter-output-buffer):
2702 Use with-selected-window.
2703
2704 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
2705 forms that define macros (bug#12593).
2706
2707 2012-10-07 Kenichi Handa <handa@gnu.org>
2708
2709 * international/mule-conf.el (compound-text-with-extensions):
2710 Add :mime-charset property as x-ctext.
2711
2712 2012-10-07 Stefan Merten <smerten@oekonux.de>
2713
2714 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
2715 (rst-indent-literal-normal, rst-indent-literal-minimized)
2716 (rst-indent-comment): Correct :version tag.
2717 (rst-official-cvs-rev): Correct version string.
2718
2719 2012-10-07 Glenn Morris <rgm@gnu.org>
2720
2721 * mail/rmailmm.el (rmail-mime-process-multipart):
2722 Do not confuse a multipart message with an epilogue
2723 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
2724
2725 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
2726
2727 Fix shell output retrieval and comint-prompt-regexp init.
2728 * progmodes/python.el (inferior-python-mode):
2729 (python-shell-make-comint): Fix initialization of
2730 comint-prompt-regexp from copied file local variables.
2731 (python-shell-fetched-lines): Remove var.
2732 (python-shell-output-filter-in-progress): Rename from
2733 python-shell-fetch-lines-in-progress.
2734 (python-shell-output-filter-buffer): Rename from
2735 python-shell-fetch-lines-string.
2736 (python-shell-fetch-lines-filter): Delete function.
2737 (python-shell-output-filter): New function.
2738 (python-shell-send-string-no-output): Use them.
2739
2740 2012-10-07 Glenn Morris <rgm@gnu.org>
2741
2742 * hi-lock.el (hi-lock-process-phrase):
2743 Try to make it less fragile. (Bug#7161)
2744
2745 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
2746
2747 2012-10-06 Glenn Morris <rgm@gnu.org>
2748
2749 * ehelp.el (electric-help-mode): Use help-mode rather than
2750 non-existent mode `help'.
2751 (electric-help-map): Use button-buffer-map. (Bug#10917)
2752
2753 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
2754 (reftex-create-bibtex-footer): Fix custom types.
2755
2756 * progmodes/sh-script.el (sh-indent-after-continuation):
2757 Add explicit :group.
2758
2759 * textmodes/rst.el (rst-preferred-decorations)
2760 (rst-shift-basic-offset): Clarify obsolescence versions.
2761
2762 * profiler.el (profiler): Add missing group :version tag.
2763 * avoid.el (mouse-avoidance-banish-position):
2764 * proced.el (proced-renice-command):
2765 * calc/calc.el (calc-ensure-consistent-units):
2766 * calendar/icalendar.el (icalendar-import-format-uid):
2767 * net/tramp.el (tramp-save-ad-hoc-proxies):
2768 * progmodes/bug-reference.el (bug-reference-bug-regexp):
2769 * progmodes/flymake.el (flymake-error-bitmap)
2770 (flymake-warning-bitmap, flymake-fringe-indicator-position):
2771 * progmodes/sh-script.el (sh-indent-after-continuation):
2772 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
2773 (verilog-before-save-font-hook, verilog-after-save-font-hook):
2774 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
2775 (vhdl-array-index-record-field-in-sensitivity-list)
2776 (vhdl-indent-comment-like-next-code-line):
2777 * textmodes/reftex-vars.el (reftex-ref-style-alist)
2778 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
2779 (reftex-cite-key-separator, reftex-create-bibtex-header)
2780 (reftex-create-bibtex-footer):
2781 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
2782 (rst-indent-literal-normal, rst-indent-literal-minimized)
2783 (rst-indent-comment): Add missing custom :version tags.
2784
2785 * calendar/timeclock.el (timeclock-modeline-display):
2786 Add missing obsolete alias for renamed user option.
2787
2788 * strokes.el (strokes-modeline-string):
2789 * emulation/crisp.el (crisp-mode-modeline-string):
2790 * eshell/esh-mode.el (eshell-status-in-modeline):
2791 Aliases to defcustoms must come before the defcustom.
2792
2793 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
2794 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
2795 (cal-tex-cursor-week-monday): Doc fixes.
2796 (cal-tex-cursor-week2-summary): Doc fix.
2797 Rename from cal-tex-cursor-week-at-a-glance.
2798
2799 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
2800 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
2801
2802 * calendar/calendar.el (calendar-mode-map):
2803 Add cal-tex-cursor-week2-summary.
2804
2805 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
2806
2807 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
2808
2809 * subr.el (read-passwd-map): New var.
2810 (read-passwd): Use `read-string' again.
2811 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
2812
2813 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
2814
2815 * register.el (append-to-register, prepend-to-register):
2816 Deactivate mark, as does `copy-to-register' (bug#12389).
2817
2818 2012-10-06 Chong Yidong <cyd@gnu.org>
2819
2820 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
2821
2822 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
2823
2824 * international/characters.el: Fix simple mistake ((car chars) ->
2825 elt), delete duplicated code.
2826
2827 2012-10-06 Glenn Morris <rgm@gnu.org>
2828
2829 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
2830
2831 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
2832
2833 * color.el (color-hsl-to-rgb): Fix incorrect results for
2834 small and large hue values. (Bug#12559)
2835
2836 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
2837
2838 Enhancements to docstring formatting when filling paragraphs.
2839 * progmodes/python.el (python-fill-docstring-style): Rename from
2840 python-fill-string-style. Added new style.
2841 (python-fill-string): Use new style. Better checks for
2842 docstrings.
2843
2844 2012-10-05 Glenn Morris <rgm@gnu.org>
2845
2846 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
2847
2848 * color.el (color-name-to-rgb, color-rgb-to-hex)
2849 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
2850 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
2851 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
2852 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
2853
2854 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
2855
2856 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
2857
2858 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
2859 to get the correct size across symlinks.
2860
2861 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
2862
2863 2012-10-04 Juri Linkov <juri@jurta.org>
2864
2865 * replace.el (query-replace-interactive): Declare obsolete.
2866 (query-replace-read-from): Add the last incremental search string
2867 to the list of default values accessible via M-n.
2868 (map-query-replace-regexp): Use `read-regexp'.
2869 (query-replace, query-replace-regexp, query-replace-regexp-eval)
2870 (map-query-replace-regexp, replace-string, replace-regexp):
2871 Fix docstrings to replace mentions of `query-replace-interactive'
2872 with alternatives. (Bug#12526)
2873
2874 2012-10-04 Juri Linkov <juri@jurta.org>
2875
2876 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
2877 (dired-pop-to-buffer): Declare obsolete.
2878 (dired-mark-pop-up): Doc fix.
2879
2880 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
2881
2882 Allow user to set docstring style for fill-paragraph.
2883 * progmodes/python.el
2884 (python-fill-comment-function, python-fill-string-function)
2885 (python-fill-decorator-function, python-fill-paren-function):
2886 Remove :safe for defcustoms.
2887 (python-fill-string-style): New defcustom
2888 (python-fill-paragraph-function): Enhance context detection.
2889 (python-fill-string): Honor python-fill-string-style settings.
2890
2891 2012-10-04 Martin Rudalics <rudalics@gmx.at>
2892
2893 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
2894 after setting its buffer (Bug#10805).
2895
2896 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
2897
2898 Fix cornercase for string syntax.
2899 * progmodes/python.el (python-syntax-propertize-function):
2900 Simplify and enhance the regexp for unescaped quotes. Now it also
2901 matches quotes in weird situations like the single quote in
2902 "something\"'".
2903 (python-syntax-stringify): Simplify num-quotes detecting code.
2904
2905 2012-10-03 Glenn Morris <rgm@gnu.org>
2906
2907 * help-macro.el (three-step-help):
2908 Revert 2012-09-29 change. (Bug#12567)
2909
2910 2012-10-03 Martin Rudalics <rudalics@gmx.at>
2911
2912 * menu-bar.el (kill-this-buffer): Don't do anything when
2913 `menu-frame' is not alive or visible (Bug#8184).
2914
2915 * emacs-lisp/debug.el (debug): When quitting the debugger window
2916 restore current buffer (Bug#12502).
2917
2918 2012-10-02 Chong Yidong <cyd@gnu.org>
2919
2920 * progmodes/hideif.el (hif-lookup, hif-defined):
2921 Handle semantic-c-takeover-hideif.
2922
2923 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
2924
2925 Change sampling interval units from ms to ns.
2926 * profiler.el (profiler-sampling-interval): Change units
2927 from ms to ns, multiplying the default by 1000000 so that
2928 it remains 1 ms.
2929 (profiler-report-cpu-line-format): Give enough room for
2930 the maximum counters on 64-bit hosts.
2931 (profiler-report-render-calltree-1): Call them "CPU samples",
2932 not "Time (ms)", since they are not milliseconds now (and
2933 never really were).
2934
2935 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
2936
2937 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
2938 Fix querying BBDB for entries without a last name (Bug#11580).
2939
2940 2012-10-02 Chong Yidong <cyd@gnu.org>
2941
2942 * emacs-lisp/eieio.el: Restore Version header.
2943
2944 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
2945
2946 * vc/diff-mode.el (diff--auto-refine-data): New var.
2947 (diff-hunk): Use it to delay refinement.
2948 (diff-mode): Remove overlays when we turn off font-lock.
2949
2950 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
2951 (table-initialize-table-fixed-width-mode)
2952 (table-set-table-fixed-width-mode): Remove functions.
2953 (table-command-list): Move initialization into declaration.
2954 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
2955 (table-with-cache-buffer): Use `declare'.
2956 (table-span-cell): Simplify via CSE.
2957 (table-fixed-width-mode): Use define-minor-mode.
2958 (table-call-interactively, table-funcall, table-apply): Remove.
2959 (table-function): New function, to replace them.
2960
2961 * bookmark.el (bookmark-search-pattern): Remove var.
2962 (bookmark-read-search-input): Remove function.
2963 (bookmark-bmenu-search): Reimplement using a minibuffer.
2964
2965 * faces.el (modeline): Remove obsolete face name.
2966
2967 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
2968 and give a non-nil default value.
2969 (add-change-log-entry): Simplify accordingly.
2970
2971 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
2972
2973 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
2974 (vc-git-log-edit-toggle-amend): New function.
2975 (vc-git-log-edit-toggle-signoff): New function.
2976 (vc-git-log-edit-mode): New major mode.
2977 (vc-git-log-edit-mode-map): Keymap for it.
2978 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
2979
2980 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
2981 header names.
2982 (log-edit-toggle-header): New function.
2983 (log-edit-extract-headers): Accept function values in HEADERS alist.
2984
2985 2012-10-01 David Engster <deng@randomsample.de>
2986
2987 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
2988 from symbol property and change message to be more consistent with
2989 Emacs proper.
2990 (eieio-describe-generic): Add filename for each implementation.
2991 Fix indices for generic and normal methods.
2992 (eieio-method-def, eieio-class-def): New buttons.
2993 (eieio-help-find-method-definition)
2994 (eieio-help-find-class-definition): New functions.
2995 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
2996 class, constructor and method definitions.
2997
2998 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
2999 information in symbol property.
3000 (scoped-class): Remove.
3001 (eieio-slot-name-index, call-next-method): Check if it is bound.
3002
3003 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
3004
3005 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
3006 (eieio-custom-mode): New major mode.
3007 (eieio-customize-object): Use it.
3008
3009 2012-10-01 Eric Ludlam <zappo@gnu.org>
3010
3011 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
3012 specifying the expected class, and whether subclassing is allowed.
3013 (eieio-persistent-convert-list-to-object):
3014 (eieio-persistent-validate/fix-slot-value)
3015 (eieio-persistent-slot-type-is-class-p): New functions.
3016 (eieio-named::slot-missing): Doc fix.
3017
3018 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
3019 Stop using unused publd variable.
3020
3021 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
3022 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
3023 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
3024 (eieio-speedbar-handle-click): Do not specify a class for the
3025 method. Fixes method invocation order problems with EDE.
3026
3027 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3028
3029 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
3030 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
3031
3032 2012-10-01 Karl Fogel <kfogel@red-bean.com>
3033
3034 * bookmark.el (bookmark-version-control): Give tags in the
3035 :type choices (Bug#12309), and improve doc string.
3036 (bookmark-write-file): Bind `print-circle' to `t' to allow
3037 circular custom bookmark types. (Bug#12503)
3038
3039 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
3040
3041 Revert the FOLLOW-SYMLINKS change for file-attributes.
3042 * files.el (remote-file-name-inhibit-cache, after-find-file):
3043 * time.el (display-time-file-nonempty-p): Undo last change.
3044
3045 * profiler.el (profiler-sampling-interval): Change default back to 1.
3046 See Stefan Monnier in
3047 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
3048
3049 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
3050
3051 Shell output catching a la gud-gdb.
3052 * progmodes/python.el (python-shell-fetch-lines-in-progress)
3053 (python-shell-fetch-lines-string, python-shell-fetched-lines):
3054 New Vars.
3055 (python-shell-fetch-lines-filter): New function.
3056 (python-shell-send-string-no-output): Use them.
3057
3058 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
3059
3060 * profiler.el (profiler-sampling-interval): Rename from
3061 profiler-sample-interval.
3062 (profiler-sampling-interval): Default to 10.
3063 (profiler-find-profile): New command (was profiler-find-log).
3064 (profiler-find-profile-other-window): New command.
3065 (profiler-find-profile-other-frame): New command.
3066 (profiler-profile): Introduce API-level data structure.
3067
3068 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
3069
3070 file-attributes has a new optional arg FOLLOW-SYMLINKS.
3071 * files.el (remote-file-name-inhibit-cache):
3072 * time.el (display-time-file-nonempty-p): Use it.
3073 * files.el (after-find-file): Don't chase links before calling
3074 file-exists-p, as file-exists-p already does the right thing.
3075
3076 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
3077
3078 Merge from standalone RefTeX repository.
3079
3080 The following ChangeLog entries are shortened versions of the
3081 original ones with file paths adapted. A not so strongly edited
3082 version of the original ChangeLog can be found in the commit log.
3083
3084 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
3085 (reftex-arg-cite): Use `reftex-cite-key-separator'.
3086 Correctly handle new value type returned by `reftex-citation'.
3087
3088 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
3089 that entries with whitespace at various places are found.
3090 Doc fix. Include entries that are cross-referenced from cited entries.
3091 Include @String definitions in the resulting bib file. Add header
3092 and footer defined in `reftex-create-bibtex-header' and
3093 `reftex-create-bibtex-footer'.
3094 (reftex-do-citation): Make it possible again to insert
3095 non-existent entries. Save match data when asking for optional
3096 arguments. Return all keys, not just the first one.
3097 (reftex-all-used-citation-keys): Fix regexp to correctly extract
3098 all citations in the same line.
3099 (reftex-parse-bibtex-entry): Accept additional optional argument
3100 `raw' and keep quotes or braces if it is non-nil. Match fields
3101 containing hyphens besides word constituents.
3102 (reftex-get-string-refs): New function.
3103 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
3104 and ask if it should be reread in case it did.
3105 (reftex-pop-to-bibtex-entry)
3106 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
3107 entries with spaces or tabs in front of arguments.
3108 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
3109 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
3110 Match entries containing numbers and symbol constituents.
3111 (reftex-do-citation, reftex-figure-out-cite-format):
3112 Use `reftex-cite-key-separator'.
3113
3114 * textmodes/reftex-dcr.el: Move provide statement to end of file.
3115 (reftex-mouse-view-crossref): Explain why point is set.
3116
3117 * textmodes/reftex-global.el: Whitespace changes.
3118
3119 * textmodes/reftex-index.el: Move provide statement to end of
3120 file.
3121 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
3122 (reftex-index-visit-phrases-buffer): Set marker when visiting
3123 buffer. This allows for returning from the phrases file to the
3124 file one was just editing instead of the file where the last
3125 phrases was added from.
3126 (reftex-index-phrases-syntax-table): New variable. Give ?\"
3127 punctuation syntax as it usually is not used as string quote in
3128 TeX-related modes and may occur unmatched. The change also
3129 prevents fontification of quoted content.
3130 (reftex-index-phrases-mode): Use it.
3131
3132 * textmodes/reftex-parse.el (reftex-parse-from-file):
3133 Move backward one char if a `\' was matched after a section macro.
3134 (reftex-parse-from-file): Use beginning of match instead of end as
3135 bound.
3136
3137 * textmodes/reftex-ref.el: Adapt creation of
3138 `reftex-<package>-<macro>' functions to new structure of
3139 `reftex-ref-style-alist'.
3140 (reftex-reference): Use `reftex-ref-style-list' function.
3141 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
3142 reference macro if `reftex-ref-macro-prompt' is non-nil.
3143 (reftex-reference): Pass refstyle to `reftex-format-special'.
3144 Determine reference macro by looking at
3145 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
3146 Use only one special format function.
3147 (reftex-varioref-vref, reftex-fancyref-fref)
3148 (reftex-fancyref-Fref): Remove definitions. The functions are now
3149 generated from `reftex-ref-style-alist'.
3150 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
3151 Remove.
3152 (reftex-format-special): New function.
3153
3154 * textmodes/reftex-sel.el
3155 (reftex-select-cycle-ref-style-internal): Adapt to new structure
3156 of `reftex-ref-style-alist'. Remove code for testing macro type.
3157 (reftex-select-toggle-varioref)
3158 (reftex-select-toggle-fancyref): Remove.
3159 (reftex-select-cycle-ref-style-internal)
3160 (reftex-select-cycle-ref-style-forward)
3161 (reftex-select-cycle-ref-style-backward): New functions.
3162 (reftex-select-label-map): Use `v' and `V' for general cycling
3163 through reference styles. Add `p' for switching between number
3164 and page reference types.
3165
3166 * textmodes/reftex-toc.el (reftex-re-enlarge):
3167 Call `enlarge-window' only if there is something to do because in Emacs
3168 the horizontal version throws an error even if the parameter is 0.
3169
3170 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
3171 (reftex-plug-into-AUCTeX): Doc fix.
3172 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
3173 string. Adapt to new name.
3174 (reftex-ref-style-alist): Change structure so that it is not
3175 possible to use multiple different package names within a style.
3176 Remove the symbols for symbols for macro type distinction.
3177 Add characters for macro selection.
3178 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
3179 (reftex-create-bibtex-footer): New variables.
3180 (reftex-format-ref-function): Mention third argument of special
3181 format function.
3182 (reftex-ref-style-alist, reftex-ref-style-default-list):
3183 New variables.
3184 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
3185 to new implementation. Mark as obsolete. Add compatibility code
3186 for honoring the variable values in case they are set.
3187 (reftex-cite-format-builtin, reftex-bibliography-commands):
3188 Add support for ConTeXt.
3189 (reftex-format-ref-function, reftex-format-cite-function):
3190 Fix custom type.
3191 (reftex-cite-key-separator): New variable.
3192
3193 * textmodes/reftex.el (reftex-syntax-table-for-bib)
3194 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
3195 `reftex-syntax-table' because parens have to retain their paren
3196 syntax in order for parsing of BibTeX entries like @book(...) to
3197 work.
3198 (reftex-in-comment): Do not error out if `comment-start-skip' is
3199 not set. Deal correctly with escaped comment characters.
3200 (reftex-tie-multifile-symbols): Add doc string.
3201 Initialize `reftex-ref-style-list'.
3202 (reftex-untie-multifile-symbols): Add doc string.
3203 (reftex-add-index-macros): Doc fix.
3204 (reftex-ref-style-activate, reftex-ref-style-toggle)
3205 (reftex-ref-style-list): New functions.
3206 (reftex-mode-menu): Use them. Adapt to new structure of
3207 `reftex-ref-style-alist'.
3208 (reftex-select-with-char): Kill the RefTeX Select buffer when
3209 done.
3210 (reftex-remove-if): New function.
3211 (reftex-erase-all-selection-and-index-buffers)
3212 (reftex-mode-menu): Reference styles are now computed from
3213 `reftex-ref-style-alist'. Fix typo.
3214 (reftex-report-bug): New function.
3215 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
3216 algorithms with O(n log n). Introduce optional argument SORT (not
3217 yet used).
3218
3219 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
3220
3221 Enhancements for triple-quote string syntax.
3222 * progmodes/python.el (python-syntax-propertize-function):
3223 Match both quote cases in one regexp.
3224 (python-syntax-stringify): Handle matches properly.
3225
3226 2012-09-30 Juri Linkov <juri@jurta.org>
3227
3228 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
3229 to nil around the call to `insert' to prevent
3230 directory time modification by lock_file. (Bug#2295)
3231 * tar-mode.el (tar-summarize-buffer): Idem.
3232
3233 2012-09-30 Juri Linkov <juri@jurta.org>
3234
3235 * facemenu.el (list-colors-sort): Add option "Luminance".
3236 (list-colors-sort-key): Implement it.
3237
3238 * vc/diff-mode.el (diff-refine-removed):
3239 * vc/ediff-init.el (ediff-fine-diff-A):
3240 * vc/smerge-mode.el (smerge-refined-removed):
3241 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
3242
3243 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
3244
3245 * term/ns-win.el (x-file-dialog): New function.
3246
3247 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
3248
3249 * ido.el (ido-max-directory-size): Default to nil; the current
3250 default is small for POSIX systems, and impractical on Windows 7
3251 now that lstat returns directory sizes for NTFS.
3252
3253 2012-09-30 Martin Rudalics <rudalics@gmx.at>
3254
3255 In buffer display functions handle window-height/window-width
3256 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
3257 * window.el (window--display-buffer): New argument ALIST.
3258 Obey window-height and window-width alist entries.
3259 (window--try-to-split-window): New argument ALIST.
3260 Bind window-combination-limit to t when the window's size shall be
3261 changed and window-combination-limit equals `window-size'.
3262 (display-buffer-in-atom-window)
3263 (display-buffer-in-major-side-window)
3264 (display-buffer-in-side-window, display-buffer-same-window)
3265 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3266 (display-buffer-pop-up-window, display-buffer-below-selected)
3267 (display-buffer-at-bottom, display-buffer-in-previous-window)
3268 (display-buffer-use-some-window): Adjust all callers of
3269 window--display-buffer and window--try-to-split-window.
3270 (fit-frame-to-buffer): New option.
3271 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
3272 is non-nil.
3273 (display-buffer-in-major-side-window): Evaluate window-height /
3274 window-width alist entries.
3275
3276 * help.el (temp-buffer-resize-frames)
3277 (temp-buffer-resize-regexps): Remove options.
3278 (temp-buffer-resize-mode): Adjust doc-string.
3279 (resize-temp-buffer-window): Don't consult
3280 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
3281 temp-buffer-resize-frames.
3282
3283 * dired.el (dired-mark-pop-up):
3284 Call display-buffer-below-selected with a fit-window-to-buffer alist
3285 entry.
3286
3287 2012-09-30 Chong Yidong <cyd@gnu.org>
3288
3289 * server.el (server-host): Document the security implications.
3290 (server-auth-key): Doc fix.
3291
3292 * startup.el (initial-buffer-choice): Doc fix.
3293
3294 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
3295
3296 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
3297 restriction change.
3298
3299 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
3300
3301 * help-fns.el (help-fns--obsolete): Fix last change.
3302
3303 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
3304
3305 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
3306 (minor-mode-map-alist): Remove redundant code.
3307
3308 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
3309 visited in a buffer.
3310 (cvs-insert-visited-file): New function.
3311 (find-file-hook): Use it.
3312
3313 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
3314
3315 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
3316 chose face.
3317 (log-edit-empty-buffer-p): Don't require a space after a header.
3318
3319 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
3320
3321 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
3322
3323 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
3324 a proper minor-mode.
3325
3326 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
3327
3328 2012-09-29 Glenn Morris <rgm@gnu.org>
3329
3330 * winner.el (winner-mode): Remove variable (let define-minor-mode
3331 handle it).
3332 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
3333 Doc fixes.
3334 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
3335 (winner-mode): Use define-minor-mode.
3336
3337 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
3338 the full definition in loaddefs, rather than duplicating it.
3339
3340 * help-macro.el (three-step-help): No need to autoload defcustom.
3341
3342 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
3343 (inferior-lisp-program, inferior-lisp-load-command)
3344 (inferior-lisp-prompt, inferior-lisp-mode-hook):
3345 No need to autoload defcustoms.
3346
3347 * hippie-exp.el (hippie-expand-try-functions-list)
3348 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
3349 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
3350 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
3351 (hippie-expand-only-buffers): No need to autoload defcustoms.
3352 * progmodes/vhdl-mode.el (vhdl-line-expand):
3353 Explicitly load hippie-exp, so it does not get autoloaded
3354 while hippie-expand-try-functions-list is let-bound.
3355
3356 2012-09-28 Glenn Morris <rgm@gnu.org>
3357
3358 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
3359
3360 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
3361 Only "cl.el" counts as cl these days.
3362
3363 2012-09-28 Juri Linkov <juri@jurta.org>
3364
3365 Display archive errors in the echo area instead of inserting
3366 to the file buffer.
3367
3368 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
3369 to STDERR-TEST that can be a regexp matching a successful output.
3370 Create a temporary file and redirect stderr to it. Search for
3371 STDERR-TEST in the stderr output and display it in the echo area
3372 if no match is found.
3373 (archive-extract-by-file): New function like
3374 `archive-extract-by-stdout' but extracting archives to files
3375 and looking for successful matches in stdout. Function body is
3376 mostly copied from `archive-rar-extract'.
3377 (archive-rar-extract): Use `archive-extract-by-file'.
3378 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
3379
3380 2012-09-28 Leo Liu <sdl.web@gmail.com>
3381
3382 * pcomplete.el (pcomplete-show-completions):
3383 Use minibuffer-message to make pcomplete usable in minibuffer.
3384
3385 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
3386
3387 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3388
3389 * type-break.el: Use lexical-binding.
3390 (type-break-mode): Use define-minor-mode.
3391
3392 * emacs-lisp/pcase.el (pcase--mark-used): New.
3393 (pcase--u1): Use it (bug#12512).
3394
3395 * custom.el (load-theme): Set buffer-file-name so the load is recorded
3396 in load-history with the right file name.
3397
3398 2012-09-28 Tassilo Horn <tsdh@gnu.org>
3399
3400 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
3401 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
3402 (doc-view-get-bounding-box): Make bounding box slicing work for
3403 ODF and DVI documents.
3404
3405 2012-09-28 Glenn Morris <rgm@gnu.org>
3406
3407 * type-break.el (type-break-mode, type-break-interval)
3408 (type-break-good-rest-interval, type-break-keystroke-threshold):
3409 No need to autoload.
3410 (type-break-good-rest-interval, type-break-keystroke-threshold):
3411 Add :set-after.
3412
3413 2012-09-28 Chong Yidong <cyd@gnu.org>
3414
3415 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
3416 Add :version tag.
3417
3418 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
3419
3420 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
3421
3422 2012-09-27 Glenn Morris <rgm@gnu.org>
3423
3424 * faces.el (x-display-name): Declare (for without-x builds).
3425
3426 * linum.el (linum-format): Don't autoload it. Improve :type.
3427
3428 * progmodes/tcl.el: Don't require outline when compiling.
3429 (outline-regexp, outline-level): Declare.
3430 * textmodes/sgml-mode.el: Don't require outline when compiling.
3431 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
3432
3433 * term.el (term-ansi-reset):
3434 Try setting term-ansi-face-already-done to nil. (Bug#11785)
3435
3436 * vc/vc.el (vc-next-action): Only gripe about committing read-only
3437 files for RCS and SCCS. (Bug#9781)
3438
3439 2012-09-27 Chong Yidong <cyd@gnu.org>
3440
3441 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
3442 change; value should be t.
3443
3444 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
3445
3446 * image-mode.el: Use lexical-binding.
3447 (image-mode-winprops): Use t to stand for the window of
3448 a buffer that's not displayed.
3449 * doc-view.el (doc-view-new-window-function): Handle the new
3450 t in winprops.
3451 (doc-view-enlarge): Make it a real nop if the size is not changed.
3452 (doc-view-display): Handle the case where the buffer is not (yet?)
3453 displayed in any window.
3454 (doc-view-saved-settings): New var.
3455 (doc-view-mode): Use it.
3456 (doc-view-fallback-mode): Set it.
3457
3458 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
3459 Set lexical-binding.
3460 (minibuffer-eldef-shorten-default): New var.
3461 (minibuffer-default-in-prompt-regexps): Use it for new default.
3462 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
3463
3464 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
3465
3466 * international/uni-bidi.el:
3467 * international/uni-category.el:
3468 * international/uni-name.el:
3469 * international/uni-numeric.el: Regenerate.
3470
3471 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
3472 Stefan Monnier <monnier@iro.umontreal.ca>
3473
3474 * profiler.el: New file.
3475
3476 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
3477
3478 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
3479 (testcover-reinstrument): Simplify with CSE.
3480
3481 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
3482
3483 * window.el (temp-buffer-window-setup): Fix typo in docstring.
3484
3485 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
3486
3487 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
3488 (verilog-auto-input, verilog-auto-insert-lisp)
3489 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
3490 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
3491 (verilog-auto-unused, verilog-auto-wire)
3492 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
3493 newline. Reported by Andrew Jones.
3494 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
3495 Reported by Brad Dobbie.
3496 (verilog-batch-delete-trailing-whitespace):
3497 Create verilog-batch-delete-trailing-whitespace.
3498 Reported by Brad Dobbie.
3499 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
3500 parameters from another module. Reported by Dan Katz.
3501 (verilog-auto, verilog-auto-assign-modport)
3502 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
3503 AUTOINOUTMODPORT for UVM interface module shell generation.
3504 Reported by Brad Dobbie.
3505 (verilog-auto-inst-interfaced-ports): Make default nil, as more
3506 standard behavior.
3507 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
3508 Reported by Matt Martin.
3509
3510 2012-09-25 Martin Rudalics <rudalics@gmx.at>
3511
3512 * window.el (window--resize-child-windows): When resizing child
3513 windows proportionally, process them in reverse order to
3514 preserve the "when splitting a window the new one gets the odd
3515 line" behavior.
3516 (window--resize-root-window-vertically): When resizing the
3517 minibuffer window try to affect only windows at the bottom of the
3518 frame. (Bug#12419)
3519
3520 2012-09-25 Chong Yidong <cyd@gnu.org>
3521
3522 * subr.el (declare): Doc fix.
3523
3524 * help-fns.el (help-fns--obsolete): Handle macros properly.
3525
3526 2012-09-25 Chong Yidong <cyd@gnu.org>
3527
3528 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
3529 this function obsolete.
3530
3531 * calendar/cal-x.el (calendar-two-frame-setup)
3532 (calendar-only-one-frame-setup, calendar-one-frame-setup):
3533 * calendar/calendar.el (american-calendar, european-calendar)
3534 (calendar-for-loop):
3535 * comint.el (comint-dynamic-simple-complete)
3536 (comint-dynamic-complete-as-filename, comint-unquote-filename):
3537 * desktop.el (desktop-load-default):
3538 * dired-x.el (dired-omit-here-always)
3539 (dired-hack-local-variables, dired-default-directory):
3540 * emacs-lisp/derived.el (derived-mode-class):
3541 * emacs-lisp/timer.el (timer-set-time-with-usecs):
3542 * emacs-lock.el (toggle-emacs-lock):
3543 * epa.el (epa-display-verify-result):
3544 * epg.el (epg-sign-keys, epg-start-sign-keys)
3545 (epg-passphrase-callback-function):
3546 * eshell/esh-util.el (eshell-for):
3547 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
3548 (eshell-add-to-window-buffer-names):
3549 * files.el (locate-file-completion):
3550 * imenu.el (imenu-example--create-c-index)
3551 (imenu-example--create-lisp-index)
3552 (imenu-example--lisp-extract-index-name)
3553 (imenu-example--name-and-position):
3554 * international/mule-cmds.el (princ-list):
3555 * international/mule-diag.el (decode-codepage-char):
3556 * international/mule-util.el (detect-coding-with-priority):
3557 * iswitchb.el (iswitchb-read-buffer):
3558 * mail/mailalias.el (mail-complete):
3559 * mail/sendmail.el (mail-sent-via):
3560 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
3561 (mouse-major-mode-menu):
3562 * password-cache.el (password-read-and-add):
3563 * pcomplete.el (pcomplete-parse-comint-arguments):
3564 * progmodes/sh-script.el (sh-maybe-here-document):
3565 * replace.el (query-replace-regexp-eval):
3566 * savehist.el (savehist-load):
3567 * simple.el (choose-completion-delete-max-match):
3568 * term.el (term-dynamic-simple-complete):
3569 * vc/ediff-init.el (ediff-check-version):
3570 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
3571 * vc/vc.el (vc-diff-switches-list):
3572 * view.el (view-return-to-alist-update): Likewise.
3573
3574 * subr.el (eval-next-after-load, makehash, insert-string)
3575 (assoc-ignore-representation, assoc-ignore-case): Use declare to
3576 mark obsolete.
3577 (mode-line-inverse-video): Variable deleted.
3578
3579 * international/mule-util.el (string-to-sequence): Remove.
3580
3581 * calendar/calendar.el (calendar-version):
3582 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
3583 (icalendar-convert-diary-to-ical):
3584 * cus-edit.el (custom-mode):
3585 * ansi-color.el (ansi-color-unfontify-region):
3586 * international/latin1-disp.el (latin1-char-displayable-p):
3587 * progmodes/cwarn.el (turn-on-cwarn-mode):
3588 * progmodes/which-func.el (which-func-update-1):
3589 Use define-obsolete-function-alias.
3590
3591 * net/newst-backend.el (newsticker-cache-filename):
3592 * net/newst-treeview.el (newsticker-groups-filename):
3593 Fix incorrect obsolescence declaration.
3594
3595 * allout.el (allout-passphrase-hint-string): Likewise.
3596 (allout-init): Use a declare form to mark obsolete.
3597
3598 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
3599 this applies to functions.
3600
3601 * iswitchb.el (iswitchb-read-buffer): Move code of
3602 iswitchb-define-mode-map here, and delete that obsolete function.
3603
3604 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
3605 font-lock-reference-face.
3606
3607 2012-09-25 Glenn Morris <rgm@gnu.org>
3608
3609 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
3610 Doc fixes.
3611
3612 * eshell/em-term.el (eshell-term-name):
3613 Default to term-term-name. (Bug#12485)
3614
3615 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
3616
3617 * progmodes/python.el (python-shell-send-buffer): Better handling
3618 of "if __name__ == '__main__':" conditionals when sending the buffer.
3619
3620 2012-09-24 Glenn Morris <rgm@gnu.org>
3621
3622 * eshell/esh-cmd.el (eshell-find-alias-function):
3623 Tighten up file-name regexp. (Bug#12499)
3624
3625 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
3626
3627 Enhancements for triple-quote string syntax.
3628 * progmodes/python.el (python-quote-syntax): Remove.
3629 (python-syntax-propertize-function): New value.
3630 (python-syntax-count-quotes, python-syntax-stringify):
3631 New functions.
3632
3633 2012-09-24 Chong Yidong <cyd@gnu.org>
3634
3635 * mail/supercite.el (sc-version): Remove obsolete function.
3636 (sc-describe): Don't mark as obsolete, since it is bound.
3637 (sc-submit-bug-report): Remove.
3638
3639 * vc/log-edit.el (cvs-changelog-full-paragraphs)
3640 (cvs-commit-buffer-require-final-newline): Remove.
3641 (log-edit-require-final-newline)
3642 (log-edit-changelog-full-paragraphs): Default to t.
3643
3644 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
3645 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
3646 * vc/vc.el (vc-checkout-carefully): Likewise.
3647
3648 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
3649 (emerge-version): Remove.
3650
3651 * progmodes/compile.el (compile-internal): Remove.
3652 (compilation-parse-errors-function): Fix typo.
3653
3654 * international/mule.el (set-char-table-default): Remove.
3655 (set-coding-priority, make-coding-system, generic-char-p)
3656 (charset-list, charset-bytes, charset-id): Use declare to mark
3657 functions as obsolete.
3658
3659 * vc/pcvs-defs.el (cvs-buffer-name-alist)
3660 (cvs-invert-ignore-marks): Remove references to obsolete vars.
3661 * vc/vc-hooks.el (vc-default-registered): Don't use
3662 vc-master-templates.
3663
3664 * font-lock.el (font-lock-reference-face):
3665 Use define-obsolete-variable-alias.
3666
3667 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
3668 * calendar/calendar.el (calendar-font-lock-keywords):
3669 * calendar/diary-lib.el (diary-font-lock-keywords)
3670 (diary-fancy-font-lock-keywords):
3671 * textmodes/reftex-sel.el (reftex-insert-docstruct):
3672 * textmodes/reftex-index.el (reftex-insert-index):
3673 * textmodes/reftex-cite.el (reftex-format-bib-entry):
3674 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3675 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
3676 * progmodes/prolog.el (prolog-font-lock-keywords):
3677 * progmodes/idlwave.el (idlwave-idl-keywords):
3678 * progmodes/ada-mode.el (ada-font-lock-keywords):
3679 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
3680
3681 2012-09-24 Glenn Morris <rgm@gnu.org>
3682
3683 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
3684
3685 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
3686
3687 * progmodes/python.el (python-indent-line): More consistent cursor
3688 movement behavior.
3689
3690 2012-09-23 Stefan Merten <smerten@oekonux.de>
3691
3692 * textmodes/rst.el: Fix compiler warning.
3693
3694 2012-09-23 Roland Winkler <winkler@gnu.org>
3695
3696 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
3697 Transcribe also LaTeX hyphenation.
3698 (bibtex-reformat): Bug fix. Do not quote twice the elements of
3699 bibtex-reformat-previous-options.
3700
3701 2012-09-23 Roland Winkler <winkler@gnu.org>
3702
3703 * proced.el (proced-renice-command): New variable.
3704 (proced-marked-processes): New function.
3705 (proced-with-processes-buffer): New macro.
3706 (proced-send-signal): Use them.
3707 (proced-renice): New command bound to r.
3708
3709 2012-09-23 Roland Winkler <winkler@gnu.org>
3710
3711 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
3712 ibuffer-saved-filter-groups has one element, shortcut the call of
3713 completing-read. (Bug#12331)
3714
3715 2012-09-23 Chong Yidong <cyd@gnu.org>
3716
3717 * bindings.el (mode-line-toggle-read-only):
3718 * bs.el (bs-toggle-readonly):
3719 * buff-menu.el (Buffer-menu-toggle-read-only):
3720 * dired.el (dired-toggle-read-only):
3721 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
3722
3723 2012-09-23 Chong Yidong <cyd@gnu.org>
3724
3725 * image.el (image-type-available-p): Adapt to init-image-library
3726 argument changes.
3727
3728 2012-09-22 Juri Linkov <juri@jurta.org>
3729
3730 * dired.el (dired-mode-map): Add [remap read-only-mode] for
3731 `dired-toggle-read-only'. (Bug#12462)
3732
3733 2012-09-22 Martin Rudalics <rudalics@gmx.at>
3734
3735 * subr.el (temp-output-buffer-show): New function.
3736 (with-output-to-temp-buffer): Call temp-output-buffer-show
3737 instead of internal-temp-output-buffer-show.
3738
3739 2012-09-22 Chong Yidong <cyd@gnu.org>
3740
3741 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
3742 (Bug#12462).
3743
3744 * repeat.el (repeat): Doc fix (Bug#12348).
3745
3746 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
3747 (Bug#10909).
3748
3749 * simple.el (shell-command-on-region): Doc fix.
3750 (read-only-mode): Doc fix.
3751
3752 2012-09-22 Eli Zaretskii <eliz@gnu.org>
3753
3754 * emacs-lisp/timer.el (run-with-idle-timer)
3755 (timer-activate-when-idle): Warn against reinvoking an idle timer
3756 from within its own timer action. (Bug#12447)
3757
3758 2012-09-22 Martin Rudalics <rudalics@gmx.at>
3759
3760 * cus-start.el (window-combination-limit): Add new optional
3761 values.
3762 * window.el (temp-buffer-window-show)
3763 (window--try-to-split-window): Handle new values of
3764 window-combination-limit (Bug#1806).
3765 (split-window): Test window-combination-limit for t instead of
3766 non-nil.
3767 (display-buffer-at-bottom): New buffer display action function.
3768 * help.el (temp-buffer-resize-regexps): New option.
3769 (temp-buffer-resize-mode): Rewrite doc-string.
3770 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
3771 Don't resize reused window. Suggested by Glenn Morris.
3772
3773 2012-09-22 Stefan Merten <smerten@oekonux.de>
3774
3775 * textmodes/rst.el: Revamp section title faces.
3776 (rst-official-version)
3777 (rst-package-emacs-version-alist): Sync with official version
3778 V1.4.0.
3779 (rst-faces-defaults, rst-set-level-default)
3780 (rst-level-face-max, rst-level-face-base-color)
3781 (rst-level-face-base-light, rst-level-face-format-light)
3782 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
3783 (rst-adornment-faces-alist): Match new setup.
3784 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
3785 (rst-level-5, rst-level-6): New faces.
3786
3787 2012-09-22 Chong Yidong <cyd@gnu.org>
3788
3789 * simple.el (undo): Handle indirect buffers (Bug#8207).
3790
3791 2012-09-21 Leo Liu <sdl.web@gmail.com>
3792
3793 IDO: Disable match re-ordering for buffer switching.
3794 * ido.el (ido-buffer-disable-smart-matches): New variable.
3795 (ido-set-matches-1): Use it. (Bug#2042)
3796
3797 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
3798
3799 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
3800 Fix 2011-05-17 change. (Bug#12418)
3801
3802 2012-09-21 Leo Liu <sdl.web@gmail.com>
3803
3804 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
3805
3806 2012-09-21 Glenn Morris <rgm@gnu.org>
3807
3808 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
3809 Be more robust about locating simple.el.
3810
3811 2012-09-21 Glenn Morris <rgm@gnu.org>
3812
3813 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
3814
3815 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
3816
3817 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
3818
3819 2012-09-20 Juri Linkov <juri@jurta.org>
3820
3821 * replace.el (query-replace-read-from): Use `read-regexp' instead
3822 of `read-from-minibuffer' when `regexp-flag' is non-nil.
3823 (occur-read-primary-args): Use `read-regexp' instead of
3824 `read-string'.
3825 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
3826 `read-from-minibuffer'.
3827 * isearch.el (isearch-occur): Use `read-regexp' instead of
3828 `read-string'.
3829 * dired.el (dired-read-regexp): Use `read-regexp' instead of
3830 `read-from-minibuffer'.
3831 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
3832 of `read-string'. (Bug#7567)
3833
3834 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
3835 and allow accepting a list of strings prepended to a list of
3836 standard default values. Doc fix. (Bug#12321)
3837
3838 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
3839
3840 * replace.el (read-regexp): Don't add ": " when PROMPT already
3841 ends with a colon and space. (Bug#12321)
3842
3843 2012-09-20 Tassilo Horn <tsdh@gnu.org>
3844
3845 * doc-view.el (doc-view-display): Better fix for the cl-assertion
3846 error.
3847
3848 2012-09-20 Stefan Merten <smerten@oekonux.de>
3849
3850 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
3851 Fixes feature request bug#11711.
3852 (rst-mode): Create `imenu-create-index-function'.
3853 (rst-get-stripped-line): Delete after refactoring.
3854 (rst-section-tree, rst-section-tree-rec)
3855 (rst-section-tree-point): Refactor and document properly.
3856 (rst-imenu-find-adornments-for-position)
3857 (rst-imenu-convert-cell, rst-imenu-create-index):
3858 New function.
3859
3860 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3861
3862 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
3863 (macroexp--expand-all): Use it.
3864 (macroexp--funcall-and-return): Remove by folding it into its sole
3865 caller (macroexp--warn-and-return).
3866 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
3867 Use macroexp--obsolete-warning.
3868
3869 * calc/calc.el: Fix last change by removing the whole chunk, since it
3870 was only needed back when Calc was not bundled.
3871
3872 2012-09-20 Martin Rudalics <rudalics@gmx.at>
3873
3874 * emacs-lisp/debug.el (debug): Restore assignment to
3875 debugger-old-buffer removed on 2012-09-08.
3876
3877 2012-09-20 Juri Linkov <juri@jurta.org>
3878
3879 * dired-aux.el (dired-diff): Remove (require 'diff) since
3880 `diff-latest-backup-file' is now autoloaded.
3881
3882 2012-09-20 Chong Yidong <cyd@gnu.org>
3883
3884 * vc/diff.el (diff-latest-backup-file): Autoload.
3885
3886 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3887
3888 * calc/calc.el: Remove redundant autoload shape check.
3889 (sel-mode): Don't defvar.
3890 (calc-get-stack-element): Add `sel-mode' arg instead.
3891 (calc-top, calc-top-list): Pass it this additional argument.
3892 * calc/calc-store.el (calc-store-map):
3893 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
3894 (calc-map-equation, calc-outer-product, calc-inner-product):
3895 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
3896
3897 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
3898
3899 2012-09-19 Juri Linkov <juri@jurta.org>
3900
3901 * dired-aux.el (dired-diff): Add (require 'diff) because
3902 `diff-latest-backup-file' is not autoloaded.
3903 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
3904 of `dired-get-filename' to t to not report error when there is
3905 no default file on the current line.
3906
3907 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3908
3909 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
3910 macroexp--eval-if-compile.
3911 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
3912 (macroexp--expand-all): Use them (bug#12371).
3913
3914 * doc-view.el (doc-view-guess-paper-size)
3915 (doc-view-scale-bounding-box): Fix unbound `caddr'.
3916
3917 2012-09-19 Tassilo Horn <tsdh@gnu.org>
3918
3919 New feature: set optimal slice from BoundingBox information.
3920 * doc-view.el (doc-view-mode-map): Add keybinding.
3921 (doc-view-menu): Add menu entry.
3922 (doc-view-set-slice): Adapt docstring.
3923 (doc-view-get-bounding-box, doc-view-guess-paper-size)
3924 (doc-view-scale-bounding-box)
3925 (doc-view-set-slice-from-bounding-box): New functions.
3926 (doc-view-paper-sizes): New defvar.
3927
3928 2012-09-19 Glenn Morris <rgm@gnu.org>
3929
3930 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
3931 (byte-compile-log-warning): Autoload. (Bug#12371)
3932
3933 * calendar/calendar.el (calendar-american-month-header)
3934 (calendar-european-month-header, calendar-iso-month-header)
3935 (calendar-month-header): New options.
3936 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
3937 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
3938
3939 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
3940
3941 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
3942
3943 2012-09-18 Juri Linkov <juri@jurta.org>
3944
3945 * dired-aux.el (dired-diff): Restore original functionality of
3946 getting the default value, but keep new feature of using the
3947 latest existing backup file (`diff-latest-backup-file').
3948
3949 2012-09-18 Juri Linkov <juri@jurta.org>
3950
3951 * dired.el (dired-mark): If the region is active in Transient Mark
3952 mode, mark all files in the active region. Doc fix.
3953 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
3954 Doc fix. (Bug#10624)
3955
3956 2012-09-18 Juri Linkov <juri@jurta.org>
3957
3958 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
3959 attributes for M-n are pulled from the file at point.
3960 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
3961 Suggested by Drew Adams. (Bug#10624)
3962
3963 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
3964
3965 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
3966 whitespace after "end".
3967 (ruby-do-end-to-brace): Collapse block to one line if it fits
3968 within fill-column.
3969
3970 2012-09-18 Martin Rudalics <rudalics@gmx.at>
3971
3972 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
3973 value.
3974 (debug): Don't remove debugger window when debugger is expected
3975 to be back.
3976
3977 2012-09-18 Chong Yidong <cyd@gnu.org>
3978
3979 * custom.el (defface): Doc fix.
3980
3981 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
3982
3983 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
3984
3985 * progmodes/compile.el (compilation-start): Use compilation-always-kill
3986 to initialize query-on-exit; then test that instead (bug#12288).
3987
3988 2012-09-17 Stefan Merten <smerten@oekonux.de>
3989
3990 * textmodes/rst.el: Add support for `testcover'.
3991 (rst-defcustom-testcover, rst-testcover-add-compose)
3992 (rst-testcover-add-1value): New functions.
3993 (rst-portable-mark-active-p): Replace by `use-region-p'.
3994 (rst-update-section, rst-classify-adornment)
3995 (rst-find-title-line): Mark `1value' forms.
3996 (rst-classify-adornment): Remove superfluous form.
3997 (rst-update-section, rst-get-adornments-around)
3998 (rst-adornment-complete-p, rst-get-next-adornment)
3999 (rst-adjust, rst-promote-region)
4000 (rst-display-adornments-hierarchy, rst-straighten-adornments)
4001 (rst-find-pfx-in-region, rst-section-tree-rec)
4002 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
4003 (rst-toc-node, rst-toc, rst-forward-section)
4004 (rst-iterate-leftmost-paragraphs)
4005 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
4006 (rst-bullet-list-region)
4007 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
4008 (rst-compile-find-conf, rst-compile)
4009 (rst-repeat-last-character): Fix style.
4010
4011 2012-09-17 Chong Yidong <cyd@gnu.org>
4012
4013 * comint.el (comint--complete-file-name-data): Don't add a space
4014 if the status is `sole'; that adds a gratuitous space in the
4015 completion-cycling case (Bug#12092).
4016
4017 * pcomplete.el (pcomplete-completions-at-point): Likewise.
4018
4019 2012-09-17 Richard Stallman <rms@gnu.org>
4020
4021 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
4022 only in the mime-shown mode, not in raw mode.
4023 (rmail-mime): Toggle off mime by displaying the message without
4024 mime processing. (Bug#12305)
4025
4026 * mail/rmail.el (rmail-retry-failure):
4027 Turn off mime processing first. (Bug#12037)
4028
4029 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
4030
4031 2012-09-17 Chong Yidong <cyd@gnu.org>
4032
4033 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
4034 (shell-dynamic-complete-functions): Convert to defcustom.
4035 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
4036
4037 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
4038 * comint.el (comint-prompt-read-only):
4039 * custom.el (defcustom):
4040 * hi-lock.el (hi-lock-mode):
4041 * ibuffer.el (ibuffer-formats):
4042 * ielm.el (ielm-prompt-read-only):
4043 * novice.el (disable-command):
4044 * saveplace.el (toggle-save-place):
4045 * speedbar.el (speedbar-supported-extension-expressions):
4046 * startup.el (auto-save-list-file-prefix, init-file-user)
4047 (after-init-hook, inhibit-startup-echo-area-message):
4048 * strokes.el (strokes-help):
4049 * time-stamp.el (time-stamp):
4050 * calendar/calendar.el (calendar, diary-file):
4051 * calendar/diary-lib.el (diary-mail-entries, diary)
4052 (diary-list-entries-hook):
4053 * calendar/holidays.el (holidays, calendar-holidays):
4054 * calendar/lunar.el (lunar-phases):
4055 * calendar/solar.el (sunrise-sunset):
4056 * emulation/edt.el (edt-load-keys):
4057 * emulation/viper.el (viper-mode):
4058 * eshell/em-alias.el (eshell-command-aliases-list):
4059 * eshell/esh-util.el (eshell-convert-numeric-arguments):
4060 * international/ogonek.el (ogonek-information):
4061 * net/tramp-cmds.el (tramp-bug):
4062 * net/quickurl.el (quickurl-reread-hook-postfix):
4063 * play/decipher.el (decipher-font-lock-keywords):
4064 * progmodes/cc-styles.el (c-set-style):
4065 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
4066 * progmodes/inf-lisp.el (inferior-lisp-prompt):
4067 * progmodes/octave-mod.el (octave-mode):
4068 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
4069 * progmodes/verilog-mode.el (verilog-read-defines):
4070 * textmodes/two-column.el (2C-mode): Likewise.
4071
4072 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
4073
4074 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
4075 that holds many addresses.
4076
4077 2012-09-16 Chong Yidong <cyd@gnu.org>
4078
4079 * align.el (align-areas): Call the indication function with
4080 positions instead of markers for arguments (Bug#12343).
4081
4082 * files.el (parse-colon-path): Use split-string (Bug#12351).
4083
4084 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4085 (display-buffer-function): Mark as obsolete.
4086
4087 * progmodes/compile.el (compilation-parse-errors): Accept list
4088 values similar to font-lock-keywords (Bug#12136).
4089 Suggested by Oleksandr Manzyuk.
4090 (compilation-error-regexp-alist): Doc fix.
4091
4092 2012-09-15 Glenn Morris <rgm@gnu.org>
4093
4094 * version.el (emacs-bzr-version-bzr): New function.
4095 (emacs-bzr-get-version): Add optional EXTERNAL argument.
4096
4097 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
4098 checkouts, check the parent dirstate matches the branch.
4099 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
4100 empty string.
4101
4102 * version.el (emacs-bzr-version): Doc fix.
4103 (emacs-bzr-version-dirstate): New function.
4104 (emacs-bzr-get-version): For lightweight checkouts, if the parent
4105 is local try and check that it matches the branch. If not, just
4106 use dirstate information. (Bug#12441)
4107
4108 2012-09-14 Juri Linkov <juri@jurta.org>
4109
4110 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
4111 (Bug#12399)
4112
4113 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4114
4115 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
4116
4117 * emacs-lisp/edebug.el: Miscellaneous cleanup.
4118 Remove obsolete byte-compiler hack that tried to silence some warnings.
4119 (edebug-submit-bug-report): Remove.
4120 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
4121 Remove aliases, use the un-prefixed name instead.
4122 (edebug-pop-to-buffer): Consider other frames.
4123 (edebug-original-read):: Make it more obvious that it's always defined.
4124 (edebug--make-form-data-entry, edebug--form-data-name)
4125 (edebug--form-data-begin, edebug--form-data-end): Rename from the
4126 single-dashed name, and implement with cl-defstruct.
4127 (edebug-set-form-data-entry): Use the standard accessors.
4128 (edebug-make-top-form-data-entry): Use push.
4129 (edebug-no-match): Drop useless `funcall'.
4130 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
4131 to functions.
4132 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
4133 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
4134 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
4135 (easy-menu-define, with-custom-print): Remove redundant specs.
4136 (edebug-outside-overriding-local-map)
4137 (edebug-outside-overriding-terminal-local-map): Remove, unused.
4138 (edebug--display): Bind unread-command-events directly to nil rather
4139 than binding it to unread-command-events and later setting it to nil.
4140 (edebug--display): Kill edebug-eval-buffer here...
4141 (edebug--recursive-edit): ...rather than here.
4142 Bind standard-output and standard-input.
4143 (edebug-eval): Check cl-macroexpand-all is fboundp.
4144 (edebug-temp-display-freq-count): Fix last change.
4145
4146 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
4147 * subr.el (noreturn, 1value): Add `debug' spec.
4148 * emacs-lisp/advice.el: Require cl-lib.
4149 (ad-copy-tree): Remove, use copy-tree instead.
4150 (ad-dolist): Remove use dolist or cl-dolist instead.
4151 (ad-do-return): Remove, use cl-return instead.
4152 (defadvice): Add `debug' spec.
4153
4154 2012-09-13 Juri Linkov <juri@jurta.org>
4155
4156 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
4157 (Bug#12399)
4158
4159 2012-09-13 Glenn Morris <rgm@gnu.org>
4160
4161 * calc/calc.el (math-compose-expr):
4162 * calc/calc-ext.el (math-compose-expr):
4163 * progmodes/cc-defs.el (cl-macroexpand-all):
4164 * progmodes/cc-langs.el (delete-duplicates, mapcan)
4165 (cl-macroexpand-all): Update declarations.
4166
4167 * vc/vc.el: No need to require ediff.
4168 (ediff-load-version-control): Declare.
4169 (ediff-vc-internal): Fix declaration.
4170 (vc-version-ediff): Require ediff.
4171
4172 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
4173
4174 Use a more backwards-compatible timer format (Bug#12430).
4175 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
4176 being right after USECS, as that better supports old code that
4177 inadvisedly looked directly at the timer vector.
4178
4179 2012-09-13 Kenichi Handa <handa@gnu.org>
4180
4181 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
4182 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
4183 `coding-priority' property of these language environment.
4184
4185 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
4186
4187 Fix glitches caused by addition of psec to timers (Bug#12430).
4188 * image.el (image-animate-timer):
4189 * time.el (display-time-world-timer):
4190 Use timer--function and timer--args rather than raw access to
4191 timer vector.
4192
4193 2012-09-13 Glenn Morris <rgm@gnu.org>
4194
4195 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
4196 If not compiling a file, try using load-file-name.
4197
4198 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4199
4200 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
4201 Fix last change.
4202 (edebug-update-eval-list): Use `push'.
4203
4204 * emacs-lisp/edebug.el: Use lexical-binding.
4205 Remove the "edebug-" prefix from non-dynamically-scoped variables.
4206 Mark unused args with underscore.
4207 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
4208 (edebug-form-data): Use defvar-local.
4209 (edebug-make-before-and-after-form, edebug-make-after-form):
4210 Use backquote.
4211 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
4212 Not dynamically scoped any more.
4213 (edebug--enter-trace): Add arguments `function' and `args'.
4214 Rename from edebug-enter-trace.
4215 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
4216 (edebug--update-coverage): Add `after-index' and `value' args.
4217 Rename from edebug-update-coverage.
4218 (edebug-slow-after): Call it accordingly.
4219 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
4220 edebug-recursive-edit.
4221 (edebug--display): Call it accordingly. Add args `value',
4222 `offset-index', and `arg-mode'. Rename from edebug-display.
4223 (edebug-debugger, edebug): Call it accordingly.
4224 (edebug-eval-display-list): Use dolist.
4225
4226 2012-09-12 Juri Linkov <juri@jurta.org>
4227
4228 * info.el (Info-search): Don't check for isearch-mode and
4229 isearch-regexp before let-binding search-spaces-regexp to
4230 Info-search-whitespace-regexp.
4231 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
4232 search-whitespace-regexp if isearch-lax-whitespace or
4233 isearch-regexp-lax-whitespace is non-nil.
4234 (Info-mode): Don't set local variable search-whitespace-regexp.
4235 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
4236
4237 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4238
4239 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
4240 (debugger-env-macro): Remove support for unread-command-char.
4241
4242 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
4243 the temporary map re-appearing on emulation-mode-map-alists.
4244
4245 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
4246 since 22.1.
4247
4248 * ehelp.el (with-electric-help): Accept functions in
4249 electric-help-form-to-execute.
4250 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
4251 And replace unread-command-char -> unread-command-events.
4252
4253 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
4254
4255 Sync with Tramp 2.2.6.
4256
4257 * net/tramp.el (tramp-accept-process-output): Don't use
4258 JUST-THIS-ONE in the XEmacs case.
4259
4260 * net/trampver.el: Update release number.
4261
4262 2012-09-12 Martin Rudalics <rudalics@gmx.at>
4263
4264 * emacs-lisp/debug.el (debugger-previous-window-height):
4265 New variable.
4266 (debug): When debugger-jumping-flag is non-nil try to restore
4267 height of debugger window. (Bug#8789)
4268
4269 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4270
4271 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
4272 overriding-local-map and pre/post-command-hook here.
4273 (edebug-recursive-edit): Do it here instead (bug#12345).
4274 (edebug-outside-unread-command-char): Remove all uses of
4275 unread-command-char.
4276
4277 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
4278 inhibit-debugger is bound instead.
4279
4280 2012-09-11 Bastien Guerry <bzg@gnu.org>
4281
4282 * subr.el (set-temporary-overlay-map): Add a docstring.
4283 (Bug#12346)
4284
4285 2012-09-11 Bastien Guerry <bzg@gnu.org>
4286
4287 * minibuffer.el (completion-table-subvert): Fix docstring.
4288 (Bug#12347)
4289
4290 2012-09-11 Bastien Guerry <bzg@gnu.org>
4291
4292 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
4293
4294 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
4295
4296 * progmodes/sql.el: Version 3.1
4297 (sql-db2-escape-newlines): New variable.
4298 (sql-escape-newlines-filter): Use it.
4299
4300 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
4301
4302 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
4303
4304 2012-09-10 Dan Nicolaescu <dann@gnu.org>
4305
4306 * vc/diff-mode.el (diff-mode-menu):
4307 Bind diff-remove-trailing-whitespace.
4308
4309 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4310
4311 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
4312 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
4313 (emacs-lisp-byte-code-mode): New functions.
4314 (eval-sexp-add-defvars): Don't skip defvars in column >0.
4315 (eval-defun-2): Remove bogus interactive spec.
4316 (lisp-indent-line): Remove redundant whole-exp code, now done in
4317 indent-according-to-mode.
4318 (save-match-data): Remove redundant indent data.
4319
4320 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
4321 Use `declare'.
4322
4323 2012-09-09 Juri Linkov <juri@jurta.org>
4324
4325 * replace.el (replace-regexp-lax-whitespace): New defcustom.
4326 (replace-lax-whitespace, query-replace-regexp)
4327 (query-replace-regexp-eval, replace-regexp): Doc fix.
4328 (perform-replace, replace-highlight): Let-bind
4329 isearch-lax-whitespace to replace-lax-whitespace and
4330 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
4331
4332 * isearch.el (isearch-query-replace): Let-bind
4333 replace-lax-whitespace to isearch-lax-whitespace and
4334 replace-regexp-lax-whitespace to
4335 isearch-regexp-lax-whitespace. (Bug#10885)
4336
4337 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
4338
4339 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
4340
4341 2012-09-09 Alan Mackenzie <acm@muc.de>
4342
4343 * progmodes/cc-engine.el (c-state-cache-init):
4344 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
4345 (c-record-parse-state-state):
4346 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
4347
4348 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
4349
4350 * register.el (register-separator): Rename from
4351 separator-register. All uses changed. Doc fix.
4352 (register): Fix version.
4353
4354 2012-09-09 Chong Yidong <cyd@gnu.org>
4355
4356 * replace.el (query-replace-map): Bind four new symbols for
4357 requesting window scrolling.
4358
4359 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
4360 query-replace-map (Bug#8948).
4361
4362 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
4363
4364 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
4365 since they are now in query-replace-map.
4366
4367 * window.el (scroll-other-window-down): Make the arg optional.
4368
4369 2012-09-09 Chong Yidong <cyd@gnu.org>
4370
4371 * files.el (hack-local-variables-confirm): Use quit-window to kill
4372 the *Local Variables* buffer.
4373
4374 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
4375
4376 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
4377 not just expect to be at its beginning. Adjust callees.
4378 Succeed when do-end block has no space before the pipe character.
4379 (ruby-brace-to-do-end): When the original block is one-liner,
4380 convert to multiline. Reindent the result.
4381
4382 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
4383
4384 * register.el (register): New group.
4385 (separator-register): New user option.
4386 (increment-register): Route it to `append-to-register', if
4387 register contains text. Implication is that `C-x r +' can now be
4388 used for appending to a text register (bug#12217).
4389 (append-to-register, prepend-to-register): Add separator based on
4390 `separator-register'.
4391
4392 2012-09-08 Alan Mackenzie <acm@muc.de>
4393
4394 AWK Mode: make auto-newline work when there's "==" in the pattern.
4395 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
4396 correctly.
4397 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
4398 Test more rigorously for "=" token.
4399
4400 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
4401
4402 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
4403 Only fail when reached LIMIT.
4404
4405 2012-09-08 Chong Yidong <cyd@gnu.org>
4406
4407 * dired.el (dired-mode-map): Don't bind M-=.
4408
4409 * dired-aux.el (dired-diff): Use backup file as default.
4410
4411 2012-09-08 Drew Adams <drew.adams@oracle.com>
4412
4413 * subr.el (add-to-history): Fix delete usage (Bug#12314).
4414
4415 2012-09-08 Chong Yidong <cyd@gnu.org>
4416
4417 * subr.el (syntax-after, syntax-class): Doc fix.
4418
4419 2012-09-08 Martin Rudalics <rudalics@gmx.at>
4420
4421 * window.el (display-buffer-in-previous-window): New buffer
4422 display action function.
4423
4424 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
4425 (debugger-previous-window): New variable.
4426 (debug): Rewrite using display-buffer-in-previous-window,
4427 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
4428
4429 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
4430
4431 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
4432
4433 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
4434
4435 * progmodes/python.el (python-shell-send-string):
4436 When default-directory is remote, create temp file on remote
4437 filesystem.
4438 (python-shell-send-file): When file is remote, pass local view of
4439 file paths to remote Python interpreter. (Bug#12340)
4440
4441 2012-09-07 Chong Yidong <cyd@gnu.org>
4442
4443 * window.el (switch-to-buffer): Doc fix (Bug#12181).
4444
4445 * files.el (after-find-file): Don't fail on a read-only buffer if
4446 require-final-newline is `visit' or `visit-save' (Bug#11156).
4447
4448 * subr.el (read-char-choice): Allow quitting via ESC ESC.
4449
4450 * userlock.el (ask-user-about-supersession-threat):
4451 Use read-char-choice (Bug#12093).
4452
4453 2012-09-07 Chong Yidong <cyd@gnu.org>
4454
4455 * subr.el (buffer-narrowed-p): New function.
4456
4457 * ses.el (ses-widen):
4458 * simple.el (count-words--buffer-message):
4459 * net/browse-url.el (browse-url-of-buffer): Use it.
4460
4461 * simple.el (count-words-region): Don't signal an error if there
4462 is a non-nil prefix arg and the mark is not set.
4463
4464 * help.el (describe-key-briefly): Allow the message to be seen
4465 when invoked from the minibuffer (Bug#7014).
4466
4467 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
4468
4469 * progmodes/ruby-mode.el (ruby-end-of-defun)
4470 (ruby-beginning-of-defun): Simplify, allow indentation before
4471 block beginning and end keywords.
4472 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
4473 (ruby-end-of-defun): Expect that the point is at the beginning of
4474 the defun.
4475
4476 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4477
4478 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
4479 (bug#12367).
4480 (cl--make-usage-args): Strip _ from argument names.
4481
4482 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4483
4484 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
4485 obsolete alias speedbar-key-map.
4486 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
4487 (vhdl-index-menu-init): Don't use obsolete variable
4488 font-lock-maximum-size.
4489
4490 2012-09-06 Chong Yidong <cyd@gnu.org>
4491
4492 * frame.el (window-system-version): Mark as obsolete.
4493
4494 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
4495 of obsolete variable speedbar-key-map.
4496
4497 2012-09-06 Juri Linkov <juri@jurta.org>
4498
4499 * replace.el (replace-lax-whitespace): New defcustom.
4500 (query-replace, query-replace-regexp, query-replace-regexp-eval)
4501 (replace-string, replace-regexp): Mention it in docstrings.
4502 (perform-replace, replace-highlight): Let-bind
4503 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
4504 to the values of replace-lax-whitespace and regexp-flag.
4505 Don't let-bind search-whitespace-regexp. (Bug#10885)
4506
4507 * isearch.el (isearch-query-replace): Let-bind
4508 replace-lax-whitespace instead of let-binding
4509 replace-search-function and replace-re-search-function.
4510 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
4511 and isearch-regexp-lax-whitespace to lazy-highlight variables.
4512 (isearch-toggle-symbol): Set isearch-regexp to nil
4513 in isearch-word mode (like in isearch-toggle-word).
4514
4515 2012-09-06 Juri Linkov <juri@jurta.org>
4516
4517 * replace.el (replace-search-function)
4518 (replace-re-search-function): Set default values to nil.
4519 (perform-replace): Let-bind isearch-related variables based on
4520 replace-related values, call `isearch-search-fun' and let-bind
4521 the result to `search-function'. Remove code that sets
4522 `search-function' and `search-string' separately for
4523 `delimited-flag'.
4524 (replace-highlight): Add new argument `delimited-flag' and
4525 rename other arguments to the names used in `perform-replace'.
4526 Let-bind `isearch-word' to the argument `delimited-flag'.
4527 (Bug#10885, bug#10887)
4528
4529 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
4530
4531 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
4532 ruby-beginning-of-indent, simplify, allow all keywords to have
4533 indentation before them.
4534 (ruby-beginning-of-indent): Adjust for above. Search until the
4535 found point is not inside a string or comment.
4536 (ruby-font-lock-keywords): Allow symbols to start with "@"
4537 character, give them higher priority than variables.
4538 (ruby-syntax-propertize-function)
4539 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
4540 matchers. Expression expansions are not comments when inside a
4541 string, and there comment syntax status is irrelevant.
4542 (ruby-match-expression-expansion): New function. Check that
4543 expression expansion is inside a string, and it's not escaped.
4544 (ruby-font-lock-keywords): Use it.
4545
4546 2012-09-05 Martin Rudalics <rudalics@gmx.at>
4547
4548 * help.el (temp-buffer-max-height): New default value.
4549 (temp-buffer-resize-frames): New option.
4550 (resize-temp-buffer-window): Optionally resize frame.
4551
4552 * window.el (fit-frame-to-buffer-bottom-margin): New option.
4553 (fit-frame-to-buffer): New function.
4554
4555 2012-09-05 Glenn Morris <rgm@gnu.org>
4556
4557 * emulation/cua-rect.el (cua--init-rectangles):
4558 * textmodes/picture.el (picture-mode-map):
4559 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
4560 like forward-char and backward-char. (Bug#12317)
4561
4562 2012-09-05 Leo Liu <sdl.web@gmail.com>
4563
4564 * progmodes/flymake.el (flymake-warning-re): New variable.
4565 (flymake-parse-line): Use it.
4566
4567 2012-09-05 Glenn Morris <rgm@gnu.org>
4568
4569 * calendar/holidays.el (holiday-christian-holidays):
4570 Rename an entry. (Bug#12289)
4571
4572 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4573
4574 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
4575 (bug#12222).
4576
4577 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4578
4579 * loadup.el: Load macroexp. Remove hack.
4580 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
4581 (macroexp--expand-all): Use it to get better warnings.
4582 (macroexp--backtrace, macroexp--trim-backtrace-frame)
4583 (internal-macroexpand-for-load): New functions.
4584 (macroexp--pending-eager-loads): New var.
4585 (emacs-startup-hook): New hack to replace one in loadup.el.
4586 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
4587 (cl--compiler-macro-cXXr): Move to top, before they can be used.
4588 (cl-psetf): Simplify.
4589 (cl-defstruct): Add indent rule.
4590
4591 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
4592
4593 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
4594 over `user-mail-address' for the SMTP MAIL FROM envelope.
4595 (smtpmail-via-smtp): Ditto.
4596
4597 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
4598
4599 * progmodes/ruby-mode.el: Clean up keybindings.
4600 (ruby-mode-map): Don't bind ruby-electric-brace,
4601 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
4602 backward-kill-word, reindent-then-newline-and-indent.
4603 (ruby-mark-defun): Remove.
4604 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
4605 (ruby-mode): Set local beginning-of-defun-function and
4606 end-of-defun-function values.
4607
4608 2012-09-03 Martin Rudalics <rudalics@gmx.at>
4609
4610 * window.el (temp-buffer-window-setup-hook)
4611 (temp-buffer-window-show-hook): New hooks.
4612 (temp-buffer-window-setup, temp-buffer-window-show)
4613 (with-temp-buffer-window): New functions.
4614 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
4615 (special-display-popup-frame): Make sure the window used shows BUFFER.
4616
4617 * help.el (temp-buffer-resize-mode): Fix doc-string.
4618 (resize-temp-buffer-window): New optional argument WINDOW.
4619
4620 * files.el (recover-file, save-buffers-kill-emacs):
4621 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
4622
4623 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
4624
4625 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
4626 remote definition of `default-directory', ensure we can connect.
4627
4628 2012-09-02 Juri Linkov <juri@jurta.org>
4629
4630 Toggle whitespace matching mode with M-s SPC.
4631 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
4632
4633 * isearch.el (search-whitespace-regexp): Doc fix.
4634 Remove cons cell customization.
4635 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
4636 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
4637 New variables.
4638 (isearch-forward, isearch-forward-regexp): Doc fix.
4639 (isearch-toggle-lax-whitespace): New command.
4640 (search-forward-lax-whitespace, search-backward-lax-whitespace)
4641 (re-search-forward-lax-whitespace)
4642 (re-search-backward-lax-whitespace): New functions.
4643 (isearch-whitespace-regexp): Remove function.
4644 (isearch-query-replace): Let-bind replace-search-function and
4645 replace-re-search-function.
4646 (isearch-occur): Let-bind search-spaces-regexp according to the
4647 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
4648 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
4649 condition for C-q SPC.
4650 (isearch-search-fun-default): Use new functions mentioned above.
4651 (isearch-search-forward, isearch-search-backward): Remove functions.
4652 (isearch-search): Don't let-bind search-spaces-regexp.
4653 (isearch-lazy-highlight-space-regexp): Remove variable.
4654 (isearch-lazy-highlight-lax-whitespace)
4655 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
4656 (isearch-lazy-highlight-new-loop): Use them.
4657 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
4658
4659 2012-09-02 Chong Yidong <cyd@gnu.org>
4660
4661 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
4662
4663 2012-09-02 Glenn Morris <rgm@gnu.org>
4664
4665 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
4666
4667 2012-09-01 Glenn Morris <rgm@gnu.org>
4668
4669 * term.el: Tidy up menu definitions.
4670 (term-mode-map): Use easymenu for In/Out, Complete menus.
4671 (term-pager-break-map): Initialize in the defvar.
4672 (term-terminal-menu, term-signals-menu): Define with easymenu.
4673 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
4674 (term-pager-menu): New, extracted from term-process-pager.
4675 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
4676 (term-update-mode-line): Propertize line/char and page items.
4677 (term-process-pager): Move keymap initialization elsewhere.
4678
4679 2012-09-01 Martin Rudalics <rudalics@gmx.at>
4680
4681 * window.el (switch-to-prev-buffer): Handle additional values of
4682 BURY-OR-KILL argument. Don't switch in minibuffer window.
4683 (switch-to-next-buffer): Don't switch in minibuffer window.
4684 (quit-restore-window): New function based on quit-window.
4685 Handle additional values of former KILL argument.
4686 (quit-window): Call quit-restore-window with appropriate
4687 interpretation of KILL argument.
4688 (display-buffer-below-selected): New buffer display action
4689 function.
4690
4691 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
4692
4693 * minibuffer.el (completion-at-point-functions): Complete docstring
4694 (bug#12254).
4695
4696 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
4697
4698 Better seed support for (random).
4699 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
4700 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
4701 * play/mpuz.el, play/tetris.el, play/zone.el:
4702 * calc/calc-comb.el (math-init-random-base):
4703 * play/blackbox.el (bb-init-board):
4704 * play/life.el (life):
4705 * server.el (server-use-tcp):
4706 * type-break.el (type-break):
4707 Remove unnecessary call to (random t).
4708 * net/sasl.el (sasl-unique-id-function):
4709 Change (random t) to (random), now that the latter is more random.
4710 * play/life.el (life-initialized): Remove no-longer-needed var.
4711
4712 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
4713
4714 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
4715 Consider frame's buffer predicate when choosing the buffer.
4716 (Bug#12081)
4717
4718 2012-08-30 Richard Stallman <rms@gnu.org>
4719
4720 * simple.el (special-mode-map): Delete binding for `z'.
4721
4722 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
4723
4724 * progmodes/compile.el (compilation-always-kill): Doc fix.
4725
4726 2012-08-30 Chong Yidong <cyd@gnu.org>
4727
4728 * window.el (display-buffer-reuse-frames): Make the obsolescence
4729 message more informative.
4730
4731 2012-08-30 Glenn Morris <rgm@gnu.org>
4732
4733 * paren.el (show-paren-delay):
4734 Add a :set function. Doc fix. (Bug#12297)
4735
4736 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
4737
4738 * progmodes/compile.el (compilation-always-kill): New var.
4739 (compilation-start): Use it.
4740
4741 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4742
4743 * simple.el (read-only-mode): Move from files.el for bootstrapping.
4744 * files.el (read-only-mode): Move to simple.el.
4745
4746 * files.el (read-only-mode): New minor mode.
4747 (toggle-read-only): Use it and mark obsolete.
4748 (find-file--read-only):
4749 * vc/vc.el (vc-next-action, vc-checkout):
4750 * vc/vc-cvs.el (vc-cvs-checkout):
4751 * obsolete/vc-mcvs.el (vc-mcvs-update):
4752 * ffap.el (ffap--toggle-read-only): Update callers.
4753
4754 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
4755
4756 * eshell/esh-ext.el (eshell-external-command): Do not examine
4757 remote shell scripts.
4758 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
4759
4760 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
4761 "/usr/local/sbin".
4762
4763 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4764
4765 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
4766
4767 2012-08-28 Leo Liu <sdl.web@gmail.com>
4768
4769 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
4770 completion-at-point. (Bug#12220)
4771
4772 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
4773
4774 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
4775
4776 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4777
4778 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
4779 be buffer-local; add delete-trailing-whitespace (bug#12259).
4780
4781 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
4782
4783 * progmodes/hideif.el (hif-compress-define-list):
4784 Fix typo. (Bug#11951)
4785
4786 2012-08-28 Dan Nicolaescu <dann@gnu.org>
4787
4788 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
4789 buffer local setting.
4790
4791 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
4792 rcirc-encode-coding-system.
4793
4794 2012-08-28 Leo Liu <sdl.web@gmail.com>
4795
4796 * net/rcirc.el (rcirc-split-message): New function.
4797 (rcirc-send-message): Use it. (Bug#12051)
4798
4799 2012-08-28 Juri Linkov <juri@jurta.org>
4800
4801 * info.el (Info-fontify-node): Hide empty lines at the end of
4802 the node. (Bug#12272)
4803
4804 2012-08-27 Drew Adams <drew.adams@oracle.com>
4805
4806 * dired.el (dired-pop-to-buffer): Make window start at beginning
4807 of buffer (Bug#12281).
4808
4809 2012-08-26 Chong Yidong <cyd@gnu.org>
4810
4811 * window.el (special-display-regexps, special-display-frame-alist)
4812 (special-display-buffer-names, special-display-function)
4813 (display-buffer-reuse-frames): Mark as obsolete.
4814
4815 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
4816
4817 * help.el (help-print-return-message): Don't treat
4818 display-buffer-reuse-frames specially.
4819
4820 2012-08-26 Chong Yidong <cyd@gnu.org>
4821
4822 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
4823 New variable, replacing gdb-frame-parameters.
4824 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
4825 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
4826 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
4827 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
4828 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
4829 the functions directly with gdb-display-buffer-other-frame-action.
4830 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
4831 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
4832 (gdb-display-stack-buffer, gdb-display-locals-buffer)
4833 (gdb-display-registers-buffer): Define directly.
4834 (def-gdb-display-buffer): Macro deleted.
4835 (gdb-display-buffer): Remove second and third args, callers don't
4836 use them. Defer to the default display-buffer behavior, apart
4837 from making windows dedicated.
4838 (gdb-setup-windows): Don't call display-buffer unnecessarily.
4839
4840 * progmodes/gud.el (gud-display-line): Just use display-buffer.
4841
4842 * window.el (display-buffer-pop-up-frame): Handle a
4843 pop-up-frame-parameters alist entry.
4844 (display-buffer): Document it.
4845
4846 2012-08-26 Chong Yidong <cyd@gnu.org>
4847
4848 * isearch.el (search-whitespace-regexp): Make string and nil
4849 values apply to both ordinary and regexp search. Allow a cons
4850 cell value to distinguish between the two.
4851 (isearch-whitespace-regexp, isearch-search-forward)
4852 (isearch-search-backward): New functions.
4853 (isearch-occur, isearch-search-fun-default, isearch-search)
4854 (isearch-lazy-highlight-new-loop): Use them.
4855 (isearch-forward, isearch-forward-regexp): Doc fix.
4856
4857 2012-08-26 Chong Yidong <cyd@gnu.org>
4858
4859 * faces.el (help-argument-name): Always inherit from italic
4860 (Bug#12213).
4861
4862 2012-08-25 Martin Rudalics <rudalics@gmx.at>
4863
4864 * window.el (window--even-window-heights): Even heights when
4865 WINDOW and the selected window form a vertical combination.
4866 (display-buffer-use-some-window): Provide that window used gets
4867 sized back by quit-window. (Bug#11880) and (Bug#12091)
4868
4869 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
4870
4871 Fix file time stamp problem with bzr and CVS (Bug#12001).
4872 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
4873 in the file's time stamp, since the version control system loses
4874 that information.
4875
4876 2012-08-22 Juri Linkov <juri@jurta.org>
4877
4878 * info.el (Info-fontify-node): Hide the suffix of the
4879 Info file name in the header line. (Bug#12187)
4880
4881 2012-08-22 Glenn Morris <rgm@gnu.org>
4882
4883 * calendar/cal-tex.el (cal-tex-weekly-common):
4884 Restore leading blank page.
4885
4886 2012-08-22 Le Wang <l26wang@gmail.com>
4887
4888 * misc.el (forward-to-word, backward-to-word): Activate or extend
4889 the region under `shift-select-mode'. (Bug#12231)
4890
4891 2012-08-22 Bastien Guerry <bzg@gnu.org>
4892
4893 * progmodes/executable.el (executable-prefix): Set to "#!" instead
4894 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
4895 gives details on why the space is never needed.
4896
4897 2012-08-22 Martin Rudalics <rudalics@gmx.at>
4898
4899 * window.el (walk-window-tree, window-with-parameter):
4900 New optional argument MINIBUF to control whether these functions
4901 should run on the minibuffer window.
4902 (window-at-side-list): Don't operate on minibuffer window.
4903 (window-in-direction): Simplify and rewrite doc-string.
4904 (window--size-ignore): Rename to window--size-ignore-p.
4905 Update callers.
4906 (display-buffer-in-atom-window, window--major-non-side-window)
4907 (window--major-side-window, display-buffer-in-major-side-window)
4908 (delete-side-window, display-buffer-in-side-window):
4909 New functions.
4910 (window--side-check, window-deletable-p, delete-window)
4911 (delete-other-windows, split-window): Handle side windows and
4912 atomic windows appropriately.
4913 (window--display-buffer): Call display-buffer-record-window also
4914 when the window buffer did not change.
4915
4916 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
4917
4918 * help-fns.el (help-fns--key-bindings):
4919 Abbreviate non-symbol remap targets. (Bug#12174)
4920
4921 2012-08-22 Martin Rudalics <rudalics@gmx.at>
4922
4923 * dired.el (dired-mark-remembered): Don't clobber point.
4924 (Bug#11795)
4925
4926 2012-08-22 Glenn Morris <rgm@gnu.org>
4927
4928 * progmodes/bug-reference.el (bug-reference): New custom group.
4929 (bug-reference-bug-regexp): Make it a defcustom.
4930
4931 2012-08-22 Daiki Ueno <ueno@unixuser.org>
4932
4933 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
4934 (js-paren-indent-offset, js-square-indent-offset)
4935 (js-curly-indent-offset): Add :safe (Bug#12257).
4936
4937 2012-08-22 Edward O'Connor <hober0@gmail.com>
4938
4939 * json.el (json-key-format): Add error properties.
4940 (json-encode-key): New function.
4941 (json-encode-hash-table, json-encode-alist, json-encode-plist):
4942 Use json-encode-key.
4943
4944 2012-08-22 Glenn Morris <rgm@gnu.org>
4945
4946 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
4947 (cal-tex-leftday, cal-tex-rightday): Remove functions.
4948 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
4949 Update for above change.
4950
4951 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
4952
4953 * cus-face.el (custom-face-attributes): Fix customize type for the
4954 :underline attribute. (Bug#11805)
4955
4956 2012-08-21 Martin Rudalics <rudalics@gmx.at>
4957
4958 * window.el (window-point-1, set-window-point-1): Remove.
4959 (window-in-direction, record-window-buffer)
4960 (set-window-buffer-start-and-point, split-window-below)
4961 (window--state-get-1, display-buffer-record-window):
4962 Replace calls to window-point-1 and set-window-point-1 by calls to
4963 window-point and set-window-point respectively.
4964
4965 2012-08-21 Glenn Morris <rgm@gnu.org>
4966
4967 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
4968 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
4969 Use it.
4970
4971 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
4972 (cal-tex-shortday): New function.
4973 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
4974 (cal-tex-cursor-filofax-daily): Use the above.
4975
4976 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
4977 New functions.
4978 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
4979 (cal-tex-cursor-filofax-week): Use them.
4980
4981 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
4982 New constants.
4983 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
4984 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
4985
4986 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
4987 (cal-tex-end-document): Don't rely on buffer name.
4988
4989 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
4990 Use cal-tex-vspace.
4991 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
4992 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
4993 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
4994 Use cal-tex-arg.
4995
4996 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
4997 (cal-tex-cursor-week, cal-tex-cursor-week2)
4998 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
4999 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
5000 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
5001 (cal-tex-insert-preamble, cal-tex-b-document)
5002 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
5003 Improve cal-tex-cmd usage.
5004
5005 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
5006 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
5007 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
5008 (cal-tex-weekly-paper): New function.
5009 (cal-tex-cursor-week, cal-tex-cursor-week2)
5010 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
5011 (cal-tex-cursor-day): Use it.
5012
5013 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
5014 (cal-tex-cursor-filofax-week): Remove leading blank page.
5015
5016 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
5017 Add autoload cookie. For now at least, don't use color, since
5018 no other cal-tex function does.
5019
5020 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
5021 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
5022 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
5023
5024 2012-08-21 Juri Linkov <juri@jurta.org>
5025
5026 * info.el (Info-file-attributes): New variable.
5027 (info-insert-file-contents): Add file attributes to
5028 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
5029 `Info-toc-nodes' when previous modtime of the Info file is less
5030 than new modtime.
5031 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
5032 of info.el. (Bug#12230)
5033
5034 2012-08-20 Glenn Morris <rgm@gnu.org>
5035
5036 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
5037 * calendar/holidays.el (calendar-holiday-list):
5038 Report errors with display-warning rather than beep'n'sleep.
5039
5040 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
5041
5042 * net/tramp.el (tramp-accept-process-output): Accept only output
5043 from PROC. Otherwise, process filters and sentinels might be
5044 confused. (Bug#12145)
5045
5046 2012-08-20 Chong Yidong <cyd@gnu.org>
5047
5048 * descr-text.el (describe-text-properties-1): Use overlays-in to
5049 report on empty overlays (Bug#3322).
5050
5051 2012-08-20 Glenn Morris <rgm@gnu.org>
5052
5053 * mail/rmailout.el (rmail-output-read-file-name):
5054 Trap and report errors in rmail-output-file-alist elements.
5055
5056 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
5057 since most non-font-lock faces are not also variables).
5058
5059 2012-08-20 Edward Reingold <reingold@iit.edu>
5060
5061 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
5062 New function. (Bug12160)
5063
5064 2012-08-19 Glenn Morris <rgm@gnu.org>
5065
5066 * mail/rmailout.el (rmail-output-read-file-name):
5067 Fix previous change (when the alist is nil or does not match).
5068
5069 2012-08-19 Chong Yidong <cyd@gnu.org>
5070
5071 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
5072 (Bug#12228).
5073
5074 2012-08-18 Chong Yidong <cyd@gnu.org>
5075
5076 * simple.el (yank-handled-properties): New defcustom.
5077 (yank-excluded-properties): Add font-lock-face and category.
5078 (yank): Doc fix.
5079
5080 * subr.el (remove-yank-excluded-properties):
5081 Obey yank-handled-properties. The special handling of font-lock-face
5082 and category is now done this way, instead of being hard-coded.
5083 (insert-for-yank-1): Remove font-lock-face handling.
5084 (yank-handle-font-lock-face-property)
5085 (yank-handle-category-property): New function.
5086
5087 2012-08-17 Glenn Morris <rgm@gnu.org>
5088
5089 * mail/rmailout.el (rmail-output-read-file-name):
5090 Check rmail-output-file-alist against the full message body
5091 in the correct rmail buffer. (Bug#12214)
5092
5093 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
5094
5095 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
5096 Eliminate superfluous prompt. (Bug#12203)
5097
5098 2012-08-17 Chong Yidong <cyd@gnu.org>
5099
5100 * mouse.el (mouse-appearance-menu): If x-select-font returns a
5101 font spec, set the font directly (Bug#3228).
5102
5103 2012-08-17 Martin Rudalics <rudalics@gmx.at>
5104
5105 * window.el (delete-window): Fix last fix.
5106
5107 2012-08-16 Martin Rudalics <rudalics@gmx.at>
5108
5109 * window.el (window-valid-p): Move to window.c.
5110 (window-child, window-child-count, window-last-child)
5111 (window-normalize-window, window-combined-p)
5112 (window-combinations, window-atom-root, window-min-size)
5113 (window-sizable, window-sizable-p, window-size-fixed-p)
5114 (window-min-delta, window-max-delta, window--resizable)
5115 (window--resizable-p, window-resizable, window-total-size)
5116 (window-full-height-p, window-full-width-p, window-body-size)
5117 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
5118 (minimize-window, window-deletable-p, delete-window)
5119 (delete-other-windows, set-window-buffer-start-and-point)
5120 (next-buffer, previous-buffer, split-window, balance-windows-2)
5121 (set-window-text-height, window-buffer-height)
5122 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
5123 (truncated-partial-width-window-p): Minor code adjustments.
5124 In doc-strings state whether the argument window has to denote a
5125 live, valid or any window.
5126
5127 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
5128
5129 * progmodes/subword.el (subword-forward-function)
5130 (subword-backward-function, subword-forward-regexp)
5131 (subword-backward-regexp): New variables.
5132 (subword-forward, subword-forward-internal, subword-backward-internal):
5133 Use new variables, eg so that different "word" definitions
5134 can be easily used. (Bug#11411)
5135
5136 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5137
5138 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
5139 for composite selectors.
5140 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
5141 operation just because we can't find a previous revision.
5142
5143 2012-08-15 Chong Yidong <cyd@gnu.org>
5144
5145 * frame.el (set-frame-font): Accept font objects.
5146
5147 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5148
5149 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
5150
5151 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
5152
5153 * man.el (Man-overstrike-face, Man-underline-face)
5154 (Man-reverse-face): Remove variables.
5155 (Man-overstrike, Man-underline, Man-reverse): New faces.
5156 (Man-fontify-manpage): Use them instead of the variables.
5157 (Man-cleanup-manpage): Comment change.
5158 (Man-ansi-color-map): New variable.
5159 (Man-fontify-manpage): Use it.
5160 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
5161
5162 Implement ANSI SGR parameters 22-27 (bug#12146).
5163 * ansi-color.el (ansi-colors): Doc fix.
5164 (ansi-color-context, ansi-color-context-region): Doc fix.
5165 (ansi-color--find-face): New function.
5166 (ansi-color-apply, ansi-color-apply-on-region): Use it.
5167 Rename the local variable `face' to `codes' since it is now a list of
5168 ansi codes. Doc fix.
5169 (ansi-color-get-face): Remove.
5170 (ansi-color-parse-sequence): New function, derived from
5171 ansi-color-get-face.
5172 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
5173 codes 22-27.
5174
5175 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
5176
5177 * subr.el (read-passwd): Allow use from a minibuffer.
5178
5179 2012-08-14 Eli Zaretskii <eliz@gnu.org>
5180
5181 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
5182 inside comments and strings as identifiers.
5183
5184 * progmodes/gud.el (gud-tooltip-print-command): Quote the
5185 expression to evaluate. This allows to evaluate expressions with
5186 embedded whitespace.
5187 (gud-tooltip-tips): Add a blank before the newline in the
5188 message-box text, for the benefit of message-box emulation on
5189 MS-Windows.
5190
5191 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
5192 messages from GDB, pop them up in a tooltip to give feedback to
5193 user.
5194 (gdb-tooltip-print-1): Quote the expression to evaluate.
5195 This allows to evaluate expressions with embedded whitespace.
5196 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
5197 if the TTY name is nil or empty (which happens when communicating
5198 with the inferior via pipes, e.g. on MS-Windows).
5199 (gdb-internals): If GDB sends a "&\n" empty debugging message,
5200 don't send that to the GUD buffer.
5201
5202 2012-08-14 Glenn Morris <rgm@gnu.org>
5203
5204 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
5205 Optimize away setq-default with no args, as for setq. (Bug#12195)
5206
5207 2012-08-14 Chong Yidong <cyd@gnu.org>
5208
5209 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
5210
5211 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
5212 (Bug#12085).
5213
5214 2012-08-14 Glenn Morris <rgm@gnu.org>
5215
5216 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
5217
5218 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
5219
5220 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
5221 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5222 Use cached shell name.
5223
5224 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
5225
5226 * progmodes/python.el (python-shell-send-string):
5227 (python-shell-send-setup-code): Do not use `format' with `message'.
5228
5229 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
5230
5231 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
5232 (ruby-percent-literal-beg-re): New constant.
5233 (ruby-syntax-general-delimiters-goto-beg): Rename to
5234 `ruby-syntax-enclosing-percent-literal', improve literal type check.
5235 (ruby-syntax-propertize-general-delimiters): Rename to
5236 `ruby-syntax-propertize-percent-literal', it's a shorter and more
5237 popular term. Adjust comments everywhere.
5238 (ruby-syntax-propertize-percent-literal): Only propertize when not
5239 inside a simple string or comment. When the literal is unclosed,
5240 leave the text after it unpropertized.
5241 (ruby-syntax-methods-before-regexp): New constant.
5242 (ruby-syntax-propertize-function): Use it to recognize regexps.
5243 Don't look at the text after regexp, just use the whitelist.
5244
5245 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
5246
5247 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
5248 non-nil always load the compiled file if it exists. (Bug#12197)
5249
5250 2012-08-14 Chong Yidong <cyd@gnu.org>
5251
5252 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
5253 (hi-lock-set-pattern): When deciding whether to use font lock or
5254 overlays, look at font-lock-mode instead of font-lock-fontified
5255 (Bug#12168).
5256 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
5257 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
5258
5259 2012-08-14 Daiki Ueno <ueno@unixuser.org>
5260
5261 * subr.el (internal--after-with-selected-window): Fix typo
5262 (Bug#12193).
5263
5264 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
5265
5266 Use `completion-table-dynamic' for completion functions.
5267 * progmodes/python.el
5268 (python-shell-completion--do-completion-at-point)
5269 (python-shell-completion--get-completions):
5270 Remove functions.
5271 (python-shell-completion-complete-at-point): New function.
5272 (python-completion-complete-at-point): Use it.
5273
5274 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
5275
5276 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
5277 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
5278
5279 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5280
5281 * subr.el (function-get): Refine `autoload' arg so it can also
5282 autoload functions for gv.el (bug#12191).
5283 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
5284 autoloads macros.
5285
5286 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
5287 Prefer pcase-let over destructuring-bind.
5288 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
5289 Also, remove whitespace as we go, rather than after accumulating the
5290 various places.
5291
5292 * subr.el (internal--before-with-selected-window)
5293 (internal--after-with-selected-window): Fix typo seleted->selected.
5294 (with-selected-window): Adjust callers.
5295 Reported by Dmitry Gutov <dgutov@yandex.ru>.
5296
5297 2012-08-13 Bastien Guerry <bzg@gnu.org>
5298
5299 * window.el (special-display-popup-frame): Minor docstring
5300 enhancement. (Bug#12172)
5301
5302 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
5303
5304 * tar-mode.el (tar-header-data-end): Only ignore size for files of
5305 type 1-6.
5306 (tar-header-block-summarize, tar-get-descriptor): Handle pax
5307 extended headers.
5308
5309 * files.el (hack-local-variables-filter): Remove useless eval.
5310
5311 2012-08-13 Martin Rudalics <rudalics@gmx.at>
5312
5313 * subr.el (with-selected-window): Fix last change.
5314
5315 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5316
5317 * subr.el (internal--before-with-seleted-window)
5318 (internal--after-with-seleted-window): New functions.
5319 (with-selected-window): Use them, to replace dependency on
5320 tty-top-frame.
5321
5322 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
5323
5324 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
5325 binding for `newline'.
5326 (ruby-move-to-block): When moving backward, stop at block opening,
5327 not indentation.
5328 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
5329 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
5330 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
5331 `ruby-toggle-block'.
5332
5333 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5334
5335 * ibuffer.el (ibuffer-do-toggle-read-only):
5336 * dired.el (dired-toggle-read-only):
5337 * buff-menu.el (Buffer-menu-toggle-read-only):
5338 * bindings.el (mode-line-toggle-read-only):
5339 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
5340
5341 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
5342
5343 * descr-text.el (describe-char): Put the overlays over the
5344 "displayed as" character.
5345
5346 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
5347
5348 * calc/calc-units.el (math-default-units-table): Give an
5349 initial value.
5350 (math-put-default-units): Add options to put composite units and
5351 unit systems in the default units table.
5352 (calc-convert-units): Send composite units to
5353 `math-put-default-units' when appropriate.
5354
5355 2012-08-11 Glenn Morris <rgm@gnu.org>
5356
5357 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
5358
5359 * tutorial.el (help-with-tutorial):
5360 * emacs-lisp/copyright.el (copyright-update-directory):
5361 * emacs-lisp/autoload.el (autoload-find-generated-file)
5362 (autoload-find-file): Disable local eval: (for insurance).
5363
5364 * files.el (hack-local-variables-filter): If an eval: form is not
5365 known to be safe, and enable-local-variables is :safe, then ignore
5366 the form totally, as is done for non-eval forms. (Bug#12155)
5367 This is CVE-2012-3479.
5368
5369 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
5370
5371 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
5372 (rx-form): Simplify.
5373
5374 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
5375
5376 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
5377 ?, _, and : are symbol constituents, ! is not (but kinda should be).
5378 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
5379 (ruby-syntax-propertize-function): Adjust for changes in
5380 `ruby-syntax-propertize-heredoc'.
5381
5382 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
5383
5384 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
5385 binding (use `M-;' instead).
5386 (ruby-singleton-class-p): New function.
5387 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
5388
5389 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
5390
5391 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
5392
5393 2012-08-10 Chong Yidong <cyd@gnu.org>
5394
5395 * progmodes/python.el (python-shell-get-process-name): Don't mess
5396 with same-window-buffer-names.
5397
5398 * eshell/eshell.el (eshell-add-to-window-buffer-names)
5399 (eshell-remove-from-window-buffer-names): Make obsolete.
5400 (eshell-buffer-name, eshell-unload-hook): Don't use them.
5401 (eshell): Just use pop-to-buffer-same-window instead.
5402
5403 2012-08-10 Chong Yidong <cyd@gnu.org>
5404
5405 * bindings.el: Bind M-= back to count-words-region.
5406
5407 * simple.el (count-words-region): Accept a prefix arg for acting
5408 on the entire buffer.
5409 (count-words--buffer-message): New helper function.
5410
5411 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
5412
5413 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
5414 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
5415 (event-start, event-end): Use posn-at-point to return a more
5416 informative posn.
5417 (posnp): New function.
5418 * mouse.el (popup-menu-normalize-position): Use it.
5419
5420 2012-08-10 Masatake YAMATO <yamato@redhat.com>
5421
5422 * mouse.el (popup-menu-normalize-position): New function.
5423 (popup-menu): Use `popup-menu-normalize-position' to normalize
5424 the form for POSITION argument.
5425
5426 * term/x-win.el (x-menu-bar-open):
5427 Use the value returend from (posn-at-point) as position
5428 passed to `popup-menu'.
5429
5430 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
5431
5432 * calc/calccomp.el (math-compose-expr): Add extra argument
5433 indicating that parentheses should be put around products in
5434 denominators. Give multiplication precedence over division during
5435 composition.
5436
5437 2012-08-09 Chong Yidong <cyd@gnu.org>
5438
5439 * man.el (Man-switches, Man-sed-command, Man-awk-command)
5440 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
5441 (Man-untabify-command, manual-program): Convert to defcustom
5442 (Bug#10429).
5443
5444 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
5445
5446 * descr-text.el (describe-char): Don't insert extra newlines
5447 (Bug#10127).
5448
5449 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
5450 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
5451
5452 * align.el (align-region): Delete temporary markers (Bug#10047).
5453 Plus some code cleanups.
5454
5455 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
5456
5457 * progmodes/python.el (python-pdbtrack-tracked-buffer)
5458 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
5459 (python-shell-internal-last-output): Use make-local-variable
5460 instead of make-variable-buffer-local.
5461
5462 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
5463
5464 * progmodes/python.el: Enhancements to forward-sexp.
5465 (python-nav-forward-sexp): Rename from
5466 python-nav-forward-sexp-function.
5467 (python-nav--forward-sexp, python-nav--backward-sexp):
5468 New functions.
5469
5470 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
5471
5472 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
5473 modes and simplification modes.
5474
5475 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5476
5477 * delsel.el (delete-selection-pre-hook): Don't propagate the
5478 file-supersession signals (bug#12161).
5479
5480 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5481
5482 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
5483 (cl-map-extents): Add compatibility aliases (bug#12135).
5484
5485 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
5486
5487 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
5488 tests by `ignore-error'.
5489 (tramp-find-shell): Open also a new shell, when cache is already
5490 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
5491
5492 2012-08-08 Juri Linkov <juri@jurta.org>
5493
5494 * bookmark.el: Add `defaults' property to the bookmark record.
5495 (bookmark-current-buffer): Doc fix.
5496 (bookmark-make-record): Add `defaults' property with default values
5497 to the bookmark record.
5498 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
5499 with `bookmark-insert-current-bookmark'.
5500 (bookmark-set): Get `defaults' property from the bookmark record
5501 and use it in `read-from-minibuffer'.
5502 (bookmark-insert-current-bookmark): Remove function.
5503
5504 * info.el (Info-bookmark-make-record): Add `defaults' property
5505 with values of canonical Info node name, the current Info file
5506 name and the current Info node name. (Bug#12107)
5507
5508 2012-08-08 Juri Linkov <juri@jurta.org>
5509
5510 * files.el (basic-save-buffer): Use `buffer-name' as the default
5511 of `read-file-name' when buffer is not visiting a file (bug#12128).
5512
5513 2012-08-08 Juri Linkov <juri@jurta.org>
5514
5515 * info.el (Info-isearch-search): Doc fix.
5516 (Info-search): Change search-failed message from "initial node" to
5517 "end of node" (bug#12078).
5518 (Info-isearch-search): Change `isearch-string-state' to
5519 `isearch--state-string'.
5520
5521 2012-08-08 Glenn Morris <rgm@gnu.org>
5522
5523 * language/persian.el: Remove file.
5524 * language/misc-lang.el: Move unique part of persian.el here.
5525 * loadup.el: Remove language/persian.
5526
5527 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
5528
5529 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
5530
5531 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
5532
5533 * progmodes/python.el Fixed defsubst warning.
5534 (python-syntax-context) Rename from python-info-ppss-context.
5535 (python-syntax-context-type): Rename from
5536 python-info-ppss-context-type.
5537 (python-syntax-comment-or-string-p): Rename from
5538 python-info-ppss-comment-or-string-p.
5539
5540 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
5541
5542 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
5543
5544 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
5545
5546 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
5547 a defcustom that is quoted with backquote.
5548
5549 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
5550 Fix handling of interactive spec when the body uses return.
5551 (math-do-arg-check, math-define-function-body): Use backquote forms.
5552 * calc/calc-ext.el (math-defcache): Likewise.
5553 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
5554 * allout.el (allout-new-exposure): Likewise.
5555 * calc/calcalg2.el (math-tracing-integral): Likewise.
5556 * info.el (Info-last-menu-item): Likewise.
5557 * emulation/vip.el (vip-loop): Likewise.
5558 * textmodes/artist.el (artist-funcall): Likewise.
5559 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
5560 Construct menu-item directly.
5561
5562 * progmodes/autoconf.el (font-lock-syntactic-keywords):
5563 Don't declare.
5564
5565 2012-08-07 Chong Yidong <cyd@gnu.org>
5566
5567 * simple.el (deactivate-mark): Preserve text properties when
5568 saving the primary selection (Bug#8384).
5569
5570 2012-08-07 Kevin Ryde <user42@zip.com.au>
5571
5572 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
5573 (woman-parse-numeric-value): On a bad .IP line, issue a warning
5574 and continue processing (Bug#12110).
5575
5576 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
5577
5578 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
5579 syntax-propertize-function (bug#10095).
5580
5581 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
5582
5583 * help-fns.el (help-fns--key-bindings, help-fns--signature)
5584 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
5585 describe-function-1.
5586 (describe-function-1): Use them. Move compiler macro after sig.
5587 (help-fns--compiler-macro): Use function-get. Assume we're already in
5588 standard-output. Adjust layout to new call order.
5589
5590 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
5591 re-binding a symbol that has a symbol-macro (bug#12119).
5592
5593 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
5594
5595 * language/persian.el: New file. (Bug#11812)
5596 * loadup.el: Add language/persian.el.
5597
5598 2012-08-06 Chong Yidong <cyd@gnu.org>
5599
5600 * window.el (window--maybe-raise-frame): New function.
5601 (window--display-buffer): Split off from here.
5602 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5603 (display-buffer-pop-up-window, display-buffer-use-some-window):
5604 Obey an inhibit-switch-frame action alist entry.
5605 (display-buffer): Update doc.
5606
5607 * replace.el (occur-after-change-function): Avoid losing focus by
5608 using the inhibit-switch-frame display parameter (Bug#12139).
5609
5610 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
5611
5612 Make internal shell process buffer names start with space.
5613 * progmodes/python.el (python-shell-make-comint): Add optional
5614 argument INTERNAL.
5615 (run-python-internal): Use it.
5616 (python-shell-internal-get-or-create-process): Check for new
5617 internal buffer names.
5618
5619 2012-08-06 Glenn Morris <rgm@gnu.org>
5620
5621 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5622 Do less getting and setting of environment variables.
5623
5624 2012-08-05 Chong Yidong <cyd@gnu.org>
5625
5626 * proced.el (proced): Add substitution string to docstring to
5627 trigger autoloading of the proced library on C-h f (Bug#1768).
5628
5629 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5630 Don't show defvars which have no second argument (Bug#8638).
5631
5632 * imenu.el (imenu-generic-expression): Move documentation here
5633 from imenu--generic-function.
5634 (imenu--generic-function): Refer to imenu-generic-expression.
5635
5636 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
5637
5638 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
5639 indentation declaration.
5640 (viper-loop): Add indentation declaration (Bug#7025).
5641
5642 2012-08-05 Chong Yidong <cyd@gnu.org>
5643
5644 * help-fns.el (describe-variable): Add hyperlink for
5645 directory-local variables files. Improve buffer-local and
5646 permanent-local reporting; suggested by MON KEY (Bug#6644).
5647
5648 * help-mode.el (help-dir-local-var-def): New button type.
5649
5650 * files.el (kill-buffer-hook): Provide a defvar.
5651
5652 2012-08-05 Glenn Morris <rgm@gnu.org>
5653
5654 * eshell/esh-ext.el (eshell/addpath):
5655 Also update eshell-path-env. (Bug#12013)
5656
5657 2012-08-05 Chong Yidong <cyd@gnu.org>
5658
5659 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
5660
5661 * fringe.el (fringe-styles): Add docstring.
5662 (fringe--check-mode): New function.
5663 (set-fringe-mode, set-fringe-style): Use it.
5664 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
5665
5666 * files.el (set-auto-mode): Fix invalid setq call.
5667
5668 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5669
5670 * isearch.el: Misc simplification; use defstruct.
5671 (isearch-mode-map): Dense maps now work like sparse ones.
5672 (isearch--state): New defstruct.
5673 (isearch-string-state, isearch-message-state, isearch-point-state)
5674 (isearch-success-state, isearch-forward-state)
5675 (isearch-other-end-state, isearch-word-state, isearch-error-state)
5676 (isearch-wrapped-state, isearch-barrier-state)
5677 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
5678 replaced by defstruct's accessors.
5679 (isearch--set-state): Rename from isearch-top-state and change
5680 calling convention.
5681 (isearch-push-state): Use new isearch--get-state.
5682 (isearch-toggle-word): Disable regexp when enabling word.
5683 (isearch-message-prefix): Remove unused arg _c-q-hack.
5684 (isearch-message-suffix): Remove unused arg _ellipsis.
5685
5686 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
5687
5688 * simple.el (list-processes--refresh): For a server use :host or
5689 :local as the address.
5690 (list-processes): Doc fix.
5691
5692 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
5693
5694 * lisp/mpc.el: Support password in host argument.
5695 (mpc--proc-connect): Parse and use new password element.
5696 Set mpc-proc variable instead of returning process.
5697 (mpc-proc): Adjust accordingly.
5698
5699 2012-08-03 Eli Zaretskii <eliz@gnu.org>
5700
5701 * whitespace.el (whitespace-display-mappings): Use Unicode
5702 codepoints, instead of emacs-mule codepoints. See
5703 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
5704 for the details.
5705
5706 * files.el (file-truename): Don't skip symlink-chasing part on
5707 windows-nt. Incorporate the resolution of 8+3 short aliases on
5708 Windows into the loop that recursively chases symlinks.
5709 Compare directory and its parent case-insensitively on MS-Windows and
5710 MS-DOS.
5711
5712 2012-08-03 Chong Yidong <cyd@gnu.org>
5713
5714 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
5715
5716 * sort.el (sort-regexp-fields): Doc fix.
5717
5718 2012-08-03 Tassilo Horn <tsdh@gnu.org>
5719
5720 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
5721 labels regex position point at the expected place.
5722
5723 2012-08-03 MON KEY <monkey@sandpframing.com>
5724
5725 * net/imap.el (imap-interactive-login, imap-authenticate)
5726 (imap-mailbox-lsub, imap-mailbox-list)
5727 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
5728 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
5729 (imap-parse-response): Doc fix.
5730
5731 2012-08-03 João Távora <joaotavora@gmail.com>
5732
5733 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
5734 if sexp scanning does not move point (Bug#5734).
5735
5736 2012-08-02 Tassilo Horn <tsdh@gnu.org>
5737
5738 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
5739 Add listings, minted, and ctable packages.
5740 (reftex-label-alist-builtin): Move listings, minted, and ctable
5741 entries before LaTeX.
5742 (reftex-label-alist): Docfix.
5743
5744 2012-08-02 Bastien Guerry <bzg@gnu.org>
5745
5746 * replace.el (occur): Fix docstring (bug#12122).
5747
5748 2012-08-02 Glenn Morris <rgm@gnu.org>
5749
5750 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
5751
5752 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
5753
5754 Obsolete alias inactivate-current-input-method-function (Bug#10150).
5755 * international/mule-cmds.el: Create
5756 inactivate-current-input-method-function as an obsolete alias for
5757 deactivate-current-input-method-function. See Katsumi Yamaoka in
5758 <http://bugs.gnu.org/10150#46>.
5759
5760 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
5761
5762 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
5763 of nested `if's.
5764
5765 2012-08-01 Glenn Morris <rgm@gnu.org>
5766
5767 * progmodes/autoconf.el (autoconf-definition-regexp):
5768 Add AH_TEMPLATE, adjust submatch numbering.
5769 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
5770 (autoconf-current-defun-function): Update for above change.
5771 (autoconf-current-defun-function): First skip to end of current word.
5772
5773 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
5774
5775 * calendar/cal-html.el (cal-html-insert-agenda-days):
5776 Fix typo. (Bug#12018)
5777
5778 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
5779
5780 Shell processes: enhancements to startup and CEDET compatibility.
5781 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
5782 (python-shell-make-comint): accept-process-output at startup.
5783 (run-python-internal): Set inferior-python-mode-hook to nil.
5784 (python-shell-internal-get-or-create-process): call sit-for.
5785 (python-preoutput-result): Add obsolete alias.
5786 (python-shell-internal-send-string): Use it.
5787 (python-shell-send-setup-code): Remove call to
5788 accept-process-output.
5789
5790 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
5791
5792 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
5793 (Bug#12108)
5794
5795 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
5796
5797 * calc-mode.el (calc-basic-simplification-mode): Rename from
5798 `calc-limited-simplification-mode'.
5799 (calc-alg-simplification-mode): New function.
5800 (calc-set-simplify-mode): Adjust message.
5801
5802 * calc.el (calc-set-mode-line): Adjust mode line display for
5803 basic simplification mode.
5804
5805 * calc-help.el (calc-m-prefix-help): Update help message.
5806
5807 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
5808 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
5809
5810 2012-07-31 Bastien Guerry <bzg@gnu.org>
5811
5812 * man.el (man): Fix comment. (bug#12101)
5813
5814 2012-07-31 Martin Rudalics <rudalics@gmx.at>
5815
5816 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
5817 Don't return a non-nil value when no suitable buffer was found.
5818
5819 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
5820
5821 * progmodes/python.el (run-python-internal): Disable font lock for
5822 internal shells.
5823
5824 2012-07-30 Stefan Merten <smerten@oekonux.de>
5825
5826 * textmodes/rst.el: Silence `checkdoc-ispell'.
5827 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
5828 (rst-official-version, rst-official-cvs-rev)
5829 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
5830 (rst-mode-map): New key binding.
5831
5832 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
5833
5834 Update .PHONY listings in makefiles.
5835 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
5836 autoloads, update-subdirs, updates, bzr-update, update-authors,
5837 compile-onefile, compile-calc, backup-compiled-files,
5838 compile-after-backup, compile-one-process, mh-autoloads,
5839 bootstrap-clean, distclean, maintainer-clean.
5840
5841 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
5842
5843 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
5844 (calc-set-mode-line): Don't display "AlgSimp ".
5845
5846 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
5847 (calc-lim-simplify-mode): New function.
5848 (calc-set-simplify-mode): Default to 'alg.
5849 (calc-default-simplify-mode): Make algebraic simplifications
5850 the default.
5851
5852 * calc/calc-ext.el (calc-init-extensions): Remove binding for
5853 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
5854
5855 * calc/calc-help.el (calc-m-prefix-help): Change messages to
5856 indicate new simplification modes.
5857
5858 * calc/README: Mention new default simplification mode.
5859
5860 * calc/calc.el (math-normalize-error): New variable.
5861 (math-normalize): Set `math-normalize-error' to t
5862 when there's an error.
5863
5864 * calc/calc-alg.el (math-simplify): Don't simplify when
5865 `math-normalize' returns an error.
5866
5867 2012-07-29 Eli Zaretskii <eliz@gnu.org>
5868
5869 * international/mule-cmds.el (set-locale-environment): Revert last
5870 change, since display-graphic-p returns nil when this function is
5871 called during startup. Instead...
5872
5873 * term/w32console.el (terminal-init-w32console): ...setup the
5874 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
5875
5876 2012-07-29 Juri Linkov <juri@jurta.org>
5877
5878 * simple.el (goto-line): Don't display default line number in the
5879 prompt because it should be displayed by `read-number' (bug#9952).
5880 Add the current line number to the defaults of `goto-line' to
5881 allow its easier modification by users with `M-n' (bug#9201).
5882
5883 * subr.el (read-number): Support multiple default values like in
5884 other minibuffer reading functions. Replace `read' with
5885 `string-to-number' for consistency with `number-to-string'.
5886
5887 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
5888
5889 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
5890 * emulation/viper-init.el (viper-deactivate-input-method-action):
5891 Rename from viper-inactivate-input-method-action.
5892 (viper-deactivate-input-method):
5893 Rename from viper-inactivate-input-method.
5894 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
5895 * international/mule-cmds.el (deactivate-input-method):
5896 Rename from inactivate-input-method.
5897 Also run input-method-deactivate-hook.
5898 (deactivate-current-input-method-function):
5899 Rename from inactivate-current-input-method-function.
5900 (input-method-deactivate-hook): New hook.
5901 (input-method-inactivate-hook): Mark obsolete.
5902 (inactivate-input-method): Mark obsolete.
5903
5904 * international/quail.el (quail-activate):
5905 Also run quail-deactivate-hook.
5906 (quail-deactivate): Rename from quail-inactivate.
5907 * international/robin.el (robin-activate):
5908 Also run robin-deactivate-hook.
5909 (robin-deactivate): Rename from robin-inactivate.
5910
5911 2012-07-29 Chong Yidong <cyd@gnu.org>
5912
5913 * simple.el (indicate-copied-region): New function.
5914 (kill-ring-save): Split off from here.
5915
5916 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
5917 (kill-rectangle): Set deactivate-mark to t on read-only error.
5918
5919 * register.el (copy-to-register, copy-rectangle-to-register):
5920 Deactivate the mark, and use indicate-copied-region (Bug#10056).
5921 (append-to-register, prepend-to-register): Call indicate-copied-region.
5922
5923 2012-07-29 Juri Linkov <juri@jurta.org>
5924
5925 * simple.el (async-shell-command-buffer): New defcustom.
5926 (shell-command): Use it. (Bug#4719)
5927
5928 2012-07-28 Eli Zaretskii <eliz@gnu.org>
5929
5930 * international/mule-cmds.el (set-locale-environment): In a
5931 console session on MS-Windows, set up keyboard and terminal
5932 encoding from the OEM codepage, not the ANSI codepage.
5933 (Bug#12055)
5934
5935 2012-07-28 Chong Yidong <cyd@gnu.org>
5936
5937 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
5938 gdb-get-location.
5939
5940 2012-07-28 Leo Liu <sdl.web@gmail.com>
5941
5942 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
5943 the alist (bug#12029).
5944
5945 2012-07-28 Eli Zaretskii <eliz@gnu.org>
5946
5947 * makefile.w32-in (custom-deps, finder-data, updates, compile)
5948 (compile-always, compile-first)
5949 ($(lisp)/calendar/cal-loaddefs.el)
5950 ($(lisp)/calendar/diary-loaddefs.el)
5951 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
5952 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
5953 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
5954 instead of on update-subdirs.
5955 (bootstrap-clean): Delete $(lisp)/subdirs.el.
5956
5957 2012-07-28 Chong Yidong <cyd@gnu.org>
5958
5959 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
5960 directory if vc-deduce-backend returns nil (Bug#7350).
5961
5962 * simple.el (delete-trailing-lines): New option.
5963 (delete-trailing-whitespace): Obey it (Bug#11879).
5964
5965 2012-07-28 David Engster <deng@randomsample.de>
5966
5967 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
5968 Explanation of new 'symbol-qnames feature in doc-strings.
5969 (xml-maybe-do-ns): Return expanded names as plain symbols if
5970 'symbol-qnames was provided in XML-NS argument (Bug#11916).
5971 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
5972
5973 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
5974
5975 Consistent completion in inferior python with emacs -nw.
5976 * progmodes/python.el (inferior-python-mode): replace "<tab>"
5977 binding in inferior-python-mode-map with "\t".
5978 (python-shell-completion-complete-at-point)
5979 (python-completion-complete-at-point): Remove interactive spec.
5980
5981 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
5982
5983 * calc/calccomp.el (math-compose-expr): Undo previous change.
5984
5985 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
5986
5987 * progmodes/python.el (python-mode-map): Add keybinding for
5988 run-python.
5989 (python-shell-make-comint): Fix pop-to-buffer call.
5990 (run-python): Autoload. New arg SHOW.
5991 (python-shell-get-or-create-process): Do not pop python process
5992 buffer.
5993
5994 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
5995
5996 * notifications.el (notifications-on-action-signal)
5997 (notifications-on-closed-signal): Use also the bus address for the map.
5998 (notifications-notify, notifications-close-notification)
5999 (notifications-get-capabilities): Add optional argument BUS.
6000
6001 2012-07-27 Tassilo Horn <tsdh@gnu.org>
6002
6003 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
6004 Add support for the lstlisting and minted environments, and for the
6005 ctable macro.
6006 * textmodes/reftex.el (reftex-compile-variables): Also recognize
6007 labels written in keyvals syntax.
6008
6009 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
6010
6011 * calc/calccomp.el (math-compose-expr): Use parentheses when
6012 there is a product in the denominator of a fraction.
6013
6014 2012-07-26 Eli Zaretskii <eliz@gnu.org>
6015
6016 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
6017 ($(lisp)/calendar/diary-loaddefs.el)
6018 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
6019 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
6020 Fixes failures in parallel bootstrap because subdirs.el is being
6021 rewritten while the autoload files are built at the same time,
6022 which needs to load subdirs.el.
6023
6024 2012-07-26 Martin Rudalics <rudalics@gmx.at>
6025
6026 * mouse.el (popup-menu): Fix doc-string and re-indent code.
6027 (mouse-drag-line): Don't exit tracking when a switch-frame or
6028 switch-window event occurs (Bug#12006).
6029
6030 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6031
6032 * mouse.el (popup-menu): Fix last change.
6033
6034 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6035
6036 Autoload from Lisp with more care. Follow aliases when looking for
6037 function properties.
6038 * subr.el (autoloadp): New function.
6039 (symbol-file): Use it.
6040 (function-get): New function.
6041 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
6042 autoload-do-load.
6043 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
6044 (lisp-indent-function):
6045 * emacs-lisp/gv.el (gv-get):
6046 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
6047 * emacs-lisp/byte-opt.el (byte-optimize-form):
6048 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
6049 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
6050 Use function-get.
6051 * emacs-lisp/cl.el: Don't propagate function properties any more.
6052
6053 * speedbar.el (speedbar-add-localized-speedbar-support):
6054 * emacs-lisp/disass.el (disassemble-internal):
6055 * desktop.el (desktop-load-file):
6056 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
6057 (describe-function-1):
6058 * emacs-lisp/find-func.el (find-function-noselect):
6059 * emacs-lisp/elp.el (elp-instrument-function):
6060 * emacs-lisp/advice.el (ad-has-proper-definition):
6061 * apropos.el (apropos-safe-documentation, apropos-macrop):
6062 * emacs-lisp/debug.el (debug-on-entry):
6063 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
6064 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
6065 * calc/calc.el (name): Use autoloadp & autoload-do-load.
6066
6067 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
6068
6069 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
6070 function, not an obsolete variable (Bug#12046).
6071
6072 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
6073
6074 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
6075
6076 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
6077
6078 * emacs-lisp/pp.el (pp-display-expression): Select old selected
6079 window only if it is still live (Bug#12034).
6080
6081 2012-07-25 Martin Rudalics <rudalics@gmx.at>
6082
6083 * subr.el (redirect-frame-focus): Add advertised calling
6084 convention (Bug#12030).
6085
6086 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
6087
6088 Prefer typical American spelling for "acknowledgment".
6089 * vc/add-log.el (change-log-acknowledgment): Rename from
6090 change-log-acknowledgement, with an alias for the old name.
6091
6092 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
6093
6094 * calc-alg.el (math-simplify-divide): Don't cross multiply
6095 in an equation when the lhs is a variable.
6096
6097 2012-07-24 Julien Danjou <julien@danjou.info>
6098
6099 * net/netrc.el (netrc-find-service-number, netrc-store-data):
6100 Remove, unused.
6101
6102 2012-07-23 Eli Zaretskii <eliz@gnu.org>
6103
6104 * startup.el (command-line): Don't display an empty user name in
6105 the error message about non-existent home directory, when
6106 init-file-user was set to an empty string. See
6107 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
6108 for the details and context.
6109
6110 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
6111
6112 * ses.el (ses-cell-formula-aset): New macro.
6113 (ses-cell-references-aset): New macro.
6114 (ses-cell-p): New function.
6115 (ses-rename-cell): Do no longer rely on complex operations like
6116 ses-cell-set-formula or ses-set-cell to change the cell and handle
6117 the undo at the same time, but rather use lower level new macros
6118 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
6119 the undo directly. Refresh the mode line.
6120
6121 2012-07-21 Leo Liu <sdl.web@gmail.com>
6122
6123 * progmodes/cc-cmds.el (c-defun-name):
6124 Use match-string-no-properties instead for consistency.
6125
6126 2012-07-20 Leo Liu <sdl.web@gmail.com>
6127
6128 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
6129 (Bug#7879)
6130
6131 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
6132
6133 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
6134
6135 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
6136 * progmodes/bug-reference.el, misearch.el: Provide themselves
6137 (bug#11915).
6138
6139 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
6140 of narrowed buffer (bug#11966).
6141
6142 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
6143
6144 * ses.el (ses-rename-cell): Set new name also in reference list of
6145 cells of which the renamed cell depends.
6146
6147 2012-07-20 Masatake YAMATO <yamato@redhat.com>
6148
6149 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
6150 to check whether menu-bar is shown or not. If not shown,
6151 show the menu-bar as a popup menu instead of using tmm.
6152 * mouse.el (popup-menu): Accept `point' as `position' argument.
6153
6154 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
6155
6156 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
6157 up inside string symbol literal (bug#11923).
6158
6159 2012-07-20 Eli Zaretskii <eliz@gnu.org>
6160
6161 * startup.el (fancy-startup-text): Read the whole tutorial, not
6162 just its first 256 bytes. Prevents gibberish in display of the
6163 tutorial title.
6164
6165 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
6166
6167 Drop idle buffer compaction due to an absence of the
6168 proved efficiency.
6169 * compact.el: Remove.
6170
6171 2012-07-19 Sam Steingold <sds@gnu.org>
6172
6173 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
6174 vc-bzr-pull & vc-bzr-merge-branch.
6175 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
6176 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
6177 for consistency with compilation-error-regexp-alist.
6178 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
6179 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
6180 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
6181 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
6182
6183 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
6184
6185 * emacs-lisp/chart.el: Use lexical-binding.
6186 (chart-emacs-storage): Don't hardcode the list of entries.
6187
6188 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
6189
6190 Next round of tweaks caused by Fgarbage_collect changes.
6191 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
6192
6193 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
6194
6195 Compact buffers when idle.
6196 * compact.el: New file.
6197
6198 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
6199
6200 * subr.el (eventp): Presume that if it looks vaguely like an event,
6201 it's an event (bug#10190).
6202
6203 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
6204
6205 Enhancements to ppss related code (thanks Stefan).
6206 * progmodes/python.el (python-indent-context)
6207 (python-indent-calculate-indentation, python-indent-dedent-line)
6208 (python-indent-electric-colon, python-nav-forward-block)
6209 (python-mode-abbrev-table)
6210 (python-info-assignment-continuation-line-p): Simplify checks
6211 for ppss context.
6212 (python-info-continuation-line-p): Cleanup.
6213 (python-info-ppss-context): Do not catch 'quote.
6214 (python-info-ppss-context-type)
6215 (python-info-ppss-comment-or-string-p): Simplify.
6216
6217 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
6218
6219 * progmodes/python.el: Enhancements to eldoc support.
6220 (python-info-current-symbol): New function.
6221 (python-eldoc-at-point): Use python-info-current-symbol.
6222 (python-info-current-defun): Fix cornercase on first defun scan.
6223 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
6224 and signal error when no inferior python process is available.
6225
6226 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
6227
6228 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
6229 assume it's always t.
6230 (vc-git-registered): Remove caching, the function is only called
6231 once.
6232 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
6233
6234 2012-07-18 Chong Yidong <cyd@gnu.org>
6235
6236 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
6237
6238 * simple.el (count-words): Report on narrowing (Bug#9959).
6239
6240 * bindings.el: Bind M-= to count-words.
6241
6242 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
6243
6244 2012-07-18 Masatake YAMATO <yamato@redhat.com>
6245
6246 * progmodes/sh-script.el (sh-imenu-generic-expression):
6247 Capture a function with `function' keyword and without parentheses
6248 like "function FOO" (bug#11856).
6249
6250 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
6251
6252 * window.el (split-window-sensibly): Make WINDOW argument
6253 optional.
6254
6255 2012-07-18 Chong Yidong <cyd@gnu.org>
6256
6257 * subr.el (keyboard-translate): Doc fix (Bug#7261).
6258
6259 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
6260 and make C-x 8 RET exit isearch (Bug#11439).
6261
6262 * international/iso-transl.el: Move isearch-mode-map key
6263 definitions to isearch.el.
6264
6265 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
6266
6267 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
6268 (eieio-defclass): Use gv-define-setter when possible.
6269
6270 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
6271
6272 Reflect recent changes in Fgarbage_collect.
6273 * emacs-lisp/chart.el (chart-emacs-storage): Change to
6274 reflect new format of data returned by Fgarbage_collect.
6275
6276 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
6277
6278 New utility functions + python-info-ppss-context fix (Bug#11910).
6279 * progmodes/python.el (python-info-beginning-of-block-statement-p)
6280 (python-info-ppss-comment-or-string-p): New functions.
6281 (python-info-ppss-context): Small fix for string check.
6282
6283 2012-07-17 Juri Linkov <juri@jurta.org>
6284
6285 * dired-aux.el (dired-do-async-shell-command): Doc fix.
6286 (dired-do-async-shell-command): Don't add `*' at the end of the
6287 command (Bug#11815).
6288 (dired-do-shell-command): Doc fix.
6289 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
6290 Join the individual commands using either "&" or ";" as the
6291 separator depending on the values of these trailing characters.
6292 At the end re-add the trailing "&". (Bug#10598)
6293
6294 * simple.el (async-shell-command): Sync the interactive spec with
6295 `shell-command'. Doc fix.
6296 (shell-command): Doc fix.
6297
6298 2012-07-17 Juri Linkov <juri@jurta.org>
6299
6300 * descr-text.el (describe-char): Fix format args. (Bug#10129)
6301
6302 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
6303
6304 Final renames and doc fixes for movement commands (bug#11899).
6305 * progmodes/python.el (python-nav-beginning-of-statement):
6306 Rename from python-nav-statement-start.
6307 (python-nav-end-of-statement): Rename from
6308 python-nav-statement-end.
6309 (python-nav-beginning-of-block): Rename from
6310 python-nav-block-start.
6311 (python-nav-end-of-block): Rename from python-nav-block-end.
6312
6313 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
6314
6315 * progmodes/python.el (python-shell-send-string-no-output):
6316 Allow accept-process-output to quit, keeping shell process ready for
6317 future interactions (Bug#11868).
6318
6319 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
6320
6321 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
6322
6323 * emacs-lisp/elint.el (elint-find-args-in-code):
6324 Use help-function-arglist, so as to handle lexical byte-code.
6325
6326 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
6327 change (bug#11826).
6328
6329 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
6330
6331 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
6332 Avoid spuriously marking the buffer as modified because of c-is-sws.
6333
6334 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
6335 as not-a-comment (bug#11946).
6336
6337 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
6338 for uninterned vars.
6339
6340 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
6341 Use read-event since we don't really want to read chars but bytes.
6342
6343 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
6344 $$..$$ but also $..$ using regexps (bug#11953).
6345 Use tex-verbatim for \url and \path.
6346 (tex-font-lock-keywords): Define as defconst like the others.
6347 (tex-common-initialization): Don't use font-lock-syntax-table any more.
6348
6349 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
6350
6351 * international/mule-cmds.el (ucs-insert): Make it an obsolete
6352 alias for insert-char.
6353
6354 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
6355
6356 * progmodes/python.el: Simplified imenu implementation.
6357 (python-nav-jump-to-defun): Remove command.
6358 (python-mode-map): Use `imenu' instead.
6359 (python-nav-list-defun-positions-cache)
6360 (python-imenu-include-defun-type, python-imenu-make-tree)
6361 (python-imenu-subtree-root-label, python-imenu-index-alist):
6362 Remove vars.
6363 (python-nav-list-defun-positions, python-nav-read-defun)
6364 (python-imenu-tree-assoc, python-imenu-make-element-tree)
6365 (python-imenu-make-tree, python-imenu-create-index):
6366 Remove functions.
6367 (python-mode): Update to interact with imenu by setting
6368 `imenu-extract-index-name-function' only.
6369
6370 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
6371
6372 * progmodes/python.el: Enhancements to navigation commands.
6373 (python-nav-backward-sentence)
6374 (python-nav-forward-sentence): Remove.
6375 (python-nav-backward-statement, python-nav-forward-statement)
6376 (python-nav-statement-start, python-nav-statement-end)
6377 (python-nav-backward-block, python-nav-forward-block)
6378 (python-nav-block-start, python-nav-block-end)
6379 (python-nav-forward-sexp-function)
6380 (python-info-current-line-comment-p)
6381 (python-info-current-line-empty-p): New functions.
6382 (python-indent-context): Use `python-nav-statement-start'.
6383
6384 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
6385
6386 * eshell/em-ls.el (eshell/ls): Use `apply'.
6387
6388 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
6389 multi-hops, instead of Tramp internals.
6390
6391 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
6392
6393 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
6394 when F1 and F2 are located on different hosts.
6395
6396 2012-07-14 Chong Yidong <cyd@gnu.org>
6397
6398 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
6399 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
6400 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
6401 (xterm-mouse--read-event-sequence-1000)
6402 (xterm-mouse--read-event-sequence-1006): New functions. For old
6403 mouse protocol, handle M-mouse-X events correctly.
6404 (xterm-mouse-event): New arg specifying mouse protocol.
6405 (turn-on-xterm-mouse-tracking-on-terminal)
6406 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
6407 sequence to toggle extended coordinates on newer XTerms.
6408 This appears to be harmless on terminals which do not support this.
6409
6410 2012-07-14 Leo Liu <sdl.web@gmail.com>
6411
6412 Add fringe bitmap indicators for flymake. (Bug#11253)
6413 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
6414 (flymake-make-overlay): New arg BITMAP.
6415 (flymake-error-bitmap, flymake-warning-bitmap)
6416 (flymake-fringe-indicator-position): New user variables.
6417
6418 * fringe.el: New bitmap exclamation-mark.
6419
6420 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
6421
6422 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
6423 also (Bug#7879).
6424
6425 2012-07-14 Chong Yidong <cyd@gnu.org>
6426
6427 * electric.el (electric-pair-post-self-insert-function): Fix pair
6428 insertion in empty-region case (Bug#11520).
6429
6430 2012-07-14 Chong Yidong <cyd@gnu.org>
6431
6432 * bindings.el: Consolidate ctl-x-r-map bindings.
6433 Bind copy-rectangle-as-kill to C-x r w.
6434
6435 * rect.el, register.el: Move bindings to bindings.el.
6436
6437 2012-07-14 Reuben Thomas <rrt@sc3d.org>
6438
6439 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
6440
6441 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
6442
6443 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
6444
6445 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
6446
6447 * bindings.el (top): Use `mapc' instead of `mapcar'.
6448
6449 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
6450
6451 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
6452
6453 * progmodes/sql.el (sql-comint): Suppress the check for program on
6454 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
6455 (Bug#11908)
6456
6457 2012-07-13 Chong Yidong <cyd@gnu.org>
6458
6459 * bindings.el: Assign a non-nil permanent-local property to
6460 per-buffer variables which lack a default value (Bug#11930).
6461
6462 * help-fns.el (describe-variable): In the "automatically becomes
6463 local" notice, take note of permanent-local variables.
6464
6465 2012-07-13 Chong Yidong <cyd@gnu.org>
6466
6467 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
6468 to allow printing the message when called from Lisp.
6469
6470 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6471 Remove toggle-read-only.
6472
6473 * bs.el (bs-toggle-readonly):
6474 * buff-menu.el (Buffer-menu-toggle-read-only):
6475 Remove with-no-warnings around toggle-read-only.
6476
6477 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
6478 Remove with-no-warnings around toggle-read-only.
6479 (ffap-read-only, ffap-read-only-other-window)
6480 (ffap-read-only-other-frame): Callers changed.
6481
6482 * help-mode.el: Don't require view package.
6483 (help-mode-finish): Set buffer-read-only instead of calling
6484 toggle-read-only.
6485
6486 * bindings.el (mode-line-toggle-read-only):
6487 * dired.el (dired-toggle-read-only):
6488 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
6489 with non-nil second arg.
6490
6491 * emacs-lisp/eieio-custom.el (eieio-customize-object):
6492 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
6493 directly.
6494
6495 2012-07-12 Eli Zaretskii <eliz@gnu.org>
6496
6497 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
6498 not incf.
6499
6500 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
6501
6502 More CL cleanups and reduction of use of cl.el.
6503 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
6504 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
6505 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
6506 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
6507 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
6508 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
6509 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
6510 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
6511 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
6512 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
6513 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
6514 * eshell/em-cmpl.el, eshell/em-banner.el:
6515 * calendar/parse-time.el: Use cl-lib.
6516 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
6517 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
6518 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
6519 * term/ns-win.el, term.el, shell.el, ps-samp.el:
6520 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
6521 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
6522 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
6523 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
6524 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
6525 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
6526 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
6527 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
6528 `lambda' rather than with `quote'.
6529 (eshell-do-opt): Adjust accordingly.
6530 (eshell-process-option): Simplify.
6531 * eshell/esh-var.el:
6532 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
6533 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
6534 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
6535 to `pcase--dontcare'.
6536 * emacs-lisp/cl.el (labels): Mark obsolete.
6537 (cl--letf, letf): Move to cl-lib.
6538 (cl--letf*, letf*): Remove.
6539 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
6540 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
6541 (cl-progv): Rewrite.
6542 (cl--letf, cl-letf): Move from cl.el.
6543 (cl-letf*): New macro.
6544 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
6545
6546 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
6547
6548 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
6549
6550 2012-07-11 Chong Yidong <cyd@gnu.org>
6551
6552 * vc/log-edit.el (log-edit-vc-backend): New variable.
6553 (log-edit): Doc fix.
6554
6555 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
6556 argument of log-edit to set up all local variables.
6557 (vc-start-logentry): New optional arg specifying VC backend.
6558
6559 * vc/vc.el (vc-checkin): Use it.
6560 (vc-deduce-fileset): Handle Log Edit buffers.
6561 (vc-diff): Make first argument optional too.
6562
6563 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
6564
6565 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
6566
6567 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
6568 command, just in case. The function is not needed anymore.
6569 (eshell-external-command): Do not call `eshell-remote-command'.
6570
6571 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
6572
6573 Reduce use of (require 'cl).
6574 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
6575 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
6576 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
6577 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
6578 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
6579 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
6580 * battery.el, avoid.el, abbrev.el: Use cl-lib.
6581 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
6582 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
6583 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
6584 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
6585 * calculator.el, autorevert.el, apropos.el: Don't require CL.
6586 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
6587 (byte-compile-unfold-bcf, byte-compile-check-variable):
6588 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
6589 (byte-compile-nilconstp):
6590 * emacs-lisp/autoload.el (make-autoload): Use pcase.
6591 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
6592
6593 * emacs-lisp/gv.el (cond): Make it a valid place.
6594 (if): Simplify slightly.
6595
6596 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
6597 (pcase--self-quoting-p): New function.
6598 (pcase--u1): Use it.
6599
6600 2012-07-10 Glenn Morris <rgm@gnu.org>
6601
6602 * emacs-lisp/authors.el (authors-fixed-entries):
6603 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
6604
6605 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
6606
6607 Rename configure.in to configure.ac (Bug#11603).
6608 * emacs-lisp/authors.el (authors-canonical-file-name):
6609 * progmodes/autoconf.el (autoconf-mode):
6610 Prefer configure.ac to configure.in.
6611
6612 2012-07-08 Chong Yidong <cyd@gnu.org>
6613
6614 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
6615 Implement the mouse-1-click-follows-link handling properly.
6616
6617 * info.el (Info-link-keymap): Use follow-link mechanism for
6618 header-line links (Bug#374).
6619
6620 * simple.el (deactivate-mark): Do not set the primary selection
6621 if another program has acquired it (Bug#11772).
6622
6623 2012-07-07 Kevin Ryde <user42@zip.com.au>
6624
6625 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
6626 (woman-decode-region): Replace escaped-escapes without destroying
6627 bold or underline (Bug#11552).
6628 (woman2-process-escapes): Handle nofill regions (Bug#11591).
6629
6630 2012-07-07 Chong Yidong <cyd@gnu.org>
6631
6632 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
6633 (interprogram-cut-function, interprogram-paste-function):
6634 Mention that we typically mean the clipboard.
6635
6636 2012-07-06 Glenn Morris <rgm@gnu.org>
6637
6638 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
6639
6640 * files.el (toggle-read-only): Restrict message to interactive use.
6641
6642 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
6643
6644 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
6645
6646 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
6647
6648 2012-07-06 Glenn Morris <rgm@gnu.org>
6649
6650 * Makefile.in (compile-one-process): Rename from "recompile".
6651
6652 * Makefile.in (bzr-update): "compile" is the same as "recompile
6653 autoloads", but parallelizable, so use that instead.
6654
6655 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
6656
6657 * window.el (quit-window): Always restore window height when
6658 it's saved in quit-restore parameter (Bug#11810).
6659
6660 2012-07-06 Glenn Morris <rgm@gnu.org>
6661
6662 * simple.el (kill-whole-line): Doc tweak.
6663
6664 2012-07-06 Eli Zaretskii <eliz@gnu.org>
6665
6666 * files.el (file-relative-name): Compare file names
6667 case-insensitively if on MS-Windows or MS-DOS, or if
6668 read-file-name-completion-ignore-case is non-nil. Don't use
6669 case-fold-search for this purpose. (Bug#11827)
6670
6671 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
6672
6673 * calendar/cal-dst.el (calendar-current-time-zone):
6674 Return calendar-current-time-zone-cache if non-nil.
6675
6676 2012-07-17 Masatake YAMATO <yamato@redhat.com>
6677 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
6678
6679 * calendar/cal-dst.el (calendar-current-time-zone):
6680 Return calendar-current-time-zone-cache if non-nil.
6681
6682 2012-07-06 Glenn Morris <rgm@gnu.org>
6683
6684 * Makefile.in (cvs-update): Remove old alias.
6685
6686 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
6687
6688 Sync with Tramp 2.2.6-pre.
6689
6690 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
6691 compatible declaration.
6692
6693 * net/tramp-cmds.el (tramp-append-tramp-buffers):
6694 Protect `list-load-path-shadows' call.
6695
6696 * net/tramp-compat.el (top): Require packages, which aren't
6697 autoloaded anymore for XEmacs. Protect call of
6698 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
6699 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
6700 it hurts at least for SXEmacs.
6701 (tramp-compat-temporary-file-directory): In XEmacs, there is no
6702 standard-value for `temporary-file-directory'.
6703
6704 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
6705 Redirect stderr to /dev/null.
6706 (tramp-sh-handle-write-region): uid and gid can be floats.
6707 Reported by Russell Sim <russell.sim@gmail.com>.
6708 (tramp-sh-handle-vc-registered): Hide errors.
6709 (tramp-vc-file-name-handler): Use dummy results for `process-file'
6710 and `start-file-process'.
6711 (tramp-maybe-open-connection): Check also whether `non-essential'
6712 is bound.
6713
6714 2012-07-04 Chong Yidong <cyd@gnu.org>
6715
6716 * xml.el (xml--parse-buffer): Use xml-syntax-table.
6717 (xml-parse-tag): Likewise, and avoid changing entity tables.
6718 (xml-syntax-table): Define from scratch, making sure not to give
6719 x2000 and other Unicode spaces whitespace syntax, since those are
6720 not spaces in XML.
6721 (xml-parse-fragment): Delete unused function.
6722 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
6723 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
6724 (xml-entity-ref, xml-pe-reference-re)
6725 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
6726 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
6727 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
6728 (xml-entity-value-re): Use syntax references in regexps where
6729 possible; no need to define inside a let-binding.
6730 (xml-parse-dtd): Use xml-pe-reference-re.
6731 (xml-entity-or-char-ref-re): New defconst.
6732 (xml-parse-string, xml-substitute-special): Use it.
6733
6734 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
6735
6736 * files.el (locate-dominating-file): Allow `name' to be a predicate.
6737 (find-file--read-only): New function.
6738 (find-file-read-only, find-file-read-only-other-window)
6739 (find-file-read-only-other-frame): Use it.
6740 (insert-file-contents-literally): Don't `fset'.
6741 (get-free-disk-space): Use locate-dominating-file.
6742
6743 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
6744 function is already compiled.
6745
6746 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
6747
6748 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
6749
6750 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
6751 files on the same host.
6752
6753 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
6754
6755 * help-fns.el (describe-function-1): Only call
6756 help-fns--autoloaded-p when we have a file name. (Bug#11848)
6757
6758 2012-07-03 Chong Yidong <cyd@gnu.org>
6759
6760 * xml.el: Protect parser against XML bombs.
6761 (xml-entity-expansion-limit): New variable.
6762 (xml-parse-string, xml-substitute-special): Use it.
6763 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
6764
6765 2012-07-03 Glenn Morris <rgm@gnu.org>
6766
6767 * progmodes/bug-reference.el (bug-reference-bug-regexp):
6768 Allow linking to specific messages in debbugs reports (eg 123#5).
6769
6770 2012-07-02 Chong Yidong <cyd@gnu.org>
6771
6772 * xml.el: Fix entity and character reference expansion, allowing
6773 them to expand into markup as per XML spec.
6774 (xml-default-ns): New variable.
6775 (xml-entity-alist): Use XML spec definitions for lt and amp.
6776 (xml-parse-region): Make first two arguments optional.
6777 Discard text properties.
6778 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
6779 All callers changed.
6780 (xml-parse-tag): Call xml-parse-tag-1. For backward
6781 compatibility, this function should not modify buffer contents.
6782 (xml-parse-tag-1): Fix opening-tag regexp.
6783 (xml-parse-string): Rewrite, handling entity and character
6784 references properly.
6785 (xml--entity-replacement-text): Signal an error if a parameter
6786 entity is undefined.
6787
6788 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
6789
6790 * comint.el (comint-output-filter): Filter out repeated prompts.
6791
6792 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
6793 and file-name-absolute-p.
6794 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
6795 internal calls.
6796
6797 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
6798
6799 Spelling fixes.
6800 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
6801 Rename from byte-compile--refiy-function. All uses changed.
6802
6803 2012-07-01 Chong Yidong <cyd@gnu.org>
6804
6805 * xml.el (xml--parse-buffer): New function. Move most of
6806 xml-parse-region here.
6807 (xml-parse-region): Copy region into a temporary buffer, since
6808 parameter entity substitution requires changing buffer contents.
6809 Use xml--parse-buffer.
6810 (xml-parse-file): Use xml--parse-buffer.
6811 (xml-parse-dtd): Make parameter entity substitution work right.
6812 Use proper regexps for ELEMENT declarations (Bug#7172).
6813
6814 2012-06-30 Glenn Morris <rgm@gnu.org>
6815
6816 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
6817
6818 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
6819 Remove outdated and unnecessary dbus declarations.
6820
6821 2012-06-30 Eli Zaretskii <eliz@gnu.org>
6822
6823 * emacs-lisp/timer.el (timer-until): Subtract results of
6824 float-time, instead of taking float-time of the result of
6825 time-subtract, since float-time signals an error for negative time
6826 arguments.
6827
6828 2012-06-30 Chong Yidong <cyd@gnu.org>
6829
6830 * xml.el (xml-*-re): Convert defvars into defconsts, and
6831 eval-and-compile them so eval-and-compile works on derivatives.
6832 (xml--entity-replacement-text): Use eval-and-comple.
6833
6834 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
6835
6836 * vc/vc-git.el (vc-git-registered): Use cache property
6837 `git-registered'.
6838 (vc-git-mode-line-string): Call `vc-working-revision' instead of
6839 `vc-git-working-revision' in order to benefit from the cache.
6840 (vc-git-root): Use cache property `git-root'. (Bug#11757)
6841
6842 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
6843
6844 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
6845 removed (likely outside Emacs). (Bug#11757)
6846
6847 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
6848
6849 * emacs-lisp/cl-lib.el: Require macroexp.
6850
6851 2012-06-30 Chong Yidong <cyd@gnu.org>
6852
6853 * xml.el: Implement XML parameter entities.
6854 (xml-parameter-entity-alist): New variable.
6855 (xml-parse-region, xml-parse-fragment): Preserve previous values
6856 of xml-entity-alist and xml-parameter-entity-alist, so that
6857 repeated calls on different documents do not change them.
6858 (xml-parse-tag): Fix doctype regexp.
6859 (xml--entity-replacement-text): New function.
6860 (xml-parse-dtd): Use it. Don't handle system entities; doing that
6861 properly requires url retrieval which is unimplemented.
6862 (xml-escape-string): Doc fix.
6863
6864 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
6865
6866 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
6867
6868 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
6869
6870 * fringe.el (fringe-mode): Doc fix.
6871
6872 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
6873
6874 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
6875 is non-nil.
6876 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
6877 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
6878
6879 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
6880
6881 * calendar/cal-dst.el (calendar-current-time-zone):
6882 Return calendar-current-time-zone-cache if non-nil.
6883
6884 2012-06-29 Masatake YAMATO <yamato@redhat.com>
6885
6886 * progmodes/which-func.el (which-func-format):
6887 Add mouse-face. (Bug#11698)
6888
6889 2012-06-29 Leo Liu <sdl.web@gmail.com>
6890
6891 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
6892
6893 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
6894
6895 * minibuffer.el (minibuffer-confirm-exit-commands):
6896 Add completion-at-point (bug#11725).
6897
6898 2012-06-29 Glenn Morris <rgm@gnu.org>
6899
6900 * progmodes/f90.el (f90-font-lock-keywords-2):
6901 Add some preprocessor elements. (Bug#10499)
6902
6903 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
6904
6905 * progmodes/cperl-mode.el (cperl-update-syntaxification):
6906 Use syntax-propertize (bug#11739).
6907
6908 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
6909
6910 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
6911
6912 2012-06-28 Julien Danjou <julien@danjou.info>
6913
6914 * term.el (term-handle-colors-array): Use a set of new faces to
6915 color the terminal. Also uses :inverse-video property.
6916 (term-default-fg-color): Set to nil by default, deprecate in favor
6917 of `term-face'.
6918 (term-default-bg-color): Set to nil by default, deprecate in favor
6919 of `term-face'.
6920 (term-current-face): Use `term-face' by default.
6921 (term-bold-attribute): Variable deleted.
6922
6923 2012-06-28 Glenn Morris <rgm@gnu.org>
6924
6925 * simple.el (completion-list-mode-finish):
6926 Don't use toggle-read-only. (Since completion-list-mode has
6927 a special mode-class, it wasn't doing anything extra anyway.)
6928
6929 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
6930
6931 Make inlining of other-mode interpreted functions work (bug#11799).
6932 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
6933 (byte-compile): Use it to fix compilation of lexical-binding closures.
6934 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
6935 function, if needed.
6936
6937 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
6938
6939 * help-mode.el (help-make-xrefs): Don't just withstand
6940 cyclic-variable-indirection but any error in documentation-property.
6941
6942 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
6943 memory use.
6944 * bindings.el (bindings--define-key): New function.
6945 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
6946 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
6947 * bindings.el: Use it to purecopy define-key bindings.
6948
6949 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
6950
6951 * emacs-lisp/cl.el (flet): Mark obsolete.
6952 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
6953 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
6954 * progmodes/js.el (js-c-fill-paragraph):
6955 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
6956 (ebrowse-switch-member-buffer-to-derived-class):
6957 * play/5x5.el (5x5-solver): Use cl-flet.
6958
6959 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
6960 (cl--symbol-function): New macro.
6961 (cl--letf, cl--letf*): Use it.
6962
6963 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
6964 Strip "toggle-" if any.
6965
6966 2012-06-27 Glenn Morris <rgm@gnu.org>
6967
6968 * info.el (Info-default-directory-list): Move here from paths.el.
6969 * paths.el: Remove file, which is now empty.
6970 * loadup.el: No longer load "paths".
6971
6972 * custom.el (custom-initialize-delay): Doc fix.
6973
6974 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6975 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
6976 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
6977 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
6978 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
6979 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
6980 * eshell/eshell.el (eshell-defgroup): Remove alias.
6981
6982 2012-06-27 Chong Yidong <cyd@gnu.org>
6983
6984 * help.el (help-enable-auto-load): New variable.
6985
6986 * help-fns.el (help-fns--autoloaded-p): New function.
6987 (describe-function-1): Refer to a function as "autoloaded" if it
6988 was autoloaded at any time in the past. Perform autoloading if
6989 help-enable-auto-load is non-nil.
6990
6991 2012-06-26 Eli Zaretskii <eliz@gnu.org>
6992
6993 * makefile.w32-in (compile, compile-always): Depend on
6994 update-subdirs, not on subdirs.el. Otherwise, several different
6995 sub-targets of 'bootstrap' running in parallel could
6996 simultaneously write to subdirs.el, producing a garbled file.
6997
6998 2012-06-26 Sam Steingold <sds@gnu.org>
6999
7000 * files.el (file-name-base): New convenience function.
7001 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
7002 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
7003 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
7004 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
7005 * textmodes/ispell.el, textmodes/reftex-ref.el:
7006 * textmodes/tex-mode.el: Use it.
7007 Did not touch cedet and org because they are maintained elsewhere.
7008
7009 2012-06-26 Martin Rudalics <rudalics@gmx.at>
7010
7011 * calendar/calendar.el (calendar-exit): Don't try to delete or
7012 iconify last frame. See:
7013 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
7014
7015 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
7016
7017 * server.el (server-process-filter): Remember dir in the
7018 process's `server-client-directory' properties.
7019
7020 2012-06-24 Chong Yidong <cyd@gnu.org>
7021
7022 * xml.el (xml-parse-tag): Correctly handle comment embedded in
7023 non-tag text.
7024
7025 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
7026
7027 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
7028
7029 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
7030
7031 * help-fns.el (describe-variable): Don't croak when doc is not found.
7032 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
7033 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
7034 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
7035 * emacs-lisp/smie.el (smie-next-sexp): CSE.
7036 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
7037 ((lambda ..) ..).
7038 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
7039
7040 2012-06-23 Chong Yidong <cyd@gnu.org>
7041
7042 * info.el (Info-mouse-follow-link): Accept symbol values of
7043 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
7044 (Info-fontify-node): Use Info-link-keymap for all navigation
7045 buttons, with link-args property to perform the desired action.
7046 (Info-link-keymap): Doc fix.
7047 (Info-next-link-keymap, Info-prev-link-keymap)
7048 (Info-up-link-keymap): Delete now-unused keymaps.
7049
7050 2012-06-23 Chong Yidong <cyd@gnu.org>
7051
7052 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
7053
7054 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
7055 system abbrevs.
7056
7057 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
7058
7059 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
7060
7061 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
7062 (bug#11719).
7063
7064 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
7065 the requote function doesn't work properly (bug#11714).
7066
7067 2012-06-23 Glenn Morris <rgm@gnu.org>
7068
7069 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
7070
7071 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7072
7073 Further GV/CL cleanups.
7074 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
7075 gv-expander.
7076 (gv--defun-declaration): New function.
7077 (defun-declarations-alist): Use it.
7078 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
7079 (gv-place): Autoload.
7080 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
7081 original definition of dotimes and dolist.
7082 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
7083 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
7084 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
7085 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
7086 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
7087 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
7088 to the function's definition.
7089 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
7090 * window.el:
7091 * files.el:
7092 * faces.el:
7093 * env.el: Don't use CL.
7094
7095 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
7096
7097 Support higher-resolution time stamps (Bug#9000).
7098
7099 * calendar/time-date.el (with-decoded-time-value): New arg
7100 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
7101 (encode-time-value): New optional arg PICO. New type 3.
7102 (time-to-seconds) [!float-time]: Support the new picoseconds
7103 component if it's used.
7104 (seconds-to-time, time-subtract, time-add):
7105 Support ps-resolution time stamps as well.
7106
7107 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
7108 (timerp): Timer vectors now have length 9, not 8.
7109 (timer--time): Support new-style (4-part) time stamps.
7110 (timer-next-integral-multiple-of-time): Time stamps now have
7111 picosecond resolution, so take a bit more care about rounding.
7112 (timer-relative-time, timer-inc-time): New optional arg psecs.
7113 (timer-set-time-with-usecs): Set psecs to 0.
7114 (timer--activate): Check psecs component, too.
7115
7116 * proced.el (proced-time-lessp): Support ps-resolution stamps.
7117
7118 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7119
7120 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
7121 Move the non-essential binding to the post/pre-command-hook where it is
7122 more obviously correct.
7123
7124 * subr.el (read-passwd): Don't use a history at all.
7125 * savehist.el (savehist-save): Remove password saved accidentally
7126 because of the above bug.
7127
7128 2012-06-22 Bastien Guerry <bzg@gnu.org>
7129
7130 * files.el (toggle-read-only): Display a message telling whether
7131 the buffer is read-only or not (bug#11726).
7132
7133 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7134
7135 * emacs-lisp/gv.el: New file.
7136 * subr.el (push, pop): Extend to generalized variables.
7137 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
7138 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
7139 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
7140 gv-define-simple-setter, and gv-define-expander.
7141 Remove setf-methods defined in gv. Rename cl-setf -> setf.
7142 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
7143 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
7144 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
7145 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
7146 gv-letplace.
7147 (cl-defstruct): Don't define setf-method any more.
7148 * emacs-lisp/cl.el (flet): Don't autoload.
7149 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
7150 (define-setf-expander, defsetf, define-modify-macro)
7151 (cl-struct-setf-expander): Move from cl-lib.el.
7152 * emacs-lisp/syntax.el:
7153 * emacs-lisp/ewoc.el:
7154 * emacs-lisp/smie.el:
7155 * emacs-lisp/cconv.el:
7156 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
7157 (timer--time): Use gv-define-simple-setter.
7158 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
7159 to avoid coding-system problems in subr.el. Adjust all users.
7160 (macroexp--maxsize, macroexp-small-p): New functions.
7161 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
7162 * scroll-bar.el (scroll-bar-mode):
7163 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
7164 (normal-erase-is-backspace-mode): Don't use the `eq' place.
7165 * winner.el (winner-configuration, winner-make-point-alist)
7166 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
7167 * files.el (locate-file-completion-table): Avoid list*.
7168
7169 2012-06-22 Chong Yidong <cyd@gnu.org>
7170
7171 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
7172 (dired-create-files): Doc fix (Bug#11329).
7173 (dired-do-copy): Doc fix (Bug#11334).
7174 (dired-mark-read-string): Doc fix (Bug#11553).
7175
7176 * dired.el (dired-recursive-copies, dired-recursive-deletes):
7177 Doc fix (Bug#11326).
7178 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
7179 (dired-dwim-target): Doc fix.
7180
7181 * wdired.el (wdired-mode): Doc fix.
7182
7183 2012-06-22 Glenn Morris <rgm@gnu.org>
7184
7185 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
7186 (pcmpl-rpm-cache-stamp-file): New constant.
7187 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
7188 (pcmpl-rpm-packages): Optionally cache list of packages.
7189
7190 * pcmpl-rpm.el (pcmpl-rpm): New group.
7191 (pcmpl-rpm-query-options): New option.
7192 (pcmpl-rpm-packages): No need to inline it.
7193 Use pcmpl-rpm-query-options.
7194
7195 * calendar/calendar.el (calendar-in-read-only-buffer):
7196 Avoid some needless mode changes.
7197
7198 2012-06-21 Chong Yidong <cyd@gnu.org>
7199
7200 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
7201 (desktop-path): Remove . from the default value (Bug#10977).
7202 (desktop-read): Use user-emacs-directory if desktop-path is nil.
7203
7204 2012-06-20 Chong Yidong <cyd@gnu.org>
7205
7206 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
7207
7208 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
7209
7210 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
7211 (bug#11201).
7212
7213 2012-06-20 Chong Yidong <cyd@gnu.org>
7214
7215 * term.el (term-window-width): Handle the case of a missing right
7216 fringe (Bug#8837).
7217 (term-check-size): Use window-text-height (Bug#5445).
7218 (term-mode): Use define-derived-mode. Minor cleanups.
7219 Set font-lock-defaults (Bug#7692).
7220 (term-move-columns, term-insert-char, term-emulate-terminal)
7221 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
7222
7223 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
7224
7225 * net/ange-ftp.el (ange-ftp-get-passwd):
7226 Bind `enable-recursive-minibuffers'.
7227 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
7228
7229 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
7230
7231 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
7232
7233 2012-06-19 Glenn Morris <rgm@gnu.org>
7234
7235 * progmodes/python.el (python-mode): Derive from prog-mode.
7236
7237 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
7238
7239 * emulation/edt.el (edt-default-menu-bar-update-buffers)
7240 (edt-user-menu-bar-update-buffers): New functions.
7241 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
7242
7243 2012-06-19 Chong Yidong <cyd@gnu.org>
7244
7245 * subr.el (with-selected-window): Preserve the selected window's
7246 terminal's top-frame (Bug#4702).
7247
7248 * window.el (save-selected-window): Likewise.
7249
7250 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7251
7252 * progmodes/python.el (python-rx-constituents): Move backquote.
7253 (python-skeleton-define, python-define-auxiliary-skeleton):
7254 Use `declare'.
7255
7256 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
7257
7258 * minibuffer.el (read-file-name-default): Revert the patch from
7259 2012-06-17.
7260
7261 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7262
7263 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
7264 (pcase--u1, pcase--q1): Don't use apply-partially.
7265
7266 2012-06-18 Glenn Morris <rgm@gnu.org>
7267
7268 * progmodes/python.el (python-proc, python-buffer)
7269 (python-send-receive, python-send-string): Fix obsolete versions.
7270
7271 2012-06-18 Martin Rudalics <rudalics@gmx.at>
7272
7273 * window.el (special-display-p): Completely remove stringp
7274 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
7275
7276 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
7277
7278 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
7279
7280 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
7281
7282 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
7283 * net/tramp-sh.el (tramp-maybe-open-connection):
7284 Throw if `non-essential' is non-nil.
7285
7286 2012-06-17 Martin Rudalics <rudalics@gmx.at>
7287
7288 * window.el (special-display-p): Signal an error if BUFFER-NAME
7289 is not a string (Bug#11713).
7290
7291 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
7292
7293 * progmodes/python.el (python-info-beginning-of-backslash):
7294 Rename from python-info-beginning-of-backlash, as a spelling fix.
7295
7296 2012-06-17 Chong Yidong <cyd@gnu.org>
7297
7298 * term.el (term-emulate-terminal): If term-check-size is called,
7299 move point to the process mark without resetting point (Bug#4635).
7300
7301 2012-06-17 Glenn Morris <rgm@gnu.org>
7302
7303 * international/mule-cmds.el (mule-menu-keymap)
7304 (set-language-environment, set-locale-environment): Doc tweaks.
7305
7306 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
7307
7308 * cus-face.el (custom-face-attributes): Add wave-style underline
7309 attribute.
7310 * faces.el (set-face-attribute): Update docstring to describe
7311 wave-style underline attribute.
7312
7313 2012-06-16 Chong Yidong <cyd@gnu.org>
7314
7315 * term/xterm.el (terminal-init-xterm): Discard input before
7316 querying background mode (Bug#10959).
7317
7318 2012-06-16 Stefan Merten <smerten@oekonux.de>
7319
7320 * textmodes/rst.el: Added and corrected some comments.
7321 (rst-re-alist-def): Improve symbol syntax.
7322 (rst-mode-syntax-table): Correct syntax entries.
7323 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
7324 (rst-official-version, rst-official-cvs-rev): Update version
7325 information.
7326
7327 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
7328
7329 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
7330 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
7331
7332 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
7333
7334 * progmodes/python.el: New python.el merge.
7335 (python-guess-indent): Obsolete var.
7336 (python-indent-guess-indent-offset): New defcustom.
7337 (python-indent): Obsolete var.
7338 (python-indent-offset): New defcustom.
7339 (python-python-command, python-jython-command): Delete var.
7340 (python-shell-interpreter): New defcustom.
7341 (python-pdbtrack-do-tracking-p): Delete var.
7342 (python-pdbtrack-activate): New defcustom.
7343 (python-use-skeletons): Obsolete var.
7344 (python-skeleton-autoinsert): New defcustom.
7345 (inferior-python-filter-regexp, python-continuation-offset)
7346 (python-honour-comment-indentation, python-indent-string-contents)
7347 (python-jython-packages, python-mode-hook)
7348 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
7349 (python-shell-prompt-alist)
7350 (python-source-modes): Delete defcustoms.
7351 (python-check-buffer-name, python-eldoc-setup-code)
7352 (python-eldoc-string-code, python-ffap-setup-code)
7353 (python-ffap-string-code, python-fill-comment-function)
7354 (python-fill-decorator-function, python-fill-paren-function)
7355 (python-fill-string-function, python-imenu-include-defun-type)
7356 (python-imenu-make-tree, python-imenu-subtree-root-label)
7357 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
7358 (python-shell-compilation-regexp-alist)
7359 (python-shell-completion-module-string-code)
7360 (python-shell-completion-pdb-string-code)
7361 (python-shell-completion-setup-code)
7362 (python-shell-completion-string-code)
7363 (python-shell-enable-font-lock, python-shell-exec-path)
7364 (python-shell-extra-pythonpaths)
7365 (python-shell-internal-buffer-name, python-shell-interpreter-args)
7366 (python-shell-process-environment)
7367 (python-shell-prompt-block-regexp)
7368 (python-shell-prompt-output-regexp)
7369 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
7370 (python-shell-send-setup-max-wait, python-shell-setup-codes)
7371 (python-shell-virtualenv-path): New defcustoms.
7372 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
7373 (inferior-python-mode-syntax-table, python--prompt-regexp)
7374 (python-buffer, python-command python-python-command)
7375 (python-default-template, python-imports, python-indent-index)
7376 (python-indent-list, python-indent-list-length)
7377 (python-mode-running, python-pdbtrack-is-tracking-p)
7378 (python-preoutput-continuation, python-preoutput-leftover)
7379 (python-preoutput-result, python-preoutput-skip-next-prompt)
7380 (python-prev-dir/file, python-recursing)
7381 (python-saved-check-command, python-version-checked)
7382 (python-which-func-length-limit)
7383 (view-return-to-alist): Delete vars.
7384 (python-check-custom-command, python-dotty-syntax-table)
7385 (python-imenu-index-alist, python-indent-current-level)
7386 (python-indent-dedenters, python-indent-levels)
7387 (python-nav-beginning-of-defun-regexp)
7388 (python-nav-list-defun-positions-cache)
7389 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
7390 (python-shell-internal-buffer)
7391 (python-skeleton-available): New vars.
7392 (def-python-skeleton): Delete macro.
7393 (python-skeleton-define): New macro.
7394 (python-define-auxiliary-skeleton, python-rx): New macros.
7395 (python-insert-class): Delete command.
7396 (python-skeleton-class): New command.
7397 (python-insert-def): Delete command.
7398 (python-skeleton-def): New command.
7399 (python-insert-for): Delete command.
7400 (python-skeleton-for): New command.
7401 (python-insert-if): Delete command.
7402 (python-skeleton-if): New command.
7403 (python-insert-try/except, python-insert-try/finally): Delete commands.
7404 (python-skeleton-try): New command.
7405 (python-insert-while): Delete command.
7406 (python-skeleton-while): New command.
7407 (python-backspace): Delete command.
7408 (python-indent-dedent-line-backspace): New command.
7409 (python-electric-colon): Delete command.
7410 (python-indent-electric-colon): New command.
7411 (python-guess-indent): Delete command.
7412 (python-indent-guess-indent-offset): New command.
7413 (python-shift-left): Delete command.
7414 (python-indent-shift-left): New command.
7415 (python-shift-right): Delete command.
7416 (python-indent-shift-right): New command.
7417 (python-find-function): Delete command.
7418 (python-nav-jump-to-defun): New command.
7419 (python-next-statement): Delete command.
7420 (python-nav-forward-sentence): New command.
7421 (python-previous-statement): Delete command.
7422 (python-nav-backward-sentence): New command.
7423 (python-fill-paragraph): Delete command.
7424 (python-fill-paragraph-function): New command.
7425 (python-send-buffer): Delete command.
7426 (python-shell-send-buffer): New command.
7427 (python-send-defun): Delete command.
7428 (python-shell-send-defun): New command.
7429 (python-send-region, python-send-region-and-go): Delete commands.
7430 (python-shell-send-region)
7431 (python-shell-switch-to-shell): New commands.
7432 (python-send-string): Delete command.
7433 (python-shell-send-string): New command.
7434 (python-switch-to-python): Delete command.
7435 (python-shell-switch-to-shell): New command.
7436 (python-describe-symbol): Delete command.
7437 (python-eldoc-at-point): New command.
7438 (python--set-prompt-regexp, python-args-to-list)
7439 (python-after-info-look, python-check-version)
7440 (python-check-comint-prompt, python-find-imports)
7441 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
7442 (python-unload-function, python-expand-template)
7443 (python-maybe-jython, python-preoutput-filter)
7444 (python-pdbtrack-get-source-buffer)
7445 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
7446 (python-pdbtrack-toggle-stack-tracking)
7447 (python-pdbtrack-track-stack-file, python-initial-text)
7448 (python-first-word, python-comment-line-p, python-send-command)
7449 (python-setup-brm, python-sentinel, python-set-proc)
7450 (python-skip-out, python-input-filter, python-outdent-p)
7451 (python-outline-level, python-backslash-continuation-line-p)
7452 (python-end-of-block, python-end-of-statement, python-mark-block)
7453 (python-beginning-of-block, python-beginning-of-statement)
7454 (python-blank-line-p, python-beginning-of-string)
7455 (python-open-block-statement-p): Delete functions.
7456 (python-indent-line, python-indent-line-1): Delete functions.
7457 (python-indent-line): New function.
7458 (python-indentation-levels): Delete function.
7459 (python-indent-calculate-levels): New function.
7460 (python-proc): Delete function.
7461 (python-shell-get-process): New function.
7462 (python-send-receive): Delete function.
7463 (python-shell-send-string-no-output): New function.
7464 (python-module-path): Delete function.
7465 (python-ffap-module-path): New function.
7466 (python-completion-at-point)
7467 (python-symbol-completions): Delete functions.
7468 (python-completion-complete-at-point): New function.
7469 (python-load-file): Delete function.
7470 (python-shell-send-file): New function.
7471 (python-calculate-indentation): Delete function.
7472 (python-indent-calculate-indentation): New function.
7473 (python-skip-comments/blanks): Delete function.
7474 (python-util-forward-comment): New function.
7475 (python-continuation-line-p): Delete function.
7476 (python-info-continuation-line-p): New function.
7477 (python-which-func, python-current-defun): Delete function.
7478 (python-info-current-defun): New function.
7479 (python-beginning-of-defun): Delete function.
7480 (python-nav-beginning-of-defun): New function.
7481 (python-close-block-statement-p)
7482 (python-block-end-p): Delete function.
7483 (python-info-closing-block): New function.
7484 (python-comint-output-filter-function)
7485 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
7486 (python-fill-comment, python-fill-decorator, python-fill-paren)
7487 (python-fill-string, python-imenu-make-element-tree)
7488 (python-imenu-make-tree, python-imenu-tree-assoc)
7489 (python-indent-context, python-indent-dedent-line)
7490 (python-indent-line-function)
7491 (python-indent-post-self-insert-function)
7492 (python-indent-toggle-levels)
7493 (python-info-assignment-continuation-line-p)
7494 (python-info-beginning-of-backlash)
7495 (python-info-block-continuation-line-p)
7496 (python-info-closing-block-message)
7497 (python-info-line-ends-backslash-p)
7498 (python-info-looking-at-beginning-of-defun)
7499 (python-info-ppss-context, python-info-ppss-context-type)
7500 (python-nav-list-defun-positions, python-nav-read-defun)
7501 (python-nav-sentence-end, python-nav-sentence-start)
7502 (python-pdbtrack-comint-output-filter-function)
7503 (python-pdbtrack-set-tracked-buffer)
7504 (python-shell-calculate-exec-path)
7505 (python-shell-calculate-process-environment)
7506 (python-shell-completion--do-completion-at-point)
7507 (python-shell-completion--get-completions)
7508 (python-shell-completion-complete-at-point)
7509 (python-shell-completion-complete-or-indent)
7510 (python-shell-get-or-create-process)
7511 (python-shell-get-process-name)
7512 (python-shell-internal-get-or-create-process)
7513 (python-shell-internal-get-process-name)
7514 (python-shell-internal-send-string, python-shell-make-comint)
7515 (python-shell-parse-command, python-shell-send-setup-code)
7516 (python-skeleton-add-menu-items)
7517 (python-util-clone-local-variables, python-util-position)
7518 (run-python-internal, python-indentation-levels)
7519 (python-nav-beginning-of-defun)
7520 (python-completion-complete-at-point): New functions.
7521 (run-python): Change arguments. New API requirements.
7522
7523 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7524
7525 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
7526 (bug#11649).
7527
7528 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
7529 (macroexp--expand-all): Use it.
7530
7531 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
7532 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
7533 Use `cl-function' instead.
7534
7535 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
7536
7537 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
7538 Suggested by Stefan Monnier while discussing bug#11657.
7539
7540 2012-06-14 Sam Steingold <sds@gnu.org>
7541
7542 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
7543
7544 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
7545
7546 * play/doctor.el (doctor-doc): Remove parameter and use
7547 doctor-sent instead of sent.
7548 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
7549
7550 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7551
7552 * files.el: Require cl-lib.
7553 (file-name-non-special): Replace case -> cl-case.
7554
7555 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
7556
7557 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
7558 mapping from #' to function*.
7559
7560 2012-06-13 Chong Yidong <cyd@gnu.org>
7561
7562 * mouse.el (mouse-drag-track): Do not set the mark if the user
7563 releases the mouse without selecting anything (Bug#11588).
7564
7565 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7566
7567 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
7568 as well (bug#11646).
7569
7570 * loadup.el: Count byte-code functions as well.
7571
7572 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
7573 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
7574
7575 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
7576 (bug#11649). Add cl-defun and cl-defmacro.
7577
7578 2012-06-13 Drew Adams <drew.adams@oracle.com>
7579
7580 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
7581 Fix last change.
7582
7583 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
7584
7585 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
7586 Otherwise, it blocks in batch mode.
7587
7588 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
7589
7590 * help-mode.el (bookmark-make-record-default): Declare.
7591
7592 2012-06-13 Chong Yidong <cyd@gnu.org>
7593
7594 * emacs-lisp/package.el (list-packages): Compute a list of
7595 packages that are newly-available since the last list-packages
7596 invocation.
7597 (package-menu--new-package-list): New var.
7598 (package-menu--generate, package-menu--print-info)
7599 (package-menu--status-predicate, package-menu-mark-install):
7600 Handle new status label "new".
7601
7602 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7603
7604 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
7605 conversion to backquotes.
7606
7607 2012-06-12 Chong Yidong <cyd@gnu.org>
7608
7609 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
7610 Rename from gud-inhibit-global-bindings.
7611
7612 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
7613
7614 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
7615 hook from nxml-glyph-set-hook.
7616
7617 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
7618 declaration.
7619
7620 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
7621
7622 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
7623 Convert to defcustom.
7624
7625 2012-06-12 Drew Adams <drew.adams@oracle.com>
7626
7627 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
7628 New functions.
7629 (help-mode): Use them.
7630
7631 2012-06-11 Glenn Morris <rgm@gnu.org>
7632
7633 * progmodes/fortran.el (fortran-font-lock-keywords-3):
7634 Use preprocessor face for directives.
7635 (fortran-directive-re): Doc fix.
7636
7637 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7638
7639 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
7640 conversion to backquotes (bug#11652).
7641
7642 Fix compiler-expansion of CL's cXXr functions (bug#11673).
7643 * emacs-lisp/cl-lib.el (cl--defalias): New function.
7644 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
7645 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
7646 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
7647 (cl-ninth, cl-tenth): Mark them as inlinable.
7648 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
7649 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
7650 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
7651 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
7652 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
7653 (cl-list*, cl-adjoin): Don't put an autoload manually.
7654 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
7655 (cl--compiler-macro-list*): Add autoload cookie.
7656 (cl--compiler-macro-cXXr): New function.
7657
7658 * help-fns.el (help-fns--compiler-macro): New function extracted from
7659 describe-function-1; follow aliases and use `compiler-macro' property.
7660 (describe-function-1): Use it.
7661
7662 2012-06-11 Chong Yidong <cyd@gnu.org>
7663
7664 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
7665 is uninstalled, if imagemagick is installed.
7666
7667 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7668
7669 * emacs-lisp/cl-lib.el: Use lexical-binding.
7670 (cl-map-extents, cl-maclisp-member): Remove.
7671 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
7672 (cl--set-substring, cl--block-wrapper, cl--block-throw)
7673 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
7674 * emacs-lisp/cl-extra.el: Use lexical-binding.
7675 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
7676 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
7677 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
7678 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
7679 * emacs-lisp/cl-seq.el: Use lexical-binding.
7680 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
7681 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
7682 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
7683 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
7684 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
7685 CL's internals.
7686
7687 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
7688
7689 Sync with Tramp 2.2.6-pre.
7690
7691 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
7692 `print-length' and `print-level' to nil, in order to avoid
7693 truncation. Reported by Christopher Schmidt
7694 <christopher@ristopher.com>.
7695
7696 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
7697
7698 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
7699 New defmacro.
7700 (tramp-compat-copy-directory): Add optional argument
7701 COPY-CONTENTS. It is not handled yet.
7702
7703 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
7704 (tramp-ftp-file-name-p): Simplify.
7705
7706 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
7707 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
7708 connection vector.
7709
7710 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
7711 (tramp-methods): Do not use `tramp-password-end-of-line'.
7712 (tramp-completion-function-alist-putty): Handle UNIX case.
7713 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
7714 (tramp-do-file-attributes-with-stat)
7715 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
7716 gid as real numbers. They could run out of integer range on cygwin.
7717 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
7718 (tramp-sh-handle-expand-file-name): Handle hops.
7719 (tramp-open-connection-setup-interactive-shell):
7720 Use `tramp-cleanup'. Move check for busyboxes ...
7721 (tramp-find-shell): ... here. Simplify implementation.
7722 Set "remote-shell" property also for alternative shells.
7723 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
7724 If failing, a regular file would be written otherwise.
7725 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
7726 (tramp-find-inline-encoding): Cache the coding commands in the
7727 process cache. Apply test command on the remote side, if defined.
7728 (tramp-find-inline-compress): Cache the compress commands in the
7729 process cache.
7730 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
7731 when requested. Handle hops.
7732 (tramp-current-connection): New defvar.
7733 (tramp-maybe-open-connection): Use `tramp-cleanup'.
7734 Throw `suppress', if there was a failed connection shortly before.
7735 Handle user interrupt. (Bug#10187)
7736 (tramp-get-inline-compress, tramp-get-inline-coding):
7737 Read connection properties from the process cache.
7738
7739 * net/tramp-smb.el (tramp-smb-server-version)
7740 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
7741 New defconsts.
7742 (tramp-smb-prompt): Extend for powershell prompt.
7743 (tramp-smb-file-name-handler-alist): Add handlers for
7744 `process-file', `shell-command' and `start-file-process'.
7745 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
7746 (tramp-smb-winexe-shell-command-switch): New defcustoms.
7747 (tramp-smb-file-name-p): Simplify.
7748 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
7749 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
7750 (tramp-smb-shell-quote-argument): New defuns.
7751 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
7752 Implement using "tar". By this, time-stamps are preserved.
7753 (tramp-smb-handle-copy-file): Handle also the case of directories.
7754 (tramp-smb-do-file-attributes-with-stat)
7755 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
7756 Use `tramp-get-connection-buffer').
7757 (tramp-smb-handle-rename-file): Use "rename", when source and
7758 target are on the same share.
7759 (tramp-smb-maybe-open-connection): Handle wrong passwords.
7760 Use `tramp-smb-server-version'.
7761 (tramp-smb-wait-for-output): Remove prompt.
7762
7763 * net/tramp.el (top): Require 'cl.
7764 (tramp-methods, tramp-rsh-end-of-line):
7765 Remove `tramp-password-end-of-line' from docstring.
7766 (tramp-save-ad-hoc-proxies): New defcustom.
7767 (tramp-completion-function-alist): Adapt docstring.
7768 (tramp-default-password-end-of-line): Remove defcustom.
7769 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
7770 (tramp-user-regexp, tramp-file-name-regexp-unified)
7771 (tramp-file-name-regexp-url): Extend regexp by hop separator.
7772 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
7773 (tramp-remote-file-name-spec-regexp): New defconst.
7774 (tramp-file-name-structure): Extend structure for hops.
7775 (tramp-get-method-parameter): Move up.
7776 (tramp-file-name-p, tramp-dissect-file-name)
7777 (with-parsed-tramp-file-name): Handle hops.
7778 (tramp-file-name-hop): New defun.
7779 (tramp-make-tramp-file-name): New optional arg HOP.
7780 (tramp-message-show-progress-reporter-message): New defvar.
7781 (tramp-with-progress-reporter): Use it. We cannot use
7782 `tramp-message-show-message' here, because this suppresses also
7783 error buffers.
7784 (tramp-error-with-buffer): Suppress buffer view, if
7785 `tramp-message-show-message' is nil.
7786 Use `tramp-get-connection-buffer'.
7787 (tramp-cleanup): New defun.
7788 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
7789 (tramp-file-name-handler): If `debug-on-error' is set, propagate
7790 an error unchanged.
7791 (tramp-completion-handle-file-name-all-completions): Handle hops.
7792 Fix an error when called from ido.
7793 (tramp-completion-dissect-file-name): Use better local variable
7794 name. Add hop to the vector.
7795 (tramp-handle-insert-file-contents): Use progress-reporter for the
7796 whole scenario.
7797 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
7798 to `t'.
7799 (tramp-check-for-regexp): Simplify search.
7800 (tramp-enter-password): Remove it. Move implementation ...
7801 (tramp-action-password): ... here.
7802 (tramp-mode-string-to-int, tramp-local-host-p)
7803 (tramp-make-tramp-temp-file, tramp-read-passwd)
7804 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
7805 Set tramp-autoload cookie.
7806
7807 * net/trampver.el: Update release number.
7808
7809 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7810 Michael Albinus <michael.albinus@gmx.de>
7811
7812 * net/tramp.el (tramp-set-completion-function): Fix docstring.
7813 (tramp-parse-group, tramp-parse-file)
7814 (tramp-parse-shostkeys-sknownhosts): New defuns.
7815 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
7816 (tramp-parse-shosts-group, tramp-parse-sconfig)
7817 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
7818 (tramp-parse-sknownhosts, tramp-parse-hosts)
7819 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
7820 Use them.
7821 (tramp-parse-passwd-group, tramp-parse-netrc-group)
7822 (tramp-parse-putty-group): Don't narrow.
7823 (tramp-parse-putty): Make a loop.
7824 (tramp-file-name-handler): Catch the `suppress' signal.
7825
7826 2012-06-11 Chong Yidong <cyd@gnu.org>
7827
7828 * image.el (imagemagick-register-types): Put the ImageMagick entry
7829 at the end of image-type-file-name-regexps.
7830
7831 2012-06-11 Johan Bockgård <bojohan@gnu.org>
7832
7833 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
7834 (pcase, pcase-let*, pcase-dolist): Use them.
7835
7836 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7837
7838 * emacs-lisp/pcase.el (pcase--let*): New function.
7839 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
7840 (pcase--expand): Use macroexp-let².
7841
7842 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
7843
7844 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
7845 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
7846 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
7847 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
7848 * emacs-lisp/derived.el: Use pcase instead of `cl'.
7849 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
7850
7851 2012-06-10 Glenn Morris <rgm@gnu.org>
7852
7853 * mail/rmail.el (rmail-yank-current-message): Leave point at
7854 correct position. (Bug#11660)
7855
7856 2012-06-10 Chong Yidong <cyd@gnu.org>
7857
7858 * allout-widgets.el: Fix code header.
7859
7860 2012-06-10 Chong Yidong <cyd@gnu.org>
7861
7862 * cus-edit.el (customize-changed-options-previous-release):
7863 Bump to 24.1.
7864
7865 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
7866
7867 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
7868
7869 2012-06-09 Chong Yidong <cyd@gnu.org>
7870
7871 * ebuff-menu.el (electric-buffer-list): Preserve header line.
7872
7873 2012-06-09 Martin Rudalics <rudalics@gmx.at>
7874
7875 * window.el (special-display-popup-frame): Don't use
7876 window--display-buffer (Bug#11651).
7877
7878 2012-06-09 Eli Zaretskii <eliz@gnu.org>
7879
7880 Fix parallel builds: make sure loaddefs.el is not being written
7881 while Lisp files are compiled.
7882 (compile): Don't depend on 'mh-autoloads'.
7883 (compile-CMD, compile-SH): Depend on 'autoloads'.
7884 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
7885
7886 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
7887
7888 2012-06-09 Chong Yidong <cyd@gnu.org>
7889
7890 * face-remap.el (face-remap-add-relative, face-remap-set-base)
7891 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
7892 Doc fixes (Bug#11225).
7893
7894 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
7895
7896 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
7897 a function if there's a clear indication that it has a compiler-macro.
7898 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
7899 (macro-declarations-alist): Add arglist to declaration functions.
7900 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
7901 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
7902 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
7903 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
7904 Also add autoload to find the compiler macro.
7905 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
7906 (cl--compiler-macro-member, cl--compiler-macro-assoc)
7907 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
7908 (cl--compiler-macro-get): New functions, replacing calls to
7909 cl-define-compiler-macro.
7910 (cl-typep) [compiler-macro]: Use macroexp-let².
7911
7912 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
7913
7914 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
7915 string properly, fixes Bug#11473.
7916
7917 2012-06-08 Chong Yidong <cyd@gnu.org>
7918
7919 * faces.el (set-face-attribute): Doc fix.
7920 (modify-face): Don't use :bold and :italic.
7921 (error, warning, success): Tweak definitions.
7922
7923 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
7924 (custom-modified, custom-set, custom-changed, custom-themed)
7925 (custom-saved, custom-button, custom-button-mouse)
7926 (custom-button-pressed, custom-state, custom-comment-tag)
7927 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
7928 (custom-group-subtitle): Use new-style face specs.
7929 (custom-invalid-face, custom-rogue-face, custom-modified-face)
7930 (custom-set-face, custom-changed-face, custom-saved-face)
7931 (custom-button-face, custom-button-pressed-face)
7932 (custom-documentation-face, custom-state-face)
7933 (custom-comment-face, custom-comment-tag-face)
7934 (custom-variable-tag-face, custom-variable-button-face)
7935 (custom-face-tag-face, custom-group-tag-face-1)
7936 (custom-group-tag-face): Remove obsolete face alias.
7937
7938 * epa.el (epa-validity-high, epa-validity-medium)
7939 (epa-validity-low, epa-mark, epa-field-name, epa-string)
7940 (epa-field-name, epa-field-body):
7941 * font-lock.el (font-lock-comment-face, font-lock-string-face)
7942 (font-lock-keyword-face, font-lock-builtin-face)
7943 (font-lock-function-name-face, font-lock-variable-name-face)
7944 (font-lock-type-face, font-lock-constant-face):
7945 * ido.el (ido-first-match, ido-only-match, ido-subdir)
7946 (ido-virtual, ido-indicator, ido-incomplete-regexp):
7947 * speedbar.el (speedbar-button-face, speedbar-file-face)
7948 (speedbar-directory-face, speedbar-tag-face)
7949 (speedbar-selected-face, speedbar-highlight-face)
7950 (speedbar-separator-face):
7951 * whitespace.el (whitespace-newline, whitespace-space)
7952 (whitespace-hspace, whitespace-tab, whitespace-trailing)
7953 (whitespace-line, whitespace-space-before-tab)
7954 (whitespace-space-after-tab, whitespace-indentation)
7955 (whitespace-empty):
7956 * emulation/cua-base.el (cua-global-mark):
7957 * eshell/em-prompt.el (eshell-prompt):
7958 * net/newst-plainview.el (newsticker-new-item-face)
7959 (newsticker-old-item-face, newsticker-immortal-item-face)
7960 (newsticker-obsolete-item-face, newsticker-date-face)
7961 (newsticker-statistics-face, newsticker-default-face):
7962 * net/newst-reader.el (newsticker-feed-face)
7963 (newsticker-extra-face, newsticker-enclosure-face):
7964 * net/newst-treeview.el (newsticker-treeview-face)
7965 (newsticker-treeview-new-face, newsticker-treeview-old-face)
7966 (newsticker-treeview-immortal-face)
7967 (newsticker-treeview-obsolete-face)
7968 (newsticker-treeview-selection-face):
7969 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
7970 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
7971 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
7972 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
7973 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
7974 (nxml-outline-active-indicator, nxml-outline-ellipsis):
7975 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
7976 (mpuz-text):
7977 * progmodes/vera-mode.el (vera-font-lock-number)
7978 (vera-font-lock-function, vera-font-lock-interface):
7979 * textmodes/table.el (table-cell): Use new-style face specs, and
7980 don't use the old :bold and :italic attributes.
7981
7982 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
7983 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
7984 (ebrowse-member-class, ebrowse-progress): Likewise.
7985 (ebrowse-tree-mark-face, ebrowse-root-class-face)
7986 (ebrowse-file-name-face, ebrowse-default-face)
7987 (ebrowse-member-attribute-face, ebrowse-member-class-face)
7988 (ebrowse-progress-face): Remove obsolete faces.
7989
7990 * progmodes/flymake.el (flymake-errline, flymake-warnline):
7991 Inherit from error and warning faces respectively.
7992
7993 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
7994 Likewise.
7995 (flyspell-incorrect-face, flyspell-duplicate-face):
7996 Remove obsolete aliases.
7997
7998 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
7999
8000 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
8001 Avoid infloop.
8002
8003 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
8004
8005 * startup.el (argv, argi): Make lexically scoped.
8006 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
8007 * emacs-lisp/cl-macs.el: Use lexical-binding.
8008 Rename cl-bind-* to cl--bind-*.
8009 * files.el: Don't require `cl' since it doesn't use it.
8010 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
8011
8012 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
8013
8014 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
8015 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
8016 instead of calling external sort utility.
8017 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
8018
8019 2012-06-08 Eli Zaretskii <eliz@gnu.org>
8020
8021 * descr-text.el (describe-char): Mention how to insert the
8022 character, if the current input method doesn't support it.
8023 See the discussion in this thread for the details:
8024 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
8025
8026 2012-06-08 Sam Steingold <sds@gnu.org>
8027
8028 * bindings.el (global-map): Bind XF86Forward to next-buffer and
8029 XF86Back to previous-buffer.
8030 (minibuffer-local-map): Bind them to next-history-element and
8031 previous-history-element respectively.
8032 * help-mode.el (help-mode-map): Bind them to help-go-forward and
8033 help-go-back respectively.
8034 * info.el (Info-mode-map): Bind them to Info-history-forward and
8035 Info-history-back respectively.
8036 These are the keys next to Up on the ThinkPad keyboard.
8037
8038 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
8039
8040 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
8041 * emacs-lisp/cl-macs.el: Provide itself.
8042 (cl--labels-convert-cache): New var.
8043 (cl--labels-convert): New function.
8044 (cl-flet, cl-labels): New implementation with new semantics, relying on
8045 lexical-binding.
8046 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
8047 (cl-closure-vars, cl--function-convert-cache)
8048 (cl--function-convert): Move from cl-macs.el.
8049 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
8050 rename by removing the "cl-" prefix.
8051 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
8052
8053 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8054
8055 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
8056 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
8057 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
8058 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
8059 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
8060 (cl-hash-table-count): Add old compatibility aliases.
8061
8062 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
8063 Use macroexpand-all-environment instead.
8064 (cl--old-macroexpand): New var.
8065 (cl--sm-macroexpand): New function.
8066 (cl-symbol-macrolet): Use it during macro expansion.
8067 (cl--function-convert-cache): New var.
8068 (cl--function-convert): New function, extracted from
8069 cl-macroexpand-all.
8070 (cl-lexical-let): Use it.
8071
8072 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
8073 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
8074 (cl-member): Remove old alias.
8075
8076 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
8077 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
8078 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
8079 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
8080 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
8081 (cl-macroexpand-cmacs): Remove var.
8082 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
8083 Use macroexpand-all instead.
8084
8085 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8086
8087 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
8088 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
8089 (macroexp-copyable-p): New functions and macros.
8090 * emacs-lisp/edebug.el (edebug-unwrap):
8091 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
8092 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
8093 (pcase--let*): Remove.
8094 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
8095 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
8096 macroexp-const-p instead.
8097 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
8098
8099 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
8100 instead of "cl-" for internal definitions. Use macroexp-const-p.
8101 (cl-old-bc-file-form): Remove var.
8102 (cl-const-exprs-p): Remove fun.
8103 (cl-labels, cl-macrolet): Use backquote.
8104 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
8105 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
8106 (cl-define-setf-expander): Rename from cl-define-setf-method.
8107 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
8108
8109 * international/mule-cmds.el: Don't require CL.
8110 (view-hello-file): Don't use `letf'.
8111
8112 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8113
8114 * tmm.el (tmm-prompt): Use string-prefix-p.
8115 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
8116 (tmm-add-prompt): Use minibuffer-completion-help.
8117 (tmm-delete-map): Remove.
8118
8119 * subr.el (kbd): Make it its own function.
8120
8121 2012-06-07 Stefan Merten <smerten@oekonux.de>
8122
8123 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
8124 Silence compiler warnings. Fix versions.
8125 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
8126 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
8127 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
8128 (rst-package-emacs-version-alist): Correct Emacs version to
8129 represent major merge with upstream.
8130 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
8131
8132 2012-06-06 Glenn Morris <rgm@gnu.org>
8133
8134 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
8135 Only print environment variables if set.
8136
8137 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
8138
8139 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
8140 (macroexp--cons): Rename from maybe-cons.
8141 (macroexp--accumulate): Rename from macroexp-accumulate.
8142 (macroexp--all-forms): Rename from macroexpand-all-forms.
8143 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
8144 (macroexp--expand-all): Rename from macroexpand-all-1.
8145
8146 2012-06-06 Sam Steingold <sds@gnu.org>
8147
8148 * calendar/calendar.el (calendar-in-read-only-buffer):
8149 Call `special-mode' to enable the standard read-only keybindings.
8150
8151 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
8152
8153 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
8154 with "loading" messages (bug#11635).
8155
8156 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
8157
8158 * files.el (enable-remote-dir-locals): New option.
8159 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
8160
8161 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
8162 Ensure, that the temp directory is local.
8163
8164 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
8165 `temporary-file-directory'.
8166
8167 * progmodes/python.el (python-send-region): Ensure, that the
8168 temporary file is created also in the remote case.
8169
8170 2012-06-06 Glenn Morris <rgm@gnu.org>
8171
8172 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
8173 (vc-rcs-update-changelog): Use it.
8174
8175 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
8176
8177 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
8178 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
8179 (vc-sccs-diff): Replace use of the external vcdiff script.
8180
8181 2012-06-05 Glenn Morris <rgm@gnu.org>
8182
8183 * ledit.el: Move to obsolete/.
8184
8185 2012-06-05 Sam Steingold <sds@gnu.org>
8186
8187 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
8188 patch (Bug#11140).
8189
8190 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8191
8192 * emacs-lisp/cust-print.el: Move to obsolete.
8193
8194 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
8195 compiler-macro expansion.
8196
8197 Add native compiler-macro support.
8198 * emacs-lisp/macroexp.el (macroexpand-all-1):
8199 Support compiler-macros directly. Properly follow aliases and apply
8200 the compiler macros more thoroughly.
8201 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
8202 macroexpand now properly follows aliases.
8203 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
8204 (cl-compiler-macroexpand): Use new prop.
8205 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
8206
8207 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
8208
8209 2012-06-05 Martin Rudalics <rudalics@gmx.at>
8210
8211 * window.el (get-lru-window, get-mru-window, get-largest-window):
8212 New argument NOT-SELECTED to avoid picking the selected window.
8213 (window--display-buffer-1, window--display-buffer-2): Replace by
8214 new function window--display-buffer
8215 (display-buffer-same-window, display-buffer-reuse-window)
8216 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8217 Use window--display-buffer.
8218 (display-buffer-use-some-window): Remove temporary dedication
8219 hack by calling get-lru-window and get-largest-window with
8220 NOT-SELECTED argument non-nil. Call window--display-buffer.
8221
8222 2012-06-05 Glenn Morris <rgm@gnu.org>
8223
8224 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
8225 Replace external vcdiff script.
8226
8227 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
8228
8229 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
8230
8231 2012-06-04 Chong Yidong <cyd@gnu.org>
8232
8233 * image.el (imagemagick-types-inhibit): Revert last change.
8234 Add INFO and M.
8235 (imagemagick-enabled-types): Remove CIN and EPS*.
8236
8237 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
8238
8239 * emacs-lisp/cl-lib.el: Rename from cl.el.
8240 * emacs-lisp/cl.el: New compatibility file.
8241 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
8242 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
8243 to obey the "cl-" prefix.
8244 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
8245
8246 2012-06-03 Glenn Morris <rgm@gnu.org>
8247
8248 * emacs-lisp/authors.el (authors-aliases): Addition.
8249
8250 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
8251 Fix :version.
8252
8253 2012-06-03 Stefan Merten <smerten@oekonux.de>
8254
8255 * textmodes/rst.el: Add comments.
8256 (rst-transition, rst-adornment): New faces.
8257 (rst-adornment-faces-alist): Make default safe to reevaluate.
8258 Fixes
8259 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
8260 Improve customization tags.
8261 (rst-define-level-faces): Clarify meaning.
8262
8263 2012-06-03 Chong Yidong <cyd@gnu.org>
8264
8265 * progmodes/compile.el (compilation-mode-line-fail)
8266 (compilation-mode-line-run, compilation-mode-line-exit):
8267 New faces.
8268 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
8269
8270 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
8271
8272 * progmodes/which-func.el (which-func-update-ediff-windows):
8273 New function. Use it in ediff-select-hook (Bug#11478).
8274
8275 2012-06-03 Chong Yidong <cyd@gnu.org>
8276
8277 * bindings.el: Remove explicit help text from format-mode-line.
8278 It is now supplied by mode-line-default-help-echo.
8279 (mode-line-front-space, mode-line-end-spaces)
8280 (mode-line-misc-info): New variables.
8281 (mode-line-modes, mode-line-position): Move the default value to
8282 the variable definition.
8283 (mode-line-default-help-echo): New defcustom.
8284 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
8285 (mode-line-modified-help-echo): New functions.
8286 (mode-line-mule-info, mode-line-modified): Use them.
8287 (mode-line-eol-desc, propertized-buffer-identification):
8288 Consistency fixes for help text.
8289 (mode-line-coding-system-map): Allow using mouse-3 to invoke
8290 set-buffer-file-coding-system (Bug#289).
8291 (mode-line-mule-info-help-echo): Update help text.
8292
8293 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8294
8295 * simple.el (execute-extended-command): Set real-this-command
8296 (bug#11506).
8297
8298 2012-06-02 Chong Yidong <cyd@gnu.org>
8299
8300 Remove incorrect uses of "modeline" in comments, docstrings, and
8301 function/variable names (Bug#10329).
8302
8303 * cus-edit.el (mode-line):
8304 * dframe.el (dframe-mouse-hscroll):
8305 * emacs-lisp/re-builder.el:
8306 * emacs-lisp/easy-mmode.el (define-minor-mode):
8307 * frame.el (set-frame-name):
8308 * help.el (lookup-minor-mode-from-indicator):
8309 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
8310 * progmodes/cc-cmds.el (c-toggle-auto-newline)
8311 (c-toggle-hungry-state):
8312 * progmodes/antlr-mode.el (antlr-language-alist):
8313 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
8314 * progmodes/vhdl-mode.el (vhdl-mode):
8315 * progmodes/which-func.el (which-func, which-func-cleanup-function):
8316 * term/ns-win.el (ns-face-at-pos):
8317 * term/sup-mouse.el (sup-mouse-report):
8318 * textmodes/flyspell.el (flyspell-mode-line-string):
8319 * textmodes/ispell.el (ispell-highlight-face):
8320 * textmodes/reftex-global.el:
8321 * vc/vc-arch.el (vc-arch-mode-line-string):
8322 * vc/vc-cvs.el (vc-cvs-mode-line-string):
8323 * vc/vc-git.el (vc-git-mode-line-string):
8324 * vc/vc-hooks.el (vc-display-status)
8325 (vc-default-mode-line-string):
8326 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
8327
8328 * ansi-color.el (ansi-color-faces-vector): Change default faces.
8329
8330 * dired.el (dired-sort-set-mode-line): Rename from
8331 dired-sort-set-modeline. All callers changed.
8332
8333 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
8334 eshell-status-in-modeline.
8335
8336 * foldout.el (foldout-mode-line-string): Rename from
8337 foldout-modeline-string. All callers changed.
8338 (foldout-update-mode-line): Rename from foldout-update-modeline.
8339
8340 * subr.el (redraw-modeline): Make into obsolete alias.
8341
8342 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
8343 timeclock-modeline-display. Make old name an alias.
8344 (timeclock-update-mode-line): Likewise. All callers changed.
8345 (timeclock-mode-line-display): No need to check before using
8346 add-hook.
8347 (timeclock-relative, timeclock-day-over-hook)
8348 (timeclock-use-elapsed, timeclock-mode-string)
8349 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
8350
8351 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
8352 crisp-mode-modeline-string.
8353
8354 * play/solitaire.el (solitaire-build-mode-line): Rename from
8355 solitaire-build-modeline. All callers changed.
8356
8357 * play/zone.el (zone-hiding-mode-line): Rename from
8358 zone-hiding-modeline. All callers changed.
8359 (zone): Remove unusued `modeline-hidden-level' property.
8360
8361 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
8362 xscheme-modeline-initialize. All callers changed.
8363
8364 * strokes.el (strokes-lighter): Rename from
8365 strokes-modeline-string.
8366
8367 * textmodes/sgml-mode.el (html-face-tag-alist)
8368 (html-tag-face-alist): Use mode-line face instead of obsolete
8369 alias modeline.
8370
8371 2012-06-02 Stefan Merten <smerten@oekonux.de>
8372
8373 * textmodes/rst.el: Always require `cl'.
8374 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
8375
8376 2012-06-02 Chong Yidong <cyd@gnu.org>
8377
8378 * image.el (imagemagick-enabled-types): Rename from
8379 imagemagick-types-enable. Add many more types.
8380 (imagemagick-types-inhibit): Change default to nil.
8381 (imagemagick-filter-types): Caller changed.
8382
8383 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8384
8385 * emacs-lisp/cl-macs.el: Use backquotes.
8386 (cl-transform-function-property): Use eval-and-compile rather than
8387 abusing `require'.
8388 (defstruct): Use declare-function instead of with-no-warnings.
8389
8390 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
8391 (byte-compile-output-docform): Re-add the print-circle bindings.
8392 (byte-compile-fix-header): Use #$ just because it's shorter.
8393 (byte-compile-output-file-form): Remove defun/defmacro.
8394
8395 2012-06-01 Martin Rudalics <rudalics@gmx.at>
8396
8397 * simple.el (choose-completion): Remove now obsolete binding for
8398 owindow.
8399
8400 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
8401
8402 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
8403 in order to avoid "Stack overflow in regexp matcher".
8404
8405 2012-05-31 Glenn Morris <rgm@gnu.org>
8406
8407 * image.el: For clarity, call imagemagick-register-types at
8408 top-level, rather than relying on a custom :initialize.
8409 (imagemagick-types-enable): New option. (Bug#11557)
8410 (imagemagick-filter-types): New function. (Bug#7406)
8411 (imagemagick-register-types): Use imagemagick-filter-types.
8412 If disabling support, remove elements altogether rather
8413 than using an impossible regexp.
8414 (imagemagick-types-inhibit): Give it the default init function.
8415
8416 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8417
8418 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
8419 Handle arbitrary file name lengths (Bug#11585).
8420
8421 2012-05-31 Martin Rudalics <rudalics@gmx.at>
8422
8423 * desktop.el (desktop-read): Clear previous and next buffers for
8424 all windows and bury *Messages* buffer (bug#11556).
8425
8426 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8427
8428 Add `declare' for `defun'. Align `defmacro's with it.
8429 * emacs-lisp/easy-mmode.el (define-minor-mode)
8430 (define-globalized-minor-mode): Don't autoload the var definitions.
8431 * emacs-lisp/byte-run.el: Use lexical-binding.
8432 (defun-declarations-alist, macro-declarations-alist): New vars.
8433 (defmacro, defun): Use them.
8434 (make-obsolete, define-obsolete-function-alias)
8435 (make-obsolete-variable, define-obsolete-variable-alias):
8436 Use `declare'.
8437 (macro-declaration-function): Mark obsolete.
8438 * emacs-lisp/autoload.el: Use lexical-binding.
8439 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
8440
8441 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8442
8443 * textmodes/ispell.el (ispell-with-no-warnings):
8444 Define as a macro.
8445 (ispell-kill-ispell, ispell-change-dictionary):
8446 Use `called-interactively-p' for Emacs instead of obsolete
8447 `interactive-p'.
8448
8449 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8450
8451 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
8452 (macro-declaration-function): Move var from C code.
8453 (macro-declaration-function): Define function with defalias.
8454 * emacs-lisp/macroexp.el (macroexpand-all-1):
8455 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
8456 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
8457 defun/defmacro any more.
8458 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
8459 Provide fallback for unknown arglist.
8460 (byte-compile-arglist-warn): Change calling convention.
8461 (byte-compile-output-file-form): Move print-vars binding.
8462 (byte-compile-output-docform): Simplify accordingly.
8463 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
8464 (byte-compile-defmacro-declaration): Remove.
8465 (byte-compile-file-form-defmumble): Generalize to defalias.
8466 (byte-compile-output-as-comment): Return byte-positions.
8467 Simplify callers accordingly.
8468 (byte-compile-lambda): Use `assert'.
8469 (byte-compile-defun, byte-compile-defmacro): Remove.
8470 (byte-compile-file-form-defalias):
8471 Use byte-compile-file-form-defmumble.
8472 (byte-compile-defalias-warn): Remove.
8473
8474 2012-05-29 Stefan Merten <smerten@oekonux.de>
8475
8476 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
8477 possible. Fix authors. Improve comments. Improve loading of `cl'.
8478
8479 (rst-mode-abbrev-table): Merge definition.
8480 (rst-mode): Make sure `font-lock-defaults' is buffer local.
8481 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
8482
8483 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
8484
8485 * calendar/icalendar.el
8486 (icalendar-export-region): Export UID properly.
8487
8488 2012-05-29 Leo Liu <sdl.web@gmail.com>
8489 * calendar/icalendar.el (icalendar-import-format):
8490 Add `icalendar-import-format-uid' (Bug#11525).
8491 (icalendar-import-format-uid): New.
8492 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
8493 Export UID.
8494
8495 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8496
8497 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
8498 different alternative patterns.
8499 (pcase-codegen): Be more careful to preserve identity.
8500 (pcase--u1): Don't forget to mark vars as used.
8501
8502 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
8503 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
8504 (byte-compile-from-buffer): ...rather than here.
8505
8506 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
8507 functions from byte-compile-function-environment.
8508
8509 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
8510
8511 * window.el (window-deletable-p): Avoid deleting the root window
8512 of a frame with an active minibuffer.
8513
8514 2012-05-29 Martin Rudalics <rudalics@gmx.at>
8515
8516 * simple.el (choose-completion): Use quit-window (Bug#11567).
8517
8518 2012-05-29 Chong Yidong <cyd@gnu.org>
8519
8520 * whitespace.el (whitespace-cleanup): Fix usage of
8521 whitespace-empty-at-bob-regexp (Bug#11492).
8522
8523 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8524
8525 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
8526 revert (Bug#11488).
8527
8528 2012-05-29 Juri Linkov <juri@jurta.org>
8529
8530 * isearch.el (isearch-mode-map): Bind `M-s _' to
8531 `isearch-toggle-symbol'. Bind `M-s c' to
8532 `isearch-toggle-case-fold'.
8533 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
8534 (isearch-forward): Add `M-s _' to the docstring.
8535 (isearch-forward-symbol, isearch-toggle-case-fold)
8536 (isearch-symbol-regexp): New functions. (Bug#11381)
8537
8538 2012-05-29 Juri Linkov <juri@jurta.org>
8539
8540 * isearch.el (isearch-word): Add docstring. (Bug#11381)
8541 (isearch-occur, isearch-search-and-update): If `isearch-word' is
8542 a function, call it to get the regexp.
8543 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
8544 property `isearch-message-prefix' instead of the string "word ".
8545 (isearch-search-fun-default): For the case of `isearch-word',
8546 return a lambda that calls re-search-forward/re-search-backward
8547 with a regexp returned by `word-search-regexp' or by the function
8548 in `isearch-word'.
8549
8550 2012-05-29 Juri Linkov <juri@jurta.org>
8551
8552 * isearch.el (isearch-search-fun-default): New function.
8553 (isearch-search-fun): Move default part to the new function
8554 `isearch-search-fun-default'.
8555 (isearch-search-fun-function): Set the default value to
8556 `isearch-search-fun-default'. (Bug#11381)
8557
8558 * comint.el (comint-history-isearch-end):
8559 Use `isearch-search-fun-default'.
8560 (comint-history-isearch-search): Use `isearch-search-fun-default'
8561 and remove spacial case for `isearch-word'.
8562 (comint-history-isearch-wrap): Remove spacial case for
8563 `isearch-word'.
8564
8565 * hexl.el (hexl-isearch-search-function):
8566 Use `isearch-search-fun-default'.
8567
8568 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
8569 Use `word-search-regexp' for `isearch-word'.
8570
8571 * misearch.el (multi-isearch-search-fun):
8572 Use `isearch-search-fun-default'.
8573
8574 * simple.el (minibuffer-history-isearch-search):
8575 Use `isearch-search-fun-default' and remove spacial case for
8576 `isearch-word'.
8577 (minibuffer-history-isearch-wrap): Remove spacial case for
8578 `isearch-word'.
8579
8580 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
8581 Remove spacial case for `isearch-word'.
8582 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
8583
8584 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8585
8586 Decrease XEmacs incompatibilities.
8587 * textmodes/flyspell.el (flyspell-check-pre-word-p):
8588 Use `string-match'.
8589 (flyspell-delete-region-overlays): Use alternative definition for
8590 XEmacs.
8591 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
8592 (flyspell-word): Use `process-kill-without-query' if XEmacs.
8593 (flyspell-mode-on): Use `interactive-p' if XEmacs.
8594 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
8595 `define-obsolete-face-alias' under XEmacs, but old method.
8596
8597 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
8598 `with-no-warnings' definition or Emacs alias.
8599 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
8600 (ispell-word): Do not use `region-p' if XEmacs.
8601
8602 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8603
8604 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
8605 Check for `ispell-dictionary-base-alist' instead of full
8606 `ispell-dictionary-alist'.
8607 (ispell-init-process): Show spellchecker when starting new Ispell
8608 process.
8609
8610 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
8611
8612 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
8613 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
8614
8615 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
8616
8617 * version.el (motif-version-string, gtk-version-string)
8618 (ns-version-string): Declare.
8619
8620 2012-05-27 Juri Linkov <juri@jurta.org>
8621
8622 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
8623 after the `eval-defun-1' specialcaseing
8624 like in `edebug-eval-defun' (bug#10181).
8625
8626 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
8627 like in `eval-defun-1'.
8628
8629 2012-05-27 Eli Zaretskii <eliz@gnu.org>
8630
8631 * mail/sendmail.el (mail-yank-region):
8632 Recognize rmail-yank-current-message in addition to insert-buffer.
8633 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
8634 a *mail* buffer created through rmail-start-mail with sendmail as
8635 mail-user-agent.
8636
8637 2012-05-27 Chong Yidong <cyd@gnu.org>
8638
8639 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
8640 Default to 256 (Bug#11267).
8641
8642 * help.el (describe-mode): Doc fix.
8643
8644 2012-05-26 Glenn Morris <rgm@gnu.org>
8645
8646 * w32-fns.el (w32-init-info): Remove.
8647 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
8648
8649 * info.el (info-initialize): For self-contained NS builds, put the
8650 included info/ directory at the front. (Bug#2791)
8651
8652 * paths.el (Info-default-directory-list): Make it a defcustom,
8653 mainly so that we can use custom-initialize-delay.
8654
8655 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
8656
8657 * subr.el (buffer-has-markers-at): Mark obsolete.
8658
8659 * subr.el (lambda): Use declare.
8660
8661 * emacs-lisp/lisp-mode.el (lambda):
8662 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
8663
8664 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8665
8666 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
8667
8668 2012-05-26 Glenn Morris <rgm@gnu.org>
8669
8670 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
8671
8672 2012-05-25 Glenn Morris <rgm@gnu.org>
8673
8674 * paths.el: Remove no-byte-compile.
8675 * loadup.el: No need to load paths.el uncompiled.
8676
8677 * image.el (imagemagick-types-inhibit): Doc fix.
8678
8679 * version.el: Remove no-byte-compile and associated formatting.
8680 * loadup.el: No need to load version.el uncompiled. AFAICS, this
8681 is ancient code from when there was an "inc-vers.el".
8682
8683 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8684
8685 * progmodes/gdb-mi.el: Minor style changes.
8686 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
8687 Turn into minor modes.
8688 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
8689 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
8690 (gdb-shell): Remove unneeded let-binding.
8691 (gdb-get-many-fields): Eliminate O(n²) behavior.
8692
8693 2012-05-25 Eli Zaretskii <eliz@gnu.org>
8694
8695 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
8696 platforms that don't link in fontset.c.
8697
8698 2012-05-25 Juri Linkov <juri@jurta.org>
8699
8700 Use the same diff color scheme as in modern VCSes (bug#10181).
8701
8702 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
8703 to avoid confusion with `diff-added' that now uses green colors.
8704 (diff-removed): Use shades of red.
8705 (diff-added): Use shades of green.
8706 (diff-changed): Leave just the yellow color.
8707 (diff-use-changed-face): New variable.
8708 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
8709 how to highlight context diff changes.
8710 (diff-refine-change): Use shades of yellow.
8711 (diff-refine-removed): New face that uses shades of red.
8712 (diff-refine-added): New face that uses shades of green.
8713 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
8714 `diff-refine-removed' in the call to `smerge-refine-subst'
8715 depending on the value of `diff-use-changed-face'.
8716
8717 * vc/smerge-mode.el (smerge-mine): Use shades of red.
8718 (smerge-other): Use shades of green.
8719 (smerge-base): Use shades of yellow.
8720 (smerge-refined-change): Empty face.
8721 (smerge-refined-removed): New face that uses shades of red.
8722 (smerge-refined-added): New face that uses shades of green.
8723 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
8724 args `props-r' and `props-a', and use them. Doc fix.
8725 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
8726 on its value use different faces `smerge-refined-change',
8727 `smerge-refined-removed', `smerge-refined-added' in the call to
8728 `smerge-refine-subst'.
8729
8730 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
8731 Add face condition `min-colors 88' with shades of red.
8732 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
8733 `min-colors 88' with shades of green.
8734 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
8735 `min-colors 88' with shades of yellow.
8736
8737 2012-05-24 Glenn Morris <rgm@gnu.org>
8738
8739 * paths.el (prune-directory-list, remote-shell-program): Move to...
8740 * files.el (prune-directory-list, remote-shell-program): ...here.
8741 For the latter, delay initialization, prefer ssh, just search PATH.
8742
8743 * paths.el (term-file-prefix): Move to faces.el (the only user).
8744 * faces.el (term-file-prefix): Move here, make it a defcustom.
8745
8746 * paths.el (news-directory, news-path, news-inews-program):
8747 Move to gnus/nnspool.el.
8748
8749 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
8750
8751 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
8752 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
8753 Make the latter a defcustom, with a delayed initialization.
8754
8755 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
8756 These were deleted from Gnus itself late 2010.
8757
8758 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
8759
8760 * progmodes/which-func.el (which-func-ff-hook):
8761 Check against user-error, not error.
8762
8763 * emacs-lisp/edebug.el (top): Do not load or set up loading of
8764 cl-specs.el, which no longer exists.
8765
8766 2012-05-22 Glenn Morris <rgm@gnu.org>
8767
8768 * info.el (info-emacs-bug): New command.
8769 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
8770 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
8771
8772 2012-05-21 Glenn Morris <rgm@gnu.org>
8773
8774 * makefile.w32-in (update-subdirs-SH):
8775 * Makefile.in (update-subdirs): Update for moved update-subdirs.
8776
8777 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
8778
8779 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
8780
8781 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8782 Simplify Maven regexp, and make sure the file can't start with a space
8783 (bug#11517).
8784
8785 2012-05-21 Glenn Morris <rgm@gnu.org>
8786
8787 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
8788 Scrap superfluous subshells.
8789
8790 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
8791
8792 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
8793 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
8794
8795 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
8796
8797 * calc/calc.el (calc-ensure-consistent-units): New variable.
8798
8799 * calc/calc-units.el (math-consistent-units-p)
8800 (math-check-unit-consistency): New functions.
8801 (calc-quick-units, calc-convert-units):
8802 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
8803 is non-nil.
8804 (calc-extract-units): Fix typo.
8805
8806 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8807
8808 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
8809
8810 * textmodes/flyspell.el: Commenting style, plus code simplifications.
8811 (flyspell-default-deplacement-commands): Don't spell check after
8812 repeated window/frame switches (e.g. triggered by mouse-movement).
8813 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
8814 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
8815 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
8816 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
8817 Remove unused vars.
8818 (flyspell-get-casechars, flyspell-get-not-casechars):
8819 Simplify; Don't bother removing a ] just to add it back.
8820 * textmodes/ispell.el (ispell-program-name): Use executable-find.
8821
8822 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8823
8824 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
8825 New functions.
8826 (math-function-table): Add support for more C functions.
8827
8828 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8829
8830 * textmodes/flyspell.el (flyspell-check-pre-word-p)
8831 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
8832 Protect delay handling for otherchars against empty otherchars.
8833
8834 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8835
8836 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
8837 their respective macro declarations.
8838 * skeleton.el (define-skeleton):
8839 * progmodes/compile.el (define-compilation-mode):
8840 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
8841 (define-ibuffer-filter):
8842 * emacs-lisp/generic.el (define-generic-mode):
8843 * emacs-lisp/easy-mmode.el (define-minor-mode)
8844 (define-globalized-minor-mode):
8845 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
8846 * emacs-lisp/byte-run.el (defsubst):
8847 * custom.el (deftheme): Add doc-string metadata.
8848
8849 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8850
8851 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
8852
8853 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8854
8855 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
8856
8857 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
8858 * emacs-lisp/cl-macs.el: Idem.
8859 * emacs-lisp/cl-specs.el: Remove.
8860
8861 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8862
8863 Minor renaming of internal CL functions and variables.
8864 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
8865 (cl--position): Rename from cl-position.
8866 (cl--delete-duplicates): Rename from cl-delete-duplicates.
8867 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
8868 (cl--random-state): Rename from *random-state*.
8869
8870 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8871
8872 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
8873 parens around the arg list (bug#11499).
8874
8875 2012-05-17 Juri Linkov <juri@jurta.org>
8876
8877 * isearch.el (word-search-regexp, word-search-backward)
8878 (word-search-forward, word-search-backward-lax)
8879 (word-search-forward-lax): Move functions from search.c
8880 (bug#10145, bug#11381).
8881
8882 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8883
8884 * textmodes/flyspell.el (flyspell-check-pre-word-p)
8885 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
8886 Delay for otherchars as for normal word components.
8887
8888 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
8889
8890 * minibuffer.el (completion--sifn-requote): Fix last change.
8891 (minibuffer-local-must-match-filename-map):
8892 Move define-obsolete-variable-alias before its var.
8893
8894 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8895
8896 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
8897
8898 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
8899 behavior.
8900 (completion--string-equal-p): New function.
8901 (completion--twq-all): Use it to get better assertion failure data.
8902
8903 Only handle ".." and '..' quoting in shell-mode (bug#11466).
8904 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
8905 (shell--requote-argument): New functions.
8906 (shell-completion-vars): Use them.
8907 (shell--parse-pcomplete-arguments): Rename from
8908 shell-parse-pcomplete-arguments.
8909 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
8910 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
8911 Obey comint-file-name-quote-list.
8912
8913 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
8914 (smie-indent-keyword): Use it.
8915
8916 2012-05-14 Stefan Merten <smerten@oekonux.de>
8917
8918 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
8919
8920 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
8921
8922 * net/rlogin.el (rlogin-mode-map): Fix last change.
8923
8924 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8925
8926 * mail/smtpmail.el (smtpmail-send-command): Send the command and
8927 the following \r\n using a single `process-send-string', since the
8928 Lotus SMTP server refuses to accept any commands if they are sent
8929 with two `process-send-string's (Bug#11444).
8930
8931 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
8932
8933 * shell.el (shell-parse-pcomplete-arguments):
8934 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
8935
8936 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
8937
8938 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
8939 (image-transform-scale, image-transform-right-angle-fudge): New vars.
8940 (image-transform-width, image-transform-fit-width): New functions.
8941 (image-transform-properties): Use them.
8942 (image-transform-check-size): New function.
8943 (image-toggle-display-image): Use it (for testing).
8944 (image-transform-set-rotation): Reduce angle mod 360.
8945 Delete obsolete comment.
8946
8947 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
8948
8949 * image-mode.el: Fix scaling (bug#11399).
8950 (image-transform-resize): Doc fix.
8951 (image-transform-properties): Default scale is 1 and height should
8952 be an integer.
8953
8954 2012-05-13 Johan Bockgård <bojohan@gnu.org>
8955
8956 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
8957 than hard-coding `car', to fix misbehavior when moving forward.
8958
8959 2012-05-13 Chong Yidong <cyd@gnu.org>
8960
8961 * emacs-lisp/tabulated-list.el (tabulated-list-format)
8962 (tabulated-list-entries, tabulated-list-padding)
8963 (tabulated-list-sort-key): Make permanent-local.
8964
8965 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
8966 (electric-buffer-list): Put electric buffer menu
8967 command descriptions in this docstring, instead of the docstring
8968 of electric-buffer-menu-mode. Code cleanups.
8969 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
8970 Electric-buffer-menu-mode.
8971 (electric-buffer-update-highlight): Minor code cleanup.
8972
8973 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
8974
8975 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
8976 (Bug#11447)
8977
8978 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
8979
8980 Move define-obsolete-variable-alias before the var's definition.
8981 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
8982 * tooltip.el (tooltip-hook):
8983 * textmodes/reftex-toc.el (reftex-toc-map):
8984 * textmodes/reftex-sel.el (reftex-select-label-map)
8985 (reftex-select-bib-map):
8986 * textmodes/reftex-index.el (reftex-index-map)
8987 (reftex-index-phrases-map):
8988 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
8989 * progmodes/meta-mode.el (meta-mode-map):
8990 * novice.el (disabled-command-hook):
8991 * loadhist.el (unload-hook-features-list):
8992 * frame.el (blink-cursor):
8993 * files.el (find-file-not-found-hooks, write-file-hooks)
8994 (write-contents-hooks):
8995 * emulation/tpu-edt.el (GOLD-map):
8996 * emacs-lock.el (emacs-lock-from-exiting):
8997 * emacs-lisp/generic.el (generic-font-lock-defaults):
8998 * emacs-lisp/chart.el (chart-map):
8999 * dos-fns.el (register-name-alist):
9000 * dired-x.el (dired-omit-files-p):
9001 * desktop.el (desktop-enable):
9002 * cus-edit.el (custom-mode-hook):
9003 * buff-menu.el (buffer-menu-mode-hook):
9004 * bookmark.el (bookmark-read-annotation-text-func)
9005 (bookmark-exit-hooks):
9006 * allout.el (allout-mode-deactivate-hook)
9007 (allout-exposure-change-hook, allout-structure-added-hook)
9008 (allout-structure-deleted-hook, allout-structure-shifted-hook):
9009 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
9010 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
9011 comes before the corresponding variable's definition.
9012
9013 2012-05-12 Chong Yidong <cyd@gnu.org>
9014
9015 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
9016 (Buffer-menu-mouse-select): Restore function (Bug#11459).
9017 (Buffer-menu-mode-map): Bind it.
9018 (Buffer-menu--pretty-name): Add a mouse-face property.
9019
9020 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
9021
9022 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
9023 (prolog-upper-case-string, prolog-lower-case-string)
9024 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
9025 (prolog-use-smie, prolog-smie-grammar): New vars.
9026 (prolog-smie-forward-token, prolog-smie-backward-token)
9027 (prolog-smie-rules): New funs.
9028 (prolog-comment-indent): Remove.
9029 (prolog-mode-variables): Use default comment indentation instead.
9030 Setup SMIE.
9031 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
9032 (prolog-mode): Don't call them any more.
9033 (prolog-electric-colon, prolog-electric-dash)
9034 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
9035
9036 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
9037
9038 * minibuffer.el (completion--twq-all): Again, allow case differences.
9039
9040 * term.el: Move keymap initialization code to be more idiomatic.
9041 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
9042 (term-terminal-menu): Move initialization into declaration.
9043 (term-escape-char): Let the user set it in her .emacs.
9044
9045 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
9046 Provide SMIE-based indentation (not enabled by default yet).
9047 (sh-mode-map): Don't bind electric keys.
9048 Use electric-pair-mode instead of skeleton-pair.
9049 (sh-assignment-regexp): Fit within 80 columns.
9050 (sh-indent-supported): Specify actual shell name instead of boolean.
9051 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
9052 (sh-maybe-here-document): Use it. Make obsolete.
9053 (sh-electric-here-document-mode) New minor mode.
9054 (sh-mode): Use it. Don't set sh-indent-supported-here here.
9055 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
9056 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
9057 (sh-smie-rc-grammar, sh-use-smie): New vars.
9058 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
9059 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
9060 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
9061 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
9062 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
9063 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
9064 (sh-set-shell): Use smie-setup if requested.
9065
9066 * term.el (term-set-escape-char): Properly set term-escape-char.
9067 See http://stackoverflow.com/questions/10524656.
9068
9069 2012-05-10 Chong Yidong <cyd@gnu.org>
9070
9071 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
9072 Use url-generic-parse-url, and handle host names and Windows
9073 filenames properly.
9074 (ffap-url-unwrap-remote): Use url-generic-parse-url.
9075 (ffap-url-unwrap-remote): Accept list values, specifying a list of
9076 URL schemes to work on.
9077 (ffap--toggle-read-only): New function.
9078 (ffap-read-only, ffap-read-only-other-window)
9079 (ffap-read-only-other-frame): Use it.
9080 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
9081 necessary for ffap-url-unwrap-remote.
9082
9083 2012-05-10 Dave Abrahams <dave@boostpro.com>
9084
9085 * cus-start.el (create-lockfiles): Add it.
9086
9087 2012-05-09 Chong Yidong <cyd@gnu.org>
9088
9089 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
9090 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
9091
9092 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9093
9094 * shell.el (shell-completion-vars): Fix last change (bug#11348).
9095
9096 2012-05-09 Chong Yidong <cyd@gnu.org>
9097
9098 * ansi-color.el (ansi-color-process-output): Check for validity of
9099 comint-last-output-start before using it. This avoids a bad
9100 interaction with gdb-mi's input/output buffer.
9101
9102 2012-05-09 Glenn Morris <rgm@gnu.org>
9103
9104 * files.el (dir-locals-read-from-file):
9105 Mention dir-locals in any error message.
9106
9107 2012-05-09 Chong Yidong <cyd@gnu.org>
9108
9109 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
9110 package (Bug#11410).
9111
9112 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
9113 variables into description.
9114
9115 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9116
9117 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
9118 shell-delimiter-argument-list (bug#11348).
9119 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
9120
9121 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
9122
9123 * textmodes/rst.el: Silence byte-compiler warnings.
9124 (rst-re-alist, rst-reset-section-caches): Move around.
9125 (rst-re): Use `characterp', not `char-valid-p'.
9126 (font-lock-beg, font-lock-end): Declare.
9127
9128 * progmodes/idlw-shell.el (specs): Remove reference to deleted
9129 variable `idlwave-shell-activate-alt-keybindings' and simplify.
9130
9131 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
9132
9133 2012-05-08 Glenn Morris <rgm@gnu.org>
9134
9135 * files.el (auto-mode-alist): Treat ".make" like ".mk".
9136
9137 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9138
9139 * vc/log-edit.el: Add GNU coding standards highlighting.
9140 (log-edit-font-lock-gnu-style)
9141 (log-edit-font-lock-gnu-keywords): New vars.
9142 (log-edit-font-lock-keywords): New fun.
9143 (log-edit-mode): Don't fold case in font-lock.
9144 (log-edit-font-lock-keywords): Do not assume case-folding.
9145
9146 * imenu.el: Misc cleanup. Make docstrings out of comments.
9147 Use lexical-binding.
9148 (imenu--index-alist, imenu--last-menubar-index-alist)
9149 (imenu-menubar-modified-tick): Use defvar-local.
9150 (imenu--split-menu): Remove unused var.
9151 (imenu--cleanup-seen): Declare as global.
9152 (imenu--cleanup): Use dolist.
9153
9154 * subr.el (defvar-local): Add debug spec and doc-string position.
9155
9156 2012-05-08 Glenn Morris <rgm@gnu.org>
9157
9158 * language/burmese.el, language/cham.el, language/czech.el:
9159 * language/english.el, language/georgian.el, language/greek.el:
9160 * language/japanese.el, language/khmer.el, language/korean.el:
9161 * language/lao.el, language/misc-lang.el, language/romanian.el:
9162 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
9163 * language/thai.el, language/utf-8-lang.el:
9164 Remove no-byte-compile setting.
9165
9166 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
9167
9168 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9169
9170 * progmodes/make-mode.el (makefile-browse):
9171 Remove unnecessary interactive. (Bug#11324)
9172
9173 2012-05-07 Glenn Morris <rgm@gnu.org>
9174
9175 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
9176
9177 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
9178
9179 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9180
9181 * loadup.el: Preload newcomment.el.
9182 * newcomment.el: Move autoload-only code to toplevel.
9183
9184 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
9185 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
9186 Handle new :right-align column property.
9187 (tabulated-list-print-col): Idem, plus use `display' text-property to
9188 try and preserve alignment for variable pitch fonts.
9189
9190 2012-05-07 Chong Yidong <cyd@gnu.org>
9191
9192 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
9193 (tabulated-list-use-header-line): New var.
9194 (tabulated-list-init-header): Use it.
9195 (tabulated-list-print-fake-header): New function.
9196 (tabulated-list-print): Use it.
9197 (tabulated-list-sort-button-map): Add non-header-line commands.
9198 (tabulated-list-init-header): Add column name property to basic
9199 labels as well.
9200 (tabulated-list-col-sort): Handle non-header-line button case.
9201 (tabulated-list--sort-by-column-name): Fix a corner case.
9202
9203 * buff-menu.el (list-buffers--refresh):
9204 Handle Buffer-menu-use-header-line.
9205
9206 2012-05-06 Chong Yidong <cyd@gnu.org>
9207
9208 * buff-menu.el: Convert to Tabulated List mode.
9209 (Buffer-menu-buffer+size-width): Make obsolete.
9210 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
9211 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
9212 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
9213 documentation into docstring of buffer-menu.
9214 (Buffer-menu-toggle-files-only): Add an informative message.
9215 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
9216 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
9217 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
9218 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
9219 (Buffer-menu-execute, Buffer-menu-select)
9220 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
9221 (Buffer-menu-bury): Use Tabulated List machinery.
9222 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
9223 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
9224 Delete.
9225 (list-buffers--refresh): New function.
9226 (list-buffers-noselect): Use it.
9227 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
9228 (Buffer-menu--pretty-file-name): New helper functions.
9229
9230 * loadup.el: Preload tabulated-list.
9231
9232 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
9233 tabulated-list-sort-column.
9234 (tabulated-list-init-header): Add the initial aligning space even
9235 if tabulated-list-padding is zero.
9236
9237 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
9238
9239 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
9240 whose cdr is not a cons cell correctly (bug#11038).
9241
9242 2012-05-06 Chong Yidong <cyd@gnu.org>
9243
9244 * emacs-lisp/tabulated-list.el (tabulated-list-format):
9245 Accept additional plist in column descriptors.
9246 (tabulated-list-init-header): Obey it.
9247 (tabulated-list-get-entry): New function.
9248 (tabulated-list-put-tag): Use it. Use string-width instead of
9249 length.
9250 (tabulated-list--column-number): New function.
9251 (tabulated-list-print): Use it.
9252 (tabulated-list-print-col): New function.
9253 Set `tabulated-list-column-name' property on each column's text.
9254 (tabulated-list-print-entry): Use it.
9255 (tabulated-list-delete-entry, tabulated-list-set-col):
9256 New functions.
9257 (tabulated-list-sort-column): New command (Bug#11337).
9258
9259 * buff-menu.el (list-buffers): Move C-x C-b binding from
9260 buff-menu.el to bindings.el.
9261
9262 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
9263 :advertised-binding feature.
9264
9265 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
9266
9267 * progmodes/compile.el (compilation-internal-error-properties):
9268 Calculate start position correctly when end-col is set but
9269 end-line is not (Bug#11382).
9270
9271 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
9272
9273 * man.el (Man-unindent): Use text-property-default-nonsticky to
9274 prevent untabify from inheriting face properties (Bug#11408).
9275
9276 2012-05-05 Stefan Merten <smerten@oekonux.de>
9277
9278 * textmodes/rst.el: Major merge with upstream development up to
9279 Docutils SVN r7399 / rst.el V1.2.1.
9280
9281 Clarify maintainership and authors.
9282
9283 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
9284 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
9285 (rst-official-version, rst-official-cvs-rev, rst-version)
9286 (rst-package-emacs-version-alist): New functions and variables
9287 for version information.
9288
9289 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
9290 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
9291 (rst-mode-syntax-table, rst-mode): New and corrected functions
9292 and variables representing reStructuredText features.
9293
9294 (rst-re): New function for reStructuredText regexes. Use in
9295 many places.
9296
9297 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
9298 (rst-mode-map): Rebind keys.
9299
9300 (rst-mode-lazy, rst-font-lock-keywords)
9301 (rst-font-lock-extend-region)
9302 (rst-font-lock-extend-region-internal)
9303 (rst-font-lock-extend-region-extend)
9304 (rst-font-lock-find-unindented-line-limit)
9305 (rst-font-lock-find-unindented-line-match)
9306 (rst-adornment-level, rst-font-lock-adornment-level)
9307 (rst-font-lock-adornment-match)
9308 (rst-font-lock-handle-adornment-pre-match-form)
9309 (rst-font-lock-handle-adornment-matcher): Major revision of
9310 font-locking. Integrate with other code. Use `jit-lock-mode'.
9311
9312 (rst-preferred-adornments, rst-adjust-hook)
9313 (rst-new-adornment-down, rst-preferred-bullets)
9314 (rst-preferred-bullets, rst-indent, rst-indent-width)
9315 (rst-indent-field, rst-indent-literal-normal)
9316 (rst-indent-literal-minimized, rst-indent-comment): Change,
9317 extend and improve customization.
9318
9319 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
9320 (rst-normalize-cursor-position, rst-get-decoration)
9321 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
9322 (rst-rstrip, rst-toc-insert-find-delete-contents)
9323 (rst-shift-fill-region, rst-compute-bullet-tabs)
9324 (rst-debug-print-tabs, rst-debug-mark-found)
9325 (rst-shift-region-guts, rst-shift-region-right)
9326 (rst-shift-region-left, rst-use-char-classes)
9327 (rst-font-lock-keywords-function)
9328 (rst-font-lock-indentation-point)
9329 (rst-font-lock-find-unindented-line-begin)
9330 (rst-font-lock-find-unindented-line-end)
9331 (rst-font-lock-find-unindented-line)
9332 (rst-font-lock-adornment-point, rst-font-lock-level)
9333 (rst-adornment-level-alist): Remove functions and variables.
9334
9335 (rst-compare-adornments, rst-get-adornment-match)
9336 (rst-suggest-new-adornment, rst-get-adornments-around)
9337 (rst-adornment-complete-p, rst-get-next-adornment)
9338 (rst-adjust-adornment, rst-display-adornments-hierarchy)
9339 (rst-straighten-adornments): Standardize function names to
9340 use "adornment" instead of "decoration". Correct callers.
9341 Similar standardizing in many places.
9342
9343 (rst-update-section, rst-adjust, rst-promote-region)
9344 (rst-enumerate-region, rst-bullet-list-region)
9345 (rst-repeat-last-character): Correct use of `interactive'.
9346
9347 (rst-classify-adornment, rst-find-all-adornments)
9348 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
9349 (rst-find-leftmost-column, rst-repeat-last-character):
9350 Refactor functions.
9351
9352 (rst-find-title-line, rst-reset-section-caches)
9353 (rst-get-adornments-around, rst-adjust-adornment-work)
9354 (rst-arabic-to-roman, rst-roman-to-arabic)
9355 (rst-insert-list-pos, rst-insert-list-new-item)
9356 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
9357 New functions.
9358
9359 (rst-all-sections, rst-section-hierarchy)
9360 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
9361 New variables.
9362
9363 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
9364 configuration instead of only buffer. Change where necessary.
9365
9366 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
9367 (rst-shift-region, rst-adaptive-fill): New functions for
9368 indentation and filling.
9369
9370 (rst-comment-line-break, rst-comment-indent)
9371 (rst-comment-insert-comment, rst-comment-region)
9372 (rst-uncomment-region): New functions for handling comments.
9373
9374 (rst-compile): Quote shell arguments.
9375
9376 (rst-compile-pdf-preview, rst-compile-slides-preview):
9377 Delete temporary files after use.
9378
9379 2012-05-05 Glenn Morris <rgm@gnu.org>
9380
9381 * calendar/cal-html.el: Optionally include holidays in the output.
9382 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
9383 (cal-html-holidays): New option.
9384 (cal-html-css-default): Add holiday entry.
9385 (holiday-in-range): Autoload it.
9386 (cal-html-htmlify-entry): Add optional class argument.
9387 (cal-html-htmlify-list): Add optional holidays argument.
9388 (cal-html-insert-agenda-days): Include holidays in the output.
9389 (cal-html-one-month): Maybe include holidays.
9390
9391 * calendar/holidays.el (holiday-in-range):
9392 Move here from cal-tex-list-holidays.
9393 * calendar/cal-tex.el (cal-tex-list-holidays):
9394 Make it an obsolete alias for holiday-in-range. Update all callers.
9395
9396 2012-05-05 Chong Yidong <cyd@gnu.org>
9397
9398 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
9399 Nextstep.
9400
9401 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
9402
9403 * files.el (file-auto-mode-skip): New var.
9404 (set-auto-mode-1): Use it.
9405
9406 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9407
9408 * repeat.el: Use lexical-binding.
9409 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
9410 (repeat-undo-count): Remove.
9411 (repeat):
9412 * progmodes/octave-mod.el (octave-abbrev-start):
9413 * progmodes/f90.el (f90-abbrev-start):
9414 * face-remap.el (text-scale-adjust):
9415 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
9416
9417 * emacs-lisp/pcase.el (pcase--let*): New function.
9418 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
9419 a bit more.
9420 (pcase--split-pred): Be more clever about ruling out overlap between
9421 a predicate and some constant pattern.
9422 (pcase--q1): Use `null' instead of (eq foo nil).
9423
9424 * subr.el (setq-local, defvar-local): New macros.
9425 (kbd): Redefine as an alias.
9426 (with-selected-window): Leave unrelated frames alone.
9427 (set-temporary-overlay-map): New function.
9428
9429 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9430
9431 * subr.el (user-error): New function.
9432 * window.el (switch-to-buffer):
9433 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
9434 (smerge-match-conflict):
9435 * simple.el (previous-matching-history-element)
9436 (next-matching-history-element, goto-history-element, undo-more)
9437 (undo-start):
9438 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
9439 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
9440 (next-file, tags-loop-scan, list-tags, complete-tag):
9441 * progmodes/compile.el (compilation-loop):
9442 * mouse.el (mouse-minibuffer-check):
9443 * man.el (Man-bgproc-sentinel, Man-goto-page):
9444 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
9445 (Info-history-forward, Info-follow-reference, Info-menu)
9446 (Info-extract-menu-item, Info-extract-menu-counting)
9447 (Info-forward-node, Info-backward-node, Info-next-menu-item)
9448 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
9449 (Info-next-reference, Info-prev-reference, Info-index)
9450 (Info-index-next, Info-follow-nearest-node)
9451 (Info-copy-current-node-name):
9452 * imenu.el (imenu--make-index-alist)
9453 (imenu-default-create-index-function, imenu-add-to-menubar):
9454 * files.el (basic-save-buffer, recover-file):
9455 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
9456 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
9457 (checkdoc-message-text, checkdoc-defun):
9458 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
9459 * cus-edit.el (customize-changed-options, customize-rogue)
9460 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
9461 (custom-variable-mark-to-reset-standard)
9462 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
9463 (custom-file):
9464 * completion.el (check-completion-length):
9465 * comint.el (comint-search-arg)
9466 (comint-previous-matching-input-string-position)
9467 (comint-previous-matching-input)
9468 (comint-replace-by-expanded-history-before-point, comint-send-input)
9469 (comint-copy-old-input, comint-backward-matching-input)
9470 (comint-goto-process-mark, comint-set-process-mark):
9471 * calendar/calendar.el (calendar-cursor-to-date): Use it.
9472 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
9473
9474 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9475
9476 * dabbrev.el (dabbrev--ignore-case-p): New function.
9477 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
9478 Use it.
9479
9480 * files.el (automount-dir-prefix): Mark as obsolete.
9481
9482 2012-05-04 Glenn Morris <rgm@gnu.org>
9483
9484 * patcomp.el, play/bruce.el: Move to obsolete/.
9485
9486 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
9487
9488 Fix minor Y10k bugs.
9489 * arc-mode.el (archive-unixdate):
9490 * autoinsert.el (auto-insert-alist):
9491 * calc/calc-forms.el (math-this-year):
9492 * emacs-lisp/copyright.el (copyright-current-year)
9493 (copyright-update-year, copyright):
9494 * tar-mode.el (tar-clip-time-string):
9495 * time.el (display-time-update):
9496 Don't assume years have 4 digits.
9497
9498 2012-05-04 Chong Yidong <cyd@gnu.org>
9499
9500 * dos-w32.el (file-name-buffer-file-type-alist)
9501 (direct-print-region-use-command-dot-com):
9502 * ffap.el (ffap-menu-regexp):
9503 * find-file.el (ff-special-constructs):
9504 * follow.el (follow-debug):
9505 * forms.el (forms--debug):
9506 * iswitchb.el (iswitchb-all-frames):
9507 * ido.el (ido-all-frames):
9508 * emacs-lisp/timer.el (timer-max-repeats):
9509 * mail/feedmail.el (feedmail-mail-send-hook)
9510 (feedmail-mail-send-hook-queued):
9511 * mail/footnote.el (footnote-signature-separator):
9512 * mail/mailabbrev.el (mail-alias-separator-string)
9513 (mail-abbrev-mode-regexp):
9514 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
9515 * progmodes/idlwave.el (idlwave-libinfo-file)
9516 (idlwave-default-completion-case-is-down)
9517 (idlwave-library-routines): Convert defvars to defcustoms.
9518
9519 * mail/rmail.el (rmail-decode-mime-charset):
9520 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
9521 (idlwave-shell-fix-inserted-breaks)
9522 (idlwave-shell-activate-alt-keybindings)
9523 (idlwave-shell-use-breakpoint-glyph):
9524 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
9525
9526 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9527
9528 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
9529
9530 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
9531
9532 * progmodes/verilog-mode.el (font-lock-keywords):
9533 Fix mis-highligting auto. Reported by Craig Barner.
9534 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
9535 defines from global name space. Reported by Dan Dever.
9536 (verilog-auto-reset, verilog-auto-reset-widths)
9537 (verilog-auto-tieoff): Support using unbased numbers for
9538 AUTORESET and AUTOTIEOFF.
9539 (verilog-submit-bug-report): Update variable list.
9540 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
9541 parenthesis from not matching. Reported by Michael Rytting.
9542 (verilog-auto-template-lint): Fix hash error when linting modules
9543 with no used templates.
9544 (verilog-warn, verilog-warn-error)
9545 (verilog-warn-fatal): When non-interactive report multiple
9546 warnings before exiting. Suggested by Brad Dobbie.
9547 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
9548 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
9549 to report unused template errors. Reported by Brad Dobbie.
9550 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
9551 nets, bug438. Reported by Vns Blore.
9552 (verilog-auto-inout-module, verilog-auto-reg)
9553 (verilog-read-decls, verilog-read-sub-decls-sig)
9554 (verilog-signals-edit-wire-reg, verilog-signals-with):
9555 Fix passing of Verilog data types in ANSI input/output ports
9556 such as "output logic" into the AUTOs. Special case "wire" and
9557 "reg" for backwards compatibility presuming Verilog 2001.
9558 (verilog-auto-ascii-enum): Add "auto enum" as alias.
9559 (verilog-preprocess): Fix replication of preprocess output.
9560 Reported by Brad Dobbie.
9561 (verilog-auto-inst-interfaced-ports):
9562 Create verilog-auto-inst-interfaced-ports, bug429.
9563 Reported by Julian Gorfajn.
9564 (verilog-after-save-font-hook)
9565 (verilog-before-save-font-hook): New variable.
9566 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
9567 (verilog-save-font-mods): Wrap disabling fontification, reported
9568 by David Rogoff.
9569 (verilog-do-indent, verilog-pretty-declarations-auto)
9570 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
9571 Reported by Pierre-David Pfister.
9572 (verilog-set-auto-endcomments): Fix endtask auto comments outside
9573 of class declarations, bug292. Reported by Kevin Heilman.
9574 (verilog-read-decls): Fix 'parameter type' not appearing in
9575 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
9576 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
9577 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
9578 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
9579 Reported by David Kravitz.
9580
9581 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
9582
9583 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
9584 assignment with tests in ifs and for loops.
9585 (verilog-extended-complete-re, verilog-complete-reg): Change so
9586 that DPI inport functions don't look like fuction declarations.
9587 (verilog-pretty-expr): Don't line up assignment
9588 operations to the test and increment in if and for loops
9589 (verilog-extended-complete-re, verilog-complete-reg): Change so
9590 that DPI inport functions don't look like fuction declarations.
9591
9592 2012-05-03 Kenichi Handa <handa@m17n.org>
9593
9594 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
9595 decoding, and show a warning message without signaling an error
9596 (Bug#11282).
9597
9598 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9599
9600 * emacs-lisp/bytecomp.el
9601 (byte-compile-file-form-custom-declare-variable): Compile all elements,
9602 since cconv.el might have introduced :fun-body, internal-make-closure,
9603 and friends for bytecomp to handle (bug#11391).
9604 * custom.el (defcustom): Avoid ((λ ..) ..).
9605
9606 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
9607
9608 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
9609
9610 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
9611
9612 * notifications.el (dbus-debug):
9613 * term/linux.el (gpm-mouse-enable):
9614 * term/screen.el (xterm-register-default-colors): Declare.
9615
9616 2012-05-02 Chong Yidong <cyd@gnu.org>
9617
9618 * cus-start.el (gc-cons-percentage, exec-suffixes)
9619 (dos-display-scancodes, dos-hyper-key, dos-super-key)
9620 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
9621 (make-cursor-line-fully-visible, void-text-area-pointer)
9622 (font-list-limit): Add customization data.
9623
9624 * allout.el (allout-exposure-change-functions)
9625 (allout-structure-added-functions)
9626 (allout-structure-deleted-functions)
9627 (allout-structure-shifted-functions): Rename abnormal hooks from
9628 *-hook, and convert to defcustoms.
9629 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
9630 Convert to defcustoms.
9631 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
9632
9633 * allout-widgets.el: Hook callers changed.
9634
9635 2012-05-02 Eli Zaretskii <eliz@gnu.org>
9636
9637 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
9638 the yanked message in preference to the default value of
9639 buffer-file-coding-system.
9640
9641 2012-05-02 Martin Rudalics <rudalics@gmx.at>
9642
9643 * window.el (display-buffer--action-function-custom-type):
9644 Fix entry.
9645
9646 2012-05-02 Alan Mackenzie <acm@muc.de>
9647
9648 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
9649
9650 2012-05-01 Glenn Morris <rgm@gnu.org>
9651
9652 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
9653
9654 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
9655
9656 * cus-edit.el (custom-variable-documentation): Simplify with format.
9657
9658 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9659 Stefan Monnier <monnier@iro.umontreal.ca>
9660
9661 * simple.el (suggest-key-bindings, execute-extended-command):
9662 Move from keyboard.c.
9663
9664 2012-05-01 Chong Yidong <cyd@gnu.org>
9665
9666 * follow.el: Eliminate advice.
9667 (set-process-filter, process-filter, sit-for): Advice deleted.
9668 (follow-mode-off-hook): Obsolete hook removed.
9669 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
9670 Vars deleted.
9671 (follow-auto): Use a :set function.
9672 (follow-mode): Rewritten. Don't advise process filters.
9673 (follow-switch-to-current-buffer-all, follow-scroll-up)
9674 (follow-scroll-down): Assume follow-mode is bound.
9675 (follow-comint-scroll-to-bottom)
9676 (follow-align-compilation-windows): New functions.
9677 (follow--window-sorter): New function.
9678 (follow-all-followers): Use it to explicitly sort windows by their
9679 positions; don't make assumptions about next-window order.
9680 (follow-windows-start-end, follow-delete-other-windows-and-split)
9681 (follow-calc-win-start): Doc fix.
9682 (follow-windows-aligned-p, follow-select-if-visible): Don't call
9683 vertical-motion unnecessarily.
9684 (follow-adjust-window): New function.
9685 (follow-post-command-hook): Use it.
9686 (follow-call-set-process-filter, follow-call-process-filter)
9687 (follow-intercept-process-output, follow-tidy-process-filter-alist)
9688 (follow-stop-intercept-process-output, follow-generic-filter):
9689 Functions deleted.
9690 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
9691 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
9692 New functions, replacing advice on scroll-bar-* commands.
9693 (follow-mwheel-scroll): New function (Bug#4112).
9694
9695 * comint.el (comint-adjust-point): New function.
9696 (comint-postoutput-scroll-to-bottom): Use it.
9697 Call follow-comint-scroll-to-bottom for Follow mode buffers.
9698
9699 2012-05-01 Glenn Morris <rgm@gnu.org>
9700
9701 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
9702 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
9703 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
9704 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
9705 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
9706 Remove no-byte-compile setting.
9707
9708 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
9709
9710 * minibuffer.el (completion-table-with-quoting): Fix compatibility
9711 all-completions code to not return a number in the last cdr.
9712
9713 2012-04-30 Leo Liu <sdl.web@gmail.com>
9714
9715 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
9716 read-only error.
9717
9718 2012-04-29 Chong Yidong <cyd@gnu.org>
9719
9720 * follow.el (follow-calc-win-end): Rewrite to handle partial
9721 screen lines correctly (Bug#8390).
9722 (follow-avoid-tail-recenter): Minor cleanup.
9723
9724 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9725
9726 Avoid the obsolete `assoc' package.
9727 * speedbar.el (speedbar-refresh): Avoid adelete.
9728 (speedbar-file-lists): Simplify and avoid aput.
9729 * man.el (Man--sections, Man--refpages): New vars, replacing
9730 Man-sections-alist and Man-refpages-alist.
9731 (Man-build-section-alist, Man-build-references-alist):
9732 Use them; avoid aput.
9733 (Man--last-section, Man--last-refpage): New vars.
9734 (Man-follow-manual-reference): Use them.
9735 Use the `default' arg of completing-read.
9736 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
9737
9738 2012-04-27 Chong Yidong <cyd@gnu.org>
9739
9740 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
9741
9742 * startup.el (x-apply-session-resources): New function.
9743
9744 * term/ns-win.el (ns-initialize-window-system):
9745 * term/w32-win.el (w32-initialize-window-system):
9746 * term/x-win.el (x-initialize-window-system): Use it to properly
9747 set menu-bar-mode and other vars from X resources, even if the
9748 initial frame is not a window-system frame (Bug#2299).
9749
9750 * subr.el (read-key): Avoid running filter function when setting
9751 up temporary tool bar entries (Bug#9922).
9752
9753 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
9754
9755 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
9756 (Bug#11344)
9757
9758 2012-04-27 Chong Yidong <cyd@gnu.org>
9759
9760 * select.el (xselect--encode-string): New function, split from
9761 xselect-convert-to-string.
9762 (xselect-convert-to-string): Use it.
9763 (xselect-convert-to-filename, xselect-convert-to-os)
9764 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
9765 returned strings are properly encoded (Bug#11315).
9766
9767 2012-04-27 Chong Yidong <cyd@gnu.org>
9768
9769 * simple.el (delete-active-region): Move to killing custom group.
9770
9771 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
9772
9773 * progmodes/which-func.el (which-func-current): Quote %
9774 characters for mode-line processing.
9775
9776 2012-04-27 Chong Yidong <cyd@gnu.org>
9777
9778 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
9779 reaching eob (Bug#11286).
9780
9781 2012-04-27 Eli Zaretskii <eliz@gnu.org>
9782
9783 * progmodes/gdb-mi.el (gdb-control-level): New variable.
9784 (gdb): Make it buffer-local and init to zero.
9785 (gdb-control-commands-regexp): New variable.
9786 (gdb-send): Don't wrap in "-interpreter-exec console" if
9787 gdb-control-level is positive. Increment gdb-control-level
9788 whenever the command matches gdb-control-commands-regexp, and
9789 decrement it each time the command is "end". (Bug#11279)
9790
9791 2012-04-27 Martin Rudalics <rudalics@gmx.at>
9792
9793 * window.el (adjust-window-trailing-edge, enlarge-window)
9794 (shrink-window, window-resize):
9795 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
9796 windows (Bug#11276).
9797
9798 2012-04-27 Chong Yidong <cyd@gnu.org>
9799
9800 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
9801 fix "missing prefix" warning. All callers changed.
9802
9803 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9804
9805 * emacs-lisp/assoc.el: Move to obsolete/.
9806
9807 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9808
9809 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
9810
9811 * term/ns-win.el (ns-define-service):
9812 * progmodes/pascal.el (pascal-goto-defun):
9813 * progmodes/js.el (js--read-tab):
9814 * progmodes/etags.el (tags-lazy-completion-table):
9815 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
9816 * emacs-lisp/ewoc.el (ewoc--wrap):
9817 * emacs-lisp/assoc.el (aput, adelete, amake):
9818 * doc-view.el (doc-view-convert-current-doc):
9819 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
9820
9821 2012-04-26 Chong Yidong <cyd@gnu.org>
9822
9823 * image.el (image-type-from-buffer): Only return supported image
9824 type (Bug#9045).
9825
9826 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
9827 value, for symmetry with diff-end-of-hunk.
9828 (diff-split-hunk, diff-find-source-location)
9829 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
9830 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
9831 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
9832 compute the relevant hunk or file properly (Bug#6005).
9833 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
9834
9835 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9836
9837 * vc/vc-mtn.el:
9838 * vc/vc-hg.el:
9839 * vc/vc-git.el:
9840 * vc/vc-dir.el:
9841 * vc/vc-cvs.el:
9842 * vc/vc-bzr.el:
9843 * vc/vc-arch.el:
9844 * vc/vc.el: Replace lexical-let by lexical-binding.
9845 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
9846 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
9847 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
9848
9849 2012-04-26 Chong Yidong <cyd@gnu.org>
9850
9851 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
9852 (diff-mode-shared-map): Bind it to / and [remap undo].
9853
9854 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
9855 (ediff-window-setup-function): Use it as the default, to set up
9856 windows based on whether the current frame is graphical (Bug#2138).
9857 (ediff-choose-window-setup-function-automatically): Make obsolete.
9858
9859 * vc/ediff-init.el: Always define ediff-pixel-width/height.
9860
9861 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9862
9863 * ffap.el: Remove old code for obsolete package.
9864 (ffap-complete-as-file-p): Remove.
9865
9866 Use completion-table-with-quoting for comint and pcomplete.
9867 * comint.el (comint--unquote&requote-argument)
9868 (comint--unquote-argument, comint--requote-argument): New functions.
9869 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
9870 (comint-quote-filename): Use regexp-opt-charset.
9871 (comint--common-suffix, comint--common-quoted-suffix)
9872 (comint--table-subvert): Remove.
9873 (comint-unquote-function, comint-requote-function): New vars.
9874 (comint--complete-file-name-data): Use them with
9875 completion-table-with-quoting.
9876 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
9877 * pcomplete.el (pcomplete-arg-quote-list)
9878 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
9879 (pcomplete-unquote-argument-function): Default to non-nil.
9880 (pcomplete-unquote-argument): Simplify.
9881 (pcomplete--common-quoted-suffix): Remove.
9882 (pcomplete-requote-argument-function): New var.
9883 (pcomplete--common-suffix): New function.
9884 (pcomplete-completions-at-point): Use completion-table-with-quoting
9885 and completion-table-subvert.
9886
9887 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
9888 (minibuffer--double-dollars): Preserve properties.
9889 (completion--sifn-requote): New function.
9890 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
9891
9892 * minibuffer.el: Add support for completion of quoted/escaped data.
9893 (completion-table-with-quoting, completion-table-subvert): New funs.
9894 (completion--twq-try, completion--twq-all): New functions.
9895 (completion--nth-completion): New function.
9896 (completion-try-completion, completion-all-completions): Use it.
9897
9898 2012-04-25 Leo Liu <sdl.web@gmail.com>
9899
9900 * progmodes/python.el (python-pdbtrack-get-source-buffer):
9901 Use compilation-message if available to find real filename.
9902
9903 2012-04-25 Chong Yidong <cyd@gnu.org>
9904
9905 * vc/diff-mode.el (diff-setup-whitespace): New function.
9906 (diff-mode): Use it.
9907
9908 * vc/diff.el (diff-sentinel):
9909 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
9910 Whitespace mode variables based on diff style (Bug#8612).
9911
9912 2012-04-25 Leo Liu <sdl.web@gmail.com>
9913
9914 * progmodes/python.el (python-send-region): Add suffix .py to the
9915 temp file.
9916
9917 * files.el (auto-mode-alist): Use javascript-mode instead.
9918
9919 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
9920
9921 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
9922
9923 * net/soap-client.el (soap-resolve-references-for-sequence-type)
9924 (soap-resolve-references-for-array-type): Hack to prevent self
9925 references, see Bug#9.
9926 (soap-parse-envelope): Report the contents of the 'detail' node
9927 when receiving a fault reply.
9928 (soap-parse-envelope): Report the contents of the entire 'detail' node.
9929
9930 * net/soap-inspect.el (soap-sample-value-for-simple-type)
9931 (soap-inspect-simple-type): New function.
9932
9933 * net/soap-client.el (soap-simple-type): New struct.
9934 (soap-default-xsd-types, soap-default-soapenc-types)
9935 (soap-decode-basic-type, soap-encode-basic-type):
9936 support unsignedInt and double basic types.
9937 (soap-resolve-references-for-simple-type)
9938 (soap-parse-simple-type, soap-encode-simple-type): New function.
9939 (soap-parse-schema): Parse xsd:simpleType declarations.
9940
9941 * net/soap-client.el (soap-default-xsd-types)
9942 (soap-default-soapenc-types): Add integer, byte and anyURI types.
9943 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
9944 the local name of "soapenc:Array".
9945 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
9946 decoding integer, byte and anyURI xsd types.
9947
9948 2012-04-25 Chong Yidong <cyd@gnu.org>
9949
9950 * cus-edit.el (custom-buffer-create-internal): Update header text.
9951
9952 2012-04-25 Eli Zaretskii <eliz@gnu.org>
9953
9954 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
9955 settings on 'system-type', not on 'window-system'. On MS-Windows,
9956 set interactive-mode on in GDB.
9957
9958 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9959
9960 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
9961 (ruby-syntax-propertize-regexp): Remove.
9962 (ruby-syntax-propertize-function): Split regexp into chunks.
9963 Match following code directly.
9964
9965 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
9966
9967 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
9968 (ruby-syntax-propertize-regexp): New function.
9969 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
9970 by a special keyword.
9971
9972 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
9973 (ruby-syntax-general-delimiters-goto-beg)
9974 (ruby-syntax-propertize-general-delimiters): New functions.
9975 (ruby-syntax-propertize-function): Use them to handle GDL.
9976 (ruby-font-lock-keywords): Move old handling of GDL...
9977 (ruby-font-lock-syntactic-keywords): .. to here.
9978 (ruby-calculate-indent): Adjust indentation for GDL.
9979
9980 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
9981
9982 * notifications.el (top): Remove unneeded declarations.
9983 (notifications-specification-version): Change to "1.2".
9984 (notifications-interface, notifications-notify-method)
9985 (notifications-close-notification-method): Fix docstring.
9986 (notifications-get-capabilities-method): New defconst.
9987 (notifications-notify): Add :action-items, :resident and
9988 :transient hints. Change "image_data" to "image-data" and
9989 "image_path" to "image-path".
9990 (notifications-get-capabilities): New defun.
9991
9992 2012-04-24 Leo Liu <sdl.web@gmail.com>
9993
9994 * progmodes/python.el: Move hideshow setup to the end.
9995
9996 2012-04-24 Martin Rudalics <rudalics@gmx.at>
9997
9998 * window.el (handle-select-window): Clear echo area since this is
9999 no more done by read_char (Bug#11304).
10000
10001 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10002
10003 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
10004 and `/ M' to filter-derived-mode.
10005 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
10006 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
10007 (ibuffer-mark-by-mode): Use default rather than initial-input.
10008 (ibuffer-filter-by-derived-mode): Autoload and require-match.
10009
10010 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
10011
10012 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
10013 (ibuffer-filter-by-derived-mode): New filter.
10014 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
10015
10016 2012-04-23 Andreas Politz <politza@fh-trier.de>
10017
10018 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
10019
10020 2012-04-23 Chong Yidong <cyd@gnu.org>
10021
10022 * cus-edit.el (customize-apropos, customize-apropos-options):
10023 Disable matching of non-option variables (Bug#11176).
10024 (customize-option, customize-option-other-window)
10025 (customize-changed-options): Doc fix.
10026 (customize-apropos-options, customize-apropos-faces)
10027 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
10028
10029 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
10030 Fix word list splitting (Bug#11132).
10031 (apropos-symbol, apropos-keybinding, apropos-label)
10032 (apropos-property, apropos-function-button)
10033 (apropos-variable-button, apropos-misc-button): New faces.
10034 (apropos-symbol-face, apropos-keybinding-face)
10035 (apropos-label-face, apropos-property-face, apropos-match-face):
10036 Variables removed (Bug#8396).
10037 (apropos-library-button, apropos-format-plist, apropos-print)
10038 (apropos-print-doc, apropos-describe-plist): Callers changed.
10039
10040 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
10041
10042 * net/xesam.el (xesam-mode-map): Use let-bound map in
10043 initialization. (Bug#11292)
10044
10045 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10046
10047 Preserve ispell session localwords when switching back to
10048 original buffer.
10049
10050 * textmodes/ispell.el (ispell-buffer-session-localwords):
10051 New buffer-local variable to hold buffer session localwords.
10052 (ispell-kill-ispell): Add option 'clear to delete session
10053 localwords.
10054 (ispell-command-loop, ispell-change-dictionary)
10055 (ispell-buffer-local-words): Preserve session localwords when
10056 needed.
10057
10058 * textmodes/flyspell.el (flyspell-process-localwords)
10059 (flyspell-do-correct): Preserve session localwords when needed.
10060
10061 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10062
10063 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
10064 using obsolete `translation-table-for-input'.
10065 (ispell-word, ispell-process-line, ispell-complete-word):
10066 Use plain `insert' instead of removed `ispell-insert-word'.
10067
10068 2012-04-22 Chong Yidong <cyd@gnu.org>
10069
10070 * cus-edit.el (custom-variable-menu)
10071 (custom-variable-reset-saved, custom-face-menu)
10072 (custom-face-reset-saved): If there is no saved value, make the
10073 "reset-saved" operation bring back the default (Bug#9509).
10074 (custom-face-state): Properly detect themed faces.
10075
10076 * faces.el (face-spec-set): Stop supporting deprecated form of
10077 third arg.
10078
10079 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
10080
10081 Move functions from C to Lisp. Make non-blocking method calls
10082 the default. Implement further D-Bus standard interfaces.
10083
10084 * net/dbus.el (dbus-message-internal): Declare function.
10085 Remove unneeded function declarations.
10086 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
10087 (dbus-message-type-method-return, dbus-message-type-error)
10088 (dbus-message-type-signal): Declare variables. Remove local
10089 definitions.
10090 (dbus-interface-dbus, dbus-interface-peer)
10091 (dbus-interface-introspectable, dbus-interface-properties)
10092 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
10093 Adapt docstring.
10094 (dbus-interface-objectmanager): New defconst.
10095 (dbus-call-method, dbus-call-method-asynchronously)
10096 (dbus-send-signal, dbus-method-return-internal)
10097 (dbus-method-error-internal, dbus-register-service)
10098 (dbus-register-signal, dbus-register-method): New defuns, moved
10099 from dbusbind.c
10100 (dbus-call-method-handler, dbus-setenv)
10101 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
10102 New defuns.
10103 (dbus-call-method-non-blocking): Make it an obsolete function.
10104 (dbus-unregister-object, dbus-unregister-service)
10105 (dbus-handle-event, dbus-register-property)
10106 (dbus-property-handler): Obey the new structure of
10107 `bus-registered-objects'.
10108 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
10109 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
10110 Use `dbus-call-method'.
10111
10112 2012-04-22 Chong Yidong <cyd@gnu.org>
10113
10114 * cus-edit.el (custom-commands, custom-reset-menu)
10115 (Custom-reset-standard): Tweak labels.
10116 (custom-reset-button-menu): Change default to t.
10117 (custom-buffer-create-internal): For the custom-reset-button-menu
10118 case, put the revert button first.
10119 (custom-group-subtitle): New face.
10120 (custom-group-value-create): Align docstring to a specific column.
10121
10122 * wid-edit.el (widget-documentation-link-add): Don't handle
10123 indentation in this function.
10124 (widget-documentation-string-indent-to): New function.
10125 (widget-documentation-string-value-create): Use it.
10126
10127 * autorevert.el (auto-revert):
10128 * epg-config.el (epg):
10129 * ibuffer.el (ibuffer):
10130 * mpc.el (mpc):
10131 * ses.el (ses):
10132 * eshell/eshell.el (eshell):
10133 * net/ange-ftp.el (ange-ftp):
10134 * progmodes/ebnf2ps.el (postscript):
10135 * progmodes/flymake.el (flymake):
10136 * progmodes/prolog.el (prolog):
10137 * progmodes/verilog-mode.el (verilog-mode):
10138 * progmodes/which-func.el (which-func):
10139 * term/xterm.el (xterm):
10140 * textmodes/picture.el (picture):
10141 * textmodes/tildify.el (tildify):
10142 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
10143 customization buffers.
10144
10145 2012-04-22 Alan Mackenzie <acm@muc.de>
10146
10147 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
10148 Adding a ) can hide the resulting (..) from searches. Fix it.
10149 Bound the backward search to the position of the existing (.
10150
10151 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
10152
10153 * progmodes/verilog-mode.el (verilog-mode): Check whether
10154 which-func-modes is t before adding verilog-mode.
10155 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
10156
10157 2012-04-21 Leo Liu <sdl.web@gmail.com>
10158
10159 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
10160
10161 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
10162
10163 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
10164 filling of the last column of a table (Bug#5635).
10165 (woman-find-next-control-line): New arg, specifying an additional
10166 regexp component for the control line.
10167 (woman2-roff-buffer): Use it.
10168 (woman-break-table): New function.
10169 (woman2-TS): Use it.
10170
10171 2012-04-21 Chong Yidong <cyd@gnu.org>
10172
10173 * woman.el (woman-set-buffer-display-table, woman-decode-region)
10174 (woman-horizontal-escapes, woman-negative-vertical-space)
10175 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
10176 (WoMan-warn-ignored): Use ?\s instead of ?\ .
10177
10178 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10179
10180 * minibuffer.el (completion-file-name-table): Complete user names.
10181
10182 2012-04-20 Leo Liu <sdl.web@gmail.com>
10183
10184 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
10185 and pcase-let*.
10186
10187 2012-04-20 Chong Yidong <cyd@gnu.org>
10188
10189 * server.el (server-execute): Respect initial-buffer-choice if it
10190 is a string and there are no files to open (Bug#2825).
10191 (server-create-window-system-frame, server-create-tty-frame):
10192 Don't switch buffers here.
10193 (server-process-filter): Only try to open a window system frame if
10194 compiled with graphical support (Bug#8314).
10195
10196 2012-04-20 Dan Nicolaescu <dann@gnu.org>
10197
10198 * battery.el (battery-echo-area-format): Display remaining time
10199 for sysfs backend too (Bug#11269).
10200 (battery-linux-sysfs): Fix conditional for the charge.
10201
10202 2012-04-20 Chong Yidong <cyd@gnu.org>
10203
10204 * progmodes/gdb-mi.el (gdb): Revert previous change.
10205 (gdb-inferior-io--init-proc): New function.
10206 (gdb-init-1): Use it.
10207 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
10208 responsible for allocating a new pty and hooking it to gdb when
10209 the old pty gets an EIO due to process exit.
10210 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
10211 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
10212 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
10213
10214 2012-04-20 Eli Zaretskii <eliz@gnu.org>
10215
10216 * window.el (window-min-size, window-sizable, window-min-delta)
10217 (window-max-delta, window--resizable, window-resizable)
10218 (window-total-size, window-full-height-p, window-full-width-p)
10219 (window-in-direction, window--resize-mini-window, window-resize)
10220 (window--resize-child-windows-normal)
10221 (window--resize-child-windows, window--resize-siblings)
10222 (window--resize-this-window, adjust-window-trailing-edge)
10223 (enlarge-window, shrink-window): Doc fixes.
10224
10225 2012-04-20 Chong Yidong <cyd@gnu.org>
10226
10227 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
10228 New function to call delete-process on the gdb-inferior buffer's pty.
10229 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
10230 pty process (Bug#11273).
10231 (gdb-update): New arg to suppress talking to the gdb process.
10232 (gdb-done-or-error): Use it.
10233 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
10234 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
10235 sentinel not being called.
10236
10237 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
10238
10239 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
10240
10241 2012-04-20 Glenn Morris <rgm@gnu.org>
10242
10243 * net/network-stream.el (open-network-stream): Doc fix.
10244
10245 2012-04-20 Chong Yidong <cyd@gnu.org>
10246
10247 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
10248
10249 2012-04-20 Alan Mackenzie <acm@muc.de>
10250
10251 Ensure searching for keywords is case sensitive.
10252
10253 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
10254 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
10255 (c-defun-name, c-mark-function, c-cpp-define-name)
10256 (c-comment-indent, c-scan-conditionals, c-indent-defun)
10257 (c-context-line-break): Bind case-fold-search to nil.
10258
10259 * progmodes/cc-mode.el (c-font-lock-fontify-region):
10260 Bind case-fold-search to nil.
10261
10262 2012-04-20 Chong Yidong <cyd@gnu.org>
10263
10264 * mail/sendmail.el (mail-bury): Call return action with the right
10265 Rmail buffer (Bug#11242).
10266
10267 * server.el (server-process-filter): Handle corner case where both
10268 tty and nowait options are present (Bug#11102).
10269
10270 2012-04-20 Eli Zaretskii <eliz@gnu.org>
10271
10272 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
10273 (top level): Put into the executable the ident-style '$Id:' tag on
10274 windows-nt as well.
10275
10276 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10277
10278 * electric.el (electric-indent-post-self-insert-function): Check that
10279 electric-indent-mode is enabled in current buffer.
10280
10281 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
10282
10283 * imenu.el (imenu-progress-message): Restore; it is "used" in
10284 erc/erc-imenu.el and net/snmp-mode.el.
10285
10286 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
10287
10288 * avoid.el (mouse-avoidance-mode): Mark unused arg.
10289 (mouse-avoidance-nudge-mouse): Remove unused binding.
10290
10291 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
10292
10293 * descr-text.el (describe-char):
10294 * progmodes/python.el (python-describe-symbol):
10295 Don't call `toggle-read-only', set `buffer-read-only'.
10296
10297 * imenu.el (imenu-default-goto-function): Mark unused args.
10298 (imenu-progress-message): Remove obsolete macro; all callers changed.
10299
10300 * subr.el (keymap-canonicalize): Remove unused binding.
10301 (read-passwd): Mark unused arg.
10302
10303 * tutorial.el (tutorial--display-changes): Remove unused binding.
10304 (tutorial--save-tutorial-to): Remove unused variable.
10305
10306 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
10307 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
10308 (package-generate-autoloads, package-menu--generate)
10309 (package-menu--find-upgrades): Remove unused bindings.
10310
10311 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
10312 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
10313 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
10314 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
10315 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
10316 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
10317 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
10318 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
10319 (cua-delete-char-rectangle): Mark unused args.
10320 (cua-align-rectangle): Remove unused binding.
10321
10322 * mail/rmail.el (compilation--message->loc)
10323 (epa--find-coding-system-for-mime-charset): Declare.
10324
10325 * net/dbus.el (dbus-register-service): Declare.
10326 (dbus-name-owner-changed-handler): Remove unused binding.
10327
10328 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
10329 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
10330 (nxml-scan-backward-within): Mark unused arg.
10331 (nxml-dynamic-markup-word): Remove unused binding.
10332
10333 * mouse.el (mouse-menu-major-mode-map):
10334 * emacs-lisp/authors.el (authors-scan-change-log)
10335 (authors-add-to-author-list):
10336 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
10337 * emacs-lisp/smie.el (smie-auto-fill):
10338 * mail/sendmail.el (mail-bury):
10339 * mail/unrmail.el (unrmail):
10340 * net/tls.el (open-tls-stream):
10341 * textmodes/picture.el (picture-mouse-set-point):
10342 Remove unused bindings.
10343
10344 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
10345
10346 * net/tramp.el (tramp-action-password): Let-bind
10347 `enable-recursive-minibuffers' to t.
10348
10349 2012-04-18 Sam Steingold <sds@gnu.org>
10350
10351 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
10352 instead of 'string to accommodate values like [f11].
10353 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
10354 * progmodes/gdb-mi.el: Likewise.
10355
10356 2012-04-18 Leo Liu <sdl.web@gmail.com>
10357
10358 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
10359 current buffer.
10360 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
10361 LOCAL is nil.
10362
10363 2012-04-18 Chong Yidong <cyd@gnu.org>
10364
10365 * simple.el (line-move): Use forward-line if in batch mode
10366 (Bug#11053).
10367
10368 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
10369
10370 * files.el (after-find-file): Do not try to add a final newline if
10371 the buffer is read-only (Bug#11156).
10372
10373 2012-04-17 Richard Stallman <rms@gnu.org>
10374
10375 * mail/rmail.el (rmail-start-mail):
10376 Pass (rmail-mail-return...) for the return-action.
10377 Pass (rmail-yank-current-message...) for the yank-action.
10378 (rmail-yank-current-message): New function.
10379 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
10380 (rmail-reply): Likewise.
10381 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
10382
10383 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
10384 buffer, not the last. Reject temp buffers. Use the rmail-mode
10385 buffer, not newbuf.
10386
10387 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
10388
10389 * server.el (server-ensure-safe-dir): Simplify.
10390
10391 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10392
10393 * emacs-lisp/smie.el: Provide smarter auto-filling.
10394 (smie-auto-fill): New function.
10395 (smie-setup): Use it.
10396
10397 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
10398
10399 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
10400
10401 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
10402 (comment-indent): Use it.
10403
10404 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
10405
10406 * ses.el: The overall change is to add cell renaming, that is
10407 setting fancy names for cell symbols other than name matching
10408 "\\`[A-Z]+[0-9]+\\'" regexp .
10409 (ses-localvars): Add ses--renamed-cell-symb-list.
10410 (ses-create-cell-variable): New defun.
10411 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
10412 (ses-relocate-formula): Relocate formulas only for cells the
10413 symbols of which are not renamed, i.e. symbols whose names do not
10414 match regexp "\\`[A-Z]+[0-9]+\\'".
10415 (ses-relocate-all): Relocate values only for cells the symbols of
10416 which are not renamed.
10417 (ses-load): Create cells variables as the (ses-cell ...) are read,
10418 in order to check row col consistency with cell symbol name only
10419 for cells that are not renamed.
10420 (ses-replace-name-in-formula): New defun.
10421 (ses-rename-cell): New defun.
10422
10423 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
10424
10425 * progmodes/perl-mode.el (perl-indent-parens-as-block):
10426 New option (bug#11118).
10427 (perl-calculate-indent): Respect it.
10428
10429 2012-04-17 Glenn Morris <rgm@gnu.org>
10430
10431 * dired-aux.el (dired-mark-read-string): Doc fix.
10432
10433 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
10434
10435 * dired-aux.el (dired-mark-read-string): Offer optional completion.
10436 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
10437
10438 2012-04-17 Glenn Morris <rgm@gnu.org>
10439
10440 * mouse.el (mouse-drag-track):
10441 * speedbar.el (speedbar-frame-mode):
10442 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
10443
10444 2012-04-16 Leo Liu <sdl.web@gmail.com>
10445
10446 * progmodes/python.el: Trivial cleanup.
10447
10448 2012-04-16 Glenn Morris <rgm@gnu.org>
10449
10450 * vc/vc.el (vc-string-prefix-p):
10451 * vc/pcvs-util.el (cvs-string-prefix-p):
10452 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
10453 * mpc.el (mpc-string-prefix-p):
10454 Make all of these into obsolete aliases for string-prefix-p.
10455 Update callers.
10456 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
10457
10458 * textmodes/two-column.el: Move custom options to the start.
10459 (frame-width): Remove compat definition.
10460 (2C-associate-buffer, 2C-dissociate):
10461 Use with-current-buffer rather than save-excursion.
10462 (2C-dissociate): Force a mode-line update.
10463 (2C-autoscroll): Use ignore-errors.
10464
10465 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
10466 Autoload trivia.
10467
10468 * emacs-lisp/cl-extra.el (*random-state*):
10469 Remove unnecessary declaration.
10470
10471 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
10472
10473 * play/cookie1.el (cookie-snarf):
10474 Give an explicit error if input file cannot be read.
10475
10476 * play/yow.el (yow-file): Use expand-file-name rather than concat.
10477
10478 * progmodes/perl-mode.el (c-macro-expand):
10479 Remove unnecessary autoload (it is in loaddefs.el).
10480
10481 * textmodes/picture.el (picture-desired-column)
10482 (picture-update-desired-column): Convert comments to doc-strings.
10483 (picture-substitute): Remove function.
10484 (picture-mode-map): Initialize in the defvar.
10485
10486 * woman.el: Remove eval-after-load for tar-mode.
10487 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
10488 (woman-tar-extract-file): Autoload it.
10489
10490 * frame.el (automatic-hscrolling): Make this alias obsolete.
10491
10492 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10493
10494 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
10495 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
10496 (ispell-dictionary-base-alist): Revert to original XEmacs
10497 friendly version for default. [:alpha:] will be added in
10498 `ispell-set-spellchecker-params' if needed.
10499
10500 2012-04-16 Chong Yidong <cyd@gnu.org>
10501
10502 * image.el (imagemagick--file-regexp): New variable.
10503 (imagemagick-register-types): Use it.
10504 (imagemagick-types-inhibit): Add :set function. Allow new value
10505 of t to inhibit all types.
10506
10507 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
10508 so we can preload it.
10509
10510 * loadup.el (fboundp): Preload regexp-opt, needed by
10511 imagemagick-register-types.
10512
10513 2012-04-15 Chong Yidong <cyd@gnu.org>
10514
10515 * frame.el (scrolling): Remove nearly unused customization group.
10516
10517 * scroll-all.el (scroll-all-mode): Move to windows group.
10518
10519 2012-04-15 Chong Yidong <cyd@gnu.org>
10520
10521 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
10522
10523 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10524
10525 Avoid the use of ((lambda ...) ...) in lexical-binding code.
10526 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
10527
10528 2012-04-15 Glenn Morris <rgm@gnu.org>
10529
10530 * simple.el (process-file-side-effects): Doc fix.
10531
10532 2012-04-15 Glenn Morris <rgm@gnu.org>
10533
10534 * international/mule-cmds.el (set-language-environment): Doc fix.
10535
10536 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
10537
10538 * server.el (server-auth-key, server-generate-key): Doc fixes.
10539 (server-get-auth-key): Doc fix. Use `string-match-p'.
10540 (server-start): Reflow docstring.
10541
10542 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
10543
10544 * server.el (server-generate-key): `called-interactively-p'
10545 requires a parameter.
10546
10547 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
10548
10549 * server.el (server-auth-key): New variable.
10550 (server-generate-key, server-get-auth-key): New function.
10551 (server-start): Use the new variable and functions to allow
10552 setting a permanent server key (bug#9423).
10553
10554 2012-04-14 Leo Liu <sdl.web@gmail.com>
10555
10556 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
10557
10558 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
10559
10560 Spelling fixes.
10561 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
10562 Emacs uses American spelling.
10563
10564 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
10565
10566 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
10567 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
10568 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
10569 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
10570
10571 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10572
10573 * progmodes/which-func.el (which-func-modes): Change default.
10574
10575 2012-04-14 Kim F. Storm <storm@cua.dk>
10576
10577 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
10578 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
10579
10580 2012-04-14 Chong Yidong <cyd@gnu.org>
10581
10582 * custom.el (custom-theme-set-variables): Doc fix.
10583
10584 2012-04-14 Glenn Morris <rgm@gnu.org>
10585
10586 * international/mule.el (set-auto-coding-for-load): Doc fix.
10587
10588 2012-04-14 Alan Mackenzie <acm@muc.de>
10589
10590 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
10591 imenu work again for Objective C Mode. Correct the *-index values,
10592 these having been disturbed by a previous change in 2011-08.
10593
10594 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
10595 Correct two search limits.
10596
10597 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10598
10599 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
10600
10601 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
10602
10603 * international/characters.el: Fix sorting.
10604
10605 2012-04-14 Eli Zaretskii <eliz@gnu.org>
10606
10607 * international/characters.el: Add more missing Latin case pairs.
10608
10609 2012-04-14 Glenn Morris <rgm@gnu.org>
10610
10611 * files.el (dir-locals-set-class-variables): Doc fix.
10612
10613 2012-04-14 Eli Zaretskii <eliz@gnu.org>
10614
10615 * international/characters.el: Add set-case-syntax-pair call for
10616 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
10617 counterpart. (Bug#11209)
10618
10619 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
10620
10621 2012-04-14 Glenn Morris <rgm@gnu.org>
10622
10623 * calendar/holidays.el (calendar-check-holidays): Doc fix.
10624
10625 2012-04-14 Eli Zaretskii <eliz@gnu.org>
10626
10627 * textmodes/ispell.el (ispell-dictionary-base-alist):
10628 Add data for Hebrew.
10629
10630 2012-04-14 Chong Yidong <cyd@gnu.org>
10631
10632 * net/rcirc.el (rcirc-cmd-quit):
10633 Revert 2012-03-18 change (Bug#11192).
10634
10635 2012-04-14 Glenn Morris <rgm@gnu.org>
10636
10637 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
10638
10639 2012-04-14 Eli Zaretskii <eliz@gnu.org>
10640
10641 * minibuffer.el (completion-in-region-mode-map):
10642 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
10643
10644 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
10645
10646 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
10647
10648 2012-04-13 Masatake YAMATO <yamato@redhat.com>
10649
10650 * minibuffer.el (minibuffer-local-filename-syntax): New variable
10651 to allow `C-M-f' and `C-M-b' to move to the nearest path
10652 separator (bug#9511).
10653
10654 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
10655
10656 * avoid.el: Require cl when compiling. And also move the
10657 `provide' to the end.
10658
10659 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10660
10661 * avoid.el (mouse-avoidance-banish-position): New variable.
10662 (mouse-avoidance-banish-destination): Use it (bug#10165).
10663
10664 2012-04-13 Leo Liu <sdl.web@gmail.com>
10665
10666 * progmodes/which-func.el (which-func-modes): Add objc-mode.
10667
10668 2012-04-13 Ken Brown <kbrown@cornell.edu>
10669
10670 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
10671 this is no longer needed now that cygstart understands file:// URLs.
10672 (browse-url-filename-alist): For the same reason, don't modify
10673 file:// URLs on Cygwin.
10674
10675 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
10676
10677 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
10678 the region on shift if the binding is already shifted (bug#11221).
10679
10680 2012-04-12 Glenn Morris <rgm@gnu.org>
10681
10682 * mail/mailpost.el: Move to obsolete/.
10683
10684 2012-04-12 Drew Adams <drew.adams@oracle.com>
10685
10686 * imenu.el (imenu--generic-function): Ignore invisible definitions
10687 (bug#10123).
10688
10689 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
10690
10691 * hexl.el (hexl-bits): New variable.
10692 (hexl-options): Mention the variable in the doc string.
10693 (hexl-rulerise, hexl-line-displen): New functions.
10694 (hexl-mode): Mention the new variable.
10695 (hexl-mode, hexl-current-address, hexl-current-address):
10696 Use the displen.
10697 (hexl-ascii-start-column): New function.
10698 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
10699 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
10700
10701 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10702
10703 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
10704 '("-i" ENCODING), in 2 separate command-line arguments, to specify
10705 the encoding, as expected by hunspell.
10706
10707 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
10708
10709 * battery.el (battery--linux-sysfs-regexp): New const.
10710 (battery-status-function): Use it. Remove yeeloong special case.
10711 (battery-yeeloong-sysfs): Remove.
10712 (battery-echo-area-format): Remove yeeloong special case.
10713
10714 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10715
10716 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
10717 Reported by Noah Friedman.
10718
10719 * subr.el (read-passwd): Use read-string.
10720
10721 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10722
10723 * vcursor.el (vcursor-move): Increase the priority of the overlay
10724 (bug#9663).
10725
10726 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
10727
10728 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
10729 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
10730
10731 2012-04-11 William Stevenson <yhvh2000@gmail.com>
10732
10733 * textmodes/artist.el (artist-mode): Convert artist-mode to use
10734 define-minor-mode (bug#10760).
10735
10736 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
10737
10738 * progmodes/grep.el (rgrep): Tweak the find command line so
10739 that directories matching `grep-find-ignored-files' won't be
10740 pruned (bug#10351).
10741
10742 2012-04-11 Chong Yidong <cyd@gnu.org>
10743
10744 * startup.el (command-line): Remove support for long-obsolete
10745 variable font-lock-face-attributes.
10746
10747 2012-04-11 Glenn Morris <rgm@gnu.org>
10748
10749 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
10750
10751 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10752
10753 * window.el (window--state-get-1): Obey window-point-insertion-type.
10754
10755 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
10756
10757 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
10758 to previous function when point is on the first character of a
10759 function. Take care of that in `narrow-to-defun' (bug#6157).
10760
10761 2012-04-11 Glenn Morris <rgm@gnu.org>
10762
10763 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
10764 not just file-errors.
10765
10766 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
10767 (vc-bzr-sha1): Use internal sha1.
10768
10769 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10770
10771 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
10772
10773 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
10774
10775 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
10776 that start in the middle of the line (bug#10496).
10777
10778 2012-04-10 Dan Nicolaescu <dann@gnu.org>
10779
10780 * battery.el (battery-linux-proc-acpi): Only one battery is
10781 discharged at a time, but that seems to confuse battery.el when
10782 computing `rate-type' for the battery not being discharged
10783 (bug#10332).
10784
10785 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10786
10787 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
10788
10789 * international/quail.el: Use dolist and simplify.
10790 (quail-define-package, quail-update-keyboard-layout)
10791 (quail-define-rules): Use dolist.
10792 (quail-insert-kbd-layout, quail-get-translation): CSE.
10793
10794 * tmm.el: Use dolist, remove left over hook.
10795 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
10796 Use dolist.
10797 (calendar-load-hook): Don't mess with it.
10798
10799 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
10800 Use derived-mode-p. Run the diff asynchronously.
10801
10802 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
10803
10804 * obsolete/mouse-sel.el: Add an Obsolete-since header.
10805
10806 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
10807
10808 * misc.el: Display absolute path of loaded DLLs (bug#10424).
10809 (list-dynamic-libraries--loaded): New function.
10810 (list-dynamic-libraries--refresh): Use it.
10811
10812 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
10813
10814 * progmodes/python.el (python-fill-paragraph):
10815 Make python-fill-region in a multiline string work when font-lock is
10816 disabled (bug#7018).
10817
10818 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
10819
10820 * language/european.el (cp775): Add oem/legacy (en)coding on
10821 DOS/MS Windows for the Baltic languages. There are still plenty
10822 of texts written in this encoding/codepage (bug#6519).
10823
10824 2012-04-10 Glenn Morris <rgm@gnu.org>
10825
10826 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
10827 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
10828
10829 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
10830
10831 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
10832 next-line "n" and previous-line "p" in order to make recentf more
10833 consistent with ibuffer, dired or org-mode (bug#9387).
10834
10835 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
10836
10837 * image.el (put-image): Return the overlay created instead of the
10838 optional input string (bug#7834). Note that this may break code
10839 that is (for some reason or other) depending on `put-image'
10840 returning the string.
10841
10842 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
10843
10844 * simple.el (zap-to-char): Allow zapping using input methods
10845 (bug#1580).
10846
10847 * textmodes/fill.el (fill-region): Leave point and mark where they
10848 were before filling (bug#5399).
10849
10850 2012-04-09 Glenn Morris <rgm@gnu.org>
10851
10852 * version.el (emacs-bzr-get-version):
10853 Handle lightweight checkouts of local branches.
10854
10855 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
10856
10857 * international/characters.el: Recover lost case pairs. (Bug#11209)
10858
10859 2012-04-09 Chong Yidong <cyd@gnu.org>
10860
10861 * custom.el (custom-variable-p): Return nil for non-symbol
10862 arguments instead of signaling an error.
10863 (user-variable-p): Obsolete alias for custom-variable-p.
10864
10865 * apropos.el (apropos-variable):
10866 * files-x.el (read-file-local-variable):
10867 * simple.el (set-variable):
10868 * woman.el (woman-mini-help):
10869 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
10870
10871 2012-04-09 Glenn Morris <rgm@gnu.org>
10872
10873 * startup.el (normal-top-level): Don't look for leim-list.el
10874 in places where it will not be found. (Bug#910)
10875
10876 * international/mule-cmds.el (set-default-coding-systems):
10877 * files.el (normal-mode):
10878 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
10879 This function was removed with ucs-tables.el in 2008.
10880
10881 2012-04-08 Eli Zaretskii <eliz@gnu.org>
10882
10883 * textmodes/ispell.el (ispell-check-version): For hunspell, set
10884 ispell-encoding8-command to "-i", without a trailing space.
10885 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
10886 separate command-line arguments, to specify the encoding, since
10887 that's how hunspell expects it.
10888
10889 2012-04-08 Glenn Morris <rgm@gnu.org>
10890
10891 * loadup.el: Load bindings before cus-start.
10892 This reduces somewhat the number of "rogue" settings in emacs -Q.
10893
10894 2012-04-07 Glenn Morris <rgm@gnu.org>
10895
10896 * version.el (emacs-bzr-get-version): New function.
10897 (emacs-bzr-version): New variable.
10898 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
10899 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
10900
10901 2012-04-07 Eli Zaretskii <eliz@gnu.org>
10902
10903 * international/uni-bidi.el, international/uni-category.el:
10904 * international/uni-combining.el, international/uni-decimal.el:
10905 * international/uni-decomposition.el, international/uni-digit.el:
10906 * international/uni-lowercase.el, international/uni-mirrored.el:
10907 * international/uni-name.el, international/uni-numeric.el:
10908 * international/uni-titlecase.el, international/uni-uppercase.el:
10909 Update for Unicode 6.1.
10910
10911 2012-04-07 Eli Zaretskii <eliz@gnu.org>
10912
10913 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
10914
10915 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
10916
10917 * window.el (shrink-window): Mention the `window-min-height'
10918 variable in the doc string.
10919
10920 2012-04-05 Bastien Guerry <bzg@altern.org>
10921
10922 * color.el (color-lighten-name): Fix typo.
10923
10924 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10925
10926 * server.el (server--on-display-p): New function.
10927 (server--on-display-p): Use it.
10928
10929 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
10930
10931 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
10932 (bug#11145).
10933
10934 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10935
10936 * comint.el (comint--common-quoted-suffix): Check string boundary
10937 before comparing (bug#11158).
10938 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
10939
10940 2012-04-04 Chong Yidong <cyd@gnu.org>
10941
10942 * minibuffer.el (completion-extra-properties): Doc fix.
10943
10944 * subr.el (delayed-warnings-hook): Doc fix.
10945
10946 2012-04-04 Daiki Ueno <ueno@unixuser.org>
10947
10948 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
10949 selection (Bug#11159).
10950 (epa-insert-keys): Inform that the default public key will be
10951 exported if no key is selected.
10952
10953 2012-04-04 Richard Stallman <rms@gnu.org>
10954
10955 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
10956
10957 2012-04-03 Chong Yidong <cyd@gnu.org>
10958
10959 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
10960 mail-insert-file, not its obsolete alias mail-attach-file.
10961
10962 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
10963
10964 * notifications.el (notifications-notify): Fix docstring.
10965
10966 2012-04-02 Glenn Morris <rgm@gnu.org>
10967
10968 * emacs-lisp/authors.el (authors-aliases): Another addition.
10969
10970 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
10971
10972 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
10973 `tramp-compat-call-process' instead of `tramp-local-call-process'.
10974 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
10975
10976 2012-04-01 Chong Yidong <cyd@gnu.org>
10977
10978 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
10979 Handle root directory properly.
10980 (copy-directory): Caller changed.
10981
10982 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
10983 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
10984
10985 2012-03-31 Glenn Morris <rgm@gnu.org>
10986
10987 * term/xterm.el (xterm-extra-capabilities): Doc fix.
10988
10989 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
10990
10991 * calendar/calendar.el (calendar-window-list)
10992 (calendar-hide-window): Restore. (Bug#11140)
10993 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
10994
10995 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
10996
10997 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10998
10999 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
11000 Check if file is a symlink (Bug#10489).
11001
11002 * files.el (copy-directory): Likewise.
11003
11004 2012-03-30 Chong Yidong <cyd@gnu.org>
11005
11006 * image.el (imagemagick-types-inhibit)
11007 (imagemagick-register-types): Doc fix.
11008
11009 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11010
11011 * textmodes/ispell.el (ispell-get-extended-character-mode):
11012 Disable extended-char-mode for hunspell. hunspell does not support it
11013 and treats ~word as ordinary words in pipe mode.
11014
11015 2012-03-30 Glenn Morris <rgm@gnu.org>
11016
11017 * tutorial.el (help-with-tutorial): Ensure local variables don't
11018 happen to make the buffer read-only. (Bug#11127)
11019
11020 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
11021
11022 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
11023 (perl-calculate-indent): Return `noindent' in strings.
11024
11025 2012-03-28 Sam Steingold <sds@gnu.org>
11026
11027 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
11028 instead of the broken adhockery which does not prevent calendar
11029 buffers from being displayed at random after exit.
11030 (calendar-window-list, calendar-hide-window): Remove the broken
11031 adhockery.
11032
11033 2012-03-28 Glenn Morris <rgm@gnu.org>
11034
11035 * replace.el (query-replace-map): Doc fix.
11036
11037 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
11038
11039 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
11040 contents. (Bug#11109)
11041
11042 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11043
11044 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
11045 (bug#11077).
11046 (avl-tree--check, avl-tree--check-node): New funs.
11047
11048 2012-03-27 Martin Rudalics <rudalics@gmx.at>
11049
11050 * window.el (switch-to-visible-buffer): New option.
11051 (switch-to-prev-buffer, switch-to-next-buffer):
11052 Observe switch-to-visible-buffer. Make sure that checking for a window
11053 showing a buffer already is done on the same frame.
11054
11055 2012-03-27 Glenn Morris <rgm@gnu.org>
11056
11057 * startup.el (mail-host-address): Doc fix.
11058
11059 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11060
11061 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
11062 than 197 variables.
11063
11064 2012-03-26 Ami Fischman <ami@fischman.org>
11065
11066 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
11067
11068 2012-03-26 Glenn Morris <rgm@gnu.org>
11069
11070 * files.el (save-buffers-kill-emacs): Doc fix.
11071
11072 * startup.el (normal-top-level, command-line, command-line-1):
11073 Give them doc strings.
11074
11075 2012-03-25 Eli Zaretskii <eliz@gnu.org>
11076
11077 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
11078 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
11079
11080 2012-03-25 Chong Yidong <cyd@gnu.org>
11081
11082 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
11083 theme if it was previously enabled before (Bug#11031).
11084
11085 * cus-theme.el (custom-theme-write-faces): Retrieve current face
11086 spec with custom-face-get-current-spec if its :shown-value is not
11087 determined yet (Bug#9337).
11088 (customize-create-theme, custom-theme-revert): Doc fixes.
11089
11090 * button.el (button-at): Minor addition to docstring.
11091
11092 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
11093
11094 * vc/vc.el (vc-merge): Fix a prompt.
11095
11096 2012-03-24 Chong Yidong <cyd@gnu.org>
11097
11098 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
11099 point (Bug#9623).
11100
11101 * button.el (button-at): Minor addition to docstring.
11102
11103 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
11104
11105 * newcomment.el (comment-choose-indent): No space after BOL.
11106
11107 2012-03-22 Sam Steingold <sds@gnu.org>
11108
11109 * window.el (switch-to-prev-buffer): Revert last patch because the
11110 bug turned out to be an advertised feature (Elisp manual 28.14).
11111
11112 2012-03-22 Glenn Morris <rgm@gnu.org>
11113
11114 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
11115 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
11116
11117 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
11118
11119 * net/network-stream.el (network-stream-open-starttls): Make error
11120 message under Windows be less misleading.
11121
11122 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
11123
11124 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
11125 understands (bug#9942).
11126
11127 2012-03-22 Chong Yidong <cyd@gnu.org>
11128
11129 * simple.el (end-of-visible-line): Handle return value of
11130 next-single-property-change properly (Bug#9371).
11131
11132 2012-03-22 Kenichi Handa <handa@m17n.org>
11133
11134 * international/quail.el (quail-insert-kbd-layout): Fix previous
11135 change. To avoid unwanted bidi reordering, use
11136 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
11137
11138 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
11139
11140 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
11141 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
11142 (ruby-beginning-of-indent): Be more careful with the difference
11143 between word-boundary and symbol boundary.
11144 (ruby-mode-syntax-table): Make : a symbol constituent.
11145
11146 2012-03-21 Andreas Politz <politza@fh-trier.de>
11147
11148 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
11149
11150 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
11151
11152 * progmodes/etags.el (tags-completion-at-point-function):
11153 Improve last fix.
11154
11155 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
11156
11157 2012-03-21 Sam Steingold <sds@gnu.org>
11158
11159 * progmodes/etags.el (tags-completion-at-point-function):
11160 Avoid the error when point is inside the pattern.
11161
11162 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
11163
11164 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
11165 line (Bug#10855).
11166
11167 2012-03-21 Drew Adams <drew.adams@oracle.com>
11168
11169 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
11170
11171 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
11172
11173 * ido.el (ido-set-current-directory, ido-read-internal)
11174 (ido-choose-completion-string, ido-completion-help): Handle nil
11175 value of ido-completion-buffer (Bug#11008).
11176
11177 2012-03-21 Sam Steingold <sds@gnu.org>
11178
11179 * window.el (switch-to-prev-buffer): Do not switch to a visible
11180 window previous buffer, just like with the frame previous buffers.
11181
11182 2012-03-21 Chong Yidong <cyd@gnu.org>
11183
11184 * faces.el (make-face, make-empty-face, copy-face):
11185 * face-remap.el (face-remap-add-relative, face-remap-set-base):
11186 Doc fixes.
11187
11188 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
11189
11190 * wid-edit.el (widget-complete-field): Remove (bug#11051).
11191 (widget-complete): Remove broken use of it.
11192
11193 2012-03-20 Chong Yidong <cyd@gnu.org>
11194
11195 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11196 Use string-width and truncate-string-width to handle arbitrary
11197 characters.
11198
11199 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
11200
11201 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
11202 to draw rectangles, not squares. (Regression introduced by revno
11203 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
11204
11205 2012-03-18 Chong Yidong <cyd@gnu.org>
11206
11207 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
11208 it is not yet defined (for temacs).
11209
11210 2012-03-18 Leo Liu <sdl.web@gmail.com>
11211
11212 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
11213 prefix.
11214
11215 2012-03-17 Eli Zaretskii <eliz@gnu.org>
11216
11217 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
11218 (ispell-choices-win-default-height, ispell-silently-savep)
11219 (ispell-dictionary-alist, ispell-encoding8-command)
11220 (ispell-check-version, ispell-aspell-find-dictionary)
11221 (ispell-valid-dictionary-list, ispell-words-keyword)
11222 (ispell-get-word, ispell-internal-change-dictionary)
11223 (ispell-region, ispell-skip-region-list)
11224 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
11225 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
11226 (ispell-message-text-end, ispell-message)
11227 (ispell-buffer-local-parsing): Doc fix.
11228
11229 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
11230
11231 * htmlfontify.el: Add support for code block fontification for ODT
11232 export (Bug #9914).
11233 (hfy-optimisations): Define new option
11234 `body-text-only'
11235 (hfy-fontify-buffer): Honor above setting.
11236 (hfy-begin-span, hfy-end-span): New routines factored out form
11237 `hfy-fontify-buffer'.
11238 (hfy-begin-span-handler, hfy-end-span-handler): New variables
11239 that permit insertion of custom tags.
11240 (hfy-fontify-buffer): Use above handlers.
11241 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
11242 (hfy-face-to-css): Re-defined to be a variable.
11243 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
11244 over multiple runs. This is made possible by having the caller let
11245 bind a special variable `hfy-user-sheet-assoc'.
11246 (htmlfontify-string): New defun.
11247 (hfy-compile-face-map): Make sure that the last char in the
11248 buffer is correctly fontified.
11249 (hfy-face-resolve-face): Whitespace only change.
11250
11251 2012-03-17 Eli Zaretskii <eliz@gnu.org>
11252
11253 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
11254 message more clear.
11255
11256 2012-03-16 Leo Liu <sdl.web@gmail.com>
11257
11258 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
11259
11260 2012-03-16 Alan Mackenzie <acm@muc.de>
11261
11262 Further optimise the handling of large macros.
11263
11264 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
11265 limit to a call of `c-literal-limits'.
11266 (c-determine-+ve-limit): New function.
11267 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
11268 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
11269 In CASE 5B, restrict a search limit to 500.
11270 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
11271
11272 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
11273 Restrict macro bounds to +-500 from after-change's BEG END.
11274
11275 2012-03-16 Leo Liu <sdl.web@gmail.com>
11276
11277 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
11278
11279 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
11280
11281 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
11282 `special-mode' setting of `buffer-read-only'. (Bug#11010)
11283
11284 2012-03-16 Glenn Morris <rgm@gnu.org>
11285
11286 * view.el (view-buffer, view-buffer-other-window)
11287 (view-buffer-other-frame): Doc fixes re special mode-class.
11288
11289 * subr.el (eval-after-load): If named feature is provided not from
11290 a file, run after-load forms. (Bug#10946)
11291
11292 * calendar/calendar.el (calendar-insert-at-column):
11293 Handle non-unit-width characters a bit better. (Bug#10978)
11294
11295 2012-03-15 Chong Yidong <cyd@gnu.org>
11296
11297 * emacs-lisp/ring.el (ring-extend): New function.
11298 (ring-insert+extend): Extend the ring correctly (Bug#11019).
11299
11300 * comint.el (comint-read-input-ring)
11301 (comint-add-to-input-history): Grow comint-input-ring lazily.
11302
11303 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11304
11305 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
11306 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
11307
11308 * imenu.el: Fix multiple inheritance breakage (bug#9199).
11309 (imenu-add-to-menubar): Don't add a redundant index.
11310 (imenu-update-menubar): Handle a dynamically composed keymap.
11311
11312 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
11313
11314 * mail/sendmail.el (mail-encode-header):
11315 Bind rfc2047-encode-encoded-words to nil.
11316
11317 2012-03-13 Glenn Morris <rgm@gnu.org>
11318
11319 * calendar/calendar.el (calendar-string-spread):
11320 Handle non-unit-width characters a bit better. (Bug#10978)
11321
11322 2012-03-13 Leo Liu <sdl.web@gmail.com>
11323
11324 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
11325 directory and file as argument (Bug#10822).
11326
11327 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
11328
11329 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
11330 For dynamically generated code, follow $PC.
11331 (gdb-disassembly-handler-custom): Handle no function name case.
11332
11333 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
11334
11335 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
11336 * emulation/ws-mode.el (ws-query-replace):
11337 * sort.el (sort-regexp-fields):
11338 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
11339
11340 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11341
11342 * dabbrev.el: Fix cycle completion order (bug#10963).
11343 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
11344 (dabbrev-completion): Don't use an obarray; provide
11345 a cycle-sort-function.
11346
11347 2012-03-12 Leo Liu <sdl.web@gmail.com>
11348
11349 * simple.el (kill-new): Use equal-including-properties for comparison.
11350 (kill-do-not-save-duplicates): Doc fix.
11351
11352 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11353
11354 * dabbrev.el: Fix cycle completion (bug#10963).
11355 Use lexical binding and wrap to 80 columns.
11356 (dabbrev-completion): Delay computing the list of completions.
11357
11358 2012-03-12 Kenichi Handa <handa@m17n.org>
11359
11360 * international/quail.el (quail-insert-kbd-layout): Surround each
11361 row by LRO and PDF instead of inserting many LRMs. Pad the left
11362 and right of each non-spacing marks. Insert invisible space
11363 between lower and upper characters to prevent composition.
11364
11365 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11366
11367 * minibuffer.el (minibuffer-complete): Don't get confused when the
11368 function is run twice via different commands (bug#10958).
11369 (complete-with-action): Fix docstring.
11370
11371 2012-03-12 Chong Yidong <cyd@gnu.org>
11372
11373 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
11374 (nxml-completion-at-point-function): New function.
11375 (nxml-mode): Use it.
11376 (nxml-bind-meta-tab-to-complete-flag): Default to t.
11377
11378 * emacs-lisp/package.el (package-unpack, package-unpack-single):
11379 Load generated autoloads file before byte compiling (Bug#10970).
11380 (package--make-autoloads-and-compile): New helper fun.
11381
11382 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
11383
11384 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
11385
11386 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
11387
11388 * autorevert.el (auto-revert-handler): Ensure, that
11389 file-readable-p is applied only for local files or in
11390 auto-revert-tail-mode.
11391
11392 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
11393
11394 * server.el (server-eval-at): Handle non-tcp connections.
11395 Decode result string.
11396
11397 * server.el (server-msg-size): New constant.
11398 (server-reply-print): New function.
11399 (server-eval-and-print): Use it.
11400 (server-eval-at): Use server-quote-arg and server-unquote-arg.
11401 Handle -print-nonl.
11402
11403 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
11404
11405 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
11406 (Bug#10987).
11407
11408 2012-03-11 Chong Yidong <cyd@gnu.org>
11409
11410 * simple.el (goto-line): Doc fix (Bug#9938).
11411
11412 * subr.el (save-window-excursion): Doc fix (Bug#9979).
11413
11414 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
11415 when finished (Bug#10963).
11416
11417 2012-03-11 Martin Rudalics <rudalics@gmx.at>
11418
11419 * window.el (split-window-below): Fix bug in case where
11420 split-window-keep-point is nil (Bug#10971).
11421
11422 2012-03-11 Juri Linkov <juri@jurta.org>
11423
11424 * replace.el (replace-highlight): Set isearch-word to nil
11425 unconditionally. (Bug#10887)
11426
11427 2012-03-10 Eli Zaretskii <eliz@gnu.org>
11428
11429 * net/mairix.el (mairix-replace-invalid-chars): Rename from
11430 mairix-replace-illegal-chars; all callers changed. Don't remove
11431 ^, ~, and = characters: they are meaningful in mairix search specs.
11432 (mairix-widget-create-query): Add usage information about mairix
11433 search forms: negating words, searching for substrings, etc.
11434
11435 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
11436
11437 * international/fontset.el (font-encoding-alist): Add an entry for
11438 ksx1001 (Bug#5667).
11439
11440 2012-03-10 Richard Stallman <rms@gnu.org>
11441
11442 * mail/sendmail.el (mail-encode-header):
11443 Set rfc2047-encode-encoded-words.
11444
11445 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
11446
11447 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
11448 view buffer means not swapped.
11449 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
11450 (rmail-write-region-annotate): Error if real text has disappeared.
11451
11452 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
11453
11454 2012-03-10 Chong Yidong <cyd@gnu.org>
11455
11456 * emulation/cua-rect.el (cua--init-rectangles):
11457 * emulation/cua-base.el (cua--init-keymaps):
11458 Add delete-forward-char to remappings (Bug#9666).
11459
11460 2012-03-10 Martin Rudalics <rudalics@gmx.at>
11461
11462 * speedbar.el (speedbar-unhighlight-one-tag-line):
11463 Avoid unhighlighting due to frame switching (Bug#10275).
11464
11465 2012-03-10 Chong Yidong <cyd@gnu.org>
11466
11467 * minibuffer.el (completion-in-region, completion-help-at-point):
11468 Give the completion field overlay a high priority (Bug#6830).
11469
11470 * dired.el (dired-goto-file): Recognize absolute file name
11471 listings (Bug#7126).
11472 (dired-goto-file-1): New helper function.
11473 (dired-toggle-read-only): Inhibit warnings.
11474
11475 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
11476
11477 * net/dbus.el (dbus-property-handler): Return empty array if
11478 there are no properties.
11479
11480 2012-03-09 Leo Liu <sdl.web@gmail.com>
11481
11482 * savehist.el (savehist-printable): Stricter check for string
11483 value (Bug#10937).
11484
11485 2012-03-09 Eli Zaretskii <eliz@gnu.org>
11486
11487 * mail/smtpmail.el (smtpmail-send-it):
11488 Bind coding-system-for-write to *-unix, so that FCC files are kept in
11489 valid mbox format.
11490
11491 2012-03-09 Glenn Morris <rgm@gnu.org>
11492
11493 * files.el (dir-locals-find-file):
11494 Don't check result is regular, readable.
11495 (dir-locals-read-from-file): Demote errors.
11496
11497 2012-03-08 Eli Zaretskii <eliz@gnu.org>
11498
11499 * international/quail.el (quail-insert-kbd-layout):
11500 Insert invisible LRM characters before each character in a keyboard
11501 layout cell, to prevent their reordering by bidi display engine.
11502 For details, see the discussion in
11503 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
11504
11505 2012-03-08 Alan Mackenzie <acm@muc.de>
11506
11507 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
11508 the starting position; make it extend the marked region when
11509 invoked repeatedly - all under appropriate circumstances.
11510 Fixes bugs #5525, #10906.
11511
11512 2012-03-08 Glenn Morris <rgm@gnu.org>
11513
11514 * files.el (locate-dominating-file, dir-locals-find-file):
11515 Undo 2012-03-06 change.
11516
11517 2012-03-07 Eli Zaretskii <eliz@gnu.org>
11518
11519 * international/quail.el (quail-help):
11520 Force bidi-paragraph-direction be left-to-right. See discussion in
11521 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
11522 for the reason.
11523
11524 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
11525
11526 Avoid superfluous registering of signals. (Bug#10807)
11527
11528 * notifications.el (notifications-on-action-object)
11529 (notifications-on-close-object): New defvars.
11530 (notifications-on-action-signal, notifications-on-closed-signal):
11531 Unregister the signal if not needed any longer.
11532 (notifications-notify): Register `notifications-action-signal' or
11533 `notifications-closed-signal', if :on-action or :on-close has been
11534 passed as argument.
11535
11536 2012-03-07 Chong Yidong <cyd@gnu.org>
11537
11538 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
11539 non-X platforms.
11540
11541 2012-03-06 Glenn Morris <rgm@gnu.org>
11542
11543 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
11544 (x-disown-selection-internal, x-get-selection-internal):
11545 Doc fix (add arglist signatures). (Bug#10783)
11546
11547 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
11548
11549 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
11550 Handle breakpoints with no "type".
11551
11552 2012-03-06 Glenn Morris <rgm@gnu.org>
11553
11554 * files.el (locate-dominating-file): Add optional predicate argument.
11555 (dir-locals-find-file): Make use of above change.
11556
11557 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
11558
11559 * info.el (Info-insert-dir): Also try "dir.gz".
11560
11561 2012-03-06 Glenn Morris <rgm@gnu.org>
11562
11563 * files.el (dir-locals-find-file):
11564 Ignore non-readable or non-regular files. (Bug#10928)
11565
11566 * files.el (locate-dominating-file): Doc fix.
11567
11568 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
11569
11570 * calendar/calendar.el (calendar-set-mode-line):
11571 `getenv' returns a string. (Bug#10951)
11572
11573 2012-03-05 Leo Liu <sdl.web@gmail.com>
11574
11575 * simple.el (backward-delete-char-untabify): Constrain point to
11576 field (Bug#10939).
11577
11578 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
11579
11580 2012-03-05 Chong Yidong <cyd@gnu.org>
11581
11582 * simple.el (count-words): If called from Lisp, return the word
11583 count, for symmetry with `count-lines'. Arglist changed.
11584 (count-words--message): Args changed. Consolidate counting code
11585 from count-words and count-words-region.
11586 (count-words-region): Caller changed.
11587 (count-lines-region): Make it an obsolete alias.
11588
11589 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
11590
11591 * saveplace.el (save-place-to-alist)
11592 (save-place-ignore-files-regexp): Allow value nil to disable this
11593 feature.
11594
11595 2012-03-04 Chong Yidong <cyd@gnu.org>
11596
11597 * faces.el (face-spec-reset-face): For the default face, reset the
11598 attributes to default values (Bug#10748).
11599
11600 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
11601
11602 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
11603 previous patch: Check `message-send-mail-function', and not the
11604 default function (bug#10897).
11605
11606 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
11607
11608 * notifications.el (notifications-on-action-signal)
11609 (notifications-on-closed-signal): Check for unique service name of
11610 incoming event. Fix error in removing entry.
11611 (top): Register for signals with wildcard service name.
11612 (notifications-notify): Use daemon unique service name for map entries.
11613
11614 2012-03-04 Chong Yidong <cyd@gnu.org>
11615
11616 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
11617
11618 2012-03-04 Glenn Morris <rgm@gnu.org>
11619
11620 * abbrev.el (copy-abbrev-table, abbrev-table-p)
11621 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
11622 (expand-abbrev, define-abbrev-table): Doc fixes.
11623
11624 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11625
11626 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
11627 `message-default-send-mail-function' and not `send-mail-function'
11628 when doing the prompting for `sendmail-query-once' before sending
11629 in Message buffers (bug#10897).
11630
11631 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
11632 This is inconsistent with all the other stream functions, which leave
11633 the setting up to the higher levels (if so wanted) (bug#10931).
11634
11635 2012-03-02 Alan Mackenzie <acm@muc.de>
11636
11637 Depessimize the handling of very large macros.
11638
11639 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
11640 (c-macro-cache-syntactic): New variables to implement a one
11641 element macro cache.
11642 (c-invalidate-macro-cache): New function.
11643 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
11644 Adapt to use the new cache.
11645 (c-state-safe-place): Use better the cache of safe positions.
11646 (c-state-semi-nonlit-pos-cache)
11647 (c-state-semi-nonlit-pos-cache-limit):
11648 New variables for...
11649 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
11650 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
11651 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
11652 Use c-state-semi-safe-place.
11653
11654 * progmodes/cc-langs.el (c-get-state-before-change-functions):
11655 Add c-invalidate-macro-cache to the C, C++, Obj entries.
11656
11657 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
11658
11659 * jka-compr.el (jka-compr-call-process):
11660 Apply `file-accessible-directory-p' only when the default directory is
11661 not remote.
11662
11663 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
11664
11665 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
11666 access of FILE2, if FILE1 does not exist.
11667
11668 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
11669 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
11670
11671 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
11672 Add "PAGER=" to `process-environment'.
11673
11674 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
11675
11676 * progmodes/sql.el: Bug fix
11677 (sql-get-login-ext): Save login values in globals.
11678 (sql-get-login): Use new version of `sql-get-login-ext'.
11679 (sql-interactive-mode): Set global `sql-connection' to nil.
11680 (sql-connect): Set global values for connection.
11681 (sql-product-interactive): Save global values as buffer local.
11682
11683 2012-02-29 Leo Liu <sdl.web@gmail.com>
11684
11685 * abbrev.el (define-abbrevs): Reset sys to nil.
11686
11687 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11688
11689 * files.el (file-equal-p): Rename from `files-equal-p'.
11690 Return nil when one or both files don't exist.
11691 (file-subdir-of-p): Now only top directory must exists,
11692 return nil if it doesn't.
11693 (copy-directory): No need to test with `file-subdir-of-p' after
11694 creating dir.
11695 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
11696 to `file-equal-p'.
11697
11698 2012-02-28 Glenn Morris <rgm@gnu.org>
11699
11700 * shell.el (shell-mode):
11701 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
11702 * play/landmark.el (landmark-font-lock-face-O):
11703 * play/handwrite.el (handwrite):
11704 * play/gomoku.el (gomoku-O):
11705 * net/browse-url.el (browse-url-browser-display):
11706 * international/mule.el (define-charset):
11707 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
11708 * filesets.el (filesets-find-file-delay):
11709 * eshell/em-xtra.el (eshell-xtra):
11710 * eshell/em-unix.el (eshell-grep):
11711 * emulation/viper.el (viper-mode):
11712 * emacs-lisp/regexp-opt.el (regexp-opt-group):
11713 * emacs-lisp/easymenu.el (easy-menu-define):
11714 * calendar/timeclock.el (timeclock-use-display-time):
11715 * bs.el (bs-mode):
11716 * bookmark.el (bookmark-save-flag):
11717 Doc fix (standardize possessive apostrophe usage).
11718
11719 2012-02-27 Chong Yidong <cyd@gnu.org>
11720
11721 * emulation/viper-cmd.el (viper-intercept-ESC-key):
11722 Fix key-binding lookup for ESC key (Bug#9146).
11723
11724 * font-lock.el (font-lock-specified-p): Rename from
11725 font-lock-spec-present. Callers changed.
11726
11727 2012-02-27 Daniel Hackney <dan@haxney.org>
11728
11729 * emacs-lisp/package.el (package-compute-transaction):
11730 Handle holding a package version to t in package-load-list.
11731
11732 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
11733
11734 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
11735 (tramp-get-inode, tramp-get-device): Use cached values.
11736
11737 2012-02-26 Alan Mackenzie <acm@muc.de>
11738
11739 Check there is a font-lock specification before doing initial
11740 fontification.
11741
11742 * font-core.el (font-lock-mode): Move the conditional from
11743 :after-hook to font-lock-initial-fontify.
11744 (font-lock-default-function): Move the check for a specification
11745 to font-lock-spec-present.
11746
11747 * font-lock.el (font-lock-initial-fontify): Call ...
11748 (font-lock-spec-present): New function.
11749
11750 2012-02-26 Jim Blandy <jimb@red-bean.com>
11751
11752 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
11753 (gdb-send): Apply it to the operand of the '-interpreter-exec
11754 console' command, so that we can pass arguments with (say) quotes
11755 in them. Store exact string sent in gdb-debug-log (Bug#10765).
11756
11757 2012-02-26 Chong Yidong <cyd@gnu.org>
11758
11759 * help-fns.el (describe-function-1): Clarify description of
11760 remapping (Bug#10844).
11761
11762 * files.el (files-equal-p): Doc fix.
11763 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
11764 and quit the loop once a mismatch is found.
11765
11766 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
11767
11768 * bs.el (bs--show-with-configuration): Don't throw an error
11769 if the window cannot be split; otherwise, subsequent calls to
11770 bs-show fail, restoring a stale window config. (Bug#10882)
11771
11772 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
11773
11774 * term/ns-win.el (global-map): Bind ns-drag-file to
11775 ns-find-file (Bug#5855, Bug#10050).
11776
11777 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
11778
11779 * calendar/parse-time.el (parse-time-string): Allow extractor to
11780 return nil.
11781
11782 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
11783
11784 * net/tramp.el (tramp-file-name-for-operation):
11785 Add `files-equal-p' and `file-subdir-of-p'.
11786
11787 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
11788 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
11789 Add COPY-CONTENTS argument.
11790
11791 2012-02-25 Chong Yidong <cyd@gnu.org>
11792
11793 Add custom groups for VC backends, for consistency with vc-bzr.
11794
11795 * vc/vc-arch.el (vc-arch):
11796 * vc/vc-cvs.el (vc-cvs):
11797 * vc/vc-git.el (vc-git):
11798 * vc/vc-hg.el (vc-hg):
11799 * vc/vc-mtn.el (vc-mtn):
11800 * vc/vc-rcs.el (vc-rcs):
11801 * vc/vc-sccs.el (vc-sccs):
11802 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
11803 All relevant defcustoms reassigned.
11804
11805 2012-02-25 Chong Yidong <cyd@gnu.org>
11806
11807 * newcomment.el (comment-styles): Add autoload (Bug#10868).
11808
11809 * term/x-win.el (x-initialize-window-system): Reduce default for
11810 x-selection-timeout to 5 seconds (Bug#8869).
11811
11812 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11813
11814 * files.el (files-equal-p, file-subdir-of-p): New functions.
11815 (copy-directory): Error when trying to copy a directory on itself.
11816 Add missing copy-contents arg to tramp handler.
11817 * dired-aux.el (dired-copy-file-recursive): Same.
11818 (dired-create-files): Modify destination when source is equal to
11819 dest when copying files.
11820 Return also when dest is a subdir of source. (Bug#10489)
11821
11822 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
11823
11824 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
11825 (Bug#10874)
11826
11827 2012-02-23 Alan Mackenzie <acm@muc.de>
11828
11829 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
11830 parameter "after-hook:" to allow the expansion to run code after
11831 the execution of the mode hooks.
11832
11833 * font-lock.el (font-lock-initial-fontify): New function extracted
11834 from font-lock-mode-internal.
11835
11836 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
11837 :after-hook.
11838
11839 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
11840
11841 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
11842 (completion--cache-all-sorted-completions): New function.
11843 (completion-all-sorted-completions): Use it.
11844 (completion--do-completion, minibuffer-force-complete):
11845 Use it to re-instate the flush hook.
11846
11847 * icomplete.el (icomplete-completions): Replace last fix with a better
11848 one (bug#10850).
11849
11850 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
11851
11852 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
11853 when it might call us back infinitely (bug#10797).
11854
11855 2012-02-23 Glenn Morris <rgm@gnu.org>
11856
11857 * minibuffer.el (completion-category-overrides): Doc fix.
11858
11859 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
11860
11861 * minibuffer.el (completion-table-with-context): Fix inf-loop.
11862 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
11863
11864 2012-02-23 Glenn Morris <rgm@gnu.org>
11865
11866 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
11867 (authors-obsolete-files-regexps, authors-ignored-files)
11868 (authors-ambiguous-files, authors-renamed-files-alist):
11869 Add more entries.
11870
11871 2012-02-23 Juri Linkov <juri@jurta.org>
11872
11873 * isearch.el (isearch-occur): Sync interactive spec with occur's
11874 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
11875
11876 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
11877
11878 2012-02-22 Juri Linkov <juri@jurta.org>
11879
11880 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
11881 (ucs-insert): Doc fix. Check for hex digits in the string.
11882 Don't display `nil' in the error message. (Bug#10857)
11883
11884 2012-02-22 Alan Mackenzie <acm@muc.de>
11885
11886 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
11887
11888 2012-02-22 Glenn Morris <rgm@gnu.org>
11889
11890 * ffap.el (ffap-c-path):
11891 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
11892
11893 2012-02-22 Chong Yidong <cyd@gnu.org>
11894
11895 * custom.el (load-theme): Doc fix.
11896
11897 2012-02-22 Glenn Morris <rgm@gnu.org>
11898
11899 * dired-x.el (dired-guess-shell-alist-default):
11900 Remove escape sequences from nroff output. (Bug#172)
11901
11902 2012-02-21 Glenn Morris <rgm@gnu.org>
11903
11904 * vc/emerge.el (emerge-defvar-local):
11905 Set `permanent-local' property rather than unused `preserved'.
11906
11907 * textmodes/picture.el (picture-delete-char): New alias.
11908 (picture-mode-map): Use it. (Bug#10860)
11909 (picture-mode): Doc fix.
11910
11911 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
11912
11913 * newcomment.el (uncomment-region-default): Remove unused binding.
11914
11915 2012-02-21 Glenn Morris <rgm@gnu.org>
11916
11917 * textmodes/picture.el (picture-motion, picture-motion-reverse)
11918 (picture-self-insert, picture-tab-chars): Doc fix.
11919 (picture-mode-map): Fix C-a, C-e.
11920
11921 2012-02-20 Glenn Morris <rgm@gnu.org>
11922
11923 * emacs-lisp/authors.el (authors-aliases): Add another entry.
11924
11925 2012-02-20 Leo Liu <sdl.web@gmail.com>
11926
11927 * icomplete.el (icomplete-completions): Check FROM arg before
11928 passing to substring (Bug#10850).
11929
11930 2012-02-19 Chong Yidong <cyd@gnu.org>
11931
11932 * comint.el: Require ansi-color.
11933 (comint-output-filter-functions): Add ansi-color-process-output.
11934
11935 * ansi-color.el: Don't set comint-output-filter-functions; it is
11936 now in the initial value defined in comint.el.
11937 (ansi-color-apply-face-function): New variable.
11938 (ansi-color-apply-on-region): Use it.
11939 (ansi-color-apply-overlay-face): New function.
11940
11941 * shell.el (shell): No need to require ansi-color.
11942 (shell-mode): Use ansi-color-apply-face-function to highlight
11943 color escapes using font-lock-face property (Bug#10835).
11944
11945 2012-02-19 Chong Yidong <cyd@gnu.org>
11946
11947 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
11948 mode-line formats (Bug#10839).
11949
11950 2012-02-18 Glenn Morris <rgm@gnu.org>
11951
11952 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
11953
11954 * mail/undigest.el (unforward-rmail-message): Doc fix.
11955
11956 * saveplace.el (save-place-ignore-files-regexp): Add :version.
11957
11958 2012-02-18 Eli Zaretskii <eliz@gnu.org>
11959
11960 * international/characters.el (script-list): Sync with the latest
11961 Unicode Character Database.
11962
11963 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
11964
11965 * international/titdic-cnv.el: Remove duplicate coding tag.
11966 * language/cham.el: Likewise.
11967 * language/tai-viet.el: Likewise.
11968
11969 2012-02-18 Glenn Morris <rgm@gnu.org>
11970
11971 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
11972 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
11973 (calendar-bahai-all-holidays-flag, calendar-other-dates):
11974 * calendar/diary-lib.el (diary-abbreviated-year-flag):
11975 * calendar/holidays.el (holiday-bahai-holidays)
11976 (calendar-holidays, list-holidays):
11977 Use utf-8 Bahá'í in doc-strings, menus, etc.
11978
11979 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
11980
11981 * saveplace.el (save-place-ignore-files-regexp): New variable
11982 allowing for excluding files from saving their location of point.
11983 The default value matches the temporary commit message editing
11984 files from Git, SVN, Bazaar, and Mercurial.
11985 (save-place-to-alist): Use it.
11986
11987 2012-02-17 Lawrence Mitchell <wence@gmx.li>
11988 Stefan Monnier <monnier@iro.umontreal.ca>
11989
11990 * newcomment.el (uncomment-region-default): Don't leave extra space
11991 when an arg is provided (bug#8150).
11992
11993 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
11994
11995 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
11996
11997 2012-02-17 Glenn Morris <rgm@gnu.org>
11998
11999 * net/socks.el: Require network-stream. (Bug#10599)
12000
12001 2012-02-17 Kenichi Handa <handa@m17n.org>
12002
12003 * international/charprop.el:
12004 * international/uni-name.el:
12005 * international/uni-old-name.el:
12006 * international/uni-comment.el: Regenerate.
12007
12008 2012-02-16 Glenn Morris <rgm@gnu.org>
12009
12010 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
12011 Interactively in calendar buffer, give an error if not on a date.
12012
12013 2012-02-15 Glenn Morris <rgm@gnu.org>
12014
12015 * shell.el (shell-delimiter-argument-list):
12016 Revert 2011-02-17 change. (Bug#8027)
12017
12018 2012-02-15 Chong Yidong <cyd@gnu.org>
12019
12020 * minibuffer.el (completion-at-point-functions): Doc fix.
12021
12022 * custom.el (defcustom): Doc fix; note use of defvar.
12023
12024 2012-02-15 Glenn Morris <rgm@gnu.org>
12025
12026 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
12027 Doc fixes.
12028
12029 2012-02-14 Glenn Morris <rgm@gnu.org>
12030
12031 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
12032
12033 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
12034
12035 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
12036 way the ports list is computed.
12037 (smtpmail-query-smtp-server): Prompt the user for a port number if
12038 we can't connect to any of the standard ports (bug#10810).
12039
12040 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
12041
12042 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
12043
12044 2012-02-13 Glenn Morris <rgm@gnu.org>
12045
12046 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
12047
12048 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
12049
12050 * net/gnutls.el (gnutls-trustfiles): New variable.
12051 (gnutls-negotiate): Use it.
12052
12053 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
12054
12055 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
12056 does its stuff if Gnus is running.
12057
12058 2012-02-13 Alan Mackenzie <acm@muc.de>
12059
12060 Fix a loop in c-set-fl-decl-start.
12061
12062 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
12063 c-backward-syntactic-ws actually moves backwards.
12064
12065 2012-02-13 Leo Liu <sdl.web@gmail.com>
12066
12067 * net/rcirc.el (rcirc-markup-attributes): Move point to the
12068 beginning so that all \C-o chars are removed.
12069
12070 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
12071
12072 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
12073
12074 2012-02-12 Alan Mackenzie <acm@muc.de>
12075
12076 Fix infinite loop with long macros.
12077 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
12078
12079 2012-02-12 Chong Yidong <cyd@gnu.org>
12080
12081 * window.el (display-buffer): Doc fix (Bug#10785).
12082
12083 2012-02-12 Glenn Morris <rgm@gnu.org>
12084
12085 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
12086 (x-disown-selection-internal, x-get-selection-internal):
12087 Sync docs with the xselect.c versions.
12088
12089 * allout-widgets.el: Add missing license notice.
12090
12091 2012-02-11 Glenn Morris <rgm@gnu.org>
12092
12093 * select.el (x-get-selection-internal, x-own-selection-internal)
12094 (x-disown-selection-internal):
12095 * x-dnd.el (x-get-selection-internal): Update declarations.
12096
12097 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
12098
12099 * window.el (window-sides-slots):
12100 * tool-bar.el (tool-bar-position):
12101 * term/xterm.el (xterm-extra-capabilities):
12102 * ses.el (ses-self-reference-early-detection):
12103 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
12104 (verilog-auto-wire-type)
12105 (verilog-auto-delete-trailing-whitespace)
12106 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
12107 (verilog-auto-tieoff-declaration):
12108 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
12109 (sql-oracle-statement-starters, sql-oracle-scan-on):
12110 * progmodes/prolog.el (prolog-align-comments-flag)
12111 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
12112 (prolog-left-indent-regexp, prolog-paren-indent-p)
12113 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
12114 (prolog-types, prolog-mode-specificators)
12115 (prolog-determinism-specificators, prolog-directives)
12116 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
12117 (prolog-electric-dot-flag)
12118 (prolog-electric-dot-full-predicate-template)
12119 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
12120 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
12121 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
12122 (prolog-program-switches, prolog-prompt-regexp)
12123 (prolog-debug-on-string, prolog-debug-off-string)
12124 (prolog-trace-on-string, prolog-trace-off-string)
12125 (prolog-zip-on-string, prolog-zip-off-string)
12126 (prolog-use-standard-consult-compile-method-flag)
12127 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
12128 (prolog-imenu-max-lines, prolog-info-predicate-index)
12129 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
12130 (prolog-char-quote-workaround):
12131 * progmodes/cc-vars.el (c-defun-tactic):
12132 * net/tramp.el (tramp-encoding-command-interactive)
12133 (tramp-local-end-of-line):
12134 * net/soap-client.el (soap-client):
12135 * net/netrc.el (netrc-file):
12136 * net/gnutls.el (gnutls):
12137 * minibuffer.el (completion-category-overrides)
12138 (completion-cycle-threshold)
12139 (completion-pcm-complete-word-inserts-delimiters):
12140 * man.el (Man-name-local-regexp):
12141 * mail/feedmail.el (feedmail-display-full-frame):
12142 * international/characters.el (glyphless-char-display-control):
12143 * eshell/em-ls.el (eshell-ls-date-format):
12144 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
12145 (lisp-lambda-list-keyword-parameter-indentation)
12146 (lisp-lambda-list-keyword-parameter-alignment):
12147 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
12148 * dired-x.el (dired-omit-verbose):
12149 * cus-theme.el (custom-theme-allow-multiple-selections):
12150 * calc/calc.el (calc-highlight-selections-with-faces)
12151 (calc-lu-field-reference, calc-lu-power-reference)
12152 (calc-note-threshold):
12153 * battery.el (battery-mode-line-limit):
12154 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
12155 (archive-7z-update):
12156 * allout.el (allout-prefixed-keybindings)
12157 (allout-unprefixed-keybindings)
12158 (allout-inhibit-auto-fill-on-headline)
12159 (allout-flattened-numbering-abbreviation):
12160 * allout-widgets.el (allout-widgets-auto-activation)
12161 (allout-widgets-icons-dark-subdir)
12162 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
12163 (allout-widgets-theme-dark-background)
12164 (allout-widgets-theme-light-background)
12165 (allout-widgets-item-image-properties-emacs)
12166 (allout-widgets-item-image-properties-xemacs)
12167 (allout-widgets-run-unit-tests-on-load)
12168 (allout-widgets-time-decoration-activity)
12169 (allout-widgets-hook-error-post-time)
12170 (allout-widgets-track-decoration):
12171 Add missing :version tags to new defcustoms and defgroups.
12172
12173 * progmodes/sql.el (sql-ansi-statement-starters)
12174 (sql-oracle-statement-starters): Add custom type.
12175
12176 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
12177 (prolog-system-version): Give it a type.
12178
12179 2012-02-11 Eli Zaretskii <eliz@gnu.org>
12180
12181 * term/pc-win.el (x-select-text, x-selection-owner-p)
12182 (x-own-selection-internal, x-disown-selection-internal)
12183 (x-get-selection-internal): Sync doc strings and argument lists
12184 with xselect.c, common-win.el and x-win.el. (Bug#10783)
12185
12186 2012-02-11 Leo Liu <sdl.web@gmail.com>
12187
12188 * progmodes/python.el (python-end-of-statement): Fix infinite
12189 loop. (Bug#10788)
12190
12191 2012-02-10 Glenn Morris <rgm@gnu.org>
12192
12193 * international/mule-cmds.el (unify-8859-on-encoding-mode)
12194 (unify-8859-on-decoding-mode): Properly mark as obsolete.
12195
12196 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
12197
12198 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
12199 about SMTP before checking the From header.
12200
12201 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
12202 into own function for reuse by emacsbug.el.
12203
12204 2012-02-10 Leo Liu <sdl.web@gmail.com>
12205
12206 * subr.el (condition-case-unless-debug): Rename from
12207 condition-case-no-debug. All callers changed.
12208 (with-demoted-errors): Fix caller.
12209
12210 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
12211 * nxml/rng-valid.el (rng-do-some-validation):
12212 * emacs-lisp/package.el (package-refresh-contents)
12213 (package-menu-execute):
12214 * desktop.el (desktop-create-buffer):
12215 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
12216
12217 2012-02-10 Glenn Morris <rgm@gnu.org>
12218
12219 * textmodes/bibtex.el:
12220 Add missing :version tags for new/changed defcustoms.
12221
12222 * files.el (remote-file-name-inhibit-cache): Doc fixes.
12223
12224 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
12225
12226 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
12227 (smtpmail-via-smtp): Use it, or fall back on the From address.
12228 (smtpmail-send-it): Ditto.
12229
12230 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
12231
12232 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
12233 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
12234 (byte-compile-tmp-var): New const.
12235 (byte-compile-defvar): Use it to minimize .elc size.
12236 Just use `defvar' rather than simulate it (bug#10761).
12237
12238 2012-02-09 Glenn Morris <rgm@gnu.org>
12239
12240 * files.el (rename-uniquely): Doc fix. (Bug#3806)
12241
12242 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
12243 Add :version tags.
12244
12245 * progmodes/compile.el (compilation-error-screen-columns)
12246 (compilation-first-column, compilation-filter-start): Doc fixes.
12247
12248 * vc/log-view.el (log-view-toggle-entry-display):
12249 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
12250
12251 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
12252 (report-emacs-bug-can-use-xdg-email):
12253 (report-emacs-bug-insert-to-mailer): Doc fixes.
12254 (report-emacs-bug): Message fix.
12255
12256 * net/browse-url.el (browse-url-can-use-xdg-open)
12257 (browse-url-xdg-open): Doc fixes.
12258
12259 * electric.el (electric-indent-mode, electric-pair-mode)
12260 (electric-layout-rules, electric-layout-mode): Doc fixes.
12261 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
12262
12263 2012-02-08 Martin Rudalics <rudalics@gmx.at>
12264
12265 * server.el (server-unselect-display): Don't inadvertently kill
12266 the current buffer. (Bug#10729)
12267
12268 2012-02-08 Glenn Morris <rgm@gnu.org>
12269
12270 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
12271 (sql-list-table): Doc fixes.
12272
12273 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
12274 Comment out (does nothing).
12275
12276 * completion.el (dynamic-completion-mode):
12277 * dirtrack.el (dirtrack-debug-mode):
12278 * electric.el (electric-layout-mode):
12279 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
12280 * face-remap.el (text-scale-mode, buffer-face-mode):
12281 * iimage.el (iimage-mode):
12282 * image-mode.el (image-transform-mode):
12283 * minibuffer.el (completion-in-region-mode):
12284 * scroll-lock.el (scroll-lock-mode):
12285 * simple.el (next-error-follow-minor-mode):
12286 * tar-mode.el (tar-subfile-mode):
12287 * tooltip.el (tooltip-mode):
12288 * vcursor.el (vcursor-use-vcursor-map):
12289 * wid-browse.el (widget-minor-mode):
12290 * emulation/tpu-edt.el (tpu-edt-mode):
12291 * emulation/tpu-extras.el (tpu-cursor-free-mode):
12292 * international/iso-ascii.el (iso-ascii-mode):
12293 * language/thai-util.el (thai-word-mode):
12294 * mail/supercite.el (sc-minor-mode):
12295 * net/goto-addr.el (goto-address-mode):
12296 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
12297 * progmodes/cwarn.el (cwarn-mode):
12298 * progmodes/flymake.el (flymake-mode):
12299 * progmodes/glasses.el (glasses-mode):
12300 * progmodes/hideshow.el (hs-minor-mode):
12301 * progmodes/pascal.el (pascal-outline-mode):
12302 * textmodes/enriched.el (enriched-mode):
12303 * vc/smerge-mode.el (smerge-mode):
12304 Doc fixes (minor mode argument).
12305
12306 2012-02-07 Eli Zaretskii <eliz@gnu.org>
12307
12308 * ls-lisp.el (ls-lisp-sanitize): New function.
12309 (ls-lisp-insert-directory): Use it to fix or remove any elements
12310 in file-alist with missing attributes. (Bug#4673)
12311
12312 2012-02-07 Alan Mackenzie <acm@muc.de>
12313
12314 Fix spurious recognition of c-in-knr-argdecl.
12315
12316 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
12317 putative K&R region.
12318
12319 2012-02-07 Alan Mackenzie <acm@muc.de>
12320
12321 * progmodes/cc-engine.el (c-forward-objc-directive):
12322 Prevent looping in "#pragma mark @implementation".
12323
12324 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
12325
12326 * notifications.el (notifications-on-closed-signal): Make `reason'
12327 optional. (Bug#10744)
12328
12329 2012-02-07 Glenn Morris <rgm@gnu.org>
12330
12331 * emacs-lisp/easy-mmode.el (define-minor-mode):
12332 Doc fixes for the macro and the mode it defines.
12333
12334 * image.el (imagemagick-types-inhibit): Doc fix.
12335
12336 * cus-start.el (imagemagick-render-type): Add it.
12337
12338 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
12339
12340 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
12341 Set the default at load time, too, so that `font-lock-fontify-buffer'
12342 can be called without setting up the entire mode first. This fixes
12343 a bug in `mm-inline-text' with C MIME parts.
12344
12345 2012-02-06 Chong Yidong <cyd@gnu.org>
12346
12347 * simple.el (list-processes--refresh): Delete exited processes
12348 (Bug#8094).
12349
12350 * comint.el (comint-next-prompt): next-single-char-property-change
12351 and prev-single-char-property-change never return nil (Bug#8657).
12352
12353 * custom.el (defcustom): Doc fix (Bug#9711).
12354
12355 2012-02-05 Chong Yidong <cyd@gnu.org>
12356
12357 * cus-edit.el (custom-variable-reset-backup): Quote the value
12358 before storing it in the customized-value property (Bug#6712).
12359 (custom-display): Add a customization type tag.
12360 (custom-buffer-create-internal): Improve tooltip message.
12361
12362 * wid-edit.el (widget-field-value-get): New optional arg to
12363 suppress trailing whitespace truncation.
12364 (character): Use it (Bug#2689).
12365
12366 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
12367
12368 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
12369 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
12370
12371 2012-02-05 Chong Yidong <cyd@gnu.org>
12372
12373 * cus-edit.el (custom-variable-value-create): For mismatched
12374 types, show the current value (Bug#7600).
12375
12376 * custom.el (defcustom): Doc fix.
12377
12378 2012-02-05 Glenn Morris <rgm@gnu.org>
12379
12380 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
12381
12382 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
12383
12384 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
12385 (pp-buffer): Use `ignore-errors', `looking-at-p'.
12386 (pp-last-sexp): Use `looking-at-p'.
12387
12388 2012-02-04 Glenn Morris <rgm@gnu.org>
12389
12390 * files.el (revert-buffer):
12391 Doc fix (mention revert-buffer-in-progress-p).
12392
12393 * emacs-lisp/ert-x.el (ert-simulate-command):
12394 Check deferred-action-list (which is obsolete) is bound.
12395
12396 * subr.el (with-wrapper-hook): Doc fixes.
12397
12398 * simple.el (filter-buffer-substring-functions)
12399 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
12400
12401 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
12402
12403 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
12404 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
12405
12406 2012-02-04 Leo Liu <sdl.web@gmail.com>
12407
12408 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
12409
12410 2012-02-04 Glenn Morris <rgm@gnu.org>
12411
12412 * image.el (image-extension-data): Add obsolete alias.
12413
12414 * isearch.el (isearch-update): Doc fix.
12415
12416 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
12417
12418 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
12419
12420 2012-02-03 Glenn Morris <rgm@gnu.org>
12421
12422 * image.el (image-animated-p): Doc fix. Use image-animated-types.
12423 (image-animate-timeout): Doc fix.
12424
12425 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
12426
12427 2012-02-02 Glenn Morris <rgm@gnu.org>
12428
12429 * server.el (server-auth-dir): Doc fix.
12430 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
12431
12432 * subr.el (run-mode-hooks): Doc fix.
12433
12434 2012-02-02 Juri Linkov <juri@jurta.org>
12435
12436 * image-mode.el (image-toggle-display-image): Remove tautological
12437 `major-mode' from the `derived-mode-p' test.
12438
12439 2012-02-02 Kenichi Handa <handa@m17n.org>
12440
12441 * composite.el (compose-region): Cancel previous change.
12442
12443 2012-02-02 Kenichi Handa <handa@m17n.org>
12444
12445 * composite.el (compose-region, compose-string): Signal error for
12446 a null string component (Bug#6988).
12447
12448 2012-02-01 Chong Yidong <cyd@gnu.org>
12449
12450 * view.el (view-buffer-other-window, view-buffer-other-frame):
12451 Handle special modes like view-buffer (Bug#10650).
12452 (view-buffer): Simplify.
12453
12454 * frame.el (set-frame-font): Tweak meaning of third argument.
12455
12456 * dynamic-setting.el (font-setting-change-default-font):
12457 Use set-frame-font (Bug#9982).
12458
12459 2012-02-01 Glenn Morris <rgm@gnu.org>
12460
12461 * progmodes/compile.el (compilation-internal-error-properties):
12462 Respect compilation-first-column in the "*compilation*" buffer.
12463
12464 * emacs-lisp/easy-mmode.el (define-minor-mode):
12465 Relax :variable's test for a named function.
12466
12467 2012-01-31 Alan Mackenzie <acm@muc.de>
12468
12469 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
12470 off by one error.
12471
12472 2012-01-31 Chong Yidong <cyd@gnu.org>
12473
12474 * frame.el (set-frame-font): New arg ALL-FRAMES.
12475
12476 * menu-bar.el (menu-set-font): Use set-frame-font.
12477
12478 * faces.el (face-spec-reset-face): Don't apply unspecified
12479 attribute values to the default face.
12480
12481 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
12482
12483 * progmodes/cwarn.el (cwarn): Remove dead link.
12484 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
12485 Remove * from defcustom docstrings.
12486 (turn-on-cwarn-mode): Make obsolete.
12487 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
12488 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
12489
12490 2012-01-31 Glenn Morris <rgm@gnu.org>
12491
12492 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
12493 Fix :variable handling of mode a symbol not equal to modefun.
12494 Allow named functions to be used as the cdr of :variable.
12495
12496 2012-01-30 Glenn Morris <rgm@gnu.org>
12497
12498 * emacs-lisp/authors.el (authors-fixed-entries):
12499 Remove reference to deleted file rnewspost.el.
12500
12501 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
12502
12503 * window.el (window-with-parameter): Remove unused variable `windows'.
12504 (window--side-check): Remove unused variable `code'.
12505 (window--resize-siblings): Remove unused variable `first'.
12506 (adjust-window-trailing-edge): Remove unused variable `failed'.
12507 (window-deletable-p, window--delete): Remove unused variable `buffer'.
12508 Use `let', not `let*'.
12509 (balance-windows-2): Remove unused variable `found'.
12510 (window--state-put-2): Remove unused variable `splits'.
12511 (window-state-put): Remove unused variable `selected'.
12512 (same-window-p): Use `string-match-p'.
12513 (display-buffer-assq-regexp): Remove unused variable `value'.
12514 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12515 Mark argument ALIST as ignored.
12516 (pop-to-buffer): Remove unused variable `old-window'.
12517
12518 2012-01-29 Eli Zaretskii <eliz@gnu.org>
12519
12520 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
12521 and .lzma compressed files.
12522
12523 2012-01-29 Chong Yidong <cyd@gnu.org>
12524
12525 * frame.el (window-system-default-frame-alist): Doc fix.
12526
12527 * dynamic-setting.el (font-setting-change-default-font): Don't
12528 change the default face if SET-FONT argument is non-nil (Bug#9982).
12529
12530 2012-01-29 Samuel Bronson <naesten@gmail.com>
12531
12532 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
12533
12534 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
12535
12536 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
12537 breakpoints in files outside current directory (Bug#6098).
12538
12539 2012-01-29 Chong Yidong <cyd@gnu.org>
12540
12541 * progmodes/python.el: Require ansi-color at top-level.
12542
12543 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
12544 Define and use in Emacs Lisp mode (Bug#9360).
12545 (lisp-mode-abbrev-table): Add doc.
12546 (lisp-mode-variables): Don't set local-abbrev-table.
12547 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
12548
12549 2012-01-28 Roland Winkler <winkler@gnu.org>
12550
12551 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
12552
12553 2012-01-28 Roland Winkler <winkler@gnu.org>
12554
12555 * textmodes/bibtex.el (bibtex-entry-alist): New function.
12556 (bibtex-set-dialect): Use it. Either set global values of
12557 dialect-dependent variables or bind these variables buffer-locally
12558 (Bug#10254).
12559 (bibtex-mode): Call bibtex-set-dialect via
12560 hack-local-variables-hook.
12561 (bibtex-dialect): Update docstring.
12562 Add safe-local-variable predicate.
12563 (bibtex-entry-alist, bibtex-field-alist): Initialize via
12564 bibtex-set-dialect.
12565 (bibtex-mode-map): Define menu for each dialect.
12566 (bibtex-entry): Fix docstring.
12567
12568 2012-01-28 Chong Yidong <cyd@gnu.org>
12569
12570 * eshell/esh-arg.el (eshell-quote-argument): New function.
12571
12572 * eshell/esh-ext.el (eshell-invoke-batch-file):
12573 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
12574 first arg to eshell-parse-command (Bug#10523).
12575
12576 2012-01-28 Drew Adams <drew.adams@oracle.com>
12577
12578 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
12579 `default-directory' is non-nil.
12580
12581 2012-01-28 Eli Zaretskii <eliz@gnu.org>
12582
12583 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
12584 line that displays system-configuration-options. (Bug#9924)
12585
12586 2012-01-28 Drew Adams <drew.adams@oracle.com>
12587
12588 * descr-text.el (describe-char): Show information about POS, in
12589 addition to information about the character at POS. Improve and
12590 update the doc string. Change "code point" to "code point in
12591 charset", to avoid confusion with the character's Unicode code
12592 point shown above that. (Bug#10129)
12593
12594 2012-01-28 Eli Zaretskii <eliz@gnu.org>
12595
12596 * descr-text.el (describe-char): Show the raw character, not only
12597 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
12598 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
12599 for the reasons.
12600
12601 2012-01-28 Phil Hagelberg <phil@hagelb.org>
12602
12603 * emacs-lisp/package.el (package-install):
12604 Run package-refresh-contents if there is no archive yet (Bug#9798).
12605
12606 2012-01-28 Chong Yidong <cyd@gnu.org>
12607
12608 * emacs-lisp/package.el (package-maybe-load-descriptor):
12609 New function, split from package-maybe-load-descriptor.
12610 (package-maybe-load-descriptor): Use it.
12611 (package-download-transaction): Fully load required packages
12612 inside the loop, so that `require' calls work (Bug#10593).
12613 (package-install): No need to call package-initialize now.
12614
12615 2012-01-28 Chong Yidong <cyd@gnu.org>
12616
12617 * simple.el (deactivate-mark): Doc fix (Bug#8614).
12618
12619 * tooltip.el (tooltip-mode): Doc fix.
12620 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
12621
12622 * frame.el (set-cursor-color): Doc fix (Bug#352).
12623
12624 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
12625 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
12626
12627 * cus-edit.el (custom-buffer-create-internal): Fix search button
12628 action (Bug#10542).
12629 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
12630
12631 2012-01-27 Eduard Wiebe <usenet@pusto.de>
12632
12633 * dired.el (dired-mark-files-regexp):
12634 Include any subdirectory components. (Bug#10445)
12635
12636 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
12637
12638 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
12639 Handle [host]:port syntax. (Bug#10533)
12640
12641 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
12642
12643 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
12644
12645 2012-01-26 Glenn Morris <rgm@gnu.org>
12646
12647 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
12648 * term.el (term-raw-escape-map): Use Control-X-prefix.
12649 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
12650
12651 2012-01-25 Martin Rudalics <rudalics@gmx.at>
12652
12653 * window.el (window-state-get, window--state-get-1): Don't deal
12654 with fixed-sizeness of windows. Simplify code.
12655
12656 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
12657
12658 * window.el (window--state-get-1, window--state-put-2):
12659 Don't save and restore the mark.
12660
12661 2012-01-25 Chong Yidong <cyd@gnu.org>
12662
12663 * custom.el (custom-variable-p): Doc fix.
12664
12665 2012-01-25 Glenn Morris <rgm@gnu.org>
12666
12667 * dired.el (dired-goto-file): Handle some of the more common
12668 characters that `ls -b' escapes. (Bug#10596)
12669
12670 * progmodes/compile.el (compilation-next-error-function):
12671 Respect compilation-first-column in the "*compilation*" buffer.
12672 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
12673
12674 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
12675
12676 2012-01-24 Glenn Morris <rgm@gnu.org>
12677
12678 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
12679
12680 2012-01-24 Julien Danjou <julien@danjou.info>
12681
12682 * color.el (color-rgb-to-hsl): Fix value computing.
12683 (color-hue-to-rgb): New function.
12684 (color-hsl-to-rgb): New function.
12685 (color-clamp, color-saturate-hsl, color-saturate-name)
12686 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
12687 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
12688
12689 2012-01-24 Glenn Morris <rgm@gnu.org>
12690
12691 * vc/vc-rcs.el (vc-rcs-create-tag):
12692 * vc/vc-sccs.el (vc-sccs-create-tag):
12693 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
12694
12695 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
12696
12697 * eshell/esh-util.el (eshell-read-hosts-file):
12698 Skip comment lines. (Bug#10549)
12699
12700 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
12701
12702 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
12703
12704 * subr.el (display-delayed-warnings): Doc fix.
12705 (collapse-delayed-warnings): New function to collapse identical
12706 adjacent warnings.
12707 (delayed-warnings-hook): Add it.
12708
12709 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
12710
12711 * net/tramp.el (tramp-action-login): Set connection property "login-as".
12712
12713 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
12714 (tramp-default-user-alist): Don't add "pscp".
12715 (tramp-do-copy-or-rename-file-out-of-band): Use connection
12716 property "login-as", if set. (Bug#10530)
12717
12718 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
12719
12720 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
12721 "plink1" and "psftp". (Bug#10530)
12722
12723 2012-01-21 Kenichi Handa <handa@m17n.org>
12724
12725 * international/mule-cmds.el (prefer-coding-system): Show a
12726 warning message if the default value of file-name-coding-system
12727 was not changed.
12728
12729 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
12730
12731 * windmove.el (windmove-reference-loc):
12732 Fix windmove-reference-loc miscalculation.
12733
12734 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
12735
12736 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
12737 default unit.
12738
12739 2012-01-21 Glenn Morris <rgm@gnu.org>
12740
12741 * international/mule.el (auto-coding-alist): Add .tbz.
12742
12743 * files.el (local-enable-local-variables): Doc fix.
12744 (inhibit-local-variables-regexps): Rename from
12745 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
12746 Doc fix. Add some extensions from auto-coding-alist.
12747 (inhibit-local-variables-suffixes):
12748 Rename from inhibit-first-line-modes-suffixes. Doc fix.
12749 (inhibit-local-variables-p):
12750 New function, extracted from set-auto-mode-1.
12751 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
12752 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
12753 (hack-local-variables): Doc fix. Make the mode-only case
12754 respect enable-local-variables and friends.
12755 Respect inhibit-local-variables-regexps for file-locals, but
12756 not for directory-locals.
12757 (set-visited-file-name):
12758 Take account of inhibit-local-variables-regexps.
12759 Whether it applies may change as the file name is changed.
12760 * jka-cmpr-hook.el (jka-compr-install):
12761 * jka-compr.el (jka-compr-uninstall):
12762 Update for inhibit-first-line-modes-suffixes name change.
12763
12764 2012-01-20 Martin Rudalics <rudalics@gmx.at>
12765
12766 * help-macro.el (make-help-screen): Temporarily restore original
12767 binding for minor-mode-map-alist (Bug#10454).
12768
12769 2012-01-19 Julien Danjou <julien@danjou.info>
12770
12771 * color.el (color-name-to-rgb): Use the white color to find the max
12772 color component value and return correctly computed values.
12773 (color-name-to-rgb): Add missing float conversion for max value.
12774
12775 2012-01-19 Martin Rudalics <rudalics@gmx.at>
12776
12777 * window.el (window--state-get-1, window-state-get): Do not use
12778 special state value for window-persistent-parameters.
12779 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
12780 (window--state-put-2): Reset all window parameters to nil before
12781 assigning values of persistent parameters.
12782
12783 2012-01-18 Alan Mackenzie <acm@muc.de>
12784
12785 Eliminate sluggishness and hangs in fontification of "semicolon
12786 deserts".
12787
12788 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
12789 Change value 10000 -> 3000.
12790 (c-state-safe-place): Reformulate so it doesn't stack up an
12791 infinite number of wrong entries in c-state-nonlit-pos-cache.
12792 (c-determine-limit-get-base, c-determine-limit): New functions to
12793 determine backward search limits disregarding literals.
12794 (c-find-decl-spots): Amend commenting.
12795 (c-cheap-inside-bracelist-p): New function which detects "={".
12796
12797 * progmodes/cc-fonts.el
12798 (c-make-font-lock-BO-decl-search-function): Give a limit to a
12799 backward search.
12800 (c-font-lock-declarations): Fix an occurrence of point being
12801 undefined. Check additionally for point being in a bracelist or
12802 near a macro invocation without a semicolon so as to avoid a
12803 fruitless time consuming search for a declarator. Give a more
12804 precise search limit for declarators using the new
12805 c-determine-limit.
12806
12807 2012-01-18 Glenn Morris <rgm@gnu.org>
12808
12809 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
12810 (set-auto-mode): Doc fixes.
12811
12812 2012-01-17 Glenn Morris <rgm@gnu.org>
12813
12814 * isearch.el (search-nonincremental-instead): Fix doc typo.
12815
12816 * dired.el (dired-insert-directory): Handle newlines in directory name.
12817 (dired-build-subdir-alist): Unescape newlines in directory name.
12818
12819 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
12820
12821 * net/tramp.el (tramp-local-end-of-line): New defcustom.
12822 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
12823 (tramp-action-terminal): Use it. (Bug#10530)
12824
12825 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
12826
12827 * minibuffer.el (completion--replace): Strip properties (bug#10062).
12828
12829 2012-01-16 Martin Rudalics <rudalics@gmx.at>
12830
12831 * window.el (window-state-ignored-parameters): Remove variable.
12832 (window--state-get-1): Rename argument MARKERS to IGNORE.
12833 Handle persistent window parameters. Make copy of clone-of
12834 parameter only if requested. (Bug#10348)
12835 (window--state-put-2): Install a window parameter only if it has
12836 a non-nil value or an existing parameter shall be overwritten.
12837
12838 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
12839
12840 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
12841
12842 2012-01-14 Eli Zaretskii <eliz@gnu.org>
12843
12844 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
12845 don't pass the (nil) value of `upnode' to string-match.
12846
12847 2012-01-14 Chong Yidong <cyd@gnu.org>
12848
12849 * startup.el (command-line): Fix X resource class for cursorColor.
12850 Fix values recognized by the cursorBlink resource.
12851
12852 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
12853
12854 * epg.el (epg--make-temp-file): Avoid permission race condition
12855 when running on old Emacs versions (bug#10403).
12856
12857 2012-01-14 Glenn Morris <rgm@gnu.org>
12858
12859 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
12860
12861 2012-01-13 Alan Mackenzie <acm@muc.de>
12862
12863 Fix filling for when filladapt mode is enabled.
12864
12865 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
12866 c-mask-paragraph, pass in `fill-paragraph' rather than
12867 `fill-region-as-paragraph'. (This is a reversion of a previous
12868 change.)
12869 * progmodes/cc-mode.el (c-basic-common-init):
12870 Make fill-paragraph-handle-comment buffer local and set it to nil.
12871
12872 2012-01-13 Glenn Morris <rgm@gnu.org>
12873
12874 * dired.el (dired-switches-escape-p): New function.
12875 (dired-insert-directory): Use dired-switches-escape-p.
12876 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
12877
12878 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
12879
12880 2012-01-12 Glenn Morris <rgm@gnu.org>
12881
12882 * mail/sendmail.el (mail-mode): Update paragraph-separate for
12883 changes in adaptive-fill-regexp. (Bug#10276)
12884
12885 2012-01-11 Alan Mackenzie <acm@muc.de>
12886
12887 Fix Emacs bug #10463 - put `widen's around the critical spots.
12888
12889 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
12890 widen around each invocation of c-state-pp-to-literal. Remove an
12891 unused let variable.
12892
12893 2012-01-11 Glenn Morris <rgm@gnu.org>
12894
12895 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
12896 Doc fix.
12897
12898 2012-01-10 Chong Yidong <cyd@gnu.org>
12899
12900 * net/network-stream.el (network-stream-open-starttls):
12901 Avoid emitting a confusing error message when the server gives a bad
12902 response to the capability command.
12903
12904 2012-01-10 Glenn Morris <rgm@gnu.org>
12905
12906 * mail/unrmail.el (unrmail): Tweak previous change.
12907
12908 2012-01-09 Chong Yidong <cyd@gnu.org>
12909
12910 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
12911
12912 2012-01-08 Alan Mackenzie <acm@muc.de>
12913
12914 Optimise font locking in long enum definitions.
12915
12916 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
12917 arm to a cond form to handle enums.
12918 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
12919 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
12920
12921 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
12922
12923 * files.el (move-file-to-trash): Preserve default file modes on error.
12924 (Bug#10401)
12925
12926 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12927
12928 * faces.el (set-face-attribute): Clarify the meaning of the nil
12929 frame (bug#10294).
12930
12931 * subr.el (with-selected-frame): Mention that the selected frame
12932 is restored (bug#9980).
12933
12934 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
12935 (bug#9759).
12936
12937 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
12938 (password-read): Don't autoload unused function.
12939
12940 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
12941
12942 * progmodes/which-func.el (which-func-mode): Turn into a
12943 non-interactive function and mark as obsolete (bug#10428).
12944
12945 2012-01-06 Chong Yidong <cyd@gnu.org>
12946
12947 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
12948 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
12949 functions, along with 1 and -1.
12950
12951 2012-01-06 Eli Zaretskii <eliz@gnu.org>
12952
12953 * time.el (display-time-load-average)
12954 (display-time-default-load-average): Doc fixes. See the thread
12955 starting at
12956 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
12957 for the details.
12958
12959 2012-01-06 Glenn Morris <rgm@gnu.org>
12960
12961 * mail/unrmail.el (unrmail): Give an explicit error if the input file
12962 has no messages. (Bug#10377)
12963
12964 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
12965 than Info-edit. (Bug#10385)
12966
12967 * time.el (display-time-load-average, display-time-next-load-average):
12968 Doc fixes.
12969
12970 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
12971 local setting of buffer-read-only to the input buffer. (Bug#10419)
12972
12973 * calendar/calendar.el (calendar-mode):
12974 Locally set scroll-margin to 0. (Bug#10379)
12975
12976 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
12977
12978 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
12979
12980 2012-01-05 Glenn Morris <rgm@gnu.org>
12981
12982 * eshell/em-unix.el (diff-no-select): Autoload it.
12983 (eshell/diff): Use diff-no-select. (Bug#10420)
12984
12985 2012-01-05 Chong Yidong <cyd@gnu.org>
12986
12987 * shell.el (shell-dynamic-complete-functions): Revert last change.
12988 (shell-command-completion-function): New function.
12989 (shell-completion-vars): Use it to implement
12990 shell-completion-execonly (Bug#10417).
12991
12992 * custom.el (enable-theme): Don't set custom-safe-themes.
12993
12994 * cus-theme.el (custom-theme-merge-theme):
12995 Ignore custom-enabled-themes and custom-safe-themes.
12996
12997 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
12998
12999 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
13000 first prompt in `sql-interacive-mode'.
13001 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
13002 keywords.
13003 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
13004 (sql-product-interactive): Bug fix: Set `sql-buffer' in
13005 context of original buffer. Invoke `sql-login-hook'.
13006
13007 2012-01-04 Eli Zaretskii <eliz@gnu.org>
13008
13009 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
13010 letters in cite-prefix.
13011
13012 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13013
13014 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
13015
13016 2012-01-03 Chong Yidong <cyd@gnu.org>
13017
13018 * shell.el (shell-dynamic-complete-functions):
13019 Put pcomplete-completions-at-point, so as to try
13020 comint-filename-completion first (Bug#10417).
13021
13022 2012-01-02 Richard Stallman <rms@gnu.org>
13023
13024 * battery.el (battery-status-function):
13025 Detect when to use battery-yeeloong-sysfs.
13026 (battery-echo-area-format): Add string for Yeeloong.
13027 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
13028 (battery-yeeloong-sysfs): New function.
13029
13030 2012-01-02 Chong Yidong <cyd@gnu.org>
13031
13032 * dirtrack.el (dirtrack-list): Eliminate unused third element.
13033 (dirtrack): Merge code for handling relative filenames in prompt
13034 from shell-dir-cookie-watcher.
13035 (dirtrack-debug-message): New arg to avoid excess format calls.
13036
13037 * shell.el (shell-dir-cookie-re): Variable deleted.
13038 (shell-dir-cookie-watcher): Function deleted.
13039 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
13040 with dirtrack-mode.
13041
13042 2012-01-01 Eli Zaretskii <eliz@gnu.org>
13043
13044 * term/w32-win.el (dynamic-library-alist) <gnutls>:
13045 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
13046 libgnutls-26.dll.
13047
13048 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
13049
13050 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
13051
13052 2011-12-31 Eli Zaretskii <eliz@gnu.org>
13053
13054 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
13055 headers of non-MIME messages, when rmail-enable-mime is non-nil.
13056
13057 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
13058
13059 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
13060 also for alternative shells.
13061 (tramp-open-connection-setup-interactive-shell): Check, whether
13062 the shell is a busybox.
13063 (tramp-send-command): Don't suppress multiple prompts for
13064 busyboxes, it hurts.
13065
13066 2011-12-28 Chong Yidong <cyd@gnu.org>
13067
13068 * progmodes/gdb-mi.el (gdb-get-source-file-list)
13069 (gdb-get-source-file): Move mode line update to
13070 gdb-get-source-file (Bug#10087).
13071
13072 2011-12-25 Chong Yidong <cyd@gnu.org>
13073
13074 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
13075 gud-gdb-marker-filter without taking it as an argument.
13076 (gud-gdb-run-command-fetch-lines): Caller changed.
13077 (gud-gdb-completion-function): New variable.
13078 (gud-gdb-completion-at-point): Use it.
13079 (gud-gdb-completions-1): Split from gud-gdb-completions.
13080
13081 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
13082 function as separate arguments.
13083 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
13084 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
13085 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
13086 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
13087 (gdb-stopped, def-gdb-auto-update-trigger)
13088 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
13089 (gdb-get-changed-registers, gdb-get-main-selected-frame):
13090 Callers changed.
13091 (gud-gdbmi-completions): New function.
13092 (gdb): Use it for generating the completion table.
13093
13094 2011-12-24 Alan Mackenzie <acm@muc.de>
13095
13096 Introduce a mechanism to widen the region used in context font
13097 locking. Use this to protect declarations from losing their contexts.
13098
13099 * progmodes/cc-langs.el (c-before-font-lock-functions):
13100 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
13101 (c-before-context-fontification-functions): New defvar, a list of
13102 functions to be run just before context (etc.) font locking.
13103
13104 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
13105 New, functionality extracted from
13106 c-neutralize-syntax-in-and-mark-CPP.
13107 (c-in-after-change-fontification): New variable.
13108 (c-after-change): Set c-in-after-change-fontification.
13109 (c-set-fl-decl-start): Rejig its interface, so it can be called
13110 from both after-change and context fontifying.
13111 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
13112 New functions.
13113 (c-standard-font-lock-fontify-region-function): New variable.
13114 (c-font-lock-fontify-region): New function.
13115
13116 2011-12-24 Juri Linkov <juri@jurta.org>
13117
13118 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
13119 (Bug#10348)
13120
13121 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
13122
13123 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
13124 existence of source file. (Bug#10325)
13125
13126 2011-12-23 Alan Mackenzie <acm@muc.de>
13127
13128 Fix unstable fontification inside templates.
13129
13130 * progmodes/cc-langs.el (c-before-font-lock-functions):
13131 Newly created from the singular version. The (c c++ objc) entry now
13132 additionally has c-set-fl-decl-start. The other languages (apart
13133 from AWK) have that as a single entry.
13134
13135 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13136 The functionality for "local" declarations has been extracted to
13137 c-set-fl-decl-start.
13138
13139 * progmodes/cc-mode.el (c-common-init, c-after-change):
13140 Changes due to pluralisation of c-before-font-lock-functions.
13141 (c-set-fl-decl-start): New function, extracted from
13142 c-font-lock-enclosing-decls and enhanced.
13143
13144 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
13145
13146 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
13147
13148 2011-12-22 Juri Linkov <juri@jurta.org>
13149
13150 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
13151
13152 2011-12-22 Chong Yidong <cyd@gnu.org>
13153
13154 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
13155
13156 2011-12-21 Drew Adams <drew.adams@oracle.com>
13157
13158 * files.el (file-remote-p): Fix docstring. (Bug#10319)
13159
13160 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
13161
13162 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
13163
13164 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
13165
13166 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
13167 highlighting and support. Fix up comments for capitalization.
13168 (cfengine-mode-debug): New var.
13169 (cfengine3-mode): Change the modeline indicator to "CFE3".
13170 (cfengine3-font-lock-keywords): Improve defun highlighting.
13171 (cfengine2-actions): Rename from `cfengine-actions'.
13172 (cfengine2-font-lock-keywords): Rename from
13173 `cfengine-font-lock-keywords'.
13174 (cfengine2-imenu-expression): Rename from
13175 `cfengine-imenu-expression'.
13176 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
13177 (cfengine2-beginning-of-defun): Rename from
13178 `cfengine-beginning-of-defun'.
13179 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
13180 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
13181 (cfengine2-mode): Rename from `cfengine-mode'. Change the
13182 modeline indicator to "CFE2".
13183 (cfengine-mode): Defalias to `cfengine-auto-mode'.
13184 (cfengine-mode-abbrevs): Mark obsolete.
13185
13186 2011-12-21 Chong Yidong <cyd@gnu.org>
13187
13188 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
13189 filename argument.
13190
13191 2011-12-20 Martin Rudalics <rudalics@gmx.at>
13192
13193 * window.el (window-normalize-buffer-to-display): Remove.
13194 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
13195
13196 2011-12-19 Chong Yidong <cyd@gnu.org>
13197
13198 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
13199 Don't signal an error in a predicate function; return non-nil.
13200 (vc-dir-mark-file): Move the error here.
13201 (vc-dir-mark-unmark): If acting on the region, keep going if one
13202 of the entries cannot be marked/unmarked.
13203 (vc-dir-mark-all-files): If current entry is a directory, mark
13204 only child files, as documented.
13205
13206 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
13207
13208 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
13209 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
13210 addition.
13211
13212 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
13213
13214 * term/ns-win.el (ns-get-selection-internal)
13215 (ns-store-selection-internal): Declare.
13216 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
13217 Declare as obsolete.
13218 (ns-get-pasteboard, ns-paste-secondary):
13219 Use ns-get-selection-internal.
13220 (ns-set-pasteboard, ns-copy-including-secondary):
13221 Use ns-store-selection-internal.
13222
13223 2011-12-17 Chong Yidong <cyd@gnu.org>
13224
13225 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
13226 (vc-deduce-fileset): Doc fix.
13227
13228 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
13229
13230 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
13231
13232 2011-12-13 Sam Steingold <sds@gnu.org>
13233
13234 * man.el (Man-getpage-in-background): When running under a
13235 window-system, ignore $MANWIDTH and $COLUMNS.
13236
13237 2011-12-15 Kenichi Handa <handa@m17n.org>
13238
13239 * language/ethio-util.el: Change coding tag to utf-8-emacs.
13240 (setup-ethiopic-environment-internal): Comment out key-binding for
13241 ethio-toggle-punctuation.
13242
13243 2011-12-13 Alan Mackenzie <acm@muc.de>
13244
13245 Add the switch statement to AWK Mode.
13246
13247 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
13248 "default" to the keywords regexp.
13249
13250 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
13251 expression as the rest.
13252 (c-nonlabel-token-key): Allow string literals for AWK.
13253 Refactor for the other modes.
13254
13255 Large brace-block initialisation makes CC Mode slow: Fix.
13256 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13257 routines. Limit backward searching in c-font-lock-enclosing.decl.
13258
13259 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
13260 pp-state and literal type in addition to the limits.
13261 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13262 (c-state-literal-at): Use the above new defun.
13263 (c-slow-in-literal, c-fast-in-literal): Remove.
13264 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13265
13266 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
13267 being in a literal. Add a limit for backward searching.
13268
13269 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
13270 c-slow-in-literal.
13271
13272 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
13273
13274 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
13275
13276 2011-12-13 Martin Rudalics <rudalics@gmx.at>
13277
13278 * window.el (delete-other-windows): Use correct frame in call to
13279 window-with-parameter.
13280
13281 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
13282
13283 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
13284 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
13285 (makefile-gmake-statements, makefile-makepp-statements):
13286 Use it and add new makepp keywords.
13287 (makefile-makepp-font-lock-keywords): Add new patterns.
13288 (makefile-match-function-end): Match new [...] and [[...]].
13289
13290 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
13291
13292 * ses.el (ses-call-printer-return, ses-cell-property-get)
13293 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
13294 (ses-create-cell-variable, ses-reset-header-string)
13295 (ses-cell-set-formula, ses-repair-cell-reference-all)
13296 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
13297 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
13298 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
13299 (ses-aset-with-undo, ses-load, ses-truncate-cell)
13300 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
13301 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
13302 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
13303 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
13304 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
13305 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
13306 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
13307 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
13308
13309 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
13310
13311 * ses.el: The overall change is to add cell renaming, that is
13312 setting fancy names for cell symbols other than name matching
13313 "\\`[A-Z]+[0-9]+\\'" regexp .
13314 (ses-create-cell-variable): New defun.
13315 (ses-relocate-formula): Relocate formulas only for cells the
13316 symbols of which are not renamed, i.e. symbols whose names do not
13317 match regexp "\\`[A-Z]+[0-9]+\\'".
13318 (ses-relocate-all): Relocate values only for cells the symbols of
13319 which are not renamed.
13320 (ses-load): Create cells variables as the (ses-cell ...) are read,
13321 in order to check row col consistency with cell symbol name only
13322 for cells that are not renamed.
13323 (ses-replace-name-in-formula): New defun.
13324 (ses-rename-cell): New defun.
13325
13326 2011-12-11 Chong Yidong <cyd@gnu.org>
13327
13328 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
13329 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
13330
13331 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
13332
13333 * window.el (other-window): Fix docstring.
13334
13335 2011-12-10 Eli Zaretskii <eliz@gnu.org>
13336
13337 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
13338 `from' or `to' address before taking its substring.
13339 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
13340 encoded name is chopped in the middle of the encoded string, and
13341 thus displayed encoded.
13342
13343 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
13344
13345 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
13346
13347 2011-12-10 Eli Zaretskii <eliz@gnu.org>
13348
13349 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
13350 to use texinfo-update-node and commands that call it if the
13351 Texinfo file uses @node lines without next/prev/up pointers.
13352 Correct outdated description about texinfo-master-menu.
13353 (texinfo-all-menus-update, texinfo-master-menu)
13354 (texinfo-update-node, texinfo-every-node-update)
13355 (texinfo-multiple-files-update): Doc fix. Warn against updating
13356 all the @node lines.
13357 (texinfo-master-menu): Only call texinfo-update-node if the prefix
13358 argument is numeric. Explain better in the doc string what the
13359 function really does.
13360 (texinfo-insert-master-menu-list): Improve the error message
13361 displayed if there's no menu in the Top node.
13362 (Bug#2975) See also this thread:
13363 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
13364
13365 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
13366
13367 * speedbar.el (speedbar-supported-extension-expressions):
13368 Add .adb and .ads, commonly used for Ada source code (bug#10256).
13369
13370 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
13371
13372 * printing.el (pr-mode-alist):
13373 * simple.el (filter-buffer-substring-functions)
13374 (completion-list-insert-choice-function):
13375 * window.el (window-with-parameter, window-atom-root)
13376 (window-sides-slots, window-size-fixed, window-min-delta)
13377 (window-max-delta, window--resize-mini-window)
13378 (window--resize-child-windows-normal, window-tree)
13379 (delete-other-windows, quit-window, split-window)
13380 (display-buffer-record-window, special-display-buffer-names)
13381 (special-display-regexps, special-display-popup-frame)
13382 (same-window-p, split-window-sensibly)
13383 (display-buffer-overriding-action, display-buffer-alist)
13384 (display-buffer-base-action, display-buffer, switch-to-buffer)
13385 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
13386 (fit-window-to-buffer, recenter-positions)
13387 (mouse-autoselect-window-state, mouse-autoselect-window-select):
13388 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
13389 and remove unneeded backslashes in docstrings.
13390
13391 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
13392
13393 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
13394
13395 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
13396 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
13397 end in ".mk".
13398 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
13399 when reading the makefile (bug#10116).
13400
13401 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
13402
13403 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
13404 (bug#10116).
13405
13406 2011-12-06 Glenn Morris <rgm@gnu.org>
13407
13408 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
13409
13410 2011-12-06 Chong Yidong <cyd@gnu.org>
13411
13412 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
13413
13414 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
13415
13416 * textmodes/table.el (table-shorten-cell): Fix typo.
13417
13418 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
13419
13420 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
13421
13422 2011-12-05 Eli Zaretskii <eliz@gnu.org>
13423
13424 * descr-text.el (describe-char): Fix display of strong
13425 right-to-left characters and directional embeddings and overrides.
13426
13427 * simple.el (what-cursor-position): Fix display of codepoints of
13428 strong right-to-left characters.
13429
13430 2011-12-05 Chong Yidong <cyd@gnu.org>
13431
13432 * faces.el (read-color): Doc fix.
13433
13434 2011-12-05 Glenn Morris <rgm@gnu.org>
13435
13436 * align.el (align--set-marker): Add doc-string.
13437 Don't try to move something that is not a marker. (Bug#10216)
13438
13439 2011-12-04 Glenn Morris <rgm@gnu.org>
13440
13441 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
13442 overly zealous deletion of trailing whitespace.
13443
13444 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
13445
13446 * server.el (server-delete-client): On Windows, do not try to delete
13447 the only terminal.
13448 (server-process-filter): On Windows, treat requests for a tty frame as
13449 if they were for a GUI frame if the running server is in GUI mode.
13450
13451 2011-12-03 Glenn Morris <rgm@gnu.org>
13452
13453 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
13454
13455 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13456
13457 * electric.el: Streamline electric-indent's hook.
13458 (electric-indent-chars): Revert to simple list.
13459 (electric-indent-functions): New var.
13460 (electric-indent-post-self-insert-function): Use it.
13461
13462 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
13463 there's no inferior buffer (bug#10196).
13464 (prolog-consult-compile): Don't use toggle-read-only.
13465
13466 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
13467
13468 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
13469 interrupt. (Bug#10187)
13470
13471 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
13472
13473 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
13474 (bug#9160).
13475
13476 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
13477 (bug#10191).
13478
13479 2011-12-02 Juri Linkov <juri@jurta.org>
13480
13481 * info.el (Info-search): Display "end of manual" when Isearch
13482 reaches the end of single-file Info manual. (Bug#9918)
13483
13484 2011-12-02 Eli Zaretskii <eliz@gnu.org>
13485
13486 * isearch.el (isearch-message-prefix): Run the input method part
13487 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
13488
13489 2011-12-02 Juri Linkov <juri@jurta.org>
13490
13491 * isearch.el (isearch-occur): Use `word-search-regexp' for
13492 `isearch-word'.
13493 (isearch-search-and-update): Add condition for `isearch-word' and
13494 call `word-search-regexp'. (Bug#10145)
13495
13496 2011-12-01 Glenn Morris <rgm@gnu.org>
13497
13498 * eshell/em-hist.el (eshell-hist-initialize):
13499 Handle eshell-history-size nil and HISTSIZE set or unset.
13500 (eshell-history-file-name, eshell-history-size): Fix custom type.
13501
13502 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
13503
13504 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
13505
13506 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
13507
13508 * progmodes/verilog-mode.el (verilog-pretty-expr):
13509 Rework verilog-pretty-expr to handle new assignment operators in system
13510 verilog, such as += *= and the like.
13511 (verilog-assignment-operator-re): Regular expression to find the
13512 assigment operator in a verilog assignment.
13513 (verilog-assignment-operation-re): Regular expression to find an
13514 assignment statement for pretty-expr.
13515 (verilog-in-attribute-p): Query returns true if point is in an
13516 attribute context; used to skip these for expression line up from
13517 pretty-expr.
13518 (verilog-in-parameter-p): Query returns true if point is in an
13519 parameter definition context; used to skip these for expression
13520 line up from pretty-expr.
13521 (verilog-in-parenthesis-p): Query returns true if point is in a
13522 parenthetical expression, specifically ( ) but not [ ] or { };
13523 used by pretty-expr.
13524 (verilog-just-one-space): If there is no space, don't add one.
13525 (verilog-get-lineup-indent-2): Specifically skip just attribute
13526 contexts for expression lineup, rather than skipping all
13527 parenthetical expressions.
13528 (verilog-calculate-indent): Fix comment, and fix indent.
13529 (verilog-do-indent): Indent declarations in lists (suggested by
13530 Joachim Lechner).
13531 (verilog-mode-abbrev-table): Populate abbrev mode with the various
13532 skeleton items.
13533 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
13534 by Alain Mellan).
13535
13536 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
13537
13538 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
13539 parameters with embedded comments. Reported by Ray Stevens.
13540 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
13541 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
13542 Reported by Tim Holt.
13543 (verilog-auto): Fix AUTOing a upper module then AUTOing module
13544 instantiated by upper module causing wrong expansion until AUTOed a
13545 second time. Reported by K C Buckenmaier.
13546 (verilog-diff-auto): Fix showing .* as a difference when
13547 `verilog-auto-star-save' off. Reported by Dan Dever.
13548 (verilog-auto-reset, verilog-read-always-signals)
13549 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
13550 temporary signals in reset list if
13551 verilog-auto-reset-blocking-in-non is nil, and match assignment
13552 style to each signal's assignment type, bug381.
13553 Reported by Thomas Esposito.
13554 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
13555 (verilog-uvm-statement-re): Support UVM indentation and
13556 highlighting, with old OVM keywords only.
13557 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
13558 Support AUTOTIEOFF creating non-wire data types.
13559 Suggested by Jonathan Greenlaw.
13560 (verilog-auto-insert-lisp, verilog-delete-to-paren)
13561 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
13562 (verilog-inject-sense, verilog-read-inst-pins)
13563 (verilog-read-sub-decls, verilog-read-sub-decls-line):
13564 Fix mismatching parenthesis inside commented out code when deleting
13565 AUTOINST, bug383. Reported by Jonathan Greenlaw.
13566 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
13567 non-numeric vector width. Reported by Alex Reed.
13568 (verilog-auto-ascii-enum): Add "onehot" option to work around not
13569 detecting signals with parameter widths. Reported by Alex Reed.
13570 (verilog-auto-delete-trailing-whitespace):
13571 With `verilog-auto-delete-trailing-whitespace' remove trailing
13572 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
13573 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
13574 Fix verilog-scan-cache corruption when running user AUTO expansion
13575 hooks that call indentation routines.
13576 (verilog-simplify-range-expression): Fix typo ignoring lower case
13577 identifiers.
13578 (verilog-delete-auto): Fix delete-autos to also remove user created
13579 automatics, as long as they start with AUTO.
13580 (verilog-batch-diff-auto, verilog-diff-auto)
13581 (verilog-diff-function): Add `verilog-diff-auto' and bind to
13582 "C-c?" to report differences in AUTO expansion, ignoring spaces.
13583 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
13584 (verilog-in-paren-quick, verilog-re-search-backward-quick)
13585 (verilog-re-search-forward-quick, verilog-syntax-ppss):
13586 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
13587 is disabled and its cache will get corrupt, causing AUTOS not to
13588 expand. Instead use only -quick functions.
13589 (verilog-scan-region): Fix scanning over escaped quotes.
13590 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
13591 (verilog-re-search-backward-quick)
13592 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
13593 related functions now ignore strings, to fix misparsing of strings
13594 with magic comments embedded in them.
13595 (verilog-read-auto-template):
13596 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
13597 Reported by Brad Dobbie.
13598 (verilog-read-auto-template):
13599 Fix 'verilog-auto-inst-template-numbers' with comments.
13600 Reported by Brad Dobbie.
13601 (verilog-auto-inst, verilog-auto-inst-param)
13602 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
13603 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
13604 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
13605 debugging templates without merge conflicts, bug357.
13606 Reported by Brad Dobbie.
13607 (verilog-read-auto-template):
13608 Fix verilog-auto-inst-template-numbers with multiple templates.
13609 Reported by Brad Dobbie.
13610 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
13611 abbrevs so user won't be asked to save.
13612 (verilog-read-auto-lisp-present): Fix to start at beginning of
13613 buffer in case called outside of verilog-auto.
13614 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
13615 to "X-2". Reported by Matthew Myers.
13616 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
13617 all inputs from module templates. Reported by Leith Johnson.
13618 (verilog-module-inside-filename-p): Fix locating programs as with
13619 modules.
13620 (verilog-auto-inst-port): Fix vl-width expressions when using
13621 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
13622 (verilog-decls-get-regs, verilog-decls-get-signals,
13623 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
13624 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
13625 verilog-read-decls): Combine reg and wire structures into one var
13626 structure to represent SystemVerilog concepts.
13627 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
13628 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
13629 (verilog-auto-wire-type, verilog-insert-definition):
13630 Add verilog-auto-wire-type and AUTOLOGIC to support using
13631 SystemVerilog "logic" keyword instead of "wire"/"reg".
13632 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
13633 to declares outputs that also have assignments (presumably in an
13634 ifdef or generate if so there's not a driver conflict).
13635 Reported by Matthew Myers.
13636 (verilog-auto-declare-nettype, verilog-insert-definition):
13637 Add verilog-auto-declare-nettype to fix declarations using
13638 `default_nettype none. Reported by Julian Gorfajn.
13639 (verilog-read-always-signals-recurse, verilog-read-decls)
13640 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
13641 malformed end statement, bug325. Reported by Joshua Wise and
13642 Andrew Drake.
13643 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
13644 (verilog-inst-comment-re): Fix not deleting Interfaced comment
13645 when expanding .* in interfaces, bug320.
13646 Reported by Pierre-David Pfister.
13647 (verilog-read-module-name): Fix import statements between module
13648 name and open parenthesis, bug317.
13649 Reported by Pierre-David Pfister.
13650 (verilog-simplify-range-expression): Fix simplification of
13651 multiplications inside AUTOWIRE connections, bug303.
13652 (verilog-auto-inst-port): Support parameter expansion in
13653 multidimensional arrays.
13654 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
13655 after "assert property". Reported by Julian Gorfajn.
13656 (verilog-simplify-range-expression): Fix "couldn't merge" errors
13657 with multiplication, bug303.
13658 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
13659 Reported by Jan Frode Lonnum.
13660
13661 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
13662
13663 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
13664 (hfy-shell-file-name, hfy-shell):
13665 * international/fontset.el (x-decompose-font-name): Fix typos.
13666
13667 2011-11-29 Ken Brown <kbrown@cornell.edu>
13668
13669 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
13670 (gdb-version): Remove defvar.
13671 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
13672 (gdb-gud-context-command, gdb-non-stop-handler)
13673 (gdb-current-context-command, gdb-stopped): Use it.
13674 (gdb-init-1): Enable pretty printing here.
13675 (gdb-non-stop-handler): Don't enable pretty-printing here.
13676 Check to see if the target supports non-stop mode; if not, turn off
13677 non-stop mode. Use the following.
13678 (gdb-check-target-async): New defun.
13679 (gud-watch, gdb-stopped): Fix whitespace.
13680 (gdb-get-source-file): Don't try to display the source file if
13681 `gdb-main-file' is nil.
13682
13683 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
13684
13685 * align.el: Try to generate fewer markers (bug#10047).
13686 (align--set-marker): New macro.
13687 (align-region): Use it.
13688
13689 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
13690
13691 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
13692
13693 2011-11-29 Chong Yidong <cyd@gnu.org>
13694
13695 * indent.el (indent-for-tab-command, indent-according-to-mode):
13696 Doc fix.
13697 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
13698
13699 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
13700
13701 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
13702 aware of remote file names. (Bug#10124)
13703
13704 2011-11-29 Chong Yidong <cyd@gnu.org>
13705
13706 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
13707
13708 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
13709
13710 * files.el (find-file): Don't use force-same-window (bug#10144).
13711 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
13712 use pop-to-buffer if the selected window can't be used.
13713 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
13714
13715 2011-11-28 Eli Zaretskii <eliz@gnu.org>
13716
13717 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
13718 special-mode-map.
13719
13720 2011-11-28 Chong Yidong <cyd@gnu.org>
13721
13722 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
13723
13724 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
13725
13726 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
13727 gdb-get-source-file-list on gdb-create-source-file-list.
13728
13729 2011-11-26 Eli Zaretskii <eliz@gnu.org>
13730
13731 * whitespace.el (whitespace-newline): Use a different foreground
13732 color for 16-color light-background displays.
13733
13734 2011-11-24 Chong Yidong <cyd@gnu.org>
13735
13736 * window.el (display-buffer--special-action): Doc fix.
13737
13738 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
13739
13740 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
13741 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
13742 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
13743 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
13744 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
13745 (avl-tree-stack-first):
13746 * emacs-lisp/cconv.el (cconv--analyse-use):
13747 * net/gnutls.el (gnutls-negotiate): Fix typos.
13748
13749 2011-11-24 Glenn Morris <rgm@gnu.org>
13750
13751 * lpr.el (lpr-windows-system, lpr-lp-system):
13752 * mail/binhex.el (binhex-begin-line):
13753 * progmodes/grep.el (grep-history, grep-find-history):
13754 * textmodes/flyspell.el:
13755 * vc/pcvs-defs.el (cvs-global-menu):
13756 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
13757 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
13758 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
13759
13760 * net/tls.el: Fix case of "GnuTLS".
13761
13762 * paths.el (rmail-file-name): Format doc-string for make-docfile.
13763
13764 * version.el (emacs-build-system): Give it a doc-string.
13765
13766 2011-11-24 Juri Linkov <juri@jurta.org>
13767
13768 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
13769
13770 2011-11-24 Glenn Morris <rgm@gnu.org>
13771
13772 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
13773 if called on a non-mime message just toggle the headers. (Bug#8006)
13774
13775 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
13776
13777 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
13778 (allout-lead-with-comment-string, allout-structure-deleted-hook)
13779 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
13780 (allout-rebullet-heading, allout-open-sibtopic)
13781 (allout-toggle-current-subtree-encryption)
13782 (allout-toggle-subtree-encryption, allout-encrypt-string)
13783 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
13784 (allout-distinctive-bullets-string, allout-auto-activation):
13785 * window.el (window-normalize-buffer-to-display):
13786 * progmodes/verilog-mode.el (verilog-batch-indent):
13787 * textmodes/bibtex.el (bibtex-field-braces-opt)
13788 (bibtex-field-strings-opt):
13789 * vc/cvs-status.el (cvs-tree-merge):
13790 Fix typos.
13791
13792 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
13793
13794 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
13795 `non-essential' to t, in order to avoid remote connections.
13796
13797 2011-11-23 Eli Zaretskii <eliz@gnu.org>
13798
13799 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13800 On MS-DOS and MS-Windows, compare with loaddefs.el
13801 case-insensitively.
13802
13803 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
13804
13805 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
13806
13807 2011-11-23 Glenn Morris <rgm@gnu.org>
13808
13809 * paths.el (rmail-file-name): Reformat the doc-string so that it
13810 is picked up.
13811
13812 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
13813 (rmail-auto-file): Ignore case in the "special" field names,
13814 as mail-fetch-field does for all others.
13815
13816 * mail/rmail.el (rmail-forward):
13817 * mail/rmailkwd.el (rmail-set-label):
13818 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
13819 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
13820
13821 * mail/rmail.el (rmail-current-message): Doc fix.
13822
13823 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
13824
13825 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
13826
13827 * server.el (server-eval-and-print): Allow C-g (bug#6585).
13828
13829 2011-11-22 Glenn Morris <rgm@gnu.org>
13830
13831 * mail/rmailmm.el (test-rmail-mime-handler)
13832 (test-rmail-mime-bulk-handler)
13833 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
13834
13835 2011-11-21 Juri Linkov <juri@jurta.org>
13836
13837 * calc/calc.el (calc-read-key-sequence):
13838 Let-bind `input-method-function' to nil. (Bug#10018)
13839
13840 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13841
13842 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
13843 Tell the caller that the next line needs recomputation, even
13844 though it doesn't start a sexp (bug#10094).
13845
13846 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
13847
13848 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
13849
13850 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
13851
13852 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
13853 Use force-same-window.
13854
13855 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
13856
13857 * descr-text.el (describe-char-unicode-data):
13858 * json.el (json-string-escape):
13859 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
13860 (Footnote-unicode, Footnote-style-p):
13861 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
13862
13863 2011-11-20 Chong Yidong <cyd@gnu.org>
13864
13865 * window.el (replace-buffer-in-windows): Restore interactive spec.
13866
13867 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
13868
13869 * electric.el (electric-indent-mode): Fix last change (too optimistic).
13870
13871 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
13872 (byte-compile-global-not-obsolete-vars): New var.
13873 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
13874 Use it.
13875 (byte-compile-warn-obsolete): Align text with the one in *Help*.
13876
13877 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
13878
13879 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
13880 * progmodes/pascal.el (electric-pascal-equal):
13881 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
13882 * xml.el (xml-substitute-special): Fix typos.
13883
13884 2011-11-20 Glenn Morris <rgm@gnu.org>
13885
13886 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
13887 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
13888 Doc fixes.
13889 (rmail-decode-mime-charset): Mark as obsolete.
13890
13891 * mail/rmailsum.el (rmail-message-regexp-p-1):
13892 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
13893 Before using mime functions, check they are set. (Bug#10077)
13894
13895 2011-11-19 Juri Linkov <juri@jurta.org>
13896
13897 * info.el (Info-finder-find-node): Use `package--builtins' instead
13898 of `package-alist'. Use node names formed by the pattern "Keyword "
13899 and the keyword name.
13900
13901 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
13902
13903 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
13904
13905 2011-11-19 Juri Linkov <juri@jurta.org>
13906
13907 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
13908 that calls `revert-buffer' on all Info buffers. (Bug#9915)
13909 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
13910 `old-history', `old-history-forward'. Add let-binding
13911 `window-selected'. Remove calls to `kill-buffer',
13912 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
13913 before calling `Info-find-node', so `Info-find-node-2' will reread
13914 the Info file. Restore window positions only when `window-selected'
13915 is non-nil.
13916
13917 2011-11-19 Juri Linkov <juri@jurta.org>
13918
13919 * isearch.el (isearch-lazy-highlight-new-loop):
13920 Remove condition `(not isearch-error)'. (Bug#9918)
13921
13922 * misearch.el (multi-isearch-search-fun): Add condition
13923 `(not bound)' to ignore lazy-highlighting search.
13924 Add the search-failed message "end of multi" when the end of
13925 multi-sequence is reached. Uncapitalize the search-failed
13926 message "Repeat for next buffer".
13927
13928 * info.el (Info-search): Add the search-failed message
13929 "end of the manual" when the end of the manual is reached
13930 in Isearch mode.
13931
13932 2011-11-19 Juri Linkov <juri@jurta.org>
13933
13934 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
13935 Use non-destructive `remove' instead of `delete' because
13936 `Info-history-list' stored to `Info-isearch-initial-history-list' in
13937 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
13938
13939 2011-11-19 Juri Linkov <juri@jurta.org>
13940
13941 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
13942 to nil instead of binding `search-ring' and `regexp-search-ring'.
13943 (Bug#9185)
13944
13945 2011-11-19 Eli Zaretskii <eliz@gnu.org>
13946
13947 * simple.el (line-move): Force movement by logical lines for any
13948 hscrolled window, not only when auto-hscroll-mode is on.
13949 (line-move-visual): Update doc string to that effect. (Bug#10076)
13950
13951 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
13952
13953 * language/european.el (macintosh): Define as alias for mac-roman.
13954
13955 2011-11-19 Eli Zaretskii <eliz@gnu.org>
13956
13957 * mail/rmailmm.el (rmail-mime-display-header)
13958 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
13959 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
13960 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
13961 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
13962 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
13963 of a raw aref.
13964 (rmail-mime-entity-segment): To get past the tagline, move forward
13965 2 more lines, to account for the 2 empty lines that precede and
13966 follow the line with the buttons.
13967 (rmail-mime-update-tagline): Move one more line, to get past the
13968 empty line that follows the buttons in the tagline. (Bug#9520)
13969
13970 2011-11-19 Martin Rudalics <rudalics@gmx.at>
13971
13972 * window.el (window-max-delta-1, window-min-delta-1)
13973 (window-min-size-1, window-state-get-1, window-state-put-1)
13974 (window-state-put-2): Use "window--" prefix.
13975
13976 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
13977
13978 * emacs-lisp/smie.el: Improve warnings and conflict detection.
13979 (smie-warning-count): New var.
13980 (smie-set-prec2tab): Use it.
13981 (smie-bnf->prec2): Improve warnings. Add docstring.
13982 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
13983 (smie-bnf--set-class): New function.
13984 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
13985 corner case.
13986
13987 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
13988 (compilation-error-properties, compilation-move-to-column):
13989 Handle compilation-first-column while in the target buffer.
13990
13991 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
13992 Don't hardcode point-min==1.
13993
13994 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
13995 (eshell-rewrite-for-command): Remove workaround.
13996 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
13997 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
13998 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
13999
14000 * files-x.el (modify-file-local-variable): Obey commenting conventions.
14001
14002 2011-11-17 Glenn Morris <rgm@gnu.org>
14003
14004 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
14005 Ignore buffer-local generated-autoload-file if it is the same
14006 as the global value. (Bug#10049)
14007
14008 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
14009
14010 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
14011 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
14012 (reftex-toc-previous-heading, reftex-toc-max-level)
14013 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
14014 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
14015 (reftex-toc-do-promote, reftex-toc-promote-prepare)
14016 (reftex-toc-promote-action, reftex-toc-extract-section-number)
14017 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
14018 (reftex-toc-rename-label, reftex-toc-visit-location)
14019 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
14020 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
14021 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
14022 leaving "*toc*" only for references to the buffer.
14023
14024 2011-11-17 Martin Rudalics <rudalics@gmx.at>
14025
14026 * window.el (window-resize, delete-window, split-window):
14027 Replace window-splits by window-combination-resize.
14028 * cus-start.el (window-splits): Replace by window-combination-resize.
14029
14030 2011-11-17 Glenn Morris <rgm@gnu.org>
14031
14032 * progmodes/sh-script.el (sh-font-lock-keywords-var):
14033 Make bash entry derive from sh entry, not shell entry.
14034
14035 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
14036
14037 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
14038 local file name.
14039
14040 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
14041
14042 * menu-bar.el (menu-bar-file-menu):
14043 * printing.el (pr-ps-utility):
14044 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
14045 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
14046 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
14047 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
14048 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
14049 (icalendar--convert-cyclic-to-ical)
14050 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
14051 (icalendar--convert-ical-to-diary)
14052 (icalendar--convert-recurring-to-diary)
14053 (icalendar--convert-non-recurring-all-day-to-diary)
14054 (icalendar-import-format-sample):
14055 * progmodes/idlw-shell.el (idlwave-shell-mode):
14056 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
14057 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
14058 (vhdl-ps-print-init): Fix typos.
14059
14060 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
14061
14062 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
14063 FSF and collapse date sequence, obscure author/maintainer email address
14064 better, remove extra version line, track relocation of author's webpage.
14065
14066 * progmodes/python.el (python-pdbtrack-input-prompt)
14067 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
14068 regular python pdb prompts. Adjustments shamelessly taken exactly as
14069 suggested in EmacsWiki page (tiny change):
14070 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
14071
14072 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
14073
14074 * expand.el (expand-pos, expand-index, expand-point):
14075 Remove redundant info from docstring.
14076 (expand-add-abbrevs): Doc fix.
14077 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
14078 (expand-sample-perl-mode-expand-list): Fix typos.
14079
14080 * net/dbus.el (dbus-event-member-name):
14081 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
14082 * term/pc-win.el (msdos-create-frame-with-faces):
14083 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
14084
14085 2011-11-16 Martin Rudalics <rudalics@gmx.at>
14086
14087 * window.el (split-window, window-state-get-1)
14088 (window-state-put-1, window-state-put-2): Rename occurrences of
14089 window-nest to window-combination-limit.
14090 * cus-start.el (window-nest): Rename to window-combination-limit.
14091
14092 2011-11-16 Chong Yidong <cyd@gnu.org>
14093
14094 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
14095 regexp (Bug#10033).
14096
14097 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
14098
14099 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
14100 `completing-read' will remove *Completions* and will preserve
14101 current-buffer for us.
14102 (tmm-add-prompt): Users of *Completions* will always (re)set its
14103 major mode.
14104 (tmm-old-comp-map): Remove.
14105
14106 2011-11-16 Glenn Morris <rgm@gnu.org>
14107
14108 * mail/rmailedit.el: Require rmailmm when compiling.
14109 (rmail-old-mime-state): New declaration.
14110 (rmail-edit-current-message): If editing a mime message,
14111 edit the "raw" message from the mbox buffer.
14112 (rmail-cease-edit): Handle mime messages. (Bug#9840)
14113
14114 2011-11-15 Glenn Morris <rgm@gnu.org>
14115
14116 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
14117 which wasn't being used. Add optional arg to force given state.
14118 (rmail-mime): Add optional arg to force given state.
14119
14120 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
14121
14122 * allout.el (allout-encryption-plaintext-sanitization-regexps):
14123 * frame.el (display-mm-dimensions-alist):
14124 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
14125 (outline-move-subtree-down):
14126 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
14127 (newsticker--treeview-do-get-node):
14128 * net/quickurl.el (quickurl-list-buffer-name):
14129 * progmodes/dcl-mode.el (dcl-mode):
14130 * progmodes/gdb-mi.el (gdb-mapcar*):
14131 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
14132
14133 2011-11-15 Glenn Morris <rgm@gnu.org>
14134
14135 * mail/rmail.el (rmail-file-coding-system): It's only ever used
14136 in a boolean sense, so just make it a boolean, and fix the doc.
14137 (rmail-show-mime-function, rmail-mime-feature)
14138 (rmail-require-mime-maybe): Doc fixes.
14139 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
14140
14141 * mail/rmailmm.el (rmail-show-mime): Doc fix.
14142
14143 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
14144
14145 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
14146 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
14147 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
14148 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
14149
14150 2011-11-15 Glenn Morris <rgm@gnu.org>
14151
14152 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
14153 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
14154 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
14155 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
14156 (rmail-mime, rmail-show-mime): Doc fixes.
14157
14158 * term/ns-win.el (mode-line-frame-identification):
14159 Leave it alone. (Bug#10051)
14160
14161 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
14162
14163 * mail/rmailout.el (rmail-output-to-rmail-buffer):
14164 Handle empty buffers. (Bug#9978)
14165
14166 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
14167
14168 * international/mule.el (define-charset):
14169 * mail/rmailmm.el (rmail-mime-find-header-encoding):
14170 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
14171 * progmodes/verilog-mode.el (verilog-backward-token):
14172 * textmodes/ispell.el (lookup-words):
14173 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
14174
14175 2011-11-14 Glenn Morris <rgm@gnu.org>
14176
14177 * progmodes/executable.el
14178 (executable-make-buffer-file-executable-if-script-p):
14179 Handle file-modes returning nil.
14180
14181 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
14182 message - not necessary, and causes problems. (Bug#9831)
14183
14184 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
14185
14186 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
14187
14188 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
14189 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
14190 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
14191
14192 2011-11-12 Martin Rudalics <rudalics@gmx.at>
14193
14194 * window.el (window-resize, delete-window): Use window-splits
14195 variable instead of function.
14196 (window-state-get-1, window-state-put-2, window-state-put):
14197 Don't deal with windows' splits status.
14198
14199 2011-11-12 Glenn Morris <rgm@gnu.org>
14200
14201 * apropos.el (apropos-do-all, apropos-library, apropos-value)
14202 (apropos-documentation): Doc fixes.
14203
14204 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
14205
14206 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
14207 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
14208
14209 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
14210
14211 * electric.el (electric-indent-post-self-insert-function): Make it
14212 possible for a char to only indent in some circumstances.
14213 (electric-indent-mode): Simplify.
14214
14215 2011-11-11 Martin Rudalics <rudalics@gmx.at>
14216
14217 * window.el (windows-with-parameter): Remove unused function.
14218 (windows-at-side): Rename to window-at-side-list.
14219 (window-check, window-atom-check, window-atom-check-1)
14220 (window-side-check, window-size-ignore, window-size-fixed-1)
14221 (window-in-direction-2): Prefix with "window--".
14222 (window-tree-1): Rename to window--subtree, fix doc-string.
14223
14224 2011-11-11 Glenn Morris <rgm@gnu.org>
14225
14226 * subr.el (eval-after-load): If FILE is already loaded,
14227 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
14228
14229 2011-11-10 Glenn Morris <rgm@gnu.org>
14230
14231 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
14232 Call svn via vc-svn-command rather than vc-do-command.
14233 (vc-svn-command): Add --non-interactive. (Bug#9993)
14234 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
14235
14236 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14237 Add toggle-read-only. (Bug#7292)
14238 * files.el (toggle-read-only): Mention that it should only
14239 be used interactively. (Bug#10006)
14240
14241 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
14242
14243 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14244 Adjust regexp for OCaml warnings.
14245
14246 * electric.el (electric-pair-post-self-insert-function): Let user
14247 turn it off buffer-locally (bug#9932).
14248
14249 * progmodes/python.el (python-beginning-of-statement):
14250 Rewrite (bug#2703).
14251
14252 * progmodes/compile.el: Better handle TABs (bug#9749).
14253 (compilation-internal-error-properties)
14254 (compilation-next-error-function): Obey the target buffer's
14255 compilation-error-screen-columns.
14256
14257 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
14258
14259 * progmodes/meta-mode.el: Remove obsolete comments.
14260 (meta-right-comment-regexp, meta-ignore-comment-regexp):
14261 Fix typos in docstrings.
14262
14263 2011-11-09 Martin Rudalics <rudalics@gmx.at>
14264
14265 * window.el (window-size-fixed-p): Rewrite doc-string.
14266 (window-resizable-p): Rename to window--resizable-p. Update callers.
14267 (window--resizable): New function. Make all callers of
14268 window-resizable call window--resizable instead.
14269 (window-resizable): Rewrite in terms of window--resizable.
14270
14271 2011-11-08 Glenn Morris <rgm@gnu.org>
14272
14273 * progmodes/delphi.el (delphi-mode-syntax-table):
14274 Let define-derived-mode define a proper syntax table. (Bug#9994)
14275
14276 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
14277
14278 * window.el: Stay away from defsubst.
14279 (window-list-no-nils): Remove.
14280 (window-state-get-1, window-state-get): Use backquote instead.
14281
14282 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14283
14284 * emacs-lisp/find-func.el (find-function-read):
14285 Fix incorrect use of default argument in `completing-read'.
14286
14287 2011-11-08 Martin Rudalics <rudalics@gmx.at>
14288
14289 * window.el (display-buffer-function, special-display-function):
14290 Mention display-buffer-record-window but do not mention
14291 help-setup parameter in doc-strings.
14292 (window-min-delta): Fix doc-string typo.
14293
14294 2011-11-08 Chong Yidong <cyd@gnu.org>
14295
14296 * window.el (window-total-height, window-total-width): Doc fix.
14297 (window-body-size): Move from C.
14298 (window-body-height, window-body-width): Move to C.
14299
14300 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
14301
14302 * window.el: Make special-display like display-buffer-alist (bug#9532).
14303 (display-buffer--special-action): New function, morphed
14304 from display-buffer--special.
14305 (display-buffer): Use it to handle special-display-buffers at higher
14306 priority (just after display-buffer-alist).
14307 (display-buffer-fallback-action, display-buffer--other-frame-action)
14308 (pop-to-buffer-same-window): Remove display-buffer--special.
14309
14310 2011-11-07 Glenn Morris <rgm@gnu.org>
14311
14312 * calendar/cal-menu.el (cal-menu-set-date-title):
14313 Do nothing if not in a calendar. (Bug#9976)
14314
14315 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
14316
14317 * files.el (find-file): Always use selected-window.
14318
14319 2011-11-07 Martin Rudalics <rudalics@gmx.at>
14320
14321 * window.el (window-combinations): Make WINDOW argument
14322 mandatory. Rewrite doc-string.
14323 (walk-window-subtree, window-atom-check, window-min-delta)
14324 (window-max-delta, window--resize-this-window)
14325 (window--resize-root-window-vertically, window-tree)
14326 (balance-windows, window-state-put): Rewrite doc-strings as to
14327 not mention the term "subwindow".
14328 (window--resize-subwindows-skip-p): Rename to
14329 window--resize-child-windows-skip-p.
14330 (window--resize-subwindows-normal): Rename to
14331 window--resize-child-windows-normal.
14332 (window--resize-subwindows): Rename to
14333 window--resize-child-windows.
14334 (window-or-subwindow-p): Rename to window--in-subtree-p.
14335
14336 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
14337
14338 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
14339 Ensure that mbox format messages end in two newlines (Bug#9974).
14340
14341 2011-11-06 Chong Yidong <cyd@gnu.org>
14342
14343 * window.el (window-combination-p): Function deleted; its
14344 side-effect is not used in any existing code.
14345 (window-combinations, window-combined-p): Call window-*-child
14346 directly.
14347
14348 2011-11-05 Chong Yidong <cyd@gnu.org>
14349
14350 * window.el (window-valid-p): Rename from window-any-p.
14351 (window-size-ignore, window-state-get): Callers changed.
14352 (window-normalize-window): Rename from window-normalize-any-window.
14353 New arg LIVE-ONLY, replacing window-normalize-live-window.
14354 (window-normalize-live-window): Delete.
14355 (window-combination-p, window-combined-p, window-combinations)
14356 (walk-window-subtree, window-atom-root, window-min-size)
14357 (window-sizable, window-sizable-p, window-size-fixed-p)
14358 (window-min-delta, window-max-delta, window-resizable)
14359 (window-resizable-p, window-full-height-p, window-full-width-p)
14360 (window-current-scroll-bars, window-point-1, set-window-point-1)
14361 (window-at-side-p, window-in-direction, window-resize)
14362 (adjust-window-trailing-edge, maximize-window, minimize-window)
14363 (window-deletable-p, delete-window, delete-other-windows)
14364 (record-window-buffer, unrecord-window-buffer)
14365 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
14366 (quit-window, split-window, window-state-put)
14367 (set-window-text-height, fit-window-to-buffer)
14368 (shrink-window-if-larger-than-buffer): Callers changed.
14369
14370 2011-11-04 Eli Zaretskii <eliz@gnu.org>
14371
14372 * mail/rmail.el (rmail-simplified-subject): Decode subject with
14373 rfc2047-decode-string.
14374 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
14375 warnings.
14376
14377 * window.el (window-body-height, window-body-width): Mention in
14378 the doc string that the return values are in frame's canonical
14379 units. (Bug#9949)
14380
14381 2011-11-03 Alan Mackenzie <acm@muc.de>
14382
14383 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
14384 change in cc-engine.el.
14385
14386 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
14387
14388 * window.el (switch-to-buffer): Use `force-same-window' interactively.
14389
14390 2011-11-02 Martin Rudalics <rudalics@gmx.at>
14391
14392 * window.el (quit-window): Call unrecord-window-buffer after
14393 showing another buffer in the window. (Bug#9937)
14394 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
14395
14396 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
14397
14398 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
14399 Accept status with more than 9 shelves. (Bug#9935)
14400 Reported by Colin D Bennett <colin@gibibit.com>.
14401
14402 2011-11-01 Martin Rudalics <rudalics@gmx.at>
14403
14404 * help.el (with-help-window): Don't reference
14405 temp-buffer-show-specifiers in doc-string.
14406
14407 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
14408
14409 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
14410 menu-item.
14411
14412 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14413
14414 * whitespace.el: New version 13.2.2.
14415 (whitespace-newline-mode): Disable properly. Reported by Sarah
14416 <EmacsWiki>.
14417
14418 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
14419
14420 * net/newst-treeview.el: Remove "Time-stamp".
14421 (newsticker--group-manage-orphan-feeds): Do not call
14422 newsticker--treeview-tree-update.
14423 (newsticker-treeview-update, newsticker-treeview):
14424 Call newsticker--treeview-tree-update if necessary.
14425
14426 2011-10-30 Martin Rudalics <rudalics@gmx.at>
14427
14428 * window.el (window-iso-combination-p, window-iso-combined-p)
14429 (window-iso-combinations): Remove "iso-" infix.
14430 Suggested by Chong Yidong.
14431 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
14432 (window-max-delta-1, window-resize, window--resize-siblings)
14433 (window--resize-this-window, adjust-window-trailing-edge)
14434 (split-window, balance-windows-1)
14435 (shrink-window-if-larger-than-buffer):
14436 * calendar/calendar.el (calendar-generate-window):
14437 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
14438
14439 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
14440
14441 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
14442 in place (bug#9907).
14443 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
14444 (eshell-rewrite-if-command, eshell-rewrite-for-command)
14445 (eshell-structure-basic-command, eshell-rewrite-while-command)
14446 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
14447 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
14448 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
14449 (eshell-do-pipelines-synchronously, eshell-eval-command):
14450 Use backquotes and prefer setq to set.
14451 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
14452 (eshell-macrop): Use functionp.
14453 (eshell-do-eval): Handle multiple expressions in `while' body.
14454
14455 2011-10-30 Chong Yidong <cyd@gnu.org>
14456
14457 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
14458 instead of set-mark (Bug#9810).
14459
14460 2011-10-30 Chong Yidong <cyd@gnu.org>
14461
14462 * window.el (split-window-below, split-window-right): Rename from
14463 split-window-above-each-other and split-window-side-by-side
14464 respectively. All callers changed.
14465 (split-window-sensibly, split-window-sensibly): Use them.
14466 (split-window-keep-point): Doc fix.
14467
14468 * isearch.el: Add isearch-scroll property to split-window-below
14469 and split-window-right.
14470
14471 * follow.el (follow-mode):
14472 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
14473 * progmodes/ada-xref.el (ada-gdb-application):
14474 * emulation/vip.el (vip-buffer-in-two-windows):
14475 * image-dired.el (image-dired-dired-with-window-configuration):
14476 * dired-x.el (dired-do-find-marked-files):
14477 * dired.el (dired-pop-to-buffer):
14478 * bs.el (bs--show-with-configuration):
14479 * vc/emerge.el (emerge-setup-windows):
14480 * textmodes/two-column.el (2C-two-columns):
14481 * textmodes/reftex-toc.el (reftex-toc):
14482 * progmodes/gdb-mi.el (gdb-setup-windows):
14483 * progmodes/fortran.el (fortran-window-create):
14484 * net/newst-treeview.el (newsticker--treeview-window-init):
14485 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
14486 * emulation/tpu-edt.el (tpu-gold-map):
14487 * emulation/crisp.el (crisp-mode-map):
14488 * calendar/calendar.el (calendar-basic-setup): Callers changed.
14489
14490 2011-10-29 Chong Yidong <cyd@gnu.org>
14491
14492 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
14493
14494 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
14495
14496 * textmodes/flyspell.el (flyspell-word): Fix char offset for
14497 forged Ispell output (Bug#7904).
14498
14499 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
14500
14501 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14502
14503 * doc-view.el: Avoid ugly errors about not finding nil.
14504 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
14505 (doc-view-dvipdf-program, doc-view-unoconv-program)
14506 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
14507 Avoid nil or absolute file name as default value.
14508 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
14509
14510 2011-10-28 Alan Mackenzie <acm@muc.de>
14511
14512 * progmodes/cc-defs.el (c-version): -> 5.32.2.
14513
14514 2011-10-28 Alan Mackenzie <acm@muc.de>
14515
14516 Amend the handling of c-beginning/end-of-defun in nested declaration
14517 scopes.
14518
14519 * progmodes/cc-vars.el (c-defun-tactic): Move here from
14520 cc-langs.el. Change it to a defcustom.
14521
14522 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
14523 cc-vars.el.
14524
14525 * progmodes/cc-engine.el (c-beginning-of-statement-1):
14526 Prevent "class foo : bar" being spuriously recognized as a label.
14527
14528 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
14529 Add parameter `inclusive' (to include enclosing braces in the region).
14530 (c-widen-to-enclosing-decl-scope): New function.
14531 (c-while-widening-to-decl-block): New macro.
14532 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
14533 outward for defun boundaries, and correspondingly change symbol
14534 `respect-enclosure' to `go-outward'.
14535 (c-declaration-limits): Change algorithm to report only the "innermost"
14536 defun's boundaries.
14537
14538 2011-10-28 Deniz Dogan <deniz@dogan.se>
14539
14540 * net/rcirc.el (rcirc-mode): Use hard newlines.
14541
14542 2011-10-28 Alan Mackenzie <acm@muc.de>
14543
14544 Amend to indent and fontify macros "which include their own semicolon"
14545 correctly, using the "virtual semicolon" mechanism.
14546
14547 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
14548
14549 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
14550 Recode to scan one line at a time rather than having \n and \r
14551 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
14552 (c-forward-label): Amend for virtual semicolons.
14553 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
14554
14555 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
14556 of the new C macros.
14557
14558 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
14559 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
14560 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
14561 (c-opt-cpp-macro-define): Make into a full language variable.
14562 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
14563 AWK Mode (including \n, \r) removed, no longer needed.
14564
14565 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
14566 Invoke c-make-macro-with-semi-re.
14567
14568 * progmodes/cc-vars.el (c-macro-with-semi-re):
14569 (c-macro-names-with-semicolon): New variables.
14570 (c-make-macro-with-semi-re): New function.
14571
14572 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14573
14574 * vc/log-edit.el: Fill empty field rather than adding new one.
14575 (log-edit-add-field): New function.
14576 (log-edit-insert-changelog): Use it.
14577
14578 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
14579
14580 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
14581
14582 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14583
14584 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
14585 (gdb--check-interpreter): New function.
14586 (gdb): Use it.
14587
14588 2011-10-27 Glenn Morris <rgm@gnu.org>
14589
14590 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
14591 (least-positive-float, least-negative-float)
14592 (least-positive-normalized-float, least-negative-normalized-float)
14593 (float-epsilon, float-negative-epsilon):
14594 Remove unnecessary declarations.
14595
14596 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
14597 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
14598 (least-positive-float, least-negative-float)
14599 (least-positive-normalized-float, least-negative-normalized-float)
14600 (float-epsilon, float-negative-epsilon): Add doc-strings,
14601 based on those in cl.texi.
14602
14603 * files.el (set-visited-file-name): If the major-mode changed,
14604 reload the local variables. (Bug#9796)
14605
14606 2011-10-27 Chong Yidong <cyd@gnu.org>
14607
14608 * subr.el (change-major-mode-after-body-hook): New hook.
14609 (run-mode-hooks): Run it.
14610
14611 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14612 Use change-major-mode-before-body-hook.
14613
14614 * simple.el (fundamental-mode):
14615 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
14616 change introducing fundamental-mode-hook.
14617
14618 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
14619
14620 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
14621
14622 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
14623
14624 * ido.el (ido-file-name-all-completions-1): Do not require
14625 tramp.el explicitly. (Bug#7583)
14626
14627 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
14628
14629 * progmodes/octave-mod.el:
14630 * progmodes/octave-inf.el: Update maintainer.
14631
14632 2011-10-26 Chong Yidong <cyd@gnu.org>
14633
14634 * subr.el (with-wrapper-hook): Rewrite doc.
14635
14636 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
14637
14638 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
14639 filenames "/method:foo:". (Bug#9793)
14640
14641 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
14642
14643 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
14644 (bug#9865).
14645
14646 2011-10-24 Glenn Morris <rgm@gnu.org>
14647
14648 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
14649
14650 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
14651
14652 * notifications.el: Add the requirement of a running D-Bus session
14653 bus to the Commentary.
14654
14655 2011-10-24 Juri Linkov <juri@jurta.org>
14656
14657 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
14658 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
14659 (Bug#9364)
14660
14661 2011-10-24 Juri Linkov <juri@jurta.org>
14662
14663 * info.el (Info-following-node-name-re): Add newline to the list
14664 of allowed characters for leading space. (Bug#9824)
14665
14666 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
14667
14668 * progmodes/octave-inf.el (inferior-octave-mode-map):
14669 Fix C-c C-h binding.
14670 * progmodes/octave-mod.el (octave-help): Remove.
14671
14672 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
14673
14674 Sync with Tramp 2.2.3.
14675
14676 * net/tramp-cache.el (top): Pacify byte-compiler using
14677 `init-file-user' and `site-run-file'.
14678
14679 * net/trampver.el: Update release number.
14680
14681 2011-10-23 Chong Yidong <cyd@gnu.org>
14682
14683 * files.el (toggle-read-only): Remove obsolete comment about
14684 version control.
14685
14686 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
14687 for toggle-read-only. Note that this hasn't called vc-next-action
14688 since 2008-05-02, though it wasn't documented at the time.
14689
14690 * vc/ediff-init.el (ediff-toggle-read-only-function):
14691 Use toggle-read-only.
14692
14693 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
14694
14695 Fix bug #9560, sporadic wrong indentation; improve instrumentation
14696 of c-parse-state.
14697
14698 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
14699 correct faulty logical expression.
14700 (c-parse-state-state, c-record-parse-state-state):
14701 (c-replay-parse-state-state): New defvar/defuns.
14702 (c-debug-parse-state): Use new functions.
14703
14704 2011-10-22 Martin Rudalics <rudalics@gmx.at>
14705
14706 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
14707 last fix. Use window-in-direction correctly.
14708
14709 2011-10-21 Chong Yidong <cyd@gnu.org>
14710
14711 * progmodes/idlwave.el (idlwave-mode):
14712 * progmodes/vera-mode.el (vera-mode): No need to set
14713 require-final-newline; that's done in prog-mode.
14714 Suggested by Stefan Monnier.
14715
14716 2011-10-21 Martin Rudalics <rudalics@gmx.at>
14717
14718 * mouse.el (mouse-drag-window-above)
14719 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
14720 (mouse-drag-mode-line-1, mouse-drag-header-line)
14721 (mouse-drag-vertical-line-rightward-window): Remove.
14722 (mouse-drag-line): New function.
14723 (mouse-drag-mode-line, mouse-drag-header-line)
14724 (mouse-drag-vertical-line): Call mouse-drag-line.
14725 * window.el (window-at-side-p, windows-at-side): New functions.
14726
14727 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
14728
14729 * tar-mode.el (tar-grind-file-mode):
14730 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
14731
14732 2011-10-21 Chong Yidong <cyd@gnu.org>
14733
14734 * progmodes/idlwave.el (idlwave-mode):
14735 * progmodes/vera-mode.el (vera-mode):
14736 Use mode-require-final-newline.
14737
14738 2011-10-20 Glenn Morris <rgm@gnu.org>
14739
14740 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
14741
14742 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
14743
14744 * emulation/cua-base.el (cua-set-mark): Fix case of string.
14745
14746 2011-10-20 Chong Yidong <cyd@gnu.org>
14747
14748 * emulation/cua-base.el (cua-mode):
14749 * mail/footnote.el (footnote-mode):
14750 * mail/mailabbrev.el (mail-abbrevs-mode):
14751 * net/xesam.el (xesam-minor-mode):
14752 * progmodes/bug-reference.el (bug-reference-mode):
14753 * progmodes/cap-words.el (capitalized-words-mode):
14754 * progmodes/compile.el (compilation-minor-mode)
14755 (compilation-shell-minor-mode):
14756 * progmodes/gud.el (gud-tooltip-mode):
14757 * progmodes/hideif.el (hide-ifdef-mode):
14758 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
14759 * progmodes/subword.el (subword-mode):
14760 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
14761 * progmodes/which-func.el (which-function-mode):
14762 * term/tvi970.el (tvi970-set-keypad-mode):
14763 * term/vt100.el (vt100-wide-mode):
14764 * textmodes/flyspell.el (flyspell-mode):
14765 * textmodes/ispell.el (ispell-minor-mode):
14766 * textmodes/nroff-mode.el (nroff-electric-mode):
14767 * textmodes/paragraphs.el (use-hard-newlines):
14768 * textmodes/refill.el (refill-mode):
14769 * textmodes/reftex.el (reftex-mode):
14770 * textmodes/rst.el (rst-minor-mode):
14771 * textmodes/sgml-mode.el (html-autoview-mode)
14772 (sgml-electric-tag-pair-mode):
14773 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
14774 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
14775 * emulation/crisp.el (crisp-mode):
14776 * emacs-lisp/eldoc.el (eldoc-mode):
14777 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
14778 minor mode behavior.
14779
14780 2011-10-19 Juri Linkov <juri@jurta.org>
14781
14782 * descr-text.el (describe-char): Add #x2010 and #x2011 to
14783 the list of hard-coded chars with escape-glyph face.
14784
14785 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
14786
14787 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
14788
14789 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
14790
14791 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
14792 running process.
14793
14794 2011-10-19 Glenn Morris <rgm@gnu.org>
14795
14796 * vc/vc-bzr.el (vc-bzr-after-dir-status):
14797 Ignore ignored files. (Bug#9726)
14798
14799 2011-10-19 Chong Yidong <cyd@gnu.org>
14800
14801 Doc fix for minor modes, stating that an omitted argument enables
14802 the mode unconditionally when called from Lisp.
14803
14804 * abbrev.el (abbrev-mode):
14805 * allout.el (allout-mode):
14806 * autoinsert.el (auto-insert-mode):
14807 * autoarg.el (autoarg-mode, autoarg-kp-mode):
14808 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
14809 (global-auto-revert-mode):
14810 * battery.el (display-battery-mode):
14811 * composite.el (global-auto-composition-mode)
14812 (auto-composition-mode):
14813 * delsel.el (delete-selection-mode):
14814 * desktop.el (desktop-save-mode):
14815 * dired-x.el (dired-omit-mode):
14816 * dirtrack.el (dirtrack-mode):
14817 * doc-view.el (doc-view-minor-mode):
14818 * double.el (double-mode):
14819 * electric.el (electric-indent-mode, electric-pair-mode):
14820 * emacs-lock.el (emacs-lock-mode):
14821 * epa-hook.el (auto-encryption-mode):
14822 * follow.el (follow-mode):
14823 * font-core.el (font-lock-mode):
14824 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
14825 * help.el (temp-buffer-resize-mode):
14826 * hilit-chg.el (highlight-changes-mode)
14827 (highlight-changes-visible-mode):
14828 * hi-lock.el (hi-lock-mode):
14829 * hl-line.el (hl-line-mode, global-hl-line-mode):
14830 * icomplete.el (icomplete-mode):
14831 * ido.el (ido-everywhere):
14832 * image-file.el (auto-image-file-mode):
14833 * image-mode.el (image-minor-mode):
14834 * iswitchb.el (iswitchb-mode):
14835 * jka-cmpr-hook.el (auto-compression-mode):
14836 * linum.el (linum-mode):
14837 * longlines.el (longlines-mode):
14838 * master.el (master-mode):
14839 * mb-depth.el (minibuffer-depth-indicate-mode):
14840 * menu-bar.el (menu-bar-mode):
14841 * minibuf-eldef.el (minibuffer-electric-default-mode):
14842 * mouse-sel.el (mouse-sel-mode):
14843 * msb.el (msb-mode):
14844 * mwheel.el (mouse-wheel-mode):
14845 * outline.el (outline-minor-mode):
14846 * paren.el (show-paren-mode):
14847 * recentf.el (recentf-mode):
14848 * reveal.el (reveal-mode, global-reveal-mode):
14849 * rfn-eshadow.el (file-name-shadow-mode):
14850 * ruler-mode.el (ruler-mode):
14851 * savehist.el (savehist-mode):
14852 * scroll-all.el (scroll-all-mode):
14853 * scroll-bar.el (scroll-bar-mode):
14854 * server.el (server-mode):
14855 * shell.el (shell-dirtrack-mode):
14856 * simple.el (auto-fill-mode, transient-mark-mode)
14857 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
14858 (line-number-mode, column-number-mode, size-indication-mode)
14859 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
14860 * strokes.el (strokes-mode):
14861 * time.el (display-time-mode):
14862 * t-mouse.el (gpm-mouse-mode):
14863 * tool-bar.el (tool-bar-mode):
14864 * tooltip.el (tooltip-mode):
14865 * type-break.el (type-break-mode-line-message-mode)
14866 (type-break-query-mode):
14867 * view.el (view-mode):
14868 * whitespace.el (whitespace-mode, whitespace-newline-mode)
14869 (global-whitespace-mode, global-whitespace-newline-mode):
14870 * xt-mouse.el (xterm-mouse-mode): Doc fix.
14871
14872 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14873 Fix autogenerated docstring.
14874
14875 2011-10-19 Juri Linkov <juri@jurta.org>
14876
14877 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
14878 by checking environment variables "DESKTOP_SESSION" and
14879 "XDG_CURRENT_DESKTOP". (Bug#9779)
14880
14881 2011-10-19 Juri Linkov <juri@jurta.org>
14882
14883 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
14884 (browse-url-chromium-program, browse-url-chromium-arguments):
14885 New defcustoms.
14886 (browse-url-default-browser): Check for `browse-url-chromium' and
14887 call `browse-url-chromium-program'.
14888 (browse-url-chromium): New command. (Bug#9779)
14889
14890 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
14891
14892 * facemenu.el (list-colors-duplicates): On Windows, detect more
14893 duplicates by assuming that only colors matching "^System" are
14894 special "system colors". (Bug#9722)
14895
14896 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
14897
14898 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
14899 to distinguish the author from the committer.
14900
14901 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
14902
14903 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
14904
14905 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
14906
14907 * international/mule.el (sgml-html-meta-auto-coding-function):
14908 Add support for detecting encoding in HTML5 specified only as
14909 <meta charset="UTF-8">. Implementation just makes http-equiv and
14910 content-type parts from HTML4 encoding string optional. (Bug#9716)
14911
14912 2011-10-18 Glenn Morris <rgm@gnu.org>
14913
14914 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
14915
14916 2011-10-18 Chong Yidong <cyd@gnu.org>
14917
14918 * faces.el (cursor): Doc fix.
14919
14920 2011-10-17 Chong Yidong <cyd@gnu.org>
14921
14922 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
14923
14924 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
14925
14926 * dirtrack.el (dirtrack): Support shell buffers with path
14927 prefixes, e.g. tramp-based remote shells. (Bug#9647)
14928
14929 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
14930
14931 * json.el: Bump version to 1.3 and note change in History.
14932 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
14933
14934 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
14935
14936 * comint.el (comint-insert-input, comint-send-input)
14937 (comint-get-old-input-default, comint-backward-matching-input)
14938 (comint-next-prompt): Use nil instead of `input' for field property of
14939 past user input (bug#114).
14940
14941 * minibuffer.el (completion--replace): Inherit surrounding properties
14942 (bug#114).
14943 (minibuffer-complete-and-exit): Use it.
14944
14945 * comint.el (comint--table-subvert): Quote the all-completions output
14946 (bug#9160).
14947
14948 2011-10-17 Martin Rudalics <rudalics@gmx.at>
14949
14950 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
14951
14952 * menu-bar.el (menu-bar-file-menu): Add entry for making new
14953 window on right of selected. (Bug#9350) Reword other window
14954 entries and separate them from frame entries.
14955
14956 2011-10-15 Glenn Morris <rgm@gnu.org>
14957
14958 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
14959 Doc fixes.
14960
14961 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
14962
14963 * net/network-stream.el (network-stream-open-starttls):
14964 Improve detection of failure due to lack of TLS support.
14965
14966 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
14967 putting the input text in front and in bold.
14968
14969 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
14970
14971 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
14972
14973 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
14974 empty buffer.
14975
14976 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
14977 unread-command-events rather than pushing yet-another event.
14978
14979 2011-10-14 Eli Zaretskii <eliz@gnu.org>
14980
14981 * mail/sendmail.el (sendmail-query-once): Improve the wording of
14982 the explanation of the possible choices. Make the options passed
14983 to completing-read shorter.
14984
14985 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14986
14987 * textmodes/flyspell.el (flyspell-large-region): Make sure
14988 extended character mode is used if defined (Bug#1339).
14989
14990 2011-10-13 Eli Zaretskii <eliz@gnu.org>
14991
14992 * simple.el (what-cursor-position): Fix the display of the
14993 character info for LRE, LRO, RLE, and RLO characters by appending
14994 an invisible PDF.
14995
14996 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
14997
14998 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
14999 even in case of error; add debug spec; simplify data flow.
15000 (with-timeout-handler): Remove.
15001
15002 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
15003
15004 Fix Bug#6019, Bug#9315.
15005
15006 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
15007 complete `buffer-file-name', the local file name part could look
15008 remotely (for example on VMS).
15009
15010 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
15011 `tramp-run-real-handler'.
15012 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
15013 already quoted by '"'.
15014
15015 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
15016 Let `file-name-handler-alist' be nil, the local file name part
15017 could look remotely (for example on VMS).
15018
15019 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
15020
15021 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
15022 from here...
15023 (flyspell-post-command-hook): ...to here.
15024
15025 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
15026
15027 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
15028 if not needed.
15029 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
15030 using completion. Protect against "slow" callers.
15031 Remove the "message hack".
15032
15033 2011-10-11 Juri Linkov <juri@jurta.org>
15034
15035 * isearch.el (isearch-lazy-highlight-word): New variable.
15036 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
15037 Use it. (Bug#9727)
15038
15039 2011-10-11 Glenn Morris <rgm@gnu.org>
15040
15041 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
15042 like f90-previous-statement does.
15043
15044 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15045
15046 * eshell/eshell.el (eshell-command): History should be saved
15047 only in interactive use, to avoid error.
15048
15049 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
15050
15051 * minibuffer.el (completion-file-name-table): Fix last change,
15052 i.e. ignore normal errors but not the other ones.
15053
15054 2011-10-10 Martin Rudalics <rudalics@gmx.at>
15055
15056 * window.el (special-display-buffer-names)
15057 (special-display-regexps): Remove some remnants of earlier
15058 changes from doc-strings.
15059 (quit-windows-on): New function.
15060
15061 * vc/vc.el (vc-revert, vc-rollback):
15062 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
15063 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
15064 (Bug#6183) (Bug#7074) (Bug#7447)
15065
15066 2011-10-09 Martin Rudalics <rudalics@gmx.at>
15067
15068 * window.el (frame-auto-hide-function): Add version tag.
15069 (Bug#9699)
15070
15071 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
15072
15073 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
15074 condition.
15075
15076 2011-10-09 Leo Liu <sdl.web@gmail.com>
15077
15078 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
15079 (Bug#9701)
15080
15081 2011-10-08 Glenn Morris <rgm@gnu.org>
15082
15083 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
15084 before the first code statement zero indent. (Bug#9690)
15085
15086 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
15087
15088 * simple.el (count-words-region): Always count in the region.
15089 Report the number of lines and characters too.
15090 (count-words): New command, which counts in the buffer if the
15091 region is inactive, as count-words-region used to.
15092 (count-words--message): New function. Handle plurals.
15093 (count-lines-region): Make it an alias for count-words-region.
15094
15095 * bindings.el (esc-map): Replace count-lines-region with
15096 count-words-region.
15097
15098 2011-10-08 Martin Rudalics <rudalics@gmx.at>
15099
15100 * window.el (window--delete): Delete dedicated frame
15101 unconditionally when argument KILL is non-nil. (Bug#9699)
15102 (switch-to-buffer): Fix doc-string typo.
15103
15104 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15105
15106 * eshell/eshell.el (eshell-command): Avoid using hooks.
15107
15108 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
15109
15110 * bindings.el ([M-left],[M-right]): Bind to left-word and
15111 right-word respectively.
15112
15113 2011-10-07 Glenn Morris <rgm@gnu.org>
15114
15115 * cus-start.el (debug-on-quit): Fix custom type.
15116
15117 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15118
15119 * subr.el (define-key-after): Clarify that the function is not
15120 useful for non-menu keymaps.
15121
15122 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
15123
15124 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15125
15126 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
15127 in current minibuffer (Fix bug with recursive minibuffers).
15128
15129 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
15130
15131 * progmodes/gdb-mi.el (gdb): Doc fix.
15132
15133 2011-10-05 Martin Rudalics <rudalics@gmx.at>
15134
15135 * window.el (frame-auto-hide-function): New option replacing
15136 frame-auto-delete. Suggested by Stefan Monnier.
15137 (window--delete): Call frame-auto-hide-function instead of
15138 investigating frame-auto-delete.
15139 (window-point-1, set-window-point-1): New functions.
15140 (window-in-direction, record-window-buffer, window-state-get-1)
15141 (display-buffer-record-window): Use window-point-1 instead of
15142 window-point.
15143 (set-window-buffer-start-and-point): Use set-window-point-1.
15144
15145 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
15146
15147 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
15148
15149 2011-10-05 Glenn Morris <rgm@gnu.org>
15150
15151 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
15152 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
15153
15154 2011-10-05 Leo Liu <sdl.web@gmail.com>
15155
15156 * subr.el (read-char-choice): Fix argument to buffer-live-p which
15157 works with buffer object.
15158
15159 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
15160
15161 * mpc.el (mpc-tool-bar-map): Add labels.
15162
15163 2011-10-04 Glenn Morris <rgm@gnu.org>
15164
15165 * calendar/holidays.el (calendar-check-holidays): Doc fix.
15166
15167 2011-10-04 Martin Rudalics <rudalics@gmx.at>
15168
15169 * window.el (window--delete): New function.
15170 (frame-auto-delete): Resuscitate option.
15171 (bury-buffer, replace-buffer-in-windows)
15172 (quit-window): Rewrite using window--delete.
15173 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
15174 Pass display-buffer-mark-dedicated to window--display-buffer-2
15175 (Bug#9639).
15176
15177 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
15178
15179 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
15180 returns a list (bug#9554). Add remote file name completion.
15181 * comint.el (comint--table-subvert): Curry and get quote&unquote
15182 functions as arguments.
15183 (comint--complete-file-name-data): Adjust call accordingly.
15184 * pcomplete.el (pcomplete--table-subvert): Remove.
15185 (pcomplete-completions-at-point): Use comint--table-subvert instead.
15186
15187 * minibuffer.el (completion-table-case-fold): Use currying.
15188 (completion--styles-type, completion--cycling-threshold-type):
15189 New constants.
15190 (completion-styles, completion-category-overrides)
15191 (completion-cycle-threshold): Use them.
15192 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
15193 completion-table-case-fold.
15194
15195 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
15196
15197 * minibuffer.el (completion-category-overrides): Fix type of styles
15198 and add more user friendly tags (bug#9660).
15199
15200 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
15201
15202 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
15203 (mule-input-method-string): New widget.
15204 (default-input-method, language-info-custom-alist): Use it.
15205
15206 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
15207
15208 * pcomplete.el: Require comint.
15209 (pcomplete--common-suffix): Remove.
15210 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
15211 (pcomplete--table-subvert): Sync with comint--table-subvert.
15212 (pcomplete--entries): Use comint-completion-file-name-table.
15213 * comint.el (comint-unquote-filename): Simplify.
15214 (comint-completion-file-name-table): New function (bug#9616).
15215 (comint--complete-file-name-data): Use it.
15216
15217 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
15218 (pcmpl-gnu-tar-buffer): Remove.
15219 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
15220 around. Make sure pcomplete-suffix-list is only changed temporarily.
15221 Don't look inside the tar's file if it's too large.
15222
15223 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
15224
15225 * cus-edit.el (custom-mode-map):
15226 * epa.el (epa-key-list-mode-map):
15227 * man.el (Man-mode-map):
15228 * startup.el (splash-screen-keymap):
15229 * simple.el (special-mode-map): Use scroll-up-command and
15230 scroll-down-command.
15231
15232 * progmodes/idlw-help.el (idlwave-help-mode-map):
15233 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
15234 * net/newst-plainview.el (newsticker-mode-map):
15235 * emulation/ws-mode.el (wordstar-mode-map):
15236 * emulation/vi.el (vi-com-map):
15237 * calc/calc-graph.el (calc-graph-show-dumb):
15238 * term/sun.el (terminal-init-sun):
15239 * term/ns-win.el (global-map):
15240 * progmodes/grep.el (grep-mode-map):
15241 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
15242 * mail/rmail.el (rmail-mode-map):
15243 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
15244
15245 * custom.el (custom-safe-themes, load-theme): Treat value of t for
15246 custom-safe-themes as special.
15247
15248 2011-10-01 Julien Danjou <julien@danjou.info>
15249
15250 * notifications.el (notifications-notify): Fix docstring.
15251
15252 2011-10-01 Per Starbäck <per@starback.se>
15253
15254 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
15255
15256 2011-09-30 Martin Rudalics <rudalics@gmx.at>
15257
15258 * startup.el (command-line-1): Fix last fix by inserting
15259 initial-scratch-message into *scratch* before displaying it.
15260 (Bug#9605) and (Bug#9636)
15261
15262 2011-09-29 Eli Zaretskii <eliz@gnu.org>
15263
15264 * simple.el (line-move): If auto-hscroll-mode is disabled and the
15265 window is hscrolled, move by logical lines. (Bug#9607)
15266 (line-move-visual): Update the doc string to the above effect.
15267
15268 2011-09-29 Martin Rudalics <rudalics@gmx.at>
15269
15270 * window.el (display-buffer-record-window): When WINDOW is the
15271 selected window use `point' instead of `window-point'. (Bug#9626)
15272
15273 * startup.el (command-line-1): Use insert-before-markers when
15274 inserting initial-scratch-message. (Bug#9605)
15275
15276 * help.el (help-window): Remove variable.
15277
15278 2011-09-29 Glenn Morris <rgm@gnu.org>
15279
15280 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
15281
15282 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
15283
15284 * descr-text.el (describe-char-categories): Accept category
15285 descriptions more than one line long.
15286
15287 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
15288
15289 * simple.el (delete-trailing-whitespace): Fix last change.
15290
15291 * progmodes/perl-mode.el (perl-syntax-propertize-function):
15292 Don't confuse "y => 3" as the beginning of a `y' operation.
15293
15294 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
15295 object has more than 4 slots (bug#9613).
15296
15297 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
15298
15299 * subr.el (with-output-to-temp-buffer):
15300 * net/quickurl.el (quickurl, quickurl-browse-url):
15301 Fix typos in docstrings.
15302
15303 2011-09-27 Eli Zaretskii <eliz@gnu.org>
15304
15305 * minibuffer.el (completion-styles)
15306 (completion-category-overrides): Cross reference each other in doc
15307 strings.
15308
15309 2011-09-27 Glenn Morris <rgm@gnu.org>
15310
15311 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
15312 to split-string. (Bug#9606)
15313
15314 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
15315
15316 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
15317 (bug#9615).
15318
15319 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
15320
15321 * emacs-lisp/package.el (list-packages): Fix echo area message.
15322
15323 2011-09-27 Leo Liu <sdl.web@gmail.com>
15324
15325 * ido.el (ido-read-internal): Accept cons cell HIST arg.
15326
15327 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
15328
15329 * net/dbus.el (dbus-unregister-object): Don't release services for
15330 registered signals. (Bug#9581)
15331
15332 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
15333
15334 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
15335 function that picks between cfengine 2 and 3 support
15336 automatically. Update docs accordingly.
15337
15338 2011-09-22 Kenichi Handa <handa@m17n.org>
15339
15340 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
15341 ZERO.
15342 (indian-itrans-v5-table-for-tamil): New variable.
15343 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
15344
15345 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
15346
15347 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
15348 that's true if the current command involved collapsing of text.
15349 It's reset to false at the beginning of the next command.
15350 (allout-post-command-business): Move the cursor to the beginning
15351 of entry if the cursor is hidden and collapsing activity just
15352 happened.
15353
15354 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
15355
15356 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
15357 tracking (Bug#9541).
15358
15359 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
15360
15361 * net/newst-reader.el (newsticker-html-renderer)
15362 (newsticker-show-news): Automatically load html rendering package
15363 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
15364 because w3m-fill-column is let-bound" and the error "Symbol's value
15365 as variable is void: w3m-fill-column".
15366
15367 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
15368
15369 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
15370 Release services only if they are defined. (Bug#9581)
15371
15372 2011-09-23 Richard Stallman <rms@gnu.org>
15373
15374 * textmodes/paragraphs.el (forward-sentence): For backwards case,
15375 distinguish start of paragraph from start of its text.
15376
15377 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
15378
15379 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
15380 (rmail-generate-viewer-buffer): Put that hook on view buffer.
15381 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
15382
15383 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
15384
15385 * international/mule-diag.el (mule-diag): Insert a newline after
15386 each fontset description.
15387
15388 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
15389
15390 * simple.el (delete-trailing-whitespace):
15391 Document last change; simplify.
15392
15393 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
15394
15395 * simple.el (delete-trailing-whitespace): Also delete
15396 extra newlines at the end of the buffer.
15397
15398 * textmodes/picture.el: Make motion commands obey shift-select-mode.
15399 (picture-newline): Use forward-line so as to ignore fields.
15400
15401 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
15402
15403 * subr.el (with-wrapper-hook): Fix edebug spec.
15404
15405 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
15406
15407 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
15408 (bug#4538).
15409
15410 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
15411
15412 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
15413 Fix nasty bug using wrong cached values.
15414
15415 2011-09-23 Alan Mackenzie <acm@muc.de>
15416
15417 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
15418
15419 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
15420
15421 * window.el (pop-to-buffer): Ensure right window is selected if we
15422 chose another frame.
15423
15424 2011-09-22 Eli Zaretskii <eliz@gnu.org>
15425
15426 * simple.el (what-cursor-position): Use get-char-property-change
15427 and next-single-char-property-change, to be able to show display
15428 properties that come from overlays as well as text properties.
15429
15430 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
15431
15432 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
15433
15434 * cmuscheme.el (run-scheme, switch-to-scheme):
15435 * cus-edit.el (customize-group, custom-buffer-create)
15436 (customize-browse):
15437 * info.el (info):
15438 * shell.el (shell):
15439 * mail/sendmail.el (mail):
15440 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
15441
15442 2011-09-22 Richard Stallman <rms@gnu.org>
15443
15444 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
15445 move back only to line beg, don't move back over blank lines.
15446
15447 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
15448
15449 * files.el (copy-directory): Set directory attributes only in case
15450 they could be retrieved from the source directory. (Bug#9565)
15451
15452 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
15453
15454 * progmodes/hideshow.el (hs-looking-at-block-start-p)
15455 (hs-find-block-beginning, hs-hide-level-recursive):
15456 Ignore strings as well as comments. (Bug#9502)
15457
15458 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
15459
15460 * progmodes/sql.el (sql-comint-postgres):
15461 Convert port number to a string. (Bug#9566)
15462
15463 2011-09-22 Martin Rudalics <rudalics@gmx.at>
15464
15465 * window.el (quit-window): Undedicate window when switching to
15466 previous buffer. Reported by Thierry Volpiatto
15467 <thierry.volpiatto@gmail.com>.
15468 (special-display-popup-frame): When popping up a new frame reset
15469 its previous buffers to nil. Simplify code.
15470
15471 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
15472
15473 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
15474 and process filter, as done also in `shell-command'.
15475
15476 2011-09-21 Martin Rudalics <rudalics@gmx.at>
15477
15478 * window.el (set-window-buffer-start-and-point):
15479 Call set-window-start with NOFORCE argument t.
15480 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
15481 (quit-window): Reword doc-string. Handle new format of
15482 quit-restore parameter. Don't delete window if it has a
15483 previous buffer we can show instead of the present one.
15484 (display-buffer-record-window): Rewrite using a new format for
15485 the quit-restore window parameter
15486 (special-display-popup-frame, display-buffer-same-window)
15487 (display-buffer-reuse-window, display-buffer-pop-up-frame)
15488 (display-buffer-pop-up-window, display-buffer-use-some-window):
15489 Adapt symbol passed to display-buffer-record-window.
15490 * help.el (help-window-setup): Handle new format of quit-restore
15491 parameter.
15492
15493 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
15494
15495 * faces.el (face-list): Fix docstring (bug#9564).
15496
15497 * window.el (display-buffer--action-function-custom-type):
15498 Don't include internal functions in the Custom interface.
15499
15500 2011-09-20 Juri Linkov <juri@jurta.org>
15501
15502 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
15503 (Info-forward-node, Info-backward-node, Info-next-preorder)
15504 (Info-last-preorder): Use it. (Bug#9528)
15505
15506 2011-09-20 Juri Linkov <juri@jurta.org>
15507
15508 * info.el (Info-last-preorder): Visit last menu item only when
15509 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
15510
15511 2011-09-20 Julien Danjou <julien@danjou.info>
15512
15513 * password-cache.el (password-cache-remove): Remove entries even if the
15514 value is nil, so that password with a nil value (negative caching) is
15515 possible to invalidate.
15516
15517 2011-09-20 Lawrence Mitchell <wence@gmx.li>
15518
15519 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
15520 all whitespace around breakpoint. (Bug#9553)
15521 (f90-find-breakpoint): Only break at whitespace inside a comment.
15522
15523 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
15524
15525 * minibuffer.el (completion-file-name-table): Keep track of errors.
15526 (completion-table-with-predicate): Handle the case where pred1 is nil.
15527 * pcomplete.el (pcomplete-completions-at-point): Simplify.
15528
15529 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
15530
15531 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
15532 (debugger-return-value): Signal an error if the debugging context does
15533 not await any return value.
15534
15535 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
15536 * image-mode.el (image-toggle-display-text)
15537 (image-toggle-display-image): Stay away from evil `intangible'.
15538
15539 2011-09-19 Leo Liu <sdl.web@gmail.com>
15540
15541 * replace.el (occur-revert-arguments): Make it permanent-local.
15542 (occur-mode): Don't call font-lock-defontify.
15543
15544 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
15545
15546 * net/ldap.el (ldap-search-internal): Don't push empty search
15547 result (Bug#9508).
15548
15549 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
15550
15551 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
15552
15553 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
15554
15555 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
15556 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
15557
15558 2011-09-18 Juri Linkov <juri@jurta.org>
15559
15560 * buff-menu.el (Buffer-menu-mode-map):
15561 * dired.el (dired-mode-map):
15562 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
15563 (lisp-interaction-mode-map):
15564 * emacs-lisp/package.el (package-menu-mode-map):
15565 * epa.el (epa-key-list-mode-map):
15566 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
15567 (menu-bar-options-menu):
15568 * outline.el (outline-mode-menu-bar-map):
15569 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
15570 * vc/vc-dir.el (vc-dir-menu-map):
15571 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
15572 Capitalize non-function content words in menu item strings.
15573
15574 * dired.el (dired-mode-map): Add menu item for
15575 `image-dired-dired-toggle-marked-thumbs'.
15576
15577 2011-09-18 Juri Linkov <juri@jurta.org>
15578
15579 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
15580 to `isearch-case-fold-search' and restore its original value
15581 after the `isearch-mode' call.
15582
15583 2011-09-18 Juri Linkov <juri@jurta.org>
15584
15585 * progmodes/grep.el (grep-process-setup): Don't check code for 1
15586 because `zgrep' returns 1 for successful matches (bug#9226).
15587
15588 2011-09-18 Juri Linkov <juri@jurta.org>
15589
15590 * info.el (Info-extract-menu-node-name): Check the second match
15591 for empty string (second test-case of bug#9528).
15592 (Info-last-preorder): Let-bind `Info-history' to nil to not add
15593 intermediate nodes to the history (first test-case of bug#9528).
15594
15595 2011-09-18 Juri Linkov <juri@jurta.org>
15596
15597 * info.el (Info-mode-syntax-table): New variable.
15598 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
15599
15600 2011-09-18 Juri Linkov <juri@jurta.org>
15601
15602 * info.el (Info-file-supports-index-cookies):
15603 Increment line-beginning-position's arg from 3 to 4 because makeinfo
15604 outputs one more line for long file names (bug#4142).
15605
15606 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
15607
15608 * newcomment.el (comment-normalize-vars): If prompting for
15609 comment-start, set comment-start-skip too (Bug#8424).
15610
15611 2011-09-18 Johan Bockgård <bojohan@gnu.org>
15612
15613 * icomplete.el: Fix previous fix of Bug#5849.
15614 (icomplete-mode): Don't set completion-show-inline-help.
15615 (icomplete-minibuffer-setup): Set completion-show-inline-help
15616 locally during icompletion.
15617
15618 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
15619
15620 * woman.el (woman2-process-escapes): Don't delete unrecognized
15621 escapes (Bug#7843).
15622
15623 * files.el (inhibit-first-line-modes-regexps): Add image files.
15624 (hack-local-variables-prop-line): Return nil for malformed
15625 prop-lines (Bug#9044).
15626
15627 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
15628
15629 * net/tramp.el (top): Don't require 'shell.
15630 (tramp-methods): Fix docstring.
15631 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
15632 Return complete remote file name. Handle "smb" case.
15633 Use `tramp-tmpdir', if defined for the respective method.
15634 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
15635
15636 * net/tramp-compat.el (top): Require 'shell.
15637
15638 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
15639 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
15640 `tramp-current-host'.
15641 (tramp-get-remote-tmpdir): Remove.
15642
15643 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
15644 `tramp-tmpdir' entries.
15645 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
15646 (tramp-smb-handle-file-attributes): Ignore errors.
15647 (tramp-smb-wait-for-output): Check also for process end.
15648
15649 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
15650
15651 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
15652 when sending QUIT (bug#9312).
15653
15654 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
15655
15656 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
15657 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
15658 occur-mode-display-occurrence.
15659 (occur-edit-mode): Add usage message.
15660 (occur-cease-edit): New command.
15661 (occur-after-change-function): Use text properties to find the
15662 position of the prefix text.
15663 (occur-engine): Set stickiness of prefix text properties.
15664
15665 2011-09-17 Glenn Morris <rgm@gnu.org>
15666
15667 * progmodes/etags.el (complete-tag):
15668 Fix call to completion-in-region. (Bug#9526)
15669
15670 2011-09-17 Juri Linkov <juri@jurta.org>
15671
15672 * textmodes/ispell.el (ispell-word): Add to the error message
15673 the word, ispell program name and current dictionary (bug#9121).
15674 (ispell-tex-arg-end): Capitalize "error" in the error message.
15675
15676 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
15677
15678 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
15679 check. (Bug#4251)
15680
15681 2011-09-17 Juri Linkov <juri@jurta.org>
15682
15683 * window.el (window-safe-min-height, window-safe-min-width):
15684 Fix typos (followup to bug#9522).
15685
15686 2011-09-17 Sven Joachim <svenjoac@gmx.de>
15687
15688 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
15689
15690 2011-09-16 Eli Zaretskii <eliz@gnu.org>
15691
15692 * simple.el (line-move): If goal-column is set, move by logical
15693 lines, not by display lines. (Bug#971)
15694 (next-line, previous-line, goal-column, line-move-visual): Doc fix
15695 to reflect the above change.
15696
15697 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
15698
15699 * image.el (imagemagick-register-types): Use regexp-opt.
15700
15701 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
15702
15703 * window.el (display-buffer-base-action): Rename from
15704 display-buffer-default-action. Make default value empty.
15705 (display-buffer-overriding-action): Convert to defvar.
15706 (display-buffer-fallback-action): New var.
15707
15708 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
15709
15710 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
15711 declaration.
15712 (package--add-to-archive-contents): If there is a duplicate entry
15713 with an older version, remove it.
15714 (package-menu-mark-delete, package-menu-mark-install)
15715 (package-menu-mark-unmark): Make unused args optional.
15716 (package-menu-mark-obsolete-for-deletion):
15717 Use package-menu-get-status instead of a regexp search.
15718 (package-menu-get-status): Use tabulated-list-entry.
15719 (package-menu-mark-upgrades): New command.
15720 (package-menu-mode-map): Bind it to U. Add it to menu bar.
15721 (package-menu-execute): Do installation before deletion.
15722 (package-menu-refresh, package-menu-execute): Use derived-mode-p
15723 instead of checking major-mode.
15724 (package-menu--find-upgrades): New function.
15725
15726 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15727
15728 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
15729 passwords in the log buffer.
15730 (smtpmail-process-filter): Update the process marker so that the
15731 "broken by peer" status message is inserted in the right place.
15732
15733 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
15734
15735 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
15736 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
15737 bibtex-completion-at-point-function.
15738 (bibtex-completion-at-point-function): Use them.
15739
15740 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
15741
15742 * mpc.el (mpc-constraints-tag-lookup): New function.
15743 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
15744 also to browser "album|playlist".
15745
15746 2011-09-14 Juri Linkov <juri@jurta.org>
15747
15748 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
15749 (isearch-edit-string): Use length of `isearch-string' when
15750 `isearch-fail-pos' returns nil.
15751 (isearch-message): Remove duplicate code and call
15752 `isearch-fail-pos' with arg `t'.
15753
15754 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
15755
15756 * replace.el (occur-mode-goto-occurrence): Don't force using other
15757 window (Bug#9499).
15758
15759 * dired-aux.el (dired-do-chmod): Don't provide initial input.
15760
15761 2011-09-14 Martin Rudalics <rudalics@gmx.at>
15762
15763 * window.el (display-buffer-window): Remove.
15764 (display-buffer-record-window): Use help-setup window parameter
15765 instead of variable display-buffer-window.
15766 (display-buffer-function, special-display-buffer-names)
15767 (special-display-function): Mention help-setup parameter instead
15768 of display-buffer-window in doc-string.
15769 * help.el (help-window-setup): New argument help-window.
15770 Use help-window-setup parameter instead of display-buffer-window.
15771 Reword some messages.
15772 (with-help-window): Pass window used for displaying the buffer
15773 to help-window-setup. Don't set display-buffer-window.
15774
15775 2011-09-13 Glenn Morris <rgm@gnu.org>
15776
15777 * emacs-lisp/debug.el (debugger-make-xrefs):
15778 Preserve point. (Bug#9462)
15779
15780 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
15781
15782 * window.el (window-deletable-p): Use next-frame.
15783
15784 2011-09-13 Martin Rudalics <rudalics@gmx.at>
15785
15786 * window.el (window-auto-delete): Remove.
15787 (window-deletable-p): Remove argument FORCE. Don't deal with
15788 dedication and previous buffers.
15789 (switch-to-prev-buffer): Don't delete window.
15790 (delete-windows-on): Delete a window's frame if and only if the
15791 window is dedicated.
15792 (replace-buffer-in-windows): Delete buffer's window or frame if
15793 and only if window is dedicated.
15794 (quit-window): Handle quit-restore as before last change.
15795 (bury-buffer): Delete window only if window-deletable-p returns t.
15796
15797 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
15798
15799 * window.el (window-deletable-p): Never delete the last frame on a
15800 given terminal.
15801
15802 2011-09-13 Glenn Morris <rgm@gnu.org>
15803
15804 * help.el (describe-key-briefly): Copy previous standard-output change.
15805
15806 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
15807
15808 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
15809
15810 2011-09-13 Glenn Morris <rgm@gnu.org>
15811
15812 * emacs-lisp/lisp-mode.el (lisp-indent-function):
15813 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
15814
15815 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
15816
15817 * dired-aux.el (dired-mark-read-string): Don't return default
15818 value on empty input (Bug#9361).
15819 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
15820 Omit initial minibuffer contents.
15821 (dired-do-chmod): Signal an error on empty input.
15822 (dired-mark-read-string): Don't return default on empty input.
15823
15824 * files.el (file-modes-symbolic-to-number): Doc fix.
15825
15826 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
15827
15828 * international/mule-cmds.el (ucs-completions): Remove.
15829 (read-char-by-name): Use complete-with-action instead; add metadata.
15830
15831 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
15832
15833 * window.el (display-buffer--action-function-custom-type)
15834 (display-buffer--action-custom-type): New vars.
15835 (display-buffer-alist, display-buffer-default-action)
15836 (display-buffer-overriding-action): Add defcustom types.
15837
15838 * frame.el (delete-other-frames): Doc fix (Bug#276).
15839
15840 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15841
15842 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
15843
15844 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
15845
15846 Change modes that used same-window-* vars to use switch-to-buffer.
15847
15848 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
15849 Use switch-to-buffer.
15850
15851 * cus-edit.el (customize-group, custom-buffer-create)
15852 (customize-browse, custom-buffer-create-other-window):
15853 Use switch-to-buffer or switch-to-buffer-other-window.
15854
15855 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
15856 (Info-prev, Info-up, Info-speedbar-goto-node)
15857 (info-display-manual): Use switch-to-buffer.
15858 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
15859
15860 * mail/sendmail.el (mail): Use switch-to-buffer.
15861 (mail-recover): Use switch-to-buffer-other-window.
15862
15863 * cmuscheme.el (run-scheme, switch-to-scheme):
15864 * ielm.el (ielm):
15865 * shell.el (shell):
15866 * net/rlogin.el (rlogin):
15867 * net/telnet.el (telnet, rsh):
15868 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
15869
15870 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
15871
15872 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
15873
15874 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15875
15876 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
15877 so don't mention it (bug#9301).
15878 (dired-sort-toggle-or-edit): Clarify string further.
15879
15880 * faces.el (face-spec-set-match-display): Make `(type graphic)'
15881 match `x', `w32' and `ns', like the manual says (bug#9029).
15882
15883 * subr.el (eval-after-load): Doc string clarification (bug#9125).
15884 (process-kill-buffer-query-function): Mention the buffer name in
15885 the query.
15886
15887 * image-mode.el (image-next-line): The line parameter is mandatory
15888 (bug#9258).
15889
15890 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
15891 which can be useful (bug#9301).
15892
15893 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
15894
15895 * subr.el (match-string): Mention that the current buffer should
15896 be the same as the search was done in (bug#9282).
15897
15898 * facemenu.el: Disable the remove-* commands if the mark isn't
15899 active (bug#9162).
15900
15901 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
15902
15903 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
15904 of display-buffer.
15905 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
15906
15907 * replace.el (occur-mode-goto-occurrence)
15908 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
15909 and display-buffer.
15910
15911 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
15912 display-buffer.
15913
15914 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
15915 special-display and same-window variables.
15916 (mail-other-window): Use switch-to-buffer-other-window.
15917 (mail-other-frame): USe switch-to-buffer-other-frame.
15918
15919 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
15920 Use display-buffer-other-frame.
15921 (gdb-display-gdb-buffer): Use pop-to-buffer.
15922
15923 * progmodes/gud.el (gud-goto-info): Use info-other-window.
15924
15925 * progmodes/python.el: Don't set same-window-buffer-names.
15926
15927 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
15928
15929 * window.el (display-buffer-alist): Add *Python*.
15930
15931 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
15932
15933 * window.el (display-buffer-alist): Add entry for buffers
15934 previously handled same-window-*.
15935 (display-buffer-alist, display-buffer-default-action)
15936 (display-buffer-overriding-action): Mark as risky.
15937 (display-buffer-alist): Document action function changes.
15938 (display-buffer--same-window-action)
15939 (display-buffer--other-frame-action): New variables.
15940 (switch-to-buffer, display-buffer-other-frame): Use them.
15941 (display-buffer): Rename reuse-frame entry to reusable-frames.
15942 (display-buffer-reuse-selected-window): Function deleted.
15943 (display-buffer-reuse-window): Handle reusable-frames alist entry.
15944 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
15945 (display-buffer-special): New function.
15946 (display-buffer--maybe-pop-up-frame-or-window): Rename from
15947 display-buffer-reuse-or-pop-window. Split off special-display
15948 part into display-buffer-special.
15949 (display-buffer-use-some-window): Don't perform any special
15950 pop-up-frames handling.
15951 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
15952 (display-buffer--maybe-same-window): Rename from
15953 display-buffer-maybe-same-window.
15954
15955 * info.el: Don't set same-window-regexps.
15956 (info-setup): New function.
15957 (info-other-window, info): Call it.
15958
15959 * cus-edit.el: Don't set same-window-regexps.
15960 (customize-group): New argument.
15961 (customize-group-other-window): Use it.
15962 (customize-face, customize-face-other-window): Likewise.
15963 (custom-buffer-create-other-window): Use pop-to-buffer directly.
15964
15965 * net/rlogin.el:
15966 * net/telnet.el:
15967 * progmodes/gud.el: Don't set same-window-regexps.
15968
15969 * cmuscheme.el:
15970 * ielm.el:
15971 * shell.el:
15972 * mail/sendmail.el:
15973 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
15974
15975 2011-09-10 Juri Linkov <juri@jurta.org>
15976
15977 * isearch.el (isearch-edit-string): Remove obsolete mention of
15978 `C-w' (`isearch-yank-word-or-char') from docstring.
15979 (isearch-query-replace): Fix typo in docstring (bug#9466).
15980
15981 2011-09-10 Juri Linkov <juri@jurta.org>
15982
15983 * paren.el (show-paren-function): Don't show escaped parens.
15984 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
15985
15986 2011-09-10 Eli Zaretskii <eliz@gnu.org>
15987
15988 * mail/sendmail.el (mml-to-mime, mml-attach-file)
15989 (mm-default-file-encoding): Remove autoload forms, they are
15990 replaced with autoload cookies in mml.el and mm-encode.el.
15991 (mail-add-attachment): New command.
15992 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
15993 (mail-mode): Mention mail-insert-file and mail-add-attachment in
15994 the doc string.
15995 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
15996
15997 2011-09-10 Reuben Thomas <rrt@sc3d.org>
15998
15999 * simple.el (count-words-region): Use buffer if there's no region
16000 (bug#9429).
16001
16002 2011-09-09 Juri Linkov <juri@jurta.org>
16003
16004 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
16005 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
16006 (wdired-isearch-filter-read-only): New function. (Bug#6362)
16007
16008 2011-09-09 Alan Mackenzie <acm@muc.de>
16009
16010 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
16011 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
16012
16013 2011-09-09 Eli Zaretskii <eliz@gnu.org>
16014
16015 Fix for Savannah bug#9392.
16016 * simple.el (mail-encode-mml): New defvar.
16017
16018 * mail/rmail.el (mail-encode-mml): Add a defvar.
16019 (rmail-enable-mime-composing): Default to t.
16020 (rmail-forward): Use MIME method of forwarding only if both
16021 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
16022 Set mail-encode-mml non-nil if the MIME method was used.
16023
16024 * mail/sendmail.el (mml-to-mime): Add autoload form.
16025 (mail-encode-mml): Add a defvar.
16026 (mail-mode): Make mail-encode-mml buffer-local and initialize it
16027 to nil.
16028 (mail-send): If mail-encode-mml is non-nil, run the outgoing
16029 message through mml-to-mime, and reset mail-encode-mml to nil.
16030
16031 2011-09-09 Glenn Morris <rgm@gnu.org>
16032
16033 * woman.el (woman-if-body): When processing an .el block,
16034 do not delete the next .el block as well. (Bug#9447)
16035 (woman-special-characters): Add oq, cq, and hy characters.
16036
16037 2011-09-08 Martin Rudalics <rudalics@gmx.at>
16038
16039 * window.el (window-deletable-p): Make sure window is live before
16040 invoking window-prev-buffers.
16041
16042 2011-09-08 Leo Liu <sdl.web@gmail.com>
16043
16044 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
16045
16046 2011-09-08 Juri Linkov <juri@jurta.org>
16047
16048 * progmodes/compile.el (compilation-environment): Make it
16049 a defcustom (bug#8340).
16050
16051 2011-09-08 Martin Rudalics <rudalics@gmx.at>
16052
16053 * window.el (frame-auto-delete): Rename to window-auto-delete.
16054 Make it control auto-deletion of windows and/or frames.
16055 (window-deletable-p): New argument FORCE. Rewrite conditions
16056 for deleting window/frame. (Bug#9419)
16057 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
16058 Rewrite handling of case when window/frame can be deleted.
16059 (delete-windows-on): Call window-deletable-p with new FORCE
16060 argument t. (Bug#9456)
16061
16062 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
16063
16064 * help-mode.el (help-mode): Restore autoload.
16065
16066 2011-09-07 Juri Linkov <juri@jurta.org>
16067
16068 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
16069 `compilation-environment'. Set buffer-local
16070 `compilation-environment' to `thisenv' later after (funcall mode).
16071 (Bug#8340)
16072
16073 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
16074 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
16075 instead of replacing its value. (Bug#8340)
16076
16077 2011-09-07 Juri Linkov <juri@jurta.org>
16078
16079 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
16080 based on text properties put by `grep-filter' instead of matching
16081 escape sequences.
16082 (grep-mode): Set buffer-local `compilation-error-screen-columns'
16083 to the value of `grep-error-screen-columns' (bug#9438).
16084
16085 2011-09-07 Juri Linkov <juri@jurta.org>
16086
16087 * simple.el (next-error-highlight, next-error-highlight-no-select):
16088 Doc fix (bug#9432).
16089
16090 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
16091
16092 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
16093 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
16094
16095 2011-09-07 Leo Liu <sdl.web@gmail.com>
16096
16097 * net/rcirc.el (rcirc-mode): Conditionally initialize
16098 rcirc-input-ring.
16099
16100 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
16101
16102 * emacs-lisp/find-func.el (find-function-C-source): Only set
16103 find-function-C-source-directory after checking that we found a source
16104 file there (bug#9440).
16105
16106 2011-09-06 Alan Mackenzie <acm@muc.de>
16107
16108 * isearch.el (isearch-other-meta-char): Wherever a key list is
16109 unread, "unread" the prefix arg, too. This fixes bug #8901.
16110
16111 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
16112
16113 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
16114
16115 2011-09-05 Juri Linkov <juri@jurta.org>
16116
16117 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
16118
16119 2011-09-05 Juri Linkov <juri@jurta.org>
16120
16121 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
16122 keeping point where processing of grep matches begins, and
16123 continue to delete remaining escape sequences from the same point.
16124 (grep-filter): Make leading zero optional in "0?1;31m" because
16125 git-grep emits "\033[1;31m" escape sequences unlike expected
16126 "\033[01;31m" as GNU Grep does (bug#9408).
16127 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
16128
16129 2011-09-05 Juri Linkov <juri@jurta.org>
16130
16131 * subr.el (y-or-n-p): Capitalize "yes".
16132
16133 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
16134
16135 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
16136 `tramp-cache-unload-hook' where appropriate.
16137 (tramp-methods): Rename `tramp-remote-sh' to
16138 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
16139 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
16140
16141 * net/tramp-sh.el (top): Don't require 'shell.
16142 (tramp-methods): Add `tramp-remote-shell' and
16143 `tramp-remote-shell-args' entries.
16144 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
16145 (tramp-sh-handle-shell-command): Remove.
16146 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
16147 Use `tramp-remote-shell'.
16148
16149 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
16150
16151 * mail/sendmail.el (sendmail-query-once-function): Delete.
16152 (sendmail-query-once): Save directly to send-mail-function.
16153 Update message-send-mail-function too.
16154
16155 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
16156
16157 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
16158
16159 * progmodes/python.el (python-mode-map): Use correct function to
16160 start python interpreter from menu-bar (as reported by Geert
16161 Kloosterman).
16162 (inferior-python-mode-map): Fix typo.
16163 (python-shell-map): Remove.
16164
16165 2011-09-03 Deniz Dogan <deniz@dogan.se>
16166
16167 * net/rcirc.el (rcirc-print): Simplify code for
16168 rcirc-scroll-show-maximum-output. There is no need to walk
16169 through all windows to find the right one.
16170
16171 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
16172
16173 * help.el (help-return-method): Doc fix.
16174
16175 2011-09-03 Martin Rudalics <rudalics@gmx.at>
16176
16177 * window.el (window-deletable-p): Don't return a non-nil value
16178 when there's a buffer that was shown in the window before.
16179 (Bug#9419)
16180 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
16181 Set window's previous buffers to nil.
16182
16183 2011-09-03 Eli Zaretskii <eliz@gnu.org>
16184
16185 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
16186 newline before and after the tag line, so it doesn't interfere
16187 with determining the paragraph direction of bidirectional text.
16188
16189 2011-09-03 Leo Liu <sdl.web@gmail.com>
16190
16191 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
16192
16193 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
16194
16195 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
16196 (pop-to-buffer): Change interactive spec. Pass second argument
16197 directly to display-buffer.
16198 (display-buffer): Fix interactive spec. Use functionp to
16199 distinguish between a function and a list of functions.
16200
16201 * abbrev.el (edit-abbrevs):
16202 * arc-mode.el (archive-extract):
16203 * autoinsert.el (auto-insert):
16204 * bookmark.el (bookmark-bmenu-list):
16205 * files.el (find-file):
16206 * view.el (view-buffer):
16207 * progmodes/compile.el (compilation-goto-locus):
16208 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
16209
16210 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
16211
16212 * window.el (display-buffer-alist): Doc fix.
16213 (display-buffer): Add docstring. Don't treat
16214 display-buffer-default specially.
16215 (display-buffer-reuse-selected-window)
16216 (display-buffer-same-window, display-buffer-maybe-same-window)
16217 (display-buffer-reuse-window, display-buffer-pop-up-frame)
16218 (display-buffer-pop-up-window)
16219 (display-buffer-reuse-or-pop-window)
16220 (display-buffer-use-some-window): New functions.
16221 (display-buffer-default-action): Use them.
16222 (display-buffer-default): Delete.
16223 (pop-to-buffer-1): Fix choice of actions.
16224
16225 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
16226
16227 * minibuffer.el (completion--insert-strings): Don't get confused by
16228 completion entries that end with an LF char.
16229
16230 2011-09-01 Eli Zaretskii <eliz@gnu.org>
16231
16232 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
16233
16234 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
16235
16236 * window.el (display-buffer): Restore interactive spec.
16237 (display-buffer-same-window, display-buffer-other-window):
16238 New functions.
16239 (pop-to-buffer-1): New function. Use the above.
16240 (pop-to-buffer, pop-to-buffer-same-window): Use it.
16241 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
16242
16243 * view.el (view-buffer-other-window, view-buffer-other-frame):
16244 Just use pop-to-buffer.
16245
16246 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16247
16248 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
16249
16250 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
16251
16252 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
16253
16254 2011-08-31 Richard Stallman <rms@gnu.org>
16255
16256 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
16257 of the separation of rmail-view-buffer from rmail-buffer.
16258 If you say no to "replace original", the decrypt is in the
16259 view buffer. If you say yes, the decrypt goes into the
16260 rmail buffer also.
16261
16262 2011-08-31 Martin Rudalics <rudalics@gmx.at>
16263
16264 * window.el (display-buffer-window): Rewrite doc-string.
16265 (display-buffer-record-window): New function.
16266 (display-buffer-macro-specifiers)
16267 (display-buffer-even-window-sizes, display-buffer-set-height)
16268 (display-buffer-set-width, display-buffer-in-window)
16269 (display-buffer-reuse-window, display-buffer-split-specifiers)
16270 (display-buffer-side-specifiers, display-buffer-split-window-1)
16271 (display-buffer-split-window, display-buffer-split-atom-window)
16272 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
16273 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
16274 (display-buffer-other-window-means-other-frame)
16275 (display-buffer-normalize-special)
16276 (display-buffer-normalize-default)
16277 (display-buffer-normalize-argument)
16278 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
16279 (display-buffer-normalize-specifiers, display-buffer-frame)
16280 (display-buffer-same-window, display-buffer-same-frame)
16281 (display-buffer-other-window)
16282 (display-buffer-same-frame-other-window)
16283 (display-buffer-other-frame, pop-to-buffer-same-window)
16284 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
16285 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
16286 (switch-to-buffer-same-frame)
16287 (switch-to-buffer-other-window-same-frame)
16288 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
16289 (display-buffer-alist-set-1, display-buffer-alist-set-2)
16290 (display-buffer-alist-set): Remove.
16291 (display-buffer-function, special-display-buffer-names)
16292 (special-display-regexps, special-display-function):
16293 In doc-string refer to display-buffer-window and quit-restore
16294 parameter.
16295 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
16296 (special-display-frame-alist, special-display-popup-frame)
16297 (same-window-buffer-names, same-window-regexps, same-window-p)
16298 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16299 (split-window-preferred-function, split-height-threshold)
16300 (split-width-threshold, window-splittable-p)
16301 (split-window-sensibly, window--try-to-split-window)
16302 (window--frame-usable-p, even-window-heights)
16303 (window--even-window-heights, window--display-buffer-1)
16304 (window--display-buffer-2, display-buffer-other-frame):
16305 Restore old Emacs 23 code, order and doc-strings where applicable.
16306 (display-buffer-default, display-buffer-assq-regexp): New functions.
16307 (display-buffer-alist): Rewrite doc-string.
16308 (display-buffer-default-action)
16309 (display-buffer-overriding-action): New variables.
16310 (display-buffer, switch-to-buffer): Rewrite.
16311 (pop-to-buffer): Restore Emacs 23 behavior but use
16312 window-normalize-buffer-to-display.
16313 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
16314 Restore Emacs 23 behavior but use
16315 window-normalize-buffer-to-switch-to.
16316 (pop-to-buffer-same-window): Rewrite.
16317 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
16318 Rewrite using Emacs 23 options.
16319
16320 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
16321
16322 * net/tramp.el (tramp-root-regexp): Remove.
16323 (tramp-completion-file-name-regexp-unified)
16324 (tramp-completion-file-name-regexp-separate)
16325 (tramp-completion-file-name-regexp-url): Don't use leading volume
16326 letter on w32 systems. (Bug#5303, Bug#9311)
16327 (tramp-drop-volume-letter): Simplify definition.
16328 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
16329
16330 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
16331
16332 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
16333 (bug#9356).
16334
16335 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
16336
16337 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
16338
16339 2011-08-29 Juri Linkov <juri@jurta.org>
16340
16341 * isearch.el (isearch-done): Don't display message "Mark saved"
16342 when arg `edit' is non-nil to prevent its flicker in the echo area.
16343
16344 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
16345
16346 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
16347 obsolete packages for deletion.
16348
16349 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
16350
16351 * help-mode.el (help-mode-map): Add special-mode-map to parent.
16352 (help-mode): Derive help-mode from special-mode. Don't invoke
16353 view-mode from help-mode.
16354 (help-xref-override-view-map): Remove.
16355 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
16356 view-mode is not used anymore.
16357
16358 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
16359
16360 * server.el (server-port): Doc fix.
16361
16362 * cus-theme.el (custom-theme-choose-mode): Inherit from
16363 special-mode (Bug#9124).
16364 (custom-theme-choose-mode-map): Add special-mode to parent.
16365
16366 2011-08-28 Alan Mackenzie <acm@muc.de>
16367
16368 * progmodes/cc-fonts.el
16369 (c-make-font-lock-BO-decl-search-function): New function.
16370 (c-basic-matchers-after - "Fontify the clauses after various
16371 keywords"): Extract the three keyword lists for the 3 erroneous
16372 constructs from the list of four, and use the new function above
16373 in place of an old one.
16374
16375 2011-08-28 Deniz Dogan <deniz@dogan.se>
16376
16377 * net/rcirc.el (rcirc-insert-prev-input)
16378 (rcirc-insert-next-input): Remove unused argument.
16379
16380 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
16381
16382 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
16383
16384 2011-08-27 Alan Mackenzie <acm@muc.de>
16385
16386 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
16387 handle function pointer parameters properly.
16388
16389 2011-08-27 Martin Rudalics <rudalics@gmx.at>
16390
16391 * window.el (display-buffer-reuse-window): Fix case where
16392 selected window was reused with non-nil OTHER-WINDOW argument.
16393 (Bug#9381)
16394
16395 2011-08-27 Deniz Dogan <deniz@dogan.se>
16396
16397 * net/rcirc.el (rcirc-check-auth-status): Adding support for
16398 oftc's NickServ messages.
16399
16400 2011-08-27 Glenn Morris <rgm@gnu.org>
16401
16402 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
16403
16404 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
16405
16406 * emacs-lisp/package.el (package-install): Call package-initialize
16407 if called interactively.
16408
16409 2011-08-26 Leo Liu <sdl.web@gmail.com>
16410
16411 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
16412
16413 2011-08-25 Juri Linkov <juri@jurta.org>
16414
16415 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
16416 `search-whitespace-regexp' (bug#9364).
16417
16418 2011-08-25 Juri Linkov <juri@jurta.org>
16419
16420 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
16421 `regexp-search-ring' to their global values to protect from
16422 updating by `read-from-minibuffer' (bug#9185).
16423
16424 2011-08-25 Juri Linkov <juri@jurta.org>
16425
16426 * textmodes/ispell.el (ispell-command-loop): Add newline
16427 at the end of the "Use option `i'..." line.
16428
16429 2011-08-25 Juri Linkov <juri@jurta.org>
16430
16431 * battery.el (display-battery-mode): If `battery-status-function'
16432 or `battery-mode-line-format' is nil, display the message and set
16433 `display-battery-mode' to nil (bug#9363).
16434
16435 2011-08-25 Eli Zaretskii <eliz@gnu.org>
16436
16437 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
16438 bidi-string-mark-left-to-right; they are unnecessary now.
16439
16440 2011-08-25 Deniz Dogan <deniz@dogan.se>
16441
16442 * net/quickurl.el: Documentation typo fixes.
16443
16444 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
16445
16446 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
16447
16448 2011-08-25 Glenn Morris <rgm@gnu.org>
16449
16450 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
16451
16452 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
16453 (smtpmail-via-smtp): Handle nil response from smtp.
16454
16455 2011-08-24 Juri Linkov <juri@jurta.org>
16456
16457 * proced.el (proced-marked): Inherit from `error' instead of
16458 `font-lock-warning-face'.
16459
16460 * ibuffer.el (ibuffer-marked-face): Change default face from
16461 `font-lock-warning-face' to `warning'.
16462 (ibuffer-deletion-face): Change default face from
16463 `font-lock-type-face' to `error'.
16464
16465 * battery.el (battery-update): Use the face `error' instead of
16466 `font-lock-warning-face' (bug#6117).
16467
16468 2011-08-24 Juri Linkov <juri@jurta.org>
16469
16470 * faces.el (success): Change face color from "Green3" to
16471 "ForestGreen" on light background (bug#9353).
16472
16473 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
16474
16475 * window.el (quit-window): Rename from quit-restore-window.
16476 Use same arglist as old quit-window.
16477 (frame-auto-delete): Doc fix.
16478
16479 * view.el (view-mode-exit): Use quit-window.
16480
16481 2011-08-24 Juri Linkov <juri@jurta.org>
16482
16483 * isearch.el (isearch-ring-adjust1): Start visiting previous
16484 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
16485 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
16486 for empty search string (when the last search string is reused
16487 automatically) to adjust the isearch ring to the last element and
16488 prepare the correct index for further M-p commands (bug#9185).
16489
16490 2011-08-24 Kenichi Handa <handa@m17n.org>
16491
16492 * international/ucs-normalize.el: If decomposition property of
16493 CHAR is the default one (i.e. a list of CHAR itself), treat it as
16494 nil.
16495 (nfd, nfkd): Likewise.
16496
16497 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
16498
16499 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
16500 from process filters aren't reliably transmitted to the surrounding
16501 accept-process-output.
16502 (mpc-proc-check): New function.
16503 (mpc-proc-sync): Use it (bug#8293)
16504
16505 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
16506
16507 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
16508 Add compatibility functions (bug#9313).
16509
16510 2011-08-23 Eli Zaretskii <eliz@gnu.org>
16511
16512 * cus-start.el (all): Add entry for bidi-paragraph-direction.
16513
16514 * international/uni-bidi.el: Regenerate.
16515
16516 2011-08-23 Kenichi Handa <handa@m17n.org>
16517
16518 * international/charprop.el:
16519 * international/uni-bidi.el:
16520 * international/uni-category.el:
16521 * international/uni-combining.el:
16522 * international/uni-comment.el:
16523 * international/uni-decimal.el:
16524 * international/uni-decomposition.el:
16525 * international/uni-digit.el:
16526 * international/uni-lowercase.el:
16527 * international/uni-mirrored.el:
16528 * international/uni-name.el:
16529 * international/uni-numeric.el:
16530 * international/uni-old-name.el:
16531 * international/uni-titlecase.el:
16532 * international/uni-uppercase.el: Regenerate.
16533
16534 2011-08-23 Martin Rudalics <rudalics@gmx.at>
16535
16536 * help.el (help-window-setup): Fix message displayed when other
16537 window is reused. (Bug#9341)
16538
16539 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
16540
16541 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
16542 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
16543
16544 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
16545 Mark obsolete.
16546 * shell.el (shell-parse-pcomplete-arguments): New function.
16547 (shell-completion-vars): Use it instead (bug#9160).
16548
16549 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
16550
16551 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
16552 strings and comments (bug#9333).
16553
16554 * emacs-lisp/debug.el (debug-arglist): New function.
16555 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
16556 (debug-on-entry-1): Handle interpreted closures (bug#9120).
16557
16558 2011-08-22 Juri Linkov <juri@jurta.org>
16559
16560 * progmodes/compile.el (compilation-mode-font-lock-keywords):
16561 Revert regexp that highlights output switches to its old
16562 pre-2010-10-28 value and remove one `?' from it (bug#9319).
16563
16564 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
16565 to check for empty output (bug#9226).
16566
16567 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
16568
16569 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
16570 symbol-constituent as the default, as that stops font-lock from
16571 working properly (Bug#8843).
16572
16573 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16574
16575 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
16576 `coding-system-for-*' around the process open call to avoid
16577 auth-source side effects.
16578 (smtpmail-try-auth-methods): Expand the secret password.
16579 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
16580 probe hangs.
16581
16582 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
16583
16584 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
16585
16586 * emacs-lisp/find-func.el (find-function-noselect): New arg
16587 lisp-only.
16588
16589 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
16590 signal an error for built-in functions (Bug#6664).
16591
16592 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16593
16594 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
16595 (smtpmail-try-auth-methods): Use it.
16596
16597 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
16598
16599 * font-lock.el (font-lock-fontify-region)
16600 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
16601 (font-lock-default-unfontify-buffer)
16602 (font-lock-default-fontify-region)
16603 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
16604
16605 * progmodes/compile.el (compilation-error-properties):
16606 Fix confusion between file struct and message struct (Bug#9319).
16607 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
16608 `ant' regexp.
16609
16610 * net/browse-url.el (browse-url-firefox): Don't call
16611 browse-url-firefox-sentinel unless using -remote (Bug#9328).
16612
16613 2011-08-20 Glenn Morris <rgm@gnu.org>
16614
16615 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
16616
16617 * tutorial.el (tutorial--default-keys): Update some default bindings.
16618
16619 * files.el (hack-local-variables): Fully ignore case for "mode:".
16620
16621 2011-08-20 Alan Mackenzie <acm@muc.de>
16622
16623 Resolve invalid use of a regexp in regexp-opt.
16624
16625 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
16626 detection for a java annotation.
16627
16628 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
16629 detection for a java annotation.
16630
16631 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
16632 handling for java.
16633 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
16634
16635 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
16636
16637 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
16638 (Bug#9274).
16639
16640 2011-08-20 Alan Mackenzie <acm@muc.de>
16641
16642 Fontify CPP expressions correctly when starting in the middle of
16643 such a construct. Mainly for when jit-lock etc. starts a chunk
16644 here.
16645
16646 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
16647 variable.
16648 (c-make-font-lock-search-form): New function, extracted from
16649 c-make-font-lock-search-function.
16650 (c-make-font-lock-search-function): Use the above function.
16651 (c-make-font-lock-context-search-function): New function.
16652 (c-cpp-matchers): Enhance the preprocessor expression case with
16653 the above function
16654 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
16655 which takes an expression.
16656
16657 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
16658
16659 2011-08-20 Martin Rudalics <rudalics@gmx.at>
16660
16661 * window.el (display-buffer-reuse-window)
16662 (display-buffer-pop-up-window): Don't reuse or split a side
16663 window.
16664
16665 2011-08-19 Glenn Morris <rgm@gnu.org>
16666
16667 * files.el (hack-local-variables-prop-line, hack-local-variables):
16668 Downcase "Mode:". (Bug#9331)
16669
16670 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
16671
16672 * international/characters.el: Add L and R categories.
16673
16674 * subr.el (bidi-string-mark-left-to-right): Rename from
16675 string-mark-left-to-right. Use category search.
16676
16677 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
16678
16679 2011-08-18 Juri Linkov <juri@jurta.org>
16680
16681 * faces.el (error, warning, success): New faces with definitions
16682 copied from old default values of `font-lock-warning-face',
16683 `compilation-warning', `compilation-info' (bug#6117).
16684
16685 * font-lock.el (font-lock-warning-face): Inherit from `error'.
16686
16687 * progmodes/compile.el (compilation-error): Inherit from `error'.
16688 (compilation-warning): Inherit from `warning'.
16689 (compilation-info): Inherit from `success'.
16690
16691 * dired.el (dired-marked): Inherit from `warning'.
16692 (dired-flagged): Inherit from `error'.
16693
16694 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
16695
16696 * mail/smtpmail.el (auth-source): Require to avoid problems with
16697 binding variables (bug#9298). Also clean up some unused
16698 autoloads.
16699
16700 * net/network-stream.el (network-stream-open-starttls):
16701 Support using starttls.el without using gnutls-cli.
16702
16703 2011-08-17 Juri Linkov <juri@jurta.org>
16704
16705 * progmodes/grep.el (rgrep): Handle the case when
16706 `grep-find-command' is a cons cell (bug#9278).
16707
16708 2011-08-17 Martin Rudalics <rudalics@gmx.at>
16709
16710 * window.el (display-buffer-pop-up-frame): Run frame creation
16711 function with BUFFER current (as special-display-popup-frame
16712 does). Reported by Drew Adams.
16713
16714 2011-08-17 Daiki Ueno <ueno@unixuser.org>
16715
16716 * epa-mail.el: Simplify GnuPG group expansion using
16717 epg-expand-group.
16718 (epa-mail-group-alist, epa-mail-group-modtime)
16719 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
16720 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
16721 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
16722 Remove.
16723
16724 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
16725
16726 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
16727
16728 2011-08-16 Alan Mackenzie <acm@muc.de>
16729
16730 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
16731 Correct, to avoid the inside of macros.
16732
16733 2011-08-16 Richard Stallman <rms@gnu.org>
16734
16735 * epa-mail.el: Handle GnuPG group definitions.
16736 (epa-mail-group-alist, epa-mail-group-modtime)
16737 (epa-mail-gnupg-conf-file): New variables.
16738 (epa-mail-parse-groups, epa-mail-sync-groups)
16739 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
16740 (epa-mail-expand-recipients): New functions.
16741 (epa-mail-encrypt): Call epa-mail-expand-recipients.
16742
16743 * mail/rmail.el (rmail-epa-decrypt): New command.
16744
16745 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
16746 Don't bind buffer-read-only, just inhibit-read-only.
16747 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
16748 (epa-decrypt-armor-in-region): Make error message clearer.
16749
16750 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
16751
16752 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
16753 and "a2b" to "ab" for `prefix'.
16754
16755 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
16756
16757 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
16758 filter groups.
16759 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
16760 Fourquet (Bug#8804).
16761
16762 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
16763
16764 * startup.el (argi): Declare as global variable (bug#9275).
16765
16766 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
16767
16768 * subr.el (string-mark-left-to-right): Search the entire string
16769 for RTL script, not just the terminating character. Doc fix.
16770
16771 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
16772
16773 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
16774 New function.
16775 (js--regexp-literal, js-syntax-propertize-function): Remove.
16776 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
16777 (js-mode-map): Don't rebind electric keys.
16778 (js-insert-and-indent): Remove.
16779 (js-mode): Setup electric-layout and electric-indent instead.
16780
16781 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
16782
16783 2011-08-12 Daiki Ueno <ueno@unixuser.org>
16784
16785 * epa.el (epa-progress-callback-function): Fix the logic of
16786 displaying progress.
16787 * epa-file.el (epa-file-insert-file-contents): Make progress
16788 display more user-friendly.
16789 (epa-file-write-region): Ditto.
16790
16791 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
16792
16793 * subr.el (string-mark-left-to-right): New function.
16794
16795 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
16796 Use string-mark-left-to-right.
16797 (list-buffers-noselect): Caller changed.
16798
16799 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16800 Use string-mark-left-to-right.
16801 (tabulated-list-print): Recenter after moving point.
16802
16803 2011-08-10 Juri Linkov <juri@jurta.org>
16804
16805 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
16806 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
16807 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
16808
16809 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
16810
16811 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
16812 (Bug#7554).
16813
16814 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
16815
16816 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
16817 character. (Bug#6594)
16818
16819 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
16820
16821 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
16822 (image-dired--with-db-file): New macro.
16823 (image-dired-write-tags, image-dired-remove-tag)
16824 (image-dired-create-gallery-lists, image-dired-write-comments)
16825 (image-dired-get-comment, image-dired-mark-tagged-files)
16826 (image-dired-list-tags, image-dired-gallery-generate): Use it.
16827 (image-dired-gallery-generate): Use insert-file-contents.
16828
16829 * time.el (display-time-world-list, display-time-world-display):
16830 * time-stamp.el (time-stamp-string):
16831 * vc/add-log.el (add-change-log-entry): Use setenv instead of
16832 set-time-zone-rule (Bug#7337).
16833
16834 2011-08-08 Daiki Ueno <ueno@unixuser.org>
16835
16836 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
16837 (epg-error-to-string, epg-errors-to-string): New function.
16838 (epg-wait-for-completion): Reverse errors list.
16839 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
16840 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
16841 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
16842 (epg-sign-keys, epg-generate-key-from-file)
16843 (epg-generate-key-from-string): Format errors by using
16844 epg-errors-to-string (bug#9255).
16845 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
16846
16847 2011-08-07 Juri Linkov <juri@jurta.org>
16848
16849 * faces.el (list-faces-display): Remove extra angle bracket
16850 from `help-mode-map'.
16851
16852 * info.el (Info-history-toc-nodes): Doc fix.
16853
16854 * longlines.el (longlines-mode): Doc fix.
16855
16856 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
16857
16858 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
16859 of statements and in a few more cases (bug#9183).
16860
16861 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
16862 New functions.
16863 (cl-transform-lambda): Use them (bug#9239).
16864
16865 2011-08-05 Martin Rudalics <rudalics@gmx.at>
16866
16867 * window.el (display-buffer-same-window)
16868 (display-buffer-same-frame, display-buffer-other-window)
16869 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
16870 (pop-to-buffer-other-window)
16871 (pop-to-buffer-same-frame-other-window)
16872 (pop-to-buffer-other-frame): Make them defuns.
16873 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
16874
16875 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
16876
16877 * subr.el (make-composed-keymap): Move from C. Change calling
16878 convention, and improve docstring to bring attention to a subtle point.
16879 * minibuffer.el (completing-read-default): Adjust accordingly.
16880
16881 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
16882
16883 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
16884 (tramp-open-shell): Use `tramp-shell-quote-argument'.
16885
16886 * net/trampver.el: Update release number.
16887
16888 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
16889
16890 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
16891 "in" (bug#9190).
16892
16893 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16894
16895 * mail/sendmail.el (sendmail-query-once): Restore the current
16896 buffer after querying (bug#9074).
16897
16898 * dired.el (dired-flagged): Use different faces for marked and
16899 flagged files (bug#6117).
16900
16901 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
16902 (bug#4433).
16903
16904 * ido.el (ido-mode): Switch off the message if called
16905 non-interactively.
16906
16907 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
16908 before 587, since it appears that that's more likely to work for
16909 more people.
16910
16911 * cus-edit.el (custom-file): When running under emacs -q, always
16912 refuse to save the customizations, even if the .emacs file doesn't
16913 exist.
16914
16915 * info.el: Remove the `Info-beginning-of-buffer' function
16916 (bug#8325).
16917
16918 * net/network-stream.el (network-stream-open-starttls):
16919 Use `starttls-available-p' to see whether starttls.el can be used.
16920
16921 2011-08-01 Martin Rudalics <rudalics@gmx.at>
16922
16923 * window.el (display-buffer-in-window): Don't set dedicated status
16924 of window here (Bug#9215).
16925 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
16926 (display-buffer-pop-up-side-window)
16927 (display-buffer-in-side-window): Set dedicated status of window here.
16928
16929 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
16930
16931 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
16932 before binding generated-autoload-file.
16933
16934 2011-08-01 Deniz Dogan <deniz@dogan.se>
16935
16936 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
16937
16938 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
16939
16940 Sync with Tramp 2.2.2.
16941
16942 * net/trampver.el: Update release number.
16943
16944 2011-07-30 Juri Linkov <juri@jurta.org>
16945
16946 * dired-aux.el (dired-touch-initial): Remove function.
16947 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
16948 current time, and `default' to the last modification time of the
16949 current marked file (bug#6887).
16950
16951 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
16952
16953 * simple.el (goto-line): Use string-to-number to provide a
16954 numeric argument to read-number (bug#9163).
16955
16956 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
16957
16958 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
16959 connection process, it could be nil.
16960
16961 2011-07-27 Leo Liu <sdl.web@gmail.com>
16962
16963 Simplify url handling in rcirc-mode.
16964
16965 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
16966 (rcirc-browse-url-at-mouse): Remove.
16967 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
16968
16969 2011-07-26 Alan Mackenzie <acm@muc.de>
16970
16971 Fontify bitfield declarations properly.
16972
16973 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
16974 (c-symbol-chars): Now exported as a lang variable.
16975 (c-not-primitive-type-keywords): New lang variable.
16976
16977 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
16978 QT keyword "more" to prevent "more slots: ...." being spuriously
16979 parsed as a bitfield declaration.
16980
16981 * progmodes/cc-engine.el (c-beginning-of-statement-1):
16982 Refactor and enhance to handle bitfield declarations.
16983 (c-punctuation-in): New function.
16984 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
16985 declarations properly.
16986
16987 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
16988
16989 * calendar/icalendar.el (icalendar--all-events): Take care of
16990 multiple vcalendars in a single file.
16991 (icalendar--convert-float-to-ical): Checkdoc fixes.
16992
16993 2011-07-25 Deniz Dogan <deniz@dogan.se>
16994
16995 * image.el (insert-image): Clarifying docstring.
16996
16997 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
16998
16999 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
17000 `tramp-send-command-and-check' if there is no error.
17001 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
17002
17003 2011-07-22 Alan Mackenzie <acm@muc.de>
17004
17005 Prevent cc-langs.elc being loaded at run time.
17006
17007 * progmodes/cc-mode.el: Remove two autoload forms which loaded
17008 cc-langs.
17009
17010 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
17011 "(require 'cc-langs)". Quote a form so it will evaluate at
17012 (cc-mode's) compilation time.
17013
17014 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
17015
17016 * net/tramp.el (tramp-file-name-handler): Avoid recursive
17017 loading. (Bug#9114)
17018
17019 2011-07-21 Martin Rudalics <rudalics@gmx.at>
17020
17021 * window.el (display-buffer-pop-up-window)
17022 (display-buffer-pop-up-side-window)
17023 (display-buffer-in-side-window): Call display-buffer-set-height
17024 and display-buffer-set-width after setting the new window's
17025 buffer so `fit-window-to-buffer' and friends work on the right buffer.
17026
17027 2011-07-20 Sam Steingold <sds@gnu.org>
17028
17029 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
17030 (etags-tags-included-tables): Call `convert-standard-filename' on
17031 the file names contained in TAGS so that windows Emacs can handle
17032 TAGS files created by cygwin ctags.
17033
17034 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
17035
17036 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
17037 which apparently didn't work.
17038
17039 2011-07-19 Roland Winkler <winkler@gnu.org>
17040
17041 * proced.el (proced-send-signal): For *Marked Processes* buffer
17042 put point at beginning of buffer.
17043
17044 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
17045
17046 * proced.el (proced-format): Make header lines align with the text
17047 (bug#1779).
17048
17049 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
17050
17051 * view.el (view-buffer): Allow running in `special' modes if we're
17052 visiting a file (bug#8615).
17053
17054 2011-07-19 Martin Rudalics <rudalics@gmx.at>
17055
17056 * window.el (display-buffer-alist-of-strings-p)
17057 (display-buffer-alist-set-1, display-buffer-alist-set-2):
17058 New functions.
17059 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
17060 more accurately.
17061
17062 2011-07-18 Alan Mackenzie <acm@muc.de>
17063
17064 Fontify declarators properly when, e.g., a jit-lock chunk begins
17065 inside a declaration.
17066
17067 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
17068
17069 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
17070 New function.
17071 (c-complex-decl-matchers): Insert reference to
17072 c-font-lock-enclosing-decls.
17073
17074 * progmodes/cc-engine.el (c-backward-single-comment):
17075 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
17076 to nil around calls to (forward-comment -1).
17077
17078 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
17079
17080 * image.el (put-image): Doc typo fix.
17081
17082 * progmodes/etags.el (tags-search): Doc typo fix.
17083
17084 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
17085 password if we get errors 550 to 554.
17086
17087 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
17088
17089 * net/gnutls.el (gnutls-log-level): Remove.
17090
17091 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
17092 indentation character (bug#6380).
17093
17094 * files.el (buffer-offer-save): Made permanently local (bug#6241).
17095
17096 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
17097 to clarify what the problem is (bug#4291).
17098
17099 * simple.el (current-kill): Clarify what
17100 `interprogram-paste-function' does (bug#7500).
17101 (auto-fill-mode): Document `auto-fill-function' in relation to
17102 `auto-fill-mode' (bug#2470).
17103
17104 2011-07-16 Lawrence Mitchell <wence@gmx.li>
17105
17106 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
17107 method if slot is read-only (bug#9035).
17108
17109 2011-07-16 Martin Rudalics <rudalics@gmx.at>
17110
17111 * frame.el (select-frame-set-input-focus): New argument NORECORD.
17112 * window.el (pop-to-buffer): Select window used even if it was
17113 selected before, see discussion of (Bug#8615), (Bug#6954).
17114 Pass argument NORECORD on to select-frame-set-input-focus.
17115
17116 2011-07-15 Glenn Morris <rgm@gnu.org>
17117
17118 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
17119 Respect help-form.
17120
17121 2011-07-09 Lawrence Mitchell <wence@gmx.li>
17122
17123 * net/gnutls.el (gnutls-min-prime-bits): New variable.
17124 (gnutls-negotiate): Use it.
17125
17126 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
17127
17128 * net/gnutls.el (gnutls-negotiate):
17129 Upcase `gnutls-algorithm-priority'.
17130
17131 2011-07-15 Glenn Morris <rgm@gnu.org>
17132
17133 * jka-compr.el (jka-compr-verbose): Move from here...
17134 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
17135 Add missing :version tag.
17136 * info.el: No need to require jka-compr when compiling.
17137
17138 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
17139
17140 * net/gnutls.el (gnutls-algorithm-priority): New variable.
17141 (gnutls-negotiate): Use it.
17142
17143 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
17144
17145 * info.el (Info-beginning-of-buffer): New command.
17146 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
17147 announcing `b' as the key (bug#8325).
17148 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
17149
17150 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
17151
17152 * international/mule-cmds.el
17153 (describe-specified-language-support): Make the error message
17154 clearer (bug#8905).
17155
17156 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
17157
17158 * isearch.el (isearch-barrier): Add a doc string, since it's
17159 mentioned in a function doc string (bug#8678).
17160
17161 2011-07-15 Martin Rudalics <rudalics@gmx.at>
17162
17163 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
17164 buffer argument (Bug#9083) and self-identifying label argument.
17165
17166 2011-07-15 Glenn Morris <rgm@gnu.org>
17167
17168 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
17169
17170 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
17171
17172 * man.el (Man-fontify-manpage): Fix message when formatting the
17173 man page (bug#7929).
17174
17175 2011-07-14 Eli Zaretskii <eliz@gnu.org>
17176
17177 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
17178 argument LRM; if non-nil, append an invisible LRM character to the
17179 buffer name.
17180 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
17181 last argument non-nil, when formatting buffer names.
17182 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
17183 paragraph direction.
17184
17185 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
17186
17187 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
17188 the man page name (bug#7929).
17189
17190 * image.el (put-image): Mention the `put-image' overlay property
17191 (bug#7834).
17192
17193 * scroll-bar.el (set-scroll-bar-mode): Mention that
17194 `scroll-bar-mode' lists the values (bug#7772).
17195
17196 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
17197 command (bug#7729).
17198
17199 * rect.el (apply-on-rectangle): Return the point after the last
17200 operation.
17201 (string-rectangle): Go to the point after the last operation
17202 (bug#7522).
17203
17204 * printing.el (pr-toggle-region): Clarify the documentation
17205 slightly (bug#7493).
17206
17207 * time.el (display-time-update):
17208 Allow `display-time-mail-function' to return nil (bug#7158).
17209 Fix suggested by Detlev Zundel.
17210
17211 * vc/diff.el (diff): Clarify the order the file names are read
17212 (bug#7111).
17213
17214 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
17215 the doc string (bug#7015).
17216
17217 * font-lock.el (font-lock-maximum-decoration): Mention what
17218 numeric levels mean (bug#6935).
17219
17220 * startup.el (initial-buffer-choice): Don't mention the `none'
17221 selection, which is against policy.
17222
17223 2011-07-14 Martin Rudalics <rudalics@gmx.at>
17224
17225 * window.el (display-buffer-normalize-special):
17226 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
17227
17228 2011-07-14 Eli Zaretskii <eliz@gnu.org>
17229
17230 * subr.el (version<, version<=, version=): Mention "-CVS" and
17231 "-12345" alpha version numbers.
17232
17233 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
17234
17235 * bindings.el: Add advertised binding for set-mark-command
17236 (Bug#5772).
17237
17238 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
17239
17240 * bindings.el (mode-line-other-buffer):
17241 * bookmark.el (bookmark-bmenu-2-window):
17242 * bs.el (bs-cycle-next, bs-cycle-previous):
17243 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
17244 switch-to-buffer.
17245
17246 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
17247 Delete.
17248
17249 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
17250
17251 * follow.el (follow-debug-message, follow-redisplay):
17252 * jka-cmpr-hook.el (with-auto-compression-mode):
17253 Fix typos in docstrings.
17254
17255 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17256
17257 * subr.el (with-silent-modifications): Clarify somewhat what the
17258 macro inhibits (bug#6525).
17259
17260 * simple.el (eval-expression): Note what it does if called
17261 interactively (bug#6495).
17262
17263 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
17264
17265 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
17266 Use pop-to-buffer buffer-or-name if it is nil.
17267
17268 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17269 Remove switch-to-buffer.
17270
17271 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17272
17273 * files.el (make-directory): Clarify that an error will be raised
17274 if there's an error (bug#6397).
17275
17276 * startup.el (initial-buffer-choice): Add `none' as a choice
17277 (bug#6234).
17278
17279 * subr.el (add-hook): Clarify section about buffer-local hooks
17280 (bug#6218).
17281
17282 * dired.el (dired-flagged): Clarify doc string (bug#6117).
17283
17284 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
17285
17286 * tabify.el (untabify): Preserve the current column so that point
17287 doesn't move (bug#6032).
17288
17289 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17290
17291 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
17292 Rewrite to avoid awkward possessive "s" (bug#5986).
17293
17294 2011-07-13 Glenn Morris <rgm@gnu.org>
17295
17296 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
17297 (dired-insert-directory): Give a message the first time
17298 if ls is found not to support --dired.
17299
17300 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17301
17302 * simple.el (toggle-truncate-lines): Clarify what is toggled
17303 (bug#5580). Text by Drew Adams.
17304
17305 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
17306
17307 * simple.el (blink-matching-open): Make the error message from the
17308 last change less verbose.
17309
17310 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
17311
17312 * font-lock.el (font-lock-comment-face): Use the high contrast
17313 "yellow" color for font-lock-comment-face on low color terminals
17314 using a dark background color (bug#4221).
17315
17316 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17317
17318 * dired.el (dired-insert-set-properties): Make the doc string
17319 reflect what it does now (bug#5325).
17320
17321 * simple.el (blink-matching-open): Say that we were unable to find
17322 the match within the limit, if we're limited (bug#5122).
17323
17324 * international/mule-cmds.el (prefer-coding-system): Add an
17325 example (bug#4869).
17326
17327 * progmodes/etags.el (tags-search): Document `file-list-form'
17328 (bug#4731).
17329
17330 2011-07-13 Lawrence Mitchell <wence@gmx.li>
17331
17332 * net/browse-url.el (browse-url-default-browser)
17333 (browse-url-browser-function): Make the default browser choice a
17334 bit more logical (bug#4300). Also clean up the doc string.
17335
17336 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
17337
17338 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
17339 binary endings (bug#4440).
17340
17341 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17342
17343 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
17344 which can be pretty annoying (bug#8971).
17345
17346 * jka-compr.el (jka-compr-verbose): New variable, and use
17347 throughout (bug#8971).
17348
17349 * info.el (Info-find-file): Fall back on the installation
17350 directory if we can't find the info node anywhere else.
17351
17352 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
17353
17354 * vc/vc.el (vc-revert-file):
17355 Don't set file time-stamp in the past. (Bug#5181)
17356
17357 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
17358
17359 * files.el (after-find-file): Give a better error message when
17360 trying to find a symlink that points to a file that doesn't exist
17361 (bug#4398).
17362
17363 * progmodes/cc-vars.el: Remove (probably) misleading comment
17364 (bug#4396).
17365
17366 2011-07-12 Johan Bockgård <bojohan@gnu.org>
17367
17368 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
17369
17370 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
17371
17372 * mouse-sel.el: Hack restoring functionality, while keeping
17373 compatibility with 2010-07-03 changes to mouse selection.
17374 (mouse-sel-primary-overlay): New var.
17375 (mouse-sel-selection-alist): Use it.
17376 (mouse-sel-mode): Doc fix; remove points that are default features
17377 of mouse.el.
17378
17379 2011-07-12 Johan Bockgård <bojohan@gnu.org>
17380
17381 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17382 Fix previous fix (bug#2490).
17383
17384 2011-07-12 Roland Winkler <winkler@gnu.org>
17385
17386 * textmodes/bibtex.el (bibtex-initialize):
17387 Use pop-to-buffer-same-window.
17388 (bibtex-search-entries): Fix interactive call.
17389
17390 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
17391
17392 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17393 Fontise bytecomp Error lines more correctly (bug#2490).
17394 Fix suggested by Johan Bockgård.
17395
17396 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
17397
17398 * dired-x.el (dired-guess-default): Use `delete-dups'.
17399
17400 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
17401
17402 * dired.el (dired-mark-prompt):
17403 * dired-aux.el (dired-read-shell-command): Doc fix.
17404
17405 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17406
17407 * mail/sendmail.el (sendmail-query-once):
17408 Use `customize-save-variable' unconditionally, now that it works under
17409 emacs -Q.
17410
17411 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
17412
17413 * cus-edit.el (custom-file): Take an optional no-error variable.
17414 (customize-save-variable): Set the variable, and give a warning if
17415 running under "emacs -q".
17416
17417 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
17418
17419 * loadhist.el (unload-feature-special-hooks):
17420 Add `auto-coding-functions', `fill-nobreak-predicate' and
17421 `find-directory-functions' (bug#5327).
17422
17423 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17424
17425 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
17426
17427 * cus-edit.el (custom-guess-name-alist): -alist variables should
17428 use the `alist' type (bug#3120). Suggested by Drew Adams.
17429
17430 * printing.el: Add documentation to all the `pr-toggle-' commands.
17431
17432 2011-07-11 Leo Liu <sdl.web@gmail.com>
17433
17434 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
17435 backends where it makes sense (bug#2623).
17436
17437 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17438
17439 * dired-x.el (dired-guess-default): Remove duplicate shell command
17440 entries (bug#2028).
17441 (dired-guess-default): Fix grammar in doc string (bug#2028).
17442 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
17443
17444 * subr.el (remove-duplicates): New conveniency function.
17445
17446 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
17447
17448 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
17449 (bug#1526).
17450
17451 2011-07-10 Martin Rudalics <rudalics@gmx.at>
17452
17453 * window.el (display-buffer-normalize-default): Don't invert
17454 meaning of even-window-heights. Reported by Eli Zaretskii
17455 <eliz@gnu.org>.
17456
17457 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
17458
17459 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
17460
17461 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
17462
17463 * window.el (display-buffer): Fix arguments to
17464 display-buffer-reuse-window in last change.
17465
17466 * faces.el (link): Use a less saturated blue on light backgrounds.
17467
17468 * startup.el (fancy-startup-text, fancy-about-text)
17469 (fancy-startup-tail): Use font-lock faces, for background safety.
17470
17471 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
17472
17473 * emulation/viper-cmd.el (viper-change-state-to-vi):
17474 Limit triggering of abbrev expansion (Bug#9038).
17475
17476 2011-07-09 Martin Rudalics <rudalics@gmx.at>
17477
17478 * window.el (display-buffer-default-specifiers): Remove.
17479 (display-buffer-macro-specifiers): Remove default specifiers.
17480 (display-buffer-alist): Default to nil.
17481 (display-buffer-reuse-window): New optional argument other-window.
17482 (display-buffer-pop-up-window): Allow splitting internal
17483 windows. Check whether a live window was created.
17484 (display-buffer-other-window-means-other-frame)
17485 (display-buffer-normalize-arguments): Rename to
17486 display-buffer-normalize-argument and rewrite. Set the
17487 other-window specifier.
17488 (display-buffer-normalize-special): New function.
17489 (display-buffer-normalize-options): Rename to
17490 display-buffer-normalize-default and rewrite.
17491 (display-buffer-normalize-options-inhibit): Remove.
17492 (display-buffer-normalize-specifiers): Rewrite.
17493 (display-buffer): Process other-window specifier and call
17494 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
17495 more faithfully.
17496 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
17497 (display-buffer-alist-set): Don't handle 'unset default values.
17498 (display-buffer-in-window, display-buffer-alist-set):
17499 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
17500 <tassilo@member.fsf.org>.
17501
17502 2011-07-09 Leo Liu <sdl.web@gmail.com>
17503
17504 * register.el (insert-register): Restore accidental change on
17505 2011-06-26. (Bug#9028)
17506
17507 2011-07-09 Glenn Morris <rgm@gnu.org>
17508
17509 * subr.el (remq): Handle the empty list. (Bug#9024)
17510
17511 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
17512
17513 * mail/sendmail.el (send-mail-function): No longer delay custom
17514 initialization.
17515 * custom.el (custom-initialize-delay): Doc fix.
17516
17517 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
17518
17519 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
17520
17521 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
17522
17523 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
17524 human-friendly prompt.
17525
17526 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
17527
17528 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
17529 provided by a particular plugin.
17530
17531 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
17532
17533 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
17534 save customizations (with "emacs -Q"), just set the variable
17535 instead of erroring out.
17536
17537 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
17538
17539 2011-07-08 Juri Linkov <juri@jurta.org>
17540
17541 * arc-mode.el (archive-zip-expunge, archive-zip-update)
17542 (archive-zip-update-case): Use 7z if found by `executable-find'.
17543 The order of searching the available programs is the same as in
17544 `archive-zip-extract' (bug#8968).
17545
17546 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
17547
17548 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
17549 (menu-bar-options-menu): Tweak descriptions.
17550
17551 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
17552
17553 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
17554 menu items into verb phrases (bug#1421). Also refill to fit under
17555 80 columns.
17556
17557 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
17558
17559 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
17560 (Info-read-node-name): Doc fix (Bug#1084).
17561
17562 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
17563 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
17564 (end-of-sexp, beginning-of-sexp)
17565 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
17566 (forward-symbol, forward-same-syntax, word-at-point)
17567 (sentence-at-point): Doc fix (Bug#1144).
17568
17569 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
17570
17571 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
17572 should cover it (bug#1281).
17573
17574 * cus-edit.el (custom-show): Mark as obsolete.
17575
17576 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
17577 negotiation fails, then possibly try again with a non-encrypted
17578 connection (bug#9017).
17579
17580 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
17581 be used.
17582
17583 2011-07-07 Richard Stallman <rms@gnu.org>
17584
17585 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
17586 property, and handle its changed format.
17587 Look for the correct line number.
17588 Use file's line contents (but not past first =) to find
17589 correct line in message.
17590
17591 2011-07-07 Kenichi Handa <handa@m17n.org>
17592
17593 * international/characters.el (build-unicode-category-table):
17594 Delete it.
17595 (unicode-category-table): Set it by unicode-property-table-internal.
17596
17597 * international/mule-cmds.el (char-code-property-alist): Move to
17598 to src/chartab.c.
17599 (get-char-code-property): Call unicode-property-table-internal to
17600 load a file. Call get-unicode-property-internal where necessary.
17601 (put-char-code-property): Call unicode-property-table-internal to
17602 load a file. Call put-unicode-property-internal where necessary.
17603 put-unicode-property-internal where necessary.
17604 (char-code-property-description):
17605 Call unicode-property-table-internal to load a file.
17606
17607 * international/charprop.el:
17608 * international/uni-bidi.el:
17609 * international/uni-category.el:
17610 * international/uni-combining.el:
17611 * international/uni-comment.el:
17612 * international/uni-decimal.el:
17613 * international/uni-decomposition.el:
17614 * international/uni-digit.el:
17615 * international/uni-lowercase.el:
17616 * international/uni-mirrored.el:
17617 * international/uni-name.el:
17618 * international/uni-numeric.el:
17619 * international/uni-old-name.el:
17620 * international/uni-titlecase.el:
17621 * international/uni-uppercase.el: Regenerate.
17622
17623 * loadup.el: Load international/charprop.el before
17624 international/characters.
17625
17626 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
17627
17628 * window.el (next-buffer, previous-buffer): Signal an error if
17629 called from a minibuffer window.
17630
17631 * bindings.el: Revert 2011-07-04 change.
17632
17633 2011-07-06 Richard Stallman <rms@gnu.org>
17634
17635 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
17636 (rmail-mime-insert-bulk, rmail-mime-insert-text):
17637 Treat markers like ints.
17638 (rmail-mime-entity): Doc fix.
17639
17640 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
17641
17642 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
17643 defcustom again for backwards compatibility.
17644
17645 * simple.el (shell-command-on-region): Fill.
17646
17647 * dired-aux.el (dired-kill-line): Add a doc string.
17648
17649 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
17650 to "\\sw\\|\\s_" (bug#358).
17651
17652 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
17653 (dired-unmark-backward): Ditto.
17654 (dired-flag-backup-files): Ditto.
17655
17656 * dired-x.el (dired-mark-sexp): Ditto.
17657
17658 2011-07-06 Richard Stallman <rms@gnu.org>
17659
17660 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
17661 (rmail-mime-entity): New arg TRUNCATED.
17662 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
17663 New functions.
17664 (rmail-mime-save): Warn if entity is truncated.
17665 (rmail-mime-toggle-hidden): Likewise, for showing.
17666 (rmail-mime-process-multipart): Record when an entity is truncated.
17667
17668 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
17669 if ENTITY is a string.
17670
17671 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
17672
17673 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
17674 of faces when `M-C-x'-ing their definitions (bug#8378).
17675 Also clean up the code slightly.
17676
17677 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
17678 because that makes the colors go away.
17679
17680 * mail/sendmail.el (send-mail-function): Change the default to
17681 `sendmail-query-once'.
17682 (sendmail-query-once): Add an autoload cookie.
17683
17684 * net/network-stream.el (network-stream-open-starttls): Try using
17685 a plain connection even if the server offered STARTTLS, and we
17686 kinda wanted to use it, if Emacs doesn't have any STARTTLS
17687 capability. This should make smtpmail.el work in slightly more
17688 configurations.
17689
17690 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
17691
17692 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
17693 New defun.
17694 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
17695
17696 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
17697
17698 * progmodes/sql.el: Version 3.0
17699 (sql-product-alist): Add product :completion-object,
17700 :completion-column, and :statement attributes.
17701 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
17702 (sql-mode-syntax-table): Mark all punctuation.
17703 (sql-font-lock-keywords-builder): Temporarily remove fallback on
17704 ansi keywords.
17705 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
17706 (sql-mode-oracle-font-lock-keywords): Improve.
17707 (sql-oracle-show-reserved-words): New function for development.
17708 (sql-product-font-lock): Simplify for source code buffers.
17709 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
17710 New functions.
17711 (sql-highlight-product): Set product specific syntax table.
17712 (sql-mode-map): Add statement movement functions.
17713 (sql-ansi-statement-starters, sql-oracle-statement-starters):
17714 New variable.
17715 (sql-statement-regexp, sql-beginning-of-statement)
17716 (sql-end-of-statement, sql-signum): New functions.
17717 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
17718 (sql-show-sqli-buffer): Bug fix.
17719 (sql-interactive-mode): Store connection data as buffer local.
17720 (sql-connect): Add NEW-NAME parameter. Redesign interaction
17721 with sql-interactive-mode.
17722 (sql-save-connection): Save buffer local settings.
17723 (sql-connection-menu-filter): Change menu entry name.
17724 (sql-product-interactive): Bug fix.
17725 (sql-preoutput-hold): New variable.
17726 (sql-interactive-remove-continuation-prompt): Bug fixes.
17727 (sql-debug-redirect): New variable.
17728 (sql-str-literal): New function.
17729 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
17730 Redesign.
17731 (sql-oracle-save-settings, sql-oracle-restore-settings)
17732 (sql-oracle-list-all, sql-oracle-list-table): New functions.
17733 (sql-completion-object, sql-completion-column)
17734 (sql-completion-sqlbuf): New variables.
17735 (sql-build-completions-1, sql-build-completions)
17736 (sql-try-completion): New functions.
17737 (sql-read-table-name): Use them.
17738 (sql-contains-names): New buffer local variable.
17739 (sql-list-all, sql-list-table): Use it.
17740 (sql-oracle-completion-types): New variable.
17741 (sql-oracle-completion-object, sql-sqlite-completion-object)
17742 (sql-postgres-completion-object): New functions.
17743
17744 2011-07-06 Glenn Morris <rgm@gnu.org>
17745
17746 * window.el (pop-to-buffer): Doc fix.
17747
17748 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
17749
17750 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
17751
17752 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
17753
17754 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
17755
17756 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
17757
17758 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
17759
17760 * button.el (button): Inherit from link face. Suggested by Dan
17761 Nicolaescu.
17762
17763 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
17764
17765 * progmodes/gdb-mi.el: Fit in 80 columns.
17766 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
17767 switch-to-buffer.
17768
17769 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
17770 if imenu is simply not configured (bug#8941).
17771
17772 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
17773
17774 * allout.el (allout-post-undo-hook): New allout outline-change
17775 event hook to signal undo activity.
17776 (allout-post-command-business): Run allout-post-undo-hook if an
17777 undo just occurred.
17778 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
17779 * allout-widgets.el (allout-widgets-after-undo-function):
17780 Ensure the integrity of the current item's decoration after it has been
17781 in the vicinity of an undo.
17782 (allout-widgets-mode): Include allout-widgets-after-undo-function
17783 on the new allout-post-undo-hook.
17784
17785 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
17786
17787 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
17788 Let define-derived-mode define it.
17789 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
17790 cycles of abbrev-table inheritance (bug#8998).
17791
17792 2011-07-05 Roland Winkler <winkler@gnu.org>
17793
17794 * textmodes/bibtex.el: Add support for biblatex.
17795 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
17796 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
17797 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
17798 (bibtex-entry-alist, bibtex-field-alist): New variables.
17799 (bibtex-entry-field-alist): Obsolete alias for
17800 bibtex-BibTeX-entry-alist.
17801 (bibtex-entry-alist, bibtex-field-alist): New widgets.
17802 (bibtex-set-dialect): New command.
17803 (bibtex-entry-type, bibtex-entry-head)
17804 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
17805 Bind via bibtex-set-dialect.
17806 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
17807 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
17808 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
17809 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
17810 Define via bibtex-set-dialect.
17811 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
17812 Obey bibtex-no-opt-remove-re.
17813 (bibtex-vec-push, bibtex-vec-incr): New functions.
17814 (bibtex-format-entry, bibtex-field-list)
17815 (bibtex-print-help-message, bibtex-validate)
17816 (bibtex-search-entries): Use new format of bibtex-entry-alist.
17817
17818 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
17819
17820 * progmodes/compile.el (compilation-goto-locus):
17821 * net/tramp-cmds.el (tramp-append-tramp-buffers):
17822 * bs.el (bs-cycle-next, bs-cycle-previous):
17823 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
17824 * bindings.el (mode-line-other-buffer):
17825 * autoinsert.el (auto-insert):
17826 * arc-mode.el (archive-extract):
17827 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
17828
17829 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
17830
17831 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
17832 Fix check of `emacs-lock-unlockable-modes'.
17833 Coerce true values of `emacs-lock--try-unlocking' to t.
17834
17835 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
17836
17837 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
17838 * emacs-lock.el: New file.
17839
17840 2011-07-05 Julien Danjou <julien@danjou.info>
17841
17842 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
17843 than `boundp' to check if face is set.
17844
17845 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
17846
17847 * register.el (registerv-make):
17848 * window.el (window-min-height): Fix typos in docstrings.
17849
17850 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
17851
17852 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
17853 Update doc string.
17854
17855 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
17856
17857 * server.el (server-execute): Catch quit and call
17858 `server-return-error' to pass the error back to emacsclient and
17859 close the connection (bug#8942).
17860
17861 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
17862
17863 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
17864 insecure exception for current topic. Also note that auto-saves
17865 are handled differently.
17866
17867 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
17868 State variables for tracking auto-save inhibition situation.
17869
17870 (allout-write-contents-hook-handler): Rename from
17871 'allout-write-file-hook-handler', and describe how it depends on
17872 write-contents-functions sensitivity to non-nil value to prevent
17873 file write.
17874
17875 (allout-auto-save-hook-handler): Remove. auto-save does not check
17876 this in individual buffers, only in the starting buffer, so this
17877 is not the right way for us to inhibit auto-save in a buffer
17878 according to its condition.
17879
17880 (allout-mode): Use new allout-write-contents-hook-handler, and
17881 only with write-contents-functions. Remove auto-save provisions -
17882 they're implemented elsewhere.
17883
17884 (allout-before-change-handler): If undo is in progress, note that
17885 for attention of allout-post-command-business.
17886
17887 (allout-post-command-business): If the command we're following was
17888 an undo, check for change in the status of encrypted items and
17889 adjust auto-save inhibitions accordingly.
17890
17891 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
17892 according to whether there are or aren't any plain-text topics
17893 pending encryption.
17894
17895 (allout-inhibit-auto-save-info-for-decryption):
17896 Adjust buffer-saved-size and some allout state to inhibit auto-saves
17897 if there are plain-text topics pending encryption.
17898
17899 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
17900 buffer-saved-size and some allout state to not inhibit auto-saves
17901 if there are no longer any plain-text topics pending encryption.
17902
17903 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
17904 No longer provide for exemption of the current topic.
17905
17906 2011-07-04 Juri Linkov <juri@jurta.org>
17907
17908 Add 7z operations to delete and save changed members (bug#8968).
17909 * arc-mode.el (archive-7z-expunge, archive-7z-update):
17910 New defcustoms.
17911 (archive-7z-write-file-member): New function.
17912 (archive-7z-summarize): Fix the number of dashes in the
17913 listing output.
17914
17915 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
17916
17917 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
17918 (bug#8958).
17919
17920 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
17921
17922 * bindings.el: Ignore next-buffer and previous-buffer in
17923 minibuffer-local-map.
17924
17925 * font-lock.el (font-lock-builtin-face): Change light background
17926 color to dark slate blue (Bug#6693).
17927
17928 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
17929
17930 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
17931
17932 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
17933
17934 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
17935 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17936 Add switch-to-buffer.
17937
17938 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
17939
17940 * isearch.el (isearch-search-fun-function): Clarify further the
17941 meaning of the function returned.
17942
17943 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
17944
17945 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
17946
17947 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
17948 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
17949 Use it.
17950 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
17951 `tramp-default-remote-path' does not exist.
17952 (tramp-send-command-and-read): New optional argument NOERROR.
17953 (tramp-open-connection-setup-interactive-shell)
17954 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
17955 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
17956 (tramp-process-sentinel): Flush also process' connection property.
17957 (tramp-sh-handle-start-file-process): Do not set process
17958 sentinel. It is done now ...
17959 (tramp-maybe-open-connection): ... here. (Bug#8929)
17960
17961 2011-07-04 MON KEY <monkey@sandpframing.com>
17962
17963 * play/animate.el (animate-string): Doc fixes and allow changing
17964 the buffer name (bug#5417).
17965
17966 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
17967
17968 * play/animate.el (animation-buffer-name): Rename from *animate*.
17969
17970 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
17971
17972 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
17973 This is simpler and helps future-proof the code.
17974 (timer-until): Use time-subtract and float-time.
17975 (timer--time-less-p): Use time-less-p.
17976
17977 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
17978
17979 * type-break.el (timep): Use the value of `float-time' to avoid a
17980 byte-compiler warning.
17981
17982 * server.el (server-eval-and-print): Return any result, even nil.
17983
17984 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
17985
17986 * type-break.el: Accept time formats that the builtins accept.
17987 (timep, type-break-time-difference): Accept any format that
17988 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
17989 This is simpler and helps future-proof the code.
17990 (type-break-time-difference): Round rather than ignoring
17991 subseconds components.
17992
17993 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17994
17995 * info.el (Info-apropos-matches): Make non-interactive, since it
17996 doesn't seem to do anything useful as a command (bug#8829).
17997
17998 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
17999
18000 * frame.el (frame-background-mode, frame-set-background-mode):
18001 Move from faces.el.
18002 (frame-default-terminal-background): New function.
18003
18004 * custom.el (custom-push-theme): Don't record faces in `changed'
18005 theme; this doesn't work correctly for per-frame face settings.
18006 (disable-theme): Use face-set-after-frame-default to reset faces.
18007 (custom--frame-color-default): New function.
18008
18009 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18010
18011 * dired.el (dired-flagging-regexp): Remove unused variable
18012 (bug#8769).
18013
18014 2011-03-29 Kevin Ryde <user42@zip.com.au>
18015
18016 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18017 `perl-Test2' extend to match possible "fail #N" rep count
18018 (bug#8377).
18019
18020 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18021
18022 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
18023 `smtpmail-via-smtp' now returns the error instead of nil.
18024
18025 * isearch.el (isearch-search-fun-function): Clarify the doc string
18026 (bug#8101).
18027
18028 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
18029
18030 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
18031 unnecessary spaces (bug#8987).
18032
18033 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18034
18035 * net/network-stream.el (open-network-stream): Use the
18036 :end-of-capability command thoughout.
18037
18038 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
18039
18040 * net/network-stream.el (open-network-stream): Add the
18041 :end-of-capability command parameter, used by pop3.el.
18042
18043 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18044
18045 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
18046
18047 * fringe.el (fringe-query-style): Remove redundant text " (type ?
18048 for list)" (bug#6475).
18049
18050 * files.el (file-expand-wildcards): Ignore non-readable
18051 sub-directories while trying to find matches instead of signaling
18052 an error (bug#6297).
18053
18054 * man.el (Man-reference-regexp): Allow matching possible
18055 word-wrapped references (bug#6289).
18056
18057 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
18058 for consistency with the other vc buffers (bug#6197).
18059 (vc-checkin): Ditto.
18060
18061 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
18062
18063 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
18064
18065 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18066
18067 * custom.el (defcustom): Clarify that :set is only used in the
18068 Customize user interface (bug#6089).
18069
18070 * progmodes/flymake.el (flymake-mode): If the buffer isn't
18071 associated with a file, refuse to run instead of erroring out
18072 (bug#6084).
18073
18074 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
18075 the doc string, since it appears that using `fill-column' always
18076 controls the width (bug#7845).
18077
18078 * simple.el (shell-command-on-region): Say where the error output
18079 went if `shell-command-default-error-buffer' is set (bug#6857).
18080
18081 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
18082
18083 * allout.el (allout-yank-processing): Adjust cursor position for
18084 backwards-deleted space.
18085
18086 (allout-rebullet-heading): Register changes with
18087 allout-exposure-changed-hook, so the modified topic is properly
18088 decorated.
18089
18090 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18091
18092 * minibuffer.el (completion-in-region): Document PREDICATE
18093 (bug#7136).
18094
18095 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
18096 of keyword/argument pairs (bug#6904).
18097
18098 * replace.el (multi-occur):
18099 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
18100
18101 2011-07-02 Drew Adams <drew.adams@oracle.com>
18102
18103 * dired.el (dired-mark-if): Make the message about whether it's
18104 marking or unmarking clearer (bug#8523).
18105
18106 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18107
18108 * disp-table.el (display-table-print-array): New function.
18109 (describe-display-table): Use it to print the vectors more pretty
18110 (Bug#8859).
18111
18112 2011-07-02 Martin Rudalics <rudalics@gmx.at>
18113
18114 * window.el (window-state-get-1): Don't assign clone numbers.
18115 Add clone-of item to list of window parameters.
18116 (window-state-put-2): Don't process clone numbers.
18117 (display-buffer-alist): Fix doc-string.
18118
18119 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
18120
18121 * subr.el (remq): Don't allocate if it's not needed.
18122 (keymap--menu-item-binding, keymap--menu-item-with-binding)
18123 (keymap--merge-bindings): New functions.
18124 (keymap-canonicalize): Use them to refine the canonicalization.
18125 * minibuffer.el (minibuffer-local-completion-map)
18126 (minibuffer-local-must-match-map): Move initialization from C.
18127 (minibuffer-local-filename-completion-map): Move initialization from C;
18128 don't inherit from anything here.
18129 (minibuffer-local-filename-must-match-map): Make obsolete.
18130 (completing-read-default): Use make-composed-keymap to combine
18131 minibuffer-local-filename-completion-map with either
18132 minibuffer-local-must-match-map or
18133 minibuffer-local-filename-completion-map.
18134
18135 2011-07-01 Glenn Morris <rgm@gnu.org>
18136
18137 * type-break.el (type-break-time-sum): Use dolist.
18138
18139 * textmodes/flyspell.el (flyspell-word-search-backward):
18140 Replace CL function.
18141
18142 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
18143
18144 * mouse.el (mouse--strip-first-event): New function.
18145 (function-key-map): Use it to map fringe clicks to normal clicks
18146 by default.
18147
18148 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
18149 (vc-bzr-revision-completion-table): Add support for annotate and date.
18150
18151 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
18152 inherit from parent.
18153
18154 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
18155
18156 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
18157 (dired-show-file-type): Doc fixup (bug#8818).
18158
18159 * dired.el (dired-mode): Fix up the doc string as suggested by
18160 Drew Adams (bug#8817).
18161
18162 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
18163 cookie, since the manual says that it should be possible to add
18164 this function to `find-file-hook' (bug#8709).
18165
18166 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
18167
18168 * progmodes/cfengine.el: Moved all cfengine3.el functionality
18169 here. Noted Ted Zlatanov as the maintainer.
18170 (cfengine-common-settings, cfengine-common-syntax): New functions
18171 to set up common things between `cfengine-mode' and
18172 `cfengine3-mode'.
18173 (cfengine3-mode): New mode.
18174 (cfengine3-defuns cfengine3-defuns-regex
18175 (cfengine3-class-selector-regex cfengine3-category-regex)
18176 (cfengine3-vartypes cfengine3-font-lock-keywords)
18177 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
18178 (cfengine3-indent-line): Add from cfengine3.el.
18179
18180 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
18181
18182 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
18183
18184 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
18185
18186 2011-07-01 Martin Rudalics <rudalics@gmx.at>
18187
18188 * window.el (same-window-buffer-names, same-window-regexps)
18189 (same-window-p, special-display-frame-alist)
18190 (special-display-popup-frame, special-display-function)
18191 (special-display-buffer-names, special-display-regexps)
18192 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
18193 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18194 (split-window-preferred-function, split-height-threshold)
18195 (split-width-threshold, even-window-heights)
18196 (display-buffer-mark-dedicated, window-splittable-p)
18197 (split-window-sensibly, window-safely-shrinkable-p):
18198 Un-obsolete.
18199 (display-buffer): Don't spread args with function specifier
18200 because special-display-popup-frame won't like it.
18201
18202 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
18203
18204 Time-stamp simplifications and fixes.
18205 These improve accuracy slightly, and future-proof the code
18206 against some potential changes to current-time format.
18207
18208 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
18209 by using time-since and float-time.
18210
18211 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
18212 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
18213 + NNN microseconds".
18214
18215 * type-break.el (type-break-time-sum): Rewrite using time-add.
18216
18217 * play/hanoi.el (hanoi-current-time-float): Remove.
18218 All uses replaced by float-time.
18219
18220 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
18221 This yields a more-accurate answer.
18222 (rng-time-to-float): Remove; no longer needed.
18223
18224 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
18225
18226 * calendar/timeclock.el (timeclock-seconds-to-time):
18227 Defalias to seconds-to-time, since they're the same thing.
18228
18229 * emacs-lisp/elp.el (elp-elapsed-time):
18230 * emacs-lisp/benchmark.el (benchmark-elapse):
18231 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
18232
18233 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
18234
18235 * window.el (bury-buffer): Don't iconify the only frame.
18236 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
18237 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
18238
18239 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
18240
18241 * eshell/em-smart.el (eshell-smart-display-navigate-list):
18242 Add mouse-yank-primary.
18243
18244 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
18245
18246 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
18247
18248 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
18249
18250 * emacs-lisp/find-func.el (find-library--load-name): New fun.
18251 (find-library-name): Use it to find relative load names when provided
18252 absolute file name (bug#8803).
18253
18254 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
18255
18256 * textmodes/flyspell.el (flyspell-word): Consider words that
18257 differ only in case as potential doublons (bug#5687).
18258
18259 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
18260 Remove two rather uninteresting debugging-like messages to make
18261 debbugs.el more silent.
18262
18263 * comint.el (comint-password-prompt-regexp): Accept "Response" as
18264 a password-like phrase.
18265
18266 2011-06-30 Masatake YAMATO <yamato@redhat.com>
18267
18268 * progmodes/cc-guess.el: New file.
18269
18270 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
18271
18272 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
18273 derived from `c-basic-common-init'.
18274
18275 * progmodes/cc-mode.el (top-level): Require cc-guess.
18276 (c-basic-common-init): Use `cc-choose-style-for-mode'.
18277
18278 2011-06-30 Lawrence Mitchell <wence@gmx.li>
18279
18280 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
18281
18282 2011-06-30 Alan Mackenzie <acm@muc.de>
18283
18284 * progmodes/cc-engine.el (c-guess-continued-construct):
18285 Correct the handling of template-args-cont, particularly for when font
18286 lock is disabled. Name this case as "CASE G".
18287
18288 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
18289
18290 * allout.el (allout-yank-processing): Fix injection of extra space
18291 between bullet and non-whitespace character in first topic when
18292 pasting, ensuring that the actual spacing in the pasted topic
18293 following the bullet char is preserved. This extra space was
18294 causing pasted encrypted topics to get a decrypted status even
18295 when the content was actually still encrypted. Now the decryption
18296 status from before the paste is preserved.
18297
18298 (allout-flag-region): Set all allout overlays so they evaporate
18299 when reduced to zero length (evanescent), to prevent overlay
18300 leakage.
18301
18302 2011-06-30 Glenn Morris <rgm@gnu.org>
18303
18304 * w32-fns.el (w32-charset-info-alist): Declare.
18305
18306 * find-dired.el (find-grep-options): Simplify.
18307
18308 * term/ns-win.el (ns-set-resource): Declare.
18309
18310 * ses.el (row, col): Declare dynamic variables honestly.
18311
18312 * textmodes/reftex-parse.el (index-tags): Declare.
18313
18314 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
18315
18316 * cus-edit.el (customize-push-and-save): New function.
18317
18318 * files.el (hack-local-variables-confirm): Use it.
18319
18320 * custom.el (load-theme): New arg NO-CONFIRM.
18321 Use customize-push-and-save (Bug#8720).
18322 (custom-enabled-themes): Doc fix.
18323
18324 * cus-theme.el (customize-create-theme)
18325 (custom-theme-merge-theme): Callers to load-theme changed.
18326
18327 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
18328
18329 * thingatpt.el (thing-at-point-short-url-regexp): Require that
18330 short URLs have at least one dot in them (bug #7614).
18331
18332 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
18333 nil, because using a pty is apparently too slow (bug #895).
18334
18335 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
18336
18337 * mail/sendmail.el (sendmail-query-once): New function.
18338 (sendmail-query-once-function): New variable.
18339
18340 2011-06-29 Glenn Morris <rgm@gnu.org>
18341
18342 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
18343
18344 * ses.el (top-level): Require cl when compiling.
18345 (ses-set-localvars): Fix error statement.
18346 Call it at compile time to silence a storm of warnings.
18347
18348 2011-06-29 Martin Rudalics <rudalics@gmx.at>
18349
18350 * window.el (normalize-live-buffer): Rename to
18351 window-normalize-buffer.
18352 (normalize-live-frame): Rename to window-normalize-frame.
18353 (normalize-any-window): Rename to window-normalize-any-window.
18354 (normalize-live-window): Rename to window-normalize-live-window.
18355 (make-window-atom): Rename to window-make-atom.
18356 (window-resize-reset): Rename to window--resize-reset.
18357 (window-resize-reset-1): Rename to window--resize-reset-1.
18358 (resize-mini-window): Rename to window--resize-mini-window.
18359 (resize-subwindows-skip-p): Rename to
18360 window--resize-subwindows-skip-p.
18361 (resize-subwindows-normal): Rename to
18362 window--resize-subwindows-normal.
18363 (resize-subwindows): Rename to window--resize-subwindows.
18364 (resize-other-windows): Rename to window--resize-siblings.
18365 (resize-this-window): Rename to window--resize-this-window.
18366 (resize-root-window): Rename to window--resize-root-window.
18367 (resize-root-window-vertically): Rename to
18368 window--resize-root-window-vertically.
18369 (normalize-buffer-to-display): Rename to
18370 window-normalize-buffer-to-display.
18371 (normalize-buffer-to-switch-to): Rename to
18372 window-normalize-buffer-to-switch-to.
18373 Correspondingly update all callers of the functions listed
18374 above.
18375 (display-buffer-alist, display-buffer-normalize-arguments)
18376 (display-buffer-normalize-options, display-buffer)
18377 (display-buffer-alist-set): Use "function" instead of
18378 "fun-with-args".
18379
18380 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
18381
18382 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
18383 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
18384 debbugs.gnu.org. Mention acknowledgment email.
18385
18386 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
18387
18388 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
18389 buffer multibyteness, since it shouldn't matter.
18390
18391 2011-06-28 Martin Rudalics <rudalics@gmx.at>
18392
18393 * window.el (display-buffer-in-side-window): Handle dedicated
18394 windows as in display-buffer-reuse-window.
18395 (display-buffer-normalize-alist): Use value of override
18396 specifier.
18397 (display-buffer-normalize-specifiers): Use value of
18398 other-window-means-other-frame specifier.
18399 (display-buffer-alist): Rewrite some texts in widgets.
18400 (display-buffer): Spread arguments when calling function
18401 specified by fun-with-args.
18402
18403 2011-06-28 Deniz Dogan <deniz@dogan.se>
18404
18405 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
18406 Unnest `let'.
18407
18408 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
18409 selectors (Bug#5732).
18410 (css-proprietary-nmstart-re): Use `regexp-opt'.
18411
18412 2011-06-27 Jari Aalto <jari.aalto@cante.net>
18413
18414 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
18415 (eshell-ls-date-format): New defcustom.
18416 (eshell-ls-file): Use it.
18417
18418 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
18419
18420 * help-fns.el (describe-variable): Fix message for terminal-local vars.
18421
18422 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
18423
18424 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
18425 (ange-ftp-make-tmp-name): New arg.
18426 (ange-ftp-file-local-copy): Use it.
18427
18428 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
18429
18430 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
18431 no-conversion (Bug#8870).
18432
18433 2011-06-27 Martin Rudalics <rudalics@gmx.at>
18434
18435 * window.el (window-right, window-left, window-child)
18436 (window-child-count, window-last-child)
18437 (window-iso-combination-p, walk-window-tree-1)
18438 (window-atom-check-1, window-tree-1, delete-window)
18439 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
18440 new naming conventions - window-vchild, window-hchild,
18441 window-next and window-prev are now called window-top-child,
18442 window-left-child, window-next-sibling and window-prev-sibling
18443 respectively.
18444 (resize-window-reset): Rename to window-resize-reset.
18445 (resize-window-reset-1): Rename to window-resize-reset-1.
18446 (resize-window): Rename to window-resize.
18447 (window-min-height, window-min-width)
18448 (resize-mini-window, resize-this-window, resize-root-window)
18449 (resize-root-window-vertically, adjust-window-trailing-edge)
18450 (enlarge-window, shrink-window, maximize-window)
18451 (minimize-window, delete-window, quit-restore-window)
18452 (split-window, balance-windows, balance-windows-area-adjust)
18453 (balance-windows-area, window-state-put-2)
18454 (display-buffer-even-window-sizes, display-buffer-set-height)
18455 (display-buffer-set-width, set-window-text-height)
18456 (fit-window-to-buffer): Rename all "resize-window" prefixed
18457 calls to use the "window-resize" prefix convention.
18458 (display-buffer-alist): Fix symbol for label specifier.
18459 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
18460 corresponding specifier.
18461 Reported by Juanma Barranquero <lekktu@gmail.com>.
18462
18463 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
18464
18465 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
18466 convention.
18467 (ses-call-printer): Does not pass an empty string to formatter when the
18468 cell is empty to keep from barking printer Calc math-format-value.
18469
18470 2011-06-27 Richard Stallman <rms@gnu.org>
18471
18472 * battery.el (battery-mode-line-limit): New variable.
18473 (battery-update): Handle it.
18474
18475 * mail/rmailmm.el (rmail-mime-process-multipart):
18476 Handle truncated messages.
18477
18478 2011-06-27 Glenn Morris <rgm@gnu.org>
18479
18480 * progmodes/flymake.el (flymake-err-line-patterns):
18481 Allow for column numbers in the ant/javac pattern. (Bug#8866)
18482
18483 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
18484
18485 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
18486 (ses--clean-!, ses--clean-_): New functions.
18487 (ses-range): Add configurability of readout order, and conversion
18488 to Calc vector.
18489
18490 * ses.el (ses-repair-cell-reference-all): New function.
18491 (ses-cell-symbol): Set macro as safe, so that it can be used in
18492 formulas.
18493
18494 * ses.el: Update cycle detection algorithm.
18495 (ses-localvars): Add ses--Dijkstra-attempt-nb and
18496 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
18497 (ses-set-localvars): New function.
18498 (ses-make-cell): Add property-list as a cell element.
18499 (ses-cell-property-get-fun, ses-cell-property-get)
18500 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
18501 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
18502 New functions.
18503 (ses-cell-property-set, ses-cell-property-pop)
18504 (ses-cell-property-get-handle): New macro.
18505 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
18506 New aliases, used for code readability.
18507 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
18508 cycle detection.
18509 (ses-self-reference-early-detection): New defcustom.
18510 (ses-formula-references): Robustify against self-referring cells.
18511 (ses-mode): Use ses-set-localvars.
18512 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
18513 before lauching the update processing.
18514 (ses-initialize-Dijkstra-attempt): New function.
18515 (ses-recalculate-cell): Update for cycle detection based on
18516 Dijkstra algorithm.
18517
18518 * ses.el: Fix commenting and indenting convention.
18519
18520 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
18521
18522 * bs.el (bs-cycle-next): Complete last change.
18523
18524 2011-06-27 Drew Adams <drew.adams@oracle.com>
18525
18526 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
18527
18528 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
18529
18530 * net/network-stream.el (network-stream-open-starttls):
18531 Don't re-get capabilities unless we've reestablished connection.
18532 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
18533
18534 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
18535 to binary to possibly avoid line encoding issues on Windows (among
18536 other things).
18537
18538 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
18539
18540 * net/network-stream.el (open-network-stream): Return an :error
18541 saying what the problem was, if possible.
18542
18543 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
18544 server.
18545
18546 * net/network-stream.el (network-stream-open-starttls): If we
18547 wanted to use STARTTLS, and the server offered it, but we weren't
18548 able to because we had no STARTTLS support, then close the connection.
18549 (open-network-stream): Return an :error element, if present.
18550
18551 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
18552
18553 * hl-line.el (hl-line-sticky-flag): Doc fix.
18554 (global-hl-line-sticky-flag): New option (Bug#8323).
18555 (global-hl-line-highlight): Obey it.
18556
18557 * vc/vc.el (vc-revert-show-diff): Default to t.
18558
18559 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
18560
18561 * allout-widgets.el (allout-widgets-post-command-business):
18562 Stop decorating intermediate isearch matches. They're not being
18563 undecorated when an isearch is continued past, and isearch
18564 automatically collapses them. This leads to "widget leaks", where
18565 decorated items accumulate in collapsed areas. Lines with lots of
18566 hidden widgets can slow down cursor travel, substantially.
18567 Too much complicated machinery would be needed to ensure undecoration,
18568 so we're doing without this nicety.
18569
18570 (allout-widgets-tally-string): Don't try to do a hash-table-count
18571 of allout-widgets-tally when it's nil. This eliminates spurious "Error
18572 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
18573 *Messages* when allout-widgets-maintain-tally is t.
18574
18575 2011-06-26 Martin Rudalics <rudalics@gmx.at>
18576
18577 * window.el (display-buffer-normalize-argument): Rename to
18578 display-buffer-normalize-arguments. Handle special meaning of
18579 LABEL argument. Respect special-display-function when popping up
18580 a new frame. Fix code searching for a window showing the buffer
18581 on another frame.
18582 (display-buffer-normalize-specifiers):
18583 Call display-buffer-normalize-arguments.
18584 (display-buffer-in-window): Don't undedicate the window if its
18585 buffer remains the same.
18586 Reported by Drew Adams <drew.adams@oracle.com>.
18587 (display-buffer-alist): Add choice for same-window macro
18588 specfier.
18589 (display-buffer): Mention special meaning of LABEL argument in
18590 doc-string. Fix quoting. Don't pop up a new frame even as
18591 fallback.
18592
18593 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
18594
18595 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
18596 avoid deleting the current window in some cases (bug#8911).
18597
18598 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
18599
18600 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
18601 (Bug#8934)
18602
18603 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
18604
18605 * net/network-stream.el (network-stream-open-starttls):
18606 Use built-in TLS support if `gnutls-available-p' is true.
18607 (network-stream-open-tls): Ditto.
18608
18609 2011-06-26 Leo Liu <sdl.web@gmail.com>
18610
18611 * register.el (registerv): New struct.
18612 (registerv-make): New function.
18613 (jump-to-register, describe-register-1, insert-register):
18614 Support the jump-func, print-func and insert-func slot of a registerv
18615 struct. (Bug#8415)
18616
18617 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
18618
18619 * vc/vc.el (vc-revert-show-diff): New defcustom.
18620 (vc-diff-internal): New arg specifying diff buffer.
18621 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
18622 reuse an existing *vc-diff* buffer (Bug#8927).
18623
18624 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
18625
18626 2011-06-26 Glenn Morris <rgm@gnu.org>
18627
18628 * progmodes/f90.el (f90-critical-indent): New option.
18629 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
18630 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
18631 (f90-mode): Doc fix.
18632 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
18633 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
18634 (f90-beginning-of-block, f90-next-block, f90-indent-region)
18635 (f90-match-end): Handle block, critical.
18636
18637 2011-06-25 Glenn Morris <rgm@gnu.org>
18638
18639 * calendar/diary-lib.el (diary-included-files): Doc fix.
18640 (diary-include-files): New function, extracted from
18641 diary-include-other-diary-files and diary-mark-included-diary-files.
18642 (diary-include-other-diary-files, diary-mark-included-diary-files):
18643 Just call diary-include-files.
18644 (diary-mark-entries): Reset diary-included-files on first call.
18645
18646 * calendar/diary-lib.el (diary-mark-entries)
18647 (diary-mark-included-diary-files):
18648 Visit included diary-files in temp buffers.
18649
18650 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
18651 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
18652 (f90-start-block-re, f90-imenu-generic-expression)
18653 (f90-looking-at-program-block-start, f90-no-block-limit):
18654 Add support for submodules.
18655
18656 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
18657 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
18658
18659 2011-06-25 Eli Zaretskii <eliz@gnu.org>
18660
18661 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
18662 buffer-file-type before setting its value, to avoid disastrous
18663 global effects on decoding files for DOS/Windows systems. (Bug#8780)
18664
18665 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
18666
18667 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
18668
18669 * ses.el (ses-unload-function):
18670 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
18671
18672 * proced.el (proced-unload-function):
18673 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
18674
18675 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
18676
18677 * server.el (server-create-window-system-frame): Add parameters arg.
18678 (server-process-filter): Doc fix. Handle frame-parameters.
18679
18680 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
18681
18682 Fix bug#8730, bug#8781.
18683
18684 * loadhist.el (unload--set-major-mode): New function.
18685 (unload-feature): Use it.
18686
18687 * progmodes/python.el (python-after-info-look): Add autoload cookie.
18688 (python-unload-function): New function.
18689
18690 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
18691
18692 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
18693
18694 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
18695
18696 * net/browse-url.el (browse-url-firefox-program): Add icecat to
18697 the candidates list.
18698
18699 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
18700
18701 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
18702
18703 2011-06-23 Richard Stallman <rms@gnu.org>
18704
18705 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
18706 (rmail-variables): Set next-error-move-function.
18707 (rmail-what-message): Take argument POS.
18708 (rmail-next-error-move): New function.
18709
18710 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
18711
18712 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
18713 messages for adjacent non-terminals.
18714
18715 2011-06-23 Richard Stallman <rms@gnu.org>
18716
18717 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
18718 (rmail-show-message-1): Preserve buffer modified flag.
18719 (rmail-start-mail): Don't specify use of rmail-mail-return;
18720 that's done by mail-bury now.
18721 (rmail-mail-return): Handle arg NEWBUF.
18722
18723 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
18724
18725 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
18726 SIZE is a number.
18727
18728 2011-06-23 Martin Rudalics <rudalics@gmx.at>
18729
18730 * window.el (get-lru-window, get-mru-window)
18731 (get-largest-window): Never return a minibuffer window.
18732 (display-buffer-pop-up-window): Fix a bug that could lead to
18733 reusing the minibuffer window.
18734 (display-buffer): Pass original specifier argument to
18735 display-buffer-function instead of the normalized one.
18736 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
18737
18738 2011-06-22 Leo Liu <sdl.web@gmail.com>
18739
18740 * minibuffer.el (completing-read-function)
18741 (completing-read-default): Move from minibuf.c.
18742
18743 2011-06-22 Richard Stallman <rms@gnu.org>
18744
18745 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
18746 to Rmail even if not started by a special Rmail command.
18747
18748 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
18749 Copy the buffer currently showing just one message.
18750
18751 2011-06-22 Roland Winkler <winkler@gnu.org>
18752
18753 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
18754 (bibtex-clean-entry): First delete the old key so that a
18755 customized algorithm for generating the new key does not get
18756 confused by the old key.
18757 (bibtex-url): Obey regexp of first step.
18758 (bibtex-search-entries): Do not use add-to-list with local
18759 list-var.
18760
18761 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
18762
18763 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
18764 stored a user name, then query for the password first, instead of
18765 waiting for SMTP to give an error message and the trying again.
18766
18767 2011-06-22 Lawrence Mitchell <wence@gmx.li>
18768
18769 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
18770 BUFFER in call-process.
18771
18772 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
18773
18774 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
18775 QUIT twice.
18776 (smtpmail-try-auth-methods): Require user name and password from
18777 auth-source.
18778
18779 2011-06-22 Martin Rudalics <rudalics@gmx.at>
18780
18781 * window.el (display-buffer-default-specifiers)
18782 (display-buffer-alist): Remove entries for pop-up-frame-alist.
18783 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
18784 (split-window): Normalize SIDE argument (Bug#8916).
18785
18786 * frame.el (pop-up-frame-alist, pop-up-frame-function)
18787 (special-display-frame-alist, special-display-popup-frame):
18788 Remove duplicate declarations. These are now in window.el.
18789
18790 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18791
18792 * mail/smtpmail.el (smtpmail-via-smtp):
18793 Set :use-starttls-if-possible so that we always use STARTTLS if the
18794 server supports it. SMTP servers that support STARTTLS commonly
18795 require it.
18796
18797 * net/network-stream.el (network-stream-open-starttls): Support
18798 upgrading to STARTTLS always, even if we don't have built-in support.
18799 (open-network-stream): Add the :always-query-capabilities keyword.
18800
18801 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
18802 upgrades with `open-network-stream', and rely solely on
18803 auth-source for all credentials. Big changes throughout the file,
18804 but in particular:
18805 (smtpmail-auth-credentials): Remove.
18806 (smtpmail-starttls-credentials): Remove.
18807 (smtpmail-via-smtp): Check for servers saying they want AUTH after
18808 MAIL FROM, too.
18809
18810 * net/network-stream.el (network-stream-open-starttls):
18811 Provide support for client certificates both for external and built-in
18812 STARTTLS.
18813 (auth-source): Require.
18814 (open-network-stream): Document the :client-certificate keyword.
18815 (network-stream-certificate): Change cert-cert to cert and
18816 cert-key to key.
18817
18818 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
18819
18820 * net/tramp-cache.el (top): Don't load the persistency file when
18821 "emacs -Q" has been called.
18822
18823 2011-06-21 Tim Harper <timcharper@gmail.com>
18824
18825 * term/ns-win.el (ns-initialize-window-system):
18826 Set application-specific `ApplePressAndHoldEnabled' system
18827 resource to NO as it is not yet supported by the NS port.
18828
18829 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
18830
18831 * misc.el (list-dynamic-libraries--refresh): Compute header here...
18832 (list-dynamic-libraries): ...not here.
18833
18834 2011-06-21 Leo Liu <sdl.web@gmail.com>
18835
18836 * subr.el (sha1): Implement sha1 using secure-hash.
18837
18838 2011-06-21 Martin Rudalics <rudalics@gmx.at>
18839
18840 * window.el (display-buffer-alist): In default value do not
18841 enforce searching a window on any but the selected frame.
18842 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
18843 (display-buffer-select-window): Remove function.
18844 (display-buffer-in-window): When a window on another frame gets
18845 reused, do not select it any more but just raise its frame if
18846 necessary (Bug#8851) and (Bug#8856).
18847 (display-buffer-normalize-options): Handle pop-up-frames related
18848 options more faithfully.
18849 (pop-to-buffer): Don't rely on `display-buffer' selecting the
18850 window if it is on another frame.
18851 (display-buffer-alist, display-buffer-default-specifiers):
18852 Don't make new frame unsplittable by default.
18853 (display-buffer-normalize-argument): Fix doc-string typo and use
18854 'same-frame-other-window instead of 'other-window when associating
18855 with display-buffer-macro-specifiers.
18856
18857 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
18858
18859 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
18860 New functions.
18861 (5x5-mode-map, 5x5-mode-menu): Bind them.
18862 (5x5-draw-grid): Tweak the solver's rendering.
18863
18864 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
18865
18866 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
18867 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
18868
18869 2011-06-21 Drew Adams <drew.adams@oracle.com>
18870
18871 * menu-bar.el: Use function variable instead of switch-to-buffer.
18872 (menu-bar-select-buffer-function): New variable.
18873 (menu-bar-update-buffers): Use it (bug#8876).
18874
18875 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
18876
18877 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
18878 variable's status.
18879
18880 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
18881
18882 * x-dnd.el (x-dnd-version-from-flags)
18883 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
18884 and long as number (Bug#8899).
18885 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
18886
18887 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
18888
18889 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
18890 (completion-try-completion, completion-all-completions): Compute the
18891 metadata argument if it's missing; make it optional (bug#8795).
18892
18893 * wid-edit.el: Use lex-bind and move towards completion-at-point.
18894 (widget-complete): Use new :completion-function property.
18895 (widget-completions-at-point): New function.
18896 (default): Use :completion-function instead of :complete.
18897 (widget-default-completions): Rename from widget-default-complete;
18898 Rewrite.
18899 (widget-string-complete, widget-file-complete, widget-color-complete):
18900 Remove functions.
18901 (file, symbol, function, variable, coding-system, color):
18902 * international/mule-cmds.el (default-input-method, charset)
18903 (language-info-custom-alist):
18904 * cus-edit.el (face): Use new property :completions.
18905
18906 * progmodes/pascal.el (pascal-completions-at-point): New function.
18907 (pascal-mode): Use it.
18908 (pascal-mode-map): Use completion-at-point.
18909 (pascal-toggle-completions): Make obsolete.
18910 (pascal-complete-word, pascal-show-completions):
18911 * progmodes/octave-mod.el (octave-complete-symbol):
18912 Redefine as obsolete alias.
18913 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
18914 Signal absence of completion info for old Octave,
18915 (inferior-octave-complete): Redefine as obsolete alias.
18916 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
18917 (meta-completions-at-point): Rename from meta-complete-symbol and
18918 adapt it for use on completion-at-point-functions.
18919 (meta-common-mode): Use it.
18920 (meta-looking-at-backward, meta-match-buffer): Remove.
18921 (meta-complete-symbol): Redefine as obsolete alias.
18922 (meta-common-mode-map): Use completion-at-point.
18923 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
18924 (makefile-mode-map): Use completion-at-point.
18925 (makefile-completions-at-point): Rename from makefile-complete and
18926 adapt it for use on completion-at-point-functions.
18927 (makefile-mode): Use it.
18928 (makefile-complete): Redefine as obsolete alias.
18929
18930 2011-06-20 Deniz Dogan <deniz@dogan.se>
18931
18932 * net/rcirc.el: Delete trailing whitespaces once and for all.
18933
18934 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
18935
18936 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
18937
18938 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
18939
18940 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
18941
18942 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
18943
18944 2011-06-19 Martin Rudalics <rudalics@gmx.at>
18945
18946 * window.el (display-buffer-other-window-means-other-frame):
18947 Call display-buffer-normalize-alist.
18948 (display-buffer-normalize-specifiers-1): Rename to
18949 display-buffer-normalize-argument. New argument other-frame.
18950 Rewrite.
18951 (display-buffer-normalize-specifiers-2): Rename to
18952 display-buffer-normalize-options.
18953 (display-buffer-normalize-alist-1): New function.
18954 (display-buffer-normalize-specifiers-3): Rename to
18955 display-buffer-normalize-alist.
18956 Call display-buffer-normalize-alist-1.
18957 (display-buffer-normalize-options-inhibit): New variable.
18958 (display-buffer-normalize-specifiers): Rewrite calling
18959 display-buffer-normalize-alist,
18960 display-buffer-normalize-argument, and
18961 display-buffer-normalize-options. Don't call the latter if
18962 display-buffer-normalize-options-inhibit is non-nil.
18963 (frame-auto-delete): New option.
18964 (window-deletable-p): Use frame-auto-delete.
18965 (window-list-no-nils, window-state-ignored-parameters)
18966 (window-state-get-1, window-state-get, window-state-put-list)
18967 (window-state-put-1, window-state-put-2, window-state-put):
18968 New functions.
18969 (display-buffer-normalize-options): Move special-display-p group
18970 after pop-up-frame group (Bug#8851) and (Bug#8856).
18971
18972 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
18973
18974 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
18975 groups (Bug#8776).
18976 (rx-submatch-n): New function.
18977 (rx): Document it.
18978
18979 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
18980 (Bug#8768).
18981
18982 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
18983
18984 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
18985
18986 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
18987 anytime existing face settings are present (Bug#8889).
18988
18989 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
18990 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
18991 Remove unused argument.
18992
18993 2011-06-18 Martin Rudalics <rudalics@gmx.at>
18994
18995 * window.el (display-buffer-default-specifiers):
18996 Remove pop-up-frame. Add pop-up-window-min-height,
18997 pop-up-window-min-width, and another reuse-window specifier
18998 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
18999 (display-buffer-normalize-specifiers-2):
19000 Handle split-height-threshold and split-width-threshold also when
19001 pop-up-windows is unset. Add a reuse-window specifier for the
19002 case popping up a new window fails.
19003 (special-display-popup-frame): Remove double quoting.
19004 (display-buffer-normalize-specifiers-1): Fix thinko.
19005
19006 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
19007
19008 * shell.el (shell-completion-vars): Set pcomplete-termination-string
19009 according to comint-completion-addsuffix.
19010
19011 * pcomplete.el: Convert to lexical binding and fix bug#8819.
19012 (pcomplete-suffix-list): Mark as obsolete.
19013 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
19014 pcomplete-seen in the closure.
19015 (pcomplete-comint-setup): Setup completion-at-point as well.
19016 (pcomplete--entries): New function.
19017 (pcomplete--env-regexp): New var.
19018 (pcomplete-entries): Rewrite to work with partial-completion and
19019 without relying on pcomplete-suffix-list.
19020 (pcomplete-pare-list): Remove, unused.
19021
19022 2011-06-17 Martin Rudalics <rudalics@gmx.at>
19023
19024 * window.el (display-buffer-alist): Set pop-up-window-min-height
19025 and pop-up-window-min-width in default value. Reported by
19026 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
19027 other-window-means-other-frame.
19028 (display-buffer-macro-specifiers): Comment out entry for
19029 other-window specifier.
19030 (display-buffer-other-window-means-other-frame): New function.
19031 (display-buffer-normalize-specifiers-1): New arguments
19032 buffer-name and label. Treat other-window case specially.
19033 (display-buffer-normalize-specifiers-2): Treat other-window case
19034 specially.
19035 (display-buffer-normalize-specifiers-3): New function.
19036 (display-buffer-normalize-specifiers):
19037 Call display-buffer-normalize-specifiers-3.
19038
19039 2011-06-17 Martin Rudalics <rudalics@gmx.at>
19040
19041 * window.el (same-window-p): Fix two typos introduced when
19042 adding with-no-warnings.
19043 (display-buffer-normalize-specifiers-1): Don't check
19044 pop-up-frames for 'unset initialization.
19045 (display-buffer-normalize-specifiers-2): Major rewrite using
19046 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
19047 (pop-up-frames, display-buffer-reuse-frames)
19048 (display-buffer-mark-dedicated): Don't initialize to 'unset.
19049 Suggested by David Engster <deng@randomsample.de>.
19050 (even-window-heights): Initialize to 'unset.
19051 (display-buffer-alist-set): Handle new 'unset initializations.
19052 (display-buffer-macro-specifiers): Don't pop up a new frame in the
19053 other window case.
19054
19055 2011-06-16 Martin Rudalics <rudalics@gmx.at>
19056
19057 * window.el (display-buffer-normalize-specifiers-1):
19058 Respect current value of pop-up-frames for most reasonable values of
19059 second argument of display-buffer (Bug#8865).
19060 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
19061 (switch-to-buffer-other-window-same-frame)
19062 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
19063 Adams (Bug#8875).
19064 (display-buffer): Don't check noninteractive when calling
19065 display-buffer-pop-up-frame.
19066 (display-buffer-pop-up-frame): Never pop up a frame in
19067 noninteractive mode (Bug#8857).
19068 (enlarge-window, shrink-window): Don't report an error when the
19069 window can't be resized as requested (Bug#8862).
19070
19071 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
19072
19073 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
19074
19075 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
19076
19077 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
19078
19079 2011-06-15 Alan Mackenzie <acm@muc.de>
19080
19081 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
19082 for declarators, disable knr checking to speed up for normal files.
19083 2: Refactor, replacing a sequence of nested if forms by a cond form.
19084
19085 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
19086
19087 * net/network-stream.el (open-network-stream): Add the keyword
19088 :always-query-capabilities for the case where you want to force a
19089 `plain' network connection, but the protocol still requires the
19090 capabilitiy command (i.e., SMTP and EHLO).
19091
19092 * subr.el (process-live-p): Rename from `process-alive-p' for
19093 consistency with other `-live-p' functions.
19094
19095 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
19096
19097 * window.el (same-window-buffer-names, same-window-regexps)
19098 (special-display-frame-alist, special-display-popup-frame)
19099 (special-display-function, special-display-buffer-names)
19100 (special-display-regexps, pop-up-frame-alist)
19101 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
19102 (pop-up-windows, split-window-preferred-function)
19103 (split-height-threshold, split-width-threshold, even-window-heights)
19104 (display-buffer-mark-dedicated): Don't encourage the use of
19105 display-buffer-alist from Elisp code.
19106
19107 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
19108
19109 * progmodes/python.el (python-mode): Derive from prog-mode.
19110 * progmodes/ps-mode.el (ps-mode):
19111 * progmodes/mixal-mode.el (mixal-mode):
19112 * progmodes/cfengine.el (cfengine-mode):
19113 * progmodes/ld-script.el (ld-script-mode): Likewise.
19114
19115 2011-06-15 Martin Rudalics <rudalics@gmx.at>
19116
19117 * window.el (display-buffer-alist): Trim default value to avoid
19118 popping up a new frame (Bug#8857) or reusing an arbitrary window
19119 on another frame.
19120 (display-buffer): Do not fall back on popping up a new frame in
19121 batch mode (Bug#8857).
19122
19123 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
19124
19125 * cus-theme.el (describe-theme-1): Use custom-theme-p.
19126 (custom-theme-summary): New function.
19127 (customize-themes): Use it.
19128
19129 2011-06-13 Glenn Morris <rgm@gnu.org>
19130
19131 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
19132
19133 2011-06-13 Martin Rudalics <rudalics@gmx.at>
19134
19135 * help.el (help-window): Remove variable.
19136 (help-window-point-marker, temp-buffer-max-height)
19137 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
19138 (help-print-return-message): Don't set help-window.
19139 (resize-temp-buffer-window): Rewrite cod eand doc-string.
19140 (help-window-setup-finish): Remove.
19141 (help-window-display-message, help-window-setup)
19142 (with-help-window): Major rewrite based on new
19143 display-buffer-window variable.
19144
19145 * help-mode.el (help-mode-finish): Remove help-window related
19146 code.
19147
19148 * view.el (view-exits-all-viewing-windows): Remove reference to
19149 view-return-to-alist in doc-string.
19150 (view-return-to-alist): Make obsolete.
19151 (view-buffer): Call pop-to-buffer-same-window and remove
19152 undo-window code.
19153 (view-buffer-other-window): Call pop-to-buffer-other-window and
19154 simplify code. Ignore second argument.
19155 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
19156 simplify code. Ignore second argument.
19157 (view-return-to-alist-update): Make obsolete.
19158 (view-mode-enter): Rename second argument to QUIT-RESTORE.
19159 Rewrite using quit-restore window parameters.
19160 (view-mode-exit): Rename second argument to EXIT-ONLY.
19161 Rewrite using quit-restore-window.
19162 (View-exit, View-exit-and-edit, View-leave, View-quit)
19163 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
19164 appropriate arguments.
19165 (view-end-message): Use quit-restore window parameter.
19166
19167 * window.el (display-buffer-function): Rewrite doc-string.
19168 (display-buffer-window, display-buffer-alist): New variables.
19169 (display-buffer-split-specifiers)
19170 (display-buffer-side-specifiers)
19171 (display-buffer-macro-specifiers): New constants.
19172 (display-buffer-even-window-sizes, display-buffer-set-height)
19173 (display-buffer-set-width, display-buffer-select-window)
19174 (display-buffer-in-window, display-buffer-reuse-window)
19175 (display-buffer-split-window-1, display-buffer-split-window)
19176 (display-buffer-split-atom-window, display-buffer-pop-up-window)
19177 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
19178 (display-buffer-in-side-window, normalize-buffer-to-display)
19179 (display-buffer-normalize-specifiers-1)
19180 (display-buffer-normalize-specifiers-2)
19181 (display-buffer-normalize-specifiers, display-buffer-frame):
19182 New functions.
19183 (display-buffer): Major rewrite.
19184 (display-buffer-other-window, display-buffer-other-frame)
19185 (pop-to-buffer, switch-to-buffer-other-window)
19186 (switch-to-buffer-other-frame): Rewrite.
19187 (display-buffer-same-window, display-buffer-same-frame)
19188 (display-buffer-same-frame-other-window)
19189 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
19190 (pop-to-buffer-other-window)
19191 (pop-to-buffer-same-frame-other-window)
19192 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
19193 (switch-to-buffer-other-window-same-frame): New functions.
19194 (same-window-p, special-display-p): Rewrite disabling warnings.
19195 Make obsolete.
19196 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
19197 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
19198 Make obsolete
19199 (same-window-buffer-names, same-window-regexps)
19200 (special-display-frame-alist, special-display-popup-frame)
19201 (special-display-function, special-display-buffer-names)
19202 (special-display-regexps, pop-up-frame-alist)
19203 (pop-up-frame-function, split-window-preferred-function)
19204 (split-height-threshold, split-width-threshold)
19205 (even-window-heights): Make obsolete.
19206
19207 2011-06-12 Glenn Morris <rgm@gnu.org>
19208
19209 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
19210 Misc simplifications.
19211
19212 2011-06-12 Martin Rudalics <rudalics@gmx.at>
19213
19214 * window.el (window-safely-shrinkable-p): Restore function which
19215 was inadvertently removed in change from 2011-06-11. Declare as
19216 obsolete.
19217
19218 * calendar/calendar.el (calendar-generate-window):
19219 Use window-iso-combined-p instead of combination of one-window-p and
19220 window-safely-shrinkable-p.
19221
19222 2011-06-12 Glenn Morris <rgm@gnu.org>
19223
19224 * progmodes/fortran.el (fortran-mode-syntax-table):
19225 * progmodes/f90.el (f90-mode-syntax-table):
19226 Set % to punctuation. (Bug#8820)
19227 (f90-find-tag-default): Remove, no longer needed.
19228
19229 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
19230
19231 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
19232
19233 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
19234
19235 * image.el (image-animated-p): Return animation delay in seconds.
19236 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
19237 (image-animate-timeout): Remove DELAY argument. Don't assume
19238 every subimage has the same delay; get it from image-animated-p.
19239 (image-animate): Caller changed.
19240
19241 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
19242
19243 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
19244 to ignored backtrace functions.
19245
19246 2011-06-11 Glenn Morris <rgm@gnu.org>
19247
19248 * calendar/appt.el (appt-disp-window-function): Doc fix.
19249 (appt-check): Handle overlapping appointments. (Bug#8337)
19250
19251 2011-06-11 Martin Rudalics <rudalics@gmx.at>
19252
19253 * window.el (window-tree-1, window-tree): New functions, moving
19254 the latter to window.el.
19255 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
19256 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
19257 (bw-refresh-edges): Remove.
19258 (balance-windows-1, balance-windows-2): New functions.
19259 (balance-windows): Rewrite in terms of window tree functions,
19260 balance-windows-1 and balance-windows-2.
19261 (bw-adjust-window): Remove.
19262 (balance-windows-area-adjust): New function with functionality of
19263 bw-adjust-window but using resize-window.
19264 (set-window-text-height): Rewrite doc-string.
19265 Use normalize-live-window and resize-window.
19266 (enlarge-window-horizontally, shrink-window-horizontally):
19267 Rename argument to DELTA.
19268 (window-buffer-height): New function.
19269 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
19270 Rewrite using new window resize routines.
19271 (kill-buffer-and-window, mouse-autoselect-window-select):
19272 Use ignore-errors instead of condition-case.
19273 (quit-window): Call delete-frame instead of delete-windows-on
19274 for the only buffer on frame.
19275
19276 2011-06-10 Martin Rudalics <rudalics@gmx.at>
19277
19278 * loadup.el (top-level): Load window before files for the sake
19279 of replace-buffer-in-windows.
19280
19281 * files.el (read-buffer-to-switch)
19282 (switch-to-buffer-other-window)
19283 (switch-to-buffer-other-frame, display-buffer-other-frame):
19284 Move to window.el.
19285
19286 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
19287 (previous-buffer): Move to window.el.
19288
19289 * bindings.el (unbury-buffer): Move to window.el.
19290
19291 * window.el (delete-other-windows-vertically): Move after
19292 definition of delete-other-windows.
19293 (other-window, delete-windows-on, replace-buffer-in-windows):
19294 Move here from window.c.
19295 (record-window-buffer, unrecord-window-buffer)
19296 (set-window-buffer-start-and-point, switch-to-prev-buffer)
19297 (switch-to-next-buffer): New functions.
19298 (get-next-valid-buffer, last-buffer, next-buffer): Move here
19299 from simple.el. Call switch-to-next-buffer.
19300 (previous-buffer): Move here from simple.el.
19301 Call switch-to-prev-buffer.
19302 (bury-buffer): Move here from buffer.c. Switch to previous
19303 buffer when window cannot be deleted.
19304 (unbury-buffer): Move here from bindings.el.
19305 (ctl-x-map): Move binding for other-window from window.c to
19306 here.
19307 (read-buffer-to-switch, switch-to-buffer-other-window)
19308 (switch-to-buffer-other-frame): Move here from files.el.
19309 (normalize-buffer-to-switch-to): New functions.
19310 (switch-to-buffer): Move here from buffer.c.
19311 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
19312
19313 2011-06-10 Martin Rudalics <rudalics@gmx.at>
19314
19315 * window.el (window-min-height, window-min-width): Move here
19316 from window.c. Add defcustoms and rewrite doc-strings.
19317 (resize-mini-window, resize-window): New functions.
19318 (adjust-window-trailing-edge, enlarge-window, shrink-window):
19319 Move here from window.c.
19320 (maximize-window, minimize-window): New functions.
19321 (delete-window, delete-other-windows, split-window): Move here
19322 from window.c.
19323 (window-split-min-size): New function.
19324 (split-window-keep-point): Mention split-window-above-each-other
19325 instead of split-window-vertically.
19326 (split-window-above-each-other, split-window-vertically):
19327 Rename split-window-vertically to split-window-above-each-other
19328 and provide defalias for old definition.
19329 (split-window-side-by-side, split-window-horizontally):
19330 Rename split-window-horizontally to split-window-side-by-side
19331 and provide defalias for the old definition.
19332 (ctl-x-map): Move bindings for delete-window,
19333 delete-other-windows and enlarge-window here from window.c.
19334 Replace bindings for split-window-vertically and
19335 split-window-horizontally by bindings for
19336 split-window-above-each-other and split-window-side-by-side.
19337
19338 * cus-start.el (all): Remove entries for window-min-height and
19339 window-min-width. Add entries for window-splits and
19340 window-nest.
19341
19342 2011-06-09 Glenn Morris <rgm@gnu.org>
19343
19344 * calendar/appt.el (appt-mode-line): New function.
19345 (appt-check, appt-disp-window): Use it.
19346
19347 * files.el (hack-one-local-variable-eval-safep):
19348 Allow minor-modes with explicit +/-1 arguments.
19349
19350 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
19351
19352 * term/xterm.el (xterm): Add defgroup.
19353 (xterm-extra-capabilities): Add defcustom to supply known xterm
19354 capabilities, skip querying them, or query them (default).
19355 (terminal-init-xterm): Use it.
19356 (terminal-init-xterm-modify-other-keys): New function to set up
19357 modifyOtherKeys support to simplify `terminal-init-xterm'.
19358
19359 2011-06-09 Martin Rudalics <rudalics@gmx.at>
19360
19361 * window.el (resize-window-reset, resize-window-reset-1)
19362 (resize-subwindows-skip-p, resize-subwindows-normal)
19363 (resize-subwindows, resize-other-windows, resize-this-window)
19364 (resize-root-window, resize-root-window-vertically)
19365 (window-deletable-p, window-or-subwindow-p)
19366 (frame-root-window-p): New functions.
19367
19368 2011-06-09 Glenn Morris <rgm@gnu.org>
19369
19370 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
19371 (ange-ftp-get-files): Use it.
19372
19373 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
19374
19375 * mail/sendmail.el (mail-recover-1, mail-recover):
19376 * files.el (recover-file, recover-session):
19377 Handle dired-listing-switches not being just a single short option.
19378
19379 2011-06-09 Glenn Morris <rgm@gnu.org>
19380
19381 * calendar/appt.el (appt-display-message, appt-disp-window):
19382 Handle lists of appointments.
19383
19384 2011-06-08 Martin Rudalics <rudalics@gmx.at>
19385
19386 * window.el (one-window-p): Move down in code.
19387 Rewrite doc-string.
19388 (window-current-scroll-bars): Rewrite doc-string.
19389 Normalize live window argument.
19390 (walk-windows, get-window-with-predicate, count-windows):
19391 Rewrite doc-string. Use window-list-1.
19392 (window-in-direction-2, window-in-direction, get-mru-window):
19393 New functions.
19394
19395 2011-06-08 Reuben Thomas <rrt@sc3d.org>
19396
19397 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
19398 Doc fix (Bug#8713).
19399
19400 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
19401
19402 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
19403
19404 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
19405
19406 * loadhist.el (unload-feature-special-hooks):
19407 Add `comint-output-filter-functions'.
19408
19409 2011-06-08 Ivan Kanis <gnu@kanis.fr>
19410
19411 * calendar/appt.el (appt-check): Move some initializations into the let.
19412
19413 2011-06-08 Martin Rudalics <rudalics@gmx.at>
19414
19415 * window.el (window-height): Defalias to window-total-height.
19416 (window-width): Defalias to window-body-width.
19417
19418 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
19419
19420 * image-mode.el (image-toggle-animation): New command.
19421 (image-mode-map): Bind it to RET.
19422 (image-mode): Update message.
19423 (image-toggle-display-image): Avoid a spurious cache flush.
19424 (image-transform-rotation): Doc fix.
19425 (image-transform-properties): Return quickly in the normal case.
19426 (image-animate-loop): Rename from image-animate-max-time.
19427
19428 * image.el (image-animate-max-time): Move to image-mode.el.
19429 (create-animated-image): Remove unnecessary function.
19430 (image-animate): Rename from image-animate-start. New arg.
19431 (image-animate-stop): Remove; just use image-animate-timer.
19432 (image-animate-timer): Use car-safe.
19433 (image-animate-timeout): Rename argument.
19434
19435 2011-06-07 Martin Rudalics <rudalics@gmx.at>
19436
19437 * window.el (get-lru-window, get-largest-window): Move here from
19438 window.c. Rename first argument to ALL-FRAMES.
19439 Rephrase doc-strings.
19440 (get-buffer-window-list): Rewrite using window-list-1.
19441 Rephrase doc-string.
19442 (window-safe-min-height, window-safe-min-width): New constants.
19443 (window-size-ignore, window-min-size, window-min-size-1)
19444 (window-sizable, window-sizable-p, window-size-fixed-1)
19445 (window-size-fixed-p, window-min-delta-1, window-min-delta)
19446 (window-max-delta-1, window-max-delta, window-resizable)
19447 (window-resizable-p, window-total-height, window-total-width)
19448 (window-body-width): New functions.
19449 (window-full-height-p, window-full-width-p): Rewrite using
19450 window-total-size.
19451 (window-body-height): Rewrite using window-body-size.
19452
19453 2011-06-06 Martin Rudalics <rudalics@gmx.at>
19454
19455 * window.el (window-right, window-left, window-child)
19456 (window-child-count, window-last-child, window-any-p)
19457 (normalize-live-buffer, normalize-live-frame)
19458 (normalize-any-window, normalize-live-window)
19459 (window-iso-combination-p, window-iso-combined-p)
19460 (window-iso-combinations)
19461 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
19462 (windows-with-parameter, window-with-parameter)
19463 (window-atom-root, make-window-atom, window-atom-check-1)
19464 (window-atom-check, window-side-check, window-check):
19465 New functions.
19466 (ignore-window-parameters, window-sides, window-sides-vertical)
19467 (window-sides-slots): New variables.
19468 (window-size-fixed): Move down in code. Minor doc-string fix.
19469
19470 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
19471
19472 * comint.el (comint-dynamic-complete-as-filename)
19473 (comint-dynamic-complete-filename): Correctly call
19474 completion-in-region.
19475
19476 2011-06-05 Deniz Dogan <deniz@dogan.se>
19477
19478 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
19479 in last change.
19480
19481 2011-06-05 Deniz Dogan <deniz@dogan.se>
19482
19483 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
19484 (rcirc): Use it to prompt for encryption.
19485
19486 2011-06-05 Roland Winkler <winkler@gnu.org>
19487
19488 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
19489 (bibtex-search-entries): New command bound to C-c C-a.
19490 (bibtex-display-entries): New function.
19491
19492 2011-06-05 Roland Winkler <winkler@gnu.org>
19493
19494 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
19495 (bibtex-insert-kill): After yanking insert newline if necessary.
19496 (bibtex-initialize): Call bibtex-string-files-init only once.
19497 (bibtex-mode): Do not call easy-menu-add.
19498 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
19499 (bibtex-yank): Set arg properly if nil.
19500
19501 2011-06-05 Roland Winkler <winkler@gnu.org>
19502
19503 * textmodes/bibtex.el (bibtex-search-entry-globally):
19504 New variable.
19505 (bibtex-search-entry): Use it.
19506
19507 2011-06-05 Roland Winkler <winkler@gnu.org>
19508
19509 * textmodes/bibtex.el (bibtex-entry-format): New option
19510 sort-fields.
19511 (bibtex-format-entry, bibtex-reformat): Honor this option.
19512 (bibtex-parse-entry): Return fields in proper order.
19513
19514 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
19515
19516 * doc-view.el (doc-view-remove-if): Move computation of result out
19517 of `dolist' to silence misleading lexical-binding warning.
19518
19519 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
19520
19521 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
19522 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
19523
19524 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
19525
19526 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
19527 "SunOS 5.10".
19528
19529 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
19530
19531 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
19532 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
19533 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
19534 (tramp-parse-putty):
19535 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
19536 (tramp-completion-function-alist-ssh)
19537 (tramp-completion-function-alist-telnet)
19538 (tramp-completion-function-alist-su)
19539 (tramp-completion-function-alist-putty): Set `tramp-autoload'
19540 cookie.
19541
19542 * net/tramp-ftp.el:
19543 * net/tramp-sh.el:
19544 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
19545 load "tramp.el" `tramp-set-completion-function'.
19546
19547 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
19548
19549 * shell.el: Require and use pcomplete.
19550 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
19551 (shell-completion-vars): Set pcomplete-default-completion-function.
19552
19553 2011-06-04 Deniz Dogan <deniz@dogan.se>
19554
19555 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
19556 `memq' (Bug#8799).
19557
19558 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
19559
19560 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
19561
19562 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
19563
19564 * bs.el (bs--mark-unmark, bs--nth-wrapper):
19565 * mpc.el (mpc-select-extend, mpc-songpointer-context):
19566 * vc/log-view.el (log-view-beginning-of-defun):
19567 * vc/smerge-mode.el (smerge-apply-resolution-patch)
19568 (smerge-refine-forward, smerge-refine-chopup-region):
19569 Silence warning for unused `dotimes' counter variables.
19570
19571 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
19572
19573 * net/tramp.el (tramp-with-progress-reporter): Rename from
19574 with-progress-reporter. Use `declare'.
19575 * net/tramp-smb.el:
19576 * net/tramp-sh.el:
19577 * net/tramp-gvfs.el: Update all uses.
19578
19579 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
19580
19581 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
19582 buffer isn't killed before making it current.
19583
19584 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
19585
19586 Silence various byte-compiler warnings.
19587 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
19588 `access-type' and new obsolescence format.
19589 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
19590 new format.
19591 (byte-compile-check-variable): New `access-type' argument.
19592 Only warn if the access-type is obsolete.
19593 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
19594 (byte-compile-variable-set): Adjust callers.
19595 * help-fns.el (describe-variable): Adjust to new obsolescence format.
19596 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
19597 setting it as obsolete.
19598 * simple.el (minibuffer-completing-symbol):
19599 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
19600 access as obsolete.
19601 * minibuffer.el (minibuffer-completing-file-name): Don't make it
19602 obsolete yet.
19603 * international/quail.el (quail-mouse-choose-completion): Remove unused
19604 code referring to obsolete var.
19605 (quail-choose-completion-string): Remove.
19606 * server.el (server-clients-with, server-kill-buffer-query-function)
19607 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
19608 * proced.el (proced-send-signal):
19609 * emacs-lisp/lisp.el (lisp-complete-symbol):
19610 Replace completion-annotate-function with completion-extra-properties.
19611
19612 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
19613
19614 * simple.el (goto-line): Use read-number.
19615 (overriding-map-is-bound): Remove.
19616 (saved-overriding-map): Change default.
19617 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
19618 Take the map as argument.
19619 (universal-argument, negative-argument, digit-argument): Use it.
19620 (restore-overriding-map): Adjust.
19621 (do-auto-fill): Use fill-forward-paragraph.
19622 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
19623
19624 * minibuffer.el (minibuffer-inactive-mode-map): New var.
19625 (minibuffer-inactive-mode): New major mode.
19626 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
19627 the *Messages* buffer" hack.
19628 (mouse-popup-menubar): Don't burp if the event is a normal key.
19629
19630 Miscellaneous tweaks.
19631 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
19632 lexical scoping as in subr.el's dolist and dotimes.
19633 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
19634 Silence compiler warning.
19635 * thingatpt.el (forward-whitespace): Trivial coding style fix.
19636 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
19637 * international/ccl.el (ccl-compile): Trivial simplification.
19638 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
19639 * emacs-lisp/testcover.el (testcover-end): Remove spurious
19640 `printflag' argument.
19641 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
19642 Purecopy the whole obsolescence data.
19643
19644 2011-06-01 Leo Liu <sdl.web@gmail.com>
19645
19646 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
19647 improve doc-string as suggested by Marco Pessotto
19648 <melmothx@gmail.com>.
19649 (rcirc-print): Fix last change.
19650
19651 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
19652
19653 * minibuffer.el (complete-with-action): Return nil for the metadata and
19654 boundaries of non-functional tables.
19655 (completion-table-dynamic): Return nil for the metadata.
19656 (completion-table-with-terminator): Add default case, using
19657 complete-with-action.
19658 (completion--metadata): New function.
19659 (completion-all-sorted-completions, minibuffer-completion-help): Use it
19660 to try and avoid pathological performance problems.
19661 (completion--embedded-envvar-table): Return `category' metadata.
19662
19663 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
19664
19665 * subr.el (process-alive-p): New tiny convenience function.
19666
19667 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
19668
19669 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
19670 content but also its previous major mode.
19671
19672 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
19673
19674 * emacs-lisp/debug.el (debug): Restore the previous content of the
19675 *Backtrace* buffer when we exit with C-M-c.
19676
19677 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
19678
19679 * minibuffer.el: Add metadata method to completion tables.
19680 (completion-category-overrides): New defcustom.
19681 (completion-metadata, completion--field-metadata)
19682 (completion-metadata-get, completion--styles)
19683 (completion--cycle-threshold): New functions.
19684 (completion-try-completion, completion-all-completions):
19685 Add `metadata' argument to choose completion-styles.
19686 (completion--do-completion): Use metadata to choose cycling.
19687 (completion-all-sorted-completions): Use metadata for sorting.
19688 Remove :completion-cycle-penalty which is not needed any more.
19689 (completion--try-word-completion): Add `metadata' argument.
19690 (minibuffer-completion-help): Check metadata for annotation function
19691 and sorting.
19692 (completion-file-name-table): Return `category' metadata.
19693 (minibuffer-completing-file-name): Make obsolete.
19694 * simple.el (minibuffer-completing-symbol): Make obsolete.
19695 * icomplete.el (icomplete-completions): Pass new `metadata' param to
19696 completion-try-completion.
19697
19698 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
19699
19700 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
19701
19702 2011-05-30 Leo Liu <sdl.web@gmail.com>
19703
19704 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
19705 (rcirc-print): Decode all incoming messages (bug#8744).
19706 (rcirc-decode-coding-system): Allow value nil for automatic coding
19707 system detection.
19708
19709 2011-06-01 Glenn Morris <rgm@gnu.org>
19710
19711 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
19712
19713 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
19714
19715 * image.el (image-animate-max-time): Allow nil and t values.
19716 Default to nil.
19717 (create-animated-image): Doc fix.
19718 (image-animate-start): Remove second arg; just use
19719 image-animate-max-time.
19720 (image-animate-timeout): Doc fix. Args changed.
19721
19722 * image-mode.el (image-toggle-display-image): Ensure that the
19723 image spec passed to the animate timer is the same object as in
19724 the buffer's display property (Bug#6981).
19725 (image-transform-properties): Doc fix.
19726
19727 * image.el (image-animate-max-time): Default to nil.
19728
19729 2011-05-29 Martin Rudalics <rudalics@gmx.at>
19730
19731 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
19732 entire buffer list (Bug#8184).
19733
19734 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
19735
19736 * image.el (imagemagick-types-inhibit)
19737 (imagemagick-register-types): Doc fix.
19738
19739 2011-05-29 Deniz Dogan <deniz@dogan.se>
19740
19741 * net/rcirc.el (rcirc): Use the user's stored encryption method by
19742 default.
19743
19744 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
19745
19746 * select.el: Don't perform clipboard-manager saving in hooks;
19747 leave the hooks empty.
19748
19749 2011-05-28 Leo Liu <sdl.web@gmail.com>
19750
19751 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
19752 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
19753 (occur-edit-mode): New major mode (Bug#8463).
19754 (occur-after-change-function): New function.
19755 (occur-engine): Give Occur tags a read-only property.
19756
19757 2011-05-28 Kevin Ryde <user42@zip.com.au>
19758
19759 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
19760
19761 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
19762
19763 * bindings.el (help-echo): Make the initial non-indicator dash
19764 empty on graphical terminals (Bug#7295).
19765
19766 * files.el (auto-mode-alist): Move config rule after the
19767 in-stripping one (Bug#8547).
19768
19769 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
19770
19771 * startup.el (normal-splash-screen): Remove gratuitous mode-line
19772 setting (Bug#8740).
19773
19774 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
19775
19776 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
19777 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
19778 (Bug#8539).
19779
19780 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
19781
19782 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
19783
19784 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
19785
19786 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
19787 (hs-hide-block-at-point, hs-find-block-beginning)
19788 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
19789 (Bug#8279).
19790
19791 2011-05-28 Glenn Morris <rgm@gnu.org>
19792
19793 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
19794
19795 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
19796
19797 * help-fns.el (describe-function-1): If the function is a derived
19798 major mode, print the parent mode.
19799
19800 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
19801 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
19802
19803 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
19804
19805 * minibuffer.el (completion--capf-wrapper): Check applicability before
19806 returning non-nil for non-exclusive completion data.
19807 * progmodes/etags.el (tags-completion-at-point-function):
19808 * info-look.el (info-lookup-completions-at-point): Mark as
19809 non-exclusive.
19810 (info-complete): Adjust accordingly.
19811
19812 * info-look.el: Convert to lexical-binding and completion-at-point.
19813 (info-lookup-completions-at-point): New function.
19814 (info-complete): Use it and completion-in-region.
19815
19816 2011-05-28 Drew Adams <drew.adams@oracle.com>
19817
19818 * isearch.el: Let M-e start with point at the first mismatched char.
19819 (isearch-fail-pos): New function.
19820 (isearch-edit-string): Use it.
19821
19822 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
19823
19824 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
19825
19826 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
19827
19828 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
19829 traversal functions for avl-trees.
19830 (avl-tree--stack): New struct.
19831 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
19832 (avl-tree-enter): Add optional `updatefun' arg.
19833 (avl-tree--do-enter): Add optional `updatefun' arg.
19834 Change return value.
19835 (avl-tree-delete): Add optional `test' and `nilflag' args.
19836 (avl-tree--do-delete): Add `test' and `nilflag' args.
19837 Change return value.
19838 (avl-tree-member): Add optional `nilflag'
19839 (avl-tree-member-p): New function.
19840 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
19841 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
19842 (avl-tree-stack-empty-p): New functions.
19843
19844 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
19845 avl-tree--del-balance1 and make it work both ways.
19846 (avl-tree--del-balance2): Remove.
19847 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
19848 make it work both ways.
19849 (avl-tree--enter-balance2): Remove.
19850 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
19851 New macros.
19852 (avl-tree--mapc, avl-tree-map): Add direction argument.
19853
19854 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
19855
19856 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
19857
19858 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
19859
19860 * select.el: Support clipboard managers with built-in function
19861 x-clipboard-manager-save, via delete-frame-functions and
19862 kill-emacs-hook.
19863 (xselect-convert-to-targets): Add MULTIPLE target to list.
19864 (xselect-convert-to-save-targets): New function.
19865
19866 2011-05-27 Kenichi Handa <handa@m17n.org>
19867
19868 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
19869 let-binding rfc2047-encode-encoded-words to nil.
19870
19871 2011-05-27 Glenn Morris <rgm@gnu.org>
19872
19873 * mail/emacsbug.el: Don't require url-util.
19874
19875 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
19876
19877 * files.el (set-auto-mode):
19878 Also respect mode: entries at the end of the file. (Bug#8586)
19879
19880 2011-05-26 Glenn Morris <rgm@gnu.org>
19881
19882 * files.el (hack-local-variables-prop-line, hack-local-variables):
19883 Downcase mode names, as seems to be traditional.
19884 (hack-local-variables, hack-local-variables-apply): Doc fixes.
19885
19886 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
19887 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
19888
19889 2011-05-25 Julien Danjou <julien@danjou.info>
19890
19891 * textmodes/rst.el (rst-define-level-faces): Do not define face
19892 symbol if it is already defined.
19893
19894 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
19895
19896 * play/5x5.el (5x5-new-game, 5x5-randomize):
19897 Reset 5x5-solver-output to nil when a new grid is cast.
19898 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
19899 these debugging traces, as defmacro breaks the compiled code.
19900
19901 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
19902
19903 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
19904
19905 2011-05-24 Leo Liu <sdl.web@gmail.com>
19906
19907 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
19908 (vc-bzr-sha1): Adapt.
19909
19910 * sha1.el: Remove. Function `sha1' is now builtin.
19911
19912 * bindings.el: Provide sha1 feature.
19913
19914 2011-05-24 Kenichi Handa <handa@m17n.org>
19915
19916 * mail/sendmail.el: Require `rfc2047'.
19917 (mail-insert-from-field): Do not perform RFC2047 encoding.
19918 (mail-encode-header): New function.
19919 (sendmail-send-it): Set buffer-file-coding-system of the work
19920 buffer to the return value of select-message-coding-system.
19921 Call mail-encode-header.
19922
19923 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
19924
19925 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
19926
19927 * mail/supercite.el (sc-default-cite-frame):
19928 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
19929
19930 2011-05-24 Glenn Morris <rgm@gnu.org>
19931
19932 * progmodes/python.el (brm-menu): Declare.
19933
19934 * emulation/viper.el (viper-set-hooks): Declare.
19935
19936 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
19937 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
19938 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
19939 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
19940 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
19941 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
19942
19943 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
19944
19945 Add an :exit-function for completion-at-point.
19946
19947 * minibuffer.el (completion--done): New fun.
19948 (completion--do-completion): Use it. New arg `expect-exact'.
19949 (minibuffer-complete, minibuffer-complete-word): Don't output message,
19950 since completion--do-completion does it for us now.
19951 (minibuffer-force-complete): Use completion--done and
19952 completion--replace. Handle sole-completion case with more care.
19953 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
19954 (completion-extra-properties): New var.
19955 (completion-annotate-function): Make obsolete.
19956 (minibuffer-completion-help): Adjust accordingly.
19957 Use completion-list-insert-choice-function.
19958 (completion-at-point, completion-help-at-point):
19959 Bind completion-extra-properties.
19960 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
19961 * simple.el (completion-list-insert-choice-function): New var.
19962 (completion-setup-function): Preserve it.
19963 (choose-completion): Pay attention to it, shuffle the code a bit.
19964 (choose-completion-string): New arg `insert-function'.
19965
19966 * textmodes/bibtex.el: Convert to lexical binding.
19967 (bibtex-mode-map): Use completion-at-point.
19968 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
19969 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
19970 (bibtex-complete): Define as obsolete alias.
19971 (bibtex-complete-internal): Remove.
19972 (bibtex-format-entry): Remove unused sub-group in regexp.
19973 * shell.el (shell--command-completion-data)
19974 (shell-environment-variable-completion):
19975 * pcomplete.el (pcomplete-completions-at-point):
19976 * comint.el (comint--complete-file-name-data): Use :exit-function
19977 instead of completion-table-with-terminator so it also works for
19978 choose-completion.
19979
19980 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
19981
19982 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
19983
19984 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
19985 (bug#8710).
19986
19987 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
19988
19989 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
19990
19991 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
19992 customization variable and implement: If non-nil, auto-fill will
19993 be inhibited while on topic's header line.
19994
19995 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
19996
19997 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
19998 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
19999 always have a solution in grid size = 5 cases.
20000 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
20001 (5x5-solver-output, 5x5-log-buffer): New vars.
20002 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
20003 Make these variables buffer local to achieve 5x5 multi-session-ness.
20004 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
20005 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
20006 (5x5-solve-suggest): New funs.
20007 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
20008 randomize a grid so that we ensure that there is always a solution.
20009 (5x5-make-random-grid): Allow other movement than flipping.
20010
20011 2011-05-23 Kevin Ryde <user42@zip.com.au>
20012
20013 * emacs-lisp/advice.el (ad-read-advised-function):
20014 Use `function-called-at-point' as the default, if it has
20015 advice and passes PREDICATE.
20016
20017 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
20018
20019 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
20020 byte-compile-lambda if it's actually a lambda.
20021
20022 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
20023 Fix function quoting. Use backquote better.
20024
20025 2011-05-22 Yuanle Song <sylecn@gmail.com>
20026
20027 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
20028 matching (Bug#8516).
20029
20030 2011-01-22 Jari Aalto <jari.aalto@cante.net>
20031
20032 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
20033 different face (Bug#8178).
20034
20035 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
20036
20037 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
20038 defface (Bug#8144).
20039
20040 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
20041
20042 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
20043 funcall as well (bug#8712). Warn when performing those conversions.
20044 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
20045
20046 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
20047
20048 2011-05-22 Glenn Morris <rgm@gnu.org>
20049
20050 * files.el (hack-local-variables-prop-line): Small simplifications.
20051 (hack-local-variables, hack-local-variables-prop-line):
20052 If MODE-ONLY, return the mode, rather than just `t'.
20053
20054 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
20055
20056 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
20057
20058 2011-05-21 Glenn Morris <rgm@gnu.org>
20059
20060 * files.el (hack-local-variables-prop-line, hack-local-variables):
20061 If only interested in the mode, don't bother doing the other stuff.
20062
20063 * image-mode.el (image-after-revert-hook):
20064 Redraw all frames on which the image is visible. (Bug#8567)
20065
20066 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
20067
20068 * wid-edit.el (widget-checklist-match-inline):
20069 Fix 2011-04-19 change. (Bug#8649)
20070
20071 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
20072
20073 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
20074 Also allow singlespace after single-letter capitals followed by a dot.
20075
20076 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
20077 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
20078
20079 2011-05-20 Nix <nix@esperi.org.uk>
20080
20081 * files.el (basic-save-buffer-2):
20082 Fix handling of break-hardlink-on-save with non-existent files.
20083
20084 2011-05-19 Deniz Dogan <deniz@dogan.se>
20085
20086 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
20087 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
20088
20089 2011-05-19 Glenn Morris <rgm@gnu.org>
20090
20091 * progmodes/f90.el (f90-type-def-re):
20092 Handle "type, bind(c)". (Bug#8691)
20093
20094 * emacs-lisp/autoload.el (batch-update-autoloads):
20095 Set autoload-excludes by parsing loadup.el rather than Makefiles.
20096
20097 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
20098
20099 * net/tramp.el (tramp-process-actions): Set "first-password-request"
20100 property for the correct connection in case of multihops.
20101
20102 2011-05-18 Glenn Morris <rgm@gnu.org>
20103
20104 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
20105 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
20106
20107 Rationalize calendar handling of day and month abbrev-arrays.
20108 * calendar/calendar.el (calendar-customized-p): New function.
20109 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
20110 (calendar-day-name-array, calendar-month-name-array): Doc fix.
20111 Add :set function.
20112 (calendar-abbrev-length, calendar-day-abbrev-array)
20113 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
20114 (calendar-day-abbrev-array, calendar-month-abbrev-array):
20115 Elements may no longer be nil.
20116 (calendar-day-name, calendar-month-name):
20117 Update for changed nature of abbrev arrays.
20118 * calendar/diary-lib.el (diary-name-pattern):
20119 Update for changed nature of abbrev arrays.
20120 (diary-mark-entries-1): Update calendar-make-alist calls.
20121 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
20122 * calendar/cal-html.el (cal-html-day-abbrev-array):
20123 Simply inherit from calendar-day-abbrev-array.
20124
20125 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
20126
20127 * progmodes/grep.el (grep-mode): Disable default
20128 compilation-directory-matcher setting (bug#8684).
20129
20130 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
20131
20132 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
20133 instead of "head" and "tail". There were problems with SunOS 5.9,
20134 and it performs better.
20135
20136 2011-05-17 Glenn Morris <rgm@gnu.org>
20137
20138 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
20139
20140 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
20141 Replace obsolete function.
20142
20143 * shell.el (pcomplete-parse-arguments-function): Declare.
20144
20145 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
20146 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
20147 (appt-check): Doc fixes.
20148 (appt-disp-window-function, appt-delete-window-function):
20149 Remove needless special case in custom :type.
20150 (appt-display-count): Default to 0, not nil.
20151 (appt-check): Reset appt-display-count to 0, not nil.
20152
20153 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
20154
20155 * progmodes/python.el (python-font-lock-keywords):
20156 Add the Python 3.X keyword "nonlocal" (bug#8639).
20157
20158 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
20159
20160 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
20161
20162 2011-05-16 Kevin Ryde <user42@zip.com.au>
20163
20164 * info-look.el (makefile-automake-mode): New setups, looking in
20165 automake manual, then makefile-mode.
20166 (makefile-mode): Remove automake manual, have it just in
20167 makefile-automake-mode since there's various things different or
20168 not relevant to plain make.
20169 (makefile-mode): Remove "other-modes" non-existent automake-mode,
20170 believe a hypothetical automake-mode would go to makefile-mode,
20171 not the other way around.
20172
20173 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
20174
20175 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
20176 hunk-end tags (Bug#8672).
20177
20178 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
20179 vc-annotate-show-diff-revision-at-line (Bug#8671).
20180
20181 2011-05-14 Glenn Morris <rgm@gnu.org>
20182
20183 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
20184 in the middle of an existing one with multiple authors. (Bug#8645)
20185 (change-log-font-lock-keywords): Also handle multiple author lines
20186 with leading tabs. (Bug#8644)
20187
20188 * calendar/appt.el (appt-check): Rename some local variables.
20189 Some simplification/reordering.
20190
20191 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
20192 (feedmail-sendmail-f-doesnt-sell-me-out)
20193 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
20194 (feedmail-debug-sit-for, feedmail-queue-express-hook)
20195 (feedmail-queue-runner-message-sender): Set :version.
20196 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
20197 (bbdb-dwim-net-address, vm-mail): Declare.
20198 (feedmail-binmail-gnulinuxish-template):
20199 Rename from feedmail-binmail-linuxish-template.
20200 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
20201 Use insert-buffer-substring.
20202
20203 2011-05-14 Bill Carpenter <bill@carpenter.org>
20204
20205 * mail/feedmail.el (feedmail-patch-level): Increase.
20206 (feedmail-debug): New custom group.
20207 (feedmail-confirm-outgoing-timeout)
20208 (feedmail-sendmail-f-doesnt-sell-me-out)
20209 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
20210 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
20211 (feedmail-sender-line, feedmail-from-line)
20212 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
20213 (feedmail-spray-this-address)
20214 (feedmail-spray-address-fiddle-plex-list)
20215 (feedmail-queue-use-send-time-for-date)
20216 (feedmail-queue-use-send-time-for-message-id)
20217 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
20218 (feedmail-buffer-eating-function):
20219 Doc fixes.
20220 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
20221 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
20222 (feedmail-message-action-scroll-down): New functions.
20223 (feedmail-queue-directory, feedmail-queue-draft-directory):
20224 Use expand-file-name.
20225 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
20226 Remove C-v help entry.
20227 (feedmail-queue-buffer-file-name): New variable.
20228 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
20229 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
20230 (feedmail-message-action-send-strong, feedmail-message-action-edit)
20231 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
20232 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
20233 (feedmail-message-action-toggle-spray)
20234 (feedmail-run-the-queue-no-prompts)
20235 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
20236 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
20237 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
20238 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
20239 (feedmail-envelope-deducer, feedmail-fiddle-from)
20240 (feedmail-fiddle-sender, feedmail-default-date-generator)
20241 (feedmail-fiddle-date, feedmail-fiddle-message-id)
20242 (feedmail-fiddle-spray-address)
20243 (feedmail-fiddle-list-of-spray-fiddle-plexes)
20244 (feedmail-fiddle-list-of-fiddle-plexes)
20245 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
20246 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
20247 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
20248 Change default. Doc fix.
20249 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
20250 (feedmail-binmail-linuxish-template): New constant.
20251 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
20252 Respect feedmail-sendmail-f-doesnt-sell-me-out.
20253 (feedmail-send-it): Add debug call.
20254 Use feedmail-queue-buffer-file-name, and
20255 feedmail-send-it-immediately-wrapper.
20256 (feedmail-message-action-send): Add debug call.
20257 Use feedmail-send-it-immediately-wrapper.
20258 (feedmail-queue-express-to-queue): Add debug call.
20259 Run feedmail-queue-express-hook.
20260 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
20261 (feedmail-message-action-help-blat):
20262 Rename from feedmail-queue-send-edit-prompt-help-first.
20263 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
20264 Check line-endings. Handle errors better.
20265 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
20266 Doc fix. Add debug call.
20267 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
20268 Use feedmail-queue-send-edit-prompt-inner.
20269 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
20270 (feedmail-queue-send-edit-prompt-inner): New function, extracted
20271 from feedmail-queue-send-edit-prompt.
20272 (feedmail-queue-send-edit-prompt-help)
20273 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
20274 (feedmail-tidy-up-slug): Add debug call.
20275 Respect feedmail-queue-slug-suspect-regexp.
20276 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
20277 (feedmail-dump-message-to-queue): Add debug call.
20278 Expand queue-directory.
20279 (feedmail-dump-message-to-queue): Change message slightly.
20280 Use feedmail-say-chatter.
20281 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
20282 (feedmail-send-it-immediately-wrapper): New function.
20283 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
20284 Insert empty string rather than newline. Handle full-frame case.
20285 Use catch/throw. Use feedmail-say-chatter.
20286 (feedmail-fiddle-from): Try mail-host-address.
20287 (feedmail-default-message-id-generator): Doc fix.
20288 Bind system-time-locale. Handle missing end.
20289 (feedmail-fiddle-x-mailer): Add debug call.
20290 Handle feedmail-x-mailer-line being nil.
20291 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
20292 Add debug call. Use buffer-substring-no-properties.
20293 (feedmail-say-debug, feedmail-say-chatter): New functions.
20294 (feedmail-find-eoh): Give an explicit error.
20295
20296 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
20297
20298 * net/newst-treeview.el (newsticker-treeview-face): Change default
20299 family from helvetica to sans.
20300 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
20301 etc/images/newsticker.
20302
20303 * net/newst-reader.el (newsticker-feed-face): Change default
20304 family from helvetica to sans.
20305
20306 * net/newst-plainview.el (newsticker-new-item-face)
20307 (newsticker-old-item-face, newsticker-immortal-item-face)
20308 (newsticker-obsolete-item-face, newsticker-date-face)
20309 (newsticker-statistics-face): Change default family from
20310 helvetica to sans.
20311 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
20312 etc/images/newsticker.
20313
20314 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
20315 (newsticker--process-auto-mark-filter-match): Tell user about
20316 auto-marking.
20317
20318 2011-05-13 Didier Verna <didier@xemacs.org>
20319
20320 Common Lisp indentation improvements on defmethod and lambda-lists.
20321 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
20322 TODO entries.
20323 (lisp-lambda-list-keyword-parameter-indentation)
20324 (lisp-lambda-list-keyword-parameter-alignment)
20325 (lisp-lambda-list-keyword-alignment): New customizable user options.
20326 (lisp-indent-defun-method): Improve docstring.
20327 (extended-loop-p): Fix comment.
20328 (lisp-indent-lambda-list-keywords-regexp): New variable.
20329 (lisp-indent-lambda-list): New function.
20330 (lisp-indent-259): Use it.
20331 (lisp-indent-defmethod): Support for more than one
20332 method qualifier and properly indent methods lambda-lists.
20333 (defgeneric): Provide a missing common-lisp-indent-function property.
20334
20335 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
20336
20337 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
20338 bounds for the empty string (bug#8667).
20339
20340 2011-05-13 Glenn Morris <rgm@gnu.org>
20341
20342 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
20343
20344 * mail/sendmail.el (sendmail-program): Try executable-find first.
20345 (sendmail-send-it): `sendmail-program' cannot be unbound.
20346
20347 * calendar/appt.el (appt-make-list): Simplify.
20348 (appt-time-msg-list): Doc fix.
20349 (appt-check): Change mode-line message at the time of the appointment.
20350
20351 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
20352
20353 * progmodes/ld-script.el (ld-script-keywords)
20354 (ld-script-builtins): Update keywords list.
20355
20356 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
20357
20358 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
20359
20360 * shell.el (shell-completion-vars): New function.
20361 (shell-mode):
20362 * simple.el (read-shell-command): Use it.
20363 (blink-matching-open): No need for " [...]" in minibuffer-message.
20364
20365 2011-05-12 Glenn Morris <rgm@gnu.org>
20366
20367 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
20368 (appt-check): Simplify.
20369
20370 2011-05-12 Eli Zaretskii <eliz@gnu.org>
20371
20372 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
20373 literal "/dev/null".
20374
20375 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
20376
20377 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
20378 Fix typo.
20379
20380 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
20381
20382 * progmodes/which-func.el (which-function):
20383 Use add-log-current-defun instead of add-log-current-defun-function,
20384 which might not be defined (Bug#8260).
20385
20386 2011-05-12 Glenn Morris <rgm@gnu.org>
20387
20388 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
20389 Let byte-compile-initial-macro-environment always take precedence.
20390
20391 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
20392
20393 * net/rcirc.el: Add support for SSL/TLS connections.
20394 (rcirc-server-alist): New field `encryption'.
20395 (rcirc): Check `encryption' settings.
20396 (rcirc-connect): New arg `encryption'. Use open-network-stream.
20397 Merge make-local-variable into `set'.
20398 (rcirc--connection-open-p): New function.
20399 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
20400 the process is not a network process (e.g. running gnutls-cli).
20401 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
20402 Make rcirc-(en|de)code-coding-system local here.
20403 (rcirc-mode): Merge make-local-variable into `set'.
20404 (rcirc-parent-buffer): Make permanent buffer-local.
20405 (rcirc-multiline-minor-mode): Don't do it here.
20406 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
20407 there's no server buffer.
20408
20409 2011-05-11 Glenn Morris <rgm@gnu.org>
20410
20411 * newcomment.el (comment-kill): Prefix "unused" local.
20412
20413 * term/w32console.el (get-screen-color): Declare.
20414
20415 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
20416 Handle symbol elements of byte-compile-initial-macro-environment.
20417
20418 2011-05-10 Leo Liu <sdl.web@gmail.com>
20419
20420 * bookmark.el (bookmark-bmenu-mode-map):
20421 Bind bookmark-bmenu-search to `/'.
20422
20423 * mail/footnote.el: Convert to utf-8 encoding.
20424 (footnote-unicode-string, footnote-unicode-regexp): New variable.
20425 (Footnote-unicode): New function.
20426 (footnote-style-alist): Add unicode style to the list.
20427 (footnote-style): Doc fix.
20428
20429 2011-05-10 Jim Meyering <meyering@redhat.com>
20430
20431 Fix doubled-word typos.
20432 * international/quail.el (quail-insert-kbd-layout): and and -> and
20433 * kermit.el: and and -> and
20434 * net/ldap.el (ldap-search-internal): to to -> to
20435 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
20436 * progmodes/js.el (js-mode): and and -> and
20437 * textmodes/artist.el (artist-move-to-xy): at at -> at
20438 (artist-draw-region-trim-line-endings): if if -> if
20439 And Safetyc -> Safety.
20440 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
20441
20442 2011-05-10 Glenn Morris <rgm@gnu.org>
20443 Stefan Monnier <monnier@iro.umontreal.ca>
20444
20445 * files.el (hack-one-local-variable-eval-safep):
20446 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
20447
20448 2011-05-10 Glenn Morris <rgm@gnu.org>
20449
20450 * calendar/diary-lib.el (diary-list-entries-hook)
20451 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
20452 (diary-nongregorian-marking-hook, diary-list-entries)
20453 (diary-include-other-diary-files, diary-mark-entries)
20454 (diary-mark-included-diary-files): Doc fixes.
20455
20456 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
20457
20458 * misc.el: Require tabulated-list.el during compilation.
20459
20460 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
20461
20462 * progmodes/compile.el (compilation-start):
20463 Run compilation-filter-hook for the async case too.
20464 (compilation-filter-hook): Doc fix.
20465
20466 2011-05-09 Deniz Dogan <deniz@dogan.se>
20467
20468 * wdired.el: Remove outdated installation comment. Fix usage
20469 comment.
20470
20471 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
20472
20473 * misc.el: Implement new command `list-dynamic-libraries'.
20474 (list-dynamic-libraries--loaded-only-p): New variable.
20475 (list-dynamic-libraries--refresh): New function.
20476 (list-dynamic-libraries): New command.
20477
20478 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
20479
20480 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20481 Fix the ant regexp to handle end-line and end-column info from jikes.
20482 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
20483 higher priority to avoid clobbering by gnu.
20484
20485 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
20486
20487 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
20488 if the face has existing theme settings (Bug#8454).
20489
20490 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
20491
20492 * progmodes/perl-mode.el (perl-imenu-generic-expression):
20493 Only match variables declared via `my' or `our' (Bug#8261).
20494
20495 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
20496 special file names `.' and `..' (Bug#8259).
20497
20498 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
20499
20500 * progmodes/grep.el (grep-mode-font-lock-keywords):
20501 Remove buffer-changing entries.
20502 (grep-filter): New function.
20503 (grep-mode): Add it to compilation-filter-hook.
20504
20505 * progmodes/compile.el (compilation-filter-hook)
20506 (compilation-filter-start): New defvars.
20507 (compilation-filter): Call compilation-filter-hook prior to
20508 updating the process mark.
20509
20510 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
20511
20512 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
20513
20514 2011-05-07 Eli Zaretskii <eliz@gnu.org>
20515
20516 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
20517 mailclient-send-it even if window-system is nil. (Bug#8595)
20518
20519 * term/w32console.el (terminal-init-w32console):
20520 Call get-screen-color and use its output to set the frame
20521 background-mode. (Bug#8597)
20522
20523 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
20524
20525 Make bytecomp.el understand that defmethod defines funs (bug#8631).
20526 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
20527 New functions.
20528 (defgeneric, eieio--defmethod): Use them.
20529 (eieio-defgeneric): Remove.
20530 (defmethod): Call defgeneric in a way visible to the byte-compiler.
20531
20532 2011-05-07 Glenn Morris <rgm@gnu.org>
20533
20534 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
20535 Use let rather than let*.
20536 (timeclock-find-discrep): Remove unused local.
20537
20538 * calendar/diary-lib.el (diary-comment-start): Doc fix.
20539
20540 * calendar/appt.el (appt-time-msg-list): Doc fix.
20541
20542 2011-05-06 Noah Friedman <friedman@splode.com>
20543
20544 * apropos.el (apropos-print-doc): Only use
20545 emacs-lisp-docstring-fill-column when it is bound to an integer,
20546 per that variable's documentation.
20547
20548 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
20549
20550 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
20551 and warnings are not silently discarded (e.g. use -d instead of -P).
20552
20553 2011-05-06 Glenn Morris <rgm@gnu.org>
20554
20555 * calendar/appt.el (appt-message-warning-time): Doc fix.
20556 (appt-warning-time-regexp): New option.
20557 (appt-make-list): Respect appt-message-warning-time.
20558
20559 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
20560 New options.
20561 (diary-add-to-list): Strip comments from the displayed string.
20562 (diary-mode): Set comment-start and comment-end.
20563
20564 * vc/diff-mode.el (smerge-refine-subst): Declare.
20565 (diff-refine-hunk): Don't require smerge-mode when compiling.
20566
20567 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
20568
20569 * simple.el (list-processes): Return nil as the docstring says.
20570
20571 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
20572
20573 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
20574 to "".
20575 (ange-ftp-write-region, ange-ftp-insert-file-contents)
20576 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
20577 determining of binary transfer. (Bug#7383)
20578
20579 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
20580
20581 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20582 Fix port computation bug. (Bug#8618)
20583
20584 2011-05-05 Glenn Morris <rgm@gnu.org>
20585
20586 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
20587
20588 * simple.el (shell-dynamic-complete-functions)
20589 (comint-dynamic-complete-functions): Declare.
20590
20591 * net/network-stream.el (gnutls-negotiate):
20592 * simple.el (tabulated-list-print): Fix declarations.
20593
20594 * progmodes/gud.el (syntax-symbol, syntax-point):
20595 Remove unnecessary and incorrect declarations.
20596
20597 * emacs-lisp/check-declare.el (check-declare-scan):
20598 Handle byte-compile-initial-macro-environment in bytecomp.el.
20599
20600 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
20601
20602 Fix earlier half-done eieio-defmethod change (bug#8338).
20603 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
20604 Streamline and change calling convention.
20605 (defmethod): Adjust accordingly and simplify.
20606 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
20607 new eieio--defmethod.
20608 (slot-boundp): Minor CSE simplification.
20609
20610 2011-05-05 Milan Zamazal <pdm@zamazal.org>
20611
20612 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
20613 (glasses-make-readable): Use glasses-separate-capital-groups.
20614
20615 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
20616
20617 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
20618 (warning-series): Doc fix.
20619 (display-warning): Don't try to create the buffer if we just found it.
20620
20621 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
20622
20623 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
20624 (autoload-find-generated-file): New function.
20625 (generate-file-autoloads): Bind generated-autoload-file to
20626 buffer-file-name.
20627 (update-file-autoloads, update-directory-autoloads):
20628 Use autoload-find-generated-file. If called interactively, prompt for
20629 output file (Bug#7989).
20630 (batch-update-autoloads): Doc fix.
20631
20632 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
20633
20634 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
20635
20636 2011-05-04 Glenn Morris <rgm@gnu.org>
20637
20638 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
20639 function, so it follows changes in calendar-date-style.
20640 (diary-fancy-date-matcher): New function.
20641 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
20642 (diary-fancy-font-lock-fontify-region-function):
20643 Use diary-fancy-date-pattern as a function.
20644
20645 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
20646 non-numbers for `year' etc pseudo-variables. (Bug#8583)
20647
20648 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
20649
20650 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
20651 instead of positional arguments. Allow :keylist and :crlfiles
20652 arguments.
20653 (open-gnutls-stream): Call it.
20654
20655 * net/network-stream.el (network-stream-open-starttls): Adjust to
20656 call `gnutls-negotiate' with :process and :hostname arguments.
20657
20658 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
20659
20660 * minibuffer.el (completion--message): New function.
20661 (completion--do-completion, minibuffer-complete)
20662 (minibuffer-force-complete, minibuffer-complete-word): Use it.
20663 (completion--do-completion): Don't ignore completion-auto-help when in
20664 icomplete-mode.
20665
20666 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
20667 internal encoding (e.g. tibetan zero is not whitespace).
20668 (global-whitespace-mode): Prefer save-current-buffer.
20669 (whitespace-trailing-regexp): Remove useless save-match-data.
20670 (whitespace-empty-at-bob-regexp): Minor simplification.
20671
20672 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
20673
20674 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
20675
20676 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
20677
20678 * textmodes/ispell.el (ispell-add-per-file-word-list):
20679 Use `concat' to create string for insertion.
20680
20681 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
20682
20683 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
20684 Avoid open-line which runs post-self-insert-hook.
20685 (bibtex-fill-entry): Remove unused `end' var.
20686
20687 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
20688
20689 * textmodes/ispell.el (ispell-add-per-file-word-list):
20690 Protect against `nil' value of `comment-start' (Bug#8579).
20691
20692 2011-05-03 Leo Liu <sdl.web@gmail.com>
20693
20694 * isearch.el (isearch-yank-pop): New command.
20695 (isearch-mode-map): Bind it to `M-y'.
20696 (isearch-forward): Mention it.
20697
20698 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
20699
20700 * simple.el (minibuffer-complete-shell-command): Remove.
20701 (minibuffer-local-shell-command-map): Use completion-at-point.
20702 (read-shell-command): Setup completion vars here instead.
20703 (read-expression-map): Bind TAB to symbol completion.
20704
20705 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
20706 error directly rather via storing it into `results'.
20707
20708 2011-05-02 Leo Liu <sdl.web@gmail.com>
20709
20710 * vc/diff.el: Fix description.
20711
20712 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20713
20714 * server.el (server-eval-at): New function.
20715
20716 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
20717
20718 * net/network-stream.el (open-network-stream): Take a :nowait
20719 parameter and pass it on to `make-network-process'.
20720 (network-stream-open-plain): Ditto.
20721
20722 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
20723
20724 * faces.el (face-spec-set-match-display): Don't match toolkit
20725 options on terminal frames.
20726
20727 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
20728
20729 * progmodes/pascal.el: Use lexical binding.
20730 (pascal-mode-map): Remove author preferences.
20731
20732 * pcomplete.el (pcomplete-std-complete): Don't abuse
20733 completion-at-point.
20734
20735 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
20736
20737 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
20738 removing code that has been dead since 1991 or so.
20739
20740 * startup.el (command-line): When warning about "_emacs", use a
20741 delayed warning to allow the user to filter it out.
20742
20743 2011-04-28 Deniz Dogan <deniz@dogan.se>
20744
20745 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
20746 user has not joined.
20747
20748 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
20749
20750 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
20751 aren't any completions at point.
20752
20753 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
20754
20755 * subr.el (display-delayed-warnings): New function.
20756 (delayed-warnings-hook): New variable.
20757
20758 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
20759
20760 * minibuffer.el (completion-at-point, completion-help-at-point):
20761 Don't presume that a given completion-at-point-function will always
20762 use the same calling convention.
20763
20764 * pcomplete.el (pcomplete-completions-at-point):
20765 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
20766 pcomplete-seen is non-nil.
20767 (pcomplete-comint-setup): Also recognize the new comint/shell
20768 completion functions.
20769 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
20770 pcomplete-seen is non-nil.
20771
20772 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
20773
20774 * calendar/icalendar.el (diary-lib): Add require statement.
20775 (icalendar--create-uid): Read out a uid from a text-property on
20776 the first character in the entry. This allows for code to add its
20777 own uid to the entry.
20778 (icalendar--convert-float-to-ical): Add export of
20779 `diary-float'-entries save for those with the optional DAY
20780 argument.
20781
20782 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
20783
20784 * subr.el (shell-quote-argument): Use alternate escaping strategy
20785 when we spot a variable reference in a string.
20786
20787 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
20788
20789 * cus-start.el (all): Define customization for debug-on-event.
20790
20791 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
20792
20793 * subr.el (shell-quote-argument): Escape correctly under Windows.
20794
20795 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
20796
20797 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
20798
20799 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
20800
20801 * net/tramp.el (tramp-process-actions): Add POS argument.
20802 Delete region between POS and (pos).
20803
20804 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20805 Use `nil' position in `tramp-process-actions' call.
20806 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
20807
20808 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
20809 position in `tramp-process-actions' call.
20810
20811 * net/trampver.el: Update release number.
20812
20813 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
20814
20815 * custom.el (defcustom): Obey lexical-binding.
20816
20817 Fix octave-inf completion problems reported by Alexander Klimov.
20818 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
20819 Inherit from octave-mode-syntax-table.
20820 (inferior-octave-mode): Set info-lookup-mode.
20821 (inferior-octave-completion-at-point): New function.
20822 (inferior-octave-complete): Use it and completion-in-region.
20823 (inferior-octave-dynamic-complete-functions): Use it as well, and use
20824 comint-filename-completion.
20825 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
20826 symbol elements which shouldn't be word elements.
20827 (octave-font-lock-keywords, octave-beginning-of-defun)
20828 (octave-function-header-regexp): Adjust regexps accordingly.
20829 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
20830
20831 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
20832
20833 * net/gnutls.el (gnutls-errorp): Declare before first use.
20834
20835 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
20836
20837 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
20838 verify-error, and verify-hostname-error parameters. Check whether
20839 default trustfile exists before going to use it. Add missing
20840 argument to gnutls-message-maybe call. Return value.
20841 Reported by Claudio Bley <claudio.bley@gmail.com>.
20842 (open-gnutls-stream): Add usage example.
20843
20844 * net/network-stream.el (network-stream-open-starttls): Give host
20845 parameter to `gnutls-negotiate'.
20846 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
20847 * subr.el (shell-quote-argument): Escape correctly under Windows.
20848
20849 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
20850
20851 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
20852 Use correct match group (bug#8438).
20853
20854 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
20855
20856 * emacs-lisp/package.el (package-built-in-p): Fix typo.
20857 (package-menu--generate): New arg specifying packages to show.
20858 (package-menu-refresh, package-menu-execute, list-packages):
20859 Callers changed.
20860 (package-show-package-list): New function, replacing deleted
20861 package--list-packages (renamed because it is non-internal).
20862
20863 * finder.el (finder-list-matches): Use package-show-package-list
20864 instead of deleted package--list-packages.
20865
20866 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
20867 Based on a previous implementation by Juanma Barranquero (Bug#8366).
20868 (vc-annotate-mode-map): Bind it to RET.
20869
20870 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
20871
20872 * progmodes/etags.el (next-file): Don't use set-buffer to change
20873 buffers (Bug#8478).
20874
20875 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
20876
20877 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
20878
20879 * apropos.el (apropos-label-face): Avoid variable-pitch face.
20880 (apropos-accumulator): Doc fix.
20881 (apropos-function, apropos-macro, apropos-command)
20882 (apropos-variable, apropos-face, apropos-group, apropos-widget)
20883 (apropos-plist): Add face property.
20884 (apropos-symbols-internal): Fix indentation.
20885 (apropos-print): Simplify help, and recognize apropos-multi-type.
20886 (apropos-print-doc): Use button-type-get to extract the button's
20887 face property. Fill docstring (Bug#8352).
20888
20889 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
20890
20891 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
20892
20893 * play/mpuz.el (mpuz-silent): Doc fix.
20894 (mpuz-mode-map): Use mapc.
20895 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
20896 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
20897 Fix typos in docstrings.
20898
20899 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
20900 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
20901
20902 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
20903
20904 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
20905
20906 * minibuffer.el (completion--do-completion): Avoid the "Next char
20907 not unique" prompt if icomplete-mode is enabled (Bug#5849).
20908
20909 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
20910 mouse-2 into unread-command-events, it is interpreted correctly.
20911
20912 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
20913 (image-toggle-display): Doc fix.
20914
20915 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
20916
20917 * textmodes/page.el (what-page): Use line-number-at-pos to
20918 calculate line number (Bug#6825).
20919
20920 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
20921
20922 * eshell/esh-mode.el (find-tag-interactive): Declare function.
20923 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
20924 Pass argument NO-DEFAULT to `find-tag-interactive'.
20925
20926 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
20927
20928 Lexical-binding cleanup.
20929
20930 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
20931 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
20932 * progmodes/ada-prj.el (ada-prj-initialize-values)
20933 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
20934 (ada-prj-show-value):
20935 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
20936 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
20937 (antlr-invalidate-context-cache, antlr-options-menu-filter)
20938 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
20939 * progmodes/bug-reference.el (bug-reference-push-button):
20940 * progmodes/fortran.el (fortran-line-length):
20941 * progmodes/glasses.el (glasses-change):
20942 * progmodes/octave-mod.el (octave-fill-paragraph):
20943 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
20944 (python-pdbtrack-grub-for-buffer, python-sentinel):
20945 * progmodes/sql.el (sql-save-connection):
20946 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
20947 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
20948 Mark unused parameters.
20949
20950 * progmodes/compile.el (compilation--flush-directory-cache)
20951 (compilation--flush-parse, compile-internal): Mark unused parameters.
20952 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
20953 (compilation-next-error-function): Remove unused variable `timestamp'.
20954
20955 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
20956 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
20957
20958 * progmodes/dcl-mode.el (dcl-end-of-command):
20959 Remove unused variable `start'.
20960 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
20961 (dcl-option-value-basic, dcl-option-value-offset)
20962 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
20963 Mark unused parameters.
20964 (dcl-save-local-variable): Remove unused variable `val'.
20965 (mode): Declare.
20966
20967 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
20968 Mark unused parameters.
20969 (delphi-ignore-changes): Move before first use.
20970 (delphi-charset-token-at): Remove unused variable `start'.
20971 (delphi-else-start): Remove unused variable `if-count'.
20972 (delphi-comment-block-start, delphi-comment-block-end):
20973 Remove unused variable `kind'.
20974 (delphi-indent-line): Remove unused variable `new-point'.
20975
20976 * progmodes/ebrowse.el (ebrowse-files-list)
20977 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
20978 Mark unused parameters. Don't quote `lambda'.
20979 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
20980 Don't quote `lambda'.
20981 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
20982 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
20983 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
20984 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
20985 Use `ignore-errors'.
20986 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
20987 (ebrowse-view/find-file-and-search-pattern)
20988 (ebrowse-view/find-member-declaration/definition):
20989 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
20990 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
20991 Rename parameter PREFIX-ARG to PREFIX.
20992 (ebrowse-tags-read-name): Remove unused variables `start' and
20993 `member-info'.
20994 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
20995 to `tags-file'.
20996
20997 * progmodes/etags.el (local-find-tag-hook): Declare.
20998 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
20999 Mark unused parameters.
21000
21001 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
21002 (executable-interpret): Mark unused parameter.
21003
21004 * progmodes/flymake.el (flymake-process-sentinel)
21005 (flymake-after-change-function)
21006 (flymake-create-temp-with-folder-structure)
21007 (flymake-get-include-dirs-dot): Mark unused parameters.
21008 (flymake-safe-delete-directory): Remove unused variable `err'.
21009
21010 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
21011 (speedbar-timer-fn, speedbar-line-text)
21012 (speedbar-change-expand-button-char, speedbar-delete-subblock)
21013 (speedbar-center-buffer-smartly): Declare functions.
21014 (gdb-find-watch-expression): Remove unused variable `array'.
21015 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
21016 (gdb-starting): Mark unused parameters.
21017 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
21018 (gdb-table-string): Remove unused variable `res'.
21019 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
21020 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
21021 (gdb-display-buffer): Remove unused variable `cur-size'.
21022
21023 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
21024 allow lexical-binding compilation.
21025 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
21026 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
21027 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
21028 Mark unused parameters.
21029 (gud-gdb-marker-filter): Remove unused variable `match'.
21030 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
21031 lambda expressions and funcall them, instead of using `fset'.
21032
21033 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
21034 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
21035
21036 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
21037 variable `header-beg'; use `let'.
21038
21039 * progmodes/icon.el (indent-icon-exp): Remove unused variables
21040 `restart', `last-sexp' and `at-do'.
21041
21042 * progmodes/js.el (js--debug): Mark unused parameter.
21043 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
21044 (js--splice-into-items): Remove unused variable `item'.
21045 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
21046
21047 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
21048 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
21049 (makefile-complete): Remove unused variable `try'.
21050 (makefile-fill-paragraph, makefile-match-function-end):
21051 Mark unused parameters.
21052
21053 * progmodes/octave-inf.el (inferior-octave-complete):
21054 Remove unused variable `proc'.
21055 (inferior-octave-output-digest): Mark unused parameter.
21056
21057 * progmodes/perl-mode.el (perl-calculate-indent):
21058 Remove unused variable `err'.
21059
21060 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
21061 (prolog-indent-line): Mark unused parameters.
21062 (prolog-indent-line): Remove unused variable `beg'.
21063
21064 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
21065 (reporter-dont-compact-list): Declare.
21066
21067 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
21068 Remove unused variable `char'.
21069 (sh-debug): Mark unused parameter.
21070 (sh-get-indent-info): Remove unused variable `start'.
21071 (sh-calculate-indent): Remove unused variable `var'.
21072
21073 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
21074 (simula-electric-keyword): Remove unused variable `null'.
21075 (simula-search-backward, simula-search-forward): Remove unused
21076 variables `begin' and `end'.
21077
21078 * progmodes/vera-mode.el (vera-guess-basic-syntax):
21079 Remove unused variable `pos'.
21080 (vera-electric-tab, vera-comment-uncomment-region):
21081 Mark unused parameters.
21082 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
21083
21084 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
21085
21086 * emacs-lisp/package.el (package--builtins, package-alist)
21087 (package-load-descriptor, package-built-in-p, package-activate)
21088 (define-package, package-installed-p)
21089 (package-compute-transaction, package-buffer-info)
21090 (package--push): Doc fix. Distinguish more clearly between
21091 version strings and version lists.
21092
21093 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
21094
21095 Lexical-binding cleanup.
21096
21097 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
21098 (5x5-make-mutate-best):
21099 * play/fortune.el (fortune-in-buffer):
21100 * play/gomoku.el (gomoku-init-display):
21101 * play/solitaire.el (solitaire, solitaire-do-check):
21102 * play/tetris.el (tetris-default-update-speed-function):
21103 Mark unused parameters.
21104
21105 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
21106 (bubbles--shift): Remove unused variable `char-org'.
21107 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
21108 (bubbles--show-images): Remove unused variable `char'.
21109
21110 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
21111 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
21112 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
21113 (decipher-analyze-buffer): Use ?\s.
21114 (decipher-make-checkpoint): Remove unused variable `mapping'.
21115
21116 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
21117
21118 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
21119 Remove unused variable `result'; use `let'.
21120
21121 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
21122 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
21123 (gametree-children-shown-p, gametree-compute-reduced-score):
21124 Use `ignore-errors'.
21125
21126 * play/handwrite.el (ps-lpr-switches): Declare.
21127 (handwrite): Remove unused variables `pmin' and `lastp'.
21128
21129 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
21130
21131 * play/landmark.el (landmark-init-display)
21132 (landmark-update-naught-weights): Mark unused parameters.
21133 (landmark-y): Remove unused variable `noise'. Simplify.
21134 (landmark-human-plays): Remove unused variable `score'.
21135
21136 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
21137 (mpuz-try-proposal): Remove unused variable `game'.
21138
21139 * play/zone.el (life-patterns): Declare.
21140
21141 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
21142
21143 * vc/vc.el (ediff-vc-internal): Declare function.
21144
21145 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
21146
21147 * shell.el: Use lexical-binding and std completion UI.
21148 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
21149 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
21150 comint-preoutput-filter-functions rather than on
21151 comint-output-filter-functions.
21152 (shell-command-completion, shell--command-completion-data)
21153 (shell-filename-completion, shell-environment-variable-completion)
21154 (shell-c-a-p-replace-by-expanded-directory): New functions.
21155 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
21156 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
21157 (shell-dynamic-complete-environment-variable): Use them.
21158 (shell-dynamic-complete-as-environment-variable)
21159 (shell-dynamic-complete-as-command): Remove.
21160 (shell-match-partial-variable): Match past point.
21161 * comint.el: Clean up use of completion-at-point-functions.
21162 (comint-completion-at-point): New function.
21163 (comint-mode): Use it completion-at-point-functions.
21164 (comint-dynamic-complete): Make it obsolete.
21165 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
21166 (comint-c-a-p-replace-by-expanded-history): New function.
21167 (comint-dynamic-complete-functions)
21168 (comint-replace-by-expanded-history): Use it.
21169 * minibuffer.el (completion-table-with-terminator): Allow dynamic
21170 termination strings. Try harder to avoid second try-completion.
21171 (completion-in-region-mode-map): Disable bindings that don't work yet.
21172
21173 * comint.el: Use lexical-binding. Require CL.
21174 (comint-dynamic-complete-functions): Use comint-filename-completion.
21175 (comint-completion-addsuffix): Tweak custom type.
21176 (comint-filename-completion, comint--common-suffix)
21177 (comint--common-quoted-suffix, comint--table-subvert)
21178 (comint--complete-file-name-data): New functions.
21179 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
21180 (comint-dynamic-list-filename-completions): Use them.
21181 (comint-dynamic-simple-complete): Make obsolete.
21182
21183 * minibuffer.el (completion-in-region-mode):
21184 Keep completion-in-region-mode--predicate global.
21185 (completion-in-region--postch):
21186 Assume completion-in-region-mode--predicate is not null.
21187
21188 * progmodes/flymake.el (flymake-start-syntax-check-process):
21189 Obey `dir'. Simplify.
21190
21191 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
21192 we're in VC after all.
21193
21194 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
21195
21196 * vc/vc.el (vc-diff-build-argument-list-internal)
21197 (vc-version-ediff, vc-ediff): New commands.
21198 (vc-version-diff): Use vc-diff-build-argument-list-internal.
21199
21200 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
21201
21202 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
21203 add sanity check.
21204
21205 * obsolete/erc-hecomplete.el: Make obsolete.
21206 * obsolete/: Standardize obsolescence info in the header.
21207
21208 2011-04-20 Glenn Morris <rgm@gnu.org>
21209
21210 * calendar/solar.el (solar-horizontal-coordinates):
21211 Use the longitude argument rather than `calendar-longitude'.
21212 (solar-date-next-longitude): Remove unused locals.
21213
21214 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
21215
21216 * whitespace.el: New version 13.2.1.
21217
21218 2011-04-20 felix <EmacsWiki> (tiny change)
21219
21220 * whitespace.el (global-whitespace-mode): Keep highlight when
21221 switching between major modes on a file.
21222
21223 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
21224
21225 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
21226 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
21227 multi-line comments as well.
21228
21229 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
21230
21231 Lexical-binding cleanup.
21232
21233 * arc-mode.el (archive-mode-revert):
21234 * cmuscheme.el (scheme-interactively-start-process):
21235 * custom.el (custom-initialize-delay):
21236 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
21237 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
21238 * emacs-lock.el (emacs-lock-clear-sentinel):
21239 * ezimage.el (defezimage):
21240 * follow.el (follow-avoid-tail-recenter):
21241 * fringe.el (set-fringe-mode-1):
21242 * generic-x.el (bat-generic-mode-compile):
21243 * help-mode.el (help-info-variable, help-do-xref)
21244 (help-mode-revert-buffer):
21245 * help.el (view-emacs-todo):
21246 * iswitchb.el (iswitchb-completion-help):
21247 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
21248 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
21249 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
21250 * locate.el (locate-update):
21251 * longlines.el (longlines-encode-region)
21252 (longlines-after-change-function):
21253 * outline.el (outline-isearch-open-invisible):
21254 * ps-def.el (declare-function, charset-dimension, char-width)
21255 (encode-char):
21256 * ps-mule.el (ps-mule-plot-string):
21257 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
21258 (recentf-edit-list-select, recentf-edit-list-validate)
21259 (recentf-open-files-action):
21260 * rect.el (delete-whitespace-rectangle-line)
21261 (rectangle-number-line-callback):
21262 * register.el (window-configuration-to-register)
21263 (frame-configuration-to-register):
21264 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
21265 * select.el (xselect-convert-to-string, xselect-convert-to-length)
21266 (xselect-convert-to-targets, xselect-convert-to-delete)
21267 (xselect-convert-to-filename, xselect-convert-to-charpos)
21268 (xselect-convert-to-lineno, xselect-convert-to-colno)
21269 (xselect-convert-to-os, xselect-convert-to-host)
21270 (xselect-convert-to-user, xselect-convert-to-class)
21271 (xselect-convert-to-name, xselect-convert-to-integer)
21272 (xselect-convert-to-atom, xselect-convert-to-identity):
21273 * subr.el (declare, ignore, process-kill-without-query)
21274 (text-clone-maintain):
21275 * terminal.el (te-get-char, te-tic-sentinel):
21276 * tool-bar.el (tool-bar-make-keymap):
21277 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
21278 * type-break.el (type-break-mode, type-break-noninteractive-query):
21279 * view.el (View-back-to-mark):
21280 * wid-browse.el (widget-browse-action, widget-browse-widget)
21281 (widget-browse-widgets, widget-browse-sexp):
21282 * widget.el (define-widget-keywords):
21283 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
21284 Mark unused parameters.
21285
21286 * align.el (align-adjust-col-for-rule): Mark unused parameter.
21287 (align-areas): Remove unused variable `look'.
21288 (align-region): Remove unused variables `real-end' and `pos-list'.
21289
21290 * apropos.el (apropos-score-doc): Remove unused variable `i'.
21291
21292 * bindings.el (mode-line-modified, mode-line-remote):
21293 Mark unused parameters.
21294 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
21295
21296 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
21297 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
21298
21299 * comint.el (comint-history-isearch-pop-state)
21300 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
21301 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
21302 (comint-substitute-in-file-name): Doc fix.
21303
21304 * completion.el (cmpl-statistics-block): Mark unused parameter.
21305 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
21306 (save-completions-to-file, load-completions-from-file):
21307 Remove unused local variable `e'.
21308
21309 * composite.el (compose-chars): Remove unused variable `len'.
21310 (lgstring-insert-glyph): Remove unused variable `g'.
21311 (compose-glyph-string): Remove unused variables `ascent',
21312 `descent', `lbearing' and `rbearing'.
21313 (compose-glyph-string-relative): Remove unused variables
21314 `lbearing', `rbearing' and `wadjust'.
21315 (compose-gstring-for-graphic): Remove unused variables `header',
21316 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
21317 (compose-gstring-for-terminal): Remove unused variables `header'
21318 and `nchars'. Use `let', not `let*'.
21319
21320 * cus-edit.el (Custom-set, Custom-save, custom-reset)
21321 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
21322 (Custom-buffer-done, custom-buffer-create-internal)
21323 (custom-browse-visibility-action, custom-browse-group-tag-action)
21324 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
21325 (widget-magic-mouse-down-action, custom-toggle-parent)
21326 (custom-add-parent-links, custom-toggle-hide-variable)
21327 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
21328 (custom-toggle-hide-face, face, hook, custom-group-link-action)
21329 (custom-face-menu-create, custom-variable-menu-create, get)
21330 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
21331 (custom-reset-standard-save-and-update): Remove unused variable `value'.
21332 (customize-apropos): Remove unused variable `tests'.
21333 (custom-group-value-create): Remove unused variable `hidden-p'.
21334 (sort-fold-case): Declare.
21335
21336 * cus-theme.el (custom-reset-standard-faces-list)
21337 (custom-reset-standard-variables-list): Declare.
21338 (customize-create-theme, custom-theme-revert, custom-theme-write)
21339 (custom-theme-choose-mode, customize-themes, custom-theme-save):
21340 Mark unused parameters.
21341
21342 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
21343
21344 * delim-col.el (delimit-columns-max): Move defvar before first use.
21345
21346 * descr-text.el (describe-char-categories): Don't quote `lambda'.
21347 (describe-char): Don't quote `lambda'. Mark unused parameter.
21348
21349 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
21350 (auto-insert): Declare.
21351 (desktop-restore-file-buffer): Rename desktop-* parameters;
21352 mark unused ones.
21353 (desktop-create-buffer): Rename desktop-* parameters and bind them.
21354 (desktop-buffer): Rename desktop-* parameters.
21355
21356 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
21357 (dframe-reposition-frame-xemacs, dframe-help-echo)
21358 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
21359 Mark unused parameters.
21360
21361 * dired-aux.el (backup-extract-version-start, overwrite-query)
21362 (overwrite-backup-query, rename-regexp-query)
21363 (rename-non-directory-query): Declare.
21364 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
21365 (dired-add-entry): Remove unused variable `orig-file-name'.
21366 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
21367 Use parameter PRESERVE-TIME instead of accessing dynamic variable
21368 `dired-copy-preserve-time' directly.
21369 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
21370 (dired-insert-subdir-newpos): Rename unused variable `pos'.
21371
21372 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
21373 (dired-virtual-revert, dired-make-relative-symlink):
21374 Mark unused parameters.
21375 (manual-program): Declare.
21376 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
21377 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
21378 wrapped in `with-no-warnings' to avoid replacing one warning by another.
21379
21380 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
21381
21382 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
21383
21384 * echistory.el (electric-history-in-progress, Helper-return-blurb):
21385 Declare.
21386
21387 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
21388
21389 * electric.el (Electric-command-loop): Rename parameter
21390 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
21391
21392 * expand.el (expand-in-literal): Remove unused variable `here'.
21393
21394 * facemenu.el (facemenu-add-new-color):
21395 Remove unused variable `docstring'.
21396
21397 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
21398 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
21399 (face-attr-construct): Mark unused parameter. Doc fix.
21400 (read-color): Remove unused variable `hex-string'.
21401
21402 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
21403 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
21404 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
21405 (display-buffer-other-frame): Remove unused variable `old-window'.
21406 (kill-buffer-hook): Declare.
21407 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
21408 Mark unused parameters.
21409 (after-find-file): Pass 1 to `auto-save-mode', not t.
21410
21411 * files-x.el (auto-insert): Declare.
21412 (modify-file-local-variable-prop-line): Remove unused variable `val'.
21413
21414 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
21415 variable `buf'. Mark unused parameter.
21416 (find-lisp-insert-directory): Mark unused parameter.
21417
21418 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
21419 (format-encode-region): Remove unused variables `cur-buf' and `result'.
21420 (format-common-tail): Remove, unused.
21421 (format-deannotate-region): Remove unused variable `loc'.
21422 (format-annotate-region): Remove unused variable `p'.
21423 (format-annotate-single-property-change): Remove unused variables
21424 `default' and `tail'.
21425
21426 * forms.el (read-file-filter): Declare.
21427 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
21428
21429 * frame.el (frame-creation-function-alist): Mark unused parameter.
21430 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
21431
21432 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
21433 Remove unused parameters.
21434 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
21435 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
21436
21437 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
21438 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
21439 (hfy-prepare-tag-map): Mark unused parameters.
21440 (htmlfontify-buffer): Use `called-interactively-p'.
21441
21442 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
21443 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
21444 (ibuffer-do-occur): Mark unused parameters.
21445 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
21446 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
21447
21448 * ibuffer.el: Don't quote `lambda'.
21449 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
21450 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
21451 Mark unused parameters.
21452
21453 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
21454 (ido-completing-read): Mark unused parameters.
21455 (ido-copy-current-word): Mark unused parameters;
21456 remove unused variable `name'.
21457 (ido-sort-merged-list): Remove unused parameter `dirs'.
21458
21459 * ielm.el (ielm-input-sender): Mark unused parameter.
21460 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
21461 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
21462 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
21463 `ielm-string' as a dynamic variable accessible from the IELM prompt.
21464 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
21465
21466 * image-dired.el (image-dired-display-thumbs): Remove unused
21467 variables `curr-file' and `count'.
21468 (image-dired-remove-tag): Remove unused variable `start'.
21469 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
21470 variable `curr-file'
21471 (image-dired-rotate-original): Remove unused variable `temp-file'.
21472 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
21473 Remove unused variable `file'.
21474 (image-dired-gallery-generate): Remove unused variable `curr'.
21475 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
21476
21477 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
21478
21479 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
21480
21481 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
21482
21483 * isearch.el (minibuffer-history-symbol): Declare.
21484 (isearch-edit-string): Remove unused variable `err'.
21485 (isearch-message-prefix, isearch-message-suffix):
21486 Mark unused parameters.
21487
21488 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
21489
21490 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
21491
21492 * makesum.el (double-column): Remove unused variable `cnt'.
21493
21494 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
21495 (ido-ignore-item-temp-list): Declare.
21496
21497 * mouse-drag.el (mouse-drag-throw): Remove unused variables
21498 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
21499 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
21500 (mouse-drag-drag): Remove unused variables `mouse-delta' and
21501 `mouse-col-delta'.
21502
21503 * mouse-sel.el (mouse-extend-internal):
21504 Remove unused variable `orig-window-frame'.
21505
21506 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
21507 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
21508 Move declarations before first use.
21509 (pcomplete-opt): Mark unused parameters; doc fix.
21510
21511 * proced.el (proced-revert): Mark unused parameter.
21512 (proced-send-signal): Remove unused variable `err'.
21513
21514 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
21515 Rename parameter PREFIX-ARG to ARG.
21516 (ps-basic-plot-string, ps-basic-plot-whitespace):
21517 Mark unused parameters.
21518
21519 * replace.el (replace-count): Define.
21520 (occur-revert-function): Mark unused parameters.
21521 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
21522 (isearch-case-fold-search, isearch-string): Declare.
21523 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
21524 bind `case-fold-search'. Remove unused variables `beg' and `end',
21525 and simplify.
21526 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
21527 COUNT and bind `replace-count'.
21528 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
21529 to COUNT.
21530
21531 * savehist.el (print-readably, print-string-length): Declare.
21532
21533 * shadowfile.el (shadow-expand-cluster-in-file-name):
21534 Remove unused variable `cluster'.
21535 (shadow-copy-file): Remove unused variable `i'.
21536 (shadow-noquery, shadow-clusters, shadow-site-cluster)
21537 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
21538 (shadow-define-literal-group, shadow-define-regexp-group)
21539 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
21540
21541 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
21542 (shell): Use `called-interactively-p'.
21543 (shell-directory-tracker): Remove unused variable `chdir-failure'.
21544
21545 * simple.el (compilation-context-lines, comint-file-name-quote-list)
21546 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
21547 (delete-backward-char): Remove unused variable `ocol'.
21548 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
21549 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
21550 (event-apply-hyper-modifier, event-apply-shift-modifier)
21551 (event-apply-control-modifier, event-apply-meta-modifier):
21552 Mark unused parameters.
21553 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
21554 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
21555
21556 * speedbar.el (speedbar-ignored-directory-expressions)
21557 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
21558 (speedbar-find-file, speedbar-dir-follow)
21559 (speedbar-directory-buttons-follow, speedbar-tag-find)
21560 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
21561 (speedbar-buffers-line-directory, speedbar-buffer-click):
21562 Mark unused parameters.
21563 (speedbar-tag-file): Remove unused variable `mode'.
21564 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
21565
21566 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
21567
21568 * talk.el (talk): Remove unused variable `display'.
21569
21570 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
21571 (tar-write-region-annotate): Mark unused parameter.
21572
21573 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
21574 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
21575 Declare them, wrapped in `with-no-warnings' to avoid replacing one
21576 warning by another.
21577
21578 * time-stamp.el (time-stamp-string-preprocess):
21579 Remove unused variable `require-padding'.
21580
21581 * tree-widget.el (widget-glyph-enable): Declare.
21582 (tree-widget-action): Mark unused parameter.
21583
21584 * w32-fns.el (x-get-selection): Mark unused parameter.
21585 (autoload-make-program, generated-autoload-file): Declare.
21586
21587 * wdired.el (wdired-revert): Mark unused parameters.
21588 (wdired-xcase-word): Remove unused variable `err'.
21589
21590 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
21591 (whitespace-help-scroll): Remove unused variable `data-help'.
21592
21593 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
21594 (widget-image-insert, widget-after-change, default)
21595 (widget-default-format-handler, widget-default-notify)
21596 (widget-default-prompt-value, widget-info-link-action)
21597 (widget-url-link-action, widget-function-link-action)
21598 (widget-variable-link-action, widget-file-link-action)
21599 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
21600 (widget-field-prompt-internal, widget-field-action, widget-field-match)
21601 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
21602 (widget-insert-button-action, widget-delete-button-action, visibility)
21603 (widget-documentation-link-action, widget-documentation-string-action)
21604 (widget-const-prompt-value, widget-regexp-match, symbol)
21605 (widget-coding-system-prompt-value)
21606 (widget-key-sequence-value-to-external, sexp)
21607 (widget-sexp-value-to-internal, character, vector, cons)
21608 (widget-choice-prompt-value, widget-boolean-prompt-value)
21609 (widget-color--choose-action): Mark unused parameters.
21610 (widget-item-match-inline, widget-choice-match-inline)
21611 (widget-checklist-match, widget-checklist-match-inline)
21612 (widget-group-match): Rename parameter VALUES to VALS.
21613 (widget-field-value-set): Remove unused variable `size'.
21614 (widget-color-action): Remove unused variables `value' and `start'.
21615
21616 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
21617 variable `dir'. Doc fix.
21618 (windmove-find-other-window): Don't pass it.
21619
21620 * window.el (count-windows): Mark unused parameter.
21621 (bw-adjust-window): Remove unused variable `err'.
21622
21623 * woman.el (woman-file-name): Remove unused variable `default'.
21624 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
21625 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
21626 (global-font-lock-mode): Declare.
21627 (woman-decode-region): Mark unused parameter.
21628 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
21629
21630 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
21631 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
21632 (x-dnd-handle-moz-url): Remove unused variable `title'.
21633 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
21634
21635 * xml.el (xml-parse-tag, xml-parse-attlist):
21636 Remove unused variable `pos'.
21637
21638 2011-04-19 Glenn Morris <rgm@gnu.org>
21639
21640 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
21641 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
21642 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
21643 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
21644 * calendar/cal-html.el (cal-html-insert-minical):
21645 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
21646 (calendar-mark-date-pattern):
21647 Prefix "unused" locals.
21648
21649 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
21650 optional argument `style'.
21651
21652 * calendar/appt.el (appt-make-list):
21653 * calendar/cal-china.el (calendar-chinese-date-string):
21654 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
21655 (diary-hebrew-yahrzeit):
21656 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
21657 * calendar/calendar.el (calendar-generate-window):
21658 * calendar/time-date.el (time-to-days):
21659 Remove unused local variables.
21660
21661 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
21662
21663 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
21664 glyphless-char-display table.
21665 (tabulated-list-glyphless-char-display): New var.
21666
21667 2011-04-18 Sam Steingold <sds@gnu.org>
21668
21669 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
21670 to acknowledgments.
21671
21672 2011-04-17 Glenn Morris <rgm@gnu.org>
21673
21674 * calendar/diary-lib.el (diary-sexp-entry):
21675 * calendar/holidays.el (holiday-sexp):
21676 Set debug-on-error rather than the removed stack-trace-on-error.
21677
21678 2011-04-16 Glenn Morris <rgm@gnu.org>
21679
21680 * progmodes/f90.el: Use lexical-binding.
21681 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
21682
21683 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
21684
21685 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
21686 (mail-mode): Setup mailalias completion here instead.
21687 * mail/mailalias.el: Use lexical-binding.
21688 (pattern, mailalias-done): Declare dynamic.
21689 (mail-completion-at-point-function): New function, from mail-complete.
21690 (mail-complete): Use it.
21691 (mail-completion-expand): New function.
21692 (mail-get-names): Use it.
21693 (mail-directory, mail-directory-process, mail-directory-stream):
21694 Don't use `pattern' for lexically bound arg.
21695
21696 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
21697
21698 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
21699 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
21700 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
21701
21702 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
21703 (byte-save-window-excursion, byte-temp-output-buffer-setup)
21704 (byte-interactive-p): Define them again, for use when inlining
21705 old code.
21706
21707 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
21708
21709 * loadup.el: Use `string-to-number', not `string-to-int'.
21710
21711 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
21712
21713 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
21714 gud-gdb-complete-command.
21715 (gud-gdb-completions): New function, from gud-gdb-complete-command.
21716 (gud-gdb-completion-at-point): New function.
21717 (gud-gdb-completions): Remove.
21718
21719 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
21720
21721 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
21722 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
21723 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
21724 whether `executable-find' is bound.
21725
21726 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
21727
21728 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
21729
21730 * minibuffer.el (completion-in-region-mode-predicate)
21731 (completion-in-region-mode--predicate): New vars.
21732 (completion-in-region, completion-in-region--postch)
21733 (completion-in-region-mode): Use them.
21734 (completion--capf-wrapper): Also return the hook function.
21735 (completion-at-point, completion-help-at-point):
21736 Adjust and provide a predicate.
21737
21738 Preserve arg names for advice of subr and lexical functions (bug#8457).
21739 * help-fns.el (help-function-arglist): Consolidate the subr and
21740 new-byte-code cases. Add argument `preserve-names' to extract names
21741 from the docstring when needed.
21742 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
21743 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
21744 (ad-arglist): Use help-function-arglist's new arg.
21745 (ad-definition-type): Use cond.
21746
21747 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
21748
21749 * autorevert.el (auto-revert-handler):
21750 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
21751 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
21752 Don't quote lambda.
21753
21754 * image-mode.el (image-transform-set-scale):
21755 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
21756
21757 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
21758
21759 * net/network-stream.el (network-stream-open-starttls): Only do
21760 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
21761 Upgrades via gnutls-cli are too slow to be done opportunistically.
21762
21763 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
21764
21765 * dframe.el (dframe-current-frame): Remove spurious quote.
21766
21767 2011-04-12 Glenn Morris <rgm@gnu.org>
21768
21769 * calendar/cal-tex.el (cal-tex-end-document):
21770 Try to automatically use latin1 input if needed.
21771
21772 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
21773 Don't try to cons a mark onto an empty element.
21774
21775 2011-04-11 Leo Liu <sdl.web@gmail.com>
21776
21777 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
21778 buffers.
21779 (ido-kill-buffer-at-head): Support killing virtual buffers.
21780
21781 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
21782
21783 * minibuffer.el (completion-show-inline-help): New var.
21784 (completion--do-completion, minibuffer-complete)
21785 (minibuffer-force-complete, minibuffer-complete-word):
21786 Inhibit minibuffer messages if completion-show-inline-help is nil.
21787
21788 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
21789 to avoid interference from inline help (Bug#5849).
21790
21791 2011-04-10 Leo Liu <sdl.web@gmail.com>
21792
21793 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
21794 Fix typo.
21795
21796 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
21797
21798 * image-mode.el (image-toggle-display-image): Signal an error if
21799 not in Image mode.
21800 (image-transform-mode, image-transform-resize)
21801 (image-transform-set-rotation): Doc fix.
21802 (image-transform-set-resize): Delete.
21803 (image-transform-set-scale, image-transform-fit-to-height)
21804 (image-transform-fit-to-width): Handle image-toggle-display-image
21805 and image-transform-resize directly.
21806
21807 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
21808
21809 * doc-view.el (doc-view-fit-width-to-window)
21810 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
21811 New functions for fitting the shown image to the Emacs window size.
21812 (doc-view-mode-map): Add bindings for the new functions.
21813
21814 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
21815
21816 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
21817 Fix typo in docstring.
21818
21819 2011-04-08 Eli Zaretskii <eliz@gnu.org>
21820
21821 * files.el (file-size-human-readable): Produce one digit after
21822 decimal, like "ls -lh" does.
21823
21824 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
21825 the file size representation.
21826
21827 * simple.el (list-processes): If async subprocesses are not
21828 available, error out with a clear error message.
21829
21830 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
21831
21832 * help.el (help-form-show): New function, to be called from C.
21833 Put help-form output in a buffer named differently than *Help*.
21834
21835 2011-04-08 Eli Zaretskii <eliz@gnu.org>
21836
21837 * files.el (file-size-human-readable): New function.
21838
21839 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
21840 computing the representation inline. Don't require `cl'.
21841
21842 2011-04-08 Glenn Morris <rgm@gnu.org>
21843
21844 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
21845
21846 * net/browse-url.el (browse-url-firefox):
21847 Test system-type, not system-configuration.
21848
21849 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
21850 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
21851 Use log-edit-empty-buffer-p. (Bug#7598)
21852
21853 * net/rlogin.el (rlogin-process-connection-type): Simplify.
21854 (rlogin-mode-map): Initialize in the defvar.
21855 (rlogin): Use ignore-errors.
21856
21857 * replace.el (occur-mode-map): Some fixes for menu items.
21858
21859 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
21860
21861 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
21862
21863 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
21864
21865 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
21866 issuing unused warnings.
21867
21868 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
21869 macro directly.
21870
21871 * simple.el: Lisp reimplement of list-processes. Based on an
21872 earlier reimplementation by Leo Liu, but using tabulated-list.el.
21873 (process-menu-mode): New major mode.
21874 (list-processes--refresh, list-processes):
21875 (process-menu-visit-buffer): New functions.
21876
21877 * files.el (save-buffers-kill-emacs): Don't assume any return
21878 value of list-processes, which is undocumented anyway.
21879
21880 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
21881
21882 * emacs-lisp/tabulated-list.el: New file.
21883
21884 * emacs-lisp/package.el: Use Tabulated List mode.
21885 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
21886 (package-menu-mode): Derive from tabulated-list-mode. Set up the
21887 table format using Tabulated List mode variables.
21888 (package--push): New macro, replacing package-list-maybe-add.
21889 (package-menu--generate): Use package--push. Renamed from
21890 package--generate-package-list.
21891 (package-menu-refresh, list-packages): Use it.
21892 (package-menu--print-info): Rename from package-print-package.
21893 Return insertion data instead of inserting it directly.
21894 (package-menu-describe-package, package-menu-execute):
21895 Use tabulated-list-get-id.
21896 (package-menu-mark-delete, package-menu-mark-install)
21897 (package-menu-mark-unmark, package-menu-backup-unmark)
21898 (package-menu-mark-obsolete-for-deletion):
21899 Use tabulated-list-put-tag.
21900 (package--list-packages, package-menu-revert)
21901 (package-menu-get-package, package-menu-get-version)
21902 (package-menu-sort-by-column): Functions deleted.
21903 (package-menu-package-list, package-menu-sort-key): Vars deleted.
21904 (package-menu--status-predicate, package-menu--version-predicate)
21905 (package-menu--name-predicate)
21906 (package-menu--description-predicate): Handle arguments in the
21907 Tabulated List format.
21908 (package-list-packages-no-fetch): Call list-packages.
21909
21910 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
21911
21912 * files.el (after-find-file-from-revert-buffer): Remove variable.
21913 (after-find-file): Don't bind it.
21914 (revert-buffer-in-progress-p): New variable.
21915 (revert-buffer): Bind it.
21916 Pass nil for `after-find-file-from-revert-buffer'.
21917
21918 * saveplace.el (save-place-find-file-hook): Use new variable
21919 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
21920
21921 2011-04-06 Glenn Morris <rgm@gnu.org>
21922
21923 * Makefile.in (AUTOGEN_VCS): New variable.
21924 (autoloads): Use $AUTOGEN_VCS.
21925
21926 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
21927 * calendar/calendar.el (calendar-mode-map):
21928 Check for toolkit scroll bars. (Bug#8305)
21929
21930 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
21931
21932 * minibuffer.el (completion-in-region--postch)
21933 (completion-in-region-mode): Remove unnecessary messages.
21934
21935 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
21936
21937 * font-lock.el (font-lock-refresh-defaults):
21938 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
21939 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
21940
21941 * info.el (Info-directory-list, Info-read-node-name-2)
21942 (Info-split-parameter-string): Doc fixes.
21943 (Info-virtual-nodes): Reflow docstring.
21944 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
21945 (Info-apropos-toc-nodes, info-finder, Info-get-token)
21946 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
21947 Fix typos in docstrings.
21948 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
21949 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
21950 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
21951 (Info-restore-desktop-buffer): Mark unused parameters.
21952 (Info-directory-find-file, Info-directory-find-node)
21953 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
21954 (Info-virtual-index-find-node, Info-apropos-find-file)
21955 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
21956 Mark unused parameters; fix typos in docstrings.
21957 (Info-virtual-index): Remove unused local variable `nodename'.
21958
21959 2011-04-05 Deniz Dogan <deniz@dogan.se>
21960
21961 * net/rcirc.el: Update my e-mail address.
21962 (rcirc-mode-map): Remove M-o binding.
21963
21964 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
21965
21966 * startup.el (command-line): Save the cursor's theme-face
21967 directly, instead of using face-override-spec.
21968
21969 * custom.el (load-theme): Minor optimization in assigning faces.
21970
21971 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
21972
21973 * help-fns.el (describe-variable): Complete all variables having
21974 documentation, including keywords.
21975 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
21976
21977 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
21978
21979 Convert to lexical-binding.
21980
21981 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
21982 (bs--get-marked-string, bs--get-modified-string)
21983 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
21984 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
21985 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
21986
21987 * ehelp.el (electric-help-execute-extended)
21988 (electric-help-ctrl-x-prefix):
21989 * hexl.el (hexl-revert-buffer-function):
21990 * linum.el (linum-after-change, linum-after-scroll):
21991 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
21992
21993 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
21994
21995 2011-04-04 Daiki Ueno <ueno@unixuser.org>
21996
21997 * epa-dired.el:
21998 * epa-mail.el:
21999 * epa-hook.el:
22000 * epa-file.el:
22001 * epa.el:
22002 * epg.el: Use lexical binding.
22003
22004 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
22005
22006 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
22007
22008 * textmodes/flyspell.el (flyspell-word): Recognize default
22009 dictionary case for flyspell-mark-duplications-exceptions.
22010 Use regexp matching for languages.
22011 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
22012 default dictionary (Bug#7926).
22013
22014 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
22015
22016 * emacs-lisp/package.el (package--with-work-buffer):
22017 Recognize https URLs.
22018
22019 * net/network-stream.el: Move from gnus/proto-stream.el.
22020 Change prefix to network-stream throughout.
22021 (open-protocol-stream): Merge into open-network-stream, leaving
22022 open-protocol-stream as an alias. Handle nil BUFFER args.
22023
22024 * subr.el (open-network-stream): Move to net/network-stream.el.
22025
22026 2011-04-02 Glenn Morris <rgm@gnu.org>
22027
22028 * find-dired.el (find-exec-terminator): New option.
22029 (find-ls-option): Test for -ls support.
22030 (find-ls-subdir-switches): Test for -b in find-ls-option.
22031 (find-dired, find-grep-dired): Doc fixes.
22032 (find-dired): Use find-exec-terminator.
22033
22034 * find-dired.el (find-ls-option, find-ls-subdir-switches)
22035 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
22036 (find-name-arg): Remove purecopy.
22037
22038 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
22039 (grep-compute-defaults): Check for `-exec COMMAND +' support.
22040 Set grep-find-use-xargs, grep-find-command, and grep-find-template
22041 accordingly. Don't add the null-device if not needed.
22042
22043 * files.el (save-some-buffers): Doc fix.
22044
22045 2011-04-02 Eli Zaretskii <eliz@gnu.org>
22046
22047 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
22048
22049 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
22050
22051 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
22052 Use `dolist' rather than `mapcar'.
22053
22054 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
22055
22056 Add lexical binding.
22057
22058 * subr.el (apply-partially): Use new closures rather than CL.
22059 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
22060 (dolist, dotimes): Use slightly different expansion for lexical code.
22061 (functionp): Move to C.
22062 (letrec): New macro.
22063 (with-wrapper-hook): Use it and apply-partially instead of CL.
22064 (eval-after-load): Preserve lexical-binding.
22065 (save-window-excursion, with-output-to-temp-buffer): Turn them
22066 into macros.
22067
22068 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
22069
22070 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
22071 than the arglist.
22072 (help-add-fundoc-usage): Don't add `Not documented'.
22073 (help-function-arglist): Handle closures, subroutines, and new
22074 byte-code-functions.
22075 (help-make-usage): Remove leading underscores.
22076 (describe-function-1): Handle closures.
22077 (describe-variable): Use special-variable-p for completion.
22078
22079 * files.el (lexical-binding): Declare safe.
22080
22081 * emacs-lisp/pcase.el: Don't use destructuring-bind.
22082 (pcase--memoize): Rename from pcase-memoize. Change weakness.
22083 (pcase): Add `let' pattern.
22084 Change memoization so it actually works.
22085 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
22086 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
22087 <let>: New case.
22088
22089 * emacs-lisp/macroexp.el: Use lexical binding.
22090 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
22091 Don't convert ' to #' without checking that it's indeed quoting
22092 a lambda.
22093
22094 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
22095 Use eval-sexp-add-defvars.
22096 (eval-sexp-add-defvars): New fun.
22097
22098 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
22099
22100 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
22101 Don't autoload.
22102 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
22103 than the internal `byte-compile-lambda'.
22104 (defmethod): Don't hide code under quotes.
22105 (eieio-defmethod): New `code' argument.
22106
22107 * emacs-lisp/eieio-comp.el: Remove.
22108
22109 * emacs-lisp/edebug.el (edebug-eval-defun)
22110 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
22111 (edebug-toggle): Avoid `eval'.
22112
22113 * emacs-lisp/disass.el (disassemble-internal): Handle new
22114 `closure' objects.
22115 (disassemble-1): Handle new byte codes.
22116
22117 * emacs-lisp/cl.el (pushnew): Silence warning.
22118
22119 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
22120 (cl-byte-compile-throw): Remove.
22121 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
22122
22123 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
22124 closures.
22125
22126 * emacs-lisp/cconv.el: New file.
22127
22128 * emacs-lisp/bytecomp.el: Use lexical binding instead of
22129 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
22130 (byte-compile-initial-macro-environment):
22131 Handle declare-function here.
22132 (byte-compile--lexical-environment): New var.
22133 (byte-stack-ref, byte-stack-set, byte-discardN)
22134 (byte-discardN-preserve-tos): New lap codes.
22135 (byte-interactive-p): Don't use any more.
22136 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
22137 New macros.
22138 (byte-compile-lapcode): Use them and handle new lap codes.
22139 (byte-compile-obsolete): Remove.
22140 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
22141 (byte-compile-arglist-warn): Check late def of inlinable funs.
22142 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
22143 since they should have been expanded by now.
22144 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
22145 (byte-compile-from-buffer): Remove unused second arg.
22146 (byte-compile-preprocess): New function.
22147 (byte-compile-toplevel-file-form): New function to distinguish
22148 file-form calls from outside from file-form calls from hunk-handlers.
22149 (byte-compile-file-form): Simplify.
22150 (byte-compile-file-form-defsubst): Remove.
22151 (byte-compile-file-form-defmumble): Simplify now that
22152 byte-compile-lambda always returns a byte-code-function.
22153 (byte-compile): Preprocess.
22154 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
22155 Remove, not used any more.
22156 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
22157 (byte-compile-make-args-desc): New funs.
22158 (byte-compile-lambda): Handle lexical functions. Always return
22159 a byte-code-function.
22160 (byte-compile-reserved-constants): New var, to make up room for
22161 closed-over variables.
22162 (byte-compile-constants-vector): Obey it.
22163 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
22164 (byte-compile-macroexpand-declare-function): New function.
22165 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
22166 byte-code-functions.
22167 (byte-compile-form): Check obsolescence here.
22168 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
22169 (byte-compile-variable-ref): Remove.
22170 (byte-compile-dynamic-variable-op): New fun.
22171 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
22172 (byte-compile-variable-set): New funs.
22173 (byte-compile-discard): Add 2 args.
22174 (byte-compile-stack-ref, byte-compile-stack-set)
22175 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
22176 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
22177 macroexpand-all instead.
22178 (byte-compile-quote-form): Remove.
22179 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
22180 (byte-compile-bind, byte-compile-unbind): New funs.
22181 (byte-compile-let): Handle let* and lexical binding.
22182 (byte-compile-let*): Remove.
22183 (byte-compile-catch, byte-compile-unwind-protect)
22184 (byte-compile-track-mouse, byte-compile-condition-case):
22185 Handle a new :fun-body form, used for lexical scoping.
22186 (byte-compile-save-window-excursion)
22187 (byte-compile-with-output-to-temp-buffer): Remove.
22188 (byte-compile-defun): Simplify.
22189 (byte-compile-stack-adjustment): New fun.
22190 (byte-compile-out): Use it.
22191 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
22192
22193 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
22194 handler any more.
22195
22196 * emacs-lisp/byte-opt.el: Use lexical binding.
22197 (byte-inline-lapcode): Remove (to bytecomp).
22198 (byte-compile-inline-expand): Pay attention to inlining to/from
22199 lexically bound code.
22200 (byte-compile-unfold-lambda): Don't handle byte-code-functions
22201 any more.
22202 (byte-optimize-form-code-walker): Don't handle save-window-excursion
22203 any more and don't call compiler-macros.
22204 (byte-compile-splice-in-already-compiled-code): Remove.
22205 (byte-code): Don't inline any more.
22206 (disassemble-offset): Receive `bytes' as argument rather than via
22207 dynamic scoping.
22208 (byte-compile-tag-number): Declare before first use.
22209 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
22210 `return' even if make-spliceable.
22211 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
22212 obsolete interactive-p.
22213 (byte-optimize-lapcode): Optimize new lap-codes.
22214 Don't trip up on new form of `byte-constant' lap code.
22215
22216 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
22217
22218 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
22219
22220 * custom.el (custom-initialize-default, custom-declare-variable):
22221 Use `defvar'.
22222
22223 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
22224 New variables.
22225 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
22226 (COMPILE_FIRST): Add macroexp and cconv.
22227 * makefile.w32-in: Mirror changes in Makefile.in.
22228
22229 * vc/cvs-status.el:
22230 * vc/diff-mode.el:
22231 * vc/log-edit.el:
22232 * vc/log-view.el:
22233 * vc/smerge-mode.el:
22234 * textmodes/bibtex-style.el:
22235 * textmodes/css-mode.el:
22236 * startup.el:
22237 * uniquify.el:
22238 * minibuffer.el:
22239 * newcomment.el:
22240 * reveal.el:
22241 * server.el:
22242 * mpc.el:
22243 * emacs-lisp/smie.el:
22244 * doc-view.el:
22245 * dired.el:
22246 * abbrev.el: Use lexical binding.
22247
22248 2011-04-01 Eli Zaretskii <eliz@gnu.org>
22249
22250 * info.el (info-display-manual): New function.
22251
22252 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
22253
22254 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
22255
22256 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
22257
22258 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
22259 an entry for that server in rcirc-authinfo. (Bug#8385)
22260
22261 2011-03-31 Glenn Morris <rgm@gnu.org>
22262
22263 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
22264
22265 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
22266
22267 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
22268
22269 * progmodes/python.el (python-default-interpreter)
22270 (python-python-command-args, python-jython-command-args)
22271 (python-which-shell, python-which-args, python-which-bufname)
22272 (python-file-queue, python-comint-output-filter-function)
22273 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
22274 variables and functions.
22275
22276 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
22277
22278 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
22279 (completion-in-region-mode): New minor mode.
22280 (completion-in-region): Use it.
22281 (completion-in-region--data, completion-in-region-mode-map): New vars.
22282 (completion-in-region--postch): New function.
22283 (completion--capf-misbehave-funs, completion--capf-safe-funs):
22284 New vars.
22285 (completion--capf-wrapper): New function.
22286 (completion-at-point): Use it to track well-behavedness of
22287 hook functions.
22288 (completion-help-at-point): New command.
22289
22290 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
22291
22292 * vc/add-log.el (add-change-log-entry): Don't use whitespace
22293 syntax class to search for whitespace on a single line
22294 (Message-ID: <4D938140.4030905@redhat.com>).
22295
22296 2011-03-30 Leo Liu <sdl.web@gmail.com>
22297
22298 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
22299 New commands.
22300 (edit-abbrevs-map): Bind them here.
22301 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
22302
22303 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
22304
22305 * allout.el (allout-hide-by-annotation, allout-flag-region):
22306 Reduce possibility of overlay leakage by making them volatile.
22307
22308 * allout-widgets.el (allout-widgets-tally): Define as nil so the
22309 hash is not shared between buffers. Mode initialization is
22310 responsible for giving it a useful starting value.
22311 (allout-item-span): Reduce possibility of overlay leakage by
22312 making them volatile.
22313 (allout-widgets-count-buttons-in-region): Add diagnostic function
22314 for tracking down button overlay leaks.
22315
22316 2011-03-29 Leo Liu <sdl.web@gmail.com>
22317
22318 * ido.el (ido-read-internal): Use the default history var
22319 minibuffer-history if no HISTORY is specified.
22320
22321 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
22322
22323 * net/imap.el (imap-shell-open, imap-process-connection-type):
22324 Use imap-process-connection-type for 'shell' streams as well as
22325 Kerberos, SSL, other subprocesses.
22326
22327 2011-03-28 Leo Liu <sdl.web@gmail.com>
22328
22329 * abbrev.el (abbrev-table-empty-p): New function.
22330 (prepare-abbrev-list-buffer): Place empty abbrev tables after
22331 nonempty ones. (Bug#5937)
22332
22333 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
22334
22335 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
22336
22337 2011-03-27 Leo Liu <sdl.web@gmail.com>
22338
22339 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
22340 for foreground and background colors.
22341 (ansi-color-make-color-map): Adapt.
22342
22343 2011-03-25 Leo Liu <sdl.web@gmail.com>
22344
22345 * midnight.el (midnight-time-float): Remove. Note it calculates
22346 the microsecond component incorrectly and seconds-to-time does the
22347 same job.
22348 Remove redundant (require 'timer).
22349
22350 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
22351 (ido-completions): Remove unused arguments. (Bug#8329)
22352
22353 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
22354
22355 * minibuffer.el (completion--flush-all-sorted-completions):
22356 Remove itself from hook.
22357 (completion-at-point): Let the functions perform the completion
22358 immediately and return nil or t.
22359 * comint.el (comint-dynamic-complete-functions): Now identical to
22360 completion-at-point-functions.
22361 (comint-dynamic-list-input-ring): Remove unused var `index'.
22362 (comint--match-partial-filename, comint--unquote&expand-filename):
22363 New funs, split from comint-match-partial-filename.
22364 (comint-dynamic-complete): Use completion-at-point.
22365 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
22366
22367 2011-03-24 Drew Adams <drew.adams@oracle.com>
22368
22369 * thingatpt.el: Support `defun'.
22370
22371 2011-03-23 Leo Liu <sdl.web@gmail.com>
22372
22373 * abbrevlist.el: Move to obsolete/abbrevlist.el.
22374
22375 * help-mode.el (help-mode-finish): Tweak regexp.
22376
22377 2011-03-23 Glenn Morris <rgm@gnu.org>
22378
22379 * eshell/esh-opt.el (eshell-eval-using-options):
22380 Do not bind unused local variable `eshell-option-stub'.
22381
22382 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
22383
22384 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
22385
22386 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
22387 keymap variable in `with-no-warnings' to avoid a warning when the
22388 keymap has been already `defconst'ed.
22389
22390 2011-03-22 Leo Liu <sdl.web@gmail.com>
22391
22392 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
22393 encode all chars in abbrevs; otherwise use emacs-mule or
22394 utf-8-emacs. (Bug#8308)
22395
22396 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
22397
22398 * simple.el (backward-delete-char-untabify):
22399 Avoid warning about using `delete-backward-char'.
22400
22401 * image.el (image-type-file-name-regexps): Make it variable.
22402 `imagemagick-register-types' modifies it, and the user may want
22403 to add new extensions for known image types.
22404 (imagemagick-register-types): Throw error if not using ImageMagick.
22405
22406 2011-03-22 Leo Liu <sdl.web@gmail.com>
22407
22408 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
22409 located before rcirc-prompt-end-marker.
22410 (rcirc-complete): Error if point is not after rcirc prompt.
22411 Handle the case when table is nil.
22412 (rcirc-user-authenticated): Define to fix compiler warning.
22413
22414 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
22415
22416 * custom.el (custom--inhibit-theme-enable): Make it affect only
22417 custom-theme-set-variables and custom-theme-set-faces.
22418 (provide-theme): Ignore custom--inhibit-theme-enable.
22419 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
22420 (custom-enabling-themes): Delete variable.
22421 (enable-theme): Accept only loaded themes as arguments.
22422 Ignore the special custom-enabled-themes variable.
22423 (custom-enabled-themes): Forbid themes from setting this.
22424 Eliminate use of custom-enabling-themes.
22425 (custom-push-theme): Quote "changed" custom var entry.
22426
22427 2011-03-21 Leo Liu <sdl.web@gmail.com>
22428
22429 * ido.el (ido-read-internal): Add ido-selected to history instead
22430 of user input.
22431
22432 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
22433
22434 * subr.el (deferred-action-list, deferred-action-function):
22435 Mark obsolete.
22436
22437 2011-03-21 Leo Liu <sdl.web@gmail.com>
22438
22439 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
22440 change on 2011-02-13 (bug#8309).
22441
22442 * minibuffer.el (read-file-name-function): Change default value.
22443 (read-file-name--defaults): Rename from read-file-name-defaults.
22444 (read-file-name-default): Rename from read-file-name.
22445 (read-file-name): Call read-file-name-function.
22446
22447 2011-03-21 Glenn Morris <rgm@gnu.org>
22448
22449 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
22450 Doc fixes.
22451
22452 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
22453
22454 * cus-theme.el: Add missing provide statement.
22455 (customize-create-theme): Extract theme value correctly.
22456 (custom-theme-visit-theme): Autoload.
22457 (customize-create-theme): Prompt before inserting default faces.
22458
22459 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
22460
22461 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
22462 units and musical notes.
22463
22464 2011-03-20 Leo Liu <sdl.web@gmail.com>
22465
22466 * ido.el (ido-read-internal): Use completing-read-default.
22467 (ido-completing-read): Fix compatibility with completing-read.
22468
22469 2011-03-20 Christian Ohler <ohler@gnu.org>
22470
22471 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
22472 (ert-delete-all-tests): Use `called-interactively-p' rather than
22473 `interactive-p'.
22474 (ert--make-xrefs-region): Respect END.
22475
22476 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
22477
22478 * dired-aux.el (dired-create-directory): Signal an error if the
22479 directory already exists (Bug#8246).
22480
22481 * facemenu.el (list-colors-display): Call list-faces-display
22482 inside with-help-window.
22483 (list-colors-print): Use display property to align the final
22484 column, instead of checking window-width.
22485
22486 2011-03-19 Eli Zaretskii <eliz@gnu.org>
22487
22488 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
22489 windows-nt systems.
22490 (emerge-protect-metachars): Quote correctly for ms-dos and
22491 windows-nt systems.
22492
22493 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
22494
22495 * info.el (info-initialize): Replace all uses of `:' with
22496 path-separator for compatibility with non-Unix systems.
22497 Cache quoting of path-separator. (Bug#8258)
22498
22499 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
22500
22501 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
22502 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
22503 (mouse-avoidance-mode): Fix typos in docstrings.
22504
22505 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
22506
22507 * startup.el (package-subdirectory-regexp): Move from package.el.
22508 Omit \\` and \\', and let callers add them.
22509
22510 * emacs-lisp/package.el (package-strip-version)
22511 (package-load-all-descriptors): Add \\` and \\' to
22512 package-subdirectory-regexp before using it.
22513 (package-untar-buffer): New arg DIR; ensure that file untars only
22514 into this expected directory. Remove superfluous delete-region.
22515 (package-unpack): Caller changed.
22516 (package-tar-file-info): Use package-subdirectory-regexp.
22517
22518 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
22519
22520 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
22521 diff-mode-shared-map (bug#8284).
22522 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
22523
22524 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
22525
22526 * calendar/time-date.el (format-seconds): Use assoc instead of
22527 assoc-string, since assoc-string doesn't exist in XEmacs.
22528
22529 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
22530
22531 * custom.el (custom-known-themes): Reflow docstring.
22532 (custom-theme-load-path): Fix typo in docstring.
22533 (load-theme): Fix typo in error message.
22534 (custom-available-themes, custom-variable-theme-value):
22535 Use `let', not `let*'.
22536
22537 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
22538
22539 * calc/README: Mention inclusion of musical notes.
22540
22541 * calc/calc-units.el (calc-lu-quant): Rename from
22542 `calc-logunits-quantity'.
22543 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
22544 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
22545 (calc-db): Rename from `calc-dblevel'.
22546 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
22547 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
22548 (calc-np): Rename from `calc-nplevel'.
22549 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
22550 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
22551 (calc-lu-plus): Rename from `calc-logunits-add'.
22552 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
22553 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
22554 (calc-lu-minus): Rename from `calc-logunits-sub'.
22555 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
22556 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
22557 (calc-lu-times): Rename from `calc-logunits-mul'.
22558 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
22559 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
22560 (calc-lu-divide): Rename from `calc-logunits-div'.
22561 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
22562 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
22563
22564 * calc/calc-ext.el (calc-init-extensions): Update the names of the
22565 functions being autoloaded.
22566
22567 * calc/calc.el (calc-lu-power-reference): Rename from
22568 `calc-logunits-power-reference'.
22569 (calc-lu-field-reference): Rename from
22570 `calc-logunits-field-reference'.
22571
22572 * calc/calc-help.el (calc-l-prefix-help):
22573 Mention musical note functions.
22574
22575 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
22576
22577 * minibuffer.el (completion-all-sorted-completions):
22578 Use :completion-cycle-penalty text property if present.
22579
22580 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
22581
22582 * allout.el (allout-yank-processing): Adjust for new rebulleting
22583 regime so bullet being yanked is used without prompting the user
22584 for a choice.
22585
22586 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
22587
22588 * startup.el (command-line): Warn the user that _emacs is deprecated.
22589
22590 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
22591
22592 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
22593 (delphi-verbose, delphi-comment-face, delphi-string-face)
22594 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
22595 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
22596 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
22597 (delphi-new-comment-line, delphi-font-lock-defaults)
22598 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
22599 Fix typos in docstrings.
22600
22601 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
22602
22603 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
22604 Invert the roles of character and string values for INSTEAD, so a
22605 string is used for the more common case of a defaulting prompt.
22606
22607 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
22608
22609 * progmodes/ruby-mode.el (ruby-backward-sexp):
22610 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
22611 * play/gamegrid.el (gamegrid-make-face):
22612 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
22613 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
22614 * notifications.el (notifications-notify):
22615 * net/xesam.el (xesam-search-engines):
22616 * net/quickurl.el (quickurl-list-insert):
22617 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
22618
22619 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
22620
22621 * startup.el (command-line): Update package subdirectory regexp.
22622
22623 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
22624
22625 * allout.el (allout-abbreviate-flattened-numbering)
22626 (allout-mode-deactivate-hook): Fix up obsolescence "date".
22627
22628 * subr.el (read-char-choice): Only show the cursor after the prompt,
22629 not after the answer.
22630
22631 2011-03-15 Kevin Ryde <user42@zip.com.au>
22632
22633 * help-fns.el (variable-at-point): Skip leading quotes, if any
22634 (bug#8253).
22635
22636 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
22637
22638 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
22639 warning message.
22640
22641 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
22642
22643 * shell.el (shell): When called interactively, offer to change the
22644 shell file name on remote hosts.
22645
22646 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
22647
22648 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
22649 integration for LDAP parameters. The host, base, user or binddn,
22650 and secret tokens can be specified in a netrc file, for instance.
22651 This is optional because an `auth-source' parameter must be
22652 specified in the search attributes.
22653
22654 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
22655
22656 * help.el (describe-mode): Link to the mode's definition (bug#8185).
22657
22658 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
22659
22660 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
22661 into declaration. Remove redundant and harmful binding.
22662
22663 2011-03-12 Eli Zaretskii <eliz@gnu.org>
22664
22665 * files.el (file-ownership-preserved-p): Pass `integer' as an
22666 explicit 2nd argument to `file-attributes'. If the file's owner
22667 is the Administrators group on Windows, and the current user is
22668 Administrator, consider that a match.
22669
22670 * server.el (server-ensure-safe-dir): Consider server directory
22671 safe on MS-Windows if its owner is the Administrators group while
22672 the current Emacs user is Administrator. Use `=' to compare
22673 numerical UIDs, since they could be integers or floats.
22674
22675 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
22676
22677 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
22678
22679 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
22680
22681 Sync with Tramp 2.2.1.
22682
22683 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
22684
22685 * net/trampver.el: Update release number.
22686
22687 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
22688
22689 * progmodes/compile.el (compilation--previous-directory): Fix up
22690 various nil/dead-marker mismatches (bug#8014).
22691 (compilation-directory-properties, compilation-error-properties):
22692 Don't call it at a position past the one we're about to change.
22693
22694 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
22695 Disable obsolescence warnings in the file that declares it.
22696
22697 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
22698
22699 * allout-widgets.el (allout-widgets-tally):
22700 Initialize allout-widgets-tally as a hash table rather than nil to
22701 prevent mode-line redisplay warnings. Also, clarify the module
22702 description and fix a comment typo.
22703
22704 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
22705
22706 * help-fns.el (describe-variable): Don't complete keywords.
22707 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
22708
22709 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
22710
22711 * emacs-lisp/package.el (package-version-join): Impose a standard
22712 string representation for pre/alpha/beta version lists.
22713 (package-unpack-single): Standardize the directory name by passing
22714 it through package-version-join.
22715 (package-strip-rcs-id): Accept any version string that does not
22716 signal an error in version-to-list.
22717
22718 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
22719
22720 * simple.el (delete-trailing-whitespace): Return nil for the
22721 benefit of `write-file-functions'.
22722
22723 2011-03-10 Glenn Morris <rgm@gnu.org>
22724
22725 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
22726
22727 * vc/vc-git.el (vc-git-program): New option.
22728 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
22729 (vc-git--call): Use it.
22730
22731 * eshell/esh-util.el (eshell-condition-case): Doc fix.
22732
22733 * cus-edit.el (Custom-newline): If no button at point, look
22734 for a subgroup button at start-of-line. (Bug#2298)
22735
22736 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
22737
22738 2011-03-10 Julien Danjou <julien@danjou.info>
22739
22740 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
22741 `cursor-type' is nil.
22742
22743 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
22744
22745 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
22746
22747 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
22748
22749 * allout.el: Change so yank of distinctive-bullet items
22750 preserves the existing header prefix, rebulleting it if necessary,
22751 rather than replacing it. This is necessary for proper operation
22752 of cooperative addons like allout-widgets.
22753 (allout-make-topic-prefix, allout-rebullet-heading):
22754 Change SOLICIT arg to INSTEAD, and interpret additionally a string
22755 value as alternate bullet to be used, instead of prompting the user
22756 for a bullet character.
22757
22758 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
22759
22760 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22761 Do not use `tramp-file-name-port', because this returns also
22762 `tramp-default-port'.
22763
22764 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
22765
22766 * net/rcirc.el (rcirc-handler-001): Remove useless
22767 with-rcirc-process-buffer.
22768 (rcirc-check-auth-status): Swap arguments to string-match.
22769
22770 2011-03-09 Glenn Morris <rgm@gnu.org>
22771
22772 * shell.el (shell-mode):
22773 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
22774
22775 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
22776 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
22777
22778 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
22779
22780 * emacs-lisp/package.el (package-refresh-contents)
22781 (package-menu-execute): Use condition-case-no-debug.
22782
22783 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
22784
22785 * simple.el (shell-command-to-string): Use `process-file'.
22786
22787 * emacs-lisp/package.el (package-tar-file-info): Handle also
22788 remote files.
22789
22790 * emacs-lisp/package-x.el (package-upload-buffer-internal):
22791 Use `equal' for upload base check.
22792
22793 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
22794
22795 * textmodes/texinfo.el (texinfo-environments):
22796 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
22797
22798 2011-03-08 Glenn Morris <rgm@gnu.org>
22799
22800 * cus-start.el (cursor-in-non-selected-windows):
22801 Fix :set quoting oddness. (Bug#8192)
22802
22803 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
22804 in some setf expressions. (Bug#2159)
22805
22806 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
22807
22808 * custom.el (custom-available-themes): Return themes in
22809 alphabetical order.
22810
22811 See ChangeLog.15 for earlier changes.
22812
22813 ;; Local Variables:
22814 ;; coding: utf-8
22815 ;; End:
22816
22817 Copyright (C) 2011-2012 Free Software Foundation, Inc.
22818
22819 This file is part of GNU Emacs.
22820
22821 GNU Emacs is free software: you can redistribute it and/or modify
22822 it under the terms of the GNU General Public License as published by
22823 the Free Software Foundation, either version 3 of the License, or
22824 (at your option) any later version.
22825
22826 GNU Emacs is distributed in the hope that it will be useful,
22827 but WITHOUT ANY WARRANTY; without even the implied warranty of
22828 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22829 GNU General Public License for more details.
22830
22831 You should have received a copy of the GNU General Public License
22832 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.