* lisp/emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
[bpt/emacs.git] / lisp / ChangeLog
1 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
4 advice list when the interactive-spec of ad-Advice-* changes.
5
6 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
7
8 * wid-edit.el (widget-default-get): Work for inlined elements.
9 (Bug#12670)
10
11 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
12
13 * net/tramp.el (tramp-default-host-alist): New defcustom.
14 (tramp-find-host): Use it.
15 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
16 `eshell-directory-change-hook'.
17
18 * net/tramp-adb.el (top): Add adb specific entry in
19 `tramp-default-host-alist'.
20 (tramp-adb-file-name-host): Remove function.
21 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
22 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
23
24 * net/tramp-sh.el: Move eshell integration code to tramp.el.
25
26 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
27
28 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
29
30 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
31
32 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
33 consist of more than one digit.
34 (tramp-adb-file-name-handler-alist):
35 Use `tramp-handle-file-exists-p' consistently.
36 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
37 (tramp-adb-handle-file-exists-p): Remove function.
38 (tramp-adb-file-name-host): New defun.
39 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
40 Use it.
41 (tramp-adb-maybe-open-connection): Set "remote-path" property.
42
43 2013-01-06 Chong Yidong <cyd@gnu.org>
44
45 * vc/vc.el (vc-next-action): Detect buffer modifications
46 conflicting with locking VCS operation (Bug#11490).
47
48 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
49
50 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
51
52 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
53 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
54
55 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
56
57 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
58 parsing of ls output using regular expression (handle filenames
59 with spaces). Use virtual device number.
60 (tramp-do-parse-file-attributes-with-ls): New defun (Code
61 cleanup).
62
63 2013-01-04 Daiki Ueno <ueno@gnu.org>
64
65 * epg.el: Silence byte-compiler warnings.
66 (epg--start): Use delete-char instead of delete-backward-char.
67 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
68
69 2013-01-04 Daiki Ueno <ueno@gnu.org>
70
71 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
72 Suggested by Eli Zaretskii <eliz@gnu.org>.
73
74 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
75
76 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
77 non-negative integers. Otherwise, the default values are used.
78 (tramp-convert-file-attributes): Convert uid and gid to integers.
79
80 2013-01-04 Glenn Morris <rgm@gnu.org>
81
82 * term.el (term-handle-colors-array): Ensure face attributes
83 are fully specified, not nil. (Bug#13337)
84
85 * term.el (term-default-fg-color, term-default-bg-color):
86 Fix custom type.
87
88 * progmodes/etags.el (tags-compression-info-list): Doc fix.
89 (tag-find-file-of-tag-noselect): Check auto-compression-mode
90 rather than 'jka-compr being loaded. (Bug#13338)
91
92 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
93
94 * icomplete.el (icomplete-completions):
95 Honor icomplete-prospects-height once more following
96 2012-11-29 changes. (Bug#13224)
97
98 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
99
100 * subr.el (internal--called-interactively-p--get-frame): Find aliases
101 of called-interactively-p as well (bug#13237).
102
103 * view.el (view--enable, view--disable): Rename from view-mode-enable
104 and view-mode-disable and assume it's called from view-mode.
105 (view-mode-enable, view-mode-disable): Redefine as obsolete
106 compatibility layer above view-mode.
107 (view-mode-enter): Call `view-mode'.
108
109 * files.el (after-find-file): Call `view-mode'.
110
111 * doc-view.el (doc-view-scale-internally): New var.
112 (doc-view-enlarge, doc-view-insert-image): Obey it.
113
114 2013-01-03 Daiki Ueno <ueno@gnu.org>
115
116 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
117 exist. (Bug#13344)
118
119 2013-01-03 Glenn Morris <rgm@gnu.org>
120
121 * mail/rmail.el (rmail-set-header-1): Ignore case.
122 Handle multi-line headers. (Bug#13330)
123
124 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
125 Handle paragraph starting at beginning of buffer.
126
127 * subr.el (eval-after-load): Don't purecopy the form, so that it
128 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
129
130 * emacs-lisp/byte-run.el (defun): Place cl declarations
131 after any interactive spec. (Bug#13265)
132
133 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
134
135 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
136 defun. Don't check for DECL if DOCSTRING isn't a string.
137 (defun): Likewise.
138
139 2013-01-02 Glenn Morris <rgm@gnu.org>
140
141 * eshell/em-cmpl.el (eshell-pcomplete):
142 More thoroughly imitate pcomplete. (Bug#13293)
143
144 * files.el (parse-colon-path): Doc fix. (Bug#12351)
145 Return nil for empty path elements. (Bug#13296)
146
147 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
148
149 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
150 order to improve efficiency (Based on Daniel Colascione's
151 <dancol@dancol.org> patch). (Bug#13182)
152
153 2013-01-02 Glenn Morris <rgm@gnu.org>
154
155 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
156
157 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
158
159 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
160 neither DOCSTRING nor DECL was given. (Bug#13316)
161
162 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
163
164 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
165 `error' call.
166 (tramp-do-copy-or-rename-file): Ignore errors when calling
167 `set-file-extended-attributes'.
168
169 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
170 Add handler for `file-acl'.
171 (tramp-smb-handle-file-acl): New defun.
172
173 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
174
175 * calc/README: Mention ISO 8601 week-numbering dates.
176
177 2013-01-01 Martin Rudalics <rudalics@gmx.at>
178
179 * view.el (view-mode-enable): New argument run-view-mode-hook.
180 Run view-mode-hook only when it's non-nil (Bug#13315).
181 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
182 argument t.
183
184 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
185
186 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
187 (No device connected, invalid device name). (Bug #13299)
188
189 2012-12-31 Martin Rudalics <rudalics@gmx.at>
190
191 * window.el (window-resizable--p): Rename to window-resizable-p.
192 (window-resize-no-error): New function.
193
194 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
195 broken in fix from 2012-12-28.
196
197 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
198
199 * subr.el (special-form-p): Don't signal errors on undef aliases.
200
201 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
202
203 * calc/calc-forms.el (math-parse-date): Try using
204 `math-parse-iso-date' when it looks like it might be needed.
205 Allow times of 24:00.
206 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
207 of 24:00.
208
209 2012-12-30 Glenn Morris <rgm@gnu.org>
210
211 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
212 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
213 (rmail-summary-displayed, rmail-summary): Declare.
214 (mairix-rmail-display): Just require rmail.
215
216 2012-12-30 Chong Yidong <cyd@gnu.org>
217
218 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
219 check for the tarball contents.
220
221 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
222
223 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
224 tarfile content listings (Bug#13136).
225
226 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
227
228 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
229 Insert the undecoded text of the message being forwarded. (Bug#9521)
230
231 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
232
233 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
234 integers, if they are real numbers. (Bug#13282)
235
236 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
237 Return `t' on success.
238
239 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
240 Add handler for `set-file-selinux-context'.
241
242 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
243
244 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
245 (tramp-sh-handle-set-file-acl): Return `t' on success.
246
247 2012-12-29 Eli Zaretskii <eliz@gnu.org>
248
249 * files.el (backup-buffer-copy, basic-save-buffer-2):
250 If set-file-extended-attributes fails, fall back on set-file-modes
251 instead of signaling an error. (Bug#13298)
252 (basic-save-buffer): Likewise.
253
254 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
255
256 * progmodes/python.el: Support other commands triggering
257 python-indent-line so indentation cycling continues to work.
258 (python-indent-trigger-commands): New defcustom.
259 (python-indent-line): Use it.
260
261 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
262
263 * progmodes/python.el (python-shell-send-region): Add blank lines
264 for non sent code so backtraces remain correct.
265
266 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
267
268 * progmodes/python.el: Remove cl dependency.
269 (python-syntax-count-quotes): Replace incf call.
270 (python-fill-string): Replace setf call.
271
272 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
273
274 * info.el (info-other-window): New arg, for consistency with info.
275
276 2012-12-28 Martin Rudalics <rudalics@gmx.at>
277
278 * mail/rmail.el (rmail-maybe-display-summary):
279 Rewrite (Bug#13066).
280
281 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
282
283 * epg.el (epg--start): Modify process-environment locally.
284
285 2012-12-28 Daiki Ueno <ueno@gnu.org>
286
287 * epg.el: Support pinentry-curses.
288 Suggested by Werner Koch in
289 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
290 (epg-agent-file, epg-agent-mtime): New variable.
291 (epg--start): Record the modified time of gpg-agent socket file,
292 to restore Emacs frame after pinentry-curses termination.
293 (epg-wait-for-completion): Restore Emacs frame here.
294
295 2012-12-27 Juri Linkov <juri@jurta.org>
296
297 * info.el (Info-file-completions): New variable.
298 (Info-read-node-name-1): Complete node names in the Info file
299 when a file name is given. Call `Info-build-node-completions'
300 with a file name.
301 (Info-build-node-completions): Add new arg `file'. When it is
302 non-nil, visit it in a temporary buffer and cache its completions in
303 `Info-current-file-completions'. Move most of the function body to
304 `Info-build-node-completions-1'.
305 (Info-build-node-completions-1): New function with the body from
306 `Info-build-node-completions'. (Bug#12456)
307
308 2012-12-27 Juri Linkov <juri@jurta.org>
309
310 * frame.el (frame-maximization-style): Remove user option.
311 (cycle-frame-maximized): Remove function.
312 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
313 (toggle-frame-fullscreen): New command bound to <f11> instead of
314 `toggle-frame-maximized'.
315 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
316
317 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
318
319 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
320
321 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
322 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
323 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
324 for `file-accessible-directory-p'. (Bug#13275)
325
326 2012-12-27 Sam Steingold <sds@gnu.org>
327
328 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
329 continuations, see <http://stackoverflow.com/questions/3582436>.
330
331 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
332
333 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
334 "module" and "def" to have indentation before them.
335 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
336
337 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
338
339 2012-12-27 Alan Mackenzie <acm@muc.de>
340
341 Speed up fontification where there's large brace blocks.
342 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
343 to a call of c-beginning-of-decl-1.
344
345 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
346
347 * comint.el (comint-adjust-window-point): New function.
348 (comint-postoutput-scroll-to-bottom):
349 Call comint-adjust-window-point (Bug#13248).
350
351 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
352
353 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
354 Rakefile regexp.
355 (auto-mode-alist): Associate .gemspec files with ruby-mode
356 (https://bugs.ruby-lang.org/issues/5453).
357
358 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
359
360 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
361 Suppress coloring, if possible (required for BusyBox based systems like
362 CynagenMod).
363 (tramp-adb-handle-file-attributes)
364 (tramp-adb-handle-insert-directory)
365 (tramp-adb-handle-file-name-all-completions): Use it.
366 (tramp-adb-get-toolbox): New defun. Check for remote shell
367 implementation (BusyBox or Toolbox).
368
369 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
370
371 * startup.el (initial-buffer-choice): Allow function as value
372 (Bug#13251).
373 (command-line-1): Handle case where initial-buffer-choice
374 specifies a function.
375 * server.el (server-execute): Handle case where
376 initial-buffer-choice specifies a function.
377
378 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
379
380 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
381 its own function.
382 (smtpmail-try-auth-methods): Forget the user name/password if the
383 login is unsuccessful (bug#12424).
384
385 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
386
387 * notifications.el (notifications-notify): Protect body with
388 `with-demoted-errors'.
389
390 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
391 Check properties of remote device. Restart connection, if there is a
392 change.
393
394 2012-12-21 Chong Yidong <cyd@gnu.org>
395
396 * sort.el (sort-subr): Doc fix (Bug#13056).
397
398 2012-12-21 Bastien Guerry <bzg@gnu.org>
399
400 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
401
402 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
403
404 * simple.el (process-file): Overwrite stderr file, if exists.
405
406 2012-12-21 Daiki Ueno <ueno@gnu.org>
407
408 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
409 (epg-error): Set `error-message' property.
410
411 2012-12-21 Chong Yidong <cyd@gnu.org>
412
413 * international/mule-cmds.el (read-char-by-name): Signal an error
414 if the user does not supply a valid character (Bug#13177).
415
416 * simple.el (transpose-subr-1): Preserve marker positions by
417 changing the insertion sequence (Bug#13122).
418
419 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
420
421 * simple.el (kill-region): Deactivate mark even for empty regions
422 (Bug#13169).
423
424 2012-12-21 Chong Yidong <cyd@gnu.org>
425
426 * help-fns.el (describe-variable): Make sure we get the right
427 buffer name (Bug#13105). Suggested by Kelly Dean.
428
429 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
430
431 * comint.el (comint-redirect-previous-input-string): New variable.
432 (comint-redirect-setup, comint-redirect-cleanup)
433 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
434 (comint-redirect-preoutput-filter): Fix verbose message.
435
436 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
437
438 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
439 is too long for Tramp. See discussion in
440 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
441
442 * progmodes/compile.el (compilation-start): Remove line escape
443 template.
444
445 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
446
447 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
448 Adjust comment.
449
450 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
451
452 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
453 following non-comment text (bug#13207).
454 (lm-header-multiline): Continuation lines need to be indented more than
455 the first line.
456 (lm-homepage): New function.
457 (lm-with-file): Don't be confused if narrowing is in effect.
458
459 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
460
461 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
462 very beginning of a hunk (e.g. killing the first line).
463
464 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
465
466 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
467 and text properties from returned ACL string.
468 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
469 for "setfacl" command.
470
471 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
472
473 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
474 `tramp-cleanup-this-connection', when the process has died.
475 (Bug#13151)
476
477 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
478
479 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
480
481 2012-12-17 Kevin Ryde <user42@zip.com.au>
482
483 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
484
485 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
486
487 Add support for preserving ACL entries of files.
488
489 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
490 `set-file-acl' handlers.
491
492 * net/tramp-adb.el (tramp-adb-handle-copy-file):
493 Handle PRESERVE-EXTENDED-ATTRIBUTES.
494
495 * net/tramp-compat.el (tramp-compat-copy-file):
496 Handle PRESERVE-EXTENDED-ATTRIBUTES.
497
498 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
499 Add `file-acl' and `set-file-acl' handlers.
500 (tramp-gvfs-handle-copy-file):
501 Handle PRESERVE-EXTENDED-ATTRIBUTES.
502 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
503 New defuns.
504
505 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
506 Add `file-acl' and `set-file-acl' handlers.
507 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
508 (tramp-sh-handle-set-file-acl): New defuns.
509 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
510 Handle PRESERVE-EXTENDED-ATTRIBUTES.
511
512 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
513 Add `file-acl' and `set-file-acl' handlers.
514 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
515
516 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
517
518 * help-macro.el (make-help-screen): Instead of switch-to-buffer
519 use pop-to-buffer with NORECORD argument t. As buffer name, use
520 *Metahelp* with a leading space (Bug#13190).
521
522 2012-12-16 Romain Francoise <romain@orebokech.com>
523
524 * files.el (file-extended-attributes)
525 (set-file-extended-attributes): New functions.
526 (backup-buffer): Use them to handle both SELinux context and ACL
527 entries.
528 (backup-buffer-copy): Work with an alist of extended attributes,
529 rather than an SELinux context.
530 (basic-save-buffer-2): Ditto.
531
532 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
533
534 * battery.el (battery-bsd-apm): New function.
535
536 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
537
538 * calc/calc.el (calc-standard-date-formats): Adjust one of the
539 standard date formats.
540
541 2012-12-15 Juri Linkov <juri@jurta.org>
542
543 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
544 `isearch-insert-char-by-name'.
545 (with-isearch-suspended): New defmacro with body mostly from
546 `isearch-edit-string' except the part that sets
547 `isearch-new-string' and `isearch-new-message'.
548 (isearch-edit-string): Use new macro `with-isearch-suspended' with
549 body that sets `isearch-new-string' and `isearch-new-message'.
550 (isearch-insert-char-by-name): New command.
551 * international/mule-cmds.el (read-char-by-name): Let-bind
552 `enable-recursive-minibuffers' to t.
553 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
554
555 2012-12-15 Juri Linkov <juri@jurta.org>
556
557 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
558 (Bug#13175)
559
560 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
561
562 * dired-x.el (dired-guess-shell-command): Put colon at the end of
563 the prompt. (Bug#13045)
564
565 2012-12-14 Glenn Morris <rgm@gnu.org>
566
567 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
568 Try to include filename in non-bytecomp warning. (Bug#13132)
569
570 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
571
572 Fix permissions bugs with setgid directories etc. (Bug#13125)
573 * files.el (backup-buffer): Don't rely on 9th output of
574 file-attributes, as it's now a placeholder. Instead, use the new
575 optional arg of file-ownership-preserved-p.
576 (file-ownership-preserved-p): New optional arg GROUP.
577 Fix mishandling of setuid directories that would cause this
578 function to return t when it should have returned nil.
579 Document what happens if the file does not exist, and when
580 it's not known whether the ownership will be preserved.
581 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
582 Likewise.
583 (tramp-get-local-gid): Use group-gid for integer, as that's
584 faster and more reliable.
585
586 2012-12-14 Julien Danjou <julien@danjou.info>
587
588 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
589 Update keywords list, data type and PL/pgSQL.
590
591 2012-12-14 Dave Abrahams <dave@boostpro.com>
592
593 * vc/ediff-util.el (ediff-buffer-type): New function.
594 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
595 rather than taking it as as argument.
596 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
597
598 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
599
600 * json.el: Add pretty-print option (bug#12634).
601 (json-encoding-separator, json-encoding-default-indentation)
602 (json--encoding-current-indentation, json-encoding-pretty-print)
603 (json-encoding-lisp-style-closings): New vars.
604 (json--with-indentation): New macro.
605 (json-encode-hash-table, json-encode-alist, json-encode-plist)
606 (json-encode-array): Use it to obey json-encoding-pretty-print.
607 (json-pretty-print-buffer, json-pretty-print): New commands.
608
609 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
610
611 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
612 Extract `ruby-syntax-propertize-expansions'.
613 (ruby-syntax-propertize-expansions): Only change syntax on
614 certain string delimiters, to punctuation. This way the common
615 functions like forward-word and thing-at-point still work.
616 (ruby-match-expression-expansion): Improve readability.
617 (ruby-block-contains-point): New function.
618 (ruby-add-log-current-method): Handle several edge cases.
619
620 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
621
622 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
623 unload-feature finishes even when aborting an ongoing edebug session.
624 Also, do not worry about edebug-mode, unload-feature takes care of it.
625
626 2012-12-13 Andreas Schwab <schwab@suse.de>
627
628 * net/tls.el (tls-program): Update customize type.
629
630 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
631
632 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
633 (edebug-setup-hook, cl-read-load-hooks): Use it.
634 (edebug-unload-function): New function. (Bug#13163)
635
636 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
637
638 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
639 Otherwise, there could be errors in autoloading. (Bug#13151)
640
641 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
642
643 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
644 sequences.
645
646 2012-12-13 Alan Mackenzie <acm@muc.de>
647
648 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
649 * progmodes/cc-engine.el (c-backward-comments): Add code to work
650 around `forward-comment' not recognizing ^M as whitespace.
651
652 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
653
654 * progmodes/python.el (python-skeleton-class)
655 (python-skeleton-def): Do not add space after defun name.
656
657 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
658
659 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
660 (cl--symbol-function): Remove (now that funbound is like nil).
661
662 2012-12-12 Glenn Morris <rgm@gnu.org>
663
664 * button.el (button--area-button-p): Fix typo.
665
666 2012-12-12 Sam Steingold <sds@gnu.org>
667
668 * frame.el (frame-maximization-style): New user option.
669 (toggle-frame-maximized): Toggle frame maximization according to
670 `frame-maximization-style', bound to <f11>.
671 (cycle-frame-maximized): Cycle between all maximization styles and
672 non-maximized frame, bound to shift-<f11>.
673
674 2012-12-12 David Cadé <codename68@gmail.com>
675
676 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
677
678 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
679
680 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
681 (eieio-override-prin1): Don't quote kewords and booleans.
682 (object-write) <eieio-default-superclass>: Don't put closing parens
683 on new line, avoid needless empty lines, align values that are objects
684 with the slot keyword (instead of beginning on the same line).
685 (eieio-list-prin1): Align value with slot keyword; increase
686 eieio-print-depth before printing members of the list.
687
688 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
689
690 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
691 a display text-property.
692 (report-emacs-bug-hook): Don't bother deleting it any more.
693
694 * hilit-chg.el (highlight-save-buffer-state): Delete.
695 Use with-silent-modifications instead.
696 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
697
698 * button.el: Handle buttons in display text-properties.
699 (button--area-button-p, button--area-button-string):
700 Use (STRING . STRING-POS) representation instead of just STRING.
701
702 2012-12-11 Eli Zaretskii <eliz@gnu.org>
703
704 * makefile.w32-in (compile4-SH): Fix a typo that caused term
705 subdirectory be skipped.
706
707 2012-12-11 Glenn Morris <rgm@gnu.org>
708
709 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
710
711 * progmodes/f90.el (f90-line-continued, f90-indent-region):
712 Treat preprocessor lines embedded in continuations like comments.
713 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
714
715 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
716
717 * calc/calc.el (calc-standard-date-formats): Add more date
718 formats.
719 * calc/calc-forms.el (math-parse-iso-date): New function.
720 (math-parse-date): Use `math-parse-iso-date' when appropriate.
721 (math-parse-iso-date-validate): Add extra error checking.
722 (calc-date-notation): Add ability to access new date formats.
723
724 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
725
726 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
727 font-lock as well as when there's no text-property.
728
729 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
730
731 * hi-lock.el: Refine the choice of default face.
732 (hi-lock-keyword->face): New function. Use it wherever we used
733 cadadadr instead.
734 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
735 (hi-lock--last-face): Remove var.
736 (hi-lock--unused-faces): New var to replace it.
737 (hi-lock-read-face-name): Use/maintain it.
738 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
739 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
740 if it has another face.
741
742 2012-12-10 Eli Zaretskii <eliz@gnu.org>
743
744 * subr.el (w32notify-handle-event): New function.
745 (inotify-handle-event): Doc fix.
746
747 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
748
749 * subr.el (inotify-event-p, inotify-handle-event): New functions.
750
751 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
752
753 * simple.el (just-one-space): Doc fix.
754
755 2012-12-10 Eli Zaretskii <eliz@gnu.org>
756
757 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
758
759 2012-12-10 Le Wang <l26wang@gmail.com>
760
761 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
762 narrowed buffer (bug#12361).
763
764 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
765
766 * vc/vc-hooks.el (vc-state): Doc fix.
767
768 2012-12-10 Glenn Morris <rgm@gnu.org>
769
770 * mail/rmail.el (rmail-maybe-display-summary):
771 Preserve buffer, in case select-window changes it. (Bug#13066)
772
773 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
774
775 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
776 cl-load-hook where they belong.
777
778 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
779
780 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
781
782 2012-12-09 Eli Zaretskii <eliz@gnu.org>
783
784 Parallelize byte compilation on MS-Windows.
785 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
786 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
787 (WINS_BASIC): Define as concatenation of the above.
788 (compile): Subdivide into 4 separate and independent jobs that can
789 be run in parallel.
790 (compile0-CMD, compile0-SH): New targets for compiling
791 COMPILE_FIRST files, which are prerequisites for the rest of the
792 byte-compilation.
793 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
794 New targets for parallel compilation with cmd.exe.
795 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
796 compiling under a Unixy shell.
797
798 2012-12-09 Chong Yidong <cyd@gnu.org>
799
800 * simple.el (set-mark-default-inactive): Delete this
801 accidentally-introduced option.
802 (set-mark-command, exchange-point-and-mark): Remove calls.
803
804 2012-12-09 Glenn Morris <rgm@gnu.org>
805
806 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
807 Respect a defcustom's :set function, if appropriate. (Bug#109)
808 (eval-defun): Doc fix.
809
810 2012-12-08 Juri Linkov <juri@jurta.org>
811
812 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
813 (Info-fontify-node, Info-bookmark-make-record): Remove the
814 file extension from Info-current-file (Bug#13016).
815
816 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
817
818 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
819 point, still provide some default.
820 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
821 names, since we don't use it right now. Actually return the list.
822 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
823
824 2012-12-07 Chong Yidong <cyd@gnu.org>
825
826 * novice.el (disabled-command-function): Remove a spurious help
827 xref (Bug#13043). Suggested by Kelly Dean.
828
829 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
830 syntax is specified (Bug#13025).
831
832 * info.el (Info-set-mode-line): Remove the file extension from
833 Info-current-file if there is one (Bug#13016).
834
835 2012-12-07 Glenn Morris <rgm@gnu.org>
836
837 * mail/rmail.el (rmail-mime-decoded): New permanent local.
838 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
839 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
840 and rmail-mime-decoded. (Bug#9841)
841
842 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
843 (batch-unrmail, unrmail): Doc fixes.
844 (unrmail): Respect unrmail-mbox-format.
845 * mail/rmail.el (rmail-mbox-format): New option.
846 (rmail-show-message-1): Respect rmail-mbox-format.
847
848 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
849
850 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
851
852 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
853
854 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
855 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
856 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
857 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
858 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
859 (cl-progv): Don't rely on dynamic scoping to find the body.
860 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
861 (cl--proclaims-deferred): Rename from the "cl-" prefix.
862 (cl-declaim): Use backquotes.
863 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
864 Use "cl--" prefix for the object's tag.
865
866 * ses.el: Use advice-add/remove.
867 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
868 (copy-region-as-kill, yank): Use advice-add.
869 (ses-unload-function): Use advice-remove.
870
871 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
872
873 * button.el: Make them work in header-lines (bug#12817).
874 (button-map): Add bindings for header-line and mode-line use.
875 (button-get, button-put, button-label): `button' may now be a string.
876 (button-activate): Don't make it a defsubst.
877 (button--area-button-p, button--area-button-string): New functions.
878 (make-text-button): Fix the return value when `beg' was a string.
879 (push-button): Handle the mode-line case.
880
881 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
882
883 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
884 (sql-signum): Remove. Use `cl-signum' instead.
885 (sql-read-passwd): Remove; use read-passwd instread.
886 (sql-get-login-ext): Use read-string.
887 (sql-get-login): Use dolist and pcase.
888 (sql--completion-table): Rename from sql-try-completion.
889 Use complete-with-action.
890 (sql-mode): Don't change abbrev-all-caps globally.
891 (sql-connect): Don't rely on dynamic scoping for `new-name'.
892 (sql-postgres-completion-object): Initialize vars in their `let'.
893 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
894 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
895 (sql-comint-interbase): Use a single append, without setq.
896 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
897
898 * hi-lock.el: Rework the default face and the serialize regexp code.
899 (hi-lock--auto-select-face-defaults): Remove.
900 (hi-lock-string-serialize-serial): Remove.
901 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
902 make weak.
903 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
904 equal string.
905 (hi-lock-set-pattern): Adjust accordingly.
906 (hi-lock--regexps-at-point): Simplify accordingly.
907 (hi-lock--auto-select-face-defaults): Remove.
908 (hi-lock--last-face): New var to replace it.
909 (hi-lock-read-face-name): Rewrite (bug#11095).
910 (hi-lock-unface-buffer): Arrange for the face to be the next default.
911
912 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
913
914 * net/tramp.el (tramp-replace-environment-variables):
915 Hide compiler warning.
916 (tramp-file-name-for-operation): Remove `executable-find',
917 `start-process', `call-process' and `call-process-region'.
918
919 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
920
921 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
922 compatibility.
923
924 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
925
926 2012-12-06 Chong Yidong <cyd@gnu.org>
927
928 * ffap.el (ffap-replace-file-component): Fix typo.
929
930 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
931
932 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
933 fix open-paren-like token test (bug#12785).
934
935 2012-12-06 Glenn Morris <rgm@gnu.org>
936
937 * mail/rmailsum.el (rmail-new-summary): Tweak for
938 rmail-maybe-display-summary changing buffer. (Bug#13066)
939
940 2012-12-06 Juri Linkov <juri@jurta.org>
941
942 * info.el (Info-fontify-node): Don't hide the last newline.
943 (Bug#12272)
944
945 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
946
947 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
948 so as to enable message-read-from-minibuffer to expand mail aliases.
949
950 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
951
952 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
953 the `intangible' property.
954 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
955
956 2012-12-05 Deniz Dogan <deniz@dogan.se>
957
958 * net/rcirc.el (rcirc-urls): Update documentation.
959 (rcirc-condition-filter): New function.
960 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
961 and exclude consecutive duplicate URLs (Bug#6082).
962
963 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
964
965 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
966 Check return code of copy command.
967
968 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
969 Use group `tramp'. Add version.
970
971 2012-12-05 Chong Yidong <cyd@gnu.org>
972
973 * ffap.el (ffap-url-regexp): Don't require matching at front of
974 string (Bug#4952).
975 (ffap-url-p): If only a substring matches, return that.
976 (ffap-url-at-point): Use the return value of ffap-url-p.
977 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
978 (find-file-at-point, dired-at-point, dired-at-point-prompter)
979 (ffap-guess-file-name-at-point): Likewise.
980 (ffap-replace-file-component): Fix typo.
981
982 * info.el (info-display-manual): Add existing Info buffers, whose
983 files may not be in Info-directory-list, to the completion.
984 (info--manual-names): New helper function.
985
986 2012-12-05 Glenn Morris <rgm@gnu.org>
987
988 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
989 New functions, for detecting and resolving conflicts. (Bug#10709)
990
991 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
992
993 * hi-lock.el (hi-lock-auto-select-face): New user variable.
994 (hi-lock-auto-select-face-defaults): New buffer local variable.
995 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
996 (hi-lock-unface-buffer): Prompt user with useful defaults.
997 With prefix arg, unhighlight all hi-lock patterns in buffer.
998
999 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1000
1001 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
1002
1003 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
1004
1005 * Makefile.in (TRAMP_SRC):
1006 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
1007
1008 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
1009
1010 * net/tramp-adb.el: New package.
1011
1012 2012-12-04 Chong Yidong <cyd@gnu.org>
1013
1014 * terminal.el: Move to obsolete/.
1015
1016 * longlines.el: Move to obsolete/.
1017
1018 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
1019 Remove code referring to longlines mode.
1020
1021 2012-12-03 Juri Linkov <juri@jurta.org>
1022
1023 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
1024
1025 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1026
1027 * textmodes/ispell.el (ispell-init-process)
1028 (ispell-start-process, ispell-internal-change-dictionary):
1029 Make sure personal dictionary name is expanded after initial
1030 `default-directory' value. Use expanded strings for
1031 keep/restart checks and for value (Bug#13019).
1032
1033 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
1034
1035 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
1036
1037 2012-12-03 Leo Liu <sdl.web@gmail.com>
1038
1039 * files.el (dir-locals-read-from-file): Check file non-empty
1040 before reading. (Bug#13038)
1041
1042 2012-12-03 Glenn Morris <rgm@gnu.org>
1043
1044 * jka-cmpr-hook.el (jka-compr-get-compression-info):
1045 Remove any version extension before checking filename. (Bug#13006)
1046 (jka-compr-compression-info-list): Belated :version bump.
1047
1048 2012-12-03 Chong Yidong <cyd@gnu.org>
1049
1050 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
1051
1052 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
1053 (buffer-menu): Doc fix (Bug#12294).
1054
1055 2012-12-03 Roland Winkler <winkler@gnu.org>
1056
1057 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
1058 of diary-show-all-entries in the diary buffer (Bug#12994).
1059
1060 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
1061
1062 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
1063 "<STDIN>". This is binary safe.
1064
1065 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
1066
1067 * calc/calc-forms.el (math-absolute-from-iso-dt)
1068 (math-date-to-iso-dt, math-parse-iso-date-validate)
1069 (math-iso-dt-to-date): New functions.
1070 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
1071 (math-fd-isoweekday): New variables.
1072 (calc-date-notation, math-parse-standard-date, math-format-date)
1073 (math-format-date-part): Add support for more formatting codes.
1074
1075 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
1076
1077 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
1078 current buffer's file name when called interactively (Bug#12488).
1079
1080 2012-12-02 Juri Linkov <juri@jurta.org>
1081
1082 * info.el (info-display-manual): Don't clobber an existing Info
1083 buffer (Bug#10770). Add completion (Bug#10771).
1084
1085 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
1086
1087 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
1088 before using it for comparison (Bug#5297).
1089
1090 2012-12-01 Jari Aalto <jari.aalto@cante.net>
1091
1092 * textmodes/css-mode.el (css-current-defun-name): New function.
1093 (css-mode): Use it.
1094
1095 * textmodes/sgml-mode.el (html-current-defun-name): New function.
1096 (html-mode): Use it.
1097
1098 2012-12-01 Chong Yidong <cyd@gnu.org>
1099
1100 Modularize add-log-current-defun (Bug#2224).
1101 Suggested by Jari Aalto.
1102
1103 * vc/add-log.el (add-log-current-defun-function): Doc fix.
1104 (add-log-current-defun): Move mode-specific code to other files.
1105 (add-log-lisp-like-modes, add-log-c-like-modes)
1106 (add-log-tex-like-modes): Variables deleted.
1107
1108 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
1109 (lisp-mode-variables): Use it.
1110
1111 * progmodes/cc-mode.el (c-common-init):
1112 * progmodes/cperl-mode.el (cperl-mode): Set a value for
1113 add-log-current-defun-function.
1114
1115 * progmodes/m4-mode.el (m4-current-defun-name): New function.
1116 (m4-mode): Use it.
1117
1118 * progmodes/perl-mode.el (perl-current-defun-name): New.
1119 (perl-mode): Use it.
1120
1121 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
1122 Use lisp-current-defun-name.
1123
1124 * textmodes/tex-mode.el (tex-current-defun-name): New.
1125 (tex-common-initialization): Use it.
1126
1127 * textmodes/texinfo.el (texinfo-current-defun-name): New.
1128 (texinfo-mode): Use it.
1129
1130 2012-12-01 Chong Yidong <cyd@gnu.org>
1131
1132 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
1133 * progmodes/autoconf.el (autoconf-mode):
1134 * progmodes/js.el (js-mode):
1135 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
1136 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
1137 * progmodes/perl-mode.el (perl-mode):
1138 * progmodes/sh-script.el (sh-mode, sh-set-shell):
1139 * textmodes/css-mode.el (css-mode):
1140 * textmodes/sgml-mode.el (html-mode, sgml-mode)
1141 (sgml-tags-invisible, sgml-guess-indent):
1142 * textmodes/tex-mode.el (tex-common-initialization)
1143 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
1144 (doctex-mode, plain-tex-mode, latex-mode):
1145 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
1146
1147 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
1148
1149 * vc/vc-hg.el (vc-hg-next-revision):
1150 Ensure use of default "tip" output format. (Bug#6968)
1151
1152 2012-12-01 Kim F. Storm <storm@cua.dk>
1153
1154 * startup.el (fancy-startup-tail): Add a clickable link
1155 (Bug#2176).
1156
1157 2012-12-01 Chong Yidong <cyd@gnu.org>
1158
1159 * startup.el (fancy-startup-tail): Improve the message about
1160 auto-save files (Bug#2176).
1161
1162 * files.el (recover-session): Improve the descriptive message, and
1163 use substitute-command-keys.
1164
1165 2012-12-01 Glenn Morris <rgm@gnu.org>
1166
1167 * ido.el (ido-file-internal):
1168 Handle other-window, other-frame for dired. (Bug#13036)
1169
1170 2012-11-30 Glenn Morris <rgm@gnu.org>
1171
1172 * icomplete.el (icomplete-separator): Fix :version.
1173
1174 2012-11-30 Chong Yidong <cyd@gnu.org>
1175
1176 * shell.el (shell): For C-u M-x shell, use an inactive shell
1177 buffer as the default (Bug#1975).
1178 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
1179 (shell-mode): Use them to reapply ansi colorization if Shell mode
1180 is re-enabled.
1181
1182 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
1183
1184 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
1185
1186 2012-11-30 Samuel Bronson <naesten@gmail.com>
1187
1188 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
1189 flag to xargs, for compatibility with BSD xargs (Bug#11703).
1190
1191 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
1192
1193 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
1194 by move-to-column (Bug#3234).
1195
1196 2012-11-30 Chong Yidong <cyd@gnu.org>
1197
1198 * longlines.el (longlines-wrap-line, longlines-encode-region):
1199 Preserve text properties (Bug#1425).
1200
1201 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
1202
1203 * vc/vc.el (vc-register): Allow registering a file which is
1204 already registered with a different backend (Bug#10589).
1205
1206 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
1207 Stefan Monnier <monnier@iro.umontreal.ca>
1208
1209 * icomplete.el: Change separator; add ido-style commands.
1210 (icomplete-show-key-bindings): Remove custom var.
1211 (icomplete-get-keys): Remove function.
1212 (icomplete-forward-completions, icomplete-backward-completions):
1213 New commands.
1214 (icomplete-minibuffer-map): New var.
1215 (icomplete-minibuffer-setup): Use it.
1216 (icomplete-exhibit): Don't delay if the list of completions is known.
1217 (icomplete-separator): New custom.
1218 (icomplete-completions): Use it.
1219 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
1220 (minibuffer-force-complete-and-exit): New command.
1221 (minibuffer--complete-and-exit): New function extracted from
1222 minibuffer-complete-and-exit.
1223 (minibuffer-complete-and-exit): Use it.
1224
1225 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
1226 error message when the file doesn't exist (bug#12974).
1227
1228 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1229
1230 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
1231
1232 2012-11-29 Glenn Morris <rgm@gnu.org>
1233
1234 * files.el (hack-dir-local-variables): Warn if try to set
1235 coding via dir-locals, since it doesn't work. (Bug#7169)
1236
1237 Add desktop support for restoring vc-dir buffers. (Bug#10606)
1238 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
1239 Set buffer-local value of desktop-save-buffer.
1240 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
1241 New functions.
1242 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
1243 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
1244
1245 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
1246 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
1247 Doc fix.
1248 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
1249 Doc fixes.
1250
1251 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
1252
1253 * calc/calc-forms.el (calc-date-notation): Fix regexp
1254 used to find time codes. Fix symbol for seconds.
1255
1256 2012-11-27 Glenn Morris <rgm@gnu.org>
1257
1258 * emacs-lisp/derived.el (derived-mode-make-docstring):
1259 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
1260
1261 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1262
1263 * textmodes/table.el (table-insert): Don't use `symbol-name' on
1264 lexically scoped variables (bug#13005).
1265
1266 2012-11-27 Glenn Morris <rgm@gnu.org>
1267
1268 * vc/vc-hooks.el (vc-mistrust-permissions):
1269 Default to t, to avoid data-loss. (Bug#11490)
1270
1271 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
1272
1273 * progmodes/python.el (python-indent-guess-indent-offset):
1274 If indentation is guessed make python-indent-offset buffer-local.
1275
1276 Fix Imenu regression.
1277 * progmodes/python.el (python-nav-beginning-of-defun):
1278 Fix forward movement when statement(s) separates point from defun.
1279 (python-imenu-prev-index-position): New function.
1280
1281 2012-11-27 Eli Zaretskii <eliz@gnu.org>
1282
1283 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
1284
1285 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
1286 Don't set buffer-file-type. Return nil. (Bug#12989)
1287
1288 2012-11-27 Glenn Morris <rgm@gnu.org>
1289
1290 * hippie-exp.el (hippie-expand-try-functions-list):
1291 Re-autoload it. (Bug#12982)
1292
1293 2012-11-27 Eli Zaretskii <eliz@gnu.org>
1294
1295 * descr-text.el (describe-char-padded-string):
1296 Call internal-char-font only on GUI frames. (Bug#11964)
1297
1298 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
1299
1300 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
1301 and obsoletion message.
1302
1303 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1304
1305 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
1306 the constructs to keep outside of the `cl-block' (bug#12977).
1307
1308 2012-11-27 Chong Yidong <cyd@gnu.org>
1309
1310 * mouse.el (mouse-drag-line): Even if the line is not draggable,
1311 keep reading until we get the up-event anyway, in order to process
1312 the up-event for mouse-1-click-follows-link (Bug#12971).
1313
1314 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
1315
1316 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
1317 base function is not yet defined (bug#12965).
1318 (ad-activate-advised-definition): Use ad-compile-function.
1319 (ad-activate): Use cond.
1320
1321 2012-11-25 Leo Liu <sdl.web@gmail.com>
1322
1323 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
1324 (Bug#12979)
1325
1326 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
1327
1328 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
1329 reftex-section-info-function in order to be compatible with
1330 Texinfo integration.
1331
1332 * textmodes/reftex.el (reftex-section-pre-regexp)
1333 (reftex-section-post-regexp, reftex-section-info-function):
1334 New variable.
1335 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
1336 reftex-section-post-regexp, and reftex-section-info-function in order
1337 to be compatible with Texinfo integration.
1338
1339 * textmodes/reftex-toc.el (reftex-toc-promote-action):
1340 use reftex-section-pre-regexp variable in order to be compatible with
1341 Texinfo integration.
1342
1343 2012-11-25 Chong Yidong <cyd@gnu.org>
1344
1345 * faces.el: Make face-spec-set more analogous to setq.
1346 (face-spec-set): Change the third arg to specify whether this
1347 function is being called via defface, customize, or a third party.
1348 Set the appropriate symbol properties. Clear the override spec if
1349 setting via Custom. Initialize face if necessary. (Bug#4988)
1350 (face-spec-recalc): Allow theme faces to completely replace the
1351 defface spec, in the same way as custom faces (Bug#8454).
1352
1353 * cus-face.el (custom-declare-face): Move face initialization to
1354 face-spec-set.
1355 (custom-theme-set-faces): Don't initialize the face name here, as
1356 that is now done in face-spec-set.
1357
1358 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
1359 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
1360 Simplify by using the new arg to face-spec-set.
1361
1362 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
1363 reset face-override-spec too, and use custom-declare-face.
1364
1365 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
1366
1367 * term/ns-win.el (ns-initialize-window-system): Move creation of
1368 fontsets here (Bug#11964).
1369
1370 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
1371
1372 * ses.el (ses-rename-cell): Correct bug on mode-line update after
1373 cell renaming.
1374
1375 2012-11-24 Chong Yidong <cyd@gnu.org>
1376
1377 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
1378 obsolete.
1379
1380 * custom.el (custom-theme-set-variables): Use a topological sort
1381 for ordering by custom dependencies (Bug#12952).
1382 (custom--sort-vars, custom--sort-vars-1): New functions.
1383
1384 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
1385
1386 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
1387 lexical-binding (bug#12938).
1388
1389 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
1390
1391 * image-mode.el (image-transform-check-size): Use assertions only
1392 for images of type imagemagick.
1393
1394 Otherwise no error, image-transform-fit-to-{width,height} is
1395 silently ignored, as before. Doc fix.
1396
1397 2012-11-24 Chong Yidong <cyd@gnu.org>
1398
1399 * faces.el (color-defined-p): Doc fix (Bug#12853).
1400
1401 2012-11-24 Juri Linkov <juri@jurta.org>
1402
1403 * dired.el (dired-mark): Add optional arg `interactive'.
1404 Check for `use-region-p' if `interactive' is non-nil.
1405 (dired-unmark, dired-flag-file-deletion): Add optional arg
1406 `interactive'. Call `dired-mark' with the arg `interactive'.
1407 (Bug#10624)
1408
1409 * wdired.el: Revert 2012-10-17 change partly and replace it with
1410 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
1411 (wdired-finish-edit): Add marks for new file names to
1412 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
1413 after `revert-buffer'.
1414 (wdired-do-renames): Remove calls to `dired-remove-file',
1415 `dired-add-file', `dired-add-entry'. (Bug#11795)
1416
1417 2012-11-24 Alan Mackenzie <acm@muc.de>
1418
1419 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
1420
1421 Fix bugs in the state cache. Enhance a debugging mechanism.
1422 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
1423 "brace at column zero" strategy for C++.
1424 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
1425 (c-parse-state-point): New variable.
1426 (c-record-parse-state-state): Record old parse state with
1427 `copy-tree'. Record previous value of point.
1428 (c-debug-parse-state-double-cons): New debugging function.
1429 (c-debug-parse-state): Call the above new function.
1430 (c-toggle-parse-state-debug): Output a confirmatory message.
1431
1432 * progmodes/cc-mode.el (c-before-change, c-after-change):
1433 Call c-invalidate-state-cache from `c-before-change' instead of
1434 `c-after-change'.
1435
1436 2012-11-23 Chong Yidong <cyd@gnu.org>
1437
1438 * find-cmd.el (find-constituents): Add executable, ipath,
1439 readable, samefile, writable, daystart, regextype (Bug#12856).
1440
1441 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
1442
1443 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
1444
1445 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
1446
1447 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
1448 definition. This fixes a bootstrap failure.
1449 (calc-gregorian-switch): In menu, put dates before regions.
1450 This is easier to follow, lines up better in the menu, and lets us
1451 coalesce regions that switch at the same time. Give country
1452 names, not "Vatican", as that's better for non-expert users.
1453 Use names that are stable between the date of switch and now, e.g.,
1454 Bohemia and Moravia (which existed then and now) and not
1455 Czechoslovakia (which didn't exist then and doesn't exist now).
1456 What is now the U.S. mostly did not switch at the same time as
1457 Britain, so omit the U.S. Correct spelling of "Britain".
1458 Catholic Switzerland was too much of a mess, so omit it.
1459
1460 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
1461
1462 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
1463 after the variable is changed.
1464
1465 2012-11-21 Daniel Colascione <dancol@dancol.org>
1466
1467 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
1468 in SQL declarations for font-lock.
1469 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
1470
1471 2012-11-21 Glenn Morris <rgm@gnu.org>
1472
1473 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
1474 (face-italic-p): Add optional argument "inherit".
1475
1476 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
1477 Remove -p suffix from names, for consistency with other set-face-*.
1478 (set-face-inverse-video): Fix interactive spec.
1479 * play/gamegrid.el (gamegrid-make-mono-tty-face):
1480 * textmodes/table.el (table--update-cell-face):
1481 Use set-face-inverse-video rather than now obsolete alias.
1482
1483 2012-11-21 Eli Zaretskii <eliz@gnu.org>
1484
1485 * simple.el (line-move): Don't call line-move-partial if
1486 scroll-conservatively is in effect. (Bug#12927)
1487
1488 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1489
1490 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
1491 Fallback on completion-at-point rather than
1492 pcomplete-expand-and-complete, and only if pcomplete actually failed.
1493 (eshell-cmpl-initialize): Setup completion-at-point.
1494
1495 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
1496
1497 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
1498
1499 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
1500
1501 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
1502 are remote, check out-of-band property for both.
1503
1504 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1505
1506 * window.el (switch-to-buffer): Re-add the warning that was lost in the
1507 code rewrite.
1508
1509 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
1510
1511 More minor time fixes.
1512 * calendar/time-date.el: Commentary fix.
1513 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
1514 too much other code depends on (0 0) time stamps.
1515 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
1516 Add a couple of FIXME comments.
1517
1518 Minor cleanup for times as lists of four integers.
1519 * files.el (dir-locals-directory-cache):
1520 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
1521 Doc fixes.
1522 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
1523 * ps-bdf.el (bdf-file-newer-than-time):
1524 Process four-integers time stamps, not two. Doc fixes.
1525
1526 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
1527
1528 * uniquify.el (uniquify-managed): Use defvar-local.
1529 (rename-buffer, create-file-buffer): Advise with advice-add.
1530 (uniquify-unload-function): Unadvise accordingly.
1531
1532 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
1533 (trace-buffer): Don't purecopy.
1534 (trace-entry-message, trace-exit-message): Add `context' arg.
1535 (trace--timer): New var.
1536 (trace-make-advice): Adjust for use in nadvice.
1537 Add `context' argument. Delay `display-buffer' via a timer.
1538 (trace-function-internal): Use advice-add.
1539 (trace--read-args): New function.
1540 (trace-function-foreground, trace-function-background): Use it.
1541 (trace-function): Rename to trace-function-foreground and redefine as
1542 an alias to that new name.
1543 (untrace-function, untrace-all): Adjust to the use of nadvice.
1544
1545 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
1546
1547 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
1548
1549 * subr.el (called-interactively-p-functions): New var.
1550 (internal--called-interactively-p--get-frame): New macro.
1551 (called-interactively-p, interactive-p): Rewrite in Lisp.
1552 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
1553 (called-interactively-p-functions): Use it.
1554 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
1555 (called-interactively-p-functions): Use it.
1556 * allout.el (allout-called-interactively-p): Don't assume
1557 called-interactively-p is a subr.
1558
1559 2012-11-20 Glenn Morris <rgm@gnu.org>
1560
1561 * profiler.el (profiler-report-mode-map): Add a menu.
1562 No need to bind `q' because we derive from special-mode.
1563 (profiler-report-find-entry): Handle calls from the menu-bar.
1564
1565 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
1566
1567 * emacs-lisp/byte-run.el (defun-declarations-alist):
1568 Allow a compiler-macro to be a lambda expression.
1569
1570 * progmodes/python.el: Use cl-lib. Move var declarations outside of
1571 eval-when-compile.
1572 (python-syntax-context): Add compiler-macro.
1573 (python-font-lock-keywords): Simplify with De Morgan.
1574
1575 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
1576
1577 * files.el (load-file): Require match in minibuffer selection, as was
1578 the case in Emacs-20 before we changed the spec to allow .elc files
1579 (bug#12935).
1580
1581 * json.el: Don't require cl since we don't use it.
1582 * color.el: Don't require cl.
1583 (color-complement): `caddr' -> `nth 2'.
1584
1585 * calendar/time-date.el (time-to-seconds): De-obsolete.
1586
1587 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
1588
1589 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
1590 year numbers.
1591 (math-date-to-julian-dt): Adjust the initial approximation for the
1592 year to deal with the new definition of the DATE.
1593
1594 2012-11-19 Daniel Colascione <dancol@dancol.org>
1595
1596 * term/w32-win.el (cygwin-convert-path-from-windows):
1597 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
1598
1599 2012-11-18 Chong Yidong <cyd@gnu.org>
1600
1601 * filecache.el (file-cache--read-list): New function.
1602 (file-cache-add-directory-list, file-cache-add-file-list)
1603 (file-cache-delete-file-list, file-cache-delete-directory-list):
1604 Use it to read a list of files or directories (Bug#12846).
1605 (file-cache-add-file, file-cache-add-directory)
1606 (file-cache-delete-file-list, file-cache-delete-file-regexp)
1607 (file-cache-delete-directory): Print an message.
1608
1609 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
1610
1611 * calc/calc-forms.el (math-date-to-dt): Use integer date when
1612 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
1613
1614 2012-11-18 Glenn Morris <rgm@gnu.org>
1615
1616 * image.el (insert-image, insert-sliced-image): Doc fix.
1617
1618 2012-11-18 Chong Yidong <cyd@gnu.org>
1619
1620 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
1621 (Bug#12810).
1622
1623 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
1624
1625 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
1626 response when the target file is in a subdirectory (Bug#12757).
1627
1628 2012-11-18 Chong Yidong <cyd@gnu.org>
1629
1630 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
1631
1632 2012-11-18 Glenn Morris <rgm@gnu.org>
1633
1634 * emacs-lisp/cl-lib.el (face-underline-p):
1635 Use set-face-underline rather than the alias set-face-underline-p.
1636
1637 * window.el (with-temp-buffer-window): Doc fix.
1638 * subr.el (with-output-to-temp-buffer):
1639 Add doc xref to with-temp-buffer-window.
1640
1641 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
1642
1643 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
1644 * calc/calc.el (math-format-date-cache): Declare.
1645
1646 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
1647
1648 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
1649 It also uses January 1, 1 AD as its day number 1.
1650 * calc/calc-forms.el (math-julian-date-beginning)
1651 (math-julian-date-beginning-int): Implement this.
1652
1653 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
1654
1655 * descr-text.el (quail-find-key):
1656 * dired.el (desktop-file-name):
1657 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
1658 * generic-x.el (comint-mode, comint-exec):
1659 * image-dired.el (widget-forward):
1660 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
1661 (speedbar-change-expand-button-char)
1662 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
1663 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
1664 * printing.el (easy-menu-add-item, easy-menu-remove-item)
1665 (widget-field-action, widget-value-set):
1666 * speedbar.el (imenu--make-index-alist):
1667 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
1668 (ring-length, ring-insert):
1669 * vcursor.el (compare-windows-skip-whitespace):
1670 * woman.el (dired-get-filename):
1671 Declare functions.
1672
1673 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
1674
1675 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1676
1677 * calc/calc.el (calc-gregorian-switch): New variable.
1678
1679 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
1680 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
1681 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
1682 (math-leap-year-p): Add option to distinguish between Julian
1683 and Gregorian calendars.
1684 (math-day-number): Use `math-day-in-year' to do the computations.
1685 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
1686 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
1687 to do the computations.
1688 (math-date-to-dt): Use `math-date-to-julian-dt' and
1689 `math-date-to-gregorian-dt' to do the computations.
1690 (calcFunc-weekday, math-format-date-part): Use the new version of
1691 the DATE to determine the weekday.
1692 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
1693 when necessary.
1694
1695 2012-11-17 Eli Zaretskii <eliz@gnu.org>
1696
1697 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
1698 Cygwin; otherwise use 'file:'. (Bug#12914)
1699 (cygwin-convert-path-from-windows): Declare, to avoid
1700 byte-compiler warnings.
1701
1702 2012-11-17 Andreas Politz <politza@fh-trier.de>
1703
1704 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
1705 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
1706 prefix and negative numeric prefix args (Bug#12795).
1707
1708 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
1709
1710 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
1711 Don't signal an error with a score that is too low to add to the
1712 list of top scores. (Bug#12779)
1713
1714 2012-11-17 Chong Yidong <cyd@gnu.org>
1715
1716 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
1717
1718 * filecache.el (file-cache-add-file): Handle relative file name in
1719 the argument (Bug#12694).
1720
1721 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
1722
1723 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
1724
1725 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
1726
1727 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
1728
1729 * emacs-lisp/cl-lib.el: Set more meaningful version number.
1730
1731 2012-11-16 Martin Rudalics <rudalics@gmx.at>
1732
1733 * window.el (enlarge-window, shrink-window): Don't mention return
1734 value in doc-string (Bug#12896).
1735 (window--display-buffer): Don't resize frames - it won't work
1736 with all window managers and defeat pop-up-frame-alist.
1737 (display-buffer-alist): In doc-string explain that CONDITION can
1738 be a function and which arguments are passed to it (Bug#12854).
1739 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
1740 expressions (Bug#12854).
1741 (display-buffer): Pass ACTION argument to
1742 display-buffer-assq-regexp.
1743
1744 2012-11-16 Glenn Morris <rgm@gnu.org>
1745
1746 * window.el (fit-frame-to-buffer-bottom-margin)
1747 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
1748
1749 * faces.el (face-underline-p): Use face-attribute-specified-or.
1750
1751 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
1752
1753 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
1754
1755 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
1756
1757 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
1758
1759 2012-11-16 Glenn Morris <rgm@gnu.org>
1760
1761 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
1762 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
1763
1764 * faces.el (face-underline-p): Doc fix. Handle :underline being
1765 things other than `t' (a string, a list).
1766 (face-inverse-video-p): Doc fix.
1767 (set-face-underline): Rename it back from set-face-underline-p.
1768 Doc fix. Allow interactive input of values other than t.
1769 (read-face-attribute): Apply formatting to :underline,
1770 since like :box and :stipple it can take list values.
1771
1772 * term.el (ansi-term): Don't let C-x escape-char binding
1773 clobber the more standard C-c binding. (Bug#12842)
1774
1775 * subr.el (set-temporary-overlay-map): Doc fix.
1776
1777 2012-11-16 Martin Rudalics <rudalics@gmx.at>
1778
1779 * window.el (record-window-buffer)
1780 (display-buffer-record-window): When copying the markers to
1781 window-point preserve window-point-insertion-type. (Bug#12588)
1782
1783 2012-11-16 Glenn Morris <rgm@gnu.org>
1784
1785 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
1786 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
1787 Use new names for hooks rather than obsolete aliases.
1788
1789 2012-11-15 Daniel Colascione <dancol@dancol.org>
1790
1791 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
1792 prefix instead of "file:" so that when FILE-NAME begins with "//",
1793 as it does when the target file is on a network share, url-handler
1794 isn't confused.
1795
1796 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1797
1798 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
1799 a preactivated advice from an old advice.el; they're not compatible!
1800
1801 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
1802
1803 * emacs-lisp/nadvice.el (advice--make-interactive-form):
1804 Fix string-spec case.
1805
1806 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
1807
1808 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1809
1810 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
1811 (advice--buffer-local-function-sample): New var.
1812 (advice--set-buffer-local, advice--buffer-local): New functions.
1813 (add-function, remove-function): Use them.
1814
1815 2012-11-15 Drew Adams <drew.adams@oracle.com>
1816
1817 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
1818
1819 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1820
1821 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
1822 potential binding of print-gensym to t, and prettify (back)quotes in
1823 case they appear in args's default values (bug#12884).
1824
1825 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1826
1827 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
1828 (advice-eval-interactive-spec): New function.
1829 (advice--make-interactive-form): Support around advice (bug#12844).
1830
1831 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
1832
1833 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
1834 more strict. Add docstring.
1835 (ruby-expression-expansion-re): Extract from
1836 `ruby-match-expression-expansion'.
1837 (ruby-syntax-propertize-function): After everything else, search
1838 for expansions in string literals, mark their insides as
1839 whitespace syntax and save match data for font-lock.
1840 (ruby-font-lock-keywords): Use the 2nd group from expression
1841 expansion matches.
1842 (ruby-match-expression-expansion): Use the match data saved to the
1843 text property in ruby-syntax-propertize-function.
1844
1845 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1846
1847 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
1848 (bug#12879).
1849
1850 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
1851
1852 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
1853 start/end keyword a bit harder. Works with different values of N.
1854 Add more comments.
1855 (ruby-end-of-block): Update accordingly.
1856
1857 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
1858
1859 * woman.el (woman-file-name): Don't mess with unread-command-events
1860 (bug#12861).
1861
1862 * emacs-lisp/advice.el: Layer on top of nadvice.el.
1863 Remove out of date self-require hack.
1864 (ad-do-advised-functions): Use simple `dolist'.
1865 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
1866 (ad-advice-definition): Redefine as functions.
1867 (ad-advice-classes): Move before first use.
1868 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
1869 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
1870 (ad--defalias-fset): Remove functions.
1871 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
1872 (ad-get-orig-definition): Rewrite.
1873 (ad-make-advised-definition-docstring): Change base docstring.
1874 (ad-real-orig-definition): Rewrite.
1875 (ad-map-arglists): Change name of called function.
1876 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
1877 (ad-make-advised-definition): Simplify.
1878 (ad-assemble-advised-definition): Tweak for new calling context.
1879 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
1880 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
1881 function and call ad-activate if needed.
1882 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
1883 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
1884 (ad-compile-function): Compile ad-Advice-*.
1885 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
1886 (ad-start-advice, ad-stop-advice): Remove.
1887
1888 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
1889
1890 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
1891 period before class method names, not after. Remove handling of
1892 one impossible case. Add comments.
1893
1894 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
1895
1896 * emacs-lisp/advice.el: Remove support for freezing.
1897 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
1898 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
1899 Remove support for `freeze'.
1900
1901 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
1902 override the default.
1903 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
1904 cl--dotimes/dolist.
1905 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
1906 `cl' is loaded.
1907
1908 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
1909 from add-advice.
1910 (advice--strip-macro): New function.
1911 (advice--defalias-fset): Use them to handle macros.
1912 (advice-add): Use them.
1913 (advice-member-p): Correctly handle macros.
1914
1915 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
1916
1917 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1918 Never font-lock the beginning of singleton class as heredoc.
1919
1920 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
1921
1922 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
1923
1924 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
1925
1926 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
1927 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
1928 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
1929
1930 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
1931
1932 Fix end-of-defun misbehavior.
1933 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
1934 python-beginning-of-defun-function. Handle nested defuns
1935 correctly.
1936 (python-nav-end-of-defun): Rename from
1937 python-end-of-defun-function. Ensure forward movement.
1938 (python-info-current-defun): Reimplement to work as intended
1939 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
1940 parent defuns as soon as possible.
1941
1942 2012-11-13 Glenn Morris <rgm@gnu.org>
1943
1944 * progmodes/flymake.el (flymake-error-bitmap)
1945 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
1946 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
1947
1948 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
1949
1950 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
1951 backward, always stop at indentation. Reverts the change from
1952 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
1953
1954 2012-11-13 Glenn Morris <rgm@gnu.org>
1955
1956 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
1957 Add ibuffer-filter-by-derived-mode.
1958
1959 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
1960 the same name shadowing each other.
1961
1962 * window.el (with-temp-buffer-window): Doc tweak.
1963
1964 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
1965
1966 * help.el (temp-buffer-max-height):
1967 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
1968 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
1969
1970 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
1971
1972 * emacs-lisp/nadvice.el: New package.
1973 * subr.el (special-form-p): New function.
1974 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
1975 (elp-all-instrumented-list): Remove var.
1976 (elp-not-profilable): Remove elp-wrapper.
1977 (elp-profilable-p): Use autoloadp and special-form-p.
1978 (elp--advice-name): New const.
1979 (elp-instrument-function): Use advice-add.
1980 (elp--instrumented-p): New predicate.
1981 (elp-restore-function): Use advice-remove.
1982 (elp-restore-all, elp-reset-all): Use mapatoms.
1983 (elp-set-master): Use elp--instrumented-p.
1984 (elp--make-wrapper): Rename from elp-wrapper, return a function
1985 suitable for advice-add. Use cl-inf.
1986 (elp-results): Use mapatoms+elp--instrumented-p.
1987 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
1988 (debug-function-list): Remove var.
1989 (debug): Rename arg, and then let-bind it explicitly inside.
1990 (debugger-setup-buffer): Rename arg.
1991 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
1992 (debugger-frame-number): Adjust to new debug-on-entry setup.
1993 (debug--implement-debug-on-entry): Rename from
1994 implement-debug-on-entry, add argument.
1995 (debugger-special-form-p): Remove, use special-form-p instead.
1996 (debug-on-entry): Use advice-add.
1997 (debug--function-list): New function.
1998 (cancel-debug-on-entry): Use it, along with advice-remove.
1999 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
2000 (debugger-list-functions): Use debug--function-list instead of
2001 debug-function-list.
2002 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
2003 (ad-special-form-p): Remove, use special-form-p instead.
2004 (ad-set-advice-info): Use add-function and remove-function.
2005 (ad--defalias-fset): Adjust accordingly.
2006
2007 2012-11-10 Glenn Morris <rgm@gnu.org>
2008
2009 * mail/emacsbug.el (report-emacs-bug-tracker-url)
2010 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
2011 (report-emacs-bug-create-existing-bugs-buffer)
2012 (report-emacs-bug-parse-query-results)
2013 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
2014
2015 * term.el (term-default-fg-color, term-default-bg-color):
2016 Make obsolete, rather than just saying "deprecated" in the doc.
2017
2018 * term.el (term): Rename from `term-face'.
2019 (term-current-face, ansi-term-color-vector)
2020 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
2021 Update all users.
2022
2023 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
2024
2025 * server.el (server-create-window-system-frame): Handle Nextstep
2026 specially (Bug#12780).
2027
2028 2012-11-10 Glenn Morris <rgm@gnu.org>
2029
2030 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
2031 Unautoload, and make obsolete. (Bug#7449)
2032
2033 2012-11-10 Chong Yidong <cyd@gnu.org>
2034
2035 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
2036 rename from diff-remove-trailing-whitespace (Bug#12831).
2037
2038 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
2039
2040 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
2041 miscompilation of trace.el.
2042
2043 2012-11-10 Glenn Morris <rgm@gnu.org>
2044
2045 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
2046
2047 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
2048
2049 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
2050 (bug#12812).
2051
2052 2012-11-10 Chong Yidong <cyd@gnu.org>
2053
2054 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
2055 a defcustom with an appropriate :set function.
2056 (minibuffer-default--in-prompt-regexps): New function.
2057
2058 2012-11-10 Glenn Morris <rgm@gnu.org>
2059
2060 * emacs-lisp/cl.el (define-setf-expander, defsetf)
2061 (define-modify-macro): Doc fixes.
2062
2063 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
2064 (gv-define-simple-setter): Update doc of `fix-return'.
2065
2066 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
2067
2068 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
2069 twice when `fix-return' is set (bug#12813).
2070
2071 * emacs-lisp/cl.el (defsetf): Pass the third arg to
2072 gv-define-simple-setter (bug#12812).
2073
2074 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
2075 (bug#12756).
2076
2077 2012-11-10 Glenn Morris <rgm@gnu.org>
2078
2079 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
2080
2081 * emacs-lisp/cl-extra.el (cl-prettyexpand):
2082 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
2083 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
2084 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
2085
2086 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
2087
2088 2012-11-10 Leo Liu <sdl.web@gmail.com>
2089
2090 * ido.el (ido-set-matches-1): Improve flex matching performance by
2091 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
2092
2093 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2094
2095 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
2096 (ad--defalias-fset): New function.
2097 (ad-safe-fset): Remove.
2098 (ad-make-freeze-definition): Use cl-letf*.
2099
2100 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2101
2102 * subr.el (dolist): Don't bind VAR in RESULT.
2103
2104 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
2105 (fset, documentation): Don't save real def since we don't advise.
2106 (ad-do-advised-functions): Remove problematic `result-form'.
2107 (ad-safe-fset): `ad-real-fset' => `fset'.
2108 (ad-read-advised-function): Don't assume that ad-do-advised-functions
2109 uses CL's dolist internally.
2110 (ad-arglist): Remove unused arg `name'.
2111 (ad-docstring, ad-make-advised-docstring):
2112 `ad-real-documentation' => `documentation'.
2113 (warning-suppress-types): Declare.
2114 (ad-set-arguments): Simple CSE.
2115 (ad-recover-normality): Sanity check.
2116
2117 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
2118 (funcall '(lambda ..) ..) into ((lambda ..) ..).
2119
2120 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
2121
2122 * ses.el: symbol to coordinate mapping is made by symbol property
2123 `ses-cell'. This means that the same mapping is done for all SES
2124 sheets. That is good enough for cells with standard A1 names, but
2125 not for named cell. So a hash map is added for the latter.
2126 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
2127 (ses-sym-rowcol): Use hashmap for named cell.
2128 (ses-is-cell-sym-p): New defun.
2129 (ses-decode-cell-symbol): New defun.
2130 (ses-create-cell-variable): Add cell to hashmap when name is not
2131 A1-like.
2132 (ses-rename-cell): Check that cell new name is not already in
2133 spreadsheet with the use of ses-is-cell-sym-p
2134 (ses-rename-cell): Use hash map for named cells, but accept also
2135 renaming back to A1-like.
2136
2137 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2138
2139 * emacs-lisp/advice.el: Use new dynamic docstrings.
2140 (ad-make-advised-definition-docstring, ad-advised-definition-p):
2141 Use dynamic-docstring-function instead of ad-advice-info.
2142 (ad--make-advised-docstring): New function extracted from
2143 ad-make-advised-docstring.
2144 (ad-make-advised-docstring): Use it.
2145 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
2146 from sql-help.
2147 (sql-help): Use it with dynamic-docstring-function.
2148
2149 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
2150
2151 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2152
2153 * files.el (hack-one-local-variable--obsolete): New function.
2154 (hack-one-local-variable): Use it for obsolete settings.
2155
2156 * subr.el (locate-user-emacs-file): If both old and new name exist, use
2157 the new name.
2158
2159 * progmodes/js.el (js--filling-paragraph): New var.
2160 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
2161 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
2162 less sneaky.
2163
2164 2012-11-08 Julien Danjou <julien@danjou.info>
2165
2166 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
2167 `auto-mode-alist' (Bug#12835).
2168
2169 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2170
2171 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
2172 (perl--prettify-symbols-alist): New const.
2173 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
2174 New functions.
2175 (perl-font-lock-keywords-2): Use them.
2176 (perl-electric-noindent-p): New function.
2177 (perl-mode): Use it to set up electric-indent-mode.
2178 (perl-electric-terminator, perl-indent-command): Mark obsolete.
2179 (perl-mode-map): Remove bindings for them.
2180 (perl-imenu-generic-expression, perl-outline-level):
2181 Match functions&packages in column>0.
2182
2183 * env.el (env--substitute-vars-regexp): New const.
2184 (substitute-env-vars): Use it. Add `only-defined' arg.
2185 * net/tramp.el (tramp-replace-environment-variables): Use it.
2186
2187 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
2188 Byte-compile *before* eval in eval-and-compile.
2189 (byte-compile-log-warning): Remove redundant inhibit-read-only.
2190 (byte-compile-file-form-autoload): Don't hide actual definition.
2191 (byte-compile-maybe-guarded): Accept `functionp' as well.
2192
2193 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
2194
2195 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
2196
2197 * notifications.el (notifications-get-server-information-method):
2198 New defconst.
2199 (notifications-get-capabilities): Fix docstring.
2200 (notifications-get-server-information): New defun.
2201
2202 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2203
2204 * textmodes/ispell.el (ispell-region): Standard re-indent for better
2205 readability.
2206
2207 * textmodes/ispell.el: Experimental support for support debugging.
2208 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
2209 buffer for ispell.
2210 (ispell-print-if-debug): New function to print stuff to
2211 `ispell-debug-buffer' if debugging is enabled.
2212 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
2213 show some debugging info.
2214 (ispell-buffer-with-debug): New function that creates a debugging
2215 buffer and calls `ispell-buffer' with debugging enabled.
2216
2217 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
2218 comment in autoconf mode. (Bug#12768)
2219
2220 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
2221
2222 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
2223 frame-first-window, frame-root-window, frame-selected-window,
2224 minibuffer-selected-window, minibuffer-window,
2225 window-absolute-pixel-edges, window-at, window-body-height,
2226 window-body-width, window-display-table, window-combination-limit,
2227 window-frame, window-fringes, window-inside-absolute-pixel-edges,
2228 window-inside-edges, window-inside-pixel-edges, window-left-child,
2229 window-left-column, window-margins, window-next-buffers,
2230 window-next-sibling, window-new-normal, window-new-total,
2231 window-normal-size, window-parameter, window-parameters, window-parent,
2232 window-pixel-edges, window-point, window-prev-buffers,
2233 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
2234 window-start, window-text-height, window-top-child, window-top-line,
2235 window-total-height, window-total-width and window-use-time to the list
2236 of functions without side-effects.
2237 (toplevel): Add window-valid-p to the list of error-free functions
2238 without side-effects.
2239
2240 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2241
2242 * textmodes/ispell.el (ispell-program-name):
2243 Update spellchecker parameters when customized.
2244
2245 2012-11-04 Glenn Morris <rgm@gnu.org>
2246
2247 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
2248
2249 2012-11-04 Chong Yidong <cyd@gnu.org>
2250
2251 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
2252 same-window-* variables.
2253
2254 2012-11-04 Juri Linkov <juri@jurta.org>
2255
2256 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
2257 (isearch-describe-key, isearch-describe-mode): Use a display
2258 action instead of binding same-window-* variables (Bug#10040).
2259
2260 2012-11-03 Glenn Morris <rgm@gnu.org>
2261
2262 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
2263 Rename handler properties back from cl-- to cl-. (Bug#12788)
2264
2265 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
2266
2267 2012-11-03 Eli Zaretskii <eliz@gnu.org>
2268
2269 * term/pc-win.el: Don't load term/internal from here.
2270
2271 * loadup.el: Load term/internal from here.
2272
2273 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
2274
2275 * progmodes/python.el (inferior-python-mode): Fix hang in
2276 jit-lock (Bug#12645).
2277
2278 2012-11-03 Martin Rudalics <rudalics@gmx.at>
2279
2280 * window.el (switch-to-visible-buffer)
2281 (switch-to-buffer-preserve-window-point): Fix doc-strings.
2282
2283 2012-11-03 Glenn Morris <rgm@gnu.org>
2284
2285 * emacs-lisp/cl-lib.el (cl--random-time):
2286 Rename from cl-random-time. (Bug#12773)
2287 (cl--gensym-counter, cl--random-state): Update callers.
2288 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
2289
2290 2012-11-03 Chong Yidong <cyd@gnu.org>
2291
2292 * cus-start.el: Make cursor-type customizable (Bug#11633).
2293
2294 2012-11-02 Glenn Morris <rgm@gnu.org>
2295
2296 * filecache.el: No need to load find-lisp when compiling.
2297 (find-lisp-find-files): Autoload it.
2298 (file-cache-add-directory-recursively): Don't require find-lisp.
2299
2300 * image.el (image-type-from-file-name): Trivial simplification.
2301
2302 * emacs-lisp/bytecomp.el (byte-compile-eval):
2303 Decouple "noruntime" and "cl-functions" warnings.
2304
2305 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
2306
2307 * play/gomoku.el (gomoku-display-statistics): Update mode line
2308 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
2309
2310 2012-10-31 Martin Rudalics <rudalics@gmx.at>
2311
2312 * window.el (quit-restore-window): If the window has been
2313 created on an existing frame and ended up as the sole window on
2314 that frame, do not delete it (Bug#12764).
2315
2316 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
2317
2318 * progmodes/sh-script.el (sh--inside-noncommand-expression):
2319 Rename from sh--inside-arithmetic-expression, handle more cases
2320 (bug#11263).
2321
2322 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
2323 (sh-font-lock-open-heredoc): Use it (bug#12770).
2324
2325 2012-10-30 Glenn Morris <rgm@gnu.org>
2326
2327 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
2328
2329 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
2330
2331 2012-10-29 Chong Yidong <cyd@gnu.org>
2332
2333 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
2334 function key is stored in a keyboard macro (Bug#4894).
2335
2336 * thingatpt.el (number-at-point): Apply a thing-at-point property.
2337
2338 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2339
2340 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
2341 header comments".
2342 (diff-unified->context, diff-context->unified)
2343 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
2344
2345 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
2346
2347 * files.el (find-alternate-file): Only ask one question (bug#12487).
2348
2349 2012-10-29 Chong Yidong <cyd@gnu.org>
2350
2351 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
2352 Suggested by Dan Nicolaescu (Bug#6326).
2353
2354 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
2355
2356 * startup.el (fancy-about-screen): Don't message (Bug#12680).
2357
2358 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
2359
2360 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
2361
2362 * face-remap.el (face-remap-add-relative): Handle the case where a
2363 face-remapping-alist entry is a cons cell (Bug#12762).
2364
2365 2012-10-29 Kevin Ryde <user42@zip.com.au>
2366
2367 * woman.el (woman-parse-numeric-value): Handle picas correctly
2368 (Bug#12639).
2369
2370 2012-10-29 Glenn Morris <rgm@gnu.org>
2371
2372 * emacs-lisp/cl.el (defsetf): Doc fix.
2373
2374 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2375
2376 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
2377 syntax to the matching opener, if any (bug#12547).
2378 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
2379 matching open as a "case-(".
2380 (sh-smie-rc-grammar): Add a corresponding rule for it.
2381
2382 2012-10-28 Daniel Hackney <dan@haxney.org>
2383
2384 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
2385 "PKGNAME-autoloads.el" in case we created it.
2386
2387 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2388
2389 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
2390 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
2391 (completion--twq-all): Disable too-strict assertions.
2392
2393 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
2394
2395 2012-10-27 Eli Zaretskii <eliz@gnu.org>
2396
2397 * profiler.el (profiler-report-make-entry-part): Fix help-echo
2398 text to match the real keybindings.
2399
2400 2012-10-27 Juri Linkov <juri@jurta.org>
2401
2402 * wdired.el (wdired-keep-marker-rename): New defcustom.
2403 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
2404 (Bug#11795)
2405
2406 * dired.el (dired-keep-marker-rename): Add reference to
2407 `wdired-keep-marker-rename' in the docstring.
2408 Add default character value ?R to display initially in
2409 Customization UI instead of ?@.
2410
2411 2012-10-27 Martin Rudalics <rudalics@gmx.at>
2412
2413 * window.el (display-buffer): In doc-string describe
2414 window-height and window-width alist entries.
2415
2416 * time.el (display-time-world): Restore fit-window-to-buffer
2417 behavior.
2418
2419 2012-10-27 Chong Yidong <cyd@gnu.org>
2420
2421 * subr.el (insert-buffer-substring-as-yank): Doc fix.
2422
2423 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
2424
2425 * minibuffer.el (completion-category-overrides): New completion
2426 category `bookmark' (bug#11131).
2427
2428 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
2429
2430 * emacs-lisp/advice.el (ad-assemble-advised-definition):
2431 Silence bogus compiler warnings for ad-do-it.
2432
2433 * bookmark.el (bookmark-completing-read): Set the completion category
2434 to `bookmark' (bug#11131).
2435
2436 2012-10-26 Bastien <bzg@altern.org>
2437 Stefan Monnier <monnier@iro.umontreal.ca>
2438
2439 * face-remap.el: Use lexical-binding.
2440 (text-scale-adjust): Improve docstring. Use itself for the temporary
2441 overlay-map bindings, so as to repeat the "Use..." message each time.
2442
2443 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
2444
2445 * emacs-lisp/macroexp.el (macroexp--expand-all):
2446 Obey byte-compile-warning-enabled-p (bug#12486).
2447
2448 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
2449 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
2450
2451 2012-10-26 Martin Rudalics <rudalics@gmx.at>
2452
2453 * mouse.el (mouse-drag-line): Move last form into preceding when
2454 clause (Bug#12731).
2455
2456 * help.el (resize-temp-buffer-window): Fix doc-string.
2457
2458 2012-10-25 David Engster <deng@randomsample.de>
2459
2460 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
2461 Remove. This feature is already integrated in imenu.
2462
2463 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
2464 always loaded. Require `speedbar' unconditionally.
2465
2466 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2467
2468 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
2469
2470 * minibuffer.el (minibuffer-force-complete): Fix thinko.
2471
2472 * net/ldap.el (ldap-search-internal): The official ldif format starts
2473 with a "version: 1" header (bug#12724).
2474
2475 * emacs-lisp/package.el (package-installed-p): Warn if not ready
2476 (bug#12721).
2477
2478 2012-10-25 Glenn Morris <rgm@gnu.org>
2479
2480 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
2481
2482 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2483
2484 * minibuffer.el (minibuffer-force-complete): Use one more marker
2485 for the temporary-overlay-map command (bug#12619).
2486
2487 2012-10-24 Chong Yidong <cyd@gnu.org>
2488
2489 * time.el (display-time-world-mode): Derive from special-mode.
2490 (display-time-world): Use display-buffer (Bug#12708).
2491 (display-time-world-mode-map): Variable deleted.
2492 (display-time-world-display): Wrap the final delete-char inside
2493 inhibit-read-only.
2494
2495 2012-10-24 Chong Yidong <cyd@gnu.org>
2496
2497 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
2498 Doc fix.
2499
2500 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
2501
2502 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2503
2504 * minibuffer.el (completion--all-sorted-completions-location): New var.
2505 (completion--cache-all-sorted-completions)
2506 (completion--flush-all-sorted-completions): Use it.
2507 (completion-in-region, completion-in-region--postch)
2508 (completion-at-point, completion-help-at-point): Use markers in
2509 completion-in-region--data (bug#12619).
2510
2511 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2512
2513 * progmodes/compile.el (compilation-start): Try to handle common
2514 quoting of `cd' argument (bug#12640).
2515
2516 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
2517 (bug#12671).
2518
2519 2012-10-23 Glenn Morris <rgm@gnu.org>
2520
2521 * progmodes/gud.el (gud-menu-map):
2522 Check gdb-active-process is bound. (Bug#12358)
2523
2524 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2525
2526 * repeat.el (repeat): Set real-this-command (bug#12232).
2527
2528 * htmlfontify.el (hfy-post-html-hook):
2529 * filesets.el (filesets-cache-fill-content-hook):
2530 * arc-mode.el (archive-extract-hook):
2531 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
2532 * net/rcirc.el (rcirc-sentinel-functions)
2533 (rcirc-receive-message-functions, rcirc-activity-functions)
2534 (rcirc-print-functions):
2535 * net/dbus.el (dbus-event-error-functions):
2536 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
2537 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
2538 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
2539 * term/sun.el (sun-raw-prefix-hooks):
2540 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
2541
2542 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
2543
2544 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2545 Set `tramp-chunksize' to 1. This improves the performance.
2546 (tramp-smb-wait-for-output): Add timeout to
2547 `tramp-accept-process-output' calls.
2548
2549 2012-10-23 Chong Yidong <cyd@gnu.org>
2550
2551 * faces.el (font-list-limit): Define as an obsolete variable.
2552
2553 * startup.el (command-line):
2554 * cus-start.el: Don't refer to font-list-limit.
2555
2556 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
2557
2558 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2559
2560 * subr.el (internal-temp-output-buffer-show): Rename from
2561 temp-output-buffer-show, since previously compiled files expect this name.
2562
2563 2012-10-23 Glenn Morris <rgm@gnu.org>
2564
2565 * image.el (image-type-from-file-name): If multiple types match,
2566 return the first one that is supported. (Bug#9045)
2567
2568 2012-10-22 Glenn Morris <rgm@gnu.org>
2569
2570 * image.el (imagemagick-enabled-types): Doc fix.
2571
2572 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
2573
2574 * progmodes/which-func.el (which-func-current): The hash-table may have
2575 an explicit nil (bug#12338).
2576
2577 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2578
2579 * electric.el (electric-pair-delete-selection-self-insert-function):
2580 Rename to electric-pair-will-use-region, return a boolean.
2581 (electric-pair-mode): Adjust accordingly. Don't require delsel.
2582
2583 * delsel.el (delete-selection-helper): Use a function instead of a hook.
2584 (delete-selection-pre-hook): Use use-region-p.
2585 (delete-selection-self-insert-function): Remove.
2586 (self-insert-command): Obey self-insert-uses-region-functions.
2587 (self-insert-iso): Revert to previous setting, since we don't actually
2588 know what that command does.
2589 (delete-selection-self-insert-hooks): Remove.
2590
2591 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
2592
2593 * delsel.el (delete-selection-helper): New function, extracted from
2594 delete-selection-pre-hook.
2595 (delete-selection-pre-hook): Use it.
2596 (delete-selection-self-insert-function): New function.
2597 (delete-selection-self-insert-hooks): New hook.
2598 (self-insert-command, self-insert-iso): Use it.
2599 * electric.el (electric-pair-syntax): New function, extracted from
2600 electric-pair-post-self-insert-function.
2601 (electric-pair-post-self-insert-function): Use it.
2602 (electric-pair-delete-selection-self-insert-function): New function.
2603 (electric-pair-mode): Require delsel and setup
2604 delete-selection-self-insert-hooks (bug#11520).
2605
2606 2012-10-20 Chong Yidong <cyd@gnu.org>
2607
2608 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
2609 no changes to show (Bug#12586).
2610
2611 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
2612 list explicitly (Bug#12571).
2613
2614 2012-10-20 Arne Jørgensen <arne@arnested.dk>
2615
2616 * progmodes/flymake.el (flymake-create-temp-inplace):
2617 Use file-truename.
2618
2619 2012-10-20 Eli Zaretskii <eliz@gnu.org>
2620
2621 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
2622
2623 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
2624
2625 * calc/calc-units.el (math-extract-units): Properly extract powers
2626 of units.
2627
2628 2012-10-20 Daniel Colascione <dancol@dancol.org>
2629
2630 * frame.el (make-frame): Set x-display-name as we used to in order
2631 to unbreak creating an X11 frame from an Emacs daemon started
2632 without a display.
2633
2634 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2635
2636 * minibuffer.el (minibuffer-force-complete): Make the next completion use
2637 the same completion-field (bug#12221).
2638
2639 2012-10-19 Martin Rudalics <rudalics@gmx.at>
2640
2641 * emacs-lisp/debug.el (debug): Record height of debugger window
2642 also when debugger will be back (Bug#8789).
2643
2644 2012-10-18 Chong Yidong <cyd@gnu.org>
2645
2646 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
2647 Convert to defcustom.
2648 (gdb-get-source-file): Don't bind pop-up-windows.
2649
2650 * progmodes/gud.el (gud-display-line): Don't specially re-use
2651 other frames for the gdb-mi case (Bug#12648).
2652
2653 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
2654
2655 * emacs-lisp/advice.el: Clean up commentary a bit.
2656 (ad-do-advised-functions, ad-with-originals): Use `declare'.
2657 (byte-code-function-p): Never redefine.
2658
2659 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
2660
2661 2012-10-18 Glenn Morris <rgm@gnu.org>
2662
2663 * dired.el (dired-sort-toggle): Some ls implementations only allow
2664 a single option string. (Bug#12666)
2665
2666 * minibuffer.el (completion-cycle-threshold): Doc fix.
2667
2668 2012-10-17 Kenichi Handa <handa@gnu.org>
2669
2670 * international/mule.el (set-keyboard-coding-system):
2671 Recover input meta mode when the new coding system doesn not use 8-bit.
2672 Supply TERMINAL arg to set-input-meta-mode.
2673
2674 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
2675
2676 * wdired.el (wdired-old-marks): New variable.
2677 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
2678 (wdired-do-renames): Move point with renamed file and don't lose
2679 mark status (Bug#11795).
2680
2681 2012-10-16 Juri Linkov <juri@jurta.org>
2682
2683 * replace.el (query-replace-help): Mention multi-buffer replacement
2684 keys in the Help message. (Bug#12655)
2685
2686 2012-10-15 Chong Yidong <cyd@gnu.org>
2687
2688 * emacs-lisp/byte-run.el (defsubst): Doc fix.
2689
2690 2012-10-14 Eli Zaretskii <eliz@gnu.org>
2691
2692 * window.el (display-buffer): Doc fix.
2693
2694 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2695 Adjust the msft regexp to the output of Studio 2010, and move msft
2696 before edg-1. See the discussion on emacs-devel,
2697 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
2698 for the details.
2699
2700 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
2701
2702 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
2703 (oset): Move uses of object-class-fast macro after its definition.
2704
2705 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
2706
2707 2012-10-13 Chong Yidong <cyd@gnu.org>
2708
2709 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
2710 enabled, re-enable it (Bug#11963).
2711
2712 2012-10-13 Martin Rudalics <rudalics@gmx.at>
2713
2714 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
2715 non-nil, restore window configuration (Bug#12623).
2716
2717 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2718
2719 * help-fns.el (describe-variable, describe-function-1):
2720 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
2721
2722 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
2723
2724 2012-10-12 Glenn Morris <rgm@gnu.org>
2725
2726 * mail/rmailsum.el (rmail-header-summary):
2727 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
2728
2729 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
2730
2731 * progmodes/python.el (python-mode-map):
2732 Replace subtitute-key-definition with proper command remapping.
2733 (python-nav--up-list): Fix behavior for blocks on the same level.
2734
2735 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2736
2737 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
2738
2739 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
2740 changes to the format of load-history.
2741
2742 * international/mule-cmds.el (read-char-by-name): Move let-binding of
2743 completion-ignore-case in case that var is buffer-local (bug#12615).
2744
2745 2012-10-11 Kenichi Handa <handa@gnu.org>
2746
2747 * international/eucjp-ms.el: Re-generated.
2748
2749 2012-10-10 Kenichi Handa <handa@gnu.org>
2750
2751 * select.el (xselect--encode-string): If a coding is specified for
2752 selection, and that is compatible with COMPOUND_TEXT, use it.
2753
2754 2012-10-10 Martin Rudalics <rudalics@gmx.at>
2755
2756 * window.el (switch-to-buffer-preserve-window-point): New option.
2757 (switch-to-buffer):
2758 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
2759
2760 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2761
2762 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
2763 Don't document nil as a useful value (bug#12583).
2764
2765 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
2766
2767 * net/tramp.el (tramp-debug-message):
2768 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
2769 (with-tramp-progress-reporter): Rename from
2770 `tramp-with-progress-reporter'.
2771 (with-tramp-file-property, with-tramp-connection-property):
2772 Move from tramp-cache.el, rename from `with-file-property' and
2773 `with-connection-property', respectively.
2774
2775 * net/tramp-cache.el: Remove `with-file-property' and
2776 `with-connection-property'.
2777
2778 * net/tramp.el:
2779 * net/tramp-gvfs.el:
2780 * net/tramp-sh.el:
2781 * net/tramp-smb.el: Adapt callees.
2782
2783 * net/trampver.el: Update release number.
2784
2785 2012-10-09 Glenn Morris <rgm@gnu.org>
2786
2787 * w32-fns.el (set-message-beep):
2788 * term/w32-win.el (set-message-beep): Update declarations.
2789
2790 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2791
2792 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
2793 (mode-line-widen, mode-line-input-method-map)
2794 (mode-line-coding-system-map, mode-line-remote)
2795 (mode-line-unbury-buffer, mode-line-bury-buffer)
2796 (mode-line-next-buffer, mode-line-previous-buffer):
2797 Replace save-selected-window+select-window => with-selected-window.
2798
2799 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
2800 * progmodes/cc-vars.el (bq-process): Remove, unused.
2801
2802 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
2803
2804 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
2805
2806 Implemented `backward-up-list'-like navigation.
2807 * progmodes/python.el (python-nav-up-list)
2808 (python-nav-backward-up-list): New functions.
2809 (python-mode-map): Define substitute key for backward-up-list to
2810 python-nav-backward-up-list.
2811
2812 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
2813
2814 * progmodes/python.el (python-fill-paragraph): Rename from
2815 python-fill-paragraph-function. Fixed fill-paragraph for
2816 decorators (Bug#12605).
2817
2818 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
2819
2820 * progmodes/python.el (python-shell-output-filter): Handle extra
2821 carriage return in OSX (Bug#12409).
2822
2823 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
2824
2825 Fix shell handling of unbalanced quotes and parens in output.
2826 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
2827 (python-syntax-propertize-function): Use it.
2828 (python-shell-output-syntax-table): New var.
2829 (inferior-python-mode): Prevent unbalanced parens/quotes from
2830 previous output mess with current input context.
2831
2832 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
2833
2834 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
2835 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
2836
2837 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
2838
2839 * ffap.el (ffap-replace-file-component): Support Tramp file name
2840 syntax, not only ange-ftp's one.
2841
2842 2012-10-08 Glenn Morris <rgm@gnu.org>
2843
2844 * cus-start.el (message-log-max): Set :version.
2845
2846 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
2847
2848 2012-10-08 Martin Rudalics <rudalics@gmx.at>
2849
2850 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
2851 the minibuffer window (Bug#10851).
2852
2853 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
2854
2855 Enhancements on forward-sexp movement.
2856 * progmodes/python.el (python-nav-beginning-of-statement)
2857 (python-nav-end-of-statement): Return point-marker.
2858 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
2859 (python-info-current-symbol)
2860 (python-info-statement-starts-block-p): Rename from
2861 python-info-beginning-of-block-p.
2862 (python-info-statement-ends-block-p): Rename from
2863 python-info-end-of-block-p.
2864 (python-info-beginning-of-statement-p)
2865 (python-info-end-of-statement-p)
2866 (python-info-beginning-of-block-p, python-info-end-of-block-p):
2867 New functions.
2868
2869 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2870
2871 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
2872 frame-selected-windows.
2873
2874 2012-10-08 Daniel Colascione <dancol@dancol.org>
2875
2876 * battery.el (battery-status-function): Check for
2877 w32-battery-status itself, not system-time windows-nt.
2878
2879 * frame.el: Require cl-lib.
2880 (display-format-alist): New variable mapping frame types to
2881 functions that initialize them.
2882 (window-system-for-display): New function: interprets
2883 display-format-alist.
2884 (make-frame-on-display): Remove existing display-selection logic
2885 and just forward to make-frame, which will now DTRT.
2886 (make-frame): Restructure to use window-system-for-display to
2887 figure out how to create a frame on a given display.
2888 (display-mouse-p): Look for frame-type w32, not a particular
2889 system-type.
2890
2891 * loadup.el: Load w32 lisp code when we have the w32 feature.
2892
2893 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
2894 system-type windows-nt.
2895
2896 * server.el (server-create-window-system-frame): Look for window
2897 type.
2898 (server-proces-filter): Only force a window system when windows-nt
2899 _and_ w32. Explain why.
2900
2901 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
2902 of window systems we configure for the mode.
2903
2904 * startup.el (command-line): Mark window system is initialized
2905 after we've done it.
2906
2907 * common-win.el (x-select-text): Look for w32, not windows-nt.
2908
2909 * ns-win.el: Require cl-lib. Add ourselves to
2910 display-format-alist.
2911 (ns-initialize-window-system): Assert we're not initialized twice.
2912
2913 * w32-win.el: Enable lexical binding; require cl-lib; add
2914 ourselves to display-format-alist.
2915 (w32-handle-dropped-file): Convert incoming dropped files from
2916 Windows paths to Cygwin ones before passing them on to the rest of
2917 Emacs.
2918 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
2919 (w32-initialize-window-system): Assert we're not initialized twice.
2920
2921 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
2922 (x-initialize-window-system): Assert we're not initialized twice.
2923
2924 * w32-common-fns.el: New File.
2925 (w32-version, w32-using-nt, w32-get-clipboard-data)
2926 (w32-set-clipboard-data, x-set-selection, x-get-selection)
2927 (w32-charset-info-alist, x-last-selected, text)
2928 (x-get-selection-value, x-selection-value): Move here.
2929
2930 * w32-fns.el: Require w32-common-fns.
2931 (w32-version, w32-using-nt, w32-get-clipboard-data)
2932 (w32-set-clipboard-data, x-set-selection, x-get-selection)
2933 (w32-charset-info-alist, x-last-selected, text)
2934 (x-get-selection-value, x-selection-value): Move to
2935 w32-common-fns.
2936
2937 * w32-vars.el:
2938 (w32-allow-system-shell, w32-system-shells): Define only in
2939 non-cygwin case.
2940
2941 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2942
2943 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
2944 (read-passwd): Remove a few more potential sources of leaks.
2945
2946 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
2947
2948 * progmodes/python.el (inferior-python-mode)
2949 (python-shell-make-comint): Fix initialization of local
2950 variables copied from parent buffer.
2951
2952 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
2953
2954 * term/ns-win.el (ns-read-file-name): Update declaration to match
2955 nsfns.m.
2956 (ns-respond-to-change-font): Change fontsize separatly so we are sure
2957 it is set when font is acted upon.
2958
2959 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
2960
2961 Enhancements to indentation.
2962 * progmodes/python.el (python-indent-context): Give priority to
2963 inside-string context. Make comments indentation markers.
2964 (python-indent-region): Do not mess with strings, unless it's the
2965 enclosing set of quotes.
2966
2967 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2968
2969 * window.el (internal--before-save-selected-window)
2970 (internal--after-save-selected-window): New functions extracted from
2971 save-selected-window. Make sure we return the `alist' we construct.
2972 (save-selected-window): Use them.
2973
2974 * textmodes/tex-mode.el (tex-recenter-output-buffer):
2975 Use with-selected-window.
2976
2977 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
2978 forms that define macros (bug#12593).
2979
2980 2012-10-07 Kenichi Handa <handa@gnu.org>
2981
2982 * international/mule-conf.el (compound-text-with-extensions):
2983 Add :mime-charset property as x-ctext.
2984
2985 2012-10-07 Stefan Merten <smerten@oekonux.de>
2986
2987 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
2988 (rst-indent-literal-normal, rst-indent-literal-minimized)
2989 (rst-indent-comment): Correct :version tag.
2990 (rst-official-cvs-rev): Correct version string.
2991
2992 2012-10-07 Glenn Morris <rgm@gnu.org>
2993
2994 * mail/rmailmm.el (rmail-mime-process-multipart):
2995 Do not confuse a multipart message with an epilogue
2996 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
2997
2998 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
2999
3000 Fix shell output retrieval and comint-prompt-regexp init.
3001 * progmodes/python.el (inferior-python-mode):
3002 (python-shell-make-comint): Fix initialization of
3003 comint-prompt-regexp from copied file local variables.
3004 (python-shell-fetched-lines): Remove var.
3005 (python-shell-output-filter-in-progress): Rename from
3006 python-shell-fetch-lines-in-progress.
3007 (python-shell-output-filter-buffer): Rename from
3008 python-shell-fetch-lines-string.
3009 (python-shell-fetch-lines-filter): Delete function.
3010 (python-shell-output-filter): New function.
3011 (python-shell-send-string-no-output): Use them.
3012
3013 2012-10-07 Glenn Morris <rgm@gnu.org>
3014
3015 * hi-lock.el (hi-lock-process-phrase):
3016 Try to make it less fragile. (Bug#7161)
3017
3018 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
3019
3020 2012-10-06 Glenn Morris <rgm@gnu.org>
3021
3022 * ehelp.el (electric-help-mode): Use help-mode rather than
3023 non-existent mode `help'.
3024 (electric-help-map): Use button-buffer-map. (Bug#10917)
3025
3026 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
3027 (reftex-create-bibtex-footer): Fix custom types.
3028
3029 * progmodes/sh-script.el (sh-indent-after-continuation):
3030 Add explicit :group.
3031
3032 * textmodes/rst.el (rst-preferred-decorations)
3033 (rst-shift-basic-offset): Clarify obsolescence versions.
3034
3035 * profiler.el (profiler): Add missing group :version tag.
3036 * avoid.el (mouse-avoidance-banish-position):
3037 * proced.el (proced-renice-command):
3038 * calc/calc.el (calc-ensure-consistent-units):
3039 * calendar/icalendar.el (icalendar-import-format-uid):
3040 * net/tramp.el (tramp-save-ad-hoc-proxies):
3041 * progmodes/bug-reference.el (bug-reference-bug-regexp):
3042 * progmodes/flymake.el (flymake-error-bitmap)
3043 (flymake-warning-bitmap, flymake-fringe-indicator-position):
3044 * progmodes/sh-script.el (sh-indent-after-continuation):
3045 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
3046 (verilog-before-save-font-hook, verilog-after-save-font-hook):
3047 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
3048 (vhdl-array-index-record-field-in-sensitivity-list)
3049 (vhdl-indent-comment-like-next-code-line):
3050 * textmodes/reftex-vars.el (reftex-ref-style-alist)
3051 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
3052 (reftex-cite-key-separator, reftex-create-bibtex-header)
3053 (reftex-create-bibtex-footer):
3054 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
3055 (rst-indent-literal-normal, rst-indent-literal-minimized)
3056 (rst-indent-comment): Add missing custom :version tags.
3057
3058 * calendar/timeclock.el (timeclock-modeline-display):
3059 Add missing obsolete alias for renamed user option.
3060
3061 * strokes.el (strokes-modeline-string):
3062 * emulation/crisp.el (crisp-mode-modeline-string):
3063 * eshell/esh-mode.el (eshell-status-in-modeline):
3064 Aliases to defcustoms must come before the defcustom.
3065
3066 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
3067 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
3068 (cal-tex-cursor-week-monday): Doc fixes.
3069 (cal-tex-cursor-week2-summary): Doc fix.
3070 Rename from cal-tex-cursor-week-at-a-glance.
3071
3072 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
3073 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
3074
3075 * calendar/calendar.el (calendar-mode-map):
3076 Add cal-tex-cursor-week2-summary.
3077
3078 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
3079
3080 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
3081
3082 * subr.el (read-passwd-map): New var.
3083 (read-passwd): Use `read-string' again.
3084 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
3085
3086 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
3087
3088 * register.el (append-to-register, prepend-to-register):
3089 Deactivate mark, as does `copy-to-register' (bug#12389).
3090
3091 2012-10-06 Chong Yidong <cyd@gnu.org>
3092
3093 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
3094
3095 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
3096
3097 * international/characters.el: Fix simple mistake ((car chars) ->
3098 elt), delete duplicated code.
3099
3100 2012-10-06 Glenn Morris <rgm@gnu.org>
3101
3102 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
3103
3104 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
3105
3106 * color.el (color-hsl-to-rgb): Fix incorrect results for
3107 small and large hue values. (Bug#12559)
3108
3109 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
3110
3111 Enhancements to docstring formatting when filling paragraphs.
3112 * progmodes/python.el (python-fill-docstring-style): Rename from
3113 python-fill-string-style. Added new style.
3114 (python-fill-string): Use new style. Better checks for
3115 docstrings.
3116
3117 2012-10-05 Glenn Morris <rgm@gnu.org>
3118
3119 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
3120
3121 * color.el (color-name-to-rgb, color-rgb-to-hex)
3122 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
3123 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
3124 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
3125 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
3126
3127 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
3128
3129 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
3130
3131 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
3132 to get the correct size across symlinks.
3133
3134 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
3135
3136 2012-10-04 Juri Linkov <juri@jurta.org>
3137
3138 * replace.el (query-replace-interactive): Declare obsolete.
3139 (query-replace-read-from): Add the last incremental search string
3140 to the list of default values accessible via M-n.
3141 (map-query-replace-regexp): Use `read-regexp'.
3142 (query-replace, query-replace-regexp, query-replace-regexp-eval)
3143 (map-query-replace-regexp, replace-string, replace-regexp):
3144 Fix docstrings to replace mentions of `query-replace-interactive'
3145 with alternatives. (Bug#12526)
3146
3147 2012-10-04 Juri Linkov <juri@jurta.org>
3148
3149 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
3150 (dired-pop-to-buffer): Declare obsolete.
3151 (dired-mark-pop-up): Doc fix.
3152
3153 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
3154
3155 Allow user to set docstring style for fill-paragraph.
3156 * progmodes/python.el
3157 (python-fill-comment-function, python-fill-string-function)
3158 (python-fill-decorator-function, python-fill-paren-function):
3159 Remove :safe for defcustoms.
3160 (python-fill-string-style): New defcustom
3161 (python-fill-paragraph-function): Enhance context detection.
3162 (python-fill-string): Honor python-fill-string-style settings.
3163
3164 2012-10-04 Martin Rudalics <rudalics@gmx.at>
3165
3166 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
3167 after setting its buffer (Bug#10805).
3168
3169 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
3170
3171 Fix cornercase for string syntax.
3172 * progmodes/python.el (python-syntax-propertize-function):
3173 Simplify and enhance the regexp for unescaped quotes. Now it also
3174 matches quotes in weird situations like the single quote in
3175 "something\"'".
3176 (python-syntax-stringify): Simplify num-quotes detecting code.
3177
3178 2012-10-03 Glenn Morris <rgm@gnu.org>
3179
3180 * help-macro.el (three-step-help):
3181 Revert 2012-09-29 change. (Bug#12567)
3182
3183 2012-10-03 Martin Rudalics <rudalics@gmx.at>
3184
3185 * menu-bar.el (kill-this-buffer): Don't do anything when
3186 `menu-frame' is not alive or visible (Bug#8184).
3187
3188 * emacs-lisp/debug.el (debug): When quitting the debugger window
3189 restore current buffer (Bug#12502).
3190
3191 2012-10-02 Chong Yidong <cyd@gnu.org>
3192
3193 * progmodes/hideif.el (hif-lookup, hif-defined):
3194 Handle semantic-c-takeover-hideif.
3195
3196 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
3197
3198 Change sampling interval units from ms to ns.
3199 * profiler.el (profiler-sampling-interval): Change units
3200 from ms to ns, multiplying the default by 1000000 so that
3201 it remains 1 ms.
3202 (profiler-report-cpu-line-format): Give enough room for
3203 the maximum counters on 64-bit hosts.
3204 (profiler-report-render-calltree-1): Call them "CPU samples",
3205 not "Time (ms)", since they are not milliseconds now (and
3206 never really were).
3207
3208 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
3209
3210 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
3211 Fix querying BBDB for entries without a last name (Bug#11580).
3212
3213 2012-10-02 Chong Yidong <cyd@gnu.org>
3214
3215 * emacs-lisp/eieio.el: Restore Version header.
3216
3217 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
3218
3219 * vc/diff-mode.el (diff--auto-refine-data): New var.
3220 (diff-hunk): Use it to delay refinement.
3221 (diff-mode): Remove overlays when we turn off font-lock.
3222
3223 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
3224 (table-initialize-table-fixed-width-mode)
3225 (table-set-table-fixed-width-mode): Remove functions.
3226 (table-command-list): Move initialization into declaration.
3227 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
3228 (table-with-cache-buffer): Use `declare'.
3229 (table-span-cell): Simplify via CSE.
3230 (table-fixed-width-mode): Use define-minor-mode.
3231 (table-call-interactively, table-funcall, table-apply): Remove.
3232 (table-function): New function, to replace them.
3233
3234 * bookmark.el (bookmark-search-pattern): Remove var.
3235 (bookmark-read-search-input): Remove function.
3236 (bookmark-bmenu-search): Reimplement using a minibuffer.
3237
3238 * faces.el (modeline): Remove obsolete face name.
3239
3240 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
3241 and give a non-nil default value.
3242 (add-change-log-entry): Simplify accordingly.
3243
3244 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
3245
3246 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
3247 (vc-git-log-edit-toggle-amend): New function.
3248 (vc-git-log-edit-toggle-signoff): New function.
3249 (vc-git-log-edit-mode): New major mode.
3250 (vc-git-log-edit-mode-map): Keymap for it.
3251 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
3252
3253 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
3254 header names.
3255 (log-edit-toggle-header): New function.
3256 (log-edit-extract-headers): Accept function values in HEADERS alist.
3257
3258 2012-10-01 David Engster <deng@randomsample.de>
3259
3260 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
3261 from symbol property and change message to be more consistent with
3262 Emacs proper.
3263 (eieio-describe-generic): Add filename for each implementation.
3264 Fix indices for generic and normal methods.
3265 (eieio-method-def, eieio-class-def): New buttons.
3266 (eieio-help-find-method-definition)
3267 (eieio-help-find-class-definition): New functions.
3268 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
3269 class, constructor and method definitions.
3270
3271 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
3272 information in symbol property.
3273 (scoped-class): Remove.
3274 (eieio-slot-name-index, call-next-method): Check if it is bound.
3275
3276 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
3277
3278 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
3279 (eieio-custom-mode): New major mode.
3280 (eieio-customize-object): Use it.
3281
3282 2012-10-01 Eric Ludlam <zappo@gnu.org>
3283
3284 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
3285 specifying the expected class, and whether subclassing is allowed.
3286 (eieio-persistent-convert-list-to-object):
3287 (eieio-persistent-validate/fix-slot-value)
3288 (eieio-persistent-slot-type-is-class-p): New functions.
3289 (eieio-named::slot-missing): Doc fix.
3290
3291 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
3292 Stop using unused publd variable.
3293
3294 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
3295 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
3296 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
3297 (eieio-speedbar-handle-click): Do not specify a class for the
3298 method. Fixes method invocation order problems with EDE.
3299
3300 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3301
3302 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
3303 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
3304
3305 2012-10-01 Karl Fogel <kfogel@red-bean.com>
3306
3307 * bookmark.el (bookmark-version-control): Give tags in the
3308 :type choices (Bug#12309), and improve doc string.
3309 (bookmark-write-file): Bind `print-circle' to `t' to allow
3310 circular custom bookmark types. (Bug#12503)
3311
3312 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
3313
3314 Revert the FOLLOW-SYMLINKS change for file-attributes.
3315 * files.el (remote-file-name-inhibit-cache, after-find-file):
3316 * time.el (display-time-file-nonempty-p): Undo last change.
3317
3318 * profiler.el (profiler-sampling-interval): Change default back to 1.
3319 See Stefan Monnier in
3320 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
3321
3322 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
3323
3324 Shell output catching a la gud-gdb.
3325 * progmodes/python.el (python-shell-fetch-lines-in-progress)
3326 (python-shell-fetch-lines-string, python-shell-fetched-lines):
3327 New Vars.
3328 (python-shell-fetch-lines-filter): New function.
3329 (python-shell-send-string-no-output): Use them.
3330
3331 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
3332
3333 * profiler.el (profiler-sampling-interval): Rename from
3334 profiler-sample-interval.
3335 (profiler-sampling-interval): Default to 10.
3336 (profiler-find-profile): New command (was profiler-find-log).
3337 (profiler-find-profile-other-window): New command.
3338 (profiler-find-profile-other-frame): New command.
3339 (profiler-profile): Introduce API-level data structure.
3340
3341 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
3342
3343 file-attributes has a new optional arg FOLLOW-SYMLINKS.
3344 * files.el (remote-file-name-inhibit-cache):
3345 * time.el (display-time-file-nonempty-p): Use it.
3346 * files.el (after-find-file): Don't chase links before calling
3347 file-exists-p, as file-exists-p already does the right thing.
3348
3349 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
3350
3351 Merge from standalone RefTeX repository.
3352
3353 The following ChangeLog entries are shortened versions of the
3354 original ones with file paths adapted. A not so strongly edited
3355 version of the original ChangeLog can be found in the commit log.
3356
3357 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
3358 (reftex-arg-cite): Use `reftex-cite-key-separator'.
3359 Correctly handle new value type returned by `reftex-citation'.
3360
3361 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
3362 that entries with whitespace at various places are found.
3363 Doc fix. Include entries that are cross-referenced from cited entries.
3364 Include @String definitions in the resulting bib file. Add header
3365 and footer defined in `reftex-create-bibtex-header' and
3366 `reftex-create-bibtex-footer'.
3367 (reftex-do-citation): Make it possible again to insert
3368 non-existent entries. Save match data when asking for optional
3369 arguments. Return all keys, not just the first one.
3370 (reftex-all-used-citation-keys): Fix regexp to correctly extract
3371 all citations in the same line.
3372 (reftex-parse-bibtex-entry): Accept additional optional argument
3373 `raw' and keep quotes or braces if it is non-nil. Match fields
3374 containing hyphens besides word constituents.
3375 (reftex-get-string-refs): New function.
3376 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
3377 and ask if it should be reread in case it did.
3378 (reftex-pop-to-bibtex-entry)
3379 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
3380 entries with spaces or tabs in front of arguments.
3381 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
3382 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
3383 Match entries containing numbers and symbol constituents.
3384 (reftex-do-citation, reftex-figure-out-cite-format):
3385 Use `reftex-cite-key-separator'.
3386
3387 * textmodes/reftex-dcr.el: Move provide statement to end of file.
3388 (reftex-mouse-view-crossref): Explain why point is set.
3389
3390 * textmodes/reftex-global.el: Whitespace changes.
3391
3392 * textmodes/reftex-index.el: Move provide statement to end of
3393 file.
3394 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
3395 (reftex-index-visit-phrases-buffer): Set marker when visiting
3396 buffer. This allows for returning from the phrases file to the
3397 file one was just editing instead of the file where the last
3398 phrases was added from.
3399 (reftex-index-phrases-syntax-table): New variable. Give ?\"
3400 punctuation syntax as it usually is not used as string quote in
3401 TeX-related modes and may occur unmatched. The change also
3402 prevents fontification of quoted content.
3403 (reftex-index-phrases-mode): Use it.
3404
3405 * textmodes/reftex-parse.el (reftex-parse-from-file):
3406 Move backward one char if a `\' was matched after a section macro.
3407 (reftex-parse-from-file): Use beginning of match instead of end as
3408 bound.
3409
3410 * textmodes/reftex-ref.el: Adapt creation of
3411 `reftex-<package>-<macro>' functions to new structure of
3412 `reftex-ref-style-alist'.
3413 (reftex-reference): Use `reftex-ref-style-list' function.
3414 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
3415 reference macro if `reftex-ref-macro-prompt' is non-nil.
3416 (reftex-reference): Pass refstyle to `reftex-format-special'.
3417 Determine reference macro by looking at
3418 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
3419 Use only one special format function.
3420 (reftex-varioref-vref, reftex-fancyref-fref)
3421 (reftex-fancyref-Fref): Remove definitions. The functions are now
3422 generated from `reftex-ref-style-alist'.
3423 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
3424 Remove.
3425 (reftex-format-special): New function.
3426
3427 * textmodes/reftex-sel.el
3428 (reftex-select-cycle-ref-style-internal): Adapt to new structure
3429 of `reftex-ref-style-alist'. Remove code for testing macro type.
3430 (reftex-select-toggle-varioref)
3431 (reftex-select-toggle-fancyref): Remove.
3432 (reftex-select-cycle-ref-style-internal)
3433 (reftex-select-cycle-ref-style-forward)
3434 (reftex-select-cycle-ref-style-backward): New functions.
3435 (reftex-select-label-map): Use `v' and `V' for general cycling
3436 through reference styles. Add `p' for switching between number
3437 and page reference types.
3438
3439 * textmodes/reftex-toc.el (reftex-re-enlarge):
3440 Call `enlarge-window' only if there is something to do because in Emacs
3441 the horizontal version throws an error even if the parameter is 0.
3442
3443 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
3444 (reftex-plug-into-AUCTeX): Doc fix.
3445 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
3446 string. Adapt to new name.
3447 (reftex-ref-style-alist): Change structure so that it is not
3448 possible to use multiple different package names within a style.
3449 Remove the symbols for symbols for macro type distinction.
3450 Add characters for macro selection.
3451 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
3452 (reftex-create-bibtex-footer): New variables.
3453 (reftex-format-ref-function): Mention third argument of special
3454 format function.
3455 (reftex-ref-style-alist, reftex-ref-style-default-list):
3456 New variables.
3457 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
3458 to new implementation. Mark as obsolete. Add compatibility code
3459 for honoring the variable values in case they are set.
3460 (reftex-cite-format-builtin, reftex-bibliography-commands):
3461 Add support for ConTeXt.
3462 (reftex-format-ref-function, reftex-format-cite-function):
3463 Fix custom type.
3464 (reftex-cite-key-separator): New variable.
3465
3466 * textmodes/reftex.el (reftex-syntax-table-for-bib)
3467 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
3468 `reftex-syntax-table' because parens have to retain their paren
3469 syntax in order for parsing of BibTeX entries like @book(...) to
3470 work.
3471 (reftex-in-comment): Do not error out if `comment-start-skip' is
3472 not set. Deal correctly with escaped comment characters.
3473 (reftex-tie-multifile-symbols): Add doc string.
3474 Initialize `reftex-ref-style-list'.
3475 (reftex-untie-multifile-symbols): Add doc string.
3476 (reftex-add-index-macros): Doc fix.
3477 (reftex-ref-style-activate, reftex-ref-style-toggle)
3478 (reftex-ref-style-list): New functions.
3479 (reftex-mode-menu): Use them. Adapt to new structure of
3480 `reftex-ref-style-alist'.
3481 (reftex-select-with-char): Kill the RefTeX Select buffer when
3482 done.
3483 (reftex-remove-if): New function.
3484 (reftex-erase-all-selection-and-index-buffers)
3485 (reftex-mode-menu): Reference styles are now computed from
3486 `reftex-ref-style-alist'. Fix typo.
3487 (reftex-report-bug): New function.
3488 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
3489 algorithms with O(n log n). Introduce optional argument SORT (not
3490 yet used).
3491
3492 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
3493
3494 Enhancements for triple-quote string syntax.
3495 * progmodes/python.el (python-syntax-propertize-function):
3496 Match both quote cases in one regexp.
3497 (python-syntax-stringify): Handle matches properly.
3498
3499 2012-09-30 Juri Linkov <juri@jurta.org>
3500
3501 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
3502 to nil around the call to `insert' to prevent
3503 directory time modification by lock_file. (Bug#2295)
3504 * tar-mode.el (tar-summarize-buffer): Idem.
3505
3506 2012-09-30 Juri Linkov <juri@jurta.org>
3507
3508 * facemenu.el (list-colors-sort): Add option "Luminance".
3509 (list-colors-sort-key): Implement it.
3510
3511 * vc/diff-mode.el (diff-refine-removed):
3512 * vc/ediff-init.el (ediff-fine-diff-A):
3513 * vc/smerge-mode.el (smerge-refined-removed):
3514 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
3515
3516 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
3517
3518 * term/ns-win.el (x-file-dialog): New function.
3519
3520 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
3521
3522 * ido.el (ido-max-directory-size): Default to nil; the current
3523 default is small for POSIX systems, and impractical on Windows 7
3524 now that lstat returns directory sizes for NTFS.
3525
3526 2012-09-30 Martin Rudalics <rudalics@gmx.at>
3527
3528 In buffer display functions handle window-height/window-width
3529 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
3530 * window.el (window--display-buffer): New argument ALIST.
3531 Obey window-height and window-width alist entries.
3532 (window--try-to-split-window): New argument ALIST.
3533 Bind window-combination-limit to t when the window's size shall be
3534 changed and window-combination-limit equals `window-size'.
3535 (display-buffer-in-atom-window)
3536 (display-buffer-in-major-side-window)
3537 (display-buffer-in-side-window, display-buffer-same-window)
3538 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3539 (display-buffer-pop-up-window, display-buffer-below-selected)
3540 (display-buffer-at-bottom, display-buffer-in-previous-window)
3541 (display-buffer-use-some-window): Adjust all callers of
3542 window--display-buffer and window--try-to-split-window.
3543 (fit-frame-to-buffer): New option.
3544 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
3545 is non-nil.
3546 (display-buffer-in-major-side-window): Evaluate window-height /
3547 window-width alist entries.
3548
3549 * help.el (temp-buffer-resize-frames)
3550 (temp-buffer-resize-regexps): Remove options.
3551 (temp-buffer-resize-mode): Adjust doc-string.
3552 (resize-temp-buffer-window): Don't consult
3553 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
3554 temp-buffer-resize-frames.
3555
3556 * dired.el (dired-mark-pop-up):
3557 Call display-buffer-below-selected with a fit-window-to-buffer alist
3558 entry.
3559
3560 2012-09-30 Chong Yidong <cyd@gnu.org>
3561
3562 * server.el (server-host): Document the security implications.
3563 (server-auth-key): Doc fix.
3564
3565 * startup.el (initial-buffer-choice): Doc fix.
3566
3567 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
3568
3569 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
3570 restriction change.
3571
3572 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
3573
3574 * help-fns.el (help-fns--obsolete): Fix last change.
3575
3576 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
3577
3578 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
3579 (minor-mode-map-alist): Remove redundant code.
3580
3581 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
3582 visited in a buffer.
3583 (cvs-insert-visited-file): New function.
3584 (find-file-hook): Use it.
3585
3586 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
3587
3588 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
3589 chose face.
3590 (log-edit-empty-buffer-p): Don't require a space after a header.
3591
3592 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
3593
3594 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
3595
3596 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
3597 a proper minor-mode.
3598
3599 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
3600
3601 2012-09-29 Glenn Morris <rgm@gnu.org>
3602
3603 * winner.el (winner-mode): Remove variable (let define-minor-mode
3604 handle it).
3605 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
3606 Doc fixes.
3607 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
3608 (winner-mode): Use define-minor-mode.
3609
3610 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
3611 the full definition in loaddefs, rather than duplicating it.
3612
3613 * help-macro.el (three-step-help): No need to autoload defcustom.
3614
3615 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
3616 (inferior-lisp-program, inferior-lisp-load-command)
3617 (inferior-lisp-prompt, inferior-lisp-mode-hook):
3618 No need to autoload defcustoms.
3619
3620 * hippie-exp.el (hippie-expand-try-functions-list)
3621 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
3622 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
3623 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
3624 (hippie-expand-only-buffers): No need to autoload defcustoms.
3625 * progmodes/vhdl-mode.el (vhdl-line-expand):
3626 Explicitly load hippie-exp, so it does not get autoloaded
3627 while hippie-expand-try-functions-list is let-bound.
3628
3629 2012-09-28 Glenn Morris <rgm@gnu.org>
3630
3631 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
3632
3633 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
3634 Only "cl.el" counts as cl these days.
3635
3636 2012-09-28 Juri Linkov <juri@jurta.org>
3637
3638 Display archive errors in the echo area instead of inserting
3639 to the file buffer.
3640
3641 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
3642 to STDERR-TEST that can be a regexp matching a successful output.
3643 Create a temporary file and redirect stderr to it. Search for
3644 STDERR-TEST in the stderr output and display it in the echo area
3645 if no match is found.
3646 (archive-extract-by-file): New function like
3647 `archive-extract-by-stdout' but extracting archives to files
3648 and looking for successful matches in stdout. Function body is
3649 mostly copied from `archive-rar-extract'.
3650 (archive-rar-extract): Use `archive-extract-by-file'.
3651 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
3652
3653 2012-09-28 Leo Liu <sdl.web@gmail.com>
3654
3655 * pcomplete.el (pcomplete-show-completions):
3656 Use minibuffer-message to make pcomplete usable in minibuffer.
3657
3658 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
3659
3660 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3661
3662 * type-break.el: Use lexical-binding.
3663 (type-break-mode): Use define-minor-mode.
3664
3665 * emacs-lisp/pcase.el (pcase--mark-used): New.
3666 (pcase--u1): Use it (bug#12512).
3667
3668 * custom.el (load-theme): Set buffer-file-name so the load is recorded
3669 in load-history with the right file name.
3670
3671 2012-09-28 Tassilo Horn <tsdh@gnu.org>
3672
3673 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
3674 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
3675 (doc-view-get-bounding-box): Make bounding box slicing work for
3676 ODF and DVI documents.
3677
3678 2012-09-28 Glenn Morris <rgm@gnu.org>
3679
3680 * type-break.el (type-break-mode, type-break-interval)
3681 (type-break-good-rest-interval, type-break-keystroke-threshold):
3682 No need to autoload.
3683 (type-break-good-rest-interval, type-break-keystroke-threshold):
3684 Add :set-after.
3685
3686 2012-09-28 Chong Yidong <cyd@gnu.org>
3687
3688 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
3689 Add :version tag.
3690
3691 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
3692
3693 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
3694
3695 2012-09-27 Glenn Morris <rgm@gnu.org>
3696
3697 * faces.el (x-display-name): Declare (for without-x builds).
3698
3699 * linum.el (linum-format): Don't autoload it. Improve :type.
3700
3701 * progmodes/tcl.el: Don't require outline when compiling.
3702 (outline-regexp, outline-level): Declare.
3703 * textmodes/sgml-mode.el: Don't require outline when compiling.
3704 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
3705
3706 * term.el (term-ansi-reset):
3707 Try setting term-ansi-face-already-done to nil. (Bug#11785)
3708
3709 * vc/vc.el (vc-next-action): Only gripe about committing read-only
3710 files for RCS and SCCS. (Bug#9781)
3711
3712 2012-09-27 Chong Yidong <cyd@gnu.org>
3713
3714 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
3715 change; value should be t.
3716
3717 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
3718
3719 * image-mode.el: Use lexical-binding.
3720 (image-mode-winprops): Use t to stand for the window of
3721 a buffer that's not displayed.
3722 * doc-view.el (doc-view-new-window-function): Handle the new
3723 t in winprops.
3724 (doc-view-enlarge): Make it a real nop if the size is not changed.
3725 (doc-view-display): Handle the case where the buffer is not (yet?)
3726 displayed in any window.
3727 (doc-view-saved-settings): New var.
3728 (doc-view-mode): Use it.
3729 (doc-view-fallback-mode): Set it.
3730
3731 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
3732 Set lexical-binding.
3733 (minibuffer-eldef-shorten-default): New var.
3734 (minibuffer-default-in-prompt-regexps): Use it for new default.
3735 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
3736
3737 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
3738
3739 * international/uni-bidi.el:
3740 * international/uni-category.el:
3741 * international/uni-name.el:
3742 * international/uni-numeric.el: Regenerate.
3743
3744 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
3745 Stefan Monnier <monnier@iro.umontreal.ca>
3746
3747 * profiler.el: New file.
3748
3749 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
3750
3751 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
3752 (testcover-reinstrument): Simplify with CSE.
3753
3754 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
3755
3756 * window.el (temp-buffer-window-setup): Fix typo in docstring.
3757
3758 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
3759
3760 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
3761 (verilog-auto-input, verilog-auto-insert-lisp)
3762 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
3763 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
3764 (verilog-auto-unused, verilog-auto-wire)
3765 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
3766 newline. Reported by Andrew Jones.
3767 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
3768 Reported by Brad Dobbie.
3769 (verilog-batch-delete-trailing-whitespace):
3770 Create verilog-batch-delete-trailing-whitespace.
3771 Reported by Brad Dobbie.
3772 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
3773 parameters from another module. Reported by Dan Katz.
3774 (verilog-auto, verilog-auto-assign-modport)
3775 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
3776 AUTOINOUTMODPORT for UVM interface module shell generation.
3777 Reported by Brad Dobbie.
3778 (verilog-auto-inst-interfaced-ports): Make default nil, as more
3779 standard behavior.
3780 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
3781 Reported by Matt Martin.
3782
3783 2012-09-25 Martin Rudalics <rudalics@gmx.at>
3784
3785 * window.el (window--resize-child-windows): When resizing child
3786 windows proportionally, process them in reverse order to
3787 preserve the "when splitting a window the new one gets the odd
3788 line" behavior.
3789 (window--resize-root-window-vertically): When resizing the
3790 minibuffer window try to affect only windows at the bottom of the
3791 frame. (Bug#12419)
3792
3793 2012-09-25 Chong Yidong <cyd@gnu.org>
3794
3795 * subr.el (declare): Doc fix.
3796
3797 * help-fns.el (help-fns--obsolete): Handle macros properly.
3798
3799 2012-09-25 Chong Yidong <cyd@gnu.org>
3800
3801 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
3802 this function obsolete.
3803
3804 * calendar/cal-x.el (calendar-two-frame-setup)
3805 (calendar-only-one-frame-setup, calendar-one-frame-setup):
3806 * calendar/calendar.el (american-calendar, european-calendar)
3807 (calendar-for-loop):
3808 * comint.el (comint-dynamic-simple-complete)
3809 (comint-dynamic-complete-as-filename, comint-unquote-filename):
3810 * desktop.el (desktop-load-default):
3811 * dired-x.el (dired-omit-here-always)
3812 (dired-hack-local-variables, dired-default-directory):
3813 * emacs-lisp/derived.el (derived-mode-class):
3814 * emacs-lisp/timer.el (timer-set-time-with-usecs):
3815 * emacs-lock.el (toggle-emacs-lock):
3816 * epa.el (epa-display-verify-result):
3817 * epg.el (epg-sign-keys, epg-start-sign-keys)
3818 (epg-passphrase-callback-function):
3819 * eshell/esh-util.el (eshell-for):
3820 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
3821 (eshell-add-to-window-buffer-names):
3822 * files.el (locate-file-completion):
3823 * imenu.el (imenu-example--create-c-index)
3824 (imenu-example--create-lisp-index)
3825 (imenu-example--lisp-extract-index-name)
3826 (imenu-example--name-and-position):
3827 * international/mule-cmds.el (princ-list):
3828 * international/mule-diag.el (decode-codepage-char):
3829 * international/mule-util.el (detect-coding-with-priority):
3830 * iswitchb.el (iswitchb-read-buffer):
3831 * mail/mailalias.el (mail-complete):
3832 * mail/sendmail.el (mail-sent-via):
3833 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
3834 (mouse-major-mode-menu):
3835 * password-cache.el (password-read-and-add):
3836 * pcomplete.el (pcomplete-parse-comint-arguments):
3837 * progmodes/sh-script.el (sh-maybe-here-document):
3838 * replace.el (query-replace-regexp-eval):
3839 * savehist.el (savehist-load):
3840 * simple.el (choose-completion-delete-max-match):
3841 * term.el (term-dynamic-simple-complete):
3842 * vc/ediff-init.el (ediff-check-version):
3843 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
3844 * vc/vc.el (vc-diff-switches-list):
3845 * view.el (view-return-to-alist-update): Likewise.
3846
3847 * subr.el (eval-next-after-load, makehash, insert-string)
3848 (assoc-ignore-representation, assoc-ignore-case): Use declare to
3849 mark obsolete.
3850 (mode-line-inverse-video): Variable deleted.
3851
3852 * international/mule-util.el (string-to-sequence): Remove.
3853
3854 * calendar/calendar.el (calendar-version):
3855 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
3856 (icalendar-convert-diary-to-ical):
3857 * cus-edit.el (custom-mode):
3858 * ansi-color.el (ansi-color-unfontify-region):
3859 * international/latin1-disp.el (latin1-char-displayable-p):
3860 * progmodes/cwarn.el (turn-on-cwarn-mode):
3861 * progmodes/which-func.el (which-func-update-1):
3862 Use define-obsolete-function-alias.
3863
3864 * net/newst-backend.el (newsticker-cache-filename):
3865 * net/newst-treeview.el (newsticker-groups-filename):
3866 Fix incorrect obsolescence declaration.
3867
3868 * allout.el (allout-passphrase-hint-string): Likewise.
3869 (allout-init): Use a declare form to mark obsolete.
3870
3871 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
3872 this applies to functions.
3873
3874 * iswitchb.el (iswitchb-read-buffer): Move code of
3875 iswitchb-define-mode-map here, and delete that obsolete function.
3876
3877 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
3878 font-lock-reference-face.
3879
3880 2012-09-25 Glenn Morris <rgm@gnu.org>
3881
3882 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
3883 Doc fixes.
3884
3885 * eshell/em-term.el (eshell-term-name):
3886 Default to term-term-name. (Bug#12485)
3887
3888 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
3889
3890 * progmodes/python.el (python-shell-send-buffer): Better handling
3891 of "if __name__ == '__main__':" conditionals when sending the buffer.
3892
3893 2012-09-24 Glenn Morris <rgm@gnu.org>
3894
3895 * eshell/esh-cmd.el (eshell-find-alias-function):
3896 Tighten up file-name regexp. (Bug#12499)
3897
3898 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
3899
3900 Enhancements for triple-quote string syntax.
3901 * progmodes/python.el (python-quote-syntax): Remove.
3902 (python-syntax-propertize-function): New value.
3903 (python-syntax-count-quotes, python-syntax-stringify):
3904 New functions.
3905
3906 2012-09-24 Chong Yidong <cyd@gnu.org>
3907
3908 * mail/supercite.el (sc-version): Remove obsolete function.
3909 (sc-describe): Don't mark as obsolete, since it is bound.
3910 (sc-submit-bug-report): Remove.
3911
3912 * vc/log-edit.el (cvs-changelog-full-paragraphs)
3913 (cvs-commit-buffer-require-final-newline): Remove.
3914 (log-edit-require-final-newline)
3915 (log-edit-changelog-full-paragraphs): Default to t.
3916
3917 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
3918 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
3919 * vc/vc.el (vc-checkout-carefully): Likewise.
3920
3921 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
3922 (emerge-version): Remove.
3923
3924 * progmodes/compile.el (compile-internal): Remove.
3925 (compilation-parse-errors-function): Fix typo.
3926
3927 * international/mule.el (set-char-table-default): Remove.
3928 (set-coding-priority, make-coding-system, generic-char-p)
3929 (charset-list, charset-bytes, charset-id): Use declare to mark
3930 functions as obsolete.
3931
3932 * vc/pcvs-defs.el (cvs-buffer-name-alist)
3933 (cvs-invert-ignore-marks): Remove references to obsolete vars.
3934 * vc/vc-hooks.el (vc-default-registered): Don't use
3935 vc-master-templates.
3936
3937 * font-lock.el (font-lock-reference-face):
3938 Use define-obsolete-variable-alias.
3939
3940 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
3941 * calendar/calendar.el (calendar-font-lock-keywords):
3942 * calendar/diary-lib.el (diary-font-lock-keywords)
3943 (diary-fancy-font-lock-keywords):
3944 * textmodes/reftex-sel.el (reftex-insert-docstruct):
3945 * textmodes/reftex-index.el (reftex-insert-index):
3946 * textmodes/reftex-cite.el (reftex-format-bib-entry):
3947 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3948 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
3949 * progmodes/prolog.el (prolog-font-lock-keywords):
3950 * progmodes/idlwave.el (idlwave-idl-keywords):
3951 * progmodes/ada-mode.el (ada-font-lock-keywords):
3952 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
3953
3954 2012-09-24 Glenn Morris <rgm@gnu.org>
3955
3956 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
3957
3958 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
3959
3960 * progmodes/python.el (python-indent-line): More consistent cursor
3961 movement behavior.
3962
3963 2012-09-23 Stefan Merten <smerten@oekonux.de>
3964
3965 * textmodes/rst.el: Fix compiler warning.
3966
3967 2012-09-23 Roland Winkler <winkler@gnu.org>
3968
3969 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
3970 Transcribe also LaTeX hyphenation.
3971 (bibtex-reformat): Bug fix. Do not quote twice the elements of
3972 bibtex-reformat-previous-options.
3973
3974 2012-09-23 Roland Winkler <winkler@gnu.org>
3975
3976 * proced.el (proced-renice-command): New variable.
3977 (proced-marked-processes): New function.
3978 (proced-with-processes-buffer): New macro.
3979 (proced-send-signal): Use them.
3980 (proced-renice): New command bound to r.
3981
3982 2012-09-23 Roland Winkler <winkler@gnu.org>
3983
3984 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
3985 ibuffer-saved-filter-groups has one element, shortcut the call of
3986 completing-read. (Bug#12331)
3987
3988 2012-09-23 Chong Yidong <cyd@gnu.org>
3989
3990 * bindings.el (mode-line-toggle-read-only):
3991 * bs.el (bs-toggle-readonly):
3992 * buff-menu.el (Buffer-menu-toggle-read-only):
3993 * dired.el (dired-toggle-read-only):
3994 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
3995
3996 2012-09-23 Chong Yidong <cyd@gnu.org>
3997
3998 * image.el (image-type-available-p): Adapt to init-image-library
3999 argument changes.
4000
4001 2012-09-22 Juri Linkov <juri@jurta.org>
4002
4003 * dired.el (dired-mode-map): Add [remap read-only-mode] for
4004 `dired-toggle-read-only'. (Bug#12462)
4005
4006 2012-09-22 Martin Rudalics <rudalics@gmx.at>
4007
4008 * subr.el (temp-output-buffer-show): New function.
4009 (with-output-to-temp-buffer): Call temp-output-buffer-show
4010 instead of internal-temp-output-buffer-show.
4011
4012 2012-09-22 Chong Yidong <cyd@gnu.org>
4013
4014 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
4015 (Bug#12462).
4016
4017 * repeat.el (repeat): Doc fix (Bug#12348).
4018
4019 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
4020 (Bug#10909).
4021
4022 * simple.el (shell-command-on-region): Doc fix.
4023 (read-only-mode): Doc fix.
4024
4025 2012-09-22 Eli Zaretskii <eliz@gnu.org>
4026
4027 * emacs-lisp/timer.el (run-with-idle-timer)
4028 (timer-activate-when-idle): Warn against reinvoking an idle timer
4029 from within its own timer action. (Bug#12447)
4030
4031 2012-09-22 Martin Rudalics <rudalics@gmx.at>
4032
4033 * cus-start.el (window-combination-limit): Add new optional
4034 values.
4035 * window.el (temp-buffer-window-show)
4036 (window--try-to-split-window): Handle new values of
4037 window-combination-limit (Bug#1806).
4038 (split-window): Test window-combination-limit for t instead of
4039 non-nil.
4040 (display-buffer-at-bottom): New buffer display action function.
4041 * help.el (temp-buffer-resize-regexps): New option.
4042 (temp-buffer-resize-mode): Rewrite doc-string.
4043 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
4044 Don't resize reused window. Suggested by Glenn Morris.
4045
4046 2012-09-22 Stefan Merten <smerten@oekonux.de>
4047
4048 * textmodes/rst.el: Revamp section title faces.
4049 (rst-official-version)
4050 (rst-package-emacs-version-alist): Sync with official version
4051 V1.4.0.
4052 (rst-faces-defaults, rst-set-level-default)
4053 (rst-level-face-max, rst-level-face-base-color)
4054 (rst-level-face-base-light, rst-level-face-format-light)
4055 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
4056 (rst-adornment-faces-alist): Match new setup.
4057 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
4058 (rst-level-5, rst-level-6): New faces.
4059
4060 2012-09-22 Chong Yidong <cyd@gnu.org>
4061
4062 * simple.el (undo): Handle indirect buffers (Bug#8207).
4063
4064 2012-09-21 Leo Liu <sdl.web@gmail.com>
4065
4066 IDO: Disable match re-ordering for buffer switching.
4067 * ido.el (ido-buffer-disable-smart-matches): New variable.
4068 (ido-set-matches-1): Use it. (Bug#2042)
4069
4070 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
4071
4072 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
4073 Fix 2011-05-17 change. (Bug#12418)
4074
4075 2012-09-21 Leo Liu <sdl.web@gmail.com>
4076
4077 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
4078
4079 2012-09-21 Glenn Morris <rgm@gnu.org>
4080
4081 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
4082 Be more robust about locating simple.el.
4083
4084 2012-09-21 Glenn Morris <rgm@gnu.org>
4085
4086 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
4087
4088 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
4089
4090 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
4091
4092 2012-09-20 Juri Linkov <juri@jurta.org>
4093
4094 * replace.el (query-replace-read-from): Use `read-regexp' instead
4095 of `read-from-minibuffer' when `regexp-flag' is non-nil.
4096 (occur-read-primary-args): Use `read-regexp' instead of
4097 `read-string'.
4098 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
4099 `read-from-minibuffer'.
4100 * isearch.el (isearch-occur): Use `read-regexp' instead of
4101 `read-string'.
4102 * dired.el (dired-read-regexp): Use `read-regexp' instead of
4103 `read-from-minibuffer'.
4104 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
4105 of `read-string'. (Bug#7567)
4106
4107 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
4108 and allow accepting a list of strings prepended to a list of
4109 standard default values. Doc fix. (Bug#12321)
4110
4111 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
4112
4113 * replace.el (read-regexp): Don't add ": " when PROMPT already
4114 ends with a colon and space. (Bug#12321)
4115
4116 2012-09-20 Tassilo Horn <tsdh@gnu.org>
4117
4118 * doc-view.el (doc-view-display): Better fix for the cl-assertion
4119 error.
4120
4121 2012-09-20 Stefan Merten <smerten@oekonux.de>
4122
4123 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
4124 Fixes feature request bug#11711.
4125 (rst-mode): Create `imenu-create-index-function'.
4126 (rst-get-stripped-line): Delete after refactoring.
4127 (rst-section-tree, rst-section-tree-rec)
4128 (rst-section-tree-point): Refactor and document properly.
4129 (rst-imenu-find-adornments-for-position)
4130 (rst-imenu-convert-cell, rst-imenu-create-index):
4131 New function.
4132
4133 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4134
4135 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
4136 (macroexp--expand-all): Use it.
4137 (macroexp--funcall-and-return): Remove by folding it into its sole
4138 caller (macroexp--warn-and-return).
4139 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
4140 Use macroexp--obsolete-warning.
4141
4142 * calc/calc.el: Fix last change by removing the whole chunk, since it
4143 was only needed back when Calc was not bundled.
4144
4145 2012-09-20 Martin Rudalics <rudalics@gmx.at>
4146
4147 * emacs-lisp/debug.el (debug): Restore assignment to
4148 debugger-old-buffer removed on 2012-09-08.
4149
4150 2012-09-20 Juri Linkov <juri@jurta.org>
4151
4152 * dired-aux.el (dired-diff): Remove (require 'diff) since
4153 `diff-latest-backup-file' is now autoloaded.
4154
4155 2012-09-20 Chong Yidong <cyd@gnu.org>
4156
4157 * vc/diff.el (diff-latest-backup-file): Autoload.
4158
4159 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4160
4161 * calc/calc.el: Remove redundant autoload shape check.
4162 (sel-mode): Don't defvar.
4163 (calc-get-stack-element): Add `sel-mode' arg instead.
4164 (calc-top, calc-top-list): Pass it this additional argument.
4165 * calc/calc-store.el (calc-store-map):
4166 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
4167 (calc-map-equation, calc-outer-product, calc-inner-product):
4168 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
4169
4170 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
4171
4172 2012-09-19 Juri Linkov <juri@jurta.org>
4173
4174 * dired-aux.el (dired-diff): Add (require 'diff) because
4175 `diff-latest-backup-file' is not autoloaded.
4176 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
4177 of `dired-get-filename' to t to not report error when there is
4178 no default file on the current line.
4179
4180 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4181
4182 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
4183 macroexp--eval-if-compile.
4184 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
4185 (macroexp--expand-all): Use them (bug#12371).
4186
4187 * doc-view.el (doc-view-guess-paper-size)
4188 (doc-view-scale-bounding-box): Fix unbound `caddr'.
4189
4190 2012-09-19 Tassilo Horn <tsdh@gnu.org>
4191
4192 New feature: set optimal slice from BoundingBox information.
4193 * doc-view.el (doc-view-mode-map): Add keybinding.
4194 (doc-view-menu): Add menu entry.
4195 (doc-view-set-slice): Adapt docstring.
4196 (doc-view-get-bounding-box, doc-view-guess-paper-size)
4197 (doc-view-scale-bounding-box)
4198 (doc-view-set-slice-from-bounding-box): New functions.
4199 (doc-view-paper-sizes): New defvar.
4200
4201 2012-09-19 Glenn Morris <rgm@gnu.org>
4202
4203 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
4204 (byte-compile-log-warning): Autoload. (Bug#12371)
4205
4206 * calendar/calendar.el (calendar-american-month-header)
4207 (calendar-european-month-header, calendar-iso-month-header)
4208 (calendar-month-header): New options.
4209 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
4210 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
4211
4212 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
4213
4214 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
4215
4216 2012-09-18 Juri Linkov <juri@jurta.org>
4217
4218 * dired-aux.el (dired-diff): Restore original functionality of
4219 getting the default value, but keep new feature of using the
4220 latest existing backup file (`diff-latest-backup-file').
4221
4222 2012-09-18 Juri Linkov <juri@jurta.org>
4223
4224 * dired.el (dired-mark): If the region is active in Transient Mark
4225 mode, mark all files in the active region. Doc fix.
4226 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
4227 Doc fix. (Bug#10624)
4228
4229 2012-09-18 Juri Linkov <juri@jurta.org>
4230
4231 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
4232 attributes for M-n are pulled from the file at point.
4233 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
4234 Suggested by Drew Adams. (Bug#10624)
4235
4236 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
4237
4238 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
4239 whitespace after "end".
4240 (ruby-do-end-to-brace): Collapse block to one line if it fits
4241 within fill-column.
4242
4243 2012-09-18 Martin Rudalics <rudalics@gmx.at>
4244
4245 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
4246 value.
4247 (debug): Don't remove debugger window when debugger is expected
4248 to be back.
4249
4250 2012-09-18 Chong Yidong <cyd@gnu.org>
4251
4252 * custom.el (defface): Doc fix.
4253
4254 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
4255
4256 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
4257
4258 * progmodes/compile.el (compilation-start): Use compilation-always-kill
4259 to initialize query-on-exit; then test that instead (bug#12288).
4260
4261 2012-09-17 Stefan Merten <smerten@oekonux.de>
4262
4263 * textmodes/rst.el: Add support for `testcover'.
4264 (rst-defcustom-testcover, rst-testcover-add-compose)
4265 (rst-testcover-add-1value): New functions.
4266 (rst-portable-mark-active-p): Replace by `use-region-p'.
4267 (rst-update-section, rst-classify-adornment)
4268 (rst-find-title-line): Mark `1value' forms.
4269 (rst-classify-adornment): Remove superfluous form.
4270 (rst-update-section, rst-get-adornments-around)
4271 (rst-adornment-complete-p, rst-get-next-adornment)
4272 (rst-adjust, rst-promote-region)
4273 (rst-display-adornments-hierarchy, rst-straighten-adornments)
4274 (rst-find-pfx-in-region, rst-section-tree-rec)
4275 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
4276 (rst-toc-node, rst-toc, rst-forward-section)
4277 (rst-iterate-leftmost-paragraphs)
4278 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
4279 (rst-bullet-list-region)
4280 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
4281 (rst-compile-find-conf, rst-compile)
4282 (rst-repeat-last-character): Fix style.
4283
4284 2012-09-17 Chong Yidong <cyd@gnu.org>
4285
4286 * comint.el (comint--complete-file-name-data): Don't add a space
4287 if the status is `sole'; that adds a gratuitous space in the
4288 completion-cycling case (Bug#12092).
4289
4290 * pcomplete.el (pcomplete-completions-at-point): Likewise.
4291
4292 2012-09-17 Richard Stallman <rms@gnu.org>
4293
4294 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
4295 only in the mime-shown mode, not in raw mode.
4296 (rmail-mime): Toggle off mime by displaying the message without
4297 mime processing. (Bug#12305)
4298
4299 * mail/rmail.el (rmail-retry-failure):
4300 Turn off mime processing first. (Bug#12037)
4301
4302 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
4303
4304 2012-09-17 Chong Yidong <cyd@gnu.org>
4305
4306 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
4307 (shell-dynamic-complete-functions): Convert to defcustom.
4308 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
4309
4310 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
4311 * comint.el (comint-prompt-read-only):
4312 * custom.el (defcustom):
4313 * hi-lock.el (hi-lock-mode):
4314 * ibuffer.el (ibuffer-formats):
4315 * ielm.el (ielm-prompt-read-only):
4316 * novice.el (disable-command):
4317 * saveplace.el (toggle-save-place):
4318 * speedbar.el (speedbar-supported-extension-expressions):
4319 * startup.el (auto-save-list-file-prefix, init-file-user)
4320 (after-init-hook, inhibit-startup-echo-area-message):
4321 * strokes.el (strokes-help):
4322 * time-stamp.el (time-stamp):
4323 * calendar/calendar.el (calendar, diary-file):
4324 * calendar/diary-lib.el (diary-mail-entries, diary)
4325 (diary-list-entries-hook):
4326 * calendar/holidays.el (holidays, calendar-holidays):
4327 * calendar/lunar.el (lunar-phases):
4328 * calendar/solar.el (sunrise-sunset):
4329 * emulation/edt.el (edt-load-keys):
4330 * emulation/viper.el (viper-mode):
4331 * eshell/em-alias.el (eshell-command-aliases-list):
4332 * eshell/esh-util.el (eshell-convert-numeric-arguments):
4333 * international/ogonek.el (ogonek-information):
4334 * net/tramp-cmds.el (tramp-bug):
4335 * net/quickurl.el (quickurl-reread-hook-postfix):
4336 * play/decipher.el (decipher-font-lock-keywords):
4337 * progmodes/cc-styles.el (c-set-style):
4338 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
4339 * progmodes/inf-lisp.el (inferior-lisp-prompt):
4340 * progmodes/octave-mod.el (octave-mode):
4341 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
4342 * progmodes/verilog-mode.el (verilog-read-defines):
4343 * textmodes/two-column.el (2C-mode): Likewise.
4344
4345 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
4346
4347 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
4348 that holds many addresses.
4349
4350 2012-09-16 Chong Yidong <cyd@gnu.org>
4351
4352 * align.el (align-areas): Call the indication function with
4353 positions instead of markers for arguments (Bug#12343).
4354
4355 * files.el (parse-colon-path): Use split-string (Bug#12351).
4356
4357 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4358 (display-buffer-function): Mark as obsolete.
4359
4360 * progmodes/compile.el (compilation-parse-errors): Accept list
4361 values similar to font-lock-keywords (Bug#12136).
4362 Suggested by Oleksandr Manzyuk.
4363 (compilation-error-regexp-alist): Doc fix.
4364
4365 2012-09-15 Glenn Morris <rgm@gnu.org>
4366
4367 * version.el (emacs-bzr-version-bzr): New function.
4368 (emacs-bzr-get-version): Add optional EXTERNAL argument.
4369
4370 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
4371 checkouts, check the parent dirstate matches the branch.
4372 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
4373 empty string.
4374
4375 * version.el (emacs-bzr-version): Doc fix.
4376 (emacs-bzr-version-dirstate): New function.
4377 (emacs-bzr-get-version): For lightweight checkouts, if the parent
4378 is local try and check that it matches the branch. If not, just
4379 use dirstate information. (Bug#12441)
4380
4381 2012-09-14 Juri Linkov <juri@jurta.org>
4382
4383 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
4384 (Bug#12399)
4385
4386 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4387
4388 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
4389
4390 * emacs-lisp/edebug.el: Miscellaneous cleanup.
4391 Remove obsolete byte-compiler hack that tried to silence some warnings.
4392 (edebug-submit-bug-report): Remove.
4393 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
4394 Remove aliases, use the un-prefixed name instead.
4395 (edebug-pop-to-buffer): Consider other frames.
4396 (edebug-original-read):: Make it more obvious that it's always defined.
4397 (edebug--make-form-data-entry, edebug--form-data-name)
4398 (edebug--form-data-begin, edebug--form-data-end): Rename from the
4399 single-dashed name, and implement with cl-defstruct.
4400 (edebug-set-form-data-entry): Use the standard accessors.
4401 (edebug-make-top-form-data-entry): Use push.
4402 (edebug-no-match): Drop useless `funcall'.
4403 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
4404 to functions.
4405 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
4406 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
4407 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
4408 (easy-menu-define, with-custom-print): Remove redundant specs.
4409 (edebug-outside-overriding-local-map)
4410 (edebug-outside-overriding-terminal-local-map): Remove, unused.
4411 (edebug--display): Bind unread-command-events directly to nil rather
4412 than binding it to unread-command-events and later setting it to nil.
4413 (edebug--display): Kill edebug-eval-buffer here...
4414 (edebug--recursive-edit): ...rather than here.
4415 Bind standard-output and standard-input.
4416 (edebug-eval): Check cl-macroexpand-all is fboundp.
4417 (edebug-temp-display-freq-count): Fix last change.
4418
4419 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
4420 * subr.el (noreturn, 1value): Add `debug' spec.
4421 * emacs-lisp/advice.el: Require cl-lib.
4422 (ad-copy-tree): Remove, use copy-tree instead.
4423 (ad-dolist): Remove use dolist or cl-dolist instead.
4424 (ad-do-return): Remove, use cl-return instead.
4425 (defadvice): Add `debug' spec.
4426
4427 2012-09-13 Juri Linkov <juri@jurta.org>
4428
4429 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
4430 (Bug#12399)
4431
4432 2012-09-13 Glenn Morris <rgm@gnu.org>
4433
4434 * calc/calc.el (math-compose-expr):
4435 * calc/calc-ext.el (math-compose-expr):
4436 * progmodes/cc-defs.el (cl-macroexpand-all):
4437 * progmodes/cc-langs.el (delete-duplicates, mapcan)
4438 (cl-macroexpand-all): Update declarations.
4439
4440 * vc/vc.el: No need to require ediff.
4441 (ediff-load-version-control): Declare.
4442 (ediff-vc-internal): Fix declaration.
4443 (vc-version-ediff): Require ediff.
4444
4445 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
4446
4447 Use a more backwards-compatible timer format (Bug#12430).
4448 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
4449 being right after USECS, as that better supports old code that
4450 inadvisedly looked directly at the timer vector.
4451
4452 2012-09-13 Kenichi Handa <handa@gnu.org>
4453
4454 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
4455 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
4456 `coding-priority' property of these language environment.
4457
4458 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
4459
4460 Fix glitches caused by addition of psec to timers (Bug#12430).
4461 * image.el (image-animate-timer):
4462 * time.el (display-time-world-timer):
4463 Use timer--function and timer--args rather than raw access to
4464 timer vector.
4465
4466 2012-09-13 Glenn Morris <rgm@gnu.org>
4467
4468 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
4469 If not compiling a file, try using load-file-name.
4470
4471 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4472
4473 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
4474 Fix last change.
4475 (edebug-update-eval-list): Use `push'.
4476
4477 * emacs-lisp/edebug.el: Use lexical-binding.
4478 Remove the "edebug-" prefix from non-dynamically-scoped variables.
4479 Mark unused args with underscore.
4480 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
4481 (edebug-form-data): Use defvar-local.
4482 (edebug-make-before-and-after-form, edebug-make-after-form):
4483 Use backquote.
4484 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
4485 Not dynamically scoped any more.
4486 (edebug--enter-trace): Add arguments `function' and `args'.
4487 Rename from edebug-enter-trace.
4488 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
4489 (edebug--update-coverage): Add `after-index' and `value' args.
4490 Rename from edebug-update-coverage.
4491 (edebug-slow-after): Call it accordingly.
4492 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
4493 edebug-recursive-edit.
4494 (edebug--display): Call it accordingly. Add args `value',
4495 `offset-index', and `arg-mode'. Rename from edebug-display.
4496 (edebug-debugger, edebug): Call it accordingly.
4497 (edebug-eval-display-list): Use dolist.
4498
4499 2012-09-12 Juri Linkov <juri@jurta.org>
4500
4501 * info.el (Info-search): Don't check for isearch-mode and
4502 isearch-regexp before let-binding search-spaces-regexp to
4503 Info-search-whitespace-regexp.
4504 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
4505 search-whitespace-regexp if isearch-lax-whitespace or
4506 isearch-regexp-lax-whitespace is non-nil.
4507 (Info-mode): Don't set local variable search-whitespace-regexp.
4508 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
4509
4510 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4511
4512 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
4513 (debugger-env-macro): Remove support for unread-command-char.
4514
4515 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
4516 the temporary map re-appearing on emulation-mode-map-alists.
4517
4518 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
4519 since 22.1.
4520
4521 * ehelp.el (with-electric-help): Accept functions in
4522 electric-help-form-to-execute.
4523 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
4524 And replace unread-command-char -> unread-command-events.
4525
4526 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
4527
4528 Sync with Tramp 2.2.6.
4529
4530 * net/tramp.el (tramp-accept-process-output): Don't use
4531 JUST-THIS-ONE in the XEmacs case.
4532
4533 * net/trampver.el: Update release number.
4534
4535 2012-09-12 Martin Rudalics <rudalics@gmx.at>
4536
4537 * emacs-lisp/debug.el (debugger-previous-window-height):
4538 New variable.
4539 (debug): When debugger-jumping-flag is non-nil try to restore
4540 height of debugger window. (Bug#8789)
4541
4542 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4543
4544 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
4545 overriding-local-map and pre/post-command-hook here.
4546 (edebug-recursive-edit): Do it here instead (bug#12345).
4547 (edebug-outside-unread-command-char): Remove all uses of
4548 unread-command-char.
4549
4550 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
4551 inhibit-debugger is bound instead.
4552
4553 2012-09-11 Bastien Guerry <bzg@gnu.org>
4554
4555 * subr.el (set-temporary-overlay-map): Add a docstring.
4556 (Bug#12346)
4557
4558 2012-09-11 Bastien Guerry <bzg@gnu.org>
4559
4560 * minibuffer.el (completion-table-subvert): Fix docstring.
4561 (Bug#12347)
4562
4563 2012-09-11 Bastien Guerry <bzg@gnu.org>
4564
4565 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
4566
4567 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
4568
4569 * progmodes/sql.el: Version 3.1
4570 (sql-db2-escape-newlines): New variable.
4571 (sql-escape-newlines-filter): Use it.
4572
4573 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
4574
4575 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
4576
4577 2012-09-10 Dan Nicolaescu <dann@gnu.org>
4578
4579 * vc/diff-mode.el (diff-mode-menu):
4580 Bind diff-remove-trailing-whitespace.
4581
4582 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4583
4584 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
4585 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
4586 (emacs-lisp-byte-code-mode): New functions.
4587 (eval-sexp-add-defvars): Don't skip defvars in column >0.
4588 (eval-defun-2): Remove bogus interactive spec.
4589 (lisp-indent-line): Remove redundant whole-exp code, now done in
4590 indent-according-to-mode.
4591 (save-match-data): Remove redundant indent data.
4592
4593 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
4594 Use `declare'.
4595
4596 2012-09-09 Juri Linkov <juri@jurta.org>
4597
4598 * replace.el (replace-regexp-lax-whitespace): New defcustom.
4599 (replace-lax-whitespace, query-replace-regexp)
4600 (query-replace-regexp-eval, replace-regexp): Doc fix.
4601 (perform-replace, replace-highlight): Let-bind
4602 isearch-lax-whitespace to replace-lax-whitespace and
4603 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
4604
4605 * isearch.el (isearch-query-replace): Let-bind
4606 replace-lax-whitespace to isearch-lax-whitespace and
4607 replace-regexp-lax-whitespace to
4608 isearch-regexp-lax-whitespace. (Bug#10885)
4609
4610 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
4611
4612 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
4613
4614 2012-09-09 Alan Mackenzie <acm@muc.de>
4615
4616 * progmodes/cc-engine.el (c-state-cache-init):
4617 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
4618 (c-record-parse-state-state):
4619 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
4620
4621 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
4622
4623 * register.el (register-separator): Rename from
4624 separator-register. All uses changed. Doc fix.
4625 (register): Fix version.
4626
4627 2012-09-09 Chong Yidong <cyd@gnu.org>
4628
4629 * replace.el (query-replace-map): Bind four new symbols for
4630 requesting window scrolling.
4631
4632 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
4633 query-replace-map (Bug#8948).
4634
4635 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
4636
4637 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
4638 since they are now in query-replace-map.
4639
4640 * window.el (scroll-other-window-down): Make the arg optional.
4641
4642 2012-09-09 Chong Yidong <cyd@gnu.org>
4643
4644 * files.el (hack-local-variables-confirm): Use quit-window to kill
4645 the *Local Variables* buffer.
4646
4647 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
4648
4649 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
4650 not just expect to be at its beginning. Adjust callees.
4651 Succeed when do-end block has no space before the pipe character.
4652 (ruby-brace-to-do-end): When the original block is one-liner,
4653 convert to multiline. Reindent the result.
4654
4655 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
4656
4657 * register.el (register): New group.
4658 (separator-register): New user option.
4659 (increment-register): Route it to `append-to-register', if
4660 register contains text. Implication is that `C-x r +' can now be
4661 used for appending to a text register (bug#12217).
4662 (append-to-register, prepend-to-register): Add separator based on
4663 `separator-register'.
4664
4665 2012-09-08 Alan Mackenzie <acm@muc.de>
4666
4667 AWK Mode: make auto-newline work when there's "==" in the pattern.
4668 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
4669 correctly.
4670 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
4671 Test more rigorously for "=" token.
4672
4673 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
4674
4675 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
4676 Only fail when reached LIMIT.
4677
4678 2012-09-08 Chong Yidong <cyd@gnu.org>
4679
4680 * dired.el (dired-mode-map): Don't bind M-=.
4681
4682 * dired-aux.el (dired-diff): Use backup file as default.
4683
4684 2012-09-08 Drew Adams <drew.adams@oracle.com>
4685
4686 * subr.el (add-to-history): Fix delete usage (Bug#12314).
4687
4688 2012-09-08 Chong Yidong <cyd@gnu.org>
4689
4690 * subr.el (syntax-after, syntax-class): Doc fix.
4691
4692 2012-09-08 Martin Rudalics <rudalics@gmx.at>
4693
4694 * window.el (display-buffer-in-previous-window): New buffer
4695 display action function.
4696
4697 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
4698 (debugger-previous-window): New variable.
4699 (debug): Rewrite using display-buffer-in-previous-window,
4700 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
4701
4702 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
4703
4704 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
4705
4706 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
4707
4708 * progmodes/python.el (python-shell-send-string):
4709 When default-directory is remote, create temp file on remote
4710 filesystem.
4711 (python-shell-send-file): When file is remote, pass local view of
4712 file paths to remote Python interpreter. (Bug#12340)
4713
4714 2012-09-07 Chong Yidong <cyd@gnu.org>
4715
4716 * window.el (switch-to-buffer): Doc fix (Bug#12181).
4717
4718 * files.el (after-find-file): Don't fail on a read-only buffer if
4719 require-final-newline is `visit' or `visit-save' (Bug#11156).
4720
4721 * subr.el (read-char-choice): Allow quitting via ESC ESC.
4722
4723 * userlock.el (ask-user-about-supersession-threat):
4724 Use read-char-choice (Bug#12093).
4725
4726 2012-09-07 Chong Yidong <cyd@gnu.org>
4727
4728 * subr.el (buffer-narrowed-p): New function.
4729
4730 * ses.el (ses-widen):
4731 * simple.el (count-words--buffer-message):
4732 * net/browse-url.el (browse-url-of-buffer): Use it.
4733
4734 * simple.el (count-words-region): Don't signal an error if there
4735 is a non-nil prefix arg and the mark is not set.
4736
4737 * help.el (describe-key-briefly): Allow the message to be seen
4738 when invoked from the minibuffer (Bug#7014).
4739
4740 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
4741
4742 * progmodes/ruby-mode.el (ruby-end-of-defun)
4743 (ruby-beginning-of-defun): Simplify, allow indentation before
4744 block beginning and end keywords.
4745 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
4746 (ruby-end-of-defun): Expect that the point is at the beginning of
4747 the defun.
4748
4749 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4750
4751 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
4752 (bug#12367).
4753 (cl--make-usage-args): Strip _ from argument names.
4754
4755 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4756
4757 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
4758 obsolete alias speedbar-key-map.
4759 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
4760 (vhdl-index-menu-init): Don't use obsolete variable
4761 font-lock-maximum-size.
4762
4763 2012-09-06 Chong Yidong <cyd@gnu.org>
4764
4765 * frame.el (window-system-version): Mark as obsolete.
4766
4767 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
4768 of obsolete variable speedbar-key-map.
4769
4770 2012-09-06 Juri Linkov <juri@jurta.org>
4771
4772 * replace.el (replace-lax-whitespace): New defcustom.
4773 (query-replace, query-replace-regexp, query-replace-regexp-eval)
4774 (replace-string, replace-regexp): Mention it in docstrings.
4775 (perform-replace, replace-highlight): Let-bind
4776 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
4777 to the values of replace-lax-whitespace and regexp-flag.
4778 Don't let-bind search-whitespace-regexp. (Bug#10885)
4779
4780 * isearch.el (isearch-query-replace): Let-bind
4781 replace-lax-whitespace instead of let-binding
4782 replace-search-function and replace-re-search-function.
4783 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
4784 and isearch-regexp-lax-whitespace to lazy-highlight variables.
4785 (isearch-toggle-symbol): Set isearch-regexp to nil
4786 in isearch-word mode (like in isearch-toggle-word).
4787
4788 2012-09-06 Juri Linkov <juri@jurta.org>
4789
4790 * replace.el (replace-search-function)
4791 (replace-re-search-function): Set default values to nil.
4792 (perform-replace): Let-bind isearch-related variables based on
4793 replace-related values, call `isearch-search-fun' and let-bind
4794 the result to `search-function'. Remove code that sets
4795 `search-function' and `search-string' separately for
4796 `delimited-flag'.
4797 (replace-highlight): Add new argument `delimited-flag' and
4798 rename other arguments to the names used in `perform-replace'.
4799 Let-bind `isearch-word' to the argument `delimited-flag'.
4800 (Bug#10885, bug#10887)
4801
4802 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
4803
4804 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
4805 ruby-beginning-of-indent, simplify, allow all keywords to have
4806 indentation before them.
4807 (ruby-beginning-of-indent): Adjust for above. Search until the
4808 found point is not inside a string or comment.
4809 (ruby-font-lock-keywords): Allow symbols to start with "@"
4810 character, give them higher priority than variables.
4811 (ruby-syntax-propertize-function)
4812 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
4813 matchers. Expression expansions are not comments when inside a
4814 string, and there comment syntax status is irrelevant.
4815 (ruby-match-expression-expansion): New function. Check that
4816 expression expansion is inside a string, and it's not escaped.
4817 (ruby-font-lock-keywords): Use it.
4818
4819 2012-09-05 Martin Rudalics <rudalics@gmx.at>
4820
4821 * help.el (temp-buffer-max-height): New default value.
4822 (temp-buffer-resize-frames): New option.
4823 (resize-temp-buffer-window): Optionally resize frame.
4824
4825 * window.el (fit-frame-to-buffer-bottom-margin): New option.
4826 (fit-frame-to-buffer): New function.
4827
4828 2012-09-05 Glenn Morris <rgm@gnu.org>
4829
4830 * emulation/cua-rect.el (cua--init-rectangles):
4831 * textmodes/picture.el (picture-mode-map):
4832 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
4833 like forward-char and backward-char. (Bug#12317)
4834
4835 2012-09-05 Leo Liu <sdl.web@gmail.com>
4836
4837 * progmodes/flymake.el (flymake-warning-re): New variable.
4838 (flymake-parse-line): Use it.
4839
4840 2012-09-05 Glenn Morris <rgm@gnu.org>
4841
4842 * calendar/holidays.el (holiday-christian-holidays):
4843 Rename an entry. (Bug#12289)
4844
4845 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4846
4847 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
4848 (bug#12222).
4849
4850 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4851
4852 * loadup.el: Load macroexp. Remove hack.
4853 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
4854 (macroexp--expand-all): Use it to get better warnings.
4855 (macroexp--backtrace, macroexp--trim-backtrace-frame)
4856 (internal-macroexpand-for-load): New functions.
4857 (macroexp--pending-eager-loads): New var.
4858 (emacs-startup-hook): New hack to replace one in loadup.el.
4859 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
4860 (cl--compiler-macro-cXXr): Move to top, before they can be used.
4861 (cl-psetf): Simplify.
4862 (cl-defstruct): Add indent rule.
4863
4864 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
4865
4866 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
4867 over `user-mail-address' for the SMTP MAIL FROM envelope.
4868 (smtpmail-via-smtp): Ditto.
4869
4870 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
4871
4872 * progmodes/ruby-mode.el: Clean up keybindings.
4873 (ruby-mode-map): Don't bind ruby-electric-brace,
4874 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
4875 backward-kill-word, reindent-then-newline-and-indent.
4876 (ruby-mark-defun): Remove.
4877 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
4878 (ruby-mode): Set local beginning-of-defun-function and
4879 end-of-defun-function values.
4880
4881 2012-09-03 Martin Rudalics <rudalics@gmx.at>
4882
4883 * window.el (temp-buffer-window-setup-hook)
4884 (temp-buffer-window-show-hook): New hooks.
4885 (temp-buffer-window-setup, temp-buffer-window-show)
4886 (with-temp-buffer-window): New functions.
4887 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
4888 (special-display-popup-frame): Make sure the window used shows BUFFER.
4889
4890 * help.el (temp-buffer-resize-mode): Fix doc-string.
4891 (resize-temp-buffer-window): New optional argument WINDOW.
4892
4893 * files.el (recover-file, save-buffers-kill-emacs):
4894 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
4895
4896 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
4897
4898 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
4899 remote definition of `default-directory', ensure we can connect.
4900
4901 2012-09-02 Juri Linkov <juri@jurta.org>
4902
4903 Toggle whitespace matching mode with M-s SPC.
4904 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
4905
4906 * isearch.el (search-whitespace-regexp): Doc fix.
4907 Remove cons cell customization.
4908 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
4909 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
4910 New variables.
4911 (isearch-forward, isearch-forward-regexp): Doc fix.
4912 (isearch-toggle-lax-whitespace): New command.
4913 (search-forward-lax-whitespace, search-backward-lax-whitespace)
4914 (re-search-forward-lax-whitespace)
4915 (re-search-backward-lax-whitespace): New functions.
4916 (isearch-whitespace-regexp): Remove function.
4917 (isearch-query-replace): Let-bind replace-search-function and
4918 replace-re-search-function.
4919 (isearch-occur): Let-bind search-spaces-regexp according to the
4920 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
4921 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
4922 condition for C-q SPC.
4923 (isearch-search-fun-default): Use new functions mentioned above.
4924 (isearch-search-forward, isearch-search-backward): Remove functions.
4925 (isearch-search): Don't let-bind search-spaces-regexp.
4926 (isearch-lazy-highlight-space-regexp): Remove variable.
4927 (isearch-lazy-highlight-lax-whitespace)
4928 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
4929 (isearch-lazy-highlight-new-loop): Use them.
4930 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
4931
4932 2012-09-02 Chong Yidong <cyd@gnu.org>
4933
4934 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
4935
4936 2012-09-02 Glenn Morris <rgm@gnu.org>
4937
4938 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
4939
4940 2012-09-01 Glenn Morris <rgm@gnu.org>
4941
4942 * term.el: Tidy up menu definitions.
4943 (term-mode-map): Use easymenu for In/Out, Complete menus.
4944 (term-pager-break-map): Initialize in the defvar.
4945 (term-terminal-menu, term-signals-menu): Define with easymenu.
4946 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
4947 (term-pager-menu): New, extracted from term-process-pager.
4948 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
4949 (term-update-mode-line): Propertize line/char and page items.
4950 (term-process-pager): Move keymap initialization elsewhere.
4951
4952 2012-09-01 Martin Rudalics <rudalics@gmx.at>
4953
4954 * window.el (switch-to-prev-buffer): Handle additional values of
4955 BURY-OR-KILL argument. Don't switch in minibuffer window.
4956 (switch-to-next-buffer): Don't switch in minibuffer window.
4957 (quit-restore-window): New function based on quit-window.
4958 Handle additional values of former KILL argument.
4959 (quit-window): Call quit-restore-window with appropriate
4960 interpretation of KILL argument.
4961 (display-buffer-below-selected): New buffer display action
4962 function.
4963
4964 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
4965
4966 * minibuffer.el (completion-at-point-functions): Complete docstring
4967 (bug#12254).
4968
4969 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
4970
4971 Better seed support for (random).
4972 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
4973 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
4974 * play/mpuz.el, play/tetris.el, play/zone.el:
4975 * calc/calc-comb.el (math-init-random-base):
4976 * play/blackbox.el (bb-init-board):
4977 * play/life.el (life):
4978 * server.el (server-use-tcp):
4979 * type-break.el (type-break):
4980 Remove unnecessary call to (random t).
4981 * net/sasl.el (sasl-unique-id-function):
4982 Change (random t) to (random), now that the latter is more random.
4983 * play/life.el (life-initialized): Remove no-longer-needed var.
4984
4985 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
4986
4987 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
4988 Consider frame's buffer predicate when choosing the buffer.
4989 (Bug#12081)
4990
4991 2012-08-30 Richard Stallman <rms@gnu.org>
4992
4993 * simple.el (special-mode-map): Delete binding for `z'.
4994
4995 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
4996
4997 * progmodes/compile.el (compilation-always-kill): Doc fix.
4998
4999 2012-08-30 Chong Yidong <cyd@gnu.org>
5000
5001 * window.el (display-buffer-reuse-frames): Make the obsolescence
5002 message more informative.
5003
5004 2012-08-30 Glenn Morris <rgm@gnu.org>
5005
5006 * paren.el (show-paren-delay):
5007 Add a :set function. Doc fix. (Bug#12297)
5008
5009 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
5010
5011 * progmodes/compile.el (compilation-always-kill): New var.
5012 (compilation-start): Use it.
5013
5014 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5015
5016 * simple.el (read-only-mode): Move from files.el for bootstrapping.
5017 * files.el (read-only-mode): Move to simple.el.
5018
5019 * files.el (read-only-mode): New minor mode.
5020 (toggle-read-only): Use it and mark obsolete.
5021 (find-file--read-only):
5022 * vc/vc.el (vc-next-action, vc-checkout):
5023 * vc/vc-cvs.el (vc-cvs-checkout):
5024 * obsolete/vc-mcvs.el (vc-mcvs-update):
5025 * ffap.el (ffap--toggle-read-only): Update callers.
5026
5027 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
5028
5029 * eshell/esh-ext.el (eshell-external-command): Do not examine
5030 remote shell scripts.
5031 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
5032
5033 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
5034 "/usr/local/sbin".
5035
5036 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5037
5038 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
5039
5040 2012-08-28 Leo Liu <sdl.web@gmail.com>
5041
5042 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
5043 completion-at-point. (Bug#12220)
5044
5045 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
5046
5047 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
5048
5049 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5050
5051 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
5052 be buffer-local; add delete-trailing-whitespace (bug#12259).
5053
5054 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
5055
5056 * progmodes/hideif.el (hif-compress-define-list):
5057 Fix typo. (Bug#11951)
5058
5059 2012-08-28 Dan Nicolaescu <dann@gnu.org>
5060
5061 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
5062 buffer local setting.
5063
5064 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
5065 rcirc-encode-coding-system.
5066
5067 2012-08-28 Leo Liu <sdl.web@gmail.com>
5068
5069 * net/rcirc.el (rcirc-split-message): New function.
5070 (rcirc-send-message): Use it. (Bug#12051)
5071
5072 2012-08-28 Juri Linkov <juri@jurta.org>
5073
5074 * info.el (Info-fontify-node): Hide empty lines at the end of
5075 the node. (Bug#12272)
5076
5077 2012-08-27 Drew Adams <drew.adams@oracle.com>
5078
5079 * dired.el (dired-pop-to-buffer): Make window start at beginning
5080 of buffer (Bug#12281).
5081
5082 2012-08-26 Chong Yidong <cyd@gnu.org>
5083
5084 * window.el (special-display-regexps, special-display-frame-alist)
5085 (special-display-buffer-names, special-display-function)
5086 (display-buffer-reuse-frames): Mark as obsolete.
5087
5088 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
5089
5090 * help.el (help-print-return-message): Don't treat
5091 display-buffer-reuse-frames specially.
5092
5093 2012-08-26 Chong Yidong <cyd@gnu.org>
5094
5095 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
5096 New variable, replacing gdb-frame-parameters.
5097 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
5098 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
5099 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
5100 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
5101 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
5102 the functions directly with gdb-display-buffer-other-frame-action.
5103 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
5104 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
5105 (gdb-display-stack-buffer, gdb-display-locals-buffer)
5106 (gdb-display-registers-buffer): Define directly.
5107 (def-gdb-display-buffer): Macro deleted.
5108 (gdb-display-buffer): Remove second and third args, callers don't
5109 use them. Defer to the default display-buffer behavior, apart
5110 from making windows dedicated.
5111 (gdb-setup-windows): Don't call display-buffer unnecessarily.
5112
5113 * progmodes/gud.el (gud-display-line): Just use display-buffer.
5114
5115 * window.el (display-buffer-pop-up-frame): Handle a
5116 pop-up-frame-parameters alist entry.
5117 (display-buffer): Document it.
5118
5119 2012-08-26 Chong Yidong <cyd@gnu.org>
5120
5121 * isearch.el (search-whitespace-regexp): Make string and nil
5122 values apply to both ordinary and regexp search. Allow a cons
5123 cell value to distinguish between the two.
5124 (isearch-whitespace-regexp, isearch-search-forward)
5125 (isearch-search-backward): New functions.
5126 (isearch-occur, isearch-search-fun-default, isearch-search)
5127 (isearch-lazy-highlight-new-loop): Use them.
5128 (isearch-forward, isearch-forward-regexp): Doc fix.
5129
5130 2012-08-26 Chong Yidong <cyd@gnu.org>
5131
5132 * faces.el (help-argument-name): Always inherit from italic
5133 (Bug#12213).
5134
5135 2012-08-25 Martin Rudalics <rudalics@gmx.at>
5136
5137 * window.el (window--even-window-heights): Even heights when
5138 WINDOW and the selected window form a vertical combination.
5139 (display-buffer-use-some-window): Provide that window used gets
5140 sized back by quit-window. (Bug#11880) and (Bug#12091)
5141
5142 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
5143
5144 Fix file time stamp problem with bzr and CVS (Bug#12001).
5145 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
5146 in the file's time stamp, since the version control system loses
5147 that information.
5148
5149 2012-08-22 Juri Linkov <juri@jurta.org>
5150
5151 * info.el (Info-fontify-node): Hide the suffix of the
5152 Info file name in the header line. (Bug#12187)
5153
5154 2012-08-22 Glenn Morris <rgm@gnu.org>
5155
5156 * calendar/cal-tex.el (cal-tex-weekly-common):
5157 Restore leading blank page.
5158
5159 2012-08-22 Le Wang <l26wang@gmail.com>
5160
5161 * misc.el (forward-to-word, backward-to-word): Activate or extend
5162 the region under `shift-select-mode'. (Bug#12231)
5163
5164 2012-08-22 Bastien Guerry <bzg@gnu.org>
5165
5166 * progmodes/executable.el (executable-prefix): Set to "#!" instead
5167 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
5168 gives details on why the space is never needed.
5169
5170 2012-08-22 Martin Rudalics <rudalics@gmx.at>
5171
5172 * window.el (walk-window-tree, window-with-parameter):
5173 New optional argument MINIBUF to control whether these functions
5174 should run on the minibuffer window.
5175 (window-at-side-list): Don't operate on minibuffer window.
5176 (window-in-direction): Simplify and rewrite doc-string.
5177 (window--size-ignore): Rename to window--size-ignore-p.
5178 Update callers.
5179 (display-buffer-in-atom-window, window--major-non-side-window)
5180 (window--major-side-window, display-buffer-in-major-side-window)
5181 (delete-side-window, display-buffer-in-side-window):
5182 New functions.
5183 (window--side-check, window-deletable-p, delete-window)
5184 (delete-other-windows, split-window): Handle side windows and
5185 atomic windows appropriately.
5186 (window--display-buffer): Call display-buffer-record-window also
5187 when the window buffer did not change.
5188
5189 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
5190
5191 * help-fns.el (help-fns--key-bindings):
5192 Abbreviate non-symbol remap targets. (Bug#12174)
5193
5194 2012-08-22 Martin Rudalics <rudalics@gmx.at>
5195
5196 * dired.el (dired-mark-remembered): Don't clobber point.
5197 (Bug#11795)
5198
5199 2012-08-22 Glenn Morris <rgm@gnu.org>
5200
5201 * progmodes/bug-reference.el (bug-reference): New custom group.
5202 (bug-reference-bug-regexp): Make it a defcustom.
5203
5204 2012-08-22 Daiki Ueno <ueno@unixuser.org>
5205
5206 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
5207 (js-paren-indent-offset, js-square-indent-offset)
5208 (js-curly-indent-offset): Add :safe (Bug#12257).
5209
5210 2012-08-22 Edward O'Connor <hober0@gmail.com>
5211
5212 * json.el (json-key-format): Add error properties.
5213 (json-encode-key): New function.
5214 (json-encode-hash-table, json-encode-alist, json-encode-plist):
5215 Use json-encode-key.
5216
5217 2012-08-22 Glenn Morris <rgm@gnu.org>
5218
5219 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
5220 (cal-tex-leftday, cal-tex-rightday): Remove functions.
5221 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
5222 Update for above change.
5223
5224 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
5225
5226 * cus-face.el (custom-face-attributes): Fix customize type for the
5227 :underline attribute. (Bug#11805)
5228
5229 2012-08-21 Martin Rudalics <rudalics@gmx.at>
5230
5231 * window.el (window-point-1, set-window-point-1): Remove.
5232 (window-in-direction, record-window-buffer)
5233 (set-window-buffer-start-and-point, split-window-below)
5234 (window--state-get-1, display-buffer-record-window):
5235 Replace calls to window-point-1 and set-window-point-1 by calls to
5236 window-point and set-window-point respectively.
5237
5238 2012-08-21 Glenn Morris <rgm@gnu.org>
5239
5240 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
5241 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
5242 Use it.
5243
5244 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
5245 (cal-tex-shortday): New function.
5246 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
5247 (cal-tex-cursor-filofax-daily): Use the above.
5248
5249 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
5250 New functions.
5251 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
5252 (cal-tex-cursor-filofax-week): Use them.
5253
5254 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
5255 New constants.
5256 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
5257 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
5258
5259 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
5260 (cal-tex-end-document): Don't rely on buffer name.
5261
5262 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
5263 Use cal-tex-vspace.
5264 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
5265 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
5266 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
5267 Use cal-tex-arg.
5268
5269 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
5270 (cal-tex-cursor-week, cal-tex-cursor-week2)
5271 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
5272 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
5273 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
5274 (cal-tex-insert-preamble, cal-tex-b-document)
5275 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
5276 Improve cal-tex-cmd usage.
5277
5278 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
5279 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
5280 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
5281 (cal-tex-weekly-paper): New function.
5282 (cal-tex-cursor-week, cal-tex-cursor-week2)
5283 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
5284 (cal-tex-cursor-day): Use it.
5285
5286 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
5287 (cal-tex-cursor-filofax-week): Remove leading blank page.
5288
5289 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
5290 Add autoload cookie. For now at least, don't use color, since
5291 no other cal-tex function does.
5292
5293 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
5294 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
5295 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
5296
5297 2012-08-21 Juri Linkov <juri@jurta.org>
5298
5299 * info.el (Info-file-attributes): New variable.
5300 (info-insert-file-contents): Add file attributes to
5301 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
5302 `Info-toc-nodes' when previous modtime of the Info file is less
5303 than new modtime.
5304 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
5305 of info.el. (Bug#12230)
5306
5307 2012-08-20 Glenn Morris <rgm@gnu.org>
5308
5309 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
5310 * calendar/holidays.el (calendar-holiday-list):
5311 Report errors with display-warning rather than beep'n'sleep.
5312
5313 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
5314
5315 * net/tramp.el (tramp-accept-process-output): Accept only output
5316 from PROC. Otherwise, process filters and sentinels might be
5317 confused. (Bug#12145)
5318
5319 2012-08-20 Chong Yidong <cyd@gnu.org>
5320
5321 * descr-text.el (describe-text-properties-1): Use overlays-in to
5322 report on empty overlays (Bug#3322).
5323
5324 2012-08-20 Glenn Morris <rgm@gnu.org>
5325
5326 * mail/rmailout.el (rmail-output-read-file-name):
5327 Trap and report errors in rmail-output-file-alist elements.
5328
5329 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
5330 since most non-font-lock faces are not also variables).
5331
5332 2012-08-20 Edward Reingold <reingold@iit.edu>
5333
5334 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
5335 New function. (Bug12160)
5336
5337 2012-08-19 Glenn Morris <rgm@gnu.org>
5338
5339 * mail/rmailout.el (rmail-output-read-file-name):
5340 Fix previous change (when the alist is nil or does not match).
5341
5342 2012-08-19 Chong Yidong <cyd@gnu.org>
5343
5344 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
5345 (Bug#12228).
5346
5347 2012-08-18 Chong Yidong <cyd@gnu.org>
5348
5349 * simple.el (yank-handled-properties): New defcustom.
5350 (yank-excluded-properties): Add font-lock-face and category.
5351 (yank): Doc fix.
5352
5353 * subr.el (remove-yank-excluded-properties):
5354 Obey yank-handled-properties. The special handling of font-lock-face
5355 and category is now done this way, instead of being hard-coded.
5356 (insert-for-yank-1): Remove font-lock-face handling.
5357 (yank-handle-font-lock-face-property)
5358 (yank-handle-category-property): New function.
5359
5360 2012-08-17 Glenn Morris <rgm@gnu.org>
5361
5362 * mail/rmailout.el (rmail-output-read-file-name):
5363 Check rmail-output-file-alist against the full message body
5364 in the correct rmail buffer. (Bug#12214)
5365
5366 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
5367
5368 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
5369 Eliminate superfluous prompt. (Bug#12203)
5370
5371 2012-08-17 Chong Yidong <cyd@gnu.org>
5372
5373 * mouse.el (mouse-appearance-menu): If x-select-font returns a
5374 font spec, set the font directly (Bug#3228).
5375
5376 2012-08-17 Martin Rudalics <rudalics@gmx.at>
5377
5378 * window.el (delete-window): Fix last fix.
5379
5380 2012-08-16 Martin Rudalics <rudalics@gmx.at>
5381
5382 * window.el (window-valid-p): Move to window.c.
5383 (window-child, window-child-count, window-last-child)
5384 (window-normalize-window, window-combined-p)
5385 (window-combinations, window-atom-root, window-min-size)
5386 (window-sizable, window-sizable-p, window-size-fixed-p)
5387 (window-min-delta, window-max-delta, window--resizable)
5388 (window--resizable-p, window-resizable, window-total-size)
5389 (window-full-height-p, window-full-width-p, window-body-size)
5390 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
5391 (minimize-window, window-deletable-p, delete-window)
5392 (delete-other-windows, set-window-buffer-start-and-point)
5393 (next-buffer, previous-buffer, split-window, balance-windows-2)
5394 (set-window-text-height, window-buffer-height)
5395 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
5396 (truncated-partial-width-window-p): Minor code adjustments.
5397 In doc-strings state whether the argument window has to denote a
5398 live, valid or any window.
5399
5400 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
5401
5402 * progmodes/subword.el (subword-forward-function)
5403 (subword-backward-function, subword-forward-regexp)
5404 (subword-backward-regexp): New variables.
5405 (subword-forward, subword-forward-internal, subword-backward-internal):
5406 Use new variables, eg so that different "word" definitions
5407 can be easily used. (Bug#11411)
5408
5409 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5410
5411 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
5412 for composite selectors.
5413 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
5414 operation just because we can't find a previous revision.
5415
5416 2012-08-15 Chong Yidong <cyd@gnu.org>
5417
5418 * frame.el (set-frame-font): Accept font objects.
5419
5420 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5421
5422 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
5423
5424 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
5425
5426 * man.el (Man-overstrike-face, Man-underline-face)
5427 (Man-reverse-face): Remove variables.
5428 (Man-overstrike, Man-underline, Man-reverse): New faces.
5429 (Man-fontify-manpage): Use them instead of the variables.
5430 (Man-cleanup-manpage): Comment change.
5431 (Man-ansi-color-map): New variable.
5432 (Man-fontify-manpage): Use it.
5433 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
5434
5435 Implement ANSI SGR parameters 22-27 (bug#12146).
5436 * ansi-color.el (ansi-colors): Doc fix.
5437 (ansi-color-context, ansi-color-context-region): Doc fix.
5438 (ansi-color--find-face): New function.
5439 (ansi-color-apply, ansi-color-apply-on-region): Use it.
5440 Rename the local variable `face' to `codes' since it is now a list of
5441 ansi codes. Doc fix.
5442 (ansi-color-get-face): Remove.
5443 (ansi-color-parse-sequence): New function, derived from
5444 ansi-color-get-face.
5445 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
5446 codes 22-27.
5447
5448 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
5449
5450 * subr.el (read-passwd): Allow use from a minibuffer.
5451
5452 2012-08-14 Eli Zaretskii <eliz@gnu.org>
5453
5454 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
5455 inside comments and strings as identifiers.
5456
5457 * progmodes/gud.el (gud-tooltip-print-command): Quote the
5458 expression to evaluate. This allows to evaluate expressions with
5459 embedded whitespace.
5460 (gud-tooltip-tips): Add a blank before the newline in the
5461 message-box text, for the benefit of message-box emulation on
5462 MS-Windows.
5463
5464 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
5465 messages from GDB, pop them up in a tooltip to give feedback to
5466 user.
5467 (gdb-tooltip-print-1): Quote the expression to evaluate.
5468 This allows to evaluate expressions with embedded whitespace.
5469 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
5470 if the TTY name is nil or empty (which happens when communicating
5471 with the inferior via pipes, e.g. on MS-Windows).
5472 (gdb-internals): If GDB sends a "&\n" empty debugging message,
5473 don't send that to the GUD buffer.
5474
5475 2012-08-14 Glenn Morris <rgm@gnu.org>
5476
5477 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
5478 Optimize away setq-default with no args, as for setq. (Bug#12195)
5479
5480 2012-08-14 Chong Yidong <cyd@gnu.org>
5481
5482 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
5483
5484 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
5485 (Bug#12085).
5486
5487 2012-08-14 Glenn Morris <rgm@gnu.org>
5488
5489 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
5490
5491 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
5492
5493 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
5494 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5495 Use cached shell name.
5496
5497 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
5498
5499 * progmodes/python.el (python-shell-send-string):
5500 (python-shell-send-setup-code): Do not use `format' with `message'.
5501
5502 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
5503
5504 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
5505 (ruby-percent-literal-beg-re): New constant.
5506 (ruby-syntax-general-delimiters-goto-beg): Rename to
5507 `ruby-syntax-enclosing-percent-literal', improve literal type check.
5508 (ruby-syntax-propertize-general-delimiters): Rename to
5509 `ruby-syntax-propertize-percent-literal', it's a shorter and more
5510 popular term. Adjust comments everywhere.
5511 (ruby-syntax-propertize-percent-literal): Only propertize when not
5512 inside a simple string or comment. When the literal is unclosed,
5513 leave the text after it unpropertized.
5514 (ruby-syntax-methods-before-regexp): New constant.
5515 (ruby-syntax-propertize-function): Use it to recognize regexps.
5516 Don't look at the text after regexp, just use the whitelist.
5517
5518 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
5519
5520 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
5521 non-nil always load the compiled file if it exists. (Bug#12197)
5522
5523 2012-08-14 Chong Yidong <cyd@gnu.org>
5524
5525 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
5526 (hi-lock-set-pattern): When deciding whether to use font lock or
5527 overlays, look at font-lock-mode instead of font-lock-fontified
5528 (Bug#12168).
5529 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
5530 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
5531
5532 2012-08-14 Daiki Ueno <ueno@unixuser.org>
5533
5534 * subr.el (internal--after-with-selected-window): Fix typo
5535 (Bug#12193).
5536
5537 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
5538
5539 Use `completion-table-dynamic' for completion functions.
5540 * progmodes/python.el
5541 (python-shell-completion--do-completion-at-point)
5542 (python-shell-completion--get-completions):
5543 Remove functions.
5544 (python-shell-completion-complete-at-point): New function.
5545 (python-completion-complete-at-point): Use it.
5546
5547 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
5548
5549 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
5550 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
5551
5552 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5553
5554 * subr.el (function-get): Refine `autoload' arg so it can also
5555 autoload functions for gv.el (bug#12191).
5556 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
5557 autoloads macros.
5558
5559 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
5560 Prefer pcase-let over destructuring-bind.
5561 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
5562 Also, remove whitespace as we go, rather than after accumulating the
5563 various places.
5564
5565 * subr.el (internal--before-with-selected-window)
5566 (internal--after-with-selected-window): Fix typo seleted->selected.
5567 (with-selected-window): Adjust callers.
5568 Reported by Dmitry Gutov <dgutov@yandex.ru>.
5569
5570 2012-08-13 Bastien Guerry <bzg@gnu.org>
5571
5572 * window.el (special-display-popup-frame): Minor docstring
5573 enhancement. (Bug#12172)
5574
5575 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
5576
5577 * tar-mode.el (tar-header-data-end): Only ignore size for files of
5578 type 1-6.
5579 (tar-header-block-summarize, tar-get-descriptor): Handle pax
5580 extended headers.
5581
5582 * files.el (hack-local-variables-filter): Remove useless eval.
5583
5584 2012-08-13 Martin Rudalics <rudalics@gmx.at>
5585
5586 * subr.el (with-selected-window): Fix last change.
5587
5588 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5589
5590 * subr.el (internal--before-with-seleted-window)
5591 (internal--after-with-seleted-window): New functions.
5592 (with-selected-window): Use them, to replace dependency on
5593 tty-top-frame.
5594
5595 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
5596
5597 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
5598 binding for `newline'.
5599 (ruby-move-to-block): When moving backward, stop at block opening,
5600 not indentation.
5601 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
5602 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
5603 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
5604 `ruby-toggle-block'.
5605
5606 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5607
5608 * ibuffer.el (ibuffer-do-toggle-read-only):
5609 * dired.el (dired-toggle-read-only):
5610 * buff-menu.el (Buffer-menu-toggle-read-only):
5611 * bindings.el (mode-line-toggle-read-only):
5612 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
5613
5614 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
5615
5616 * descr-text.el (describe-char): Put the overlays over the
5617 "displayed as" character.
5618
5619 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
5620
5621 * calc/calc-units.el (math-default-units-table): Give an
5622 initial value.
5623 (math-put-default-units): Add options to put composite units and
5624 unit systems in the default units table.
5625 (calc-convert-units): Send composite units to
5626 `math-put-default-units' when appropriate.
5627
5628 2012-08-11 Glenn Morris <rgm@gnu.org>
5629
5630 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
5631
5632 * tutorial.el (help-with-tutorial):
5633 * emacs-lisp/copyright.el (copyright-update-directory):
5634 * emacs-lisp/autoload.el (autoload-find-generated-file)
5635 (autoload-find-file): Disable local eval: (for insurance).
5636
5637 * files.el (hack-local-variables-filter): If an eval: form is not
5638 known to be safe, and enable-local-variables is :safe, then ignore
5639 the form totally, as is done for non-eval forms. (Bug#12155)
5640 This is CVE-2012-3479.
5641
5642 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
5643
5644 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
5645 (rx-form): Simplify.
5646
5647 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
5648
5649 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
5650 ?, _, and : are symbol constituents, ! is not (but kinda should be).
5651 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
5652 (ruby-syntax-propertize-function): Adjust for changes in
5653 `ruby-syntax-propertize-heredoc'.
5654
5655 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
5656
5657 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
5658 binding (use `M-;' instead).
5659 (ruby-singleton-class-p): New function.
5660 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
5661
5662 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
5663
5664 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
5665
5666 2012-08-10 Chong Yidong <cyd@gnu.org>
5667
5668 * progmodes/python.el (python-shell-get-process-name): Don't mess
5669 with same-window-buffer-names.
5670
5671 * eshell/eshell.el (eshell-add-to-window-buffer-names)
5672 (eshell-remove-from-window-buffer-names): Make obsolete.
5673 (eshell-buffer-name, eshell-unload-hook): Don't use them.
5674 (eshell): Just use pop-to-buffer-same-window instead.
5675
5676 2012-08-10 Chong Yidong <cyd@gnu.org>
5677
5678 * bindings.el: Bind M-= back to count-words-region.
5679
5680 * simple.el (count-words-region): Accept a prefix arg for acting
5681 on the entire buffer.
5682 (count-words--buffer-message): New helper function.
5683
5684 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
5685
5686 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
5687 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
5688 (event-start, event-end): Use posn-at-point to return a more
5689 informative posn.
5690 (posnp): New function.
5691 * mouse.el (popup-menu-normalize-position): Use it.
5692
5693 2012-08-10 Masatake YAMATO <yamato@redhat.com>
5694
5695 * mouse.el (popup-menu-normalize-position): New function.
5696 (popup-menu): Use `popup-menu-normalize-position' to normalize
5697 the form for POSITION argument.
5698
5699 * term/x-win.el (x-menu-bar-open):
5700 Use the value returend from (posn-at-point) as position
5701 passed to `popup-menu'.
5702
5703 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
5704
5705 * calc/calccomp.el (math-compose-expr): Add extra argument
5706 indicating that parentheses should be put around products in
5707 denominators. Give multiplication precedence over division during
5708 composition.
5709
5710 2012-08-09 Chong Yidong <cyd@gnu.org>
5711
5712 * man.el (Man-switches, Man-sed-command, Man-awk-command)
5713 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
5714 (Man-untabify-command, manual-program): Convert to defcustom
5715 (Bug#10429).
5716
5717 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
5718
5719 * descr-text.el (describe-char): Don't insert extra newlines
5720 (Bug#10127).
5721
5722 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
5723 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
5724
5725 * align.el (align-region): Delete temporary markers (Bug#10047).
5726 Plus some code cleanups.
5727
5728 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
5729
5730 * progmodes/python.el (python-pdbtrack-tracked-buffer)
5731 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
5732 (python-shell-internal-last-output): Use make-local-variable
5733 instead of make-variable-buffer-local.
5734
5735 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
5736
5737 * progmodes/python.el: Enhancements to forward-sexp.
5738 (python-nav-forward-sexp): Rename from
5739 python-nav-forward-sexp-function.
5740 (python-nav--forward-sexp, python-nav--backward-sexp):
5741 New functions.
5742
5743 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
5744
5745 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
5746 modes and simplification modes.
5747
5748 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5749
5750 * delsel.el (delete-selection-pre-hook): Don't propagate the
5751 file-supersession signals (bug#12161).
5752
5753 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5754
5755 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
5756 (cl-map-extents): Add compatibility aliases (bug#12135).
5757
5758 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
5759
5760 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
5761 tests by `ignore-error'.
5762 (tramp-find-shell): Open also a new shell, when cache is already
5763 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
5764
5765 2012-08-08 Juri Linkov <juri@jurta.org>
5766
5767 * bookmark.el: Add `defaults' property to the bookmark record.
5768 (bookmark-current-buffer): Doc fix.
5769 (bookmark-make-record): Add `defaults' property with default values
5770 to the bookmark record.
5771 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
5772 with `bookmark-insert-current-bookmark'.
5773 (bookmark-set): Get `defaults' property from the bookmark record
5774 and use it in `read-from-minibuffer'.
5775 (bookmark-insert-current-bookmark): Remove function.
5776
5777 * info.el (Info-bookmark-make-record): Add `defaults' property
5778 with values of canonical Info node name, the current Info file
5779 name and the current Info node name. (Bug#12107)
5780
5781 2012-08-08 Juri Linkov <juri@jurta.org>
5782
5783 * files.el (basic-save-buffer): Use `buffer-name' as the default
5784 of `read-file-name' when buffer is not visiting a file (bug#12128).
5785
5786 2012-08-08 Juri Linkov <juri@jurta.org>
5787
5788 * info.el (Info-isearch-search): Doc fix.
5789 (Info-search): Change search-failed message from "initial node" to
5790 "end of node" (bug#12078).
5791 (Info-isearch-search): Change `isearch-string-state' to
5792 `isearch--state-string'.
5793
5794 2012-08-08 Glenn Morris <rgm@gnu.org>
5795
5796 * language/persian.el: Remove file.
5797 * language/misc-lang.el: Move unique part of persian.el here.
5798 * loadup.el: Remove language/persian.
5799
5800 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
5801
5802 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
5803
5804 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
5805
5806 * progmodes/python.el Fixed defsubst warning.
5807 (python-syntax-context) Rename from python-info-ppss-context.
5808 (python-syntax-context-type): Rename from
5809 python-info-ppss-context-type.
5810 (python-syntax-comment-or-string-p): Rename from
5811 python-info-ppss-comment-or-string-p.
5812
5813 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
5814
5815 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
5816
5817 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
5818
5819 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
5820 a defcustom that is quoted with backquote.
5821
5822 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
5823 Fix handling of interactive spec when the body uses return.
5824 (math-do-arg-check, math-define-function-body): Use backquote forms.
5825 * calc/calc-ext.el (math-defcache): Likewise.
5826 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
5827 * allout.el (allout-new-exposure): Likewise.
5828 * calc/calcalg2.el (math-tracing-integral): Likewise.
5829 * info.el (Info-last-menu-item): Likewise.
5830 * emulation/vip.el (vip-loop): Likewise.
5831 * textmodes/artist.el (artist-funcall): Likewise.
5832 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
5833 Construct menu-item directly.
5834
5835 * progmodes/autoconf.el (font-lock-syntactic-keywords):
5836 Don't declare.
5837
5838 2012-08-07 Chong Yidong <cyd@gnu.org>
5839
5840 * simple.el (deactivate-mark): Preserve text properties when
5841 saving the primary selection (Bug#8384).
5842
5843 2012-08-07 Kevin Ryde <user42@zip.com.au>
5844
5845 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
5846 (woman-parse-numeric-value): On a bad .IP line, issue a warning
5847 and continue processing (Bug#12110).
5848
5849 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
5850
5851 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
5852 syntax-propertize-function (bug#10095).
5853
5854 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
5855
5856 * help-fns.el (help-fns--key-bindings, help-fns--signature)
5857 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
5858 describe-function-1.
5859 (describe-function-1): Use them. Move compiler macro after sig.
5860 (help-fns--compiler-macro): Use function-get. Assume we're already in
5861 standard-output. Adjust layout to new call order.
5862
5863 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
5864 re-binding a symbol that has a symbol-macro (bug#12119).
5865
5866 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
5867
5868 * language/persian.el: New file. (Bug#11812)
5869 * loadup.el: Add language/persian.el.
5870
5871 2012-08-06 Chong Yidong <cyd@gnu.org>
5872
5873 * window.el (window--maybe-raise-frame): New function.
5874 (window--display-buffer): Split off from here.
5875 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5876 (display-buffer-pop-up-window, display-buffer-use-some-window):
5877 Obey an inhibit-switch-frame action alist entry.
5878 (display-buffer): Update doc.
5879
5880 * replace.el (occur-after-change-function): Avoid losing focus by
5881 using the inhibit-switch-frame display parameter (Bug#12139).
5882
5883 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
5884
5885 Make internal shell process buffer names start with space.
5886 * progmodes/python.el (python-shell-make-comint): Add optional
5887 argument INTERNAL.
5888 (run-python-internal): Use it.
5889 (python-shell-internal-get-or-create-process): Check for new
5890 internal buffer names.
5891
5892 2012-08-06 Glenn Morris <rgm@gnu.org>
5893
5894 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5895 Do less getting and setting of environment variables.
5896
5897 2012-08-05 Chong Yidong <cyd@gnu.org>
5898
5899 * proced.el (proced): Add substitution string to docstring to
5900 trigger autoloading of the proced library on C-h f (Bug#1768).
5901
5902 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5903 Don't show defvars which have no second argument (Bug#8638).
5904
5905 * imenu.el (imenu-generic-expression): Move documentation here
5906 from imenu--generic-function.
5907 (imenu--generic-function): Refer to imenu-generic-expression.
5908
5909 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
5910
5911 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
5912 indentation declaration.
5913 (viper-loop): Add indentation declaration (Bug#7025).
5914
5915 2012-08-05 Chong Yidong <cyd@gnu.org>
5916
5917 * help-fns.el (describe-variable): Add hyperlink for
5918 directory-local variables files. Improve buffer-local and
5919 permanent-local reporting; suggested by MON KEY (Bug#6644).
5920
5921 * help-mode.el (help-dir-local-var-def): New button type.
5922
5923 * files.el (kill-buffer-hook): Provide a defvar.
5924
5925 2012-08-05 Glenn Morris <rgm@gnu.org>
5926
5927 * eshell/esh-ext.el (eshell/addpath):
5928 Also update eshell-path-env. (Bug#12013)
5929
5930 2012-08-05 Chong Yidong <cyd@gnu.org>
5931
5932 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
5933
5934 * fringe.el (fringe-styles): Add docstring.
5935 (fringe--check-mode): New function.
5936 (set-fringe-mode, set-fringe-style): Use it.
5937 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
5938
5939 * files.el (set-auto-mode): Fix invalid setq call.
5940
5941 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5942
5943 * isearch.el: Misc simplification; use defstruct.
5944 (isearch-mode-map): Dense maps now work like sparse ones.
5945 (isearch--state): New defstruct.
5946 (isearch-string-state, isearch-message-state, isearch-point-state)
5947 (isearch-success-state, isearch-forward-state)
5948 (isearch-other-end-state, isearch-word-state, isearch-error-state)
5949 (isearch-wrapped-state, isearch-barrier-state)
5950 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
5951 replaced by defstruct's accessors.
5952 (isearch--set-state): Rename from isearch-top-state and change
5953 calling convention.
5954 (isearch-push-state): Use new isearch--get-state.
5955 (isearch-toggle-word): Disable regexp when enabling word.
5956 (isearch-message-prefix): Remove unused arg _c-q-hack.
5957 (isearch-message-suffix): Remove unused arg _ellipsis.
5958
5959 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
5960
5961 * simple.el (list-processes--refresh): For a server use :host or
5962 :local as the address.
5963 (list-processes): Doc fix.
5964
5965 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
5966
5967 * lisp/mpc.el: Support password in host argument.
5968 (mpc--proc-connect): Parse and use new password element.
5969 Set mpc-proc variable instead of returning process.
5970 (mpc-proc): Adjust accordingly.
5971
5972 2012-08-03 Eli Zaretskii <eliz@gnu.org>
5973
5974 * whitespace.el (whitespace-display-mappings): Use Unicode
5975 codepoints, instead of emacs-mule codepoints. See
5976 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
5977 for the details.
5978
5979 * files.el (file-truename): Don't skip symlink-chasing part on
5980 windows-nt. Incorporate the resolution of 8+3 short aliases on
5981 Windows into the loop that recursively chases symlinks.
5982 Compare directory and its parent case-insensitively on MS-Windows and
5983 MS-DOS.
5984
5985 2012-08-03 Chong Yidong <cyd@gnu.org>
5986
5987 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
5988
5989 * sort.el (sort-regexp-fields): Doc fix.
5990
5991 2012-08-03 Tassilo Horn <tsdh@gnu.org>
5992
5993 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
5994 labels regex position point at the expected place.
5995
5996 2012-08-03 MON KEY <monkey@sandpframing.com>
5997
5998 * net/imap.el (imap-interactive-login, imap-authenticate)
5999 (imap-mailbox-lsub, imap-mailbox-list)
6000 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
6001 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
6002 (imap-parse-response): Doc fix.
6003
6004 2012-08-03 João Távora <joaotavora@gmail.com>
6005
6006 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
6007 if sexp scanning does not move point (Bug#5734).
6008
6009 2012-08-02 Tassilo Horn <tsdh@gnu.org>
6010
6011 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
6012 Add listings, minted, and ctable packages.
6013 (reftex-label-alist-builtin): Move listings, minted, and ctable
6014 entries before LaTeX.
6015 (reftex-label-alist): Docfix.
6016
6017 2012-08-02 Bastien Guerry <bzg@gnu.org>
6018
6019 * replace.el (occur): Fix docstring (bug#12122).
6020
6021 2012-08-02 Glenn Morris <rgm@gnu.org>
6022
6023 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
6024
6025 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
6026
6027 Obsolete alias inactivate-current-input-method-function (Bug#10150).
6028 * international/mule-cmds.el: Create
6029 inactivate-current-input-method-function as an obsolete alias for
6030 deactivate-current-input-method-function. See Katsumi Yamaoka in
6031 <http://bugs.gnu.org/10150#46>.
6032
6033 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
6034
6035 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
6036 of nested `if's.
6037
6038 2012-08-01 Glenn Morris <rgm@gnu.org>
6039
6040 * progmodes/autoconf.el (autoconf-definition-regexp):
6041 Add AH_TEMPLATE, adjust submatch numbering.
6042 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
6043 (autoconf-current-defun-function): Update for above change.
6044 (autoconf-current-defun-function): First skip to end of current word.
6045
6046 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
6047
6048 * calendar/cal-html.el (cal-html-insert-agenda-days):
6049 Fix typo. (Bug#12018)
6050
6051 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
6052
6053 Shell processes: enhancements to startup and CEDET compatibility.
6054 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
6055 (python-shell-make-comint): accept-process-output at startup.
6056 (run-python-internal): Set inferior-python-mode-hook to nil.
6057 (python-shell-internal-get-or-create-process): call sit-for.
6058 (python-preoutput-result): Add obsolete alias.
6059 (python-shell-internal-send-string): Use it.
6060 (python-shell-send-setup-code): Remove call to
6061 accept-process-output.
6062
6063 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
6064
6065 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
6066 (Bug#12108)
6067
6068 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
6069
6070 * calc-mode.el (calc-basic-simplification-mode): Rename from
6071 `calc-limited-simplification-mode'.
6072 (calc-alg-simplification-mode): New function.
6073 (calc-set-simplify-mode): Adjust message.
6074
6075 * calc.el (calc-set-mode-line): Adjust mode line display for
6076 basic simplification mode.
6077
6078 * calc-help.el (calc-m-prefix-help): Update help message.
6079
6080 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
6081 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
6082
6083 2012-07-31 Bastien Guerry <bzg@gnu.org>
6084
6085 * man.el (man): Fix comment. (bug#12101)
6086
6087 2012-07-31 Martin Rudalics <rudalics@gmx.at>
6088
6089 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
6090 Don't return a non-nil value when no suitable buffer was found.
6091
6092 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
6093
6094 * progmodes/python.el (run-python-internal): Disable font lock for
6095 internal shells.
6096
6097 2012-07-30 Stefan Merten <smerten@oekonux.de>
6098
6099 * textmodes/rst.el: Silence `checkdoc-ispell'.
6100 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
6101 (rst-official-version, rst-official-cvs-rev)
6102 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
6103 (rst-mode-map): New key binding.
6104
6105 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
6106
6107 Update .PHONY listings in makefiles.
6108 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
6109 autoloads, update-subdirs, updates, bzr-update, update-authors,
6110 compile-onefile, compile-calc, backup-compiled-files,
6111 compile-after-backup, compile-one-process, mh-autoloads,
6112 bootstrap-clean, distclean, maintainer-clean.
6113
6114 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
6115
6116 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
6117 (calc-set-mode-line): Don't display "AlgSimp ".
6118
6119 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
6120 (calc-lim-simplify-mode): New function.
6121 (calc-set-simplify-mode): Default to 'alg.
6122 (calc-default-simplify-mode): Make algebraic simplifications
6123 the default.
6124
6125 * calc/calc-ext.el (calc-init-extensions): Remove binding for
6126 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
6127
6128 * calc/calc-help.el (calc-m-prefix-help): Change messages to
6129 indicate new simplification modes.
6130
6131 * calc/README: Mention new default simplification mode.
6132
6133 * calc/calc.el (math-normalize-error): New variable.
6134 (math-normalize): Set `math-normalize-error' to t
6135 when there's an error.
6136
6137 * calc/calc-alg.el (math-simplify): Don't simplify when
6138 `math-normalize' returns an error.
6139
6140 2012-07-29 Eli Zaretskii <eliz@gnu.org>
6141
6142 * international/mule-cmds.el (set-locale-environment): Revert last
6143 change, since display-graphic-p returns nil when this function is
6144 called during startup. Instead...
6145
6146 * term/w32console.el (terminal-init-w32console): ...setup the
6147 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
6148
6149 2012-07-29 Juri Linkov <juri@jurta.org>
6150
6151 * simple.el (goto-line): Don't display default line number in the
6152 prompt because it should be displayed by `read-number' (bug#9952).
6153 Add the current line number to the defaults of `goto-line' to
6154 allow its easier modification by users with `M-n' (bug#9201).
6155
6156 * subr.el (read-number): Support multiple default values like in
6157 other minibuffer reading functions. Replace `read' with
6158 `string-to-number' for consistency with `number-to-string'.
6159
6160 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
6161
6162 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
6163 * emulation/viper-init.el (viper-deactivate-input-method-action):
6164 Rename from viper-inactivate-input-method-action.
6165 (viper-deactivate-input-method):
6166 Rename from viper-inactivate-input-method.
6167 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
6168 * international/mule-cmds.el (deactivate-input-method):
6169 Rename from inactivate-input-method.
6170 Also run input-method-deactivate-hook.
6171 (deactivate-current-input-method-function):
6172 Rename from inactivate-current-input-method-function.
6173 (input-method-deactivate-hook): New hook.
6174 (input-method-inactivate-hook): Mark obsolete.
6175 (inactivate-input-method): Mark obsolete.
6176
6177 * international/quail.el (quail-activate):
6178 Also run quail-deactivate-hook.
6179 (quail-deactivate): Rename from quail-inactivate.
6180 * international/robin.el (robin-activate):
6181 Also run robin-deactivate-hook.
6182 (robin-deactivate): Rename from robin-inactivate.
6183
6184 2012-07-29 Chong Yidong <cyd@gnu.org>
6185
6186 * simple.el (indicate-copied-region): New function.
6187 (kill-ring-save): Split off from here.
6188
6189 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
6190 (kill-rectangle): Set deactivate-mark to t on read-only error.
6191
6192 * register.el (copy-to-register, copy-rectangle-to-register):
6193 Deactivate the mark, and use indicate-copied-region (Bug#10056).
6194 (append-to-register, prepend-to-register): Call indicate-copied-region.
6195
6196 2012-07-29 Juri Linkov <juri@jurta.org>
6197
6198 * simple.el (async-shell-command-buffer): New defcustom.
6199 (shell-command): Use it. (Bug#4719)
6200
6201 2012-07-28 Eli Zaretskii <eliz@gnu.org>
6202
6203 * international/mule-cmds.el (set-locale-environment): In a
6204 console session on MS-Windows, set up keyboard and terminal
6205 encoding from the OEM codepage, not the ANSI codepage.
6206 (Bug#12055)
6207
6208 2012-07-28 Chong Yidong <cyd@gnu.org>
6209
6210 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
6211 gdb-get-location.
6212
6213 2012-07-28 Leo Liu <sdl.web@gmail.com>
6214
6215 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
6216 the alist (bug#12029).
6217
6218 2012-07-28 Eli Zaretskii <eliz@gnu.org>
6219
6220 * makefile.w32-in (custom-deps, finder-data, updates, compile)
6221 (compile-always, compile-first)
6222 ($(lisp)/calendar/cal-loaddefs.el)
6223 ($(lisp)/calendar/diary-loaddefs.el)
6224 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
6225 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
6226 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
6227 instead of on update-subdirs.
6228 (bootstrap-clean): Delete $(lisp)/subdirs.el.
6229
6230 2012-07-28 Chong Yidong <cyd@gnu.org>
6231
6232 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
6233 directory if vc-deduce-backend returns nil (Bug#7350).
6234
6235 * simple.el (delete-trailing-lines): New option.
6236 (delete-trailing-whitespace): Obey it (Bug#11879).
6237
6238 2012-07-28 David Engster <deng@randomsample.de>
6239
6240 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
6241 Explanation of new 'symbol-qnames feature in doc-strings.
6242 (xml-maybe-do-ns): Return expanded names as plain symbols if
6243 'symbol-qnames was provided in XML-NS argument (Bug#11916).
6244 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
6245
6246 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
6247
6248 Consistent completion in inferior python with emacs -nw.
6249 * progmodes/python.el (inferior-python-mode): replace "<tab>"
6250 binding in inferior-python-mode-map with "\t".
6251 (python-shell-completion-complete-at-point)
6252 (python-completion-complete-at-point): Remove interactive spec.
6253
6254 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
6255
6256 * calc/calccomp.el (math-compose-expr): Undo previous change.
6257
6258 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
6259
6260 * progmodes/python.el (python-mode-map): Add keybinding for
6261 run-python.
6262 (python-shell-make-comint): Fix pop-to-buffer call.
6263 (run-python): Autoload. New arg SHOW.
6264 (python-shell-get-or-create-process): Do not pop python process
6265 buffer.
6266
6267 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
6268
6269 * notifications.el (notifications-on-action-signal)
6270 (notifications-on-closed-signal): Use also the bus address for the map.
6271 (notifications-notify, notifications-close-notification)
6272 (notifications-get-capabilities): Add optional argument BUS.
6273
6274 2012-07-27 Tassilo Horn <tsdh@gnu.org>
6275
6276 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
6277 Add support for the lstlisting and minted environments, and for the
6278 ctable macro.
6279 * textmodes/reftex.el (reftex-compile-variables): Also recognize
6280 labels written in keyvals syntax.
6281
6282 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
6283
6284 * calc/calccomp.el (math-compose-expr): Use parentheses when
6285 there is a product in the denominator of a fraction.
6286
6287 2012-07-26 Eli Zaretskii <eliz@gnu.org>
6288
6289 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
6290 ($(lisp)/calendar/diary-loaddefs.el)
6291 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
6292 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
6293 Fixes failures in parallel bootstrap because subdirs.el is being
6294 rewritten while the autoload files are built at the same time,
6295 which needs to load subdirs.el.
6296
6297 2012-07-26 Martin Rudalics <rudalics@gmx.at>
6298
6299 * mouse.el (popup-menu): Fix doc-string and re-indent code.
6300 (mouse-drag-line): Don't exit tracking when a switch-frame or
6301 switch-window event occurs (Bug#12006).
6302
6303 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6304
6305 * mouse.el (popup-menu): Fix last change.
6306
6307 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6308
6309 Autoload from Lisp with more care. Follow aliases when looking for
6310 function properties.
6311 * subr.el (autoloadp): New function.
6312 (symbol-file): Use it.
6313 (function-get): New function.
6314 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
6315 autoload-do-load.
6316 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
6317 (lisp-indent-function):
6318 * emacs-lisp/gv.el (gv-get):
6319 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
6320 * emacs-lisp/byte-opt.el (byte-optimize-form):
6321 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
6322 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
6323 Use function-get.
6324 * emacs-lisp/cl.el: Don't propagate function properties any more.
6325
6326 * speedbar.el (speedbar-add-localized-speedbar-support):
6327 * emacs-lisp/disass.el (disassemble-internal):
6328 * desktop.el (desktop-load-file):
6329 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
6330 (describe-function-1):
6331 * emacs-lisp/find-func.el (find-function-noselect):
6332 * emacs-lisp/elp.el (elp-instrument-function):
6333 * emacs-lisp/advice.el (ad-has-proper-definition):
6334 * apropos.el (apropos-safe-documentation, apropos-macrop):
6335 * emacs-lisp/debug.el (debug-on-entry):
6336 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
6337 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
6338 * calc/calc.el (name): Use autoloadp & autoload-do-load.
6339
6340 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
6341
6342 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
6343 function, not an obsolete variable (Bug#12046).
6344
6345 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
6346
6347 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
6348
6349 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
6350
6351 * emacs-lisp/pp.el (pp-display-expression): Select old selected
6352 window only if it is still live (Bug#12034).
6353
6354 2012-07-25 Martin Rudalics <rudalics@gmx.at>
6355
6356 * subr.el (redirect-frame-focus): Add advertised calling
6357 convention (Bug#12030).
6358
6359 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
6360
6361 Prefer typical American spelling for "acknowledgment".
6362 * vc/add-log.el (change-log-acknowledgment): Rename from
6363 change-log-acknowledgement, with an alias for the old name.
6364
6365 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
6366
6367 * calc-alg.el (math-simplify-divide): Don't cross multiply
6368 in an equation when the lhs is a variable.
6369
6370 2012-07-24 Julien Danjou <julien@danjou.info>
6371
6372 * net/netrc.el (netrc-find-service-number, netrc-store-data):
6373 Remove, unused.
6374
6375 2012-07-23 Eli Zaretskii <eliz@gnu.org>
6376
6377 * startup.el (command-line): Don't display an empty user name in
6378 the error message about non-existent home directory, when
6379 init-file-user was set to an empty string. See
6380 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
6381 for the details and context.
6382
6383 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
6384
6385 * ses.el (ses-cell-formula-aset): New macro.
6386 (ses-cell-references-aset): New macro.
6387 (ses-cell-p): New function.
6388 (ses-rename-cell): Do no longer rely on complex operations like
6389 ses-cell-set-formula or ses-set-cell to change the cell and handle
6390 the undo at the same time, but rather use lower level new macros
6391 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
6392 the undo directly. Refresh the mode line.
6393
6394 2012-07-21 Leo Liu <sdl.web@gmail.com>
6395
6396 * progmodes/cc-cmds.el (c-defun-name):
6397 Use match-string-no-properties instead for consistency.
6398
6399 2012-07-20 Leo Liu <sdl.web@gmail.com>
6400
6401 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
6402 (Bug#7879)
6403
6404 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
6405
6406 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
6407
6408 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
6409 * progmodes/bug-reference.el, misearch.el: Provide themselves
6410 (bug#11915).
6411
6412 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
6413 of narrowed buffer (bug#11966).
6414
6415 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
6416
6417 * ses.el (ses-rename-cell): Set new name also in reference list of
6418 cells of which the renamed cell depends.
6419
6420 2012-07-20 Masatake YAMATO <yamato@redhat.com>
6421
6422 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
6423 to check whether menu-bar is shown or not. If not shown,
6424 show the menu-bar as a popup menu instead of using tmm.
6425 * mouse.el (popup-menu): Accept `point' as `position' argument.
6426
6427 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
6428
6429 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
6430 up inside string symbol literal (bug#11923).
6431
6432 2012-07-20 Eli Zaretskii <eliz@gnu.org>
6433
6434 * startup.el (fancy-startup-text): Read the whole tutorial, not
6435 just its first 256 bytes. Prevents gibberish in display of the
6436 tutorial title.
6437
6438 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
6439
6440 Drop idle buffer compaction due to an absence of the
6441 proved efficiency.
6442 * compact.el: Remove.
6443
6444 2012-07-19 Sam Steingold <sds@gnu.org>
6445
6446 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
6447 vc-bzr-pull & vc-bzr-merge-branch.
6448 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
6449 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
6450 for consistency with compilation-error-regexp-alist.
6451 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
6452 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
6453 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
6454 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
6455
6456 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
6457
6458 * emacs-lisp/chart.el: Use lexical-binding.
6459 (chart-emacs-storage): Don't hardcode the list of entries.
6460
6461 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
6462
6463 Next round of tweaks caused by Fgarbage_collect changes.
6464 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
6465
6466 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
6467
6468 Compact buffers when idle.
6469 * compact.el: New file.
6470
6471 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
6472
6473 * subr.el (eventp): Presume that if it looks vaguely like an event,
6474 it's an event (bug#10190).
6475
6476 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
6477
6478 Enhancements to ppss related code (thanks Stefan).
6479 * progmodes/python.el (python-indent-context)
6480 (python-indent-calculate-indentation, python-indent-dedent-line)
6481 (python-indent-electric-colon, python-nav-forward-block)
6482 (python-mode-abbrev-table)
6483 (python-info-assignment-continuation-line-p): Simplify checks
6484 for ppss context.
6485 (python-info-continuation-line-p): Cleanup.
6486 (python-info-ppss-context): Do not catch 'quote.
6487 (python-info-ppss-context-type)
6488 (python-info-ppss-comment-or-string-p): Simplify.
6489
6490 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
6491
6492 * progmodes/python.el: Enhancements to eldoc support.
6493 (python-info-current-symbol): New function.
6494 (python-eldoc-at-point): Use python-info-current-symbol.
6495 (python-info-current-defun): Fix cornercase on first defun scan.
6496 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
6497 and signal error when no inferior python process is available.
6498
6499 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
6500
6501 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
6502 assume it's always t.
6503 (vc-git-registered): Remove caching, the function is only called
6504 once.
6505 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
6506
6507 2012-07-18 Chong Yidong <cyd@gnu.org>
6508
6509 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
6510
6511 * simple.el (count-words): Report on narrowing (Bug#9959).
6512
6513 * bindings.el: Bind M-= to count-words.
6514
6515 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
6516
6517 2012-07-18 Masatake YAMATO <yamato@redhat.com>
6518
6519 * progmodes/sh-script.el (sh-imenu-generic-expression):
6520 Capture a function with `function' keyword and without parentheses
6521 like "function FOO" (bug#11856).
6522
6523 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
6524
6525 * window.el (split-window-sensibly): Make WINDOW argument
6526 optional.
6527
6528 2012-07-18 Chong Yidong <cyd@gnu.org>
6529
6530 * subr.el (keyboard-translate): Doc fix (Bug#7261).
6531
6532 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
6533 and make C-x 8 RET exit isearch (Bug#11439).
6534
6535 * international/iso-transl.el: Move isearch-mode-map key
6536 definitions to isearch.el.
6537
6538 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
6539
6540 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
6541 (eieio-defclass): Use gv-define-setter when possible.
6542
6543 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
6544
6545 Reflect recent changes in Fgarbage_collect.
6546 * emacs-lisp/chart.el (chart-emacs-storage): Change to
6547 reflect new format of data returned by Fgarbage_collect.
6548
6549 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
6550
6551 New utility functions + python-info-ppss-context fix (Bug#11910).
6552 * progmodes/python.el (python-info-beginning-of-block-statement-p)
6553 (python-info-ppss-comment-or-string-p): New functions.
6554 (python-info-ppss-context): Small fix for string check.
6555
6556 2012-07-17 Juri Linkov <juri@jurta.org>
6557
6558 * dired-aux.el (dired-do-async-shell-command): Doc fix.
6559 (dired-do-async-shell-command): Don't add `*' at the end of the
6560 command (Bug#11815).
6561 (dired-do-shell-command): Doc fix.
6562 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
6563 Join the individual commands using either "&" or ";" as the
6564 separator depending on the values of these trailing characters.
6565 At the end re-add the trailing "&". (Bug#10598)
6566
6567 * simple.el (async-shell-command): Sync the interactive spec with
6568 `shell-command'. Doc fix.
6569 (shell-command): Doc fix.
6570
6571 2012-07-17 Juri Linkov <juri@jurta.org>
6572
6573 * descr-text.el (describe-char): Fix format args. (Bug#10129)
6574
6575 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
6576
6577 Final renames and doc fixes for movement commands (bug#11899).
6578 * progmodes/python.el (python-nav-beginning-of-statement):
6579 Rename from python-nav-statement-start.
6580 (python-nav-end-of-statement): Rename from
6581 python-nav-statement-end.
6582 (python-nav-beginning-of-block): Rename from
6583 python-nav-block-start.
6584 (python-nav-end-of-block): Rename from python-nav-block-end.
6585
6586 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
6587
6588 * progmodes/python.el (python-shell-send-string-no-output):
6589 Allow accept-process-output to quit, keeping shell process ready for
6590 future interactions (Bug#11868).
6591
6592 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
6593
6594 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
6595
6596 * emacs-lisp/elint.el (elint-find-args-in-code):
6597 Use help-function-arglist, so as to handle lexical byte-code.
6598
6599 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
6600 change (bug#11826).
6601
6602 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
6603
6604 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
6605 Avoid spuriously marking the buffer as modified because of c-is-sws.
6606
6607 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
6608 as not-a-comment (bug#11946).
6609
6610 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
6611 for uninterned vars.
6612
6613 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
6614 Use read-event since we don't really want to read chars but bytes.
6615
6616 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
6617 $$..$$ but also $..$ using regexps (bug#11953).
6618 Use tex-verbatim for \url and \path.
6619 (tex-font-lock-keywords): Define as defconst like the others.
6620 (tex-common-initialization): Don't use font-lock-syntax-table any more.
6621
6622 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
6623
6624 * international/mule-cmds.el (ucs-insert): Make it an obsolete
6625 alias for insert-char.
6626
6627 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
6628
6629 * progmodes/python.el: Simplified imenu implementation.
6630 (python-nav-jump-to-defun): Remove command.
6631 (python-mode-map): Use `imenu' instead.
6632 (python-nav-list-defun-positions-cache)
6633 (python-imenu-include-defun-type, python-imenu-make-tree)
6634 (python-imenu-subtree-root-label, python-imenu-index-alist):
6635 Remove vars.
6636 (python-nav-list-defun-positions, python-nav-read-defun)
6637 (python-imenu-tree-assoc, python-imenu-make-element-tree)
6638 (python-imenu-make-tree, python-imenu-create-index):
6639 Remove functions.
6640 (python-mode): Update to interact with imenu by setting
6641 `imenu-extract-index-name-function' only.
6642
6643 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
6644
6645 * progmodes/python.el: Enhancements to navigation commands.
6646 (python-nav-backward-sentence)
6647 (python-nav-forward-sentence): Remove.
6648 (python-nav-backward-statement, python-nav-forward-statement)
6649 (python-nav-statement-start, python-nav-statement-end)
6650 (python-nav-backward-block, python-nav-forward-block)
6651 (python-nav-block-start, python-nav-block-end)
6652 (python-nav-forward-sexp-function)
6653 (python-info-current-line-comment-p)
6654 (python-info-current-line-empty-p): New functions.
6655 (python-indent-context): Use `python-nav-statement-start'.
6656
6657 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
6658
6659 * eshell/em-ls.el (eshell/ls): Use `apply'.
6660
6661 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
6662 multi-hops, instead of Tramp internals.
6663
6664 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
6665
6666 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
6667 when F1 and F2 are located on different hosts.
6668
6669 2012-07-14 Chong Yidong <cyd@gnu.org>
6670
6671 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
6672 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
6673 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
6674 (xterm-mouse--read-event-sequence-1000)
6675 (xterm-mouse--read-event-sequence-1006): New functions. For old
6676 mouse protocol, handle M-mouse-X events correctly.
6677 (xterm-mouse-event): New arg specifying mouse protocol.
6678 (turn-on-xterm-mouse-tracking-on-terminal)
6679 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
6680 sequence to toggle extended coordinates on newer XTerms.
6681 This appears to be harmless on terminals which do not support this.
6682
6683 2012-07-14 Leo Liu <sdl.web@gmail.com>
6684
6685 Add fringe bitmap indicators for flymake. (Bug#11253)
6686 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
6687 (flymake-make-overlay): New arg BITMAP.
6688 (flymake-error-bitmap, flymake-warning-bitmap)
6689 (flymake-fringe-indicator-position): New user variables.
6690
6691 * fringe.el: New bitmap exclamation-mark.
6692
6693 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
6694
6695 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
6696 also (Bug#7879).
6697
6698 2012-07-14 Chong Yidong <cyd@gnu.org>
6699
6700 * electric.el (electric-pair-post-self-insert-function): Fix pair
6701 insertion in empty-region case (Bug#11520).
6702
6703 2012-07-14 Chong Yidong <cyd@gnu.org>
6704
6705 * bindings.el: Consolidate ctl-x-r-map bindings.
6706 Bind copy-rectangle-as-kill to C-x r w.
6707
6708 * rect.el, register.el: Move bindings to bindings.el.
6709
6710 2012-07-14 Reuben Thomas <rrt@sc3d.org>
6711
6712 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
6713
6714 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
6715
6716 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
6717
6718 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
6719
6720 * bindings.el (top): Use `mapc' instead of `mapcar'.
6721
6722 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
6723
6724 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
6725
6726 * progmodes/sql.el (sql-comint): Suppress the check for program on
6727 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
6728 (Bug#11908)
6729
6730 2012-07-13 Chong Yidong <cyd@gnu.org>
6731
6732 * bindings.el: Assign a non-nil permanent-local property to
6733 per-buffer variables which lack a default value (Bug#11930).
6734
6735 * help-fns.el (describe-variable): In the "automatically becomes
6736 local" notice, take note of permanent-local variables.
6737
6738 2012-07-13 Chong Yidong <cyd@gnu.org>
6739
6740 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
6741 to allow printing the message when called from Lisp.
6742
6743 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6744 Remove toggle-read-only.
6745
6746 * bs.el (bs-toggle-readonly):
6747 * buff-menu.el (Buffer-menu-toggle-read-only):
6748 Remove with-no-warnings around toggle-read-only.
6749
6750 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
6751 Remove with-no-warnings around toggle-read-only.
6752 (ffap-read-only, ffap-read-only-other-window)
6753 (ffap-read-only-other-frame): Callers changed.
6754
6755 * help-mode.el: Don't require view package.
6756 (help-mode-finish): Set buffer-read-only instead of calling
6757 toggle-read-only.
6758
6759 * bindings.el (mode-line-toggle-read-only):
6760 * dired.el (dired-toggle-read-only):
6761 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
6762 with non-nil second arg.
6763
6764 * emacs-lisp/eieio-custom.el (eieio-customize-object):
6765 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
6766 directly.
6767
6768 2012-07-12 Eli Zaretskii <eliz@gnu.org>
6769
6770 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
6771 not incf.
6772
6773 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
6774
6775 More CL cleanups and reduction of use of cl.el.
6776 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
6777 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
6778 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
6779 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
6780 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
6781 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
6782 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
6783 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
6784 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
6785 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
6786 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
6787 * eshell/em-cmpl.el, eshell/em-banner.el:
6788 * calendar/parse-time.el: Use cl-lib.
6789 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
6790 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
6791 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
6792 * term/ns-win.el, term.el, shell.el, ps-samp.el:
6793 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
6794 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
6795 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
6796 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
6797 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
6798 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
6799 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
6800 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
6801 `lambda' rather than with `quote'.
6802 (eshell-do-opt): Adjust accordingly.
6803 (eshell-process-option): Simplify.
6804 * eshell/esh-var.el:
6805 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
6806 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
6807 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
6808 to `pcase--dontcare'.
6809 * emacs-lisp/cl.el (labels): Mark obsolete.
6810 (cl--letf, letf): Move to cl-lib.
6811 (cl--letf*, letf*): Remove.
6812 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
6813 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
6814 (cl-progv): Rewrite.
6815 (cl--letf, cl-letf): Move from cl.el.
6816 (cl-letf*): New macro.
6817 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
6818
6819 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
6820
6821 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
6822
6823 2012-07-11 Chong Yidong <cyd@gnu.org>
6824
6825 * vc/log-edit.el (log-edit-vc-backend): New variable.
6826 (log-edit): Doc fix.
6827
6828 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
6829 argument of log-edit to set up all local variables.
6830 (vc-start-logentry): New optional arg specifying VC backend.
6831
6832 * vc/vc.el (vc-checkin): Use it.
6833 (vc-deduce-fileset): Handle Log Edit buffers.
6834 (vc-diff): Make first argument optional too.
6835
6836 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
6837
6838 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
6839
6840 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
6841 command, just in case. The function is not needed anymore.
6842 (eshell-external-command): Do not call `eshell-remote-command'.
6843
6844 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
6845
6846 Reduce use of (require 'cl).
6847 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
6848 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
6849 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
6850 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
6851 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
6852 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
6853 * battery.el, avoid.el, abbrev.el: Use cl-lib.
6854 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
6855 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
6856 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
6857 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
6858 * calculator.el, autorevert.el, apropos.el: Don't require CL.
6859 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
6860 (byte-compile-unfold-bcf, byte-compile-check-variable):
6861 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
6862 (byte-compile-nilconstp):
6863 * emacs-lisp/autoload.el (make-autoload): Use pcase.
6864 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
6865
6866 * emacs-lisp/gv.el (cond): Make it a valid place.
6867 (if): Simplify slightly.
6868
6869 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
6870 (pcase--self-quoting-p): New function.
6871 (pcase--u1): Use it.
6872
6873 2012-07-10 Glenn Morris <rgm@gnu.org>
6874
6875 * emacs-lisp/authors.el (authors-fixed-entries):
6876 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
6877
6878 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
6879
6880 Rename configure.in to configure.ac (Bug#11603).
6881 * emacs-lisp/authors.el (authors-canonical-file-name):
6882 * progmodes/autoconf.el (autoconf-mode):
6883 Prefer configure.ac to configure.in.
6884
6885 2012-07-08 Chong Yidong <cyd@gnu.org>
6886
6887 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
6888 Implement the mouse-1-click-follows-link handling properly.
6889
6890 * info.el (Info-link-keymap): Use follow-link mechanism for
6891 header-line links (Bug#374).
6892
6893 * simple.el (deactivate-mark): Do not set the primary selection
6894 if another program has acquired it (Bug#11772).
6895
6896 2012-07-07 Kevin Ryde <user42@zip.com.au>
6897
6898 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
6899 (woman-decode-region): Replace escaped-escapes without destroying
6900 bold or underline (Bug#11552).
6901 (woman2-process-escapes): Handle nofill regions (Bug#11591).
6902
6903 2012-07-07 Chong Yidong <cyd@gnu.org>
6904
6905 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
6906 (interprogram-cut-function, interprogram-paste-function):
6907 Mention that we typically mean the clipboard.
6908
6909 2012-07-06 Glenn Morris <rgm@gnu.org>
6910
6911 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
6912
6913 * files.el (toggle-read-only): Restrict message to interactive use.
6914
6915 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
6916
6917 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
6918
6919 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
6920
6921 2012-07-06 Glenn Morris <rgm@gnu.org>
6922
6923 * Makefile.in (compile-one-process): Rename from "recompile".
6924
6925 * Makefile.in (bzr-update): "compile" is the same as "recompile
6926 autoloads", but parallelizable, so use that instead.
6927
6928 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
6929
6930 * window.el (quit-window): Always restore window height when
6931 it's saved in quit-restore parameter (Bug#11810).
6932
6933 2012-07-06 Glenn Morris <rgm@gnu.org>
6934
6935 * simple.el (kill-whole-line): Doc tweak.
6936
6937 2012-07-06 Eli Zaretskii <eliz@gnu.org>
6938
6939 * files.el (file-relative-name): Compare file names
6940 case-insensitively if on MS-Windows or MS-DOS, or if
6941 read-file-name-completion-ignore-case is non-nil. Don't use
6942 case-fold-search for this purpose. (Bug#11827)
6943
6944 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
6945
6946 * calendar/cal-dst.el (calendar-current-time-zone):
6947 Return calendar-current-time-zone-cache if non-nil.
6948
6949 2012-07-17 Masatake YAMATO <yamato@redhat.com>
6950 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
6951
6952 * calendar/cal-dst.el (calendar-current-time-zone):
6953 Return calendar-current-time-zone-cache if non-nil.
6954
6955 2012-07-06 Glenn Morris <rgm@gnu.org>
6956
6957 * Makefile.in (cvs-update): Remove old alias.
6958
6959 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
6960
6961 Sync with Tramp 2.2.6-pre.
6962
6963 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
6964 compatible declaration.
6965
6966 * net/tramp-cmds.el (tramp-append-tramp-buffers):
6967 Protect `list-load-path-shadows' call.
6968
6969 * net/tramp-compat.el (top): Require packages, which aren't
6970 autoloaded anymore for XEmacs. Protect call of
6971 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
6972 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
6973 it hurts at least for SXEmacs.
6974 (tramp-compat-temporary-file-directory): In XEmacs, there is no
6975 standard-value for `temporary-file-directory'.
6976
6977 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
6978 Redirect stderr to /dev/null.
6979 (tramp-sh-handle-write-region): uid and gid can be floats.
6980 Reported by Russell Sim <russell.sim@gmail.com>.
6981 (tramp-sh-handle-vc-registered): Hide errors.
6982 (tramp-vc-file-name-handler): Use dummy results for `process-file'
6983 and `start-file-process'.
6984 (tramp-maybe-open-connection): Check also whether `non-essential'
6985 is bound.
6986
6987 2012-07-04 Chong Yidong <cyd@gnu.org>
6988
6989 * xml.el (xml--parse-buffer): Use xml-syntax-table.
6990 (xml-parse-tag): Likewise, and avoid changing entity tables.
6991 (xml-syntax-table): Define from scratch, making sure not to give
6992 x2000 and other Unicode spaces whitespace syntax, since those are
6993 not spaces in XML.
6994 (xml-parse-fragment): Delete unused function.
6995 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
6996 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
6997 (xml-entity-ref, xml-pe-reference-re)
6998 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
6999 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
7000 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
7001 (xml-entity-value-re): Use syntax references in regexps where
7002 possible; no need to define inside a let-binding.
7003 (xml-parse-dtd): Use xml-pe-reference-re.
7004 (xml-entity-or-char-ref-re): New defconst.
7005 (xml-parse-string, xml-substitute-special): Use it.
7006
7007 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7008
7009 * files.el (locate-dominating-file): Allow `name' to be a predicate.
7010 (find-file--read-only): New function.
7011 (find-file-read-only, find-file-read-only-other-window)
7012 (find-file-read-only-other-frame): Use it.
7013 (insert-file-contents-literally): Don't `fset'.
7014 (get-free-disk-space): Use locate-dominating-file.
7015
7016 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
7017 function is already compiled.
7018
7019 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
7020
7021 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
7022
7023 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
7024 files on the same host.
7025
7026 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
7027
7028 * help-fns.el (describe-function-1): Only call
7029 help-fns--autoloaded-p when we have a file name. (Bug#11848)
7030
7031 2012-07-03 Chong Yidong <cyd@gnu.org>
7032
7033 * xml.el: Protect parser against XML bombs.
7034 (xml-entity-expansion-limit): New variable.
7035 (xml-parse-string, xml-substitute-special): Use it.
7036 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
7037
7038 2012-07-03 Glenn Morris <rgm@gnu.org>
7039
7040 * progmodes/bug-reference.el (bug-reference-bug-regexp):
7041 Allow linking to specific messages in debbugs reports (eg 123#5).
7042
7043 2012-07-02 Chong Yidong <cyd@gnu.org>
7044
7045 * xml.el: Fix entity and character reference expansion, allowing
7046 them to expand into markup as per XML spec.
7047 (xml-default-ns): New variable.
7048 (xml-entity-alist): Use XML spec definitions for lt and amp.
7049 (xml-parse-region): Make first two arguments optional.
7050 Discard text properties.
7051 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
7052 All callers changed.
7053 (xml-parse-tag): Call xml-parse-tag-1. For backward
7054 compatibility, this function should not modify buffer contents.
7055 (xml-parse-tag-1): Fix opening-tag regexp.
7056 (xml-parse-string): Rewrite, handling entity and character
7057 references properly.
7058 (xml--entity-replacement-text): Signal an error if a parameter
7059 entity is undefined.
7060
7061 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
7062
7063 * comint.el (comint-output-filter): Filter out repeated prompts.
7064
7065 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
7066 and file-name-absolute-p.
7067 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
7068 internal calls.
7069
7070 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
7071
7072 Spelling fixes.
7073 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
7074 Rename from byte-compile--refiy-function. All uses changed.
7075
7076 2012-07-01 Chong Yidong <cyd@gnu.org>
7077
7078 * xml.el (xml--parse-buffer): New function. Move most of
7079 xml-parse-region here.
7080 (xml-parse-region): Copy region into a temporary buffer, since
7081 parameter entity substitution requires changing buffer contents.
7082 Use xml--parse-buffer.
7083 (xml-parse-file): Use xml--parse-buffer.
7084 (xml-parse-dtd): Make parameter entity substitution work right.
7085 Use proper regexps for ELEMENT declarations (Bug#7172).
7086
7087 2012-06-30 Glenn Morris <rgm@gnu.org>
7088
7089 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
7090
7091 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
7092 Remove outdated and unnecessary dbus declarations.
7093
7094 2012-06-30 Eli Zaretskii <eliz@gnu.org>
7095
7096 * emacs-lisp/timer.el (timer-until): Subtract results of
7097 float-time, instead of taking float-time of the result of
7098 time-subtract, since float-time signals an error for negative time
7099 arguments.
7100
7101 2012-06-30 Chong Yidong <cyd@gnu.org>
7102
7103 * xml.el (xml-*-re): Convert defvars into defconsts, and
7104 eval-and-compile them so eval-and-compile works on derivatives.
7105 (xml--entity-replacement-text): Use eval-and-comple.
7106
7107 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
7108
7109 * vc/vc-git.el (vc-git-registered): Use cache property
7110 `git-registered'.
7111 (vc-git-mode-line-string): Call `vc-working-revision' instead of
7112 `vc-git-working-revision' in order to benefit from the cache.
7113 (vc-git-root): Use cache property `git-root'. (Bug#11757)
7114
7115 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
7116
7117 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
7118 removed (likely outside Emacs). (Bug#11757)
7119
7120 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
7121
7122 * emacs-lisp/cl-lib.el: Require macroexp.
7123
7124 2012-06-30 Chong Yidong <cyd@gnu.org>
7125
7126 * xml.el: Implement XML parameter entities.
7127 (xml-parameter-entity-alist): New variable.
7128 (xml-parse-region, xml-parse-fragment): Preserve previous values
7129 of xml-entity-alist and xml-parameter-entity-alist, so that
7130 repeated calls on different documents do not change them.
7131 (xml-parse-tag): Fix doctype regexp.
7132 (xml--entity-replacement-text): New function.
7133 (xml-parse-dtd): Use it. Don't handle system entities; doing that
7134 properly requires url retrieval which is unimplemented.
7135 (xml-escape-string): Doc fix.
7136
7137 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
7138
7139 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
7140
7141 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
7142
7143 * fringe.el (fringe-mode): Doc fix.
7144
7145 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
7146
7147 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
7148 is non-nil.
7149 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
7150 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
7151
7152 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
7153
7154 * calendar/cal-dst.el (calendar-current-time-zone):
7155 Return calendar-current-time-zone-cache if non-nil.
7156
7157 2012-06-29 Masatake YAMATO <yamato@redhat.com>
7158
7159 * progmodes/which-func.el (which-func-format):
7160 Add mouse-face. (Bug#11698)
7161
7162 2012-06-29 Leo Liu <sdl.web@gmail.com>
7163
7164 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
7165
7166 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
7167
7168 * minibuffer.el (minibuffer-confirm-exit-commands):
7169 Add completion-at-point (bug#11725).
7170
7171 2012-06-29 Glenn Morris <rgm@gnu.org>
7172
7173 * progmodes/f90.el (f90-font-lock-keywords-2):
7174 Add some preprocessor elements. (Bug#10499)
7175
7176 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
7177
7178 * progmodes/cperl-mode.el (cperl-update-syntaxification):
7179 Use syntax-propertize (bug#11739).
7180
7181 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
7182
7183 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
7184
7185 2012-06-28 Julien Danjou <julien@danjou.info>
7186
7187 * term.el (term-handle-colors-array): Use a set of new faces to
7188 color the terminal. Also uses :inverse-video property.
7189 (term-default-fg-color): Set to nil by default, deprecate in favor
7190 of `term-face'.
7191 (term-default-bg-color): Set to nil by default, deprecate in favor
7192 of `term-face'.
7193 (term-current-face): Use `term-face' by default.
7194 (term-bold-attribute): Variable deleted.
7195
7196 2012-06-28 Glenn Morris <rgm@gnu.org>
7197
7198 * simple.el (completion-list-mode-finish):
7199 Don't use toggle-read-only. (Since completion-list-mode has
7200 a special mode-class, it wasn't doing anything extra anyway.)
7201
7202 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
7203
7204 Make inlining of other-mode interpreted functions work (bug#11799).
7205 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
7206 (byte-compile): Use it to fix compilation of lexical-binding closures.
7207 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
7208 function, if needed.
7209
7210 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7211
7212 * help-mode.el (help-make-xrefs): Don't just withstand
7213 cyclic-variable-indirection but any error in documentation-property.
7214
7215 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
7216 memory use.
7217 * bindings.el (bindings--define-key): New function.
7218 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
7219 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
7220 * bindings.el: Use it to purecopy define-key bindings.
7221
7222 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
7223
7224 * emacs-lisp/cl.el (flet): Mark obsolete.
7225 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
7226 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
7227 * progmodes/js.el (js-c-fill-paragraph):
7228 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
7229 (ebrowse-switch-member-buffer-to-derived-class):
7230 * play/5x5.el (5x5-solver): Use cl-flet.
7231
7232 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
7233 (cl--symbol-function): New macro.
7234 (cl--letf, cl--letf*): Use it.
7235
7236 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
7237 Strip "toggle-" if any.
7238
7239 2012-06-27 Glenn Morris <rgm@gnu.org>
7240
7241 * info.el (Info-default-directory-list): Move here from paths.el.
7242 * paths.el: Remove file, which is now empty.
7243 * loadup.el: No longer load "paths".
7244
7245 * custom.el (custom-initialize-delay): Doc fix.
7246
7247 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7248 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
7249 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
7250 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
7251 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
7252 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
7253 * eshell/eshell.el (eshell-defgroup): Remove alias.
7254
7255 2012-06-27 Chong Yidong <cyd@gnu.org>
7256
7257 * help.el (help-enable-auto-load): New variable.
7258
7259 * help-fns.el (help-fns--autoloaded-p): New function.
7260 (describe-function-1): Refer to a function as "autoloaded" if it
7261 was autoloaded at any time in the past. Perform autoloading if
7262 help-enable-auto-load is non-nil.
7263
7264 2012-06-26 Eli Zaretskii <eliz@gnu.org>
7265
7266 * makefile.w32-in (compile, compile-always): Depend on
7267 update-subdirs, not on subdirs.el. Otherwise, several different
7268 sub-targets of 'bootstrap' running in parallel could
7269 simultaneously write to subdirs.el, producing a garbled file.
7270
7271 2012-06-26 Sam Steingold <sds@gnu.org>
7272
7273 * files.el (file-name-base): New convenience function.
7274 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
7275 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
7276 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
7277 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
7278 * textmodes/ispell.el, textmodes/reftex-ref.el:
7279 * textmodes/tex-mode.el: Use it.
7280 Did not touch cedet and org because they are maintained elsewhere.
7281
7282 2012-06-26 Martin Rudalics <rudalics@gmx.at>
7283
7284 * calendar/calendar.el (calendar-exit): Don't try to delete or
7285 iconify last frame. See:
7286 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
7287
7288 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
7289
7290 * server.el (server-process-filter): Remember dir in the
7291 process's `server-client-directory' properties.
7292
7293 2012-06-24 Chong Yidong <cyd@gnu.org>
7294
7295 * xml.el (xml-parse-tag): Correctly handle comment embedded in
7296 non-tag text.
7297
7298 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
7299
7300 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
7301
7302 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
7303
7304 * help-fns.el (describe-variable): Don't croak when doc is not found.
7305 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
7306 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
7307 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
7308 * emacs-lisp/smie.el (smie-next-sexp): CSE.
7309 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
7310 ((lambda ..) ..).
7311 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
7312
7313 2012-06-23 Chong Yidong <cyd@gnu.org>
7314
7315 * info.el (Info-mouse-follow-link): Accept symbol values of
7316 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
7317 (Info-fontify-node): Use Info-link-keymap for all navigation
7318 buttons, with link-args property to perform the desired action.
7319 (Info-link-keymap): Doc fix.
7320 (Info-next-link-keymap, Info-prev-link-keymap)
7321 (Info-up-link-keymap): Delete now-unused keymaps.
7322
7323 2012-06-23 Chong Yidong <cyd@gnu.org>
7324
7325 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
7326
7327 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
7328 system abbrevs.
7329
7330 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
7331
7332 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
7333
7334 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
7335 (bug#11719).
7336
7337 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
7338 the requote function doesn't work properly (bug#11714).
7339
7340 2012-06-23 Glenn Morris <rgm@gnu.org>
7341
7342 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
7343
7344 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7345
7346 Further GV/CL cleanups.
7347 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
7348 gv-expander.
7349 (gv--defun-declaration): New function.
7350 (defun-declarations-alist): Use it.
7351 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
7352 (gv-place): Autoload.
7353 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
7354 original definition of dotimes and dolist.
7355 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
7356 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
7357 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
7358 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
7359 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
7360 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
7361 to the function's definition.
7362 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
7363 * window.el:
7364 * files.el:
7365 * faces.el:
7366 * env.el: Don't use CL.
7367
7368 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
7369
7370 Support higher-resolution time stamps (Bug#9000).
7371
7372 * calendar/time-date.el (with-decoded-time-value): New arg
7373 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
7374 (encode-time-value): New optional arg PICO. New type 3.
7375 (time-to-seconds) [!float-time]: Support the new picoseconds
7376 component if it's used.
7377 (seconds-to-time, time-subtract, time-add):
7378 Support ps-resolution time stamps as well.
7379
7380 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
7381 (timerp): Timer vectors now have length 9, not 8.
7382 (timer--time): Support new-style (4-part) time stamps.
7383 (timer-next-integral-multiple-of-time): Time stamps now have
7384 picosecond resolution, so take a bit more care about rounding.
7385 (timer-relative-time, timer-inc-time): New optional arg psecs.
7386 (timer-set-time-with-usecs): Set psecs to 0.
7387 (timer--activate): Check psecs component, too.
7388
7389 * proced.el (proced-time-lessp): Support ps-resolution stamps.
7390
7391 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7392
7393 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
7394 Move the non-essential binding to the post/pre-command-hook where it is
7395 more obviously correct.
7396
7397 * subr.el (read-passwd): Don't use a history at all.
7398 * savehist.el (savehist-save): Remove password saved accidentally
7399 because of the above bug.
7400
7401 2012-06-22 Bastien Guerry <bzg@gnu.org>
7402
7403 * files.el (toggle-read-only): Display a message telling whether
7404 the buffer is read-only or not (bug#11726).
7405
7406 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7407
7408 * emacs-lisp/gv.el: New file.
7409 * subr.el (push, pop): Extend to generalized variables.
7410 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
7411 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
7412 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
7413 gv-define-simple-setter, and gv-define-expander.
7414 Remove setf-methods defined in gv. Rename cl-setf -> setf.
7415 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
7416 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
7417 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
7418 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
7419 gv-letplace.
7420 (cl-defstruct): Don't define setf-method any more.
7421 * emacs-lisp/cl.el (flet): Don't autoload.
7422 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
7423 (define-setf-expander, defsetf, define-modify-macro)
7424 (cl-struct-setf-expander): Move from cl-lib.el.
7425 * emacs-lisp/syntax.el:
7426 * emacs-lisp/ewoc.el:
7427 * emacs-lisp/smie.el:
7428 * emacs-lisp/cconv.el:
7429 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
7430 (timer--time): Use gv-define-simple-setter.
7431 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
7432 to avoid coding-system problems in subr.el. Adjust all users.
7433 (macroexp--maxsize, macroexp-small-p): New functions.
7434 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
7435 * scroll-bar.el (scroll-bar-mode):
7436 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
7437 (normal-erase-is-backspace-mode): Don't use the `eq' place.
7438 * winner.el (winner-configuration, winner-make-point-alist)
7439 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
7440 * files.el (locate-file-completion-table): Avoid list*.
7441
7442 2012-06-22 Chong Yidong <cyd@gnu.org>
7443
7444 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
7445 (dired-create-files): Doc fix (Bug#11329).
7446 (dired-do-copy): Doc fix (Bug#11334).
7447 (dired-mark-read-string): Doc fix (Bug#11553).
7448
7449 * dired.el (dired-recursive-copies, dired-recursive-deletes):
7450 Doc fix (Bug#11326).
7451 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
7452 (dired-dwim-target): Doc fix.
7453
7454 * wdired.el (wdired-mode): Doc fix.
7455
7456 2012-06-22 Glenn Morris <rgm@gnu.org>
7457
7458 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
7459 (pcmpl-rpm-cache-stamp-file): New constant.
7460 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
7461 (pcmpl-rpm-packages): Optionally cache list of packages.
7462
7463 * pcmpl-rpm.el (pcmpl-rpm): New group.
7464 (pcmpl-rpm-query-options): New option.
7465 (pcmpl-rpm-packages): No need to inline it.
7466 Use pcmpl-rpm-query-options.
7467
7468 * calendar/calendar.el (calendar-in-read-only-buffer):
7469 Avoid some needless mode changes.
7470
7471 2012-06-21 Chong Yidong <cyd@gnu.org>
7472
7473 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
7474 (desktop-path): Remove . from the default value (Bug#10977).
7475 (desktop-read): Use user-emacs-directory if desktop-path is nil.
7476
7477 2012-06-20 Chong Yidong <cyd@gnu.org>
7478
7479 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
7480
7481 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
7482
7483 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
7484 (bug#11201).
7485
7486 2012-06-20 Chong Yidong <cyd@gnu.org>
7487
7488 * term.el (term-window-width): Handle the case of a missing right
7489 fringe (Bug#8837).
7490 (term-check-size): Use window-text-height (Bug#5445).
7491 (term-mode): Use define-derived-mode. Minor cleanups.
7492 Set font-lock-defaults (Bug#7692).
7493 (term-move-columns, term-insert-char, term-emulate-terminal)
7494 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
7495
7496 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
7497
7498 * net/ange-ftp.el (ange-ftp-get-passwd):
7499 Bind `enable-recursive-minibuffers'.
7500 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
7501
7502 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
7503
7504 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
7505
7506 2012-06-19 Glenn Morris <rgm@gnu.org>
7507
7508 * progmodes/python.el (python-mode): Derive from prog-mode.
7509
7510 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
7511
7512 * emulation/edt.el (edt-default-menu-bar-update-buffers)
7513 (edt-user-menu-bar-update-buffers): New functions.
7514 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
7515
7516 2012-06-19 Chong Yidong <cyd@gnu.org>
7517
7518 * subr.el (with-selected-window): Preserve the selected window's
7519 terminal's top-frame (Bug#4702).
7520
7521 * window.el (save-selected-window): Likewise.
7522
7523 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7524
7525 * progmodes/python.el (python-rx-constituents): Move backquote.
7526 (python-skeleton-define, python-define-auxiliary-skeleton):
7527 Use `declare'.
7528
7529 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
7530
7531 * minibuffer.el (read-file-name-default): Revert the patch from
7532 2012-06-17.
7533
7534 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7535
7536 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
7537 (pcase--u1, pcase--q1): Don't use apply-partially.
7538
7539 2012-06-18 Glenn Morris <rgm@gnu.org>
7540
7541 * progmodes/python.el (python-proc, python-buffer)
7542 (python-send-receive, python-send-string): Fix obsolete versions.
7543
7544 2012-06-18 Martin Rudalics <rudalics@gmx.at>
7545
7546 * window.el (special-display-p): Completely remove stringp
7547 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
7548
7549 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
7550
7551 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
7552
7553 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
7554
7555 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
7556 * net/tramp-sh.el (tramp-maybe-open-connection):
7557 Throw if `non-essential' is non-nil.
7558
7559 2012-06-17 Martin Rudalics <rudalics@gmx.at>
7560
7561 * window.el (special-display-p): Signal an error if BUFFER-NAME
7562 is not a string (Bug#11713).
7563
7564 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
7565
7566 * progmodes/python.el (python-info-beginning-of-backslash):
7567 Rename from python-info-beginning-of-backlash, as a spelling fix.
7568
7569 2012-06-17 Chong Yidong <cyd@gnu.org>
7570
7571 * term.el (term-emulate-terminal): If term-check-size is called,
7572 move point to the process mark without resetting point (Bug#4635).
7573
7574 2012-06-17 Glenn Morris <rgm@gnu.org>
7575
7576 * international/mule-cmds.el (mule-menu-keymap)
7577 (set-language-environment, set-locale-environment): Doc tweaks.
7578
7579 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
7580
7581 * cus-face.el (custom-face-attributes): Add wave-style underline
7582 attribute.
7583 * faces.el (set-face-attribute): Update docstring to describe
7584 wave-style underline attribute.
7585
7586 2012-06-16 Chong Yidong <cyd@gnu.org>
7587
7588 * term/xterm.el (terminal-init-xterm): Discard input before
7589 querying background mode (Bug#10959).
7590
7591 2012-06-16 Stefan Merten <smerten@oekonux.de>
7592
7593 * textmodes/rst.el: Added and corrected some comments.
7594 (rst-re-alist-def): Improve symbol syntax.
7595 (rst-mode-syntax-table): Correct syntax entries.
7596 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
7597 (rst-official-version, rst-official-cvs-rev): Update version
7598 information.
7599
7600 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
7601
7602 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
7603 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
7604
7605 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
7606
7607 * progmodes/python.el: New python.el merge.
7608 (python-guess-indent): Obsolete var.
7609 (python-indent-guess-indent-offset): New defcustom.
7610 (python-indent): Obsolete var.
7611 (python-indent-offset): New defcustom.
7612 (python-python-command, python-jython-command): Delete var.
7613 (python-shell-interpreter): New defcustom.
7614 (python-pdbtrack-do-tracking-p): Delete var.
7615 (python-pdbtrack-activate): New defcustom.
7616 (python-use-skeletons): Obsolete var.
7617 (python-skeleton-autoinsert): New defcustom.
7618 (inferior-python-filter-regexp, python-continuation-offset)
7619 (python-honour-comment-indentation, python-indent-string-contents)
7620 (python-jython-packages, python-mode-hook)
7621 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
7622 (python-shell-prompt-alist)
7623 (python-source-modes): Delete defcustoms.
7624 (python-check-buffer-name, python-eldoc-setup-code)
7625 (python-eldoc-string-code, python-ffap-setup-code)
7626 (python-ffap-string-code, python-fill-comment-function)
7627 (python-fill-decorator-function, python-fill-paren-function)
7628 (python-fill-string-function, python-imenu-include-defun-type)
7629 (python-imenu-make-tree, python-imenu-subtree-root-label)
7630 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
7631 (python-shell-compilation-regexp-alist)
7632 (python-shell-completion-module-string-code)
7633 (python-shell-completion-pdb-string-code)
7634 (python-shell-completion-setup-code)
7635 (python-shell-completion-string-code)
7636 (python-shell-enable-font-lock, python-shell-exec-path)
7637 (python-shell-extra-pythonpaths)
7638 (python-shell-internal-buffer-name, python-shell-interpreter-args)
7639 (python-shell-process-environment)
7640 (python-shell-prompt-block-regexp)
7641 (python-shell-prompt-output-regexp)
7642 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
7643 (python-shell-send-setup-max-wait, python-shell-setup-codes)
7644 (python-shell-virtualenv-path): New defcustoms.
7645 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
7646 (inferior-python-mode-syntax-table, python--prompt-regexp)
7647 (python-buffer, python-command python-python-command)
7648 (python-default-template, python-imports, python-indent-index)
7649 (python-indent-list, python-indent-list-length)
7650 (python-mode-running, python-pdbtrack-is-tracking-p)
7651 (python-preoutput-continuation, python-preoutput-leftover)
7652 (python-preoutput-result, python-preoutput-skip-next-prompt)
7653 (python-prev-dir/file, python-recursing)
7654 (python-saved-check-command, python-version-checked)
7655 (python-which-func-length-limit)
7656 (view-return-to-alist): Delete vars.
7657 (python-check-custom-command, python-dotty-syntax-table)
7658 (python-imenu-index-alist, python-indent-current-level)
7659 (python-indent-dedenters, python-indent-levels)
7660 (python-nav-beginning-of-defun-regexp)
7661 (python-nav-list-defun-positions-cache)
7662 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
7663 (python-shell-internal-buffer)
7664 (python-skeleton-available): New vars.
7665 (def-python-skeleton): Delete macro.
7666 (python-skeleton-define): New macro.
7667 (python-define-auxiliary-skeleton, python-rx): New macros.
7668 (python-insert-class): Delete command.
7669 (python-skeleton-class): New command.
7670 (python-insert-def): Delete command.
7671 (python-skeleton-def): New command.
7672 (python-insert-for): Delete command.
7673 (python-skeleton-for): New command.
7674 (python-insert-if): Delete command.
7675 (python-skeleton-if): New command.
7676 (python-insert-try/except, python-insert-try/finally): Delete commands.
7677 (python-skeleton-try): New command.
7678 (python-insert-while): Delete command.
7679 (python-skeleton-while): New command.
7680 (python-backspace): Delete command.
7681 (python-indent-dedent-line-backspace): New command.
7682 (python-electric-colon): Delete command.
7683 (python-indent-electric-colon): New command.
7684 (python-guess-indent): Delete command.
7685 (python-indent-guess-indent-offset): New command.
7686 (python-shift-left): Delete command.
7687 (python-indent-shift-left): New command.
7688 (python-shift-right): Delete command.
7689 (python-indent-shift-right): New command.
7690 (python-find-function): Delete command.
7691 (python-nav-jump-to-defun): New command.
7692 (python-next-statement): Delete command.
7693 (python-nav-forward-sentence): New command.
7694 (python-previous-statement): Delete command.
7695 (python-nav-backward-sentence): New command.
7696 (python-fill-paragraph): Delete command.
7697 (python-fill-paragraph-function): New command.
7698 (python-send-buffer): Delete command.
7699 (python-shell-send-buffer): New command.
7700 (python-send-defun): Delete command.
7701 (python-shell-send-defun): New command.
7702 (python-send-region, python-send-region-and-go): Delete commands.
7703 (python-shell-send-region)
7704 (python-shell-switch-to-shell): New commands.
7705 (python-send-string): Delete command.
7706 (python-shell-send-string): New command.
7707 (python-switch-to-python): Delete command.
7708 (python-shell-switch-to-shell): New command.
7709 (python-describe-symbol): Delete command.
7710 (python-eldoc-at-point): New command.
7711 (python--set-prompt-regexp, python-args-to-list)
7712 (python-after-info-look, python-check-version)
7713 (python-check-comint-prompt, python-find-imports)
7714 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
7715 (python-unload-function, python-expand-template)
7716 (python-maybe-jython, python-preoutput-filter)
7717 (python-pdbtrack-get-source-buffer)
7718 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
7719 (python-pdbtrack-toggle-stack-tracking)
7720 (python-pdbtrack-track-stack-file, python-initial-text)
7721 (python-first-word, python-comment-line-p, python-send-command)
7722 (python-setup-brm, python-sentinel, python-set-proc)
7723 (python-skip-out, python-input-filter, python-outdent-p)
7724 (python-outline-level, python-backslash-continuation-line-p)
7725 (python-end-of-block, python-end-of-statement, python-mark-block)
7726 (python-beginning-of-block, python-beginning-of-statement)
7727 (python-blank-line-p, python-beginning-of-string)
7728 (python-open-block-statement-p): Delete functions.
7729 (python-indent-line, python-indent-line-1): Delete functions.
7730 (python-indent-line): New function.
7731 (python-indentation-levels): Delete function.
7732 (python-indent-calculate-levels): New function.
7733 (python-proc): Delete function.
7734 (python-shell-get-process): New function.
7735 (python-send-receive): Delete function.
7736 (python-shell-send-string-no-output): New function.
7737 (python-module-path): Delete function.
7738 (python-ffap-module-path): New function.
7739 (python-completion-at-point)
7740 (python-symbol-completions): Delete functions.
7741 (python-completion-complete-at-point): New function.
7742 (python-load-file): Delete function.
7743 (python-shell-send-file): New function.
7744 (python-calculate-indentation): Delete function.
7745 (python-indent-calculate-indentation): New function.
7746 (python-skip-comments/blanks): Delete function.
7747 (python-util-forward-comment): New function.
7748 (python-continuation-line-p): Delete function.
7749 (python-info-continuation-line-p): New function.
7750 (python-which-func, python-current-defun): Delete function.
7751 (python-info-current-defun): New function.
7752 (python-beginning-of-defun): Delete function.
7753 (python-nav-beginning-of-defun): New function.
7754 (python-close-block-statement-p)
7755 (python-block-end-p): Delete function.
7756 (python-info-closing-block): New function.
7757 (python-comint-output-filter-function)
7758 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
7759 (python-fill-comment, python-fill-decorator, python-fill-paren)
7760 (python-fill-string, python-imenu-make-element-tree)
7761 (python-imenu-make-tree, python-imenu-tree-assoc)
7762 (python-indent-context, python-indent-dedent-line)
7763 (python-indent-line-function)
7764 (python-indent-post-self-insert-function)
7765 (python-indent-toggle-levels)
7766 (python-info-assignment-continuation-line-p)
7767 (python-info-beginning-of-backlash)
7768 (python-info-block-continuation-line-p)
7769 (python-info-closing-block-message)
7770 (python-info-line-ends-backslash-p)
7771 (python-info-looking-at-beginning-of-defun)
7772 (python-info-ppss-context, python-info-ppss-context-type)
7773 (python-nav-list-defun-positions, python-nav-read-defun)
7774 (python-nav-sentence-end, python-nav-sentence-start)
7775 (python-pdbtrack-comint-output-filter-function)
7776 (python-pdbtrack-set-tracked-buffer)
7777 (python-shell-calculate-exec-path)
7778 (python-shell-calculate-process-environment)
7779 (python-shell-completion--do-completion-at-point)
7780 (python-shell-completion--get-completions)
7781 (python-shell-completion-complete-at-point)
7782 (python-shell-completion-complete-or-indent)
7783 (python-shell-get-or-create-process)
7784 (python-shell-get-process-name)
7785 (python-shell-internal-get-or-create-process)
7786 (python-shell-internal-get-process-name)
7787 (python-shell-internal-send-string, python-shell-make-comint)
7788 (python-shell-parse-command, python-shell-send-setup-code)
7789 (python-skeleton-add-menu-items)
7790 (python-util-clone-local-variables, python-util-position)
7791 (run-python-internal, python-indentation-levels)
7792 (python-nav-beginning-of-defun)
7793 (python-completion-complete-at-point): New functions.
7794 (run-python): Change arguments. New API requirements.
7795
7796 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7797
7798 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
7799 (bug#11649).
7800
7801 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
7802 (macroexp--expand-all): Use it.
7803
7804 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
7805 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
7806 Use `cl-function' instead.
7807
7808 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
7809
7810 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
7811 Suggested by Stefan Monnier while discussing bug#11657.
7812
7813 2012-06-14 Sam Steingold <sds@gnu.org>
7814
7815 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
7816
7817 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
7818
7819 * play/doctor.el (doctor-doc): Remove parameter and use
7820 doctor-sent instead of sent.
7821 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
7822
7823 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7824
7825 * files.el: Require cl-lib.
7826 (file-name-non-special): Replace case -> cl-case.
7827
7828 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
7829
7830 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
7831 mapping from #' to function*.
7832
7833 2012-06-13 Chong Yidong <cyd@gnu.org>
7834
7835 * mouse.el (mouse-drag-track): Do not set the mark if the user
7836 releases the mouse without selecting anything (Bug#11588).
7837
7838 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7839
7840 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
7841 as well (bug#11646).
7842
7843 * loadup.el: Count byte-code functions as well.
7844
7845 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
7846 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
7847
7848 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
7849 (bug#11649). Add cl-defun and cl-defmacro.
7850
7851 2012-06-13 Drew Adams <drew.adams@oracle.com>
7852
7853 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
7854 Fix last change.
7855
7856 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
7857
7858 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
7859 Otherwise, it blocks in batch mode.
7860
7861 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
7862
7863 * help-mode.el (bookmark-make-record-default): Declare.
7864
7865 2012-06-13 Chong Yidong <cyd@gnu.org>
7866
7867 * emacs-lisp/package.el (list-packages): Compute a list of
7868 packages that are newly-available since the last list-packages
7869 invocation.
7870 (package-menu--new-package-list): New var.
7871 (package-menu--generate, package-menu--print-info)
7872 (package-menu--status-predicate, package-menu-mark-install):
7873 Handle new status label "new".
7874
7875 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7876
7877 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
7878 conversion to backquotes.
7879
7880 2012-06-12 Chong Yidong <cyd@gnu.org>
7881
7882 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
7883 Rename from gud-inhibit-global-bindings.
7884
7885 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
7886
7887 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
7888 hook from nxml-glyph-set-hook.
7889
7890 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
7891 declaration.
7892
7893 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
7894
7895 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
7896 Convert to defcustom.
7897
7898 2012-06-12 Drew Adams <drew.adams@oracle.com>
7899
7900 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
7901 New functions.
7902 (help-mode): Use them.
7903
7904 2012-06-11 Glenn Morris <rgm@gnu.org>
7905
7906 * progmodes/fortran.el (fortran-font-lock-keywords-3):
7907 Use preprocessor face for directives.
7908 (fortran-directive-re): Doc fix.
7909
7910 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7911
7912 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
7913 conversion to backquotes (bug#11652).
7914
7915 Fix compiler-expansion of CL's cXXr functions (bug#11673).
7916 * emacs-lisp/cl-lib.el (cl--defalias): New function.
7917 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
7918 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
7919 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
7920 (cl-ninth, cl-tenth): Mark them as inlinable.
7921 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
7922 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
7923 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
7924 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
7925 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
7926 (cl-list*, cl-adjoin): Don't put an autoload manually.
7927 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
7928 (cl--compiler-macro-list*): Add autoload cookie.
7929 (cl--compiler-macro-cXXr): New function.
7930
7931 * help-fns.el (help-fns--compiler-macro): New function extracted from
7932 describe-function-1; follow aliases and use `compiler-macro' property.
7933 (describe-function-1): Use it.
7934
7935 2012-06-11 Chong Yidong <cyd@gnu.org>
7936
7937 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
7938 is uninstalled, if imagemagick is installed.
7939
7940 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7941
7942 * emacs-lisp/cl-lib.el: Use lexical-binding.
7943 (cl-map-extents, cl-maclisp-member): Remove.
7944 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
7945 (cl--set-substring, cl--block-wrapper, cl--block-throw)
7946 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
7947 * emacs-lisp/cl-extra.el: Use lexical-binding.
7948 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
7949 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
7950 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
7951 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
7952 * emacs-lisp/cl-seq.el: Use lexical-binding.
7953 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
7954 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
7955 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
7956 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
7957 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
7958 CL's internals.
7959
7960 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
7961
7962 Sync with Tramp 2.2.6-pre.
7963
7964 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
7965 `print-length' and `print-level' to nil, in order to avoid
7966 truncation. Reported by Christopher Schmidt
7967 <christopher@ristopher.com>.
7968
7969 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
7970
7971 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
7972 New defmacro.
7973 (tramp-compat-copy-directory): Add optional argument
7974 COPY-CONTENTS. It is not handled yet.
7975
7976 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
7977 (tramp-ftp-file-name-p): Simplify.
7978
7979 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
7980 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
7981 connection vector.
7982
7983 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
7984 (tramp-methods): Do not use `tramp-password-end-of-line'.
7985 (tramp-completion-function-alist-putty): Handle UNIX case.
7986 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
7987 (tramp-do-file-attributes-with-stat)
7988 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
7989 gid as real numbers. They could run out of integer range on cygwin.
7990 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
7991 (tramp-sh-handle-expand-file-name): Handle hops.
7992 (tramp-open-connection-setup-interactive-shell):
7993 Use `tramp-cleanup'. Move check for busyboxes ...
7994 (tramp-find-shell): ... here. Simplify implementation.
7995 Set "remote-shell" property also for alternative shells.
7996 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
7997 If failing, a regular file would be written otherwise.
7998 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
7999 (tramp-find-inline-encoding): Cache the coding commands in the
8000 process cache. Apply test command on the remote side, if defined.
8001 (tramp-find-inline-compress): Cache the compress commands in the
8002 process cache.
8003 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
8004 when requested. Handle hops.
8005 (tramp-current-connection): New defvar.
8006 (tramp-maybe-open-connection): Use `tramp-cleanup'.
8007 Throw `suppress', if there was a failed connection shortly before.
8008 Handle user interrupt. (Bug#10187)
8009 (tramp-get-inline-compress, tramp-get-inline-coding):
8010 Read connection properties from the process cache.
8011
8012 * net/tramp-smb.el (tramp-smb-server-version)
8013 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
8014 New defconsts.
8015 (tramp-smb-prompt): Extend for powershell prompt.
8016 (tramp-smb-file-name-handler-alist): Add handlers for
8017 `process-file', `shell-command' and `start-file-process'.
8018 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
8019 (tramp-smb-winexe-shell-command-switch): New defcustoms.
8020 (tramp-smb-file-name-p): Simplify.
8021 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
8022 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
8023 (tramp-smb-shell-quote-argument): New defuns.
8024 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
8025 Implement using "tar". By this, time-stamps are preserved.
8026 (tramp-smb-handle-copy-file): Handle also the case of directories.
8027 (tramp-smb-do-file-attributes-with-stat)
8028 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
8029 Use `tramp-get-connection-buffer').
8030 (tramp-smb-handle-rename-file): Use "rename", when source and
8031 target are on the same share.
8032 (tramp-smb-maybe-open-connection): Handle wrong passwords.
8033 Use `tramp-smb-server-version'.
8034 (tramp-smb-wait-for-output): Remove prompt.
8035
8036 * net/tramp.el (top): Require 'cl.
8037 (tramp-methods, tramp-rsh-end-of-line):
8038 Remove `tramp-password-end-of-line' from docstring.
8039 (tramp-save-ad-hoc-proxies): New defcustom.
8040 (tramp-completion-function-alist): Adapt docstring.
8041 (tramp-default-password-end-of-line): Remove defcustom.
8042 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
8043 (tramp-user-regexp, tramp-file-name-regexp-unified)
8044 (tramp-file-name-regexp-url): Extend regexp by hop separator.
8045 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
8046 (tramp-remote-file-name-spec-regexp): New defconst.
8047 (tramp-file-name-structure): Extend structure for hops.
8048 (tramp-get-method-parameter): Move up.
8049 (tramp-file-name-p, tramp-dissect-file-name)
8050 (with-parsed-tramp-file-name): Handle hops.
8051 (tramp-file-name-hop): New defun.
8052 (tramp-make-tramp-file-name): New optional arg HOP.
8053 (tramp-message-show-progress-reporter-message): New defvar.
8054 (tramp-with-progress-reporter): Use it. We cannot use
8055 `tramp-message-show-message' here, because this suppresses also
8056 error buffers.
8057 (tramp-error-with-buffer): Suppress buffer view, if
8058 `tramp-message-show-message' is nil.
8059 Use `tramp-get-connection-buffer'.
8060 (tramp-cleanup): New defun.
8061 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
8062 (tramp-file-name-handler): If `debug-on-error' is set, propagate
8063 an error unchanged.
8064 (tramp-completion-handle-file-name-all-completions): Handle hops.
8065 Fix an error when called from ido.
8066 (tramp-completion-dissect-file-name): Use better local variable
8067 name. Add hop to the vector.
8068 (tramp-handle-insert-file-contents): Use progress-reporter for the
8069 whole scenario.
8070 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
8071 to `t'.
8072 (tramp-check-for-regexp): Simplify search.
8073 (tramp-enter-password): Remove it. Move implementation ...
8074 (tramp-action-password): ... here.
8075 (tramp-mode-string-to-int, tramp-local-host-p)
8076 (tramp-make-tramp-temp-file, tramp-read-passwd)
8077 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
8078 Set tramp-autoload cookie.
8079
8080 * net/trampver.el: Update release number.
8081
8082 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8083 Michael Albinus <michael.albinus@gmx.de>
8084
8085 * net/tramp.el (tramp-set-completion-function): Fix docstring.
8086 (tramp-parse-group, tramp-parse-file)
8087 (tramp-parse-shostkeys-sknownhosts): New defuns.
8088 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
8089 (tramp-parse-shosts-group, tramp-parse-sconfig)
8090 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
8091 (tramp-parse-sknownhosts, tramp-parse-hosts)
8092 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
8093 Use them.
8094 (tramp-parse-passwd-group, tramp-parse-netrc-group)
8095 (tramp-parse-putty-group): Don't narrow.
8096 (tramp-parse-putty): Make a loop.
8097 (tramp-file-name-handler): Catch the `suppress' signal.
8098
8099 2012-06-11 Chong Yidong <cyd@gnu.org>
8100
8101 * image.el (imagemagick-register-types): Put the ImageMagick entry
8102 at the end of image-type-file-name-regexps.
8103
8104 2012-06-11 Johan Bockgård <bojohan@gnu.org>
8105
8106 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
8107 (pcase, pcase-let*, pcase-dolist): Use them.
8108
8109 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8110
8111 * emacs-lisp/pcase.el (pcase--let*): New function.
8112 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
8113 (pcase--expand): Use macroexp-let².
8114
8115 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
8116
8117 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
8118 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
8119 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
8120 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
8121 * emacs-lisp/derived.el: Use pcase instead of `cl'.
8122 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
8123
8124 2012-06-10 Glenn Morris <rgm@gnu.org>
8125
8126 * mail/rmail.el (rmail-yank-current-message): Leave point at
8127 correct position. (Bug#11660)
8128
8129 2012-06-10 Chong Yidong <cyd@gnu.org>
8130
8131 * allout-widgets.el: Fix code header.
8132
8133 2012-06-10 Chong Yidong <cyd@gnu.org>
8134
8135 * cus-edit.el (customize-changed-options-previous-release):
8136 Bump to 24.1.
8137
8138 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
8139
8140 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
8141
8142 2012-06-09 Chong Yidong <cyd@gnu.org>
8143
8144 * ebuff-menu.el (electric-buffer-list): Preserve header line.
8145
8146 2012-06-09 Martin Rudalics <rudalics@gmx.at>
8147
8148 * window.el (special-display-popup-frame): Don't use
8149 window--display-buffer (Bug#11651).
8150
8151 2012-06-09 Eli Zaretskii <eliz@gnu.org>
8152
8153 Fix parallel builds: make sure loaddefs.el is not being written
8154 while Lisp files are compiled.
8155 (compile): Don't depend on 'mh-autoloads'.
8156 (compile-CMD, compile-SH): Depend on 'autoloads'.
8157 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
8158
8159 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
8160
8161 2012-06-09 Chong Yidong <cyd@gnu.org>
8162
8163 * face-remap.el (face-remap-add-relative, face-remap-set-base)
8164 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
8165 Doc fixes (Bug#11225).
8166
8167 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
8168
8169 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
8170 a function if there's a clear indication that it has a compiler-macro.
8171 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
8172 (macro-declarations-alist): Add arglist to declaration functions.
8173 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
8174 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
8175 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
8176 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
8177 Also add autoload to find the compiler macro.
8178 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
8179 (cl--compiler-macro-member, cl--compiler-macro-assoc)
8180 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
8181 (cl--compiler-macro-get): New functions, replacing calls to
8182 cl-define-compiler-macro.
8183 (cl-typep) [compiler-macro]: Use macroexp-let².
8184
8185 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
8186
8187 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
8188 string properly, fixes Bug#11473.
8189
8190 2012-06-08 Chong Yidong <cyd@gnu.org>
8191
8192 * faces.el (set-face-attribute): Doc fix.
8193 (modify-face): Don't use :bold and :italic.
8194 (error, warning, success): Tweak definitions.
8195
8196 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
8197 (custom-modified, custom-set, custom-changed, custom-themed)
8198 (custom-saved, custom-button, custom-button-mouse)
8199 (custom-button-pressed, custom-state, custom-comment-tag)
8200 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
8201 (custom-group-subtitle): Use new-style face specs.
8202 (custom-invalid-face, custom-rogue-face, custom-modified-face)
8203 (custom-set-face, custom-changed-face, custom-saved-face)
8204 (custom-button-face, custom-button-pressed-face)
8205 (custom-documentation-face, custom-state-face)
8206 (custom-comment-face, custom-comment-tag-face)
8207 (custom-variable-tag-face, custom-variable-button-face)
8208 (custom-face-tag-face, custom-group-tag-face-1)
8209 (custom-group-tag-face): Remove obsolete face alias.
8210
8211 * epa.el (epa-validity-high, epa-validity-medium)
8212 (epa-validity-low, epa-mark, epa-field-name, epa-string)
8213 (epa-field-name, epa-field-body):
8214 * font-lock.el (font-lock-comment-face, font-lock-string-face)
8215 (font-lock-keyword-face, font-lock-builtin-face)
8216 (font-lock-function-name-face, font-lock-variable-name-face)
8217 (font-lock-type-face, font-lock-constant-face):
8218 * ido.el (ido-first-match, ido-only-match, ido-subdir)
8219 (ido-virtual, ido-indicator, ido-incomplete-regexp):
8220 * speedbar.el (speedbar-button-face, speedbar-file-face)
8221 (speedbar-directory-face, speedbar-tag-face)
8222 (speedbar-selected-face, speedbar-highlight-face)
8223 (speedbar-separator-face):
8224 * whitespace.el (whitespace-newline, whitespace-space)
8225 (whitespace-hspace, whitespace-tab, whitespace-trailing)
8226 (whitespace-line, whitespace-space-before-tab)
8227 (whitespace-space-after-tab, whitespace-indentation)
8228 (whitespace-empty):
8229 * emulation/cua-base.el (cua-global-mark):
8230 * eshell/em-prompt.el (eshell-prompt):
8231 * net/newst-plainview.el (newsticker-new-item-face)
8232 (newsticker-old-item-face, newsticker-immortal-item-face)
8233 (newsticker-obsolete-item-face, newsticker-date-face)
8234 (newsticker-statistics-face, newsticker-default-face):
8235 * net/newst-reader.el (newsticker-feed-face)
8236 (newsticker-extra-face, newsticker-enclosure-face):
8237 * net/newst-treeview.el (newsticker-treeview-face)
8238 (newsticker-treeview-new-face, newsticker-treeview-old-face)
8239 (newsticker-treeview-immortal-face)
8240 (newsticker-treeview-obsolete-face)
8241 (newsticker-treeview-selection-face):
8242 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
8243 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
8244 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
8245 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
8246 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
8247 (nxml-outline-active-indicator, nxml-outline-ellipsis):
8248 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
8249 (mpuz-text):
8250 * progmodes/vera-mode.el (vera-font-lock-number)
8251 (vera-font-lock-function, vera-font-lock-interface):
8252 * textmodes/table.el (table-cell): Use new-style face specs, and
8253 don't use the old :bold and :italic attributes.
8254
8255 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
8256 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
8257 (ebrowse-member-class, ebrowse-progress): Likewise.
8258 (ebrowse-tree-mark-face, ebrowse-root-class-face)
8259 (ebrowse-file-name-face, ebrowse-default-face)
8260 (ebrowse-member-attribute-face, ebrowse-member-class-face)
8261 (ebrowse-progress-face): Remove obsolete faces.
8262
8263 * progmodes/flymake.el (flymake-errline, flymake-warnline):
8264 Inherit from error and warning faces respectively.
8265
8266 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
8267 Likewise.
8268 (flyspell-incorrect-face, flyspell-duplicate-face):
8269 Remove obsolete aliases.
8270
8271 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
8272
8273 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
8274 Avoid infloop.
8275
8276 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
8277
8278 * startup.el (argv, argi): Make lexically scoped.
8279 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
8280 * emacs-lisp/cl-macs.el: Use lexical-binding.
8281 Rename cl-bind-* to cl--bind-*.
8282 * files.el: Don't require `cl' since it doesn't use it.
8283 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
8284
8285 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
8286
8287 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
8288 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
8289 instead of calling external sort utility.
8290 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
8291
8292 2012-06-08 Eli Zaretskii <eliz@gnu.org>
8293
8294 * descr-text.el (describe-char): Mention how to insert the
8295 character, if the current input method doesn't support it.
8296 See the discussion in this thread for the details:
8297 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
8298
8299 2012-06-08 Sam Steingold <sds@gnu.org>
8300
8301 * bindings.el (global-map): Bind XF86Forward to next-buffer and
8302 XF86Back to previous-buffer.
8303 (minibuffer-local-map): Bind them to next-history-element and
8304 previous-history-element respectively.
8305 * help-mode.el (help-mode-map): Bind them to help-go-forward and
8306 help-go-back respectively.
8307 * info.el (Info-mode-map): Bind them to Info-history-forward and
8308 Info-history-back respectively.
8309 These are the keys next to Up on the ThinkPad keyboard.
8310
8311 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
8312
8313 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
8314 * emacs-lisp/cl-macs.el: Provide itself.
8315 (cl--labels-convert-cache): New var.
8316 (cl--labels-convert): New function.
8317 (cl-flet, cl-labels): New implementation with new semantics, relying on
8318 lexical-binding.
8319 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
8320 (cl-closure-vars, cl--function-convert-cache)
8321 (cl--function-convert): Move from cl-macs.el.
8322 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
8323 rename by removing the "cl-" prefix.
8324 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
8325
8326 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8327
8328 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
8329 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
8330 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
8331 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
8332 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
8333 (cl-hash-table-count): Add old compatibility aliases.
8334
8335 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
8336 Use macroexpand-all-environment instead.
8337 (cl--old-macroexpand): New var.
8338 (cl--sm-macroexpand): New function.
8339 (cl-symbol-macrolet): Use it during macro expansion.
8340 (cl--function-convert-cache): New var.
8341 (cl--function-convert): New function, extracted from
8342 cl-macroexpand-all.
8343 (cl-lexical-let): Use it.
8344
8345 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
8346 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
8347 (cl-member): Remove old alias.
8348
8349 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
8350 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
8351 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
8352 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
8353 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
8354 (cl-macroexpand-cmacs): Remove var.
8355 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
8356 Use macroexpand-all instead.
8357
8358 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8359
8360 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
8361 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
8362 (macroexp-copyable-p): New functions and macros.
8363 * emacs-lisp/edebug.el (edebug-unwrap):
8364 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
8365 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
8366 (pcase--let*): Remove.
8367 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
8368 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
8369 macroexp-const-p instead.
8370 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
8371
8372 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
8373 instead of "cl-" for internal definitions. Use macroexp-const-p.
8374 (cl-old-bc-file-form): Remove var.
8375 (cl-const-exprs-p): Remove fun.
8376 (cl-labels, cl-macrolet): Use backquote.
8377 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
8378 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
8379 (cl-define-setf-expander): Rename from cl-define-setf-method.
8380 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
8381
8382 * international/mule-cmds.el: Don't require CL.
8383 (view-hello-file): Don't use `letf'.
8384
8385 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8386
8387 * tmm.el (tmm-prompt): Use string-prefix-p.
8388 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
8389 (tmm-add-prompt): Use minibuffer-completion-help.
8390 (tmm-delete-map): Remove.
8391
8392 * subr.el (kbd): Make it its own function.
8393
8394 2012-06-07 Stefan Merten <smerten@oekonux.de>
8395
8396 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
8397 Silence compiler warnings. Fix versions.
8398 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
8399 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
8400 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
8401 (rst-package-emacs-version-alist): Correct Emacs version to
8402 represent major merge with upstream.
8403 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
8404
8405 2012-06-06 Glenn Morris <rgm@gnu.org>
8406
8407 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
8408 Only print environment variables if set.
8409
8410 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
8411
8412 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
8413 (macroexp--cons): Rename from maybe-cons.
8414 (macroexp--accumulate): Rename from macroexp-accumulate.
8415 (macroexp--all-forms): Rename from macroexpand-all-forms.
8416 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
8417 (macroexp--expand-all): Rename from macroexpand-all-1.
8418
8419 2012-06-06 Sam Steingold <sds@gnu.org>
8420
8421 * calendar/calendar.el (calendar-in-read-only-buffer):
8422 Call `special-mode' to enable the standard read-only keybindings.
8423
8424 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
8425
8426 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
8427 with "loading" messages (bug#11635).
8428
8429 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
8430
8431 * files.el (enable-remote-dir-locals): New option.
8432 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
8433
8434 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
8435 Ensure, that the temp directory is local.
8436
8437 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
8438 `temporary-file-directory'.
8439
8440 * progmodes/python.el (python-send-region): Ensure, that the
8441 temporary file is created also in the remote case.
8442
8443 2012-06-06 Glenn Morris <rgm@gnu.org>
8444
8445 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
8446 (vc-rcs-update-changelog): Use it.
8447
8448 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
8449
8450 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
8451 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
8452 (vc-sccs-diff): Replace use of the external vcdiff script.
8453
8454 2012-06-05 Glenn Morris <rgm@gnu.org>
8455
8456 * ledit.el: Move to obsolete/.
8457
8458 2012-06-05 Sam Steingold <sds@gnu.org>
8459
8460 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
8461 patch (Bug#11140).
8462
8463 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8464
8465 * emacs-lisp/cust-print.el: Move to obsolete.
8466
8467 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
8468 compiler-macro expansion.
8469
8470 Add native compiler-macro support.
8471 * emacs-lisp/macroexp.el (macroexpand-all-1):
8472 Support compiler-macros directly. Properly follow aliases and apply
8473 the compiler macros more thoroughly.
8474 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
8475 macroexpand now properly follows aliases.
8476 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
8477 (cl-compiler-macroexpand): Use new prop.
8478 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
8479
8480 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
8481
8482 2012-06-05 Martin Rudalics <rudalics@gmx.at>
8483
8484 * window.el (get-lru-window, get-mru-window, get-largest-window):
8485 New argument NOT-SELECTED to avoid picking the selected window.
8486 (window--display-buffer-1, window--display-buffer-2): Replace by
8487 new function window--display-buffer
8488 (display-buffer-same-window, display-buffer-reuse-window)
8489 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8490 Use window--display-buffer.
8491 (display-buffer-use-some-window): Remove temporary dedication
8492 hack by calling get-lru-window and get-largest-window with
8493 NOT-SELECTED argument non-nil. Call window--display-buffer.
8494
8495 2012-06-05 Glenn Morris <rgm@gnu.org>
8496
8497 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
8498 Replace external vcdiff script.
8499
8500 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
8501
8502 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
8503
8504 2012-06-04 Chong Yidong <cyd@gnu.org>
8505
8506 * image.el (imagemagick-types-inhibit): Revert last change.
8507 Add INFO and M.
8508 (imagemagick-enabled-types): Remove CIN and EPS*.
8509
8510 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
8511
8512 * emacs-lisp/cl-lib.el: Rename from cl.el.
8513 * emacs-lisp/cl.el: New compatibility file.
8514 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
8515 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
8516 to obey the "cl-" prefix.
8517 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
8518
8519 2012-06-03 Glenn Morris <rgm@gnu.org>
8520
8521 * emacs-lisp/authors.el (authors-aliases): Addition.
8522
8523 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
8524 Fix :version.
8525
8526 2012-06-03 Stefan Merten <smerten@oekonux.de>
8527
8528 * textmodes/rst.el: Add comments.
8529 (rst-transition, rst-adornment): New faces.
8530 (rst-adornment-faces-alist): Make default safe to reevaluate.
8531 Fixes
8532 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
8533 Improve customization tags.
8534 (rst-define-level-faces): Clarify meaning.
8535
8536 2012-06-03 Chong Yidong <cyd@gnu.org>
8537
8538 * progmodes/compile.el (compilation-mode-line-fail)
8539 (compilation-mode-line-run, compilation-mode-line-exit):
8540 New faces.
8541 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
8542
8543 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
8544
8545 * progmodes/which-func.el (which-func-update-ediff-windows):
8546 New function. Use it in ediff-select-hook (Bug#11478).
8547
8548 2012-06-03 Chong Yidong <cyd@gnu.org>
8549
8550 * bindings.el: Remove explicit help text from format-mode-line.
8551 It is now supplied by mode-line-default-help-echo.
8552 (mode-line-front-space, mode-line-end-spaces)
8553 (mode-line-misc-info): New variables.
8554 (mode-line-modes, mode-line-position): Move the default value to
8555 the variable definition.
8556 (mode-line-default-help-echo): New defcustom.
8557 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
8558 (mode-line-modified-help-echo): New functions.
8559 (mode-line-mule-info, mode-line-modified): Use them.
8560 (mode-line-eol-desc, propertized-buffer-identification):
8561 Consistency fixes for help text.
8562 (mode-line-coding-system-map): Allow using mouse-3 to invoke
8563 set-buffer-file-coding-system (Bug#289).
8564 (mode-line-mule-info-help-echo): Update help text.
8565
8566 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8567
8568 * simple.el (execute-extended-command): Set real-this-command
8569 (bug#11506).
8570
8571 2012-06-02 Chong Yidong <cyd@gnu.org>
8572
8573 Remove incorrect uses of "modeline" in comments, docstrings, and
8574 function/variable names (Bug#10329).
8575
8576 * cus-edit.el (mode-line):
8577 * dframe.el (dframe-mouse-hscroll):
8578 * emacs-lisp/re-builder.el:
8579 * emacs-lisp/easy-mmode.el (define-minor-mode):
8580 * frame.el (set-frame-name):
8581 * help.el (lookup-minor-mode-from-indicator):
8582 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
8583 * progmodes/cc-cmds.el (c-toggle-auto-newline)
8584 (c-toggle-hungry-state):
8585 * progmodes/antlr-mode.el (antlr-language-alist):
8586 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
8587 * progmodes/vhdl-mode.el (vhdl-mode):
8588 * progmodes/which-func.el (which-func, which-func-cleanup-function):
8589 * term/ns-win.el (ns-face-at-pos):
8590 * term/sup-mouse.el (sup-mouse-report):
8591 * textmodes/flyspell.el (flyspell-mode-line-string):
8592 * textmodes/ispell.el (ispell-highlight-face):
8593 * textmodes/reftex-global.el:
8594 * vc/vc-arch.el (vc-arch-mode-line-string):
8595 * vc/vc-cvs.el (vc-cvs-mode-line-string):
8596 * vc/vc-git.el (vc-git-mode-line-string):
8597 * vc/vc-hooks.el (vc-display-status)
8598 (vc-default-mode-line-string):
8599 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
8600
8601 * ansi-color.el (ansi-color-faces-vector): Change default faces.
8602
8603 * dired.el (dired-sort-set-mode-line): Rename from
8604 dired-sort-set-modeline. All callers changed.
8605
8606 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
8607 eshell-status-in-modeline.
8608
8609 * foldout.el (foldout-mode-line-string): Rename from
8610 foldout-modeline-string. All callers changed.
8611 (foldout-update-mode-line): Rename from foldout-update-modeline.
8612
8613 * subr.el (redraw-modeline): Make into obsolete alias.
8614
8615 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
8616 timeclock-modeline-display. Make old name an alias.
8617 (timeclock-update-mode-line): Likewise. All callers changed.
8618 (timeclock-mode-line-display): No need to check before using
8619 add-hook.
8620 (timeclock-relative, timeclock-day-over-hook)
8621 (timeclock-use-elapsed, timeclock-mode-string)
8622 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
8623
8624 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
8625 crisp-mode-modeline-string.
8626
8627 * play/solitaire.el (solitaire-build-mode-line): Rename from
8628 solitaire-build-modeline. All callers changed.
8629
8630 * play/zone.el (zone-hiding-mode-line): Rename from
8631 zone-hiding-modeline. All callers changed.
8632 (zone): Remove unusued `modeline-hidden-level' property.
8633
8634 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
8635 xscheme-modeline-initialize. All callers changed.
8636
8637 * strokes.el (strokes-lighter): Rename from
8638 strokes-modeline-string.
8639
8640 * textmodes/sgml-mode.el (html-face-tag-alist)
8641 (html-tag-face-alist): Use mode-line face instead of obsolete
8642 alias modeline.
8643
8644 2012-06-02 Stefan Merten <smerten@oekonux.de>
8645
8646 * textmodes/rst.el: Always require `cl'.
8647 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
8648
8649 2012-06-02 Chong Yidong <cyd@gnu.org>
8650
8651 * image.el (imagemagick-enabled-types): Rename from
8652 imagemagick-types-enable. Add many more types.
8653 (imagemagick-types-inhibit): Change default to nil.
8654 (imagemagick-filter-types): Caller changed.
8655
8656 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8657
8658 * emacs-lisp/cl-macs.el: Use backquotes.
8659 (cl-transform-function-property): Use eval-and-compile rather than
8660 abusing `require'.
8661 (defstruct): Use declare-function instead of with-no-warnings.
8662
8663 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
8664 (byte-compile-output-docform): Re-add the print-circle bindings.
8665 (byte-compile-fix-header): Use #$ just because it's shorter.
8666 (byte-compile-output-file-form): Remove defun/defmacro.
8667
8668 2012-06-01 Martin Rudalics <rudalics@gmx.at>
8669
8670 * simple.el (choose-completion): Remove now obsolete binding for
8671 owindow.
8672
8673 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
8674
8675 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
8676 in order to avoid "Stack overflow in regexp matcher".
8677
8678 2012-05-31 Glenn Morris <rgm@gnu.org>
8679
8680 * image.el: For clarity, call imagemagick-register-types at
8681 top-level, rather than relying on a custom :initialize.
8682 (imagemagick-types-enable): New option. (Bug#11557)
8683 (imagemagick-filter-types): New function. (Bug#7406)
8684 (imagemagick-register-types): Use imagemagick-filter-types.
8685 If disabling support, remove elements altogether rather
8686 than using an impossible regexp.
8687 (imagemagick-types-inhibit): Give it the default init function.
8688
8689 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8690
8691 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
8692 Handle arbitrary file name lengths (Bug#11585).
8693
8694 2012-05-31 Martin Rudalics <rudalics@gmx.at>
8695
8696 * desktop.el (desktop-read): Clear previous and next buffers for
8697 all windows and bury *Messages* buffer (bug#11556).
8698
8699 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8700
8701 Add `declare' for `defun'. Align `defmacro's with it.
8702 * emacs-lisp/easy-mmode.el (define-minor-mode)
8703 (define-globalized-minor-mode): Don't autoload the var definitions.
8704 * emacs-lisp/byte-run.el: Use lexical-binding.
8705 (defun-declarations-alist, macro-declarations-alist): New vars.
8706 (defmacro, defun): Use them.
8707 (make-obsolete, define-obsolete-function-alias)
8708 (make-obsolete-variable, define-obsolete-variable-alias):
8709 Use `declare'.
8710 (macro-declaration-function): Mark obsolete.
8711 * emacs-lisp/autoload.el: Use lexical-binding.
8712 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
8713
8714 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8715
8716 * textmodes/ispell.el (ispell-with-no-warnings):
8717 Define as a macro.
8718 (ispell-kill-ispell, ispell-change-dictionary):
8719 Use `called-interactively-p' for Emacs instead of obsolete
8720 `interactive-p'.
8721
8722 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8723
8724 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
8725 (macro-declaration-function): Move var from C code.
8726 (macro-declaration-function): Define function with defalias.
8727 * emacs-lisp/macroexp.el (macroexpand-all-1):
8728 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
8729 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
8730 defun/defmacro any more.
8731 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
8732 Provide fallback for unknown arglist.
8733 (byte-compile-arglist-warn): Change calling convention.
8734 (byte-compile-output-file-form): Move print-vars binding.
8735 (byte-compile-output-docform): Simplify accordingly.
8736 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
8737 (byte-compile-defmacro-declaration): Remove.
8738 (byte-compile-file-form-defmumble): Generalize to defalias.
8739 (byte-compile-output-as-comment): Return byte-positions.
8740 Simplify callers accordingly.
8741 (byte-compile-lambda): Use `assert'.
8742 (byte-compile-defun, byte-compile-defmacro): Remove.
8743 (byte-compile-file-form-defalias):
8744 Use byte-compile-file-form-defmumble.
8745 (byte-compile-defalias-warn): Remove.
8746
8747 2012-05-29 Stefan Merten <smerten@oekonux.de>
8748
8749 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
8750 possible. Fix authors. Improve comments. Improve loading of `cl'.
8751
8752 (rst-mode-abbrev-table): Merge definition.
8753 (rst-mode): Make sure `font-lock-defaults' is buffer local.
8754 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
8755
8756 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
8757
8758 * calendar/icalendar.el
8759 (icalendar-export-region): Export UID properly.
8760
8761 2012-05-29 Leo Liu <sdl.web@gmail.com>
8762 * calendar/icalendar.el (icalendar-import-format):
8763 Add `icalendar-import-format-uid' (Bug#11525).
8764 (icalendar-import-format-uid): New.
8765 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
8766 Export UID.
8767
8768 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8769
8770 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
8771 different alternative patterns.
8772 (pcase-codegen): Be more careful to preserve identity.
8773 (pcase--u1): Don't forget to mark vars as used.
8774
8775 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
8776 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
8777 (byte-compile-from-buffer): ...rather than here.
8778
8779 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
8780 functions from byte-compile-function-environment.
8781
8782 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
8783
8784 * window.el (window-deletable-p): Avoid deleting the root window
8785 of a frame with an active minibuffer.
8786
8787 2012-05-29 Martin Rudalics <rudalics@gmx.at>
8788
8789 * simple.el (choose-completion): Use quit-window (Bug#11567).
8790
8791 2012-05-29 Chong Yidong <cyd@gnu.org>
8792
8793 * whitespace.el (whitespace-cleanup): Fix usage of
8794 whitespace-empty-at-bob-regexp (Bug#11492).
8795
8796 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8797
8798 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
8799 revert (Bug#11488).
8800
8801 2012-05-29 Juri Linkov <juri@jurta.org>
8802
8803 * isearch.el (isearch-mode-map): Bind `M-s _' to
8804 `isearch-toggle-symbol'. Bind `M-s c' to
8805 `isearch-toggle-case-fold'.
8806 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
8807 (isearch-forward): Add `M-s _' to the docstring.
8808 (isearch-forward-symbol, isearch-toggle-case-fold)
8809 (isearch-symbol-regexp): New functions. (Bug#11381)
8810
8811 2012-05-29 Juri Linkov <juri@jurta.org>
8812
8813 * isearch.el (isearch-word): Add docstring. (Bug#11381)
8814 (isearch-occur, isearch-search-and-update): If `isearch-word' is
8815 a function, call it to get the regexp.
8816 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
8817 property `isearch-message-prefix' instead of the string "word ".
8818 (isearch-search-fun-default): For the case of `isearch-word',
8819 return a lambda that calls re-search-forward/re-search-backward
8820 with a regexp returned by `word-search-regexp' or by the function
8821 in `isearch-word'.
8822
8823 2012-05-29 Juri Linkov <juri@jurta.org>
8824
8825 * isearch.el (isearch-search-fun-default): New function.
8826 (isearch-search-fun): Move default part to the new function
8827 `isearch-search-fun-default'.
8828 (isearch-search-fun-function): Set the default value to
8829 `isearch-search-fun-default'. (Bug#11381)
8830
8831 * comint.el (comint-history-isearch-end):
8832 Use `isearch-search-fun-default'.
8833 (comint-history-isearch-search): Use `isearch-search-fun-default'
8834 and remove spacial case for `isearch-word'.
8835 (comint-history-isearch-wrap): Remove spacial case for
8836 `isearch-word'.
8837
8838 * hexl.el (hexl-isearch-search-function):
8839 Use `isearch-search-fun-default'.
8840
8841 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
8842 Use `word-search-regexp' for `isearch-word'.
8843
8844 * misearch.el (multi-isearch-search-fun):
8845 Use `isearch-search-fun-default'.
8846
8847 * simple.el (minibuffer-history-isearch-search):
8848 Use `isearch-search-fun-default' and remove spacial case for
8849 `isearch-word'.
8850 (minibuffer-history-isearch-wrap): Remove spacial case for
8851 `isearch-word'.
8852
8853 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
8854 Remove spacial case for `isearch-word'.
8855 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
8856
8857 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8858
8859 Decrease XEmacs incompatibilities.
8860 * textmodes/flyspell.el (flyspell-check-pre-word-p):
8861 Use `string-match'.
8862 (flyspell-delete-region-overlays): Use alternative definition for
8863 XEmacs.
8864 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
8865 (flyspell-word): Use `process-kill-without-query' if XEmacs.
8866 (flyspell-mode-on): Use `interactive-p' if XEmacs.
8867 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
8868 `define-obsolete-face-alias' under XEmacs, but old method.
8869
8870 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
8871 `with-no-warnings' definition or Emacs alias.
8872 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
8873 (ispell-word): Do not use `region-p' if XEmacs.
8874
8875 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8876
8877 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
8878 Check for `ispell-dictionary-base-alist' instead of full
8879 `ispell-dictionary-alist'.
8880 (ispell-init-process): Show spellchecker when starting new Ispell
8881 process.
8882
8883 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
8884
8885 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
8886 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
8887
8888 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
8889
8890 * version.el (motif-version-string, gtk-version-string)
8891 (ns-version-string): Declare.
8892
8893 2012-05-27 Juri Linkov <juri@jurta.org>
8894
8895 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
8896 after the `eval-defun-1' specialcaseing
8897 like in `edebug-eval-defun' (bug#10181).
8898
8899 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
8900 like in `eval-defun-1'.
8901
8902 2012-05-27 Eli Zaretskii <eliz@gnu.org>
8903
8904 * mail/sendmail.el (mail-yank-region):
8905 Recognize rmail-yank-current-message in addition to insert-buffer.
8906 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
8907 a *mail* buffer created through rmail-start-mail with sendmail as
8908 mail-user-agent.
8909
8910 2012-05-27 Chong Yidong <cyd@gnu.org>
8911
8912 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
8913 Default to 256 (Bug#11267).
8914
8915 * help.el (describe-mode): Doc fix.
8916
8917 2012-05-26 Glenn Morris <rgm@gnu.org>
8918
8919 * w32-fns.el (w32-init-info): Remove.
8920 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
8921
8922 * info.el (info-initialize): For self-contained NS builds, put the
8923 included info/ directory at the front. (Bug#2791)
8924
8925 * paths.el (Info-default-directory-list): Make it a defcustom,
8926 mainly so that we can use custom-initialize-delay.
8927
8928 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
8929
8930 * subr.el (buffer-has-markers-at): Mark obsolete.
8931
8932 * subr.el (lambda): Use declare.
8933
8934 * emacs-lisp/lisp-mode.el (lambda):
8935 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
8936
8937 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8938
8939 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
8940
8941 2012-05-26 Glenn Morris <rgm@gnu.org>
8942
8943 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
8944
8945 2012-05-25 Glenn Morris <rgm@gnu.org>
8946
8947 * paths.el: Remove no-byte-compile.
8948 * loadup.el: No need to load paths.el uncompiled.
8949
8950 * image.el (imagemagick-types-inhibit): Doc fix.
8951
8952 * version.el: Remove no-byte-compile and associated formatting.
8953 * loadup.el: No need to load version.el uncompiled. AFAICS, this
8954 is ancient code from when there was an "inc-vers.el".
8955
8956 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8957
8958 * progmodes/gdb-mi.el: Minor style changes.
8959 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
8960 Turn into minor modes.
8961 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
8962 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
8963 (gdb-shell): Remove unneeded let-binding.
8964 (gdb-get-many-fields): Eliminate O(n²) behavior.
8965
8966 2012-05-25 Eli Zaretskii <eliz@gnu.org>
8967
8968 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
8969 platforms that don't link in fontset.c.
8970
8971 2012-05-25 Juri Linkov <juri@jurta.org>
8972
8973 Use the same diff color scheme as in modern VCSes (bug#10181).
8974
8975 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
8976 to avoid confusion with `diff-added' that now uses green colors.
8977 (diff-removed): Use shades of red.
8978 (diff-added): Use shades of green.
8979 (diff-changed): Leave just the yellow color.
8980 (diff-use-changed-face): New variable.
8981 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
8982 how to highlight context diff changes.
8983 (diff-refine-change): Use shades of yellow.
8984 (diff-refine-removed): New face that uses shades of red.
8985 (diff-refine-added): New face that uses shades of green.
8986 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
8987 `diff-refine-removed' in the call to `smerge-refine-subst'
8988 depending on the value of `diff-use-changed-face'.
8989
8990 * vc/smerge-mode.el (smerge-mine): Use shades of red.
8991 (smerge-other): Use shades of green.
8992 (smerge-base): Use shades of yellow.
8993 (smerge-refined-change): Empty face.
8994 (smerge-refined-removed): New face that uses shades of red.
8995 (smerge-refined-added): New face that uses shades of green.
8996 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
8997 args `props-r' and `props-a', and use them. Doc fix.
8998 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
8999 on its value use different faces `smerge-refined-change',
9000 `smerge-refined-removed', `smerge-refined-added' in the call to
9001 `smerge-refine-subst'.
9002
9003 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
9004 Add face condition `min-colors 88' with shades of red.
9005 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
9006 `min-colors 88' with shades of green.
9007 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
9008 `min-colors 88' with shades of yellow.
9009
9010 2012-05-24 Glenn Morris <rgm@gnu.org>
9011
9012 * paths.el (prune-directory-list, remote-shell-program): Move to...
9013 * files.el (prune-directory-list, remote-shell-program): ...here.
9014 For the latter, delay initialization, prefer ssh, just search PATH.
9015
9016 * paths.el (term-file-prefix): Move to faces.el (the only user).
9017 * faces.el (term-file-prefix): Move here, make it a defcustom.
9018
9019 * paths.el (news-directory, news-path, news-inews-program):
9020 Move to gnus/nnspool.el.
9021
9022 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
9023
9024 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
9025 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
9026 Make the latter a defcustom, with a delayed initialization.
9027
9028 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
9029 These were deleted from Gnus itself late 2010.
9030
9031 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
9032
9033 * progmodes/which-func.el (which-func-ff-hook):
9034 Check against user-error, not error.
9035
9036 * emacs-lisp/edebug.el (top): Do not load or set up loading of
9037 cl-specs.el, which no longer exists.
9038
9039 2012-05-22 Glenn Morris <rgm@gnu.org>
9040
9041 * info.el (info-emacs-bug): New command.
9042 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
9043 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
9044
9045 2012-05-21 Glenn Morris <rgm@gnu.org>
9046
9047 * makefile.w32-in (update-subdirs-SH):
9048 * Makefile.in (update-subdirs): Update for moved update-subdirs.
9049
9050 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
9051
9052 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
9053
9054 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9055 Simplify Maven regexp, and make sure the file can't start with a space
9056 (bug#11517).
9057
9058 2012-05-21 Glenn Morris <rgm@gnu.org>
9059
9060 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9061 Scrap superfluous subshells.
9062
9063 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
9064
9065 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
9066 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
9067
9068 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
9069
9070 * calc/calc.el (calc-ensure-consistent-units): New variable.
9071
9072 * calc/calc-units.el (math-consistent-units-p)
9073 (math-check-unit-consistency): New functions.
9074 (calc-quick-units, calc-convert-units):
9075 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
9076 is non-nil.
9077 (calc-extract-units): Fix typo.
9078
9079 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
9080
9081 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
9082
9083 * textmodes/flyspell.el: Commenting style, plus code simplifications.
9084 (flyspell-default-deplacement-commands): Don't spell check after
9085 repeated window/frame switches (e.g. triggered by mouse-movement).
9086 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
9087 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
9088 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
9089 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
9090 Remove unused vars.
9091 (flyspell-get-casechars, flyspell-get-not-casechars):
9092 Simplify; Don't bother removing a ] just to add it back.
9093 * textmodes/ispell.el (ispell-program-name): Use executable-find.
9094
9095 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9096
9097 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
9098 New functions.
9099 (math-function-table): Add support for more C functions.
9100
9101 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9102
9103 * textmodes/flyspell.el (flyspell-check-pre-word-p)
9104 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
9105 Protect delay handling for otherchars against empty otherchars.
9106
9107 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
9108
9109 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
9110 their respective macro declarations.
9111 * skeleton.el (define-skeleton):
9112 * progmodes/compile.el (define-compilation-mode):
9113 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
9114 (define-ibuffer-filter):
9115 * emacs-lisp/generic.el (define-generic-mode):
9116 * emacs-lisp/easy-mmode.el (define-minor-mode)
9117 (define-globalized-minor-mode):
9118 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
9119 * emacs-lisp/byte-run.el (defsubst):
9120 * custom.el (deftheme): Add doc-string metadata.
9121
9122 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9123
9124 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
9125
9126 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9127
9128 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
9129
9130 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
9131 * emacs-lisp/cl-macs.el: Idem.
9132 * emacs-lisp/cl-specs.el: Remove.
9133
9134 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9135
9136 Minor renaming of internal CL functions and variables.
9137 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
9138 (cl--position): Rename from cl-position.
9139 (cl--delete-duplicates): Rename from cl-delete-duplicates.
9140 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
9141 (cl--random-state): Rename from *random-state*.
9142
9143 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9144
9145 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
9146 parens around the arg list (bug#11499).
9147
9148 2012-05-17 Juri Linkov <juri@jurta.org>
9149
9150 * isearch.el (word-search-regexp, word-search-backward)
9151 (word-search-forward, word-search-backward-lax)
9152 (word-search-forward-lax): Move functions from search.c
9153 (bug#10145, bug#11381).
9154
9155 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9156
9157 * textmodes/flyspell.el (flyspell-check-pre-word-p)
9158 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
9159 Delay for otherchars as for normal word components.
9160
9161 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
9162
9163 * minibuffer.el (completion--sifn-requote): Fix last change.
9164 (minibuffer-local-must-match-filename-map):
9165 Move define-obsolete-variable-alias before its var.
9166
9167 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9168
9169 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
9170
9171 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
9172 behavior.
9173 (completion--string-equal-p): New function.
9174 (completion--twq-all): Use it to get better assertion failure data.
9175
9176 Only handle ".." and '..' quoting in shell-mode (bug#11466).
9177 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
9178 (shell--requote-argument): New functions.
9179 (shell-completion-vars): Use them.
9180 (shell--parse-pcomplete-arguments): Rename from
9181 shell-parse-pcomplete-arguments.
9182 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
9183 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
9184 Obey comint-file-name-quote-list.
9185
9186 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
9187 (smie-indent-keyword): Use it.
9188
9189 2012-05-14 Stefan Merten <smerten@oekonux.de>
9190
9191 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
9192
9193 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
9194
9195 * net/rlogin.el (rlogin-mode-map): Fix last change.
9196
9197 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
9198
9199 * mail/smtpmail.el (smtpmail-send-command): Send the command and
9200 the following \r\n using a single `process-send-string', since the
9201 Lotus SMTP server refuses to accept any commands if they are sent
9202 with two `process-send-string's (Bug#11444).
9203
9204 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
9205
9206 * shell.el (shell-parse-pcomplete-arguments):
9207 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
9208
9209 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
9210
9211 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
9212 (image-transform-scale, image-transform-right-angle-fudge): New vars.
9213 (image-transform-width, image-transform-fit-width): New functions.
9214 (image-transform-properties): Use them.
9215 (image-transform-check-size): New function.
9216 (image-toggle-display-image): Use it (for testing).
9217 (image-transform-set-rotation): Reduce angle mod 360.
9218 Delete obsolete comment.
9219
9220 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
9221
9222 * image-mode.el: Fix scaling (bug#11399).
9223 (image-transform-resize): Doc fix.
9224 (image-transform-properties): Default scale is 1 and height should
9225 be an integer.
9226
9227 2012-05-13 Johan Bockgård <bojohan@gnu.org>
9228
9229 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
9230 than hard-coding `car', to fix misbehavior when moving forward.
9231
9232 2012-05-13 Chong Yidong <cyd@gnu.org>
9233
9234 * emacs-lisp/tabulated-list.el (tabulated-list-format)
9235 (tabulated-list-entries, tabulated-list-padding)
9236 (tabulated-list-sort-key): Make permanent-local.
9237
9238 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
9239 (electric-buffer-list): Put electric buffer menu
9240 command descriptions in this docstring, instead of the docstring
9241 of electric-buffer-menu-mode. Code cleanups.
9242 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
9243 Electric-buffer-menu-mode.
9244 (electric-buffer-update-highlight): Minor code cleanup.
9245
9246 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
9247
9248 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
9249 (Bug#11447)
9250
9251 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9252
9253 Move define-obsolete-variable-alias before the var's definition.
9254 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
9255 * tooltip.el (tooltip-hook):
9256 * textmodes/reftex-toc.el (reftex-toc-map):
9257 * textmodes/reftex-sel.el (reftex-select-label-map)
9258 (reftex-select-bib-map):
9259 * textmodes/reftex-index.el (reftex-index-map)
9260 (reftex-index-phrases-map):
9261 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
9262 * progmodes/meta-mode.el (meta-mode-map):
9263 * novice.el (disabled-command-hook):
9264 * loadhist.el (unload-hook-features-list):
9265 * frame.el (blink-cursor):
9266 * files.el (find-file-not-found-hooks, write-file-hooks)
9267 (write-contents-hooks):
9268 * emulation/tpu-edt.el (GOLD-map):
9269 * emacs-lock.el (emacs-lock-from-exiting):
9270 * emacs-lisp/generic.el (generic-font-lock-defaults):
9271 * emacs-lisp/chart.el (chart-map):
9272 * dos-fns.el (register-name-alist):
9273 * dired-x.el (dired-omit-files-p):
9274 * desktop.el (desktop-enable):
9275 * cus-edit.el (custom-mode-hook):
9276 * buff-menu.el (buffer-menu-mode-hook):
9277 * bookmark.el (bookmark-read-annotation-text-func)
9278 (bookmark-exit-hooks):
9279 * allout.el (allout-mode-deactivate-hook)
9280 (allout-exposure-change-hook, allout-structure-added-hook)
9281 (allout-structure-deleted-hook, allout-structure-shifted-hook):
9282 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
9283 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
9284 comes before the corresponding variable's definition.
9285
9286 2012-05-12 Chong Yidong <cyd@gnu.org>
9287
9288 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
9289 (Buffer-menu-mouse-select): Restore function (Bug#11459).
9290 (Buffer-menu-mode-map): Bind it.
9291 (Buffer-menu--pretty-name): Add a mouse-face property.
9292
9293 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
9294
9295 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
9296 (prolog-upper-case-string, prolog-lower-case-string)
9297 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
9298 (prolog-use-smie, prolog-smie-grammar): New vars.
9299 (prolog-smie-forward-token, prolog-smie-backward-token)
9300 (prolog-smie-rules): New funs.
9301 (prolog-comment-indent): Remove.
9302 (prolog-mode-variables): Use default comment indentation instead.
9303 Setup SMIE.
9304 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
9305 (prolog-mode): Don't call them any more.
9306 (prolog-electric-colon, prolog-electric-dash)
9307 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
9308
9309 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
9310
9311 * minibuffer.el (completion--twq-all): Again, allow case differences.
9312
9313 * term.el: Move keymap initialization code to be more idiomatic.
9314 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
9315 (term-terminal-menu): Move initialization into declaration.
9316 (term-escape-char): Let the user set it in her .emacs.
9317
9318 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
9319 Provide SMIE-based indentation (not enabled by default yet).
9320 (sh-mode-map): Don't bind electric keys.
9321 Use electric-pair-mode instead of skeleton-pair.
9322 (sh-assignment-regexp): Fit within 80 columns.
9323 (sh-indent-supported): Specify actual shell name instead of boolean.
9324 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
9325 (sh-maybe-here-document): Use it. Make obsolete.
9326 (sh-electric-here-document-mode) New minor mode.
9327 (sh-mode): Use it. Don't set sh-indent-supported-here here.
9328 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
9329 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
9330 (sh-smie-rc-grammar, sh-use-smie): New vars.
9331 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
9332 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
9333 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
9334 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
9335 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
9336 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
9337 (sh-set-shell): Use smie-setup if requested.
9338
9339 * term.el (term-set-escape-char): Properly set term-escape-char.
9340 See http://stackoverflow.com/questions/10524656.
9341
9342 2012-05-10 Chong Yidong <cyd@gnu.org>
9343
9344 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
9345 Use url-generic-parse-url, and handle host names and Windows
9346 filenames properly.
9347 (ffap-url-unwrap-remote): Use url-generic-parse-url.
9348 (ffap-url-unwrap-remote): Accept list values, specifying a list of
9349 URL schemes to work on.
9350 (ffap--toggle-read-only): New function.
9351 (ffap-read-only, ffap-read-only-other-window)
9352 (ffap-read-only-other-frame): Use it.
9353 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
9354 necessary for ffap-url-unwrap-remote.
9355
9356 2012-05-10 Dave Abrahams <dave@boostpro.com>
9357
9358 * cus-start.el (create-lockfiles): Add it.
9359
9360 2012-05-09 Chong Yidong <cyd@gnu.org>
9361
9362 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
9363 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
9364
9365 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9366
9367 * shell.el (shell-completion-vars): Fix last change (bug#11348).
9368
9369 2012-05-09 Chong Yidong <cyd@gnu.org>
9370
9371 * ansi-color.el (ansi-color-process-output): Check for validity of
9372 comint-last-output-start before using it. This avoids a bad
9373 interaction with gdb-mi's input/output buffer.
9374
9375 2012-05-09 Glenn Morris <rgm@gnu.org>
9376
9377 * files.el (dir-locals-read-from-file):
9378 Mention dir-locals in any error message.
9379
9380 2012-05-09 Chong Yidong <cyd@gnu.org>
9381
9382 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
9383 package (Bug#11410).
9384
9385 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
9386 variables into description.
9387
9388 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9389
9390 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
9391 shell-delimiter-argument-list (bug#11348).
9392 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
9393
9394 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
9395
9396 * textmodes/rst.el: Silence byte-compiler warnings.
9397 (rst-re-alist, rst-reset-section-caches): Move around.
9398 (rst-re): Use `characterp', not `char-valid-p'.
9399 (font-lock-beg, font-lock-end): Declare.
9400
9401 * progmodes/idlw-shell.el (specs): Remove reference to deleted
9402 variable `idlwave-shell-activate-alt-keybindings' and simplify.
9403
9404 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
9405
9406 2012-05-08 Glenn Morris <rgm@gnu.org>
9407
9408 * files.el (auto-mode-alist): Treat ".make" like ".mk".
9409
9410 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9411
9412 * vc/log-edit.el: Add GNU coding standards highlighting.
9413 (log-edit-font-lock-gnu-style)
9414 (log-edit-font-lock-gnu-keywords): New vars.
9415 (log-edit-font-lock-keywords): New fun.
9416 (log-edit-mode): Don't fold case in font-lock.
9417 (log-edit-font-lock-keywords): Do not assume case-folding.
9418
9419 * imenu.el: Misc cleanup. Make docstrings out of comments.
9420 Use lexical-binding.
9421 (imenu--index-alist, imenu--last-menubar-index-alist)
9422 (imenu-menubar-modified-tick): Use defvar-local.
9423 (imenu--split-menu): Remove unused var.
9424 (imenu--cleanup-seen): Declare as global.
9425 (imenu--cleanup): Use dolist.
9426
9427 * subr.el (defvar-local): Add debug spec and doc-string position.
9428
9429 2012-05-08 Glenn Morris <rgm@gnu.org>
9430
9431 * language/burmese.el, language/cham.el, language/czech.el:
9432 * language/english.el, language/georgian.el, language/greek.el:
9433 * language/japanese.el, language/khmer.el, language/korean.el:
9434 * language/lao.el, language/misc-lang.el, language/romanian.el:
9435 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
9436 * language/thai.el, language/utf-8-lang.el:
9437 Remove no-byte-compile setting.
9438
9439 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
9440
9441 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9442
9443 * progmodes/make-mode.el (makefile-browse):
9444 Remove unnecessary interactive. (Bug#11324)
9445
9446 2012-05-07 Glenn Morris <rgm@gnu.org>
9447
9448 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
9449
9450 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
9451
9452 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9453
9454 * loadup.el: Preload newcomment.el.
9455 * newcomment.el: Move autoload-only code to toplevel.
9456
9457 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
9458 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
9459 Handle new :right-align column property.
9460 (tabulated-list-print-col): Idem, plus use `display' text-property to
9461 try and preserve alignment for variable pitch fonts.
9462
9463 2012-05-07 Chong Yidong <cyd@gnu.org>
9464
9465 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
9466 (tabulated-list-use-header-line): New var.
9467 (tabulated-list-init-header): Use it.
9468 (tabulated-list-print-fake-header): New function.
9469 (tabulated-list-print): Use it.
9470 (tabulated-list-sort-button-map): Add non-header-line commands.
9471 (tabulated-list-init-header): Add column name property to basic
9472 labels as well.
9473 (tabulated-list-col-sort): Handle non-header-line button case.
9474 (tabulated-list--sort-by-column-name): Fix a corner case.
9475
9476 * buff-menu.el (list-buffers--refresh):
9477 Handle Buffer-menu-use-header-line.
9478
9479 2012-05-06 Chong Yidong <cyd@gnu.org>
9480
9481 * buff-menu.el: Convert to Tabulated List mode.
9482 (Buffer-menu-buffer+size-width): Make obsolete.
9483 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
9484 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
9485 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
9486 documentation into docstring of buffer-menu.
9487 (Buffer-menu-toggle-files-only): Add an informative message.
9488 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
9489 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
9490 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
9491 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
9492 (Buffer-menu-execute, Buffer-menu-select)
9493 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
9494 (Buffer-menu-bury): Use Tabulated List machinery.
9495 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
9496 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
9497 Delete.
9498 (list-buffers--refresh): New function.
9499 (list-buffers-noselect): Use it.
9500 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
9501 (Buffer-menu--pretty-file-name): New helper functions.
9502
9503 * loadup.el: Preload tabulated-list.
9504
9505 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
9506 tabulated-list-sort-column.
9507 (tabulated-list-init-header): Add the initial aligning space even
9508 if tabulated-list-padding is zero.
9509
9510 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
9511
9512 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
9513 whose cdr is not a cons cell correctly (bug#11038).
9514
9515 2012-05-06 Chong Yidong <cyd@gnu.org>
9516
9517 * emacs-lisp/tabulated-list.el (tabulated-list-format):
9518 Accept additional plist in column descriptors.
9519 (tabulated-list-init-header): Obey it.
9520 (tabulated-list-get-entry): New function.
9521 (tabulated-list-put-tag): Use it. Use string-width instead of
9522 length.
9523 (tabulated-list--column-number): New function.
9524 (tabulated-list-print): Use it.
9525 (tabulated-list-print-col): New function.
9526 Set `tabulated-list-column-name' property on each column's text.
9527 (tabulated-list-print-entry): Use it.
9528 (tabulated-list-delete-entry, tabulated-list-set-col):
9529 New functions.
9530 (tabulated-list-sort-column): New command (Bug#11337).
9531
9532 * buff-menu.el (list-buffers): Move C-x C-b binding from
9533 buff-menu.el to bindings.el.
9534
9535 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
9536 :advertised-binding feature.
9537
9538 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
9539
9540 * progmodes/compile.el (compilation-internal-error-properties):
9541 Calculate start position correctly when end-col is set but
9542 end-line is not (Bug#11382).
9543
9544 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
9545
9546 * man.el (Man-unindent): Use text-property-default-nonsticky to
9547 prevent untabify from inheriting face properties (Bug#11408).
9548
9549 2012-05-05 Stefan Merten <smerten@oekonux.de>
9550
9551 * textmodes/rst.el: Major merge with upstream development up to
9552 Docutils SVN r7399 / rst.el V1.2.1.
9553
9554 Clarify maintainership and authors.
9555
9556 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
9557 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
9558 (rst-official-version, rst-official-cvs-rev, rst-version)
9559 (rst-package-emacs-version-alist): New functions and variables
9560 for version information.
9561
9562 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
9563 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
9564 (rst-mode-syntax-table, rst-mode): New and corrected functions
9565 and variables representing reStructuredText features.
9566
9567 (rst-re): New function for reStructuredText regexes. Use in
9568 many places.
9569
9570 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
9571 (rst-mode-map): Rebind keys.
9572
9573 (rst-mode-lazy, rst-font-lock-keywords)
9574 (rst-font-lock-extend-region)
9575 (rst-font-lock-extend-region-internal)
9576 (rst-font-lock-extend-region-extend)
9577 (rst-font-lock-find-unindented-line-limit)
9578 (rst-font-lock-find-unindented-line-match)
9579 (rst-adornment-level, rst-font-lock-adornment-level)
9580 (rst-font-lock-adornment-match)
9581 (rst-font-lock-handle-adornment-pre-match-form)
9582 (rst-font-lock-handle-adornment-matcher): Major revision of
9583 font-locking. Integrate with other code. Use `jit-lock-mode'.
9584
9585 (rst-preferred-adornments, rst-adjust-hook)
9586 (rst-new-adornment-down, rst-preferred-bullets)
9587 (rst-preferred-bullets, rst-indent, rst-indent-width)
9588 (rst-indent-field, rst-indent-literal-normal)
9589 (rst-indent-literal-minimized, rst-indent-comment): Change,
9590 extend and improve customization.
9591
9592 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
9593 (rst-normalize-cursor-position, rst-get-decoration)
9594 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
9595 (rst-rstrip, rst-toc-insert-find-delete-contents)
9596 (rst-shift-fill-region, rst-compute-bullet-tabs)
9597 (rst-debug-print-tabs, rst-debug-mark-found)
9598 (rst-shift-region-guts, rst-shift-region-right)
9599 (rst-shift-region-left, rst-use-char-classes)
9600 (rst-font-lock-keywords-function)
9601 (rst-font-lock-indentation-point)
9602 (rst-font-lock-find-unindented-line-begin)
9603 (rst-font-lock-find-unindented-line-end)
9604 (rst-font-lock-find-unindented-line)
9605 (rst-font-lock-adornment-point, rst-font-lock-level)
9606 (rst-adornment-level-alist): Remove functions and variables.
9607
9608 (rst-compare-adornments, rst-get-adornment-match)
9609 (rst-suggest-new-adornment, rst-get-adornments-around)
9610 (rst-adornment-complete-p, rst-get-next-adornment)
9611 (rst-adjust-adornment, rst-display-adornments-hierarchy)
9612 (rst-straighten-adornments): Standardize function names to
9613 use "adornment" instead of "decoration". Correct callers.
9614 Similar standardizing in many places.
9615
9616 (rst-update-section, rst-adjust, rst-promote-region)
9617 (rst-enumerate-region, rst-bullet-list-region)
9618 (rst-repeat-last-character): Correct use of `interactive'.
9619
9620 (rst-classify-adornment, rst-find-all-adornments)
9621 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
9622 (rst-find-leftmost-column, rst-repeat-last-character):
9623 Refactor functions.
9624
9625 (rst-find-title-line, rst-reset-section-caches)
9626 (rst-get-adornments-around, rst-adjust-adornment-work)
9627 (rst-arabic-to-roman, rst-roman-to-arabic)
9628 (rst-insert-list-pos, rst-insert-list-new-item)
9629 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
9630 New functions.
9631
9632 (rst-all-sections, rst-section-hierarchy)
9633 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
9634 New variables.
9635
9636 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
9637 configuration instead of only buffer. Change where necessary.
9638
9639 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
9640 (rst-shift-region, rst-adaptive-fill): New functions for
9641 indentation and filling.
9642
9643 (rst-comment-line-break, rst-comment-indent)
9644 (rst-comment-insert-comment, rst-comment-region)
9645 (rst-uncomment-region): New functions for handling comments.
9646
9647 (rst-compile): Quote shell arguments.
9648
9649 (rst-compile-pdf-preview, rst-compile-slides-preview):
9650 Delete temporary files after use.
9651
9652 2012-05-05 Glenn Morris <rgm@gnu.org>
9653
9654 * calendar/cal-html.el: Optionally include holidays in the output.
9655 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
9656 (cal-html-holidays): New option.
9657 (cal-html-css-default): Add holiday entry.
9658 (holiday-in-range): Autoload it.
9659 (cal-html-htmlify-entry): Add optional class argument.
9660 (cal-html-htmlify-list): Add optional holidays argument.
9661 (cal-html-insert-agenda-days): Include holidays in the output.
9662 (cal-html-one-month): Maybe include holidays.
9663
9664 * calendar/holidays.el (holiday-in-range):
9665 Move here from cal-tex-list-holidays.
9666 * calendar/cal-tex.el (cal-tex-list-holidays):
9667 Make it an obsolete alias for holiday-in-range. Update all callers.
9668
9669 2012-05-05 Chong Yidong <cyd@gnu.org>
9670
9671 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
9672 Nextstep.
9673
9674 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
9675
9676 * files.el (file-auto-mode-skip): New var.
9677 (set-auto-mode-1): Use it.
9678
9679 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9680
9681 * repeat.el: Use lexical-binding.
9682 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
9683 (repeat-undo-count): Remove.
9684 (repeat):
9685 * progmodes/octave-mod.el (octave-abbrev-start):
9686 * progmodes/f90.el (f90-abbrev-start):
9687 * face-remap.el (text-scale-adjust):
9688 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
9689
9690 * emacs-lisp/pcase.el (pcase--let*): New function.
9691 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
9692 a bit more.
9693 (pcase--split-pred): Be more clever about ruling out overlap between
9694 a predicate and some constant pattern.
9695 (pcase--q1): Use `null' instead of (eq foo nil).
9696
9697 * subr.el (setq-local, defvar-local): New macros.
9698 (kbd): Redefine as an alias.
9699 (with-selected-window): Leave unrelated frames alone.
9700 (set-temporary-overlay-map): New function.
9701
9702 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9703
9704 * subr.el (user-error): New function.
9705 * window.el (switch-to-buffer):
9706 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
9707 (smerge-match-conflict):
9708 * simple.el (previous-matching-history-element)
9709 (next-matching-history-element, goto-history-element, undo-more)
9710 (undo-start):
9711 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
9712 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
9713 (next-file, tags-loop-scan, list-tags, complete-tag):
9714 * progmodes/compile.el (compilation-loop):
9715 * mouse.el (mouse-minibuffer-check):
9716 * man.el (Man-bgproc-sentinel, Man-goto-page):
9717 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
9718 (Info-history-forward, Info-follow-reference, Info-menu)
9719 (Info-extract-menu-item, Info-extract-menu-counting)
9720 (Info-forward-node, Info-backward-node, Info-next-menu-item)
9721 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
9722 (Info-next-reference, Info-prev-reference, Info-index)
9723 (Info-index-next, Info-follow-nearest-node)
9724 (Info-copy-current-node-name):
9725 * imenu.el (imenu--make-index-alist)
9726 (imenu-default-create-index-function, imenu-add-to-menubar):
9727 * files.el (basic-save-buffer, recover-file):
9728 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
9729 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
9730 (checkdoc-message-text, checkdoc-defun):
9731 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
9732 * cus-edit.el (customize-changed-options, customize-rogue)
9733 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
9734 (custom-variable-mark-to-reset-standard)
9735 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
9736 (custom-file):
9737 * completion.el (check-completion-length):
9738 * comint.el (comint-search-arg)
9739 (comint-previous-matching-input-string-position)
9740 (comint-previous-matching-input)
9741 (comint-replace-by-expanded-history-before-point, comint-send-input)
9742 (comint-copy-old-input, comint-backward-matching-input)
9743 (comint-goto-process-mark, comint-set-process-mark):
9744 * calendar/calendar.el (calendar-cursor-to-date): Use it.
9745 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
9746
9747 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9748
9749 * dabbrev.el (dabbrev--ignore-case-p): New function.
9750 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
9751 Use it.
9752
9753 * files.el (automount-dir-prefix): Mark as obsolete.
9754
9755 2012-05-04 Glenn Morris <rgm@gnu.org>
9756
9757 * patcomp.el, play/bruce.el: Move to obsolete/.
9758
9759 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
9760
9761 Fix minor Y10k bugs.
9762 * arc-mode.el (archive-unixdate):
9763 * autoinsert.el (auto-insert-alist):
9764 * calc/calc-forms.el (math-this-year):
9765 * emacs-lisp/copyright.el (copyright-current-year)
9766 (copyright-update-year, copyright):
9767 * tar-mode.el (tar-clip-time-string):
9768 * time.el (display-time-update):
9769 Don't assume years have 4 digits.
9770
9771 2012-05-04 Chong Yidong <cyd@gnu.org>
9772
9773 * dos-w32.el (file-name-buffer-file-type-alist)
9774 (direct-print-region-use-command-dot-com):
9775 * ffap.el (ffap-menu-regexp):
9776 * find-file.el (ff-special-constructs):
9777 * follow.el (follow-debug):
9778 * forms.el (forms--debug):
9779 * iswitchb.el (iswitchb-all-frames):
9780 * ido.el (ido-all-frames):
9781 * emacs-lisp/timer.el (timer-max-repeats):
9782 * mail/feedmail.el (feedmail-mail-send-hook)
9783 (feedmail-mail-send-hook-queued):
9784 * mail/footnote.el (footnote-signature-separator):
9785 * mail/mailabbrev.el (mail-alias-separator-string)
9786 (mail-abbrev-mode-regexp):
9787 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
9788 * progmodes/idlwave.el (idlwave-libinfo-file)
9789 (idlwave-default-completion-case-is-down)
9790 (idlwave-library-routines): Convert defvars to defcustoms.
9791
9792 * mail/rmail.el (rmail-decode-mime-charset):
9793 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
9794 (idlwave-shell-fix-inserted-breaks)
9795 (idlwave-shell-activate-alt-keybindings)
9796 (idlwave-shell-use-breakpoint-glyph):
9797 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
9798
9799 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9800
9801 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
9802
9803 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
9804
9805 * progmodes/verilog-mode.el (font-lock-keywords):
9806 Fix mis-highligting auto. Reported by Craig Barner.
9807 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
9808 defines from global name space. Reported by Dan Dever.
9809 (verilog-auto-reset, verilog-auto-reset-widths)
9810 (verilog-auto-tieoff): Support using unbased numbers for
9811 AUTORESET and AUTOTIEOFF.
9812 (verilog-submit-bug-report): Update variable list.
9813 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
9814 parenthesis from not matching. Reported by Michael Rytting.
9815 (verilog-auto-template-lint): Fix hash error when linting modules
9816 with no used templates.
9817 (verilog-warn, verilog-warn-error)
9818 (verilog-warn-fatal): When non-interactive report multiple
9819 warnings before exiting. Suggested by Brad Dobbie.
9820 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
9821 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
9822 to report unused template errors. Reported by Brad Dobbie.
9823 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
9824 nets, bug438. Reported by Vns Blore.
9825 (verilog-auto-inout-module, verilog-auto-reg)
9826 (verilog-read-decls, verilog-read-sub-decls-sig)
9827 (verilog-signals-edit-wire-reg, verilog-signals-with):
9828 Fix passing of Verilog data types in ANSI input/output ports
9829 such as "output logic" into the AUTOs. Special case "wire" and
9830 "reg" for backwards compatibility presuming Verilog 2001.
9831 (verilog-auto-ascii-enum): Add "auto enum" as alias.
9832 (verilog-preprocess): Fix replication of preprocess output.
9833 Reported by Brad Dobbie.
9834 (verilog-auto-inst-interfaced-ports):
9835 Create verilog-auto-inst-interfaced-ports, bug429.
9836 Reported by Julian Gorfajn.
9837 (verilog-after-save-font-hook)
9838 (verilog-before-save-font-hook): New variable.
9839 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
9840 (verilog-save-font-mods): Wrap disabling fontification, reported
9841 by David Rogoff.
9842 (verilog-do-indent, verilog-pretty-declarations-auto)
9843 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
9844 Reported by Pierre-David Pfister.
9845 (verilog-set-auto-endcomments): Fix endtask auto comments outside
9846 of class declarations, bug292. Reported by Kevin Heilman.
9847 (verilog-read-decls): Fix 'parameter type' not appearing in
9848 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
9849 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
9850 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
9851 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
9852 Reported by David Kravitz.
9853
9854 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
9855
9856 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
9857 assignment with tests in ifs and for loops.
9858 (verilog-extended-complete-re, verilog-complete-reg): Change so
9859 that DPI inport functions don't look like fuction declarations.
9860 (verilog-pretty-expr): Don't line up assignment
9861 operations to the test and increment in if and for loops
9862 (verilog-extended-complete-re, verilog-complete-reg): Change so
9863 that DPI inport functions don't look like fuction declarations.
9864
9865 2012-05-03 Kenichi Handa <handa@m17n.org>
9866
9867 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
9868 decoding, and show a warning message without signaling an error
9869 (Bug#11282).
9870
9871 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9872
9873 * emacs-lisp/bytecomp.el
9874 (byte-compile-file-form-custom-declare-variable): Compile all elements,
9875 since cconv.el might have introduced :fun-body, internal-make-closure,
9876 and friends for bytecomp to handle (bug#11391).
9877 * custom.el (defcustom): Avoid ((λ ..) ..).
9878
9879 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
9880
9881 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
9882
9883 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
9884
9885 * notifications.el (dbus-debug):
9886 * term/linux.el (gpm-mouse-enable):
9887 * term/screen.el (xterm-register-default-colors): Declare.
9888
9889 2012-05-02 Chong Yidong <cyd@gnu.org>
9890
9891 * cus-start.el (gc-cons-percentage, exec-suffixes)
9892 (dos-display-scancodes, dos-hyper-key, dos-super-key)
9893 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
9894 (make-cursor-line-fully-visible, void-text-area-pointer)
9895 (font-list-limit): Add customization data.
9896
9897 * allout.el (allout-exposure-change-functions)
9898 (allout-structure-added-functions)
9899 (allout-structure-deleted-functions)
9900 (allout-structure-shifted-functions): Rename abnormal hooks from
9901 *-hook, and convert to defcustoms.
9902 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
9903 Convert to defcustoms.
9904 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
9905
9906 * allout-widgets.el: Hook callers changed.
9907
9908 2012-05-02 Eli Zaretskii <eliz@gnu.org>
9909
9910 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
9911 the yanked message in preference to the default value of
9912 buffer-file-coding-system.
9913
9914 2012-05-02 Martin Rudalics <rudalics@gmx.at>
9915
9916 * window.el (display-buffer--action-function-custom-type):
9917 Fix entry.
9918
9919 2012-05-02 Alan Mackenzie <acm@muc.de>
9920
9921 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
9922
9923 2012-05-01 Glenn Morris <rgm@gnu.org>
9924
9925 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
9926
9927 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
9928
9929 * cus-edit.el (custom-variable-documentation): Simplify with format.
9930
9931 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9932 Stefan Monnier <monnier@iro.umontreal.ca>
9933
9934 * simple.el (suggest-key-bindings, execute-extended-command):
9935 Move from keyboard.c.
9936
9937 2012-05-01 Chong Yidong <cyd@gnu.org>
9938
9939 * follow.el: Eliminate advice.
9940 (set-process-filter, process-filter, sit-for): Advice deleted.
9941 (follow-mode-off-hook): Obsolete hook removed.
9942 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
9943 Vars deleted.
9944 (follow-auto): Use a :set function.
9945 (follow-mode): Rewritten. Don't advise process filters.
9946 (follow-switch-to-current-buffer-all, follow-scroll-up)
9947 (follow-scroll-down): Assume follow-mode is bound.
9948 (follow-comint-scroll-to-bottom)
9949 (follow-align-compilation-windows): New functions.
9950 (follow--window-sorter): New function.
9951 (follow-all-followers): Use it to explicitly sort windows by their
9952 positions; don't make assumptions about next-window order.
9953 (follow-windows-start-end, follow-delete-other-windows-and-split)
9954 (follow-calc-win-start): Doc fix.
9955 (follow-windows-aligned-p, follow-select-if-visible): Don't call
9956 vertical-motion unnecessarily.
9957 (follow-adjust-window): New function.
9958 (follow-post-command-hook): Use it.
9959 (follow-call-set-process-filter, follow-call-process-filter)
9960 (follow-intercept-process-output, follow-tidy-process-filter-alist)
9961 (follow-stop-intercept-process-output, follow-generic-filter):
9962 Functions deleted.
9963 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
9964 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
9965 New functions, replacing advice on scroll-bar-* commands.
9966 (follow-mwheel-scroll): New function (Bug#4112).
9967
9968 * comint.el (comint-adjust-point): New function.
9969 (comint-postoutput-scroll-to-bottom): Use it.
9970 Call follow-comint-scroll-to-bottom for Follow mode buffers.
9971
9972 2012-05-01 Glenn Morris <rgm@gnu.org>
9973
9974 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
9975 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
9976 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
9977 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
9978 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
9979 Remove no-byte-compile setting.
9980
9981 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
9982
9983 * minibuffer.el (completion-table-with-quoting): Fix compatibility
9984 all-completions code to not return a number in the last cdr.
9985
9986 2012-04-30 Leo Liu <sdl.web@gmail.com>
9987
9988 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
9989 read-only error.
9990
9991 2012-04-29 Chong Yidong <cyd@gnu.org>
9992
9993 * follow.el (follow-calc-win-end): Rewrite to handle partial
9994 screen lines correctly (Bug#8390).
9995 (follow-avoid-tail-recenter): Minor cleanup.
9996
9997 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9998
9999 Avoid the obsolete `assoc' package.
10000 * speedbar.el (speedbar-refresh): Avoid adelete.
10001 (speedbar-file-lists): Simplify and avoid aput.
10002 * man.el (Man--sections, Man--refpages): New vars, replacing
10003 Man-sections-alist and Man-refpages-alist.
10004 (Man-build-section-alist, Man-build-references-alist):
10005 Use them; avoid aput.
10006 (Man--last-section, Man--last-refpage): New vars.
10007 (Man-follow-manual-reference): Use them.
10008 Use the `default' arg of completing-read.
10009 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
10010
10011 2012-04-27 Chong Yidong <cyd@gnu.org>
10012
10013 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
10014
10015 * startup.el (x-apply-session-resources): New function.
10016
10017 * term/ns-win.el (ns-initialize-window-system):
10018 * term/w32-win.el (w32-initialize-window-system):
10019 * term/x-win.el (x-initialize-window-system): Use it to properly
10020 set menu-bar-mode and other vars from X resources, even if the
10021 initial frame is not a window-system frame (Bug#2299).
10022
10023 * subr.el (read-key): Avoid running filter function when setting
10024 up temporary tool bar entries (Bug#9922).
10025
10026 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
10027
10028 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
10029 (Bug#11344)
10030
10031 2012-04-27 Chong Yidong <cyd@gnu.org>
10032
10033 * select.el (xselect--encode-string): New function, split from
10034 xselect-convert-to-string.
10035 (xselect-convert-to-string): Use it.
10036 (xselect-convert-to-filename, xselect-convert-to-os)
10037 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
10038 returned strings are properly encoded (Bug#11315).
10039
10040 2012-04-27 Chong Yidong <cyd@gnu.org>
10041
10042 * simple.el (delete-active-region): Move to killing custom group.
10043
10044 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
10045
10046 * progmodes/which-func.el (which-func-current): Quote %
10047 characters for mode-line processing.
10048
10049 2012-04-27 Chong Yidong <cyd@gnu.org>
10050
10051 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
10052 reaching eob (Bug#11286).
10053
10054 2012-04-27 Eli Zaretskii <eliz@gnu.org>
10055
10056 * progmodes/gdb-mi.el (gdb-control-level): New variable.
10057 (gdb): Make it buffer-local and init to zero.
10058 (gdb-control-commands-regexp): New variable.
10059 (gdb-send): Don't wrap in "-interpreter-exec console" if
10060 gdb-control-level is positive. Increment gdb-control-level
10061 whenever the command matches gdb-control-commands-regexp, and
10062 decrement it each time the command is "end". (Bug#11279)
10063
10064 2012-04-27 Martin Rudalics <rudalics@gmx.at>
10065
10066 * window.el (adjust-window-trailing-edge, enlarge-window)
10067 (shrink-window, window-resize):
10068 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
10069 windows (Bug#11276).
10070
10071 2012-04-27 Chong Yidong <cyd@gnu.org>
10072
10073 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
10074 fix "missing prefix" warning. All callers changed.
10075
10076 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10077
10078 * emacs-lisp/assoc.el: Move to obsolete/.
10079
10080 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10081
10082 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
10083
10084 * term/ns-win.el (ns-define-service):
10085 * progmodes/pascal.el (pascal-goto-defun):
10086 * progmodes/js.el (js--read-tab):
10087 * progmodes/etags.el (tags-lazy-completion-table):
10088 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
10089 * emacs-lisp/ewoc.el (ewoc--wrap):
10090 * emacs-lisp/assoc.el (aput, adelete, amake):
10091 * doc-view.el (doc-view-convert-current-doc):
10092 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
10093
10094 2012-04-26 Chong Yidong <cyd@gnu.org>
10095
10096 * image.el (image-type-from-buffer): Only return supported image
10097 type (Bug#9045).
10098
10099 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
10100 value, for symmetry with diff-end-of-hunk.
10101 (diff-split-hunk, diff-find-source-location)
10102 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
10103 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
10104 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
10105 compute the relevant hunk or file properly (Bug#6005).
10106 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
10107
10108 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10109
10110 * vc/vc-mtn.el:
10111 * vc/vc-hg.el:
10112 * vc/vc-git.el:
10113 * vc/vc-dir.el:
10114 * vc/vc-cvs.el:
10115 * vc/vc-bzr.el:
10116 * vc/vc-arch.el:
10117 * vc/vc.el: Replace lexical-let by lexical-binding.
10118 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
10119 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
10120 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
10121
10122 2012-04-26 Chong Yidong <cyd@gnu.org>
10123
10124 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
10125 (diff-mode-shared-map): Bind it to / and [remap undo].
10126
10127 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
10128 (ediff-window-setup-function): Use it as the default, to set up
10129 windows based on whether the current frame is graphical (Bug#2138).
10130 (ediff-choose-window-setup-function-automatically): Make obsolete.
10131
10132 * vc/ediff-init.el: Always define ediff-pixel-width/height.
10133
10134 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10135
10136 * ffap.el: Remove old code for obsolete package.
10137 (ffap-complete-as-file-p): Remove.
10138
10139 Use completion-table-with-quoting for comint and pcomplete.
10140 * comint.el (comint--unquote&requote-argument)
10141 (comint--unquote-argument, comint--requote-argument): New functions.
10142 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
10143 (comint-quote-filename): Use regexp-opt-charset.
10144 (comint--common-suffix, comint--common-quoted-suffix)
10145 (comint--table-subvert): Remove.
10146 (comint-unquote-function, comint-requote-function): New vars.
10147 (comint--complete-file-name-data): Use them with
10148 completion-table-with-quoting.
10149 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
10150 * pcomplete.el (pcomplete-arg-quote-list)
10151 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
10152 (pcomplete-unquote-argument-function): Default to non-nil.
10153 (pcomplete-unquote-argument): Simplify.
10154 (pcomplete--common-quoted-suffix): Remove.
10155 (pcomplete-requote-argument-function): New var.
10156 (pcomplete--common-suffix): New function.
10157 (pcomplete-completions-at-point): Use completion-table-with-quoting
10158 and completion-table-subvert.
10159
10160 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
10161 (minibuffer--double-dollars): Preserve properties.
10162 (completion--sifn-requote): New function.
10163 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
10164
10165 * minibuffer.el: Add support for completion of quoted/escaped data.
10166 (completion-table-with-quoting, completion-table-subvert): New funs.
10167 (completion--twq-try, completion--twq-all): New functions.
10168 (completion--nth-completion): New function.
10169 (completion-try-completion, completion-all-completions): Use it.
10170
10171 2012-04-25 Leo Liu <sdl.web@gmail.com>
10172
10173 * progmodes/python.el (python-pdbtrack-get-source-buffer):
10174 Use compilation-message if available to find real filename.
10175
10176 2012-04-25 Chong Yidong <cyd@gnu.org>
10177
10178 * vc/diff-mode.el (diff-setup-whitespace): New function.
10179 (diff-mode): Use it.
10180
10181 * vc/diff.el (diff-sentinel):
10182 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
10183 Whitespace mode variables based on diff style (Bug#8612).
10184
10185 2012-04-25 Leo Liu <sdl.web@gmail.com>
10186
10187 * progmodes/python.el (python-send-region): Add suffix .py to the
10188 temp file.
10189
10190 * files.el (auto-mode-alist): Use javascript-mode instead.
10191
10192 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
10193
10194 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
10195
10196 * net/soap-client.el (soap-resolve-references-for-sequence-type)
10197 (soap-resolve-references-for-array-type): Hack to prevent self
10198 references, see Bug#9.
10199 (soap-parse-envelope): Report the contents of the 'detail' node
10200 when receiving a fault reply.
10201 (soap-parse-envelope): Report the contents of the entire 'detail' node.
10202
10203 * net/soap-inspect.el (soap-sample-value-for-simple-type)
10204 (soap-inspect-simple-type): New function.
10205
10206 * net/soap-client.el (soap-simple-type): New struct.
10207 (soap-default-xsd-types, soap-default-soapenc-types)
10208 (soap-decode-basic-type, soap-encode-basic-type):
10209 support unsignedInt and double basic types.
10210 (soap-resolve-references-for-simple-type)
10211 (soap-parse-simple-type, soap-encode-simple-type): New function.
10212 (soap-parse-schema): Parse xsd:simpleType declarations.
10213
10214 * net/soap-client.el (soap-default-xsd-types)
10215 (soap-default-soapenc-types): Add integer, byte and anyURI types.
10216 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
10217 the local name of "soapenc:Array".
10218 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
10219 decoding integer, byte and anyURI xsd types.
10220
10221 2012-04-25 Chong Yidong <cyd@gnu.org>
10222
10223 * cus-edit.el (custom-buffer-create-internal): Update header text.
10224
10225 2012-04-25 Eli Zaretskii <eliz@gnu.org>
10226
10227 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
10228 settings on 'system-type', not on 'window-system'. On MS-Windows,
10229 set interactive-mode on in GDB.
10230
10231 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10232
10233 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
10234 (ruby-syntax-propertize-regexp): Remove.
10235 (ruby-syntax-propertize-function): Split regexp into chunks.
10236 Match following code directly.
10237
10238 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
10239
10240 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
10241 (ruby-syntax-propertize-regexp): New function.
10242 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
10243 by a special keyword.
10244
10245 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
10246 (ruby-syntax-general-delimiters-goto-beg)
10247 (ruby-syntax-propertize-general-delimiters): New functions.
10248 (ruby-syntax-propertize-function): Use them to handle GDL.
10249 (ruby-font-lock-keywords): Move old handling of GDL...
10250 (ruby-font-lock-syntactic-keywords): .. to here.
10251 (ruby-calculate-indent): Adjust indentation for GDL.
10252
10253 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
10254
10255 * notifications.el (top): Remove unneeded declarations.
10256 (notifications-specification-version): Change to "1.2".
10257 (notifications-interface, notifications-notify-method)
10258 (notifications-close-notification-method): Fix docstring.
10259 (notifications-get-capabilities-method): New defconst.
10260 (notifications-notify): Add :action-items, :resident and
10261 :transient hints. Change "image_data" to "image-data" and
10262 "image_path" to "image-path".
10263 (notifications-get-capabilities): New defun.
10264
10265 2012-04-24 Leo Liu <sdl.web@gmail.com>
10266
10267 * progmodes/python.el: Move hideshow setup to the end.
10268
10269 2012-04-24 Martin Rudalics <rudalics@gmx.at>
10270
10271 * window.el (handle-select-window): Clear echo area since this is
10272 no more done by read_char (Bug#11304).
10273
10274 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10275
10276 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
10277 and `/ M' to filter-derived-mode.
10278 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
10279 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
10280 (ibuffer-mark-by-mode): Use default rather than initial-input.
10281 (ibuffer-filter-by-derived-mode): Autoload and require-match.
10282
10283 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
10284
10285 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
10286 (ibuffer-filter-by-derived-mode): New filter.
10287 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
10288
10289 2012-04-23 Andreas Politz <politza@fh-trier.de>
10290
10291 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
10292
10293 2012-04-23 Chong Yidong <cyd@gnu.org>
10294
10295 * cus-edit.el (customize-apropos, customize-apropos-options):
10296 Disable matching of non-option variables (Bug#11176).
10297 (customize-option, customize-option-other-window)
10298 (customize-changed-options): Doc fix.
10299 (customize-apropos-options, customize-apropos-faces)
10300 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
10301
10302 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
10303 Fix word list splitting (Bug#11132).
10304 (apropos-symbol, apropos-keybinding, apropos-label)
10305 (apropos-property, apropos-function-button)
10306 (apropos-variable-button, apropos-misc-button): New faces.
10307 (apropos-symbol-face, apropos-keybinding-face)
10308 (apropos-label-face, apropos-property-face, apropos-match-face):
10309 Variables removed (Bug#8396).
10310 (apropos-library-button, apropos-format-plist, apropos-print)
10311 (apropos-print-doc, apropos-describe-plist): Callers changed.
10312
10313 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
10314
10315 * net/xesam.el (xesam-mode-map): Use let-bound map in
10316 initialization. (Bug#11292)
10317
10318 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10319
10320 Preserve ispell session localwords when switching back to
10321 original buffer.
10322
10323 * textmodes/ispell.el (ispell-buffer-session-localwords):
10324 New buffer-local variable to hold buffer session localwords.
10325 (ispell-kill-ispell): Add option 'clear to delete session
10326 localwords.
10327 (ispell-command-loop, ispell-change-dictionary)
10328 (ispell-buffer-local-words): Preserve session localwords when
10329 needed.
10330
10331 * textmodes/flyspell.el (flyspell-process-localwords)
10332 (flyspell-do-correct): Preserve session localwords when needed.
10333
10334 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10335
10336 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
10337 using obsolete `translation-table-for-input'.
10338 (ispell-word, ispell-process-line, ispell-complete-word):
10339 Use plain `insert' instead of removed `ispell-insert-word'.
10340
10341 2012-04-22 Chong Yidong <cyd@gnu.org>
10342
10343 * cus-edit.el (custom-variable-menu)
10344 (custom-variable-reset-saved, custom-face-menu)
10345 (custom-face-reset-saved): If there is no saved value, make the
10346 "reset-saved" operation bring back the default (Bug#9509).
10347 (custom-face-state): Properly detect themed faces.
10348
10349 * faces.el (face-spec-set): Stop supporting deprecated form of
10350 third arg.
10351
10352 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
10353
10354 Move functions from C to Lisp. Make non-blocking method calls
10355 the default. Implement further D-Bus standard interfaces.
10356
10357 * net/dbus.el (dbus-message-internal): Declare function.
10358 Remove unneeded function declarations.
10359 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
10360 (dbus-message-type-method-return, dbus-message-type-error)
10361 (dbus-message-type-signal): Declare variables. Remove local
10362 definitions.
10363 (dbus-interface-dbus, dbus-interface-peer)
10364 (dbus-interface-introspectable, dbus-interface-properties)
10365 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
10366 Adapt docstring.
10367 (dbus-interface-objectmanager): New defconst.
10368 (dbus-call-method, dbus-call-method-asynchronously)
10369 (dbus-send-signal, dbus-method-return-internal)
10370 (dbus-method-error-internal, dbus-register-service)
10371 (dbus-register-signal, dbus-register-method): New defuns, moved
10372 from dbusbind.c
10373 (dbus-call-method-handler, dbus-setenv)
10374 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
10375 New defuns.
10376 (dbus-call-method-non-blocking): Make it an obsolete function.
10377 (dbus-unregister-object, dbus-unregister-service)
10378 (dbus-handle-event, dbus-register-property)
10379 (dbus-property-handler): Obey the new structure of
10380 `bus-registered-objects'.
10381 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
10382 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
10383 Use `dbus-call-method'.
10384
10385 2012-04-22 Chong Yidong <cyd@gnu.org>
10386
10387 * cus-edit.el (custom-commands, custom-reset-menu)
10388 (Custom-reset-standard): Tweak labels.
10389 (custom-reset-button-menu): Change default to t.
10390 (custom-buffer-create-internal): For the custom-reset-button-menu
10391 case, put the revert button first.
10392 (custom-group-subtitle): New face.
10393 (custom-group-value-create): Align docstring to a specific column.
10394
10395 * wid-edit.el (widget-documentation-link-add): Don't handle
10396 indentation in this function.
10397 (widget-documentation-string-indent-to): New function.
10398 (widget-documentation-string-value-create): Use it.
10399
10400 * autorevert.el (auto-revert):
10401 * epg-config.el (epg):
10402 * ibuffer.el (ibuffer):
10403 * mpc.el (mpc):
10404 * ses.el (ses):
10405 * eshell/eshell.el (eshell):
10406 * net/ange-ftp.el (ange-ftp):
10407 * progmodes/ebnf2ps.el (postscript):
10408 * progmodes/flymake.el (flymake):
10409 * progmodes/prolog.el (prolog):
10410 * progmodes/verilog-mode.el (verilog-mode):
10411 * progmodes/which-func.el (which-func):
10412 * term/xterm.el (xterm):
10413 * textmodes/picture.el (picture):
10414 * textmodes/tildify.el (tildify):
10415 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
10416 customization buffers.
10417
10418 2012-04-22 Alan Mackenzie <acm@muc.de>
10419
10420 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
10421 Adding a ) can hide the resulting (..) from searches. Fix it.
10422 Bound the backward search to the position of the existing (.
10423
10424 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
10425
10426 * progmodes/verilog-mode.el (verilog-mode): Check whether
10427 which-func-modes is t before adding verilog-mode.
10428 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
10429
10430 2012-04-21 Leo Liu <sdl.web@gmail.com>
10431
10432 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
10433
10434 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
10435
10436 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
10437 filling of the last column of a table (Bug#5635).
10438 (woman-find-next-control-line): New arg, specifying an additional
10439 regexp component for the control line.
10440 (woman2-roff-buffer): Use it.
10441 (woman-break-table): New function.
10442 (woman2-TS): Use it.
10443
10444 2012-04-21 Chong Yidong <cyd@gnu.org>
10445
10446 * woman.el (woman-set-buffer-display-table, woman-decode-region)
10447 (woman-horizontal-escapes, woman-negative-vertical-space)
10448 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
10449 (WoMan-warn-ignored): Use ?\s instead of ?\ .
10450
10451 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10452
10453 * minibuffer.el (completion-file-name-table): Complete user names.
10454
10455 2012-04-20 Leo Liu <sdl.web@gmail.com>
10456
10457 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
10458 and pcase-let*.
10459
10460 2012-04-20 Chong Yidong <cyd@gnu.org>
10461
10462 * server.el (server-execute): Respect initial-buffer-choice if it
10463 is a string and there are no files to open (Bug#2825).
10464 (server-create-window-system-frame, server-create-tty-frame):
10465 Don't switch buffers here.
10466 (server-process-filter): Only try to open a window system frame if
10467 compiled with graphical support (Bug#8314).
10468
10469 2012-04-20 Dan Nicolaescu <dann@gnu.org>
10470
10471 * battery.el (battery-echo-area-format): Display remaining time
10472 for sysfs backend too (Bug#11269).
10473 (battery-linux-sysfs): Fix conditional for the charge.
10474
10475 2012-04-20 Chong Yidong <cyd@gnu.org>
10476
10477 * progmodes/gdb-mi.el (gdb): Revert previous change.
10478 (gdb-inferior-io--init-proc): New function.
10479 (gdb-init-1): Use it.
10480 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
10481 responsible for allocating a new pty and hooking it to gdb when
10482 the old pty gets an EIO due to process exit.
10483 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
10484 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
10485 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
10486
10487 2012-04-20 Eli Zaretskii <eliz@gnu.org>
10488
10489 * window.el (window-min-size, window-sizable, window-min-delta)
10490 (window-max-delta, window--resizable, window-resizable)
10491 (window-total-size, window-full-height-p, window-full-width-p)
10492 (window-in-direction, window--resize-mini-window, window-resize)
10493 (window--resize-child-windows-normal)
10494 (window--resize-child-windows, window--resize-siblings)
10495 (window--resize-this-window, adjust-window-trailing-edge)
10496 (enlarge-window, shrink-window): Doc fixes.
10497
10498 2012-04-20 Chong Yidong <cyd@gnu.org>
10499
10500 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
10501 New function to call delete-process on the gdb-inferior buffer's pty.
10502 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
10503 pty process (Bug#11273).
10504 (gdb-update): New arg to suppress talking to the gdb process.
10505 (gdb-done-or-error): Use it.
10506 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
10507 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
10508 sentinel not being called.
10509
10510 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
10511
10512 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
10513
10514 2012-04-20 Glenn Morris <rgm@gnu.org>
10515
10516 * net/network-stream.el (open-network-stream): Doc fix.
10517
10518 2012-04-20 Chong Yidong <cyd@gnu.org>
10519
10520 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
10521
10522 2012-04-20 Alan Mackenzie <acm@muc.de>
10523
10524 Ensure searching for keywords is case sensitive.
10525
10526 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
10527 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
10528 (c-defun-name, c-mark-function, c-cpp-define-name)
10529 (c-comment-indent, c-scan-conditionals, c-indent-defun)
10530 (c-context-line-break): Bind case-fold-search to nil.
10531
10532 * progmodes/cc-mode.el (c-font-lock-fontify-region):
10533 Bind case-fold-search to nil.
10534
10535 2012-04-20 Chong Yidong <cyd@gnu.org>
10536
10537 * mail/sendmail.el (mail-bury): Call return action with the right
10538 Rmail buffer (Bug#11242).
10539
10540 * server.el (server-process-filter): Handle corner case where both
10541 tty and nowait options are present (Bug#11102).
10542
10543 2012-04-20 Eli Zaretskii <eliz@gnu.org>
10544
10545 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
10546 (top level): Put into the executable the ident-style '$Id:' tag on
10547 windows-nt as well.
10548
10549 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10550
10551 * electric.el (electric-indent-post-self-insert-function): Check that
10552 electric-indent-mode is enabled in current buffer.
10553
10554 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
10555
10556 * imenu.el (imenu-progress-message): Restore; it is "used" in
10557 erc/erc-imenu.el and net/snmp-mode.el.
10558
10559 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
10560
10561 * avoid.el (mouse-avoidance-mode): Mark unused arg.
10562 (mouse-avoidance-nudge-mouse): Remove unused binding.
10563
10564 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
10565
10566 * descr-text.el (describe-char):
10567 * progmodes/python.el (python-describe-symbol):
10568 Don't call `toggle-read-only', set `buffer-read-only'.
10569
10570 * imenu.el (imenu-default-goto-function): Mark unused args.
10571 (imenu-progress-message): Remove obsolete macro; all callers changed.
10572
10573 * subr.el (keymap-canonicalize): Remove unused binding.
10574 (read-passwd): Mark unused arg.
10575
10576 * tutorial.el (tutorial--display-changes): Remove unused binding.
10577 (tutorial--save-tutorial-to): Remove unused variable.
10578
10579 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
10580 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
10581 (package-generate-autoloads, package-menu--generate)
10582 (package-menu--find-upgrades): Remove unused bindings.
10583
10584 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
10585 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
10586 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
10587 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
10588 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
10589 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
10590 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
10591 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
10592 (cua-delete-char-rectangle): Mark unused args.
10593 (cua-align-rectangle): Remove unused binding.
10594
10595 * mail/rmail.el (compilation--message->loc)
10596 (epa--find-coding-system-for-mime-charset): Declare.
10597
10598 * net/dbus.el (dbus-register-service): Declare.
10599 (dbus-name-owner-changed-handler): Remove unused binding.
10600
10601 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
10602 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
10603 (nxml-scan-backward-within): Mark unused arg.
10604 (nxml-dynamic-markup-word): Remove unused binding.
10605
10606 * mouse.el (mouse-menu-major-mode-map):
10607 * emacs-lisp/authors.el (authors-scan-change-log)
10608 (authors-add-to-author-list):
10609 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
10610 * emacs-lisp/smie.el (smie-auto-fill):
10611 * mail/sendmail.el (mail-bury):
10612 * mail/unrmail.el (unrmail):
10613 * net/tls.el (open-tls-stream):
10614 * textmodes/picture.el (picture-mouse-set-point):
10615 Remove unused bindings.
10616
10617 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
10618
10619 * net/tramp.el (tramp-action-password): Let-bind
10620 `enable-recursive-minibuffers' to t.
10621
10622 2012-04-18 Sam Steingold <sds@gnu.org>
10623
10624 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
10625 instead of 'string to accommodate values like [f11].
10626 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
10627 * progmodes/gdb-mi.el: Likewise.
10628
10629 2012-04-18 Leo Liu <sdl.web@gmail.com>
10630
10631 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
10632 current buffer.
10633 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
10634 LOCAL is nil.
10635
10636 2012-04-18 Chong Yidong <cyd@gnu.org>
10637
10638 * simple.el (line-move): Use forward-line if in batch mode
10639 (Bug#11053).
10640
10641 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
10642
10643 * files.el (after-find-file): Do not try to add a final newline if
10644 the buffer is read-only (Bug#11156).
10645
10646 2012-04-17 Richard Stallman <rms@gnu.org>
10647
10648 * mail/rmail.el (rmail-start-mail):
10649 Pass (rmail-mail-return...) for the return-action.
10650 Pass (rmail-yank-current-message...) for the yank-action.
10651 (rmail-yank-current-message): New function.
10652 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
10653 (rmail-reply): Likewise.
10654 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
10655
10656 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
10657 buffer, not the last. Reject temp buffers. Use the rmail-mode
10658 buffer, not newbuf.
10659
10660 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
10661
10662 * server.el (server-ensure-safe-dir): Simplify.
10663
10664 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10665
10666 * emacs-lisp/smie.el: Provide smarter auto-filling.
10667 (smie-auto-fill): New function.
10668 (smie-setup): Use it.
10669
10670 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
10671
10672 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
10673
10674 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
10675 (comment-indent): Use it.
10676
10677 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
10678
10679 * ses.el: The overall change is to add cell renaming, that is
10680 setting fancy names for cell symbols other than name matching
10681 "\\`[A-Z]+[0-9]+\\'" regexp .
10682 (ses-localvars): Add ses--renamed-cell-symb-list.
10683 (ses-create-cell-variable): New defun.
10684 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
10685 (ses-relocate-formula): Relocate formulas only for cells the
10686 symbols of which are not renamed, i.e. symbols whose names do not
10687 match regexp "\\`[A-Z]+[0-9]+\\'".
10688 (ses-relocate-all): Relocate values only for cells the symbols of
10689 which are not renamed.
10690 (ses-load): Create cells variables as the (ses-cell ...) are read,
10691 in order to check row col consistency with cell symbol name only
10692 for cells that are not renamed.
10693 (ses-replace-name-in-formula): New defun.
10694 (ses-rename-cell): New defun.
10695
10696 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
10697
10698 * progmodes/perl-mode.el (perl-indent-parens-as-block):
10699 New option (bug#11118).
10700 (perl-calculate-indent): Respect it.
10701
10702 2012-04-17 Glenn Morris <rgm@gnu.org>
10703
10704 * dired-aux.el (dired-mark-read-string): Doc fix.
10705
10706 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
10707
10708 * dired-aux.el (dired-mark-read-string): Offer optional completion.
10709 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
10710
10711 2012-04-17 Glenn Morris <rgm@gnu.org>
10712
10713 * mouse.el (mouse-drag-track):
10714 * speedbar.el (speedbar-frame-mode):
10715 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
10716
10717 2012-04-16 Leo Liu <sdl.web@gmail.com>
10718
10719 * progmodes/python.el: Trivial cleanup.
10720
10721 2012-04-16 Glenn Morris <rgm@gnu.org>
10722
10723 * vc/vc.el (vc-string-prefix-p):
10724 * vc/pcvs-util.el (cvs-string-prefix-p):
10725 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
10726 * mpc.el (mpc-string-prefix-p):
10727 Make all of these into obsolete aliases for string-prefix-p.
10728 Update callers.
10729 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
10730
10731 * textmodes/two-column.el: Move custom options to the start.
10732 (frame-width): Remove compat definition.
10733 (2C-associate-buffer, 2C-dissociate):
10734 Use with-current-buffer rather than save-excursion.
10735 (2C-dissociate): Force a mode-line update.
10736 (2C-autoscroll): Use ignore-errors.
10737
10738 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
10739 Autoload trivia.
10740
10741 * emacs-lisp/cl-extra.el (*random-state*):
10742 Remove unnecessary declaration.
10743
10744 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
10745
10746 * play/cookie1.el (cookie-snarf):
10747 Give an explicit error if input file cannot be read.
10748
10749 * play/yow.el (yow-file): Use expand-file-name rather than concat.
10750
10751 * progmodes/perl-mode.el (c-macro-expand):
10752 Remove unnecessary autoload (it is in loaddefs.el).
10753
10754 * textmodes/picture.el (picture-desired-column)
10755 (picture-update-desired-column): Convert comments to doc-strings.
10756 (picture-substitute): Remove function.
10757 (picture-mode-map): Initialize in the defvar.
10758
10759 * woman.el: Remove eval-after-load for tar-mode.
10760 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
10761 (woman-tar-extract-file): Autoload it.
10762
10763 * frame.el (automatic-hscrolling): Make this alias obsolete.
10764
10765 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10766
10767 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
10768 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
10769 (ispell-dictionary-base-alist): Revert to original XEmacs
10770 friendly version for default. [:alpha:] will be added in
10771 `ispell-set-spellchecker-params' if needed.
10772
10773 2012-04-16 Chong Yidong <cyd@gnu.org>
10774
10775 * image.el (imagemagick--file-regexp): New variable.
10776 (imagemagick-register-types): Use it.
10777 (imagemagick-types-inhibit): Add :set function. Allow new value
10778 of t to inhibit all types.
10779
10780 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
10781 so we can preload it.
10782
10783 * loadup.el (fboundp): Preload regexp-opt, needed by
10784 imagemagick-register-types.
10785
10786 2012-04-15 Chong Yidong <cyd@gnu.org>
10787
10788 * frame.el (scrolling): Remove nearly unused customization group.
10789
10790 * scroll-all.el (scroll-all-mode): Move to windows group.
10791
10792 2012-04-15 Chong Yidong <cyd@gnu.org>
10793
10794 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
10795
10796 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10797
10798 Avoid the use of ((lambda ...) ...) in lexical-binding code.
10799 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
10800
10801 2012-04-15 Glenn Morris <rgm@gnu.org>
10802
10803 * simple.el (process-file-side-effects): Doc fix.
10804
10805 2012-04-15 Glenn Morris <rgm@gnu.org>
10806
10807 * international/mule-cmds.el (set-language-environment): Doc fix.
10808
10809 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
10810
10811 * server.el (server-auth-key, server-generate-key): Doc fixes.
10812 (server-get-auth-key): Doc fix. Use `string-match-p'.
10813 (server-start): Reflow docstring.
10814
10815 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
10816
10817 * server.el (server-generate-key): `called-interactively-p'
10818 requires a parameter.
10819
10820 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
10821
10822 * server.el (server-auth-key): New variable.
10823 (server-generate-key, server-get-auth-key): New function.
10824 (server-start): Use the new variable and functions to allow
10825 setting a permanent server key (bug#9423).
10826
10827 2012-04-14 Leo Liu <sdl.web@gmail.com>
10828
10829 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
10830
10831 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
10832
10833 Spelling fixes.
10834 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
10835 Emacs uses American spelling.
10836
10837 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
10838
10839 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
10840 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
10841 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
10842 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
10843
10844 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10845
10846 * progmodes/which-func.el (which-func-modes): Change default.
10847
10848 2012-04-14 Kim F. Storm <storm@cua.dk>
10849
10850 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
10851 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
10852
10853 2012-04-14 Chong Yidong <cyd@gnu.org>
10854
10855 * custom.el (custom-theme-set-variables): Doc fix.
10856
10857 2012-04-14 Glenn Morris <rgm@gnu.org>
10858
10859 * international/mule.el (set-auto-coding-for-load): Doc fix.
10860
10861 2012-04-14 Alan Mackenzie <acm@muc.de>
10862
10863 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
10864 imenu work again for Objective C Mode. Correct the *-index values,
10865 these having been disturbed by a previous change in 2011-08.
10866
10867 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
10868 Correct two search limits.
10869
10870 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10871
10872 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
10873
10874 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
10875
10876 * international/characters.el: Fix sorting.
10877
10878 2012-04-14 Eli Zaretskii <eliz@gnu.org>
10879
10880 * international/characters.el: Add more missing Latin case pairs.
10881
10882 2012-04-14 Glenn Morris <rgm@gnu.org>
10883
10884 * files.el (dir-locals-set-class-variables): Doc fix.
10885
10886 2012-04-14 Eli Zaretskii <eliz@gnu.org>
10887
10888 * international/characters.el: Add set-case-syntax-pair call for
10889 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
10890 counterpart. (Bug#11209)
10891
10892 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
10893
10894 2012-04-14 Glenn Morris <rgm@gnu.org>
10895
10896 * calendar/holidays.el (calendar-check-holidays): Doc fix.
10897
10898 2012-04-14 Eli Zaretskii <eliz@gnu.org>
10899
10900 * textmodes/ispell.el (ispell-dictionary-base-alist):
10901 Add data for Hebrew.
10902
10903 2012-04-14 Chong Yidong <cyd@gnu.org>
10904
10905 * net/rcirc.el (rcirc-cmd-quit):
10906 Revert 2012-03-18 change (Bug#11192).
10907
10908 2012-04-14 Glenn Morris <rgm@gnu.org>
10909
10910 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
10911
10912 2012-04-14 Eli Zaretskii <eliz@gnu.org>
10913
10914 * minibuffer.el (completion-in-region-mode-map):
10915 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
10916
10917 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
10918
10919 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
10920
10921 2012-04-13 Masatake YAMATO <yamato@redhat.com>
10922
10923 * minibuffer.el (minibuffer-local-filename-syntax): New variable
10924 to allow `C-M-f' and `C-M-b' to move to the nearest path
10925 separator (bug#9511).
10926
10927 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
10928
10929 * avoid.el: Require cl when compiling. And also move the
10930 `provide' to the end.
10931
10932 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10933
10934 * avoid.el (mouse-avoidance-banish-position): New variable.
10935 (mouse-avoidance-banish-destination): Use it (bug#10165).
10936
10937 2012-04-13 Leo Liu <sdl.web@gmail.com>
10938
10939 * progmodes/which-func.el (which-func-modes): Add objc-mode.
10940
10941 2012-04-13 Ken Brown <kbrown@cornell.edu>
10942
10943 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
10944 this is no longer needed now that cygstart understands file:// URLs.
10945 (browse-url-filename-alist): For the same reason, don't modify
10946 file:// URLs on Cygwin.
10947
10948 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
10949
10950 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
10951 the region on shift if the binding is already shifted (bug#11221).
10952
10953 2012-04-12 Glenn Morris <rgm@gnu.org>
10954
10955 * mail/mailpost.el: Move to obsolete/.
10956
10957 2012-04-12 Drew Adams <drew.adams@oracle.com>
10958
10959 * imenu.el (imenu--generic-function): Ignore invisible definitions
10960 (bug#10123).
10961
10962 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
10963
10964 * hexl.el (hexl-bits): New variable.
10965 (hexl-options): Mention the variable in the doc string.
10966 (hexl-rulerise, hexl-line-displen): New functions.
10967 (hexl-mode): Mention the new variable.
10968 (hexl-mode, hexl-current-address, hexl-current-address):
10969 Use the displen.
10970 (hexl-ascii-start-column): New function.
10971 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
10972 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
10973
10974 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10975
10976 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
10977 '("-i" ENCODING), in 2 separate command-line arguments, to specify
10978 the encoding, as expected by hunspell.
10979
10980 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
10981
10982 * battery.el (battery--linux-sysfs-regexp): New const.
10983 (battery-status-function): Use it. Remove yeeloong special case.
10984 (battery-yeeloong-sysfs): Remove.
10985 (battery-echo-area-format): Remove yeeloong special case.
10986
10987 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10988
10989 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
10990 Reported by Noah Friedman.
10991
10992 * subr.el (read-passwd): Use read-string.
10993
10994 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10995
10996 * vcursor.el (vcursor-move): Increase the priority of the overlay
10997 (bug#9663).
10998
10999 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
11000
11001 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
11002 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
11003
11004 2012-04-11 William Stevenson <yhvh2000@gmail.com>
11005
11006 * textmodes/artist.el (artist-mode): Convert artist-mode to use
11007 define-minor-mode (bug#10760).
11008
11009 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
11010
11011 * progmodes/grep.el (rgrep): Tweak the find command line so
11012 that directories matching `grep-find-ignored-files' won't be
11013 pruned (bug#10351).
11014
11015 2012-04-11 Chong Yidong <cyd@gnu.org>
11016
11017 * startup.el (command-line): Remove support for long-obsolete
11018 variable font-lock-face-attributes.
11019
11020 2012-04-11 Glenn Morris <rgm@gnu.org>
11021
11022 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
11023
11024 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
11025
11026 * window.el (window--state-get-1): Obey window-point-insertion-type.
11027
11028 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
11029
11030 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
11031 to previous function when point is on the first character of a
11032 function. Take care of that in `narrow-to-defun' (bug#6157).
11033
11034 2012-04-11 Glenn Morris <rgm@gnu.org>
11035
11036 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
11037 not just file-errors.
11038
11039 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
11040 (vc-bzr-sha1): Use internal sha1.
11041
11042 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
11043
11044 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
11045
11046 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
11047
11048 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
11049 that start in the middle of the line (bug#10496).
11050
11051 2012-04-10 Dan Nicolaescu <dann@gnu.org>
11052
11053 * battery.el (battery-linux-proc-acpi): Only one battery is
11054 discharged at a time, but that seems to confuse battery.el when
11055 computing `rate-type' for the battery not being discharged
11056 (bug#10332).
11057
11058 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11059
11060 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
11061
11062 * international/quail.el: Use dolist and simplify.
11063 (quail-define-package, quail-update-keyboard-layout)
11064 (quail-define-rules): Use dolist.
11065 (quail-insert-kbd-layout, quail-get-translation): CSE.
11066
11067 * tmm.el: Use dolist, remove left over hook.
11068 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
11069 Use dolist.
11070 (calendar-load-hook): Don't mess with it.
11071
11072 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
11073 Use derived-mode-p. Run the diff asynchronously.
11074
11075 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
11076
11077 * obsolete/mouse-sel.el: Add an Obsolete-since header.
11078
11079 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
11080
11081 * misc.el: Display absolute path of loaded DLLs (bug#10424).
11082 (list-dynamic-libraries--loaded): New function.
11083 (list-dynamic-libraries--refresh): Use it.
11084
11085 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
11086
11087 * progmodes/python.el (python-fill-paragraph):
11088 Make python-fill-region in a multiline string work when font-lock is
11089 disabled (bug#7018).
11090
11091 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
11092
11093 * language/european.el (cp775): Add oem/legacy (en)coding on
11094 DOS/MS Windows for the Baltic languages. There are still plenty
11095 of texts written in this encoding/codepage (bug#6519).
11096
11097 2012-04-10 Glenn Morris <rgm@gnu.org>
11098
11099 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
11100 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
11101
11102 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
11103
11104 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
11105 next-line "n" and previous-line "p" in order to make recentf more
11106 consistent with ibuffer, dired or org-mode (bug#9387).
11107
11108 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
11109
11110 * image.el (put-image): Return the overlay created instead of the
11111 optional input string (bug#7834). Note that this may break code
11112 that is (for some reason or other) depending on `put-image'
11113 returning the string.
11114
11115 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
11116
11117 * simple.el (zap-to-char): Allow zapping using input methods
11118 (bug#1580).
11119
11120 * textmodes/fill.el (fill-region): Leave point and mark where they
11121 were before filling (bug#5399).
11122
11123 2012-04-09 Glenn Morris <rgm@gnu.org>
11124
11125 * version.el (emacs-bzr-get-version):
11126 Handle lightweight checkouts of local branches.
11127
11128 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
11129
11130 * international/characters.el: Recover lost case pairs. (Bug#11209)
11131
11132 2012-04-09 Chong Yidong <cyd@gnu.org>
11133
11134 * custom.el (custom-variable-p): Return nil for non-symbol
11135 arguments instead of signaling an error.
11136 (user-variable-p): Obsolete alias for custom-variable-p.
11137
11138 * apropos.el (apropos-variable):
11139 * files-x.el (read-file-local-variable):
11140 * simple.el (set-variable):
11141 * woman.el (woman-mini-help):
11142 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
11143
11144 2012-04-09 Glenn Morris <rgm@gnu.org>
11145
11146 * startup.el (normal-top-level): Don't look for leim-list.el
11147 in places where it will not be found. (Bug#910)
11148
11149 * international/mule-cmds.el (set-default-coding-systems):
11150 * files.el (normal-mode):
11151 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
11152 This function was removed with ucs-tables.el in 2008.
11153
11154 2012-04-08 Eli Zaretskii <eliz@gnu.org>
11155
11156 * textmodes/ispell.el (ispell-check-version): For hunspell, set
11157 ispell-encoding8-command to "-i", without a trailing space.
11158 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
11159 separate command-line arguments, to specify the encoding, since
11160 that's how hunspell expects it.
11161
11162 2012-04-08 Glenn Morris <rgm@gnu.org>
11163
11164 * loadup.el: Load bindings before cus-start.
11165 This reduces somewhat the number of "rogue" settings in emacs -Q.
11166
11167 2012-04-07 Glenn Morris <rgm@gnu.org>
11168
11169 * version.el (emacs-bzr-get-version): New function.
11170 (emacs-bzr-version): New variable.
11171 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
11172 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
11173
11174 2012-04-07 Eli Zaretskii <eliz@gnu.org>
11175
11176 * international/uni-bidi.el, international/uni-category.el:
11177 * international/uni-combining.el, international/uni-decimal.el:
11178 * international/uni-decomposition.el, international/uni-digit.el:
11179 * international/uni-lowercase.el, international/uni-mirrored.el:
11180 * international/uni-name.el, international/uni-numeric.el:
11181 * international/uni-titlecase.el, international/uni-uppercase.el:
11182 Update for Unicode 6.1.
11183
11184 2012-04-07 Eli Zaretskii <eliz@gnu.org>
11185
11186 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
11187
11188 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
11189
11190 * window.el (shrink-window): Mention the `window-min-height'
11191 variable in the doc string.
11192
11193 2012-04-05 Bastien Guerry <bzg@altern.org>
11194
11195 * color.el (color-lighten-name): Fix typo.
11196
11197 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11198
11199 * server.el (server--on-display-p): New function.
11200 (server--on-display-p): Use it.
11201
11202 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
11203
11204 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
11205 (bug#11145).
11206
11207 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11208
11209 * comint.el (comint--common-quoted-suffix): Check string boundary
11210 before comparing (bug#11158).
11211 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
11212
11213 2012-04-04 Chong Yidong <cyd@gnu.org>
11214
11215 * minibuffer.el (completion-extra-properties): Doc fix.
11216
11217 * subr.el (delayed-warnings-hook): Doc fix.
11218
11219 2012-04-04 Daiki Ueno <ueno@unixuser.org>
11220
11221 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
11222 selection (Bug#11159).
11223 (epa-insert-keys): Inform that the default public key will be
11224 exported if no key is selected.
11225
11226 2012-04-04 Richard Stallman <rms@gnu.org>
11227
11228 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
11229
11230 2012-04-03 Chong Yidong <cyd@gnu.org>
11231
11232 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
11233 mail-insert-file, not its obsolete alias mail-attach-file.
11234
11235 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
11236
11237 * notifications.el (notifications-notify): Fix docstring.
11238
11239 2012-04-02 Glenn Morris <rgm@gnu.org>
11240
11241 * emacs-lisp/authors.el (authors-aliases): Another addition.
11242
11243 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
11244
11245 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
11246 `tramp-compat-call-process' instead of `tramp-local-call-process'.
11247 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
11248
11249 2012-04-01 Chong Yidong <cyd@gnu.org>
11250
11251 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
11252 Handle root directory properly.
11253 (copy-directory): Caller changed.
11254
11255 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
11256 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
11257
11258 2012-03-31 Glenn Morris <rgm@gnu.org>
11259
11260 * term/xterm.el (xterm-extra-capabilities): Doc fix.
11261
11262 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
11263
11264 * calendar/calendar.el (calendar-window-list)
11265 (calendar-hide-window): Restore. (Bug#11140)
11266 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
11267
11268 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
11269
11270 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11271
11272 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
11273 Check if file is a symlink (Bug#10489).
11274
11275 * files.el (copy-directory): Likewise.
11276
11277 2012-03-30 Chong Yidong <cyd@gnu.org>
11278
11279 * image.el (imagemagick-types-inhibit)
11280 (imagemagick-register-types): Doc fix.
11281
11282 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11283
11284 * textmodes/ispell.el (ispell-get-extended-character-mode):
11285 Disable extended-char-mode for hunspell. hunspell does not support it
11286 and treats ~word as ordinary words in pipe mode.
11287
11288 2012-03-30 Glenn Morris <rgm@gnu.org>
11289
11290 * tutorial.el (help-with-tutorial): Ensure local variables don't
11291 happen to make the buffer read-only. (Bug#11127)
11292
11293 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
11294
11295 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
11296 (perl-calculate-indent): Return `noindent' in strings.
11297
11298 2012-03-28 Sam Steingold <sds@gnu.org>
11299
11300 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
11301 instead of the broken adhockery which does not prevent calendar
11302 buffers from being displayed at random after exit.
11303 (calendar-window-list, calendar-hide-window): Remove the broken
11304 adhockery.
11305
11306 2012-03-28 Glenn Morris <rgm@gnu.org>
11307
11308 * replace.el (query-replace-map): Doc fix.
11309
11310 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
11311
11312 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
11313 contents. (Bug#11109)
11314
11315 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11316
11317 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
11318 (bug#11077).
11319 (avl-tree--check, avl-tree--check-node): New funs.
11320
11321 2012-03-27 Martin Rudalics <rudalics@gmx.at>
11322
11323 * window.el (switch-to-visible-buffer): New option.
11324 (switch-to-prev-buffer, switch-to-next-buffer):
11325 Observe switch-to-visible-buffer. Make sure that checking for a window
11326 showing a buffer already is done on the same frame.
11327
11328 2012-03-27 Glenn Morris <rgm@gnu.org>
11329
11330 * startup.el (mail-host-address): Doc fix.
11331
11332 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11333
11334 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
11335 than 197 variables.
11336
11337 2012-03-26 Ami Fischman <ami@fischman.org>
11338
11339 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
11340
11341 2012-03-26 Glenn Morris <rgm@gnu.org>
11342
11343 * files.el (save-buffers-kill-emacs): Doc fix.
11344
11345 * startup.el (normal-top-level, command-line, command-line-1):
11346 Give them doc strings.
11347
11348 2012-03-25 Eli Zaretskii <eliz@gnu.org>
11349
11350 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
11351 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
11352
11353 2012-03-25 Chong Yidong <cyd@gnu.org>
11354
11355 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
11356 theme if it was previously enabled before (Bug#11031).
11357
11358 * cus-theme.el (custom-theme-write-faces): Retrieve current face
11359 spec with custom-face-get-current-spec if its :shown-value is not
11360 determined yet (Bug#9337).
11361 (customize-create-theme, custom-theme-revert): Doc fixes.
11362
11363 * button.el (button-at): Minor addition to docstring.
11364
11365 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
11366
11367 * vc/vc.el (vc-merge): Fix a prompt.
11368
11369 2012-03-24 Chong Yidong <cyd@gnu.org>
11370
11371 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
11372 point (Bug#9623).
11373
11374 * button.el (button-at): Minor addition to docstring.
11375
11376 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
11377
11378 * newcomment.el (comment-choose-indent): No space after BOL.
11379
11380 2012-03-22 Sam Steingold <sds@gnu.org>
11381
11382 * window.el (switch-to-prev-buffer): Revert last patch because the
11383 bug turned out to be an advertised feature (Elisp manual 28.14).
11384
11385 2012-03-22 Glenn Morris <rgm@gnu.org>
11386
11387 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
11388 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
11389
11390 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
11391
11392 * net/network-stream.el (network-stream-open-starttls): Make error
11393 message under Windows be less misleading.
11394
11395 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
11396
11397 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
11398 understands (bug#9942).
11399
11400 2012-03-22 Chong Yidong <cyd@gnu.org>
11401
11402 * simple.el (end-of-visible-line): Handle return value of
11403 next-single-property-change properly (Bug#9371).
11404
11405 2012-03-22 Kenichi Handa <handa@m17n.org>
11406
11407 * international/quail.el (quail-insert-kbd-layout): Fix previous
11408 change. To avoid unwanted bidi reordering, use
11409 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
11410
11411 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
11412
11413 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
11414 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
11415 (ruby-beginning-of-indent): Be more careful with the difference
11416 between word-boundary and symbol boundary.
11417 (ruby-mode-syntax-table): Make : a symbol constituent.
11418
11419 2012-03-21 Andreas Politz <politza@fh-trier.de>
11420
11421 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
11422
11423 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
11424
11425 * progmodes/etags.el (tags-completion-at-point-function):
11426 Improve last fix.
11427
11428 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
11429
11430 2012-03-21 Sam Steingold <sds@gnu.org>
11431
11432 * progmodes/etags.el (tags-completion-at-point-function):
11433 Avoid the error when point is inside the pattern.
11434
11435 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
11436
11437 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
11438 line (Bug#10855).
11439
11440 2012-03-21 Drew Adams <drew.adams@oracle.com>
11441
11442 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
11443
11444 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
11445
11446 * ido.el (ido-set-current-directory, ido-read-internal)
11447 (ido-choose-completion-string, ido-completion-help): Handle nil
11448 value of ido-completion-buffer (Bug#11008).
11449
11450 2012-03-21 Sam Steingold <sds@gnu.org>
11451
11452 * window.el (switch-to-prev-buffer): Do not switch to a visible
11453 window previous buffer, just like with the frame previous buffers.
11454
11455 2012-03-21 Chong Yidong <cyd@gnu.org>
11456
11457 * faces.el (make-face, make-empty-face, copy-face):
11458 * face-remap.el (face-remap-add-relative, face-remap-set-base):
11459 Doc fixes.
11460
11461 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
11462
11463 * wid-edit.el (widget-complete-field): Remove (bug#11051).
11464 (widget-complete): Remove broken use of it.
11465
11466 2012-03-20 Chong Yidong <cyd@gnu.org>
11467
11468 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11469 Use string-width and truncate-string-width to handle arbitrary
11470 characters.
11471
11472 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
11473
11474 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
11475 to draw rectangles, not squares. (Regression introduced by revno
11476 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
11477
11478 2012-03-18 Chong Yidong <cyd@gnu.org>
11479
11480 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
11481 it is not yet defined (for temacs).
11482
11483 2012-03-18 Leo Liu <sdl.web@gmail.com>
11484
11485 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
11486 prefix.
11487
11488 2012-03-17 Eli Zaretskii <eliz@gnu.org>
11489
11490 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
11491 (ispell-choices-win-default-height, ispell-silently-savep)
11492 (ispell-dictionary-alist, ispell-encoding8-command)
11493 (ispell-check-version, ispell-aspell-find-dictionary)
11494 (ispell-valid-dictionary-list, ispell-words-keyword)
11495 (ispell-get-word, ispell-internal-change-dictionary)
11496 (ispell-region, ispell-skip-region-list)
11497 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
11498 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
11499 (ispell-message-text-end, ispell-message)
11500 (ispell-buffer-local-parsing): Doc fix.
11501
11502 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
11503
11504 * htmlfontify.el: Add support for code block fontification for ODT
11505 export (Bug #9914).
11506 (hfy-optimisations): Define new option
11507 `body-text-only'
11508 (hfy-fontify-buffer): Honor above setting.
11509 (hfy-begin-span, hfy-end-span): New routines factored out form
11510 `hfy-fontify-buffer'.
11511 (hfy-begin-span-handler, hfy-end-span-handler): New variables
11512 that permit insertion of custom tags.
11513 (hfy-fontify-buffer): Use above handlers.
11514 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
11515 (hfy-face-to-css): Re-defined to be a variable.
11516 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
11517 over multiple runs. This is made possible by having the caller let
11518 bind a special variable `hfy-user-sheet-assoc'.
11519 (htmlfontify-string): New defun.
11520 (hfy-compile-face-map): Make sure that the last char in the
11521 buffer is correctly fontified.
11522 (hfy-face-resolve-face): Whitespace only change.
11523
11524 2012-03-17 Eli Zaretskii <eliz@gnu.org>
11525
11526 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
11527 message more clear.
11528
11529 2012-03-16 Leo Liu <sdl.web@gmail.com>
11530
11531 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
11532
11533 2012-03-16 Alan Mackenzie <acm@muc.de>
11534
11535 Further optimise the handling of large macros.
11536
11537 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
11538 limit to a call of `c-literal-limits'.
11539 (c-determine-+ve-limit): New function.
11540 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
11541 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
11542 In CASE 5B, restrict a search limit to 500.
11543 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
11544
11545 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
11546 Restrict macro bounds to +-500 from after-change's BEG END.
11547
11548 2012-03-16 Leo Liu <sdl.web@gmail.com>
11549
11550 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
11551
11552 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
11553
11554 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
11555 `special-mode' setting of `buffer-read-only'. (Bug#11010)
11556
11557 2012-03-16 Glenn Morris <rgm@gnu.org>
11558
11559 * view.el (view-buffer, view-buffer-other-window)
11560 (view-buffer-other-frame): Doc fixes re special mode-class.
11561
11562 * subr.el (eval-after-load): If named feature is provided not from
11563 a file, run after-load forms. (Bug#10946)
11564
11565 * calendar/calendar.el (calendar-insert-at-column):
11566 Handle non-unit-width characters a bit better. (Bug#10978)
11567
11568 2012-03-15 Chong Yidong <cyd@gnu.org>
11569
11570 * emacs-lisp/ring.el (ring-extend): New function.
11571 (ring-insert+extend): Extend the ring correctly (Bug#11019).
11572
11573 * comint.el (comint-read-input-ring)
11574 (comint-add-to-input-history): Grow comint-input-ring lazily.
11575
11576 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11577
11578 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
11579 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
11580
11581 * imenu.el: Fix multiple inheritance breakage (bug#9199).
11582 (imenu-add-to-menubar): Don't add a redundant index.
11583 (imenu-update-menubar): Handle a dynamically composed keymap.
11584
11585 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
11586
11587 * mail/sendmail.el (mail-encode-header):
11588 Bind rfc2047-encode-encoded-words to nil.
11589
11590 2012-03-13 Glenn Morris <rgm@gnu.org>
11591
11592 * calendar/calendar.el (calendar-string-spread):
11593 Handle non-unit-width characters a bit better. (Bug#10978)
11594
11595 2012-03-13 Leo Liu <sdl.web@gmail.com>
11596
11597 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
11598 directory and file as argument (Bug#10822).
11599
11600 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
11601
11602 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
11603 For dynamically generated code, follow $PC.
11604 (gdb-disassembly-handler-custom): Handle no function name case.
11605
11606 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
11607
11608 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
11609 * emulation/ws-mode.el (ws-query-replace):
11610 * sort.el (sort-regexp-fields):
11611 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
11612
11613 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11614
11615 * dabbrev.el: Fix cycle completion order (bug#10963).
11616 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
11617 (dabbrev-completion): Don't use an obarray; provide
11618 a cycle-sort-function.
11619
11620 2012-03-12 Leo Liu <sdl.web@gmail.com>
11621
11622 * simple.el (kill-new): Use equal-including-properties for comparison.
11623 (kill-do-not-save-duplicates): Doc fix.
11624
11625 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11626
11627 * dabbrev.el: Fix cycle completion (bug#10963).
11628 Use lexical binding and wrap to 80 columns.
11629 (dabbrev-completion): Delay computing the list of completions.
11630
11631 2012-03-12 Kenichi Handa <handa@m17n.org>
11632
11633 * international/quail.el (quail-insert-kbd-layout): Surround each
11634 row by LRO and PDF instead of inserting many LRMs. Pad the left
11635 and right of each non-spacing marks. Insert invisible space
11636 between lower and upper characters to prevent composition.
11637
11638 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11639
11640 * minibuffer.el (minibuffer-complete): Don't get confused when the
11641 function is run twice via different commands (bug#10958).
11642 (complete-with-action): Fix docstring.
11643
11644 2012-03-12 Chong Yidong <cyd@gnu.org>
11645
11646 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
11647 (nxml-completion-at-point-function): New function.
11648 (nxml-mode): Use it.
11649 (nxml-bind-meta-tab-to-complete-flag): Default to t.
11650
11651 * emacs-lisp/package.el (package-unpack, package-unpack-single):
11652 Load generated autoloads file before byte compiling (Bug#10970).
11653 (package--make-autoloads-and-compile): New helper fun.
11654
11655 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
11656
11657 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
11658
11659 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
11660
11661 * autorevert.el (auto-revert-handler): Ensure, that
11662 file-readable-p is applied only for local files or in
11663 auto-revert-tail-mode.
11664
11665 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
11666
11667 * server.el (server-eval-at): Handle non-tcp connections.
11668 Decode result string.
11669
11670 * server.el (server-msg-size): New constant.
11671 (server-reply-print): New function.
11672 (server-eval-and-print): Use it.
11673 (server-eval-at): Use server-quote-arg and server-unquote-arg.
11674 Handle -print-nonl.
11675
11676 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
11677
11678 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
11679 (Bug#10987).
11680
11681 2012-03-11 Chong Yidong <cyd@gnu.org>
11682
11683 * simple.el (goto-line): Doc fix (Bug#9938).
11684
11685 * subr.el (save-window-excursion): Doc fix (Bug#9979).
11686
11687 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
11688 when finished (Bug#10963).
11689
11690 2012-03-11 Martin Rudalics <rudalics@gmx.at>
11691
11692 * window.el (split-window-below): Fix bug in case where
11693 split-window-keep-point is nil (Bug#10971).
11694
11695 2012-03-11 Juri Linkov <juri@jurta.org>
11696
11697 * replace.el (replace-highlight): Set isearch-word to nil
11698 unconditionally. (Bug#10887)
11699
11700 2012-03-10 Eli Zaretskii <eliz@gnu.org>
11701
11702 * net/mairix.el (mairix-replace-invalid-chars): Rename from
11703 mairix-replace-illegal-chars; all callers changed. Don't remove
11704 ^, ~, and = characters: they are meaningful in mairix search specs.
11705 (mairix-widget-create-query): Add usage information about mairix
11706 search forms: negating words, searching for substrings, etc.
11707
11708 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
11709
11710 * international/fontset.el (font-encoding-alist): Add an entry for
11711 ksx1001 (Bug#5667).
11712
11713 2012-03-10 Richard Stallman <rms@gnu.org>
11714
11715 * mail/sendmail.el (mail-encode-header):
11716 Set rfc2047-encode-encoded-words.
11717
11718 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
11719
11720 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
11721 view buffer means not swapped.
11722 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
11723 (rmail-write-region-annotate): Error if real text has disappeared.
11724
11725 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
11726
11727 2012-03-10 Chong Yidong <cyd@gnu.org>
11728
11729 * emulation/cua-rect.el (cua--init-rectangles):
11730 * emulation/cua-base.el (cua--init-keymaps):
11731 Add delete-forward-char to remappings (Bug#9666).
11732
11733 2012-03-10 Martin Rudalics <rudalics@gmx.at>
11734
11735 * speedbar.el (speedbar-unhighlight-one-tag-line):
11736 Avoid unhighlighting due to frame switching (Bug#10275).
11737
11738 2012-03-10 Chong Yidong <cyd@gnu.org>
11739
11740 * minibuffer.el (completion-in-region, completion-help-at-point):
11741 Give the completion field overlay a high priority (Bug#6830).
11742
11743 * dired.el (dired-goto-file): Recognize absolute file name
11744 listings (Bug#7126).
11745 (dired-goto-file-1): New helper function.
11746 (dired-toggle-read-only): Inhibit warnings.
11747
11748 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
11749
11750 * net/dbus.el (dbus-property-handler): Return empty array if
11751 there are no properties.
11752
11753 2012-03-09 Leo Liu <sdl.web@gmail.com>
11754
11755 * savehist.el (savehist-printable): Stricter check for string
11756 value (Bug#10937).
11757
11758 2012-03-09 Eli Zaretskii <eliz@gnu.org>
11759
11760 * mail/smtpmail.el (smtpmail-send-it):
11761 Bind coding-system-for-write to *-unix, so that FCC files are kept in
11762 valid mbox format.
11763
11764 2012-03-09 Glenn Morris <rgm@gnu.org>
11765
11766 * files.el (dir-locals-find-file):
11767 Don't check result is regular, readable.
11768 (dir-locals-read-from-file): Demote errors.
11769
11770 2012-03-08 Eli Zaretskii <eliz@gnu.org>
11771
11772 * international/quail.el (quail-insert-kbd-layout):
11773 Insert invisible LRM characters before each character in a keyboard
11774 layout cell, to prevent their reordering by bidi display engine.
11775 For details, see the discussion in
11776 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
11777
11778 2012-03-08 Alan Mackenzie <acm@muc.de>
11779
11780 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
11781 the starting position; make it extend the marked region when
11782 invoked repeatedly - all under appropriate circumstances.
11783 Fixes bugs #5525, #10906.
11784
11785 2012-03-08 Glenn Morris <rgm@gnu.org>
11786
11787 * files.el (locate-dominating-file, dir-locals-find-file):
11788 Undo 2012-03-06 change.
11789
11790 2012-03-07 Eli Zaretskii <eliz@gnu.org>
11791
11792 * international/quail.el (quail-help):
11793 Force bidi-paragraph-direction be left-to-right. See discussion in
11794 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
11795 for the reason.
11796
11797 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
11798
11799 Avoid superfluous registering of signals. (Bug#10807)
11800
11801 * notifications.el (notifications-on-action-object)
11802 (notifications-on-close-object): New defvars.
11803 (notifications-on-action-signal, notifications-on-closed-signal):
11804 Unregister the signal if not needed any longer.
11805 (notifications-notify): Register `notifications-action-signal' or
11806 `notifications-closed-signal', if :on-action or :on-close has been
11807 passed as argument.
11808
11809 2012-03-07 Chong Yidong <cyd@gnu.org>
11810
11811 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
11812 non-X platforms.
11813
11814 2012-03-06 Glenn Morris <rgm@gnu.org>
11815
11816 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
11817 (x-disown-selection-internal, x-get-selection-internal):
11818 Doc fix (add arglist signatures). (Bug#10783)
11819
11820 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
11821
11822 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
11823 Handle breakpoints with no "type".
11824
11825 2012-03-06 Glenn Morris <rgm@gnu.org>
11826
11827 * files.el (locate-dominating-file): Add optional predicate argument.
11828 (dir-locals-find-file): Make use of above change.
11829
11830 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
11831
11832 * info.el (Info-insert-dir): Also try "dir.gz".
11833
11834 2012-03-06 Glenn Morris <rgm@gnu.org>
11835
11836 * files.el (dir-locals-find-file):
11837 Ignore non-readable or non-regular files. (Bug#10928)
11838
11839 * files.el (locate-dominating-file): Doc fix.
11840
11841 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
11842
11843 * calendar/calendar.el (calendar-set-mode-line):
11844 `getenv' returns a string. (Bug#10951)
11845
11846 2012-03-05 Leo Liu <sdl.web@gmail.com>
11847
11848 * simple.el (backward-delete-char-untabify): Constrain point to
11849 field (Bug#10939).
11850
11851 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
11852
11853 2012-03-05 Chong Yidong <cyd@gnu.org>
11854
11855 * simple.el (count-words): If called from Lisp, return the word
11856 count, for symmetry with `count-lines'. Arglist changed.
11857 (count-words--message): Args changed. Consolidate counting code
11858 from count-words and count-words-region.
11859 (count-words-region): Caller changed.
11860 (count-lines-region): Make it an obsolete alias.
11861
11862 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
11863
11864 * saveplace.el (save-place-to-alist)
11865 (save-place-ignore-files-regexp): Allow value nil to disable this
11866 feature.
11867
11868 2012-03-04 Chong Yidong <cyd@gnu.org>
11869
11870 * faces.el (face-spec-reset-face): For the default face, reset the
11871 attributes to default values (Bug#10748).
11872
11873 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
11874
11875 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
11876 previous patch: Check `message-send-mail-function', and not the
11877 default function (bug#10897).
11878
11879 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
11880
11881 * notifications.el (notifications-on-action-signal)
11882 (notifications-on-closed-signal): Check for unique service name of
11883 incoming event. Fix error in removing entry.
11884 (top): Register for signals with wildcard service name.
11885 (notifications-notify): Use daemon unique service name for map entries.
11886
11887 2012-03-04 Chong Yidong <cyd@gnu.org>
11888
11889 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
11890
11891 2012-03-04 Glenn Morris <rgm@gnu.org>
11892
11893 * abbrev.el (copy-abbrev-table, abbrev-table-p)
11894 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
11895 (expand-abbrev, define-abbrev-table): Doc fixes.
11896
11897 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11898
11899 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
11900 `message-default-send-mail-function' and not `send-mail-function'
11901 when doing the prompting for `sendmail-query-once' before sending
11902 in Message buffers (bug#10897).
11903
11904 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
11905 This is inconsistent with all the other stream functions, which leave
11906 the setting up to the higher levels (if so wanted) (bug#10931).
11907
11908 2012-03-02 Alan Mackenzie <acm@muc.de>
11909
11910 Depessimize the handling of very large macros.
11911
11912 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
11913 (c-macro-cache-syntactic): New variables to implement a one
11914 element macro cache.
11915 (c-invalidate-macro-cache): New function.
11916 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
11917 Adapt to use the new cache.
11918 (c-state-safe-place): Use better the cache of safe positions.
11919 (c-state-semi-nonlit-pos-cache)
11920 (c-state-semi-nonlit-pos-cache-limit):
11921 New variables for...
11922 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
11923 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
11924 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
11925 Use c-state-semi-safe-place.
11926
11927 * progmodes/cc-langs.el (c-get-state-before-change-functions):
11928 Add c-invalidate-macro-cache to the C, C++, Obj entries.
11929
11930 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
11931
11932 * jka-compr.el (jka-compr-call-process):
11933 Apply `file-accessible-directory-p' only when the default directory is
11934 not remote.
11935
11936 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
11937
11938 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
11939 access of FILE2, if FILE1 does not exist.
11940
11941 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
11942 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
11943
11944 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
11945 Add "PAGER=" to `process-environment'.
11946
11947 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
11948
11949 * progmodes/sql.el: Bug fix
11950 (sql-get-login-ext): Save login values in globals.
11951 (sql-get-login): Use new version of `sql-get-login-ext'.
11952 (sql-interactive-mode): Set global `sql-connection' to nil.
11953 (sql-connect): Set global values for connection.
11954 (sql-product-interactive): Save global values as buffer local.
11955
11956 2012-02-29 Leo Liu <sdl.web@gmail.com>
11957
11958 * abbrev.el (define-abbrevs): Reset sys to nil.
11959
11960 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11961
11962 * files.el (file-equal-p): Rename from `files-equal-p'.
11963 Return nil when one or both files don't exist.
11964 (file-subdir-of-p): Now only top directory must exists,
11965 return nil if it doesn't.
11966 (copy-directory): No need to test with `file-subdir-of-p' after
11967 creating dir.
11968 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
11969 to `file-equal-p'.
11970
11971 2012-02-28 Glenn Morris <rgm@gnu.org>
11972
11973 * shell.el (shell-mode):
11974 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
11975 * play/landmark.el (landmark-font-lock-face-O):
11976 * play/handwrite.el (handwrite):
11977 * play/gomoku.el (gomoku-O):
11978 * net/browse-url.el (browse-url-browser-display):
11979 * international/mule.el (define-charset):
11980 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
11981 * filesets.el (filesets-find-file-delay):
11982 * eshell/em-xtra.el (eshell-xtra):
11983 * eshell/em-unix.el (eshell-grep):
11984 * emulation/viper.el (viper-mode):
11985 * emacs-lisp/regexp-opt.el (regexp-opt-group):
11986 * emacs-lisp/easymenu.el (easy-menu-define):
11987 * calendar/timeclock.el (timeclock-use-display-time):
11988 * bs.el (bs-mode):
11989 * bookmark.el (bookmark-save-flag):
11990 Doc fix (standardize possessive apostrophe usage).
11991
11992 2012-02-27 Chong Yidong <cyd@gnu.org>
11993
11994 * emulation/viper-cmd.el (viper-intercept-ESC-key):
11995 Fix key-binding lookup for ESC key (Bug#9146).
11996
11997 * font-lock.el (font-lock-specified-p): Rename from
11998 font-lock-spec-present. Callers changed.
11999
12000 2012-02-27 Daniel Hackney <dan@haxney.org>
12001
12002 * emacs-lisp/package.el (package-compute-transaction):
12003 Handle holding a package version to t in package-load-list.
12004
12005 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
12006
12007 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
12008 (tramp-get-inode, tramp-get-device): Use cached values.
12009
12010 2012-02-26 Alan Mackenzie <acm@muc.de>
12011
12012 Check there is a font-lock specification before doing initial
12013 fontification.
12014
12015 * font-core.el (font-lock-mode): Move the conditional from
12016 :after-hook to font-lock-initial-fontify.
12017 (font-lock-default-function): Move the check for a specification
12018 to font-lock-spec-present.
12019
12020 * font-lock.el (font-lock-initial-fontify): Call ...
12021 (font-lock-spec-present): New function.
12022
12023 2012-02-26 Jim Blandy <jimb@red-bean.com>
12024
12025 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
12026 (gdb-send): Apply it to the operand of the '-interpreter-exec
12027 console' command, so that we can pass arguments with (say) quotes
12028 in them. Store exact string sent in gdb-debug-log (Bug#10765).
12029
12030 2012-02-26 Chong Yidong <cyd@gnu.org>
12031
12032 * help-fns.el (describe-function-1): Clarify description of
12033 remapping (Bug#10844).
12034
12035 * files.el (files-equal-p): Doc fix.
12036 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
12037 and quit the loop once a mismatch is found.
12038
12039 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
12040
12041 * bs.el (bs--show-with-configuration): Don't throw an error
12042 if the window cannot be split; otherwise, subsequent calls to
12043 bs-show fail, restoring a stale window config. (Bug#10882)
12044
12045 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
12046
12047 * term/ns-win.el (global-map): Bind ns-drag-file to
12048 ns-find-file (Bug#5855, Bug#10050).
12049
12050 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
12051
12052 * calendar/parse-time.el (parse-time-string): Allow extractor to
12053 return nil.
12054
12055 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
12056
12057 * net/tramp.el (tramp-file-name-for-operation):
12058 Add `files-equal-p' and `file-subdir-of-p'.
12059
12060 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
12061 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
12062 Add COPY-CONTENTS argument.
12063
12064 2012-02-25 Chong Yidong <cyd@gnu.org>
12065
12066 Add custom groups for VC backends, for consistency with vc-bzr.
12067
12068 * vc/vc-arch.el (vc-arch):
12069 * vc/vc-cvs.el (vc-cvs):
12070 * vc/vc-git.el (vc-git):
12071 * vc/vc-hg.el (vc-hg):
12072 * vc/vc-mtn.el (vc-mtn):
12073 * vc/vc-rcs.el (vc-rcs):
12074 * vc/vc-sccs.el (vc-sccs):
12075 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
12076 All relevant defcustoms reassigned.
12077
12078 2012-02-25 Chong Yidong <cyd@gnu.org>
12079
12080 * newcomment.el (comment-styles): Add autoload (Bug#10868).
12081
12082 * term/x-win.el (x-initialize-window-system): Reduce default for
12083 x-selection-timeout to 5 seconds (Bug#8869).
12084
12085 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12086
12087 * files.el (files-equal-p, file-subdir-of-p): New functions.
12088 (copy-directory): Error when trying to copy a directory on itself.
12089 Add missing copy-contents arg to tramp handler.
12090 * dired-aux.el (dired-copy-file-recursive): Same.
12091 (dired-create-files): Modify destination when source is equal to
12092 dest when copying files.
12093 Return also when dest is a subdir of source. (Bug#10489)
12094
12095 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
12096
12097 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
12098 (Bug#10874)
12099
12100 2012-02-23 Alan Mackenzie <acm@muc.de>
12101
12102 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
12103 parameter "after-hook:" to allow the expansion to run code after
12104 the execution of the mode hooks.
12105
12106 * font-lock.el (font-lock-initial-fontify): New function extracted
12107 from font-lock-mode-internal.
12108
12109 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
12110 :after-hook.
12111
12112 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
12113
12114 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
12115 (completion--cache-all-sorted-completions): New function.
12116 (completion-all-sorted-completions): Use it.
12117 (completion--do-completion, minibuffer-force-complete):
12118 Use it to re-instate the flush hook.
12119
12120 * icomplete.el (icomplete-completions): Replace last fix with a better
12121 one (bug#10850).
12122
12123 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
12124
12125 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
12126 when it might call us back infinitely (bug#10797).
12127
12128 2012-02-23 Glenn Morris <rgm@gnu.org>
12129
12130 * minibuffer.el (completion-category-overrides): Doc fix.
12131
12132 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
12133
12134 * minibuffer.el (completion-table-with-context): Fix inf-loop.
12135 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
12136
12137 2012-02-23 Glenn Morris <rgm@gnu.org>
12138
12139 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
12140 (authors-obsolete-files-regexps, authors-ignored-files)
12141 (authors-ambiguous-files, authors-renamed-files-alist):
12142 Add more entries.
12143
12144 2012-02-23 Juri Linkov <juri@jurta.org>
12145
12146 * isearch.el (isearch-occur): Sync interactive spec with occur's
12147 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
12148
12149 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
12150
12151 2012-02-22 Juri Linkov <juri@jurta.org>
12152
12153 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
12154 (ucs-insert): Doc fix. Check for hex digits in the string.
12155 Don't display `nil' in the error message. (Bug#10857)
12156
12157 2012-02-22 Alan Mackenzie <acm@muc.de>
12158
12159 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
12160
12161 2012-02-22 Glenn Morris <rgm@gnu.org>
12162
12163 * ffap.el (ffap-c-path):
12164 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
12165
12166 2012-02-22 Chong Yidong <cyd@gnu.org>
12167
12168 * custom.el (load-theme): Doc fix.
12169
12170 2012-02-22 Glenn Morris <rgm@gnu.org>
12171
12172 * dired-x.el (dired-guess-shell-alist-default):
12173 Remove escape sequences from nroff output. (Bug#172)
12174
12175 2012-02-21 Glenn Morris <rgm@gnu.org>
12176
12177 * vc/emerge.el (emerge-defvar-local):
12178 Set `permanent-local' property rather than unused `preserved'.
12179
12180 * textmodes/picture.el (picture-delete-char): New alias.
12181 (picture-mode-map): Use it. (Bug#10860)
12182 (picture-mode): Doc fix.
12183
12184 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
12185
12186 * newcomment.el (uncomment-region-default): Remove unused binding.
12187
12188 2012-02-21 Glenn Morris <rgm@gnu.org>
12189
12190 * textmodes/picture.el (picture-motion, picture-motion-reverse)
12191 (picture-self-insert, picture-tab-chars): Doc fix.
12192 (picture-mode-map): Fix C-a, C-e.
12193
12194 2012-02-20 Glenn Morris <rgm@gnu.org>
12195
12196 * emacs-lisp/authors.el (authors-aliases): Add another entry.
12197
12198 2012-02-20 Leo Liu <sdl.web@gmail.com>
12199
12200 * icomplete.el (icomplete-completions): Check FROM arg before
12201 passing to substring (Bug#10850).
12202
12203 2012-02-19 Chong Yidong <cyd@gnu.org>
12204
12205 * comint.el: Require ansi-color.
12206 (comint-output-filter-functions): Add ansi-color-process-output.
12207
12208 * ansi-color.el: Don't set comint-output-filter-functions; it is
12209 now in the initial value defined in comint.el.
12210 (ansi-color-apply-face-function): New variable.
12211 (ansi-color-apply-on-region): Use it.
12212 (ansi-color-apply-overlay-face): New function.
12213
12214 * shell.el (shell): No need to require ansi-color.
12215 (shell-mode): Use ansi-color-apply-face-function to highlight
12216 color escapes using font-lock-face property (Bug#10835).
12217
12218 2012-02-19 Chong Yidong <cyd@gnu.org>
12219
12220 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
12221 mode-line formats (Bug#10839).
12222
12223 2012-02-18 Glenn Morris <rgm@gnu.org>
12224
12225 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
12226
12227 * mail/undigest.el (unforward-rmail-message): Doc fix.
12228
12229 * saveplace.el (save-place-ignore-files-regexp): Add :version.
12230
12231 2012-02-18 Eli Zaretskii <eliz@gnu.org>
12232
12233 * international/characters.el (script-list): Sync with the latest
12234 Unicode Character Database.
12235
12236 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
12237
12238 * international/titdic-cnv.el: Remove duplicate coding tag.
12239 * language/cham.el: Likewise.
12240 * language/tai-viet.el: Likewise.
12241
12242 2012-02-18 Glenn Morris <rgm@gnu.org>
12243
12244 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
12245 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
12246 (calendar-bahai-all-holidays-flag, calendar-other-dates):
12247 * calendar/diary-lib.el (diary-abbreviated-year-flag):
12248 * calendar/holidays.el (holiday-bahai-holidays)
12249 (calendar-holidays, list-holidays):
12250 Use utf-8 Bahá'í in doc-strings, menus, etc.
12251
12252 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
12253
12254 * saveplace.el (save-place-ignore-files-regexp): New variable
12255 allowing for excluding files from saving their location of point.
12256 The default value matches the temporary commit message editing
12257 files from Git, SVN, Bazaar, and Mercurial.
12258 (save-place-to-alist): Use it.
12259
12260 2012-02-17 Lawrence Mitchell <wence@gmx.li>
12261 Stefan Monnier <monnier@iro.umontreal.ca>
12262
12263 * newcomment.el (uncomment-region-default): Don't leave extra space
12264 when an arg is provided (bug#8150).
12265
12266 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
12267
12268 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
12269
12270 2012-02-17 Glenn Morris <rgm@gnu.org>
12271
12272 * net/socks.el: Require network-stream. (Bug#10599)
12273
12274 2012-02-17 Kenichi Handa <handa@m17n.org>
12275
12276 * international/charprop.el:
12277 * international/uni-name.el:
12278 * international/uni-old-name.el:
12279 * international/uni-comment.el: Regenerate.
12280
12281 2012-02-16 Glenn Morris <rgm@gnu.org>
12282
12283 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
12284 Interactively in calendar buffer, give an error if not on a date.
12285
12286 2012-02-15 Glenn Morris <rgm@gnu.org>
12287
12288 * shell.el (shell-delimiter-argument-list):
12289 Revert 2011-02-17 change. (Bug#8027)
12290
12291 2012-02-15 Chong Yidong <cyd@gnu.org>
12292
12293 * minibuffer.el (completion-at-point-functions): Doc fix.
12294
12295 * custom.el (defcustom): Doc fix; note use of defvar.
12296
12297 2012-02-15 Glenn Morris <rgm@gnu.org>
12298
12299 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
12300 Doc fixes.
12301
12302 2012-02-14 Glenn Morris <rgm@gnu.org>
12303
12304 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
12305
12306 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
12307
12308 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
12309 way the ports list is computed.
12310 (smtpmail-query-smtp-server): Prompt the user for a port number if
12311 we can't connect to any of the standard ports (bug#10810).
12312
12313 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
12314
12315 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
12316
12317 2012-02-13 Glenn Morris <rgm@gnu.org>
12318
12319 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
12320
12321 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
12322
12323 * net/gnutls.el (gnutls-trustfiles): New variable.
12324 (gnutls-negotiate): Use it.
12325
12326 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
12327
12328 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
12329 does its stuff if Gnus is running.
12330
12331 2012-02-13 Alan Mackenzie <acm@muc.de>
12332
12333 Fix a loop in c-set-fl-decl-start.
12334
12335 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
12336 c-backward-syntactic-ws actually moves backwards.
12337
12338 2012-02-13 Leo Liu <sdl.web@gmail.com>
12339
12340 * net/rcirc.el (rcirc-markup-attributes): Move point to the
12341 beginning so that all \C-o chars are removed.
12342
12343 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
12344
12345 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
12346
12347 2012-02-12 Alan Mackenzie <acm@muc.de>
12348
12349 Fix infinite loop with long macros.
12350 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
12351
12352 2012-02-12 Chong Yidong <cyd@gnu.org>
12353
12354 * window.el (display-buffer): Doc fix (Bug#10785).
12355
12356 2012-02-12 Glenn Morris <rgm@gnu.org>
12357
12358 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
12359 (x-disown-selection-internal, x-get-selection-internal):
12360 Sync docs with the xselect.c versions.
12361
12362 * allout-widgets.el: Add missing license notice.
12363
12364 2012-02-11 Glenn Morris <rgm@gnu.org>
12365
12366 * select.el (x-get-selection-internal, x-own-selection-internal)
12367 (x-disown-selection-internal):
12368 * x-dnd.el (x-get-selection-internal): Update declarations.
12369
12370 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
12371
12372 * window.el (window-sides-slots):
12373 * tool-bar.el (tool-bar-position):
12374 * term/xterm.el (xterm-extra-capabilities):
12375 * ses.el (ses-self-reference-early-detection):
12376 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
12377 (verilog-auto-wire-type)
12378 (verilog-auto-delete-trailing-whitespace)
12379 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
12380 (verilog-auto-tieoff-declaration):
12381 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
12382 (sql-oracle-statement-starters, sql-oracle-scan-on):
12383 * progmodes/prolog.el (prolog-align-comments-flag)
12384 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
12385 (prolog-left-indent-regexp, prolog-paren-indent-p)
12386 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
12387 (prolog-types, prolog-mode-specificators)
12388 (prolog-determinism-specificators, prolog-directives)
12389 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
12390 (prolog-electric-dot-flag)
12391 (prolog-electric-dot-full-predicate-template)
12392 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
12393 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
12394 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
12395 (prolog-program-switches, prolog-prompt-regexp)
12396 (prolog-debug-on-string, prolog-debug-off-string)
12397 (prolog-trace-on-string, prolog-trace-off-string)
12398 (prolog-zip-on-string, prolog-zip-off-string)
12399 (prolog-use-standard-consult-compile-method-flag)
12400 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
12401 (prolog-imenu-max-lines, prolog-info-predicate-index)
12402 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
12403 (prolog-char-quote-workaround):
12404 * progmodes/cc-vars.el (c-defun-tactic):
12405 * net/tramp.el (tramp-encoding-command-interactive)
12406 (tramp-local-end-of-line):
12407 * net/soap-client.el (soap-client):
12408 * net/netrc.el (netrc-file):
12409 * net/gnutls.el (gnutls):
12410 * minibuffer.el (completion-category-overrides)
12411 (completion-cycle-threshold)
12412 (completion-pcm-complete-word-inserts-delimiters):
12413 * man.el (Man-name-local-regexp):
12414 * mail/feedmail.el (feedmail-display-full-frame):
12415 * international/characters.el (glyphless-char-display-control):
12416 * eshell/em-ls.el (eshell-ls-date-format):
12417 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
12418 (lisp-lambda-list-keyword-parameter-indentation)
12419 (lisp-lambda-list-keyword-parameter-alignment):
12420 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
12421 * dired-x.el (dired-omit-verbose):
12422 * cus-theme.el (custom-theme-allow-multiple-selections):
12423 * calc/calc.el (calc-highlight-selections-with-faces)
12424 (calc-lu-field-reference, calc-lu-power-reference)
12425 (calc-note-threshold):
12426 * battery.el (battery-mode-line-limit):
12427 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
12428 (archive-7z-update):
12429 * allout.el (allout-prefixed-keybindings)
12430 (allout-unprefixed-keybindings)
12431 (allout-inhibit-auto-fill-on-headline)
12432 (allout-flattened-numbering-abbreviation):
12433 * allout-widgets.el (allout-widgets-auto-activation)
12434 (allout-widgets-icons-dark-subdir)
12435 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
12436 (allout-widgets-theme-dark-background)
12437 (allout-widgets-theme-light-background)
12438 (allout-widgets-item-image-properties-emacs)
12439 (allout-widgets-item-image-properties-xemacs)
12440 (allout-widgets-run-unit-tests-on-load)
12441 (allout-widgets-time-decoration-activity)
12442 (allout-widgets-hook-error-post-time)
12443 (allout-widgets-track-decoration):
12444 Add missing :version tags to new defcustoms and defgroups.
12445
12446 * progmodes/sql.el (sql-ansi-statement-starters)
12447 (sql-oracle-statement-starters): Add custom type.
12448
12449 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
12450 (prolog-system-version): Give it a type.
12451
12452 2012-02-11 Eli Zaretskii <eliz@gnu.org>
12453
12454 * term/pc-win.el (x-select-text, x-selection-owner-p)
12455 (x-own-selection-internal, x-disown-selection-internal)
12456 (x-get-selection-internal): Sync doc strings and argument lists
12457 with xselect.c, common-win.el and x-win.el. (Bug#10783)
12458
12459 2012-02-11 Leo Liu <sdl.web@gmail.com>
12460
12461 * progmodes/python.el (python-end-of-statement): Fix infinite
12462 loop. (Bug#10788)
12463
12464 2012-02-10 Glenn Morris <rgm@gnu.org>
12465
12466 * international/mule-cmds.el (unify-8859-on-encoding-mode)
12467 (unify-8859-on-decoding-mode): Properly mark as obsolete.
12468
12469 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
12470
12471 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
12472 about SMTP before checking the From header.
12473
12474 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
12475 into own function for reuse by emacsbug.el.
12476
12477 2012-02-10 Leo Liu <sdl.web@gmail.com>
12478
12479 * subr.el (condition-case-unless-debug): Rename from
12480 condition-case-no-debug. All callers changed.
12481 (with-demoted-errors): Fix caller.
12482
12483 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
12484 * nxml/rng-valid.el (rng-do-some-validation):
12485 * emacs-lisp/package.el (package-refresh-contents)
12486 (package-menu-execute):
12487 * desktop.el (desktop-create-buffer):
12488 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
12489
12490 2012-02-10 Glenn Morris <rgm@gnu.org>
12491
12492 * textmodes/bibtex.el:
12493 Add missing :version tags for new/changed defcustoms.
12494
12495 * files.el (remote-file-name-inhibit-cache): Doc fixes.
12496
12497 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
12498
12499 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
12500 (smtpmail-via-smtp): Use it, or fall back on the From address.
12501 (smtpmail-send-it): Ditto.
12502
12503 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
12504
12505 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
12506 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
12507 (byte-compile-tmp-var): New const.
12508 (byte-compile-defvar): Use it to minimize .elc size.
12509 Just use `defvar' rather than simulate it (bug#10761).
12510
12511 2012-02-09 Glenn Morris <rgm@gnu.org>
12512
12513 * files.el (rename-uniquely): Doc fix. (Bug#3806)
12514
12515 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
12516 Add :version tags.
12517
12518 * progmodes/compile.el (compilation-error-screen-columns)
12519 (compilation-first-column, compilation-filter-start): Doc fixes.
12520
12521 * vc/log-view.el (log-view-toggle-entry-display):
12522 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
12523
12524 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
12525 (report-emacs-bug-can-use-xdg-email):
12526 (report-emacs-bug-insert-to-mailer): Doc fixes.
12527 (report-emacs-bug): Message fix.
12528
12529 * net/browse-url.el (browse-url-can-use-xdg-open)
12530 (browse-url-xdg-open): Doc fixes.
12531
12532 * electric.el (electric-indent-mode, electric-pair-mode)
12533 (electric-layout-rules, electric-layout-mode): Doc fixes.
12534 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
12535
12536 2012-02-08 Martin Rudalics <rudalics@gmx.at>
12537
12538 * server.el (server-unselect-display): Don't inadvertently kill
12539 the current buffer. (Bug#10729)
12540
12541 2012-02-08 Glenn Morris <rgm@gnu.org>
12542
12543 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
12544 (sql-list-table): Doc fixes.
12545
12546 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
12547 Comment out (does nothing).
12548
12549 * completion.el (dynamic-completion-mode):
12550 * dirtrack.el (dirtrack-debug-mode):
12551 * electric.el (electric-layout-mode):
12552 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
12553 * face-remap.el (text-scale-mode, buffer-face-mode):
12554 * iimage.el (iimage-mode):
12555 * image-mode.el (image-transform-mode):
12556 * minibuffer.el (completion-in-region-mode):
12557 * scroll-lock.el (scroll-lock-mode):
12558 * simple.el (next-error-follow-minor-mode):
12559 * tar-mode.el (tar-subfile-mode):
12560 * tooltip.el (tooltip-mode):
12561 * vcursor.el (vcursor-use-vcursor-map):
12562 * wid-browse.el (widget-minor-mode):
12563 * emulation/tpu-edt.el (tpu-edt-mode):
12564 * emulation/tpu-extras.el (tpu-cursor-free-mode):
12565 * international/iso-ascii.el (iso-ascii-mode):
12566 * language/thai-util.el (thai-word-mode):
12567 * mail/supercite.el (sc-minor-mode):
12568 * net/goto-addr.el (goto-address-mode):
12569 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
12570 * progmodes/cwarn.el (cwarn-mode):
12571 * progmodes/flymake.el (flymake-mode):
12572 * progmodes/glasses.el (glasses-mode):
12573 * progmodes/hideshow.el (hs-minor-mode):
12574 * progmodes/pascal.el (pascal-outline-mode):
12575 * textmodes/enriched.el (enriched-mode):
12576 * vc/smerge-mode.el (smerge-mode):
12577 Doc fixes (minor mode argument).
12578
12579 2012-02-07 Eli Zaretskii <eliz@gnu.org>
12580
12581 * ls-lisp.el (ls-lisp-sanitize): New function.
12582 (ls-lisp-insert-directory): Use it to fix or remove any elements
12583 in file-alist with missing attributes. (Bug#4673)
12584
12585 2012-02-07 Alan Mackenzie <acm@muc.de>
12586
12587 Fix spurious recognition of c-in-knr-argdecl.
12588
12589 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
12590 putative K&R region.
12591
12592 2012-02-07 Alan Mackenzie <acm@muc.de>
12593
12594 * progmodes/cc-engine.el (c-forward-objc-directive):
12595 Prevent looping in "#pragma mark @implementation".
12596
12597 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
12598
12599 * notifications.el (notifications-on-closed-signal): Make `reason'
12600 optional. (Bug#10744)
12601
12602 2012-02-07 Glenn Morris <rgm@gnu.org>
12603
12604 * emacs-lisp/easy-mmode.el (define-minor-mode):
12605 Doc fixes for the macro and the mode it defines.
12606
12607 * image.el (imagemagick-types-inhibit): Doc fix.
12608
12609 * cus-start.el (imagemagick-render-type): Add it.
12610
12611 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
12612
12613 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
12614 Set the default at load time, too, so that `font-lock-fontify-buffer'
12615 can be called without setting up the entire mode first. This fixes
12616 a bug in `mm-inline-text' with C MIME parts.
12617
12618 2012-02-06 Chong Yidong <cyd@gnu.org>
12619
12620 * simple.el (list-processes--refresh): Delete exited processes
12621 (Bug#8094).
12622
12623 * comint.el (comint-next-prompt): next-single-char-property-change
12624 and prev-single-char-property-change never return nil (Bug#8657).
12625
12626 * custom.el (defcustom): Doc fix (Bug#9711).
12627
12628 2012-02-05 Chong Yidong <cyd@gnu.org>
12629
12630 * cus-edit.el (custom-variable-reset-backup): Quote the value
12631 before storing it in the customized-value property (Bug#6712).
12632 (custom-display): Add a customization type tag.
12633 (custom-buffer-create-internal): Improve tooltip message.
12634
12635 * wid-edit.el (widget-field-value-get): New optional arg to
12636 suppress trailing whitespace truncation.
12637 (character): Use it (Bug#2689).
12638
12639 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
12640
12641 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
12642 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
12643
12644 2012-02-05 Chong Yidong <cyd@gnu.org>
12645
12646 * cus-edit.el (custom-variable-value-create): For mismatched
12647 types, show the current value (Bug#7600).
12648
12649 * custom.el (defcustom): Doc fix.
12650
12651 2012-02-05 Glenn Morris <rgm@gnu.org>
12652
12653 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
12654
12655 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
12656
12657 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
12658 (pp-buffer): Use `ignore-errors', `looking-at-p'.
12659 (pp-last-sexp): Use `looking-at-p'.
12660
12661 2012-02-04 Glenn Morris <rgm@gnu.org>
12662
12663 * files.el (revert-buffer):
12664 Doc fix (mention revert-buffer-in-progress-p).
12665
12666 * emacs-lisp/ert-x.el (ert-simulate-command):
12667 Check deferred-action-list (which is obsolete) is bound.
12668
12669 * subr.el (with-wrapper-hook): Doc fixes.
12670
12671 * simple.el (filter-buffer-substring-functions)
12672 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
12673
12674 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
12675
12676 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
12677 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
12678
12679 2012-02-04 Leo Liu <sdl.web@gmail.com>
12680
12681 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
12682
12683 2012-02-04 Glenn Morris <rgm@gnu.org>
12684
12685 * image.el (image-extension-data): Add obsolete alias.
12686
12687 * isearch.el (isearch-update): Doc fix.
12688
12689 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
12690
12691 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
12692
12693 2012-02-03 Glenn Morris <rgm@gnu.org>
12694
12695 * image.el (image-animated-p): Doc fix. Use image-animated-types.
12696 (image-animate-timeout): Doc fix.
12697
12698 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
12699
12700 2012-02-02 Glenn Morris <rgm@gnu.org>
12701
12702 * server.el (server-auth-dir): Doc fix.
12703 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
12704
12705 * subr.el (run-mode-hooks): Doc fix.
12706
12707 2012-02-02 Juri Linkov <juri@jurta.org>
12708
12709 * image-mode.el (image-toggle-display-image): Remove tautological
12710 `major-mode' from the `derived-mode-p' test.
12711
12712 2012-02-02 Kenichi Handa <handa@m17n.org>
12713
12714 * composite.el (compose-region): Cancel previous change.
12715
12716 2012-02-02 Kenichi Handa <handa@m17n.org>
12717
12718 * composite.el (compose-region, compose-string): Signal error for
12719 a null string component (Bug#6988).
12720
12721 2012-02-01 Chong Yidong <cyd@gnu.org>
12722
12723 * view.el (view-buffer-other-window, view-buffer-other-frame):
12724 Handle special modes like view-buffer (Bug#10650).
12725 (view-buffer): Simplify.
12726
12727 * frame.el (set-frame-font): Tweak meaning of third argument.
12728
12729 * dynamic-setting.el (font-setting-change-default-font):
12730 Use set-frame-font (Bug#9982).
12731
12732 2012-02-01 Glenn Morris <rgm@gnu.org>
12733
12734 * progmodes/compile.el (compilation-internal-error-properties):
12735 Respect compilation-first-column in the "*compilation*" buffer.
12736
12737 * emacs-lisp/easy-mmode.el (define-minor-mode):
12738 Relax :variable's test for a named function.
12739
12740 2012-01-31 Alan Mackenzie <acm@muc.de>
12741
12742 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
12743 off by one error.
12744
12745 2012-01-31 Chong Yidong <cyd@gnu.org>
12746
12747 * frame.el (set-frame-font): New arg ALL-FRAMES.
12748
12749 * menu-bar.el (menu-set-font): Use set-frame-font.
12750
12751 * faces.el (face-spec-reset-face): Don't apply unspecified
12752 attribute values to the default face.
12753
12754 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
12755
12756 * progmodes/cwarn.el (cwarn): Remove dead link.
12757 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
12758 Remove * from defcustom docstrings.
12759 (turn-on-cwarn-mode): Make obsolete.
12760 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
12761 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
12762
12763 2012-01-31 Glenn Morris <rgm@gnu.org>
12764
12765 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
12766 Fix :variable handling of mode a symbol not equal to modefun.
12767 Allow named functions to be used as the cdr of :variable.
12768
12769 2012-01-30 Glenn Morris <rgm@gnu.org>
12770
12771 * emacs-lisp/authors.el (authors-fixed-entries):
12772 Remove reference to deleted file rnewspost.el.
12773
12774 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
12775
12776 * window.el (window-with-parameter): Remove unused variable `windows'.
12777 (window--side-check): Remove unused variable `code'.
12778 (window--resize-siblings): Remove unused variable `first'.
12779 (adjust-window-trailing-edge): Remove unused variable `failed'.
12780 (window-deletable-p, window--delete): Remove unused variable `buffer'.
12781 Use `let', not `let*'.
12782 (balance-windows-2): Remove unused variable `found'.
12783 (window--state-put-2): Remove unused variable `splits'.
12784 (window-state-put): Remove unused variable `selected'.
12785 (same-window-p): Use `string-match-p'.
12786 (display-buffer-assq-regexp): Remove unused variable `value'.
12787 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12788 Mark argument ALIST as ignored.
12789 (pop-to-buffer): Remove unused variable `old-window'.
12790
12791 2012-01-29 Eli Zaretskii <eliz@gnu.org>
12792
12793 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
12794 and .lzma compressed files.
12795
12796 2012-01-29 Chong Yidong <cyd@gnu.org>
12797
12798 * frame.el (window-system-default-frame-alist): Doc fix.
12799
12800 * dynamic-setting.el (font-setting-change-default-font): Don't
12801 change the default face if SET-FONT argument is non-nil (Bug#9982).
12802
12803 2012-01-29 Samuel Bronson <naesten@gmail.com>
12804
12805 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
12806
12807 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
12808
12809 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
12810 breakpoints in files outside current directory (Bug#6098).
12811
12812 2012-01-29 Chong Yidong <cyd@gnu.org>
12813
12814 * progmodes/python.el: Require ansi-color at top-level.
12815
12816 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
12817 Define and use in Emacs Lisp mode (Bug#9360).
12818 (lisp-mode-abbrev-table): Add doc.
12819 (lisp-mode-variables): Don't set local-abbrev-table.
12820 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
12821
12822 2012-01-28 Roland Winkler <winkler@gnu.org>
12823
12824 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
12825
12826 2012-01-28 Roland Winkler <winkler@gnu.org>
12827
12828 * textmodes/bibtex.el (bibtex-entry-alist): New function.
12829 (bibtex-set-dialect): Use it. Either set global values of
12830 dialect-dependent variables or bind these variables buffer-locally
12831 (Bug#10254).
12832 (bibtex-mode): Call bibtex-set-dialect via
12833 hack-local-variables-hook.
12834 (bibtex-dialect): Update docstring.
12835 Add safe-local-variable predicate.
12836 (bibtex-entry-alist, bibtex-field-alist): Initialize via
12837 bibtex-set-dialect.
12838 (bibtex-mode-map): Define menu for each dialect.
12839 (bibtex-entry): Fix docstring.
12840
12841 2012-01-28 Chong Yidong <cyd@gnu.org>
12842
12843 * eshell/esh-arg.el (eshell-quote-argument): New function.
12844
12845 * eshell/esh-ext.el (eshell-invoke-batch-file):
12846 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
12847 first arg to eshell-parse-command (Bug#10523).
12848
12849 2012-01-28 Drew Adams <drew.adams@oracle.com>
12850
12851 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
12852 `default-directory' is non-nil.
12853
12854 2012-01-28 Eli Zaretskii <eliz@gnu.org>
12855
12856 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
12857 line that displays system-configuration-options. (Bug#9924)
12858
12859 2012-01-28 Drew Adams <drew.adams@oracle.com>
12860
12861 * descr-text.el (describe-char): Show information about POS, in
12862 addition to information about the character at POS. Improve and
12863 update the doc string. Change "code point" to "code point in
12864 charset", to avoid confusion with the character's Unicode code
12865 point shown above that. (Bug#10129)
12866
12867 2012-01-28 Eli Zaretskii <eliz@gnu.org>
12868
12869 * descr-text.el (describe-char): Show the raw character, not only
12870 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
12871 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
12872 for the reasons.
12873
12874 2012-01-28 Phil Hagelberg <phil@hagelb.org>
12875
12876 * emacs-lisp/package.el (package-install):
12877 Run package-refresh-contents if there is no archive yet (Bug#9798).
12878
12879 2012-01-28 Chong Yidong <cyd@gnu.org>
12880
12881 * emacs-lisp/package.el (package-maybe-load-descriptor):
12882 New function, split from package-maybe-load-descriptor.
12883 (package-maybe-load-descriptor): Use it.
12884 (package-download-transaction): Fully load required packages
12885 inside the loop, so that `require' calls work (Bug#10593).
12886 (package-install): No need to call package-initialize now.
12887
12888 2012-01-28 Chong Yidong <cyd@gnu.org>
12889
12890 * simple.el (deactivate-mark): Doc fix (Bug#8614).
12891
12892 * tooltip.el (tooltip-mode): Doc fix.
12893 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
12894
12895 * frame.el (set-cursor-color): Doc fix (Bug#352).
12896
12897 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
12898 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
12899
12900 * cus-edit.el (custom-buffer-create-internal): Fix search button
12901 action (Bug#10542).
12902 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
12903
12904 2012-01-27 Eduard Wiebe <usenet@pusto.de>
12905
12906 * dired.el (dired-mark-files-regexp):
12907 Include any subdirectory components. (Bug#10445)
12908
12909 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
12910
12911 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
12912 Handle [host]:port syntax. (Bug#10533)
12913
12914 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
12915
12916 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
12917
12918 2012-01-26 Glenn Morris <rgm@gnu.org>
12919
12920 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
12921 * term.el (term-raw-escape-map): Use Control-X-prefix.
12922 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
12923
12924 2012-01-25 Martin Rudalics <rudalics@gmx.at>
12925
12926 * window.el (window-state-get, window--state-get-1): Don't deal
12927 with fixed-sizeness of windows. Simplify code.
12928
12929 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
12930
12931 * window.el (window--state-get-1, window--state-put-2):
12932 Don't save and restore the mark.
12933
12934 2012-01-25 Chong Yidong <cyd@gnu.org>
12935
12936 * custom.el (custom-variable-p): Doc fix.
12937
12938 2012-01-25 Glenn Morris <rgm@gnu.org>
12939
12940 * dired.el (dired-goto-file): Handle some of the more common
12941 characters that `ls -b' escapes. (Bug#10596)
12942
12943 * progmodes/compile.el (compilation-next-error-function):
12944 Respect compilation-first-column in the "*compilation*" buffer.
12945 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
12946
12947 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
12948
12949 2012-01-24 Glenn Morris <rgm@gnu.org>
12950
12951 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
12952
12953 2012-01-24 Julien Danjou <julien@danjou.info>
12954
12955 * color.el (color-rgb-to-hsl): Fix value computing.
12956 (color-hue-to-rgb): New function.
12957 (color-hsl-to-rgb): New function.
12958 (color-clamp, color-saturate-hsl, color-saturate-name)
12959 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
12960 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
12961
12962 2012-01-24 Glenn Morris <rgm@gnu.org>
12963
12964 * vc/vc-rcs.el (vc-rcs-create-tag):
12965 * vc/vc-sccs.el (vc-sccs-create-tag):
12966 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
12967
12968 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
12969
12970 * eshell/esh-util.el (eshell-read-hosts-file):
12971 Skip comment lines. (Bug#10549)
12972
12973 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
12974
12975 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
12976
12977 * subr.el (display-delayed-warnings): Doc fix.
12978 (collapse-delayed-warnings): New function to collapse identical
12979 adjacent warnings.
12980 (delayed-warnings-hook): Add it.
12981
12982 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
12983
12984 * net/tramp.el (tramp-action-login): Set connection property "login-as".
12985
12986 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
12987 (tramp-default-user-alist): Don't add "pscp".
12988 (tramp-do-copy-or-rename-file-out-of-band): Use connection
12989 property "login-as", if set. (Bug#10530)
12990
12991 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
12992
12993 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
12994 "plink1" and "psftp". (Bug#10530)
12995
12996 2012-01-21 Kenichi Handa <handa@m17n.org>
12997
12998 * international/mule-cmds.el (prefer-coding-system): Show a
12999 warning message if the default value of file-name-coding-system
13000 was not changed.
13001
13002 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
13003
13004 * windmove.el (windmove-reference-loc):
13005 Fix windmove-reference-loc miscalculation.
13006
13007 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
13008
13009 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
13010 default unit.
13011
13012 2012-01-21 Glenn Morris <rgm@gnu.org>
13013
13014 * international/mule.el (auto-coding-alist): Add .tbz.
13015
13016 * files.el (local-enable-local-variables): Doc fix.
13017 (inhibit-local-variables-regexps): Rename from
13018 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
13019 Doc fix. Add some extensions from auto-coding-alist.
13020 (inhibit-local-variables-suffixes):
13021 Rename from inhibit-first-line-modes-suffixes. Doc fix.
13022 (inhibit-local-variables-p):
13023 New function, extracted from set-auto-mode-1.
13024 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
13025 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
13026 (hack-local-variables): Doc fix. Make the mode-only case
13027 respect enable-local-variables and friends.
13028 Respect inhibit-local-variables-regexps for file-locals, but
13029 not for directory-locals.
13030 (set-visited-file-name):
13031 Take account of inhibit-local-variables-regexps.
13032 Whether it applies may change as the file name is changed.
13033 * jka-cmpr-hook.el (jka-compr-install):
13034 * jka-compr.el (jka-compr-uninstall):
13035 Update for inhibit-first-line-modes-suffixes name change.
13036
13037 2012-01-20 Martin Rudalics <rudalics@gmx.at>
13038
13039 * help-macro.el (make-help-screen): Temporarily restore original
13040 binding for minor-mode-map-alist (Bug#10454).
13041
13042 2012-01-19 Julien Danjou <julien@danjou.info>
13043
13044 * color.el (color-name-to-rgb): Use the white color to find the max
13045 color component value and return correctly computed values.
13046 (color-name-to-rgb): Add missing float conversion for max value.
13047
13048 2012-01-19 Martin Rudalics <rudalics@gmx.at>
13049
13050 * window.el (window--state-get-1, window-state-get): Do not use
13051 special state value for window-persistent-parameters.
13052 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
13053 (window--state-put-2): Reset all window parameters to nil before
13054 assigning values of persistent parameters.
13055
13056 2012-01-18 Alan Mackenzie <acm@muc.de>
13057
13058 Eliminate sluggishness and hangs in fontification of "semicolon
13059 deserts".
13060
13061 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
13062 Change value 10000 -> 3000.
13063 (c-state-safe-place): Reformulate so it doesn't stack up an
13064 infinite number of wrong entries in c-state-nonlit-pos-cache.
13065 (c-determine-limit-get-base, c-determine-limit): New functions to
13066 determine backward search limits disregarding literals.
13067 (c-find-decl-spots): Amend commenting.
13068 (c-cheap-inside-bracelist-p): New function which detects "={".
13069
13070 * progmodes/cc-fonts.el
13071 (c-make-font-lock-BO-decl-search-function): Give a limit to a
13072 backward search.
13073 (c-font-lock-declarations): Fix an occurrence of point being
13074 undefined. Check additionally for point being in a bracelist or
13075 near a macro invocation without a semicolon so as to avoid a
13076 fruitless time consuming search for a declarator. Give a more
13077 precise search limit for declarators using the new
13078 c-determine-limit.
13079
13080 2012-01-18 Glenn Morris <rgm@gnu.org>
13081
13082 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
13083 (set-auto-mode): Doc fixes.
13084
13085 2012-01-17 Glenn Morris <rgm@gnu.org>
13086
13087 * isearch.el (search-nonincremental-instead): Fix doc typo.
13088
13089 * dired.el (dired-insert-directory): Handle newlines in directory name.
13090 (dired-build-subdir-alist): Unescape newlines in directory name.
13091
13092 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
13093
13094 * net/tramp.el (tramp-local-end-of-line): New defcustom.
13095 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
13096 (tramp-action-terminal): Use it. (Bug#10530)
13097
13098 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
13099
13100 * minibuffer.el (completion--replace): Strip properties (bug#10062).
13101
13102 2012-01-16 Martin Rudalics <rudalics@gmx.at>
13103
13104 * window.el (window-state-ignored-parameters): Remove variable.
13105 (window--state-get-1): Rename argument MARKERS to IGNORE.
13106 Handle persistent window parameters. Make copy of clone-of
13107 parameter only if requested. (Bug#10348)
13108 (window--state-put-2): Install a window parameter only if it has
13109 a non-nil value or an existing parameter shall be overwritten.
13110
13111 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
13112
13113 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
13114
13115 2012-01-14 Eli Zaretskii <eliz@gnu.org>
13116
13117 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
13118 don't pass the (nil) value of `upnode' to string-match.
13119
13120 2012-01-14 Chong Yidong <cyd@gnu.org>
13121
13122 * startup.el (command-line): Fix X resource class for cursorColor.
13123 Fix values recognized by the cursorBlink resource.
13124
13125 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
13126
13127 * epg.el (epg--make-temp-file): Avoid permission race condition
13128 when running on old Emacs versions (bug#10403).
13129
13130 2012-01-14 Glenn Morris <rgm@gnu.org>
13131
13132 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
13133
13134 2012-01-13 Alan Mackenzie <acm@muc.de>
13135
13136 Fix filling for when filladapt mode is enabled.
13137
13138 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
13139 c-mask-paragraph, pass in `fill-paragraph' rather than
13140 `fill-region-as-paragraph'. (This is a reversion of a previous
13141 change.)
13142 * progmodes/cc-mode.el (c-basic-common-init):
13143 Make fill-paragraph-handle-comment buffer local and set it to nil.
13144
13145 2012-01-13 Glenn Morris <rgm@gnu.org>
13146
13147 * dired.el (dired-switches-escape-p): New function.
13148 (dired-insert-directory): Use dired-switches-escape-p.
13149 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
13150
13151 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
13152
13153 2012-01-12 Glenn Morris <rgm@gnu.org>
13154
13155 * mail/sendmail.el (mail-mode): Update paragraph-separate for
13156 changes in adaptive-fill-regexp. (Bug#10276)
13157
13158 2012-01-11 Alan Mackenzie <acm@muc.de>
13159
13160 Fix Emacs bug #10463 - put `widen's around the critical spots.
13161
13162 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
13163 widen around each invocation of c-state-pp-to-literal. Remove an
13164 unused let variable.
13165
13166 2012-01-11 Glenn Morris <rgm@gnu.org>
13167
13168 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
13169 Doc fix.
13170
13171 2012-01-10 Chong Yidong <cyd@gnu.org>
13172
13173 * net/network-stream.el (network-stream-open-starttls):
13174 Avoid emitting a confusing error message when the server gives a bad
13175 response to the capability command.
13176
13177 2012-01-10 Glenn Morris <rgm@gnu.org>
13178
13179 * mail/unrmail.el (unrmail): Tweak previous change.
13180
13181 2012-01-09 Chong Yidong <cyd@gnu.org>
13182
13183 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
13184
13185 2012-01-08 Alan Mackenzie <acm@muc.de>
13186
13187 Optimise font locking in long enum definitions.
13188
13189 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
13190 arm to a cond form to handle enums.
13191 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
13192 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
13193
13194 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
13195
13196 * files.el (move-file-to-trash): Preserve default file modes on error.
13197 (Bug#10401)
13198
13199 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
13200
13201 * faces.el (set-face-attribute): Clarify the meaning of the nil
13202 frame (bug#10294).
13203
13204 * subr.el (with-selected-frame): Mention that the selected frame
13205 is restored (bug#9980).
13206
13207 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
13208 (bug#9759).
13209
13210 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
13211 (password-read): Don't autoload unused function.
13212
13213 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
13214
13215 * progmodes/which-func.el (which-func-mode): Turn into a
13216 non-interactive function and mark as obsolete (bug#10428).
13217
13218 2012-01-06 Chong Yidong <cyd@gnu.org>
13219
13220 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
13221 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
13222 functions, along with 1 and -1.
13223
13224 2012-01-06 Eli Zaretskii <eliz@gnu.org>
13225
13226 * time.el (display-time-load-average)
13227 (display-time-default-load-average): Doc fixes. See the thread
13228 starting at
13229 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
13230 for the details.
13231
13232 2012-01-06 Glenn Morris <rgm@gnu.org>
13233
13234 * mail/unrmail.el (unrmail): Give an explicit error if the input file
13235 has no messages. (Bug#10377)
13236
13237 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
13238 than Info-edit. (Bug#10385)
13239
13240 * time.el (display-time-load-average, display-time-next-load-average):
13241 Doc fixes.
13242
13243 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
13244 local setting of buffer-read-only to the input buffer. (Bug#10419)
13245
13246 * calendar/calendar.el (calendar-mode):
13247 Locally set scroll-margin to 0. (Bug#10379)
13248
13249 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
13250
13251 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
13252
13253 2012-01-05 Glenn Morris <rgm@gnu.org>
13254
13255 * eshell/em-unix.el (diff-no-select): Autoload it.
13256 (eshell/diff): Use diff-no-select. (Bug#10420)
13257
13258 2012-01-05 Chong Yidong <cyd@gnu.org>
13259
13260 * shell.el (shell-dynamic-complete-functions): Revert last change.
13261 (shell-command-completion-function): New function.
13262 (shell-completion-vars): Use it to implement
13263 shell-completion-execonly (Bug#10417).
13264
13265 * custom.el (enable-theme): Don't set custom-safe-themes.
13266
13267 * cus-theme.el (custom-theme-merge-theme):
13268 Ignore custom-enabled-themes and custom-safe-themes.
13269
13270 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
13271
13272 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
13273 first prompt in `sql-interacive-mode'.
13274 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
13275 keywords.
13276 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
13277 (sql-product-interactive): Bug fix: Set `sql-buffer' in
13278 context of original buffer. Invoke `sql-login-hook'.
13279
13280 2012-01-04 Eli Zaretskii <eliz@gnu.org>
13281
13282 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
13283 letters in cite-prefix.
13284
13285 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13286
13287 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
13288
13289 2012-01-03 Chong Yidong <cyd@gnu.org>
13290
13291 * shell.el (shell-dynamic-complete-functions):
13292 Put pcomplete-completions-at-point, so as to try
13293 comint-filename-completion first (Bug#10417).
13294
13295 2012-01-02 Richard Stallman <rms@gnu.org>
13296
13297 * battery.el (battery-status-function):
13298 Detect when to use battery-yeeloong-sysfs.
13299 (battery-echo-area-format): Add string for Yeeloong.
13300 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
13301 (battery-yeeloong-sysfs): New function.
13302
13303 2012-01-02 Chong Yidong <cyd@gnu.org>
13304
13305 * dirtrack.el (dirtrack-list): Eliminate unused third element.
13306 (dirtrack): Merge code for handling relative filenames in prompt
13307 from shell-dir-cookie-watcher.
13308 (dirtrack-debug-message): New arg to avoid excess format calls.
13309
13310 * shell.el (shell-dir-cookie-re): Variable deleted.
13311 (shell-dir-cookie-watcher): Function deleted.
13312 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
13313 with dirtrack-mode.
13314
13315 2012-01-01 Eli Zaretskii <eliz@gnu.org>
13316
13317 * term/w32-win.el (dynamic-library-alist) <gnutls>:
13318 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
13319 libgnutls-26.dll.
13320
13321 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
13322
13323 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
13324
13325 2011-12-31 Eli Zaretskii <eliz@gnu.org>
13326
13327 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
13328 headers of non-MIME messages, when rmail-enable-mime is non-nil.
13329
13330 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
13331
13332 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
13333 also for alternative shells.
13334 (tramp-open-connection-setup-interactive-shell): Check, whether
13335 the shell is a busybox.
13336 (tramp-send-command): Don't suppress multiple prompts for
13337 busyboxes, it hurts.
13338
13339 2011-12-28 Chong Yidong <cyd@gnu.org>
13340
13341 * progmodes/gdb-mi.el (gdb-get-source-file-list)
13342 (gdb-get-source-file): Move mode line update to
13343 gdb-get-source-file (Bug#10087).
13344
13345 2011-12-25 Chong Yidong <cyd@gnu.org>
13346
13347 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
13348 gud-gdb-marker-filter without taking it as an argument.
13349 (gud-gdb-run-command-fetch-lines): Caller changed.
13350 (gud-gdb-completion-function): New variable.
13351 (gud-gdb-completion-at-point): Use it.
13352 (gud-gdb-completions-1): Split from gud-gdb-completions.
13353
13354 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
13355 function as separate arguments.
13356 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
13357 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
13358 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
13359 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
13360 (gdb-stopped, def-gdb-auto-update-trigger)
13361 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
13362 (gdb-get-changed-registers, gdb-get-main-selected-frame):
13363 Callers changed.
13364 (gud-gdbmi-completions): New function.
13365 (gdb): Use it for generating the completion table.
13366
13367 2011-12-24 Alan Mackenzie <acm@muc.de>
13368
13369 Introduce a mechanism to widen the region used in context font
13370 locking. Use this to protect declarations from losing their contexts.
13371
13372 * progmodes/cc-langs.el (c-before-font-lock-functions):
13373 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
13374 (c-before-context-fontification-functions): New defvar, a list of
13375 functions to be run just before context (etc.) font locking.
13376
13377 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
13378 New, functionality extracted from
13379 c-neutralize-syntax-in-and-mark-CPP.
13380 (c-in-after-change-fontification): New variable.
13381 (c-after-change): Set c-in-after-change-fontification.
13382 (c-set-fl-decl-start): Rejig its interface, so it can be called
13383 from both after-change and context fontifying.
13384 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
13385 New functions.
13386 (c-standard-font-lock-fontify-region-function): New variable.
13387 (c-font-lock-fontify-region): New function.
13388
13389 2011-12-24 Juri Linkov <juri@jurta.org>
13390
13391 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
13392 (Bug#10348)
13393
13394 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
13395
13396 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
13397 existence of source file. (Bug#10325)
13398
13399 2011-12-23 Alan Mackenzie <acm@muc.de>
13400
13401 Fix unstable fontification inside templates.
13402
13403 * progmodes/cc-langs.el (c-before-font-lock-functions):
13404 Newly created from the singular version. The (c c++ objc) entry now
13405 additionally has c-set-fl-decl-start. The other languages (apart
13406 from AWK) have that as a single entry.
13407
13408 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13409 The functionality for "local" declarations has been extracted to
13410 c-set-fl-decl-start.
13411
13412 * progmodes/cc-mode.el (c-common-init, c-after-change):
13413 Changes due to pluralisation of c-before-font-lock-functions.
13414 (c-set-fl-decl-start): New function, extracted from
13415 c-font-lock-enclosing-decls and enhanced.
13416
13417 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
13418
13419 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
13420
13421 2011-12-22 Juri Linkov <juri@jurta.org>
13422
13423 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
13424
13425 2011-12-22 Chong Yidong <cyd@gnu.org>
13426
13427 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
13428
13429 2011-12-21 Drew Adams <drew.adams@oracle.com>
13430
13431 * files.el (file-remote-p): Fix docstring. (Bug#10319)
13432
13433 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
13434
13435 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
13436
13437 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
13438
13439 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
13440 highlighting and support. Fix up comments for capitalization.
13441 (cfengine-mode-debug): New var.
13442 (cfengine3-mode): Change the modeline indicator to "CFE3".
13443 (cfengine3-font-lock-keywords): Improve defun highlighting.
13444 (cfengine2-actions): Rename from `cfengine-actions'.
13445 (cfengine2-font-lock-keywords): Rename from
13446 `cfengine-font-lock-keywords'.
13447 (cfengine2-imenu-expression): Rename from
13448 `cfengine-imenu-expression'.
13449 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
13450 (cfengine2-beginning-of-defun): Rename from
13451 `cfengine-beginning-of-defun'.
13452 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
13453 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
13454 (cfengine2-mode): Rename from `cfengine-mode'. Change the
13455 modeline indicator to "CFE2".
13456 (cfengine-mode): Defalias to `cfengine-auto-mode'.
13457 (cfengine-mode-abbrevs): Mark obsolete.
13458
13459 2011-12-21 Chong Yidong <cyd@gnu.org>
13460
13461 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
13462 filename argument.
13463
13464 2011-12-20 Martin Rudalics <rudalics@gmx.at>
13465
13466 * window.el (window-normalize-buffer-to-display): Remove.
13467 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
13468
13469 2011-12-19 Chong Yidong <cyd@gnu.org>
13470
13471 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
13472 Don't signal an error in a predicate function; return non-nil.
13473 (vc-dir-mark-file): Move the error here.
13474 (vc-dir-mark-unmark): If acting on the region, keep going if one
13475 of the entries cannot be marked/unmarked.
13476 (vc-dir-mark-all-files): If current entry is a directory, mark
13477 only child files, as documented.
13478
13479 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
13480
13481 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
13482 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
13483 addition.
13484
13485 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
13486
13487 * term/ns-win.el (ns-get-selection-internal)
13488 (ns-store-selection-internal): Declare.
13489 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
13490 Declare as obsolete.
13491 (ns-get-pasteboard, ns-paste-secondary):
13492 Use ns-get-selection-internal.
13493 (ns-set-pasteboard, ns-copy-including-secondary):
13494 Use ns-store-selection-internal.
13495
13496 2011-12-17 Chong Yidong <cyd@gnu.org>
13497
13498 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
13499 (vc-deduce-fileset): Doc fix.
13500
13501 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
13502
13503 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
13504
13505 2011-12-13 Sam Steingold <sds@gnu.org>
13506
13507 * man.el (Man-getpage-in-background): When running under a
13508 window-system, ignore $MANWIDTH and $COLUMNS.
13509
13510 2011-12-15 Kenichi Handa <handa@m17n.org>
13511
13512 * language/ethio-util.el: Change coding tag to utf-8-emacs.
13513 (setup-ethiopic-environment-internal): Comment out key-binding for
13514 ethio-toggle-punctuation.
13515
13516 2011-12-13 Alan Mackenzie <acm@muc.de>
13517
13518 Add the switch statement to AWK Mode.
13519
13520 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
13521 "default" to the keywords regexp.
13522
13523 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
13524 expression as the rest.
13525 (c-nonlabel-token-key): Allow string literals for AWK.
13526 Refactor for the other modes.
13527
13528 Large brace-block initialisation makes CC Mode slow: Fix.
13529 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13530 routines. Limit backward searching in c-font-lock-enclosing.decl.
13531
13532 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
13533 pp-state and literal type in addition to the limits.
13534 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13535 (c-state-literal-at): Use the above new defun.
13536 (c-slow-in-literal, c-fast-in-literal): Remove.
13537 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13538
13539 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
13540 being in a literal. Add a limit for backward searching.
13541
13542 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
13543 c-slow-in-literal.
13544
13545 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
13546
13547 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
13548
13549 2011-12-13 Martin Rudalics <rudalics@gmx.at>
13550
13551 * window.el (delete-other-windows): Use correct frame in call to
13552 window-with-parameter.
13553
13554 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
13555
13556 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
13557 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
13558 (makefile-gmake-statements, makefile-makepp-statements):
13559 Use it and add new makepp keywords.
13560 (makefile-makepp-font-lock-keywords): Add new patterns.
13561 (makefile-match-function-end): Match new [...] and [[...]].
13562
13563 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
13564
13565 * ses.el (ses-call-printer-return, ses-cell-property-get)
13566 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
13567 (ses-create-cell-variable, ses-reset-header-string)
13568 (ses-cell-set-formula, ses-repair-cell-reference-all)
13569 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
13570 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
13571 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
13572 (ses-aset-with-undo, ses-load, ses-truncate-cell)
13573 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
13574 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
13575 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
13576 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
13577 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
13578 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
13579 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
13580 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
13581
13582 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
13583
13584 * ses.el: The overall change is to add cell renaming, that is
13585 setting fancy names for cell symbols other than name matching
13586 "\\`[A-Z]+[0-9]+\\'" regexp .
13587 (ses-create-cell-variable): New defun.
13588 (ses-relocate-formula): Relocate formulas only for cells the
13589 symbols of which are not renamed, i.e. symbols whose names do not
13590 match regexp "\\`[A-Z]+[0-9]+\\'".
13591 (ses-relocate-all): Relocate values only for cells the symbols of
13592 which are not renamed.
13593 (ses-load): Create cells variables as the (ses-cell ...) are read,
13594 in order to check row col consistency with cell symbol name only
13595 for cells that are not renamed.
13596 (ses-replace-name-in-formula): New defun.
13597 (ses-rename-cell): New defun.
13598
13599 2011-12-11 Chong Yidong <cyd@gnu.org>
13600
13601 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
13602 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
13603
13604 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
13605
13606 * window.el (other-window): Fix docstring.
13607
13608 2011-12-10 Eli Zaretskii <eliz@gnu.org>
13609
13610 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
13611 `from' or `to' address before taking its substring.
13612 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
13613 encoded name is chopped in the middle of the encoded string, and
13614 thus displayed encoded.
13615
13616 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
13617
13618 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
13619
13620 2011-12-10 Eli Zaretskii <eliz@gnu.org>
13621
13622 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
13623 to use texinfo-update-node and commands that call it if the
13624 Texinfo file uses @node lines without next/prev/up pointers.
13625 Correct outdated description about texinfo-master-menu.
13626 (texinfo-all-menus-update, texinfo-master-menu)
13627 (texinfo-update-node, texinfo-every-node-update)
13628 (texinfo-multiple-files-update): Doc fix. Warn against updating
13629 all the @node lines.
13630 (texinfo-master-menu): Only call texinfo-update-node if the prefix
13631 argument is numeric. Explain better in the doc string what the
13632 function really does.
13633 (texinfo-insert-master-menu-list): Improve the error message
13634 displayed if there's no menu in the Top node.
13635 (Bug#2975) See also this thread:
13636 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
13637
13638 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
13639
13640 * speedbar.el (speedbar-supported-extension-expressions):
13641 Add .adb and .ads, commonly used for Ada source code (bug#10256).
13642
13643 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
13644
13645 * printing.el (pr-mode-alist):
13646 * simple.el (filter-buffer-substring-functions)
13647 (completion-list-insert-choice-function):
13648 * window.el (window-with-parameter, window-atom-root)
13649 (window-sides-slots, window-size-fixed, window-min-delta)
13650 (window-max-delta, window--resize-mini-window)
13651 (window--resize-child-windows-normal, window-tree)
13652 (delete-other-windows, quit-window, split-window)
13653 (display-buffer-record-window, special-display-buffer-names)
13654 (special-display-regexps, special-display-popup-frame)
13655 (same-window-p, split-window-sensibly)
13656 (display-buffer-overriding-action, display-buffer-alist)
13657 (display-buffer-base-action, display-buffer, switch-to-buffer)
13658 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
13659 (fit-window-to-buffer, recenter-positions)
13660 (mouse-autoselect-window-state, mouse-autoselect-window-select):
13661 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
13662 and remove unneeded backslashes in docstrings.
13663
13664 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
13665
13666 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
13667
13668 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
13669 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
13670 end in ".mk".
13671 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
13672 when reading the makefile (bug#10116).
13673
13674 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
13675
13676 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
13677 (bug#10116).
13678
13679 2011-12-06 Glenn Morris <rgm@gnu.org>
13680
13681 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
13682
13683 2011-12-06 Chong Yidong <cyd@gnu.org>
13684
13685 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
13686
13687 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
13688
13689 * textmodes/table.el (table-shorten-cell): Fix typo.
13690
13691 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
13692
13693 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
13694
13695 2011-12-05 Eli Zaretskii <eliz@gnu.org>
13696
13697 * descr-text.el (describe-char): Fix display of strong
13698 right-to-left characters and directional embeddings and overrides.
13699
13700 * simple.el (what-cursor-position): Fix display of codepoints of
13701 strong right-to-left characters.
13702
13703 2011-12-05 Chong Yidong <cyd@gnu.org>
13704
13705 * faces.el (read-color): Doc fix.
13706
13707 2011-12-05 Glenn Morris <rgm@gnu.org>
13708
13709 * align.el (align--set-marker): Add doc-string.
13710 Don't try to move something that is not a marker. (Bug#10216)
13711
13712 2011-12-04 Glenn Morris <rgm@gnu.org>
13713
13714 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
13715 overly zealous deletion of trailing whitespace.
13716
13717 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
13718
13719 * server.el (server-delete-client): On Windows, do not try to delete
13720 the only terminal.
13721 (server-process-filter): On Windows, treat requests for a tty frame as
13722 if they were for a GUI frame if the running server is in GUI mode.
13723
13724 2011-12-03 Glenn Morris <rgm@gnu.org>
13725
13726 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
13727
13728 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13729
13730 * electric.el: Streamline electric-indent's hook.
13731 (electric-indent-chars): Revert to simple list.
13732 (electric-indent-functions): New var.
13733 (electric-indent-post-self-insert-function): Use it.
13734
13735 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
13736 there's no inferior buffer (bug#10196).
13737 (prolog-consult-compile): Don't use toggle-read-only.
13738
13739 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
13740
13741 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
13742 interrupt. (Bug#10187)
13743
13744 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
13745
13746 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
13747 (bug#9160).
13748
13749 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
13750 (bug#10191).
13751
13752 2011-12-02 Juri Linkov <juri@jurta.org>
13753
13754 * info.el (Info-search): Display "end of manual" when Isearch
13755 reaches the end of single-file Info manual. (Bug#9918)
13756
13757 2011-12-02 Eli Zaretskii <eliz@gnu.org>
13758
13759 * isearch.el (isearch-message-prefix): Run the input method part
13760 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
13761
13762 2011-12-02 Juri Linkov <juri@jurta.org>
13763
13764 * isearch.el (isearch-occur): Use `word-search-regexp' for
13765 `isearch-word'.
13766 (isearch-search-and-update): Add condition for `isearch-word' and
13767 call `word-search-regexp'. (Bug#10145)
13768
13769 2011-12-01 Glenn Morris <rgm@gnu.org>
13770
13771 * eshell/em-hist.el (eshell-hist-initialize):
13772 Handle eshell-history-size nil and HISTSIZE set or unset.
13773 (eshell-history-file-name, eshell-history-size): Fix custom type.
13774
13775 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
13776
13777 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
13778
13779 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
13780
13781 * progmodes/verilog-mode.el (verilog-pretty-expr):
13782 Rework verilog-pretty-expr to handle new assignment operators in system
13783 verilog, such as += *= and the like.
13784 (verilog-assignment-operator-re): Regular expression to find the
13785 assigment operator in a verilog assignment.
13786 (verilog-assignment-operation-re): Regular expression to find an
13787 assignment statement for pretty-expr.
13788 (verilog-in-attribute-p): Query returns true if point is in an
13789 attribute context; used to skip these for expression line up from
13790 pretty-expr.
13791 (verilog-in-parameter-p): Query returns true if point is in an
13792 parameter definition context; used to skip these for expression
13793 line up from pretty-expr.
13794 (verilog-in-parenthesis-p): Query returns true if point is in a
13795 parenthetical expression, specifically ( ) but not [ ] or { };
13796 used by pretty-expr.
13797 (verilog-just-one-space): If there is no space, don't add one.
13798 (verilog-get-lineup-indent-2): Specifically skip just attribute
13799 contexts for expression lineup, rather than skipping all
13800 parenthetical expressions.
13801 (verilog-calculate-indent): Fix comment, and fix indent.
13802 (verilog-do-indent): Indent declarations in lists (suggested by
13803 Joachim Lechner).
13804 (verilog-mode-abbrev-table): Populate abbrev mode with the various
13805 skeleton items.
13806 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
13807 by Alain Mellan).
13808
13809 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
13810
13811 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
13812 parameters with embedded comments. Reported by Ray Stevens.
13813 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
13814 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
13815 Reported by Tim Holt.
13816 (verilog-auto): Fix AUTOing a upper module then AUTOing module
13817 instantiated by upper module causing wrong expansion until AUTOed a
13818 second time. Reported by K C Buckenmaier.
13819 (verilog-diff-auto): Fix showing .* as a difference when
13820 `verilog-auto-star-save' off. Reported by Dan Dever.
13821 (verilog-auto-reset, verilog-read-always-signals)
13822 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
13823 temporary signals in reset list if
13824 verilog-auto-reset-blocking-in-non is nil, and match assignment
13825 style to each signal's assignment type, bug381.
13826 Reported by Thomas Esposito.
13827 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
13828 (verilog-uvm-statement-re): Support UVM indentation and
13829 highlighting, with old OVM keywords only.
13830 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
13831 Support AUTOTIEOFF creating non-wire data types.
13832 Suggested by Jonathan Greenlaw.
13833 (verilog-auto-insert-lisp, verilog-delete-to-paren)
13834 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
13835 (verilog-inject-sense, verilog-read-inst-pins)
13836 (verilog-read-sub-decls, verilog-read-sub-decls-line):
13837 Fix mismatching parenthesis inside commented out code when deleting
13838 AUTOINST, bug383. Reported by Jonathan Greenlaw.
13839 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
13840 non-numeric vector width. Reported by Alex Reed.
13841 (verilog-auto-ascii-enum): Add "onehot" option to work around not
13842 detecting signals with parameter widths. Reported by Alex Reed.
13843 (verilog-auto-delete-trailing-whitespace):
13844 With `verilog-auto-delete-trailing-whitespace' remove trailing
13845 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
13846 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
13847 Fix verilog-scan-cache corruption when running user AUTO expansion
13848 hooks that call indentation routines.
13849 (verilog-simplify-range-expression): Fix typo ignoring lower case
13850 identifiers.
13851 (verilog-delete-auto): Fix delete-autos to also remove user created
13852 automatics, as long as they start with AUTO.
13853 (verilog-batch-diff-auto, verilog-diff-auto)
13854 (verilog-diff-function): Add `verilog-diff-auto' and bind to
13855 "C-c?" to report differences in AUTO expansion, ignoring spaces.
13856 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
13857 (verilog-in-paren-quick, verilog-re-search-backward-quick)
13858 (verilog-re-search-forward-quick, verilog-syntax-ppss):
13859 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
13860 is disabled and its cache will get corrupt, causing AUTOS not to
13861 expand. Instead use only -quick functions.
13862 (verilog-scan-region): Fix scanning over escaped quotes.
13863 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
13864 (verilog-re-search-backward-quick)
13865 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
13866 related functions now ignore strings, to fix misparsing of strings
13867 with magic comments embedded in them.
13868 (verilog-read-auto-template):
13869 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
13870 Reported by Brad Dobbie.
13871 (verilog-read-auto-template):
13872 Fix 'verilog-auto-inst-template-numbers' with comments.
13873 Reported by Brad Dobbie.
13874 (verilog-auto-inst, verilog-auto-inst-param)
13875 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
13876 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
13877 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
13878 debugging templates without merge conflicts, bug357.
13879 Reported by Brad Dobbie.
13880 (verilog-read-auto-template):
13881 Fix verilog-auto-inst-template-numbers with multiple templates.
13882 Reported by Brad Dobbie.
13883 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
13884 abbrevs so user won't be asked to save.
13885 (verilog-read-auto-lisp-present): Fix to start at beginning of
13886 buffer in case called outside of verilog-auto.
13887 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
13888 to "X-2". Reported by Matthew Myers.
13889 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
13890 all inputs from module templates. Reported by Leith Johnson.
13891 (verilog-module-inside-filename-p): Fix locating programs as with
13892 modules.
13893 (verilog-auto-inst-port): Fix vl-width expressions when using
13894 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
13895 (verilog-decls-get-regs, verilog-decls-get-signals,
13896 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
13897 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
13898 verilog-read-decls): Combine reg and wire structures into one var
13899 structure to represent SystemVerilog concepts.
13900 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
13901 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
13902 (verilog-auto-wire-type, verilog-insert-definition):
13903 Add verilog-auto-wire-type and AUTOLOGIC to support using
13904 SystemVerilog "logic" keyword instead of "wire"/"reg".
13905 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
13906 to declares outputs that also have assignments (presumably in an
13907 ifdef or generate if so there's not a driver conflict).
13908 Reported by Matthew Myers.
13909 (verilog-auto-declare-nettype, verilog-insert-definition):
13910 Add verilog-auto-declare-nettype to fix declarations using
13911 `default_nettype none. Reported by Julian Gorfajn.
13912 (verilog-read-always-signals-recurse, verilog-read-decls)
13913 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
13914 malformed end statement, bug325. Reported by Joshua Wise and
13915 Andrew Drake.
13916 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
13917 (verilog-inst-comment-re): Fix not deleting Interfaced comment
13918 when expanding .* in interfaces, bug320.
13919 Reported by Pierre-David Pfister.
13920 (verilog-read-module-name): Fix import statements between module
13921 name and open parenthesis, bug317.
13922 Reported by Pierre-David Pfister.
13923 (verilog-simplify-range-expression): Fix simplification of
13924 multiplications inside AUTOWIRE connections, bug303.
13925 (verilog-auto-inst-port): Support parameter expansion in
13926 multidimensional arrays.
13927 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
13928 after "assert property". Reported by Julian Gorfajn.
13929 (verilog-simplify-range-expression): Fix "couldn't merge" errors
13930 with multiplication, bug303.
13931 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
13932 Reported by Jan Frode Lonnum.
13933
13934 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
13935
13936 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
13937 (hfy-shell-file-name, hfy-shell):
13938 * international/fontset.el (x-decompose-font-name): Fix typos.
13939
13940 2011-11-29 Ken Brown <kbrown@cornell.edu>
13941
13942 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
13943 (gdb-version): Remove defvar.
13944 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
13945 (gdb-gud-context-command, gdb-non-stop-handler)
13946 (gdb-current-context-command, gdb-stopped): Use it.
13947 (gdb-init-1): Enable pretty printing here.
13948 (gdb-non-stop-handler): Don't enable pretty-printing here.
13949 Check to see if the target supports non-stop mode; if not, turn off
13950 non-stop mode. Use the following.
13951 (gdb-check-target-async): New defun.
13952 (gud-watch, gdb-stopped): Fix whitespace.
13953 (gdb-get-source-file): Don't try to display the source file if
13954 `gdb-main-file' is nil.
13955
13956 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
13957
13958 * align.el: Try to generate fewer markers (bug#10047).
13959 (align--set-marker): New macro.
13960 (align-region): Use it.
13961
13962 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
13963
13964 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
13965
13966 2011-11-29 Chong Yidong <cyd@gnu.org>
13967
13968 * indent.el (indent-for-tab-command, indent-according-to-mode):
13969 Doc fix.
13970 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
13971
13972 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
13973
13974 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
13975 aware of remote file names. (Bug#10124)
13976
13977 2011-11-29 Chong Yidong <cyd@gnu.org>
13978
13979 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
13980
13981 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
13982
13983 * files.el (find-file): Don't use force-same-window (bug#10144).
13984 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
13985 use pop-to-buffer if the selected window can't be used.
13986 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
13987
13988 2011-11-28 Eli Zaretskii <eliz@gnu.org>
13989
13990 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
13991 special-mode-map.
13992
13993 2011-11-28 Chong Yidong <cyd@gnu.org>
13994
13995 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
13996
13997 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
13998
13999 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
14000 gdb-get-source-file-list on gdb-create-source-file-list.
14001
14002 2011-11-26 Eli Zaretskii <eliz@gnu.org>
14003
14004 * whitespace.el (whitespace-newline): Use a different foreground
14005 color for 16-color light-background displays.
14006
14007 2011-11-24 Chong Yidong <cyd@gnu.org>
14008
14009 * window.el (display-buffer--special-action): Doc fix.
14010
14011 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
14012
14013 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
14014 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
14015 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
14016 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
14017 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
14018 (avl-tree-stack-first):
14019 * emacs-lisp/cconv.el (cconv--analyse-use):
14020 * net/gnutls.el (gnutls-negotiate): Fix typos.
14021
14022 2011-11-24 Glenn Morris <rgm@gnu.org>
14023
14024 * lpr.el (lpr-windows-system, lpr-lp-system):
14025 * mail/binhex.el (binhex-begin-line):
14026 * progmodes/grep.el (grep-history, grep-find-history):
14027 * textmodes/flyspell.el:
14028 * vc/pcvs-defs.el (cvs-global-menu):
14029 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
14030 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
14031 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
14032
14033 * net/tls.el: Fix case of "GnuTLS".
14034
14035 * paths.el (rmail-file-name): Format doc-string for make-docfile.
14036
14037 * version.el (emacs-build-system): Give it a doc-string.
14038
14039 2011-11-24 Juri Linkov <juri@jurta.org>
14040
14041 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
14042
14043 2011-11-24 Glenn Morris <rgm@gnu.org>
14044
14045 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
14046 if called on a non-mime message just toggle the headers. (Bug#8006)
14047
14048 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
14049
14050 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
14051 (allout-lead-with-comment-string, allout-structure-deleted-hook)
14052 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
14053 (allout-rebullet-heading, allout-open-sibtopic)
14054 (allout-toggle-current-subtree-encryption)
14055 (allout-toggle-subtree-encryption, allout-encrypt-string)
14056 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
14057 (allout-distinctive-bullets-string, allout-auto-activation):
14058 * window.el (window-normalize-buffer-to-display):
14059 * progmodes/verilog-mode.el (verilog-batch-indent):
14060 * textmodes/bibtex.el (bibtex-field-braces-opt)
14061 (bibtex-field-strings-opt):
14062 * vc/cvs-status.el (cvs-tree-merge):
14063 Fix typos.
14064
14065 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
14066
14067 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
14068 `non-essential' to t, in order to avoid remote connections.
14069
14070 2011-11-23 Eli Zaretskii <eliz@gnu.org>
14071
14072 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
14073 On MS-DOS and MS-Windows, compare with loaddefs.el
14074 case-insensitively.
14075
14076 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
14077
14078 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
14079
14080 2011-11-23 Glenn Morris <rgm@gnu.org>
14081
14082 * paths.el (rmail-file-name): Reformat the doc-string so that it
14083 is picked up.
14084
14085 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
14086 (rmail-auto-file): Ignore case in the "special" field names,
14087 as mail-fetch-field does for all others.
14088
14089 * mail/rmail.el (rmail-forward):
14090 * mail/rmailkwd.el (rmail-set-label):
14091 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
14092 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
14093
14094 * mail/rmail.el (rmail-current-message): Doc fix.
14095
14096 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
14097
14098 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
14099
14100 * server.el (server-eval-and-print): Allow C-g (bug#6585).
14101
14102 2011-11-22 Glenn Morris <rgm@gnu.org>
14103
14104 * mail/rmailmm.el (test-rmail-mime-handler)
14105 (test-rmail-mime-bulk-handler)
14106 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
14107
14108 2011-11-21 Juri Linkov <juri@jurta.org>
14109
14110 * calc/calc.el (calc-read-key-sequence):
14111 Let-bind `input-method-function' to nil. (Bug#10018)
14112
14113 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14114
14115 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
14116 Tell the caller that the next line needs recomputation, even
14117 though it doesn't start a sexp (bug#10094).
14118
14119 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
14120
14121 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
14122
14123 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
14124
14125 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
14126 Use force-same-window.
14127
14128 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
14129
14130 * descr-text.el (describe-char-unicode-data):
14131 * json.el (json-string-escape):
14132 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
14133 (Footnote-unicode, Footnote-style-p):
14134 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
14135
14136 2011-11-20 Chong Yidong <cyd@gnu.org>
14137
14138 * window.el (replace-buffer-in-windows): Restore interactive spec.
14139
14140 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
14141
14142 * electric.el (electric-indent-mode): Fix last change (too optimistic).
14143
14144 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
14145 (byte-compile-global-not-obsolete-vars): New var.
14146 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
14147 Use it.
14148 (byte-compile-warn-obsolete): Align text with the one in *Help*.
14149
14150 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
14151
14152 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
14153 * progmodes/pascal.el (electric-pascal-equal):
14154 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
14155 * xml.el (xml-substitute-special): Fix typos.
14156
14157 2011-11-20 Glenn Morris <rgm@gnu.org>
14158
14159 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
14160 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
14161 Doc fixes.
14162 (rmail-decode-mime-charset): Mark as obsolete.
14163
14164 * mail/rmailsum.el (rmail-message-regexp-p-1):
14165 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
14166 Before using mime functions, check they are set. (Bug#10077)
14167
14168 2011-11-19 Juri Linkov <juri@jurta.org>
14169
14170 * info.el (Info-finder-find-node): Use `package--builtins' instead
14171 of `package-alist'. Use node names formed by the pattern "Keyword "
14172 and the keyword name.
14173
14174 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
14175
14176 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
14177
14178 2011-11-19 Juri Linkov <juri@jurta.org>
14179
14180 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
14181 that calls `revert-buffer' on all Info buffers. (Bug#9915)
14182 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
14183 `old-history', `old-history-forward'. Add let-binding
14184 `window-selected'. Remove calls to `kill-buffer',
14185 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
14186 before calling `Info-find-node', so `Info-find-node-2' will reread
14187 the Info file. Restore window positions only when `window-selected'
14188 is non-nil.
14189
14190 2011-11-19 Juri Linkov <juri@jurta.org>
14191
14192 * isearch.el (isearch-lazy-highlight-new-loop):
14193 Remove condition `(not isearch-error)'. (Bug#9918)
14194
14195 * misearch.el (multi-isearch-search-fun): Add condition
14196 `(not bound)' to ignore lazy-highlighting search.
14197 Add the search-failed message "end of multi" when the end of
14198 multi-sequence is reached. Uncapitalize the search-failed
14199 message "Repeat for next buffer".
14200
14201 * info.el (Info-search): Add the search-failed message
14202 "end of the manual" when the end of the manual is reached
14203 in Isearch mode.
14204
14205 2011-11-19 Juri Linkov <juri@jurta.org>
14206
14207 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
14208 Use non-destructive `remove' instead of `delete' because
14209 `Info-history-list' stored to `Info-isearch-initial-history-list' in
14210 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
14211
14212 2011-11-19 Juri Linkov <juri@jurta.org>
14213
14214 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
14215 to nil instead of binding `search-ring' and `regexp-search-ring'.
14216 (Bug#9185)
14217
14218 2011-11-19 Eli Zaretskii <eliz@gnu.org>
14219
14220 * simple.el (line-move): Force movement by logical lines for any
14221 hscrolled window, not only when auto-hscroll-mode is on.
14222 (line-move-visual): Update doc string to that effect. (Bug#10076)
14223
14224 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
14225
14226 * language/european.el (macintosh): Define as alias for mac-roman.
14227
14228 2011-11-19 Eli Zaretskii <eliz@gnu.org>
14229
14230 * mail/rmailmm.el (rmail-mime-display-header)
14231 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
14232 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
14233 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
14234 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
14235 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
14236 of a raw aref.
14237 (rmail-mime-entity-segment): To get past the tagline, move forward
14238 2 more lines, to account for the 2 empty lines that precede and
14239 follow the line with the buttons.
14240 (rmail-mime-update-tagline): Move one more line, to get past the
14241 empty line that follows the buttons in the tagline. (Bug#9520)
14242
14243 2011-11-19 Martin Rudalics <rudalics@gmx.at>
14244
14245 * window.el (window-max-delta-1, window-min-delta-1)
14246 (window-min-size-1, window-state-get-1, window-state-put-1)
14247 (window-state-put-2): Use "window--" prefix.
14248
14249 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
14250
14251 * emacs-lisp/smie.el: Improve warnings and conflict detection.
14252 (smie-warning-count): New var.
14253 (smie-set-prec2tab): Use it.
14254 (smie-bnf->prec2): Improve warnings. Add docstring.
14255 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
14256 (smie-bnf--set-class): New function.
14257 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
14258 corner case.
14259
14260 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
14261 (compilation-error-properties, compilation-move-to-column):
14262 Handle compilation-first-column while in the target buffer.
14263
14264 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
14265 Don't hardcode point-min==1.
14266
14267 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
14268 (eshell-rewrite-for-command): Remove workaround.
14269 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
14270 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
14271 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
14272
14273 * files-x.el (modify-file-local-variable): Obey commenting conventions.
14274
14275 2011-11-17 Glenn Morris <rgm@gnu.org>
14276
14277 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
14278 Ignore buffer-local generated-autoload-file if it is the same
14279 as the global value. (Bug#10049)
14280
14281 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
14282
14283 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
14284 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
14285 (reftex-toc-previous-heading, reftex-toc-max-level)
14286 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
14287 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
14288 (reftex-toc-do-promote, reftex-toc-promote-prepare)
14289 (reftex-toc-promote-action, reftex-toc-extract-section-number)
14290 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
14291 (reftex-toc-rename-label, reftex-toc-visit-location)
14292 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
14293 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
14294 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
14295 leaving "*toc*" only for references to the buffer.
14296
14297 2011-11-17 Martin Rudalics <rudalics@gmx.at>
14298
14299 * window.el (window-resize, delete-window, split-window):
14300 Replace window-splits by window-combination-resize.
14301 * cus-start.el (window-splits): Replace by window-combination-resize.
14302
14303 2011-11-17 Glenn Morris <rgm@gnu.org>
14304
14305 * progmodes/sh-script.el (sh-font-lock-keywords-var):
14306 Make bash entry derive from sh entry, not shell entry.
14307
14308 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
14309
14310 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
14311 local file name.
14312
14313 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
14314
14315 * menu-bar.el (menu-bar-file-menu):
14316 * printing.el (pr-ps-utility):
14317 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
14318 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
14319 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
14320 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
14321 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
14322 (icalendar--convert-cyclic-to-ical)
14323 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
14324 (icalendar--convert-ical-to-diary)
14325 (icalendar--convert-recurring-to-diary)
14326 (icalendar--convert-non-recurring-all-day-to-diary)
14327 (icalendar-import-format-sample):
14328 * progmodes/idlw-shell.el (idlwave-shell-mode):
14329 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
14330 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
14331 (vhdl-ps-print-init): Fix typos.
14332
14333 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
14334
14335 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
14336 FSF and collapse date sequence, obscure author/maintainer email address
14337 better, remove extra version line, track relocation of author's webpage.
14338
14339 * progmodes/python.el (python-pdbtrack-input-prompt)
14340 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
14341 regular python pdb prompts. Adjustments shamelessly taken exactly as
14342 suggested in EmacsWiki page (tiny change):
14343 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
14344
14345 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
14346
14347 * expand.el (expand-pos, expand-index, expand-point):
14348 Remove redundant info from docstring.
14349 (expand-add-abbrevs): Doc fix.
14350 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
14351 (expand-sample-perl-mode-expand-list): Fix typos.
14352
14353 * net/dbus.el (dbus-event-member-name):
14354 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
14355 * term/pc-win.el (msdos-create-frame-with-faces):
14356 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
14357
14358 2011-11-16 Martin Rudalics <rudalics@gmx.at>
14359
14360 * window.el (split-window, window-state-get-1)
14361 (window-state-put-1, window-state-put-2): Rename occurrences of
14362 window-nest to window-combination-limit.
14363 * cus-start.el (window-nest): Rename to window-combination-limit.
14364
14365 2011-11-16 Chong Yidong <cyd@gnu.org>
14366
14367 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
14368 regexp (Bug#10033).
14369
14370 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
14371
14372 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
14373 `completing-read' will remove *Completions* and will preserve
14374 current-buffer for us.
14375 (tmm-add-prompt): Users of *Completions* will always (re)set its
14376 major mode.
14377 (tmm-old-comp-map): Remove.
14378
14379 2011-11-16 Glenn Morris <rgm@gnu.org>
14380
14381 * mail/rmailedit.el: Require rmailmm when compiling.
14382 (rmail-old-mime-state): New declaration.
14383 (rmail-edit-current-message): If editing a mime message,
14384 edit the "raw" message from the mbox buffer.
14385 (rmail-cease-edit): Handle mime messages. (Bug#9840)
14386
14387 2011-11-15 Glenn Morris <rgm@gnu.org>
14388
14389 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
14390 which wasn't being used. Add optional arg to force given state.
14391 (rmail-mime): Add optional arg to force given state.
14392
14393 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
14394
14395 * allout.el (allout-encryption-plaintext-sanitization-regexps):
14396 * frame.el (display-mm-dimensions-alist):
14397 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
14398 (outline-move-subtree-down):
14399 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
14400 (newsticker--treeview-do-get-node):
14401 * net/quickurl.el (quickurl-list-buffer-name):
14402 * progmodes/dcl-mode.el (dcl-mode):
14403 * progmodes/gdb-mi.el (gdb-mapcar*):
14404 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
14405
14406 2011-11-15 Glenn Morris <rgm@gnu.org>
14407
14408 * mail/rmail.el (rmail-file-coding-system): It's only ever used
14409 in a boolean sense, so just make it a boolean, and fix the doc.
14410 (rmail-show-mime-function, rmail-mime-feature)
14411 (rmail-require-mime-maybe): Doc fixes.
14412 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
14413
14414 * mail/rmailmm.el (rmail-show-mime): Doc fix.
14415
14416 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
14417
14418 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
14419 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
14420 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
14421 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
14422
14423 2011-11-15 Glenn Morris <rgm@gnu.org>
14424
14425 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
14426 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
14427 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
14428 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
14429 (rmail-mime, rmail-show-mime): Doc fixes.
14430
14431 * term/ns-win.el (mode-line-frame-identification):
14432 Leave it alone. (Bug#10051)
14433
14434 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
14435
14436 * mail/rmailout.el (rmail-output-to-rmail-buffer):
14437 Handle empty buffers. (Bug#9978)
14438
14439 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
14440
14441 * international/mule.el (define-charset):
14442 * mail/rmailmm.el (rmail-mime-find-header-encoding):
14443 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
14444 * progmodes/verilog-mode.el (verilog-backward-token):
14445 * textmodes/ispell.el (lookup-words):
14446 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
14447
14448 2011-11-14 Glenn Morris <rgm@gnu.org>
14449
14450 * progmodes/executable.el
14451 (executable-make-buffer-file-executable-if-script-p):
14452 Handle file-modes returning nil.
14453
14454 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
14455 message - not necessary, and causes problems. (Bug#9831)
14456
14457 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
14458
14459 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
14460
14461 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
14462 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
14463 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
14464
14465 2011-11-12 Martin Rudalics <rudalics@gmx.at>
14466
14467 * window.el (window-resize, delete-window): Use window-splits
14468 variable instead of function.
14469 (window-state-get-1, window-state-put-2, window-state-put):
14470 Don't deal with windows' splits status.
14471
14472 2011-11-12 Glenn Morris <rgm@gnu.org>
14473
14474 * apropos.el (apropos-do-all, apropos-library, apropos-value)
14475 (apropos-documentation): Doc fixes.
14476
14477 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
14478
14479 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
14480 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
14481
14482 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
14483
14484 * electric.el (electric-indent-post-self-insert-function): Make it
14485 possible for a char to only indent in some circumstances.
14486 (electric-indent-mode): Simplify.
14487
14488 2011-11-11 Martin Rudalics <rudalics@gmx.at>
14489
14490 * window.el (windows-with-parameter): Remove unused function.
14491 (windows-at-side): Rename to window-at-side-list.
14492 (window-check, window-atom-check, window-atom-check-1)
14493 (window-side-check, window-size-ignore, window-size-fixed-1)
14494 (window-in-direction-2): Prefix with "window--".
14495 (window-tree-1): Rename to window--subtree, fix doc-string.
14496
14497 2011-11-11 Glenn Morris <rgm@gnu.org>
14498
14499 * subr.el (eval-after-load): If FILE is already loaded,
14500 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
14501
14502 2011-11-10 Glenn Morris <rgm@gnu.org>
14503
14504 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
14505 Call svn via vc-svn-command rather than vc-do-command.
14506 (vc-svn-command): Add --non-interactive. (Bug#9993)
14507 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
14508
14509 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14510 Add toggle-read-only. (Bug#7292)
14511 * files.el (toggle-read-only): Mention that it should only
14512 be used interactively. (Bug#10006)
14513
14514 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
14515
14516 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14517 Adjust regexp for OCaml warnings.
14518
14519 * electric.el (electric-pair-post-self-insert-function): Let user
14520 turn it off buffer-locally (bug#9932).
14521
14522 * progmodes/python.el (python-beginning-of-statement):
14523 Rewrite (bug#2703).
14524
14525 * progmodes/compile.el: Better handle TABs (bug#9749).
14526 (compilation-internal-error-properties)
14527 (compilation-next-error-function): Obey the target buffer's
14528 compilation-error-screen-columns.
14529
14530 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
14531
14532 * progmodes/meta-mode.el: Remove obsolete comments.
14533 (meta-right-comment-regexp, meta-ignore-comment-regexp):
14534 Fix typos in docstrings.
14535
14536 2011-11-09 Martin Rudalics <rudalics@gmx.at>
14537
14538 * window.el (window-size-fixed-p): Rewrite doc-string.
14539 (window-resizable-p): Rename to window--resizable-p. Update callers.
14540 (window--resizable): New function. Make all callers of
14541 window-resizable call window--resizable instead.
14542 (window-resizable): Rewrite in terms of window--resizable.
14543
14544 2011-11-08 Glenn Morris <rgm@gnu.org>
14545
14546 * progmodes/delphi.el (delphi-mode-syntax-table):
14547 Let define-derived-mode define a proper syntax table. (Bug#9994)
14548
14549 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
14550
14551 * window.el: Stay away from defsubst.
14552 (window-list-no-nils): Remove.
14553 (window-state-get-1, window-state-get): Use backquote instead.
14554
14555 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14556
14557 * emacs-lisp/find-func.el (find-function-read):
14558 Fix incorrect use of default argument in `completing-read'.
14559
14560 2011-11-08 Martin Rudalics <rudalics@gmx.at>
14561
14562 * window.el (display-buffer-function, special-display-function):
14563 Mention display-buffer-record-window but do not mention
14564 help-setup parameter in doc-strings.
14565 (window-min-delta): Fix doc-string typo.
14566
14567 2011-11-08 Chong Yidong <cyd@gnu.org>
14568
14569 * window.el (window-total-height, window-total-width): Doc fix.
14570 (window-body-size): Move from C.
14571 (window-body-height, window-body-width): Move to C.
14572
14573 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
14574
14575 * window.el: Make special-display like display-buffer-alist (bug#9532).
14576 (display-buffer--special-action): New function, morphed
14577 from display-buffer--special.
14578 (display-buffer): Use it to handle special-display-buffers at higher
14579 priority (just after display-buffer-alist).
14580 (display-buffer-fallback-action, display-buffer--other-frame-action)
14581 (pop-to-buffer-same-window): Remove display-buffer--special.
14582
14583 2011-11-07 Glenn Morris <rgm@gnu.org>
14584
14585 * calendar/cal-menu.el (cal-menu-set-date-title):
14586 Do nothing if not in a calendar. (Bug#9976)
14587
14588 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
14589
14590 * files.el (find-file): Always use selected-window.
14591
14592 2011-11-07 Martin Rudalics <rudalics@gmx.at>
14593
14594 * window.el (window-combinations): Make WINDOW argument
14595 mandatory. Rewrite doc-string.
14596 (walk-window-subtree, window-atom-check, window-min-delta)
14597 (window-max-delta, window--resize-this-window)
14598 (window--resize-root-window-vertically, window-tree)
14599 (balance-windows, window-state-put): Rewrite doc-strings as to
14600 not mention the term "subwindow".
14601 (window--resize-subwindows-skip-p): Rename to
14602 window--resize-child-windows-skip-p.
14603 (window--resize-subwindows-normal): Rename to
14604 window--resize-child-windows-normal.
14605 (window--resize-subwindows): Rename to
14606 window--resize-child-windows.
14607 (window-or-subwindow-p): Rename to window--in-subtree-p.
14608
14609 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
14610
14611 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
14612 Ensure that mbox format messages end in two newlines (Bug#9974).
14613
14614 2011-11-06 Chong Yidong <cyd@gnu.org>
14615
14616 * window.el (window-combination-p): Function deleted; its
14617 side-effect is not used in any existing code.
14618 (window-combinations, window-combined-p): Call window-*-child
14619 directly.
14620
14621 2011-11-05 Chong Yidong <cyd@gnu.org>
14622
14623 * window.el (window-valid-p): Rename from window-any-p.
14624 (window-size-ignore, window-state-get): Callers changed.
14625 (window-normalize-window): Rename from window-normalize-any-window.
14626 New arg LIVE-ONLY, replacing window-normalize-live-window.
14627 (window-normalize-live-window): Delete.
14628 (window-combination-p, window-combined-p, window-combinations)
14629 (walk-window-subtree, window-atom-root, window-min-size)
14630 (window-sizable, window-sizable-p, window-size-fixed-p)
14631 (window-min-delta, window-max-delta, window-resizable)
14632 (window-resizable-p, window-full-height-p, window-full-width-p)
14633 (window-current-scroll-bars, window-point-1, set-window-point-1)
14634 (window-at-side-p, window-in-direction, window-resize)
14635 (adjust-window-trailing-edge, maximize-window, minimize-window)
14636 (window-deletable-p, delete-window, delete-other-windows)
14637 (record-window-buffer, unrecord-window-buffer)
14638 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
14639 (quit-window, split-window, window-state-put)
14640 (set-window-text-height, fit-window-to-buffer)
14641 (shrink-window-if-larger-than-buffer): Callers changed.
14642
14643 2011-11-04 Eli Zaretskii <eliz@gnu.org>
14644
14645 * mail/rmail.el (rmail-simplified-subject): Decode subject with
14646 rfc2047-decode-string.
14647 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
14648 warnings.
14649
14650 * window.el (window-body-height, window-body-width): Mention in
14651 the doc string that the return values are in frame's canonical
14652 units. (Bug#9949)
14653
14654 2011-11-03 Alan Mackenzie <acm@muc.de>
14655
14656 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
14657 change in cc-engine.el.
14658
14659 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
14660
14661 * window.el (switch-to-buffer): Use `force-same-window' interactively.
14662
14663 2011-11-02 Martin Rudalics <rudalics@gmx.at>
14664
14665 * window.el (quit-window): Call unrecord-window-buffer after
14666 showing another buffer in the window. (Bug#9937)
14667 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
14668
14669 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
14670
14671 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
14672 Accept status with more than 9 shelves. (Bug#9935)
14673 Reported by Colin D Bennett <colin@gibibit.com>.
14674
14675 2011-11-01 Martin Rudalics <rudalics@gmx.at>
14676
14677 * help.el (with-help-window): Don't reference
14678 temp-buffer-show-specifiers in doc-string.
14679
14680 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
14681
14682 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
14683 menu-item.
14684
14685 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14686
14687 * whitespace.el: New version 13.2.2.
14688 (whitespace-newline-mode): Disable properly. Reported by Sarah
14689 <EmacsWiki>.
14690
14691 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
14692
14693 * net/newst-treeview.el: Remove "Time-stamp".
14694 (newsticker--group-manage-orphan-feeds): Do not call
14695 newsticker--treeview-tree-update.
14696 (newsticker-treeview-update, newsticker-treeview):
14697 Call newsticker--treeview-tree-update if necessary.
14698
14699 2011-10-30 Martin Rudalics <rudalics@gmx.at>
14700
14701 * window.el (window-iso-combination-p, window-iso-combined-p)
14702 (window-iso-combinations): Remove "iso-" infix.
14703 Suggested by Chong Yidong.
14704 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
14705 (window-max-delta-1, window-resize, window--resize-siblings)
14706 (window--resize-this-window, adjust-window-trailing-edge)
14707 (split-window, balance-windows-1)
14708 (shrink-window-if-larger-than-buffer):
14709 * calendar/calendar.el (calendar-generate-window):
14710 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
14711
14712 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
14713
14714 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
14715 in place (bug#9907).
14716 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
14717 (eshell-rewrite-if-command, eshell-rewrite-for-command)
14718 (eshell-structure-basic-command, eshell-rewrite-while-command)
14719 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
14720 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
14721 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
14722 (eshell-do-pipelines-synchronously, eshell-eval-command):
14723 Use backquotes and prefer setq to set.
14724 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
14725 (eshell-macrop): Use functionp.
14726 (eshell-do-eval): Handle multiple expressions in `while' body.
14727
14728 2011-10-30 Chong Yidong <cyd@gnu.org>
14729
14730 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
14731 instead of set-mark (Bug#9810).
14732
14733 2011-10-30 Chong Yidong <cyd@gnu.org>
14734
14735 * window.el (split-window-below, split-window-right): Rename from
14736 split-window-above-each-other and split-window-side-by-side
14737 respectively. All callers changed.
14738 (split-window-sensibly, split-window-sensibly): Use them.
14739 (split-window-keep-point): Doc fix.
14740
14741 * isearch.el: Add isearch-scroll property to split-window-below
14742 and split-window-right.
14743
14744 * follow.el (follow-mode):
14745 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
14746 * progmodes/ada-xref.el (ada-gdb-application):
14747 * emulation/vip.el (vip-buffer-in-two-windows):
14748 * image-dired.el (image-dired-dired-with-window-configuration):
14749 * dired-x.el (dired-do-find-marked-files):
14750 * dired.el (dired-pop-to-buffer):
14751 * bs.el (bs--show-with-configuration):
14752 * vc/emerge.el (emerge-setup-windows):
14753 * textmodes/two-column.el (2C-two-columns):
14754 * textmodes/reftex-toc.el (reftex-toc):
14755 * progmodes/gdb-mi.el (gdb-setup-windows):
14756 * progmodes/fortran.el (fortran-window-create):
14757 * net/newst-treeview.el (newsticker--treeview-window-init):
14758 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
14759 * emulation/tpu-edt.el (tpu-gold-map):
14760 * emulation/crisp.el (crisp-mode-map):
14761 * calendar/calendar.el (calendar-basic-setup): Callers changed.
14762
14763 2011-10-29 Chong Yidong <cyd@gnu.org>
14764
14765 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
14766
14767 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
14768
14769 * textmodes/flyspell.el (flyspell-word): Fix char offset for
14770 forged Ispell output (Bug#7904).
14771
14772 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
14773
14774 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14775
14776 * doc-view.el: Avoid ugly errors about not finding nil.
14777 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
14778 (doc-view-dvipdf-program, doc-view-unoconv-program)
14779 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
14780 Avoid nil or absolute file name as default value.
14781 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
14782
14783 2011-10-28 Alan Mackenzie <acm@muc.de>
14784
14785 * progmodes/cc-defs.el (c-version): -> 5.32.2.
14786
14787 2011-10-28 Alan Mackenzie <acm@muc.de>
14788
14789 Amend the handling of c-beginning/end-of-defun in nested declaration
14790 scopes.
14791
14792 * progmodes/cc-vars.el (c-defun-tactic): Move here from
14793 cc-langs.el. Change it to a defcustom.
14794
14795 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
14796 cc-vars.el.
14797
14798 * progmodes/cc-engine.el (c-beginning-of-statement-1):
14799 Prevent "class foo : bar" being spuriously recognized as a label.
14800
14801 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
14802 Add parameter `inclusive' (to include enclosing braces in the region).
14803 (c-widen-to-enclosing-decl-scope): New function.
14804 (c-while-widening-to-decl-block): New macro.
14805 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
14806 outward for defun boundaries, and correspondingly change symbol
14807 `respect-enclosure' to `go-outward'.
14808 (c-declaration-limits): Change algorithm to report only the "innermost"
14809 defun's boundaries.
14810
14811 2011-10-28 Deniz Dogan <deniz@dogan.se>
14812
14813 * net/rcirc.el (rcirc-mode): Use hard newlines.
14814
14815 2011-10-28 Alan Mackenzie <acm@muc.de>
14816
14817 Amend to indent and fontify macros "which include their own semicolon"
14818 correctly, using the "virtual semicolon" mechanism.
14819
14820 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
14821
14822 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
14823 Recode to scan one line at a time rather than having \n and \r
14824 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
14825 (c-forward-label): Amend for virtual semicolons.
14826 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
14827
14828 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
14829 of the new C macros.
14830
14831 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
14832 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
14833 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
14834 (c-opt-cpp-macro-define): Make into a full language variable.
14835 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
14836 AWK Mode (including \n, \r) removed, no longer needed.
14837
14838 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
14839 Invoke c-make-macro-with-semi-re.
14840
14841 * progmodes/cc-vars.el (c-macro-with-semi-re):
14842 (c-macro-names-with-semicolon): New variables.
14843 (c-make-macro-with-semi-re): New function.
14844
14845 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14846
14847 * vc/log-edit.el: Fill empty field rather than adding new one.
14848 (log-edit-add-field): New function.
14849 (log-edit-insert-changelog): Use it.
14850
14851 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
14852
14853 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
14854
14855 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14856
14857 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
14858 (gdb--check-interpreter): New function.
14859 (gdb): Use it.
14860
14861 2011-10-27 Glenn Morris <rgm@gnu.org>
14862
14863 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
14864 (least-positive-float, least-negative-float)
14865 (least-positive-normalized-float, least-negative-normalized-float)
14866 (float-epsilon, float-negative-epsilon):
14867 Remove unnecessary declarations.
14868
14869 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
14870 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
14871 (least-positive-float, least-negative-float)
14872 (least-positive-normalized-float, least-negative-normalized-float)
14873 (float-epsilon, float-negative-epsilon): Add doc-strings,
14874 based on those in cl.texi.
14875
14876 * files.el (set-visited-file-name): If the major-mode changed,
14877 reload the local variables. (Bug#9796)
14878
14879 2011-10-27 Chong Yidong <cyd@gnu.org>
14880
14881 * subr.el (change-major-mode-after-body-hook): New hook.
14882 (run-mode-hooks): Run it.
14883
14884 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14885 Use change-major-mode-before-body-hook.
14886
14887 * simple.el (fundamental-mode):
14888 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
14889 change introducing fundamental-mode-hook.
14890
14891 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
14892
14893 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
14894
14895 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
14896
14897 * ido.el (ido-file-name-all-completions-1): Do not require
14898 tramp.el explicitly. (Bug#7583)
14899
14900 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
14901
14902 * progmodes/octave-mod.el:
14903 * progmodes/octave-inf.el: Update maintainer.
14904
14905 2011-10-26 Chong Yidong <cyd@gnu.org>
14906
14907 * subr.el (with-wrapper-hook): Rewrite doc.
14908
14909 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
14910
14911 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
14912 filenames "/method:foo:". (Bug#9793)
14913
14914 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
14915
14916 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
14917 (bug#9865).
14918
14919 2011-10-24 Glenn Morris <rgm@gnu.org>
14920
14921 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
14922
14923 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
14924
14925 * notifications.el: Add the requirement of a running D-Bus session
14926 bus to the Commentary.
14927
14928 2011-10-24 Juri Linkov <juri@jurta.org>
14929
14930 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
14931 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
14932 (Bug#9364)
14933
14934 2011-10-24 Juri Linkov <juri@jurta.org>
14935
14936 * info.el (Info-following-node-name-re): Add newline to the list
14937 of allowed characters for leading space. (Bug#9824)
14938
14939 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
14940
14941 * progmodes/octave-inf.el (inferior-octave-mode-map):
14942 Fix C-c C-h binding.
14943 * progmodes/octave-mod.el (octave-help): Remove.
14944
14945 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
14946
14947 Sync with Tramp 2.2.3.
14948
14949 * net/tramp-cache.el (top): Pacify byte-compiler using
14950 `init-file-user' and `site-run-file'.
14951
14952 * net/trampver.el: Update release number.
14953
14954 2011-10-23 Chong Yidong <cyd@gnu.org>
14955
14956 * files.el (toggle-read-only): Remove obsolete comment about
14957 version control.
14958
14959 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
14960 for toggle-read-only. Note that this hasn't called vc-next-action
14961 since 2008-05-02, though it wasn't documented at the time.
14962
14963 * vc/ediff-init.el (ediff-toggle-read-only-function):
14964 Use toggle-read-only.
14965
14966 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
14967
14968 Fix bug #9560, sporadic wrong indentation; improve instrumentation
14969 of c-parse-state.
14970
14971 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
14972 correct faulty logical expression.
14973 (c-parse-state-state, c-record-parse-state-state):
14974 (c-replay-parse-state-state): New defvar/defuns.
14975 (c-debug-parse-state): Use new functions.
14976
14977 2011-10-22 Martin Rudalics <rudalics@gmx.at>
14978
14979 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
14980 last fix. Use window-in-direction correctly.
14981
14982 2011-10-21 Chong Yidong <cyd@gnu.org>
14983
14984 * progmodes/idlwave.el (idlwave-mode):
14985 * progmodes/vera-mode.el (vera-mode): No need to set
14986 require-final-newline; that's done in prog-mode.
14987 Suggested by Stefan Monnier.
14988
14989 2011-10-21 Martin Rudalics <rudalics@gmx.at>
14990
14991 * mouse.el (mouse-drag-window-above)
14992 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
14993 (mouse-drag-mode-line-1, mouse-drag-header-line)
14994 (mouse-drag-vertical-line-rightward-window): Remove.
14995 (mouse-drag-line): New function.
14996 (mouse-drag-mode-line, mouse-drag-header-line)
14997 (mouse-drag-vertical-line): Call mouse-drag-line.
14998 * window.el (window-at-side-p, windows-at-side): New functions.
14999
15000 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
15001
15002 * tar-mode.el (tar-grind-file-mode):
15003 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
15004
15005 2011-10-21 Chong Yidong <cyd@gnu.org>
15006
15007 * progmodes/idlwave.el (idlwave-mode):
15008 * progmodes/vera-mode.el (vera-mode):
15009 Use mode-require-final-newline.
15010
15011 2011-10-20 Glenn Morris <rgm@gnu.org>
15012
15013 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
15014
15015 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
15016
15017 * emulation/cua-base.el (cua-set-mark): Fix case of string.
15018
15019 2011-10-20 Chong Yidong <cyd@gnu.org>
15020
15021 * emulation/cua-base.el (cua-mode):
15022 * mail/footnote.el (footnote-mode):
15023 * mail/mailabbrev.el (mail-abbrevs-mode):
15024 * net/xesam.el (xesam-minor-mode):
15025 * progmodes/bug-reference.el (bug-reference-mode):
15026 * progmodes/cap-words.el (capitalized-words-mode):
15027 * progmodes/compile.el (compilation-minor-mode)
15028 (compilation-shell-minor-mode):
15029 * progmodes/gud.el (gud-tooltip-mode):
15030 * progmodes/hideif.el (hide-ifdef-mode):
15031 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
15032 * progmodes/subword.el (subword-mode):
15033 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
15034 * progmodes/which-func.el (which-function-mode):
15035 * term/tvi970.el (tvi970-set-keypad-mode):
15036 * term/vt100.el (vt100-wide-mode):
15037 * textmodes/flyspell.el (flyspell-mode):
15038 * textmodes/ispell.el (ispell-minor-mode):
15039 * textmodes/nroff-mode.el (nroff-electric-mode):
15040 * textmodes/paragraphs.el (use-hard-newlines):
15041 * textmodes/refill.el (refill-mode):
15042 * textmodes/reftex.el (reftex-mode):
15043 * textmodes/rst.el (rst-minor-mode):
15044 * textmodes/sgml-mode.el (html-autoview-mode)
15045 (sgml-electric-tag-pair-mode):
15046 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
15047 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
15048 * emulation/crisp.el (crisp-mode):
15049 * emacs-lisp/eldoc.el (eldoc-mode):
15050 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
15051 minor mode behavior.
15052
15053 2011-10-19 Juri Linkov <juri@jurta.org>
15054
15055 * descr-text.el (describe-char): Add #x2010 and #x2011 to
15056 the list of hard-coded chars with escape-glyph face.
15057
15058 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
15059
15060 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
15061
15062 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
15063
15064 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
15065 running process.
15066
15067 2011-10-19 Glenn Morris <rgm@gnu.org>
15068
15069 * vc/vc-bzr.el (vc-bzr-after-dir-status):
15070 Ignore ignored files. (Bug#9726)
15071
15072 2011-10-19 Chong Yidong <cyd@gnu.org>
15073
15074 Doc fix for minor modes, stating that an omitted argument enables
15075 the mode unconditionally when called from Lisp.
15076
15077 * abbrev.el (abbrev-mode):
15078 * allout.el (allout-mode):
15079 * autoinsert.el (auto-insert-mode):
15080 * autoarg.el (autoarg-mode, autoarg-kp-mode):
15081 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
15082 (global-auto-revert-mode):
15083 * battery.el (display-battery-mode):
15084 * composite.el (global-auto-composition-mode)
15085 (auto-composition-mode):
15086 * delsel.el (delete-selection-mode):
15087 * desktop.el (desktop-save-mode):
15088 * dired-x.el (dired-omit-mode):
15089 * dirtrack.el (dirtrack-mode):
15090 * doc-view.el (doc-view-minor-mode):
15091 * double.el (double-mode):
15092 * electric.el (electric-indent-mode, electric-pair-mode):
15093 * emacs-lock.el (emacs-lock-mode):
15094 * epa-hook.el (auto-encryption-mode):
15095 * follow.el (follow-mode):
15096 * font-core.el (font-lock-mode):
15097 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
15098 * help.el (temp-buffer-resize-mode):
15099 * hilit-chg.el (highlight-changes-mode)
15100 (highlight-changes-visible-mode):
15101 * hi-lock.el (hi-lock-mode):
15102 * hl-line.el (hl-line-mode, global-hl-line-mode):
15103 * icomplete.el (icomplete-mode):
15104 * ido.el (ido-everywhere):
15105 * image-file.el (auto-image-file-mode):
15106 * image-mode.el (image-minor-mode):
15107 * iswitchb.el (iswitchb-mode):
15108 * jka-cmpr-hook.el (auto-compression-mode):
15109 * linum.el (linum-mode):
15110 * longlines.el (longlines-mode):
15111 * master.el (master-mode):
15112 * mb-depth.el (minibuffer-depth-indicate-mode):
15113 * menu-bar.el (menu-bar-mode):
15114 * minibuf-eldef.el (minibuffer-electric-default-mode):
15115 * mouse-sel.el (mouse-sel-mode):
15116 * msb.el (msb-mode):
15117 * mwheel.el (mouse-wheel-mode):
15118 * outline.el (outline-minor-mode):
15119 * paren.el (show-paren-mode):
15120 * recentf.el (recentf-mode):
15121 * reveal.el (reveal-mode, global-reveal-mode):
15122 * rfn-eshadow.el (file-name-shadow-mode):
15123 * ruler-mode.el (ruler-mode):
15124 * savehist.el (savehist-mode):
15125 * scroll-all.el (scroll-all-mode):
15126 * scroll-bar.el (scroll-bar-mode):
15127 * server.el (server-mode):
15128 * shell.el (shell-dirtrack-mode):
15129 * simple.el (auto-fill-mode, transient-mark-mode)
15130 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
15131 (line-number-mode, column-number-mode, size-indication-mode)
15132 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
15133 * strokes.el (strokes-mode):
15134 * time.el (display-time-mode):
15135 * t-mouse.el (gpm-mouse-mode):
15136 * tool-bar.el (tool-bar-mode):
15137 * tooltip.el (tooltip-mode):
15138 * type-break.el (type-break-mode-line-message-mode)
15139 (type-break-query-mode):
15140 * view.el (view-mode):
15141 * whitespace.el (whitespace-mode, whitespace-newline-mode)
15142 (global-whitespace-mode, global-whitespace-newline-mode):
15143 * xt-mouse.el (xterm-mouse-mode): Doc fix.
15144
15145 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
15146 Fix autogenerated docstring.
15147
15148 2011-10-19 Juri Linkov <juri@jurta.org>
15149
15150 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
15151 by checking environment variables "DESKTOP_SESSION" and
15152 "XDG_CURRENT_DESKTOP". (Bug#9779)
15153
15154 2011-10-19 Juri Linkov <juri@jurta.org>
15155
15156 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
15157 (browse-url-chromium-program, browse-url-chromium-arguments):
15158 New defcustoms.
15159 (browse-url-default-browser): Check for `browse-url-chromium' and
15160 call `browse-url-chromium-program'.
15161 (browse-url-chromium): New command. (Bug#9779)
15162
15163 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
15164
15165 * facemenu.el (list-colors-duplicates): On Windows, detect more
15166 duplicates by assuming that only colors matching "^System" are
15167 special "system colors". (Bug#9722)
15168
15169 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
15170
15171 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
15172 to distinguish the author from the committer.
15173
15174 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
15175
15176 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
15177
15178 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
15179
15180 * international/mule.el (sgml-html-meta-auto-coding-function):
15181 Add support for detecting encoding in HTML5 specified only as
15182 <meta charset="UTF-8">. Implementation just makes http-equiv and
15183 content-type parts from HTML4 encoding string optional. (Bug#9716)
15184
15185 2011-10-18 Glenn Morris <rgm@gnu.org>
15186
15187 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
15188
15189 2011-10-18 Chong Yidong <cyd@gnu.org>
15190
15191 * faces.el (cursor): Doc fix.
15192
15193 2011-10-17 Chong Yidong <cyd@gnu.org>
15194
15195 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
15196
15197 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
15198
15199 * dirtrack.el (dirtrack): Support shell buffers with path
15200 prefixes, e.g. tramp-based remote shells. (Bug#9647)
15201
15202 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
15203
15204 * json.el: Bump version to 1.3 and note change in History.
15205 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
15206
15207 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
15208
15209 * comint.el (comint-insert-input, comint-send-input)
15210 (comint-get-old-input-default, comint-backward-matching-input)
15211 (comint-next-prompt): Use nil instead of `input' for field property of
15212 past user input (bug#114).
15213
15214 * minibuffer.el (completion--replace): Inherit surrounding properties
15215 (bug#114).
15216 (minibuffer-complete-and-exit): Use it.
15217
15218 * comint.el (comint--table-subvert): Quote the all-completions output
15219 (bug#9160).
15220
15221 2011-10-17 Martin Rudalics <rudalics@gmx.at>
15222
15223 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
15224
15225 * menu-bar.el (menu-bar-file-menu): Add entry for making new
15226 window on right of selected. (Bug#9350) Reword other window
15227 entries and separate them from frame entries.
15228
15229 2011-10-15 Glenn Morris <rgm@gnu.org>
15230
15231 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
15232 Doc fixes.
15233
15234 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
15235
15236 * net/network-stream.el (network-stream-open-starttls):
15237 Improve detection of failure due to lack of TLS support.
15238
15239 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
15240 putting the input text in front and in bold.
15241
15242 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
15243
15244 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
15245
15246 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
15247 empty buffer.
15248
15249 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
15250 unread-command-events rather than pushing yet-another event.
15251
15252 2011-10-14 Eli Zaretskii <eliz@gnu.org>
15253
15254 * mail/sendmail.el (sendmail-query-once): Improve the wording of
15255 the explanation of the possible choices. Make the options passed
15256 to completing-read shorter.
15257
15258 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15259
15260 * textmodes/flyspell.el (flyspell-large-region): Make sure
15261 extended character mode is used if defined (Bug#1339).
15262
15263 2011-10-13 Eli Zaretskii <eliz@gnu.org>
15264
15265 * simple.el (what-cursor-position): Fix the display of the
15266 character info for LRE, LRO, RLE, and RLO characters by appending
15267 an invisible PDF.
15268
15269 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
15270
15271 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
15272 even in case of error; add debug spec; simplify data flow.
15273 (with-timeout-handler): Remove.
15274
15275 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
15276
15277 Fix Bug#6019, Bug#9315.
15278
15279 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
15280 complete `buffer-file-name', the local file name part could look
15281 remotely (for example on VMS).
15282
15283 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
15284 `tramp-run-real-handler'.
15285 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
15286 already quoted by '"'.
15287
15288 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
15289 Let `file-name-handler-alist' be nil, the local file name part
15290 could look remotely (for example on VMS).
15291
15292 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
15293
15294 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
15295 from here...
15296 (flyspell-post-command-hook): ...to here.
15297
15298 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
15299
15300 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
15301 if not needed.
15302 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
15303 using completion. Protect against "slow" callers.
15304 Remove the "message hack".
15305
15306 2011-10-11 Juri Linkov <juri@jurta.org>
15307
15308 * isearch.el (isearch-lazy-highlight-word): New variable.
15309 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
15310 Use it. (Bug#9727)
15311
15312 2011-10-11 Glenn Morris <rgm@gnu.org>
15313
15314 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
15315 like f90-previous-statement does.
15316
15317 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15318
15319 * eshell/eshell.el (eshell-command): History should be saved
15320 only in interactive use, to avoid error.
15321
15322 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
15323
15324 * minibuffer.el (completion-file-name-table): Fix last change,
15325 i.e. ignore normal errors but not the other ones.
15326
15327 2011-10-10 Martin Rudalics <rudalics@gmx.at>
15328
15329 * window.el (special-display-buffer-names)
15330 (special-display-regexps): Remove some remnants of earlier
15331 changes from doc-strings.
15332 (quit-windows-on): New function.
15333
15334 * vc/vc.el (vc-revert, vc-rollback):
15335 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
15336 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
15337 (Bug#6183) (Bug#7074) (Bug#7447)
15338
15339 2011-10-09 Martin Rudalics <rudalics@gmx.at>
15340
15341 * window.el (frame-auto-hide-function): Add version tag.
15342 (Bug#9699)
15343
15344 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
15345
15346 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
15347 condition.
15348
15349 2011-10-09 Leo Liu <sdl.web@gmail.com>
15350
15351 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
15352 (Bug#9701)
15353
15354 2011-10-08 Glenn Morris <rgm@gnu.org>
15355
15356 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
15357 before the first code statement zero indent. (Bug#9690)
15358
15359 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
15360
15361 * simple.el (count-words-region): Always count in the region.
15362 Report the number of lines and characters too.
15363 (count-words): New command, which counts in the buffer if the
15364 region is inactive, as count-words-region used to.
15365 (count-words--message): New function. Handle plurals.
15366 (count-lines-region): Make it an alias for count-words-region.
15367
15368 * bindings.el (esc-map): Replace count-lines-region with
15369 count-words-region.
15370
15371 2011-10-08 Martin Rudalics <rudalics@gmx.at>
15372
15373 * window.el (window--delete): Delete dedicated frame
15374 unconditionally when argument KILL is non-nil. (Bug#9699)
15375 (switch-to-buffer): Fix doc-string typo.
15376
15377 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15378
15379 * eshell/eshell.el (eshell-command): Avoid using hooks.
15380
15381 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
15382
15383 * bindings.el ([M-left],[M-right]): Bind to left-word and
15384 right-word respectively.
15385
15386 2011-10-07 Glenn Morris <rgm@gnu.org>
15387
15388 * cus-start.el (debug-on-quit): Fix custom type.
15389
15390 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15391
15392 * subr.el (define-key-after): Clarify that the function is not
15393 useful for non-menu keymaps.
15394
15395 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
15396
15397 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15398
15399 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
15400 in current minibuffer (Fix bug with recursive minibuffers).
15401
15402 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
15403
15404 * progmodes/gdb-mi.el (gdb): Doc fix.
15405
15406 2011-10-05 Martin Rudalics <rudalics@gmx.at>
15407
15408 * window.el (frame-auto-hide-function): New option replacing
15409 frame-auto-delete. Suggested by Stefan Monnier.
15410 (window--delete): Call frame-auto-hide-function instead of
15411 investigating frame-auto-delete.
15412 (window-point-1, set-window-point-1): New functions.
15413 (window-in-direction, record-window-buffer, window-state-get-1)
15414 (display-buffer-record-window): Use window-point-1 instead of
15415 window-point.
15416 (set-window-buffer-start-and-point): Use set-window-point-1.
15417
15418 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
15419
15420 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
15421
15422 2011-10-05 Glenn Morris <rgm@gnu.org>
15423
15424 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
15425 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
15426
15427 2011-10-05 Leo Liu <sdl.web@gmail.com>
15428
15429 * subr.el (read-char-choice): Fix argument to buffer-live-p which
15430 works with buffer object.
15431
15432 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
15433
15434 * mpc.el (mpc-tool-bar-map): Add labels.
15435
15436 2011-10-04 Glenn Morris <rgm@gnu.org>
15437
15438 * calendar/holidays.el (calendar-check-holidays): Doc fix.
15439
15440 2011-10-04 Martin Rudalics <rudalics@gmx.at>
15441
15442 * window.el (window--delete): New function.
15443 (frame-auto-delete): Resuscitate option.
15444 (bury-buffer, replace-buffer-in-windows)
15445 (quit-window): Rewrite using window--delete.
15446 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
15447 Pass display-buffer-mark-dedicated to window--display-buffer-2
15448 (Bug#9639).
15449
15450 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
15451
15452 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
15453 returns a list (bug#9554). Add remote file name completion.
15454 * comint.el (comint--table-subvert): Curry and get quote&unquote
15455 functions as arguments.
15456 (comint--complete-file-name-data): Adjust call accordingly.
15457 * pcomplete.el (pcomplete--table-subvert): Remove.
15458 (pcomplete-completions-at-point): Use comint--table-subvert instead.
15459
15460 * minibuffer.el (completion-table-case-fold): Use currying.
15461 (completion--styles-type, completion--cycling-threshold-type):
15462 New constants.
15463 (completion-styles, completion-category-overrides)
15464 (completion-cycle-threshold): Use them.
15465 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
15466 completion-table-case-fold.
15467
15468 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
15469
15470 * minibuffer.el (completion-category-overrides): Fix type of styles
15471 and add more user friendly tags (bug#9660).
15472
15473 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
15474
15475 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
15476 (mule-input-method-string): New widget.
15477 (default-input-method, language-info-custom-alist): Use it.
15478
15479 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
15480
15481 * pcomplete.el: Require comint.
15482 (pcomplete--common-suffix): Remove.
15483 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
15484 (pcomplete--table-subvert): Sync with comint--table-subvert.
15485 (pcomplete--entries): Use comint-completion-file-name-table.
15486 * comint.el (comint-unquote-filename): Simplify.
15487 (comint-completion-file-name-table): New function (bug#9616).
15488 (comint--complete-file-name-data): Use it.
15489
15490 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
15491 (pcmpl-gnu-tar-buffer): Remove.
15492 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
15493 around. Make sure pcomplete-suffix-list is only changed temporarily.
15494 Don't look inside the tar's file if it's too large.
15495
15496 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
15497
15498 * cus-edit.el (custom-mode-map):
15499 * epa.el (epa-key-list-mode-map):
15500 * man.el (Man-mode-map):
15501 * startup.el (splash-screen-keymap):
15502 * simple.el (special-mode-map): Use scroll-up-command and
15503 scroll-down-command.
15504
15505 * progmodes/idlw-help.el (idlwave-help-mode-map):
15506 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
15507 * net/newst-plainview.el (newsticker-mode-map):
15508 * emulation/ws-mode.el (wordstar-mode-map):
15509 * emulation/vi.el (vi-com-map):
15510 * calc/calc-graph.el (calc-graph-show-dumb):
15511 * term/sun.el (terminal-init-sun):
15512 * term/ns-win.el (global-map):
15513 * progmodes/grep.el (grep-mode-map):
15514 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
15515 * mail/rmail.el (rmail-mode-map):
15516 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
15517
15518 * custom.el (custom-safe-themes, load-theme): Treat value of t for
15519 custom-safe-themes as special.
15520
15521 2011-10-01 Julien Danjou <julien@danjou.info>
15522
15523 * notifications.el (notifications-notify): Fix docstring.
15524
15525 2011-10-01 Per Starbäck <per@starback.se>
15526
15527 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
15528
15529 2011-09-30 Martin Rudalics <rudalics@gmx.at>
15530
15531 * startup.el (command-line-1): Fix last fix by inserting
15532 initial-scratch-message into *scratch* before displaying it.
15533 (Bug#9605) and (Bug#9636)
15534
15535 2011-09-29 Eli Zaretskii <eliz@gnu.org>
15536
15537 * simple.el (line-move): If auto-hscroll-mode is disabled and the
15538 window is hscrolled, move by logical lines. (Bug#9607)
15539 (line-move-visual): Update the doc string to the above effect.
15540
15541 2011-09-29 Martin Rudalics <rudalics@gmx.at>
15542
15543 * window.el (display-buffer-record-window): When WINDOW is the
15544 selected window use `point' instead of `window-point'. (Bug#9626)
15545
15546 * startup.el (command-line-1): Use insert-before-markers when
15547 inserting initial-scratch-message. (Bug#9605)
15548
15549 * help.el (help-window): Remove variable.
15550
15551 2011-09-29 Glenn Morris <rgm@gnu.org>
15552
15553 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
15554
15555 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
15556
15557 * descr-text.el (describe-char-categories): Accept category
15558 descriptions more than one line long.
15559
15560 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
15561
15562 * simple.el (delete-trailing-whitespace): Fix last change.
15563
15564 * progmodes/perl-mode.el (perl-syntax-propertize-function):
15565 Don't confuse "y => 3" as the beginning of a `y' operation.
15566
15567 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
15568 object has more than 4 slots (bug#9613).
15569
15570 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
15571
15572 * subr.el (with-output-to-temp-buffer):
15573 * net/quickurl.el (quickurl, quickurl-browse-url):
15574 Fix typos in docstrings.
15575
15576 2011-09-27 Eli Zaretskii <eliz@gnu.org>
15577
15578 * minibuffer.el (completion-styles)
15579 (completion-category-overrides): Cross reference each other in doc
15580 strings.
15581
15582 2011-09-27 Glenn Morris <rgm@gnu.org>
15583
15584 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
15585 to split-string. (Bug#9606)
15586
15587 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
15588
15589 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
15590 (bug#9615).
15591
15592 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
15593
15594 * emacs-lisp/package.el (list-packages): Fix echo area message.
15595
15596 2011-09-27 Leo Liu <sdl.web@gmail.com>
15597
15598 * ido.el (ido-read-internal): Accept cons cell HIST arg.
15599
15600 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
15601
15602 * net/dbus.el (dbus-unregister-object): Don't release services for
15603 registered signals. (Bug#9581)
15604
15605 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
15606
15607 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
15608 function that picks between cfengine 2 and 3 support
15609 automatically. Update docs accordingly.
15610
15611 2011-09-22 Kenichi Handa <handa@m17n.org>
15612
15613 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
15614 ZERO.
15615 (indian-itrans-v5-table-for-tamil): New variable.
15616 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
15617
15618 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
15619
15620 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
15621 that's true if the current command involved collapsing of text.
15622 It's reset to false at the beginning of the next command.
15623 (allout-post-command-business): Move the cursor to the beginning
15624 of entry if the cursor is hidden and collapsing activity just
15625 happened.
15626
15627 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
15628
15629 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
15630 tracking (Bug#9541).
15631
15632 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
15633
15634 * net/newst-reader.el (newsticker-html-renderer)
15635 (newsticker-show-news): Automatically load html rendering package
15636 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
15637 because w3m-fill-column is let-bound" and the error "Symbol's value
15638 as variable is void: w3m-fill-column".
15639
15640 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
15641
15642 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
15643 Release services only if they are defined. (Bug#9581)
15644
15645 2011-09-23 Richard Stallman <rms@gnu.org>
15646
15647 * textmodes/paragraphs.el (forward-sentence): For backwards case,
15648 distinguish start of paragraph from start of its text.
15649
15650 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
15651
15652 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
15653 (rmail-generate-viewer-buffer): Put that hook on view buffer.
15654 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
15655
15656 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
15657
15658 * international/mule-diag.el (mule-diag): Insert a newline after
15659 each fontset description.
15660
15661 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
15662
15663 * simple.el (delete-trailing-whitespace):
15664 Document last change; simplify.
15665
15666 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
15667
15668 * simple.el (delete-trailing-whitespace): Also delete
15669 extra newlines at the end of the buffer.
15670
15671 * textmodes/picture.el: Make motion commands obey shift-select-mode.
15672 (picture-newline): Use forward-line so as to ignore fields.
15673
15674 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
15675
15676 * subr.el (with-wrapper-hook): Fix edebug spec.
15677
15678 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
15679
15680 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
15681 (bug#4538).
15682
15683 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
15684
15685 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
15686 Fix nasty bug using wrong cached values.
15687
15688 2011-09-23 Alan Mackenzie <acm@muc.de>
15689
15690 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
15691
15692 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
15693
15694 * window.el (pop-to-buffer): Ensure right window is selected if we
15695 chose another frame.
15696
15697 2011-09-22 Eli Zaretskii <eliz@gnu.org>
15698
15699 * simple.el (what-cursor-position): Use get-char-property-change
15700 and next-single-char-property-change, to be able to show display
15701 properties that come from overlays as well as text properties.
15702
15703 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
15704
15705 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
15706
15707 * cmuscheme.el (run-scheme, switch-to-scheme):
15708 * cus-edit.el (customize-group, custom-buffer-create)
15709 (customize-browse):
15710 * info.el (info):
15711 * shell.el (shell):
15712 * mail/sendmail.el (mail):
15713 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
15714
15715 2011-09-22 Richard Stallman <rms@gnu.org>
15716
15717 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
15718 move back only to line beg, don't move back over blank lines.
15719
15720 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
15721
15722 * files.el (copy-directory): Set directory attributes only in case
15723 they could be retrieved from the source directory. (Bug#9565)
15724
15725 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
15726
15727 * progmodes/hideshow.el (hs-looking-at-block-start-p)
15728 (hs-find-block-beginning, hs-hide-level-recursive):
15729 Ignore strings as well as comments. (Bug#9502)
15730
15731 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
15732
15733 * progmodes/sql.el (sql-comint-postgres):
15734 Convert port number to a string. (Bug#9566)
15735
15736 2011-09-22 Martin Rudalics <rudalics@gmx.at>
15737
15738 * window.el (quit-window): Undedicate window when switching to
15739 previous buffer. Reported by Thierry Volpiatto
15740 <thierry.volpiatto@gmail.com>.
15741 (special-display-popup-frame): When popping up a new frame reset
15742 its previous buffers to nil. Simplify code.
15743
15744 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
15745
15746 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
15747 and process filter, as done also in `shell-command'.
15748
15749 2011-09-21 Martin Rudalics <rudalics@gmx.at>
15750
15751 * window.el (set-window-buffer-start-and-point):
15752 Call set-window-start with NOFORCE argument t.
15753 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
15754 (quit-window): Reword doc-string. Handle new format of
15755 quit-restore parameter. Don't delete window if it has a
15756 previous buffer we can show instead of the present one.
15757 (display-buffer-record-window): Rewrite using a new format for
15758 the quit-restore window parameter
15759 (special-display-popup-frame, display-buffer-same-window)
15760 (display-buffer-reuse-window, display-buffer-pop-up-frame)
15761 (display-buffer-pop-up-window, display-buffer-use-some-window):
15762 Adapt symbol passed to display-buffer-record-window.
15763 * help.el (help-window-setup): Handle new format of quit-restore
15764 parameter.
15765
15766 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
15767
15768 * faces.el (face-list): Fix docstring (bug#9564).
15769
15770 * window.el (display-buffer--action-function-custom-type):
15771 Don't include internal functions in the Custom interface.
15772
15773 2011-09-20 Juri Linkov <juri@jurta.org>
15774
15775 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
15776 (Info-forward-node, Info-backward-node, Info-next-preorder)
15777 (Info-last-preorder): Use it. (Bug#9528)
15778
15779 2011-09-20 Juri Linkov <juri@jurta.org>
15780
15781 * info.el (Info-last-preorder): Visit last menu item only when
15782 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
15783
15784 2011-09-20 Julien Danjou <julien@danjou.info>
15785
15786 * password-cache.el (password-cache-remove): Remove entries even if the
15787 value is nil, so that password with a nil value (negative caching) is
15788 possible to invalidate.
15789
15790 2011-09-20 Lawrence Mitchell <wence@gmx.li>
15791
15792 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
15793 all whitespace around breakpoint. (Bug#9553)
15794 (f90-find-breakpoint): Only break at whitespace inside a comment.
15795
15796 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
15797
15798 * minibuffer.el (completion-file-name-table): Keep track of errors.
15799 (completion-table-with-predicate): Handle the case where pred1 is nil.
15800 * pcomplete.el (pcomplete-completions-at-point): Simplify.
15801
15802 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
15803
15804 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
15805 (debugger-return-value): Signal an error if the debugging context does
15806 not await any return value.
15807
15808 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
15809 * image-mode.el (image-toggle-display-text)
15810 (image-toggle-display-image): Stay away from evil `intangible'.
15811
15812 2011-09-19 Leo Liu <sdl.web@gmail.com>
15813
15814 * replace.el (occur-revert-arguments): Make it permanent-local.
15815 (occur-mode): Don't call font-lock-defontify.
15816
15817 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
15818
15819 * net/ldap.el (ldap-search-internal): Don't push empty search
15820 result (Bug#9508).
15821
15822 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
15823
15824 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
15825
15826 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
15827
15828 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
15829 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
15830
15831 2011-09-18 Juri Linkov <juri@jurta.org>
15832
15833 * buff-menu.el (Buffer-menu-mode-map):
15834 * dired.el (dired-mode-map):
15835 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
15836 (lisp-interaction-mode-map):
15837 * emacs-lisp/package.el (package-menu-mode-map):
15838 * epa.el (epa-key-list-mode-map):
15839 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
15840 (menu-bar-options-menu):
15841 * outline.el (outline-mode-menu-bar-map):
15842 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
15843 * vc/vc-dir.el (vc-dir-menu-map):
15844 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
15845 Capitalize non-function content words in menu item strings.
15846
15847 * dired.el (dired-mode-map): Add menu item for
15848 `image-dired-dired-toggle-marked-thumbs'.
15849
15850 2011-09-18 Juri Linkov <juri@jurta.org>
15851
15852 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
15853 to `isearch-case-fold-search' and restore its original value
15854 after the `isearch-mode' call.
15855
15856 2011-09-18 Juri Linkov <juri@jurta.org>
15857
15858 * progmodes/grep.el (grep-process-setup): Don't check code for 1
15859 because `zgrep' returns 1 for successful matches (bug#9226).
15860
15861 2011-09-18 Juri Linkov <juri@jurta.org>
15862
15863 * info.el (Info-extract-menu-node-name): Check the second match
15864 for empty string (second test-case of bug#9528).
15865 (Info-last-preorder): Let-bind `Info-history' to nil to not add
15866 intermediate nodes to the history (first test-case of bug#9528).
15867
15868 2011-09-18 Juri Linkov <juri@jurta.org>
15869
15870 * info.el (Info-mode-syntax-table): New variable.
15871 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
15872
15873 2011-09-18 Juri Linkov <juri@jurta.org>
15874
15875 * info.el (Info-file-supports-index-cookies):
15876 Increment line-beginning-position's arg from 3 to 4 because makeinfo
15877 outputs one more line for long file names (bug#4142).
15878
15879 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
15880
15881 * newcomment.el (comment-normalize-vars): If prompting for
15882 comment-start, set comment-start-skip too (Bug#8424).
15883
15884 2011-09-18 Johan Bockgård <bojohan@gnu.org>
15885
15886 * icomplete.el: Fix previous fix of Bug#5849.
15887 (icomplete-mode): Don't set completion-show-inline-help.
15888 (icomplete-minibuffer-setup): Set completion-show-inline-help
15889 locally during icompletion.
15890
15891 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
15892
15893 * woman.el (woman2-process-escapes): Don't delete unrecognized
15894 escapes (Bug#7843).
15895
15896 * files.el (inhibit-first-line-modes-regexps): Add image files.
15897 (hack-local-variables-prop-line): Return nil for malformed
15898 prop-lines (Bug#9044).
15899
15900 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
15901
15902 * net/tramp.el (top): Don't require 'shell.
15903 (tramp-methods): Fix docstring.
15904 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
15905 Return complete remote file name. Handle "smb" case.
15906 Use `tramp-tmpdir', if defined for the respective method.
15907 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
15908
15909 * net/tramp-compat.el (top): Require 'shell.
15910
15911 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
15912 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
15913 `tramp-current-host'.
15914 (tramp-get-remote-tmpdir): Remove.
15915
15916 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
15917 `tramp-tmpdir' entries.
15918 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
15919 (tramp-smb-handle-file-attributes): Ignore errors.
15920 (tramp-smb-wait-for-output): Check also for process end.
15921
15922 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
15923
15924 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
15925 when sending QUIT (bug#9312).
15926
15927 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
15928
15929 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
15930 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
15931 occur-mode-display-occurrence.
15932 (occur-edit-mode): Add usage message.
15933 (occur-cease-edit): New command.
15934 (occur-after-change-function): Use text properties to find the
15935 position of the prefix text.
15936 (occur-engine): Set stickiness of prefix text properties.
15937
15938 2011-09-17 Glenn Morris <rgm@gnu.org>
15939
15940 * progmodes/etags.el (complete-tag):
15941 Fix call to completion-in-region. (Bug#9526)
15942
15943 2011-09-17 Juri Linkov <juri@jurta.org>
15944
15945 * textmodes/ispell.el (ispell-word): Add to the error message
15946 the word, ispell program name and current dictionary (bug#9121).
15947 (ispell-tex-arg-end): Capitalize "error" in the error message.
15948
15949 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
15950
15951 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
15952 check. (Bug#4251)
15953
15954 2011-09-17 Juri Linkov <juri@jurta.org>
15955
15956 * window.el (window-safe-min-height, window-safe-min-width):
15957 Fix typos (followup to bug#9522).
15958
15959 2011-09-17 Sven Joachim <svenjoac@gmx.de>
15960
15961 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
15962
15963 2011-09-16 Eli Zaretskii <eliz@gnu.org>
15964
15965 * simple.el (line-move): If goal-column is set, move by logical
15966 lines, not by display lines. (Bug#971)
15967 (next-line, previous-line, goal-column, line-move-visual): Doc fix
15968 to reflect the above change.
15969
15970 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
15971
15972 * image.el (imagemagick-register-types): Use regexp-opt.
15973
15974 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
15975
15976 * window.el (display-buffer-base-action): Rename from
15977 display-buffer-default-action. Make default value empty.
15978 (display-buffer-overriding-action): Convert to defvar.
15979 (display-buffer-fallback-action): New var.
15980
15981 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
15982
15983 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
15984 declaration.
15985 (package--add-to-archive-contents): If there is a duplicate entry
15986 with an older version, remove it.
15987 (package-menu-mark-delete, package-menu-mark-install)
15988 (package-menu-mark-unmark): Make unused args optional.
15989 (package-menu-mark-obsolete-for-deletion):
15990 Use package-menu-get-status instead of a regexp search.
15991 (package-menu-get-status): Use tabulated-list-entry.
15992 (package-menu-mark-upgrades): New command.
15993 (package-menu-mode-map): Bind it to U. Add it to menu bar.
15994 (package-menu-execute): Do installation before deletion.
15995 (package-menu-refresh, package-menu-execute): Use derived-mode-p
15996 instead of checking major-mode.
15997 (package-menu--find-upgrades): New function.
15998
15999 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
16000
16001 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
16002 passwords in the log buffer.
16003 (smtpmail-process-filter): Update the process marker so that the
16004 "broken by peer" status message is inserted in the right place.
16005
16006 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
16007
16008 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
16009 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
16010 bibtex-completion-at-point-function.
16011 (bibtex-completion-at-point-function): Use them.
16012
16013 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
16014
16015 * mpc.el (mpc-constraints-tag-lookup): New function.
16016 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
16017 also to browser "album|playlist".
16018
16019 2011-09-14 Juri Linkov <juri@jurta.org>
16020
16021 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
16022 (isearch-edit-string): Use length of `isearch-string' when
16023 `isearch-fail-pos' returns nil.
16024 (isearch-message): Remove duplicate code and call
16025 `isearch-fail-pos' with arg `t'.
16026
16027 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
16028
16029 * replace.el (occur-mode-goto-occurrence): Don't force using other
16030 window (Bug#9499).
16031
16032 * dired-aux.el (dired-do-chmod): Don't provide initial input.
16033
16034 2011-09-14 Martin Rudalics <rudalics@gmx.at>
16035
16036 * window.el (display-buffer-window): Remove.
16037 (display-buffer-record-window): Use help-setup window parameter
16038 instead of variable display-buffer-window.
16039 (display-buffer-function, special-display-buffer-names)
16040 (special-display-function): Mention help-setup parameter instead
16041 of display-buffer-window in doc-string.
16042 * help.el (help-window-setup): New argument help-window.
16043 Use help-window-setup parameter instead of display-buffer-window.
16044 Reword some messages.
16045 (with-help-window): Pass window used for displaying the buffer
16046 to help-window-setup. Don't set display-buffer-window.
16047
16048 2011-09-13 Glenn Morris <rgm@gnu.org>
16049
16050 * emacs-lisp/debug.el (debugger-make-xrefs):
16051 Preserve point. (Bug#9462)
16052
16053 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
16054
16055 * window.el (window-deletable-p): Use next-frame.
16056
16057 2011-09-13 Martin Rudalics <rudalics@gmx.at>
16058
16059 * window.el (window-auto-delete): Remove.
16060 (window-deletable-p): Remove argument FORCE. Don't deal with
16061 dedication and previous buffers.
16062 (switch-to-prev-buffer): Don't delete window.
16063 (delete-windows-on): Delete a window's frame if and only if the
16064 window is dedicated.
16065 (replace-buffer-in-windows): Delete buffer's window or frame if
16066 and only if window is dedicated.
16067 (quit-window): Handle quit-restore as before last change.
16068 (bury-buffer): Delete window only if window-deletable-p returns t.
16069
16070 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
16071
16072 * window.el (window-deletable-p): Never delete the last frame on a
16073 given terminal.
16074
16075 2011-09-13 Glenn Morris <rgm@gnu.org>
16076
16077 * help.el (describe-key-briefly): Copy previous standard-output change.
16078
16079 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
16080
16081 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
16082
16083 2011-09-13 Glenn Morris <rgm@gnu.org>
16084
16085 * emacs-lisp/lisp-mode.el (lisp-indent-function):
16086 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
16087
16088 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
16089
16090 * dired-aux.el (dired-mark-read-string): Don't return default
16091 value on empty input (Bug#9361).
16092 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
16093 Omit initial minibuffer contents.
16094 (dired-do-chmod): Signal an error on empty input.
16095 (dired-mark-read-string): Don't return default on empty input.
16096
16097 * files.el (file-modes-symbolic-to-number): Doc fix.
16098
16099 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
16100
16101 * international/mule-cmds.el (ucs-completions): Remove.
16102 (read-char-by-name): Use complete-with-action instead; add metadata.
16103
16104 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
16105
16106 * window.el (display-buffer--action-function-custom-type)
16107 (display-buffer--action-custom-type): New vars.
16108 (display-buffer-alist, display-buffer-default-action)
16109 (display-buffer-overriding-action): Add defcustom types.
16110
16111 * frame.el (delete-other-frames): Doc fix (Bug#276).
16112
16113 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16114
16115 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
16116
16117 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
16118
16119 Change modes that used same-window-* vars to use switch-to-buffer.
16120
16121 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
16122 Use switch-to-buffer.
16123
16124 * cus-edit.el (customize-group, custom-buffer-create)
16125 (customize-browse, custom-buffer-create-other-window):
16126 Use switch-to-buffer or switch-to-buffer-other-window.
16127
16128 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
16129 (Info-prev, Info-up, Info-speedbar-goto-node)
16130 (info-display-manual): Use switch-to-buffer.
16131 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
16132
16133 * mail/sendmail.el (mail): Use switch-to-buffer.
16134 (mail-recover): Use switch-to-buffer-other-window.
16135
16136 * cmuscheme.el (run-scheme, switch-to-scheme):
16137 * ielm.el (ielm):
16138 * shell.el (shell):
16139 * net/rlogin.el (rlogin):
16140 * net/telnet.el (telnet, rsh):
16141 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
16142
16143 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
16144
16145 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
16146
16147 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16148
16149 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
16150 so don't mention it (bug#9301).
16151 (dired-sort-toggle-or-edit): Clarify string further.
16152
16153 * faces.el (face-spec-set-match-display): Make `(type graphic)'
16154 match `x', `w32' and `ns', like the manual says (bug#9029).
16155
16156 * subr.el (eval-after-load): Doc string clarification (bug#9125).
16157 (process-kill-buffer-query-function): Mention the buffer name in
16158 the query.
16159
16160 * image-mode.el (image-next-line): The line parameter is mandatory
16161 (bug#9258).
16162
16163 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
16164 which can be useful (bug#9301).
16165
16166 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
16167
16168 * subr.el (match-string): Mention that the current buffer should
16169 be the same as the search was done in (bug#9282).
16170
16171 * facemenu.el: Disable the remove-* commands if the mark isn't
16172 active (bug#9162).
16173
16174 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
16175
16176 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
16177 of display-buffer.
16178 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
16179
16180 * replace.el (occur-mode-goto-occurrence)
16181 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
16182 and display-buffer.
16183
16184 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
16185 display-buffer.
16186
16187 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
16188 special-display and same-window variables.
16189 (mail-other-window): Use switch-to-buffer-other-window.
16190 (mail-other-frame): USe switch-to-buffer-other-frame.
16191
16192 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
16193 Use display-buffer-other-frame.
16194 (gdb-display-gdb-buffer): Use pop-to-buffer.
16195
16196 * progmodes/gud.el (gud-goto-info): Use info-other-window.
16197
16198 * progmodes/python.el: Don't set same-window-buffer-names.
16199
16200 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
16201
16202 * window.el (display-buffer-alist): Add *Python*.
16203
16204 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
16205
16206 * window.el (display-buffer-alist): Add entry for buffers
16207 previously handled same-window-*.
16208 (display-buffer-alist, display-buffer-default-action)
16209 (display-buffer-overriding-action): Mark as risky.
16210 (display-buffer-alist): Document action function changes.
16211 (display-buffer--same-window-action)
16212 (display-buffer--other-frame-action): New variables.
16213 (switch-to-buffer, display-buffer-other-frame): Use them.
16214 (display-buffer): Rename reuse-frame entry to reusable-frames.
16215 (display-buffer-reuse-selected-window): Function deleted.
16216 (display-buffer-reuse-window): Handle reusable-frames alist entry.
16217 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
16218 (display-buffer-special): New function.
16219 (display-buffer--maybe-pop-up-frame-or-window): Rename from
16220 display-buffer-reuse-or-pop-window. Split off special-display
16221 part into display-buffer-special.
16222 (display-buffer-use-some-window): Don't perform any special
16223 pop-up-frames handling.
16224 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
16225 (display-buffer--maybe-same-window): Rename from
16226 display-buffer-maybe-same-window.
16227
16228 * info.el: Don't set same-window-regexps.
16229 (info-setup): New function.
16230 (info-other-window, info): Call it.
16231
16232 * cus-edit.el: Don't set same-window-regexps.
16233 (customize-group): New argument.
16234 (customize-group-other-window): Use it.
16235 (customize-face, customize-face-other-window): Likewise.
16236 (custom-buffer-create-other-window): Use pop-to-buffer directly.
16237
16238 * net/rlogin.el:
16239 * net/telnet.el:
16240 * progmodes/gud.el: Don't set same-window-regexps.
16241
16242 * cmuscheme.el:
16243 * ielm.el:
16244 * shell.el:
16245 * mail/sendmail.el:
16246 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
16247
16248 2011-09-10 Juri Linkov <juri@jurta.org>
16249
16250 * isearch.el (isearch-edit-string): Remove obsolete mention of
16251 `C-w' (`isearch-yank-word-or-char') from docstring.
16252 (isearch-query-replace): Fix typo in docstring (bug#9466).
16253
16254 2011-09-10 Juri Linkov <juri@jurta.org>
16255
16256 * paren.el (show-paren-function): Don't show escaped parens.
16257 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
16258
16259 2011-09-10 Eli Zaretskii <eliz@gnu.org>
16260
16261 * mail/sendmail.el (mml-to-mime, mml-attach-file)
16262 (mm-default-file-encoding): Remove autoload forms, they are
16263 replaced with autoload cookies in mml.el and mm-encode.el.
16264 (mail-add-attachment): New command.
16265 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
16266 (mail-mode): Mention mail-insert-file and mail-add-attachment in
16267 the doc string.
16268 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
16269
16270 2011-09-10 Reuben Thomas <rrt@sc3d.org>
16271
16272 * simple.el (count-words-region): Use buffer if there's no region
16273 (bug#9429).
16274
16275 2011-09-09 Juri Linkov <juri@jurta.org>
16276
16277 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
16278 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
16279 (wdired-isearch-filter-read-only): New function. (Bug#6362)
16280
16281 2011-09-09 Alan Mackenzie <acm@muc.de>
16282
16283 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
16284 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
16285
16286 2011-09-09 Eli Zaretskii <eliz@gnu.org>
16287
16288 Fix for Savannah bug#9392.
16289 * simple.el (mail-encode-mml): New defvar.
16290
16291 * mail/rmail.el (mail-encode-mml): Add a defvar.
16292 (rmail-enable-mime-composing): Default to t.
16293 (rmail-forward): Use MIME method of forwarding only if both
16294 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
16295 Set mail-encode-mml non-nil if the MIME method was used.
16296
16297 * mail/sendmail.el (mml-to-mime): Add autoload form.
16298 (mail-encode-mml): Add a defvar.
16299 (mail-mode): Make mail-encode-mml buffer-local and initialize it
16300 to nil.
16301 (mail-send): If mail-encode-mml is non-nil, run the outgoing
16302 message through mml-to-mime, and reset mail-encode-mml to nil.
16303
16304 2011-09-09 Glenn Morris <rgm@gnu.org>
16305
16306 * woman.el (woman-if-body): When processing an .el block,
16307 do not delete the next .el block as well. (Bug#9447)
16308 (woman-special-characters): Add oq, cq, and hy characters.
16309
16310 2011-09-08 Martin Rudalics <rudalics@gmx.at>
16311
16312 * window.el (window-deletable-p): Make sure window is live before
16313 invoking window-prev-buffers.
16314
16315 2011-09-08 Leo Liu <sdl.web@gmail.com>
16316
16317 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
16318
16319 2011-09-08 Juri Linkov <juri@jurta.org>
16320
16321 * progmodes/compile.el (compilation-environment): Make it
16322 a defcustom (bug#8340).
16323
16324 2011-09-08 Martin Rudalics <rudalics@gmx.at>
16325
16326 * window.el (frame-auto-delete): Rename to window-auto-delete.
16327 Make it control auto-deletion of windows and/or frames.
16328 (window-deletable-p): New argument FORCE. Rewrite conditions
16329 for deleting window/frame. (Bug#9419)
16330 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
16331 Rewrite handling of case when window/frame can be deleted.
16332 (delete-windows-on): Call window-deletable-p with new FORCE
16333 argument t. (Bug#9456)
16334
16335 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
16336
16337 * help-mode.el (help-mode): Restore autoload.
16338
16339 2011-09-07 Juri Linkov <juri@jurta.org>
16340
16341 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
16342 `compilation-environment'. Set buffer-local
16343 `compilation-environment' to `thisenv' later after (funcall mode).
16344 (Bug#8340)
16345
16346 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
16347 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
16348 instead of replacing its value. (Bug#8340)
16349
16350 2011-09-07 Juri Linkov <juri@jurta.org>
16351
16352 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
16353 based on text properties put by `grep-filter' instead of matching
16354 escape sequences.
16355 (grep-mode): Set buffer-local `compilation-error-screen-columns'
16356 to the value of `grep-error-screen-columns' (bug#9438).
16357
16358 2011-09-07 Juri Linkov <juri@jurta.org>
16359
16360 * simple.el (next-error-highlight, next-error-highlight-no-select):
16361 Doc fix (bug#9432).
16362
16363 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
16364
16365 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
16366 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
16367
16368 2011-09-07 Leo Liu <sdl.web@gmail.com>
16369
16370 * net/rcirc.el (rcirc-mode): Conditionally initialize
16371 rcirc-input-ring.
16372
16373 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
16374
16375 * emacs-lisp/find-func.el (find-function-C-source): Only set
16376 find-function-C-source-directory after checking that we found a source
16377 file there (bug#9440).
16378
16379 2011-09-06 Alan Mackenzie <acm@muc.de>
16380
16381 * isearch.el (isearch-other-meta-char): Wherever a key list is
16382 unread, "unread" the prefix arg, too. This fixes bug #8901.
16383
16384 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
16385
16386 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
16387
16388 2011-09-05 Juri Linkov <juri@jurta.org>
16389
16390 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
16391
16392 2011-09-05 Juri Linkov <juri@jurta.org>
16393
16394 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
16395 keeping point where processing of grep matches begins, and
16396 continue to delete remaining escape sequences from the same point.
16397 (grep-filter): Make leading zero optional in "0?1;31m" because
16398 git-grep emits "\033[1;31m" escape sequences unlike expected
16399 "\033[01;31m" as GNU Grep does (bug#9408).
16400 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
16401
16402 2011-09-05 Juri Linkov <juri@jurta.org>
16403
16404 * subr.el (y-or-n-p): Capitalize "yes".
16405
16406 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
16407
16408 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
16409 `tramp-cache-unload-hook' where appropriate.
16410 (tramp-methods): Rename `tramp-remote-sh' to
16411 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
16412 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
16413
16414 * net/tramp-sh.el (top): Don't require 'shell.
16415 (tramp-methods): Add `tramp-remote-shell' and
16416 `tramp-remote-shell-args' entries.
16417 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
16418 (tramp-sh-handle-shell-command): Remove.
16419 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
16420 Use `tramp-remote-shell'.
16421
16422 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
16423
16424 * mail/sendmail.el (sendmail-query-once-function): Delete.
16425 (sendmail-query-once): Save directly to send-mail-function.
16426 Update message-send-mail-function too.
16427
16428 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
16429
16430 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
16431
16432 * progmodes/python.el (python-mode-map): Use correct function to
16433 start python interpreter from menu-bar (as reported by Geert
16434 Kloosterman).
16435 (inferior-python-mode-map): Fix typo.
16436 (python-shell-map): Remove.
16437
16438 2011-09-03 Deniz Dogan <deniz@dogan.se>
16439
16440 * net/rcirc.el (rcirc-print): Simplify code for
16441 rcirc-scroll-show-maximum-output. There is no need to walk
16442 through all windows to find the right one.
16443
16444 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
16445
16446 * help.el (help-return-method): Doc fix.
16447
16448 2011-09-03 Martin Rudalics <rudalics@gmx.at>
16449
16450 * window.el (window-deletable-p): Don't return a non-nil value
16451 when there's a buffer that was shown in the window before.
16452 (Bug#9419)
16453 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
16454 Set window's previous buffers to nil.
16455
16456 2011-09-03 Eli Zaretskii <eliz@gnu.org>
16457
16458 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
16459 newline before and after the tag line, so it doesn't interfere
16460 with determining the paragraph direction of bidirectional text.
16461
16462 2011-09-03 Leo Liu <sdl.web@gmail.com>
16463
16464 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
16465
16466 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
16467
16468 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
16469 (pop-to-buffer): Change interactive spec. Pass second argument
16470 directly to display-buffer.
16471 (display-buffer): Fix interactive spec. Use functionp to
16472 distinguish between a function and a list of functions.
16473
16474 * abbrev.el (edit-abbrevs):
16475 * arc-mode.el (archive-extract):
16476 * autoinsert.el (auto-insert):
16477 * bookmark.el (bookmark-bmenu-list):
16478 * files.el (find-file):
16479 * view.el (view-buffer):
16480 * progmodes/compile.el (compilation-goto-locus):
16481 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
16482
16483 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
16484
16485 * window.el (display-buffer-alist): Doc fix.
16486 (display-buffer): Add docstring. Don't treat
16487 display-buffer-default specially.
16488 (display-buffer-reuse-selected-window)
16489 (display-buffer-same-window, display-buffer-maybe-same-window)
16490 (display-buffer-reuse-window, display-buffer-pop-up-frame)
16491 (display-buffer-pop-up-window)
16492 (display-buffer-reuse-or-pop-window)
16493 (display-buffer-use-some-window): New functions.
16494 (display-buffer-default-action): Use them.
16495 (display-buffer-default): Delete.
16496 (pop-to-buffer-1): Fix choice of actions.
16497
16498 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
16499
16500 * minibuffer.el (completion--insert-strings): Don't get confused by
16501 completion entries that end with an LF char.
16502
16503 2011-09-01 Eli Zaretskii <eliz@gnu.org>
16504
16505 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
16506
16507 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
16508
16509 * window.el (display-buffer): Restore interactive spec.
16510 (display-buffer-same-window, display-buffer-other-window):
16511 New functions.
16512 (pop-to-buffer-1): New function. Use the above.
16513 (pop-to-buffer, pop-to-buffer-same-window): Use it.
16514 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
16515
16516 * view.el (view-buffer-other-window, view-buffer-other-frame):
16517 Just use pop-to-buffer.
16518
16519 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16520
16521 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
16522
16523 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
16524
16525 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
16526
16527 2011-08-31 Richard Stallman <rms@gnu.org>
16528
16529 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
16530 of the separation of rmail-view-buffer from rmail-buffer.
16531 If you say no to "replace original", the decrypt is in the
16532 view buffer. If you say yes, the decrypt goes into the
16533 rmail buffer also.
16534
16535 2011-08-31 Martin Rudalics <rudalics@gmx.at>
16536
16537 * window.el (display-buffer-window): Rewrite doc-string.
16538 (display-buffer-record-window): New function.
16539 (display-buffer-macro-specifiers)
16540 (display-buffer-even-window-sizes, display-buffer-set-height)
16541 (display-buffer-set-width, display-buffer-in-window)
16542 (display-buffer-reuse-window, display-buffer-split-specifiers)
16543 (display-buffer-side-specifiers, display-buffer-split-window-1)
16544 (display-buffer-split-window, display-buffer-split-atom-window)
16545 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
16546 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
16547 (display-buffer-other-window-means-other-frame)
16548 (display-buffer-normalize-special)
16549 (display-buffer-normalize-default)
16550 (display-buffer-normalize-argument)
16551 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
16552 (display-buffer-normalize-specifiers, display-buffer-frame)
16553 (display-buffer-same-window, display-buffer-same-frame)
16554 (display-buffer-other-window)
16555 (display-buffer-same-frame-other-window)
16556 (display-buffer-other-frame, pop-to-buffer-same-window)
16557 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
16558 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
16559 (switch-to-buffer-same-frame)
16560 (switch-to-buffer-other-window-same-frame)
16561 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
16562 (display-buffer-alist-set-1, display-buffer-alist-set-2)
16563 (display-buffer-alist-set): Remove.
16564 (display-buffer-function, special-display-buffer-names)
16565 (special-display-regexps, special-display-function):
16566 In doc-string refer to display-buffer-window and quit-restore
16567 parameter.
16568 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
16569 (special-display-frame-alist, special-display-popup-frame)
16570 (same-window-buffer-names, same-window-regexps, same-window-p)
16571 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16572 (split-window-preferred-function, split-height-threshold)
16573 (split-width-threshold, window-splittable-p)
16574 (split-window-sensibly, window--try-to-split-window)
16575 (window--frame-usable-p, even-window-heights)
16576 (window--even-window-heights, window--display-buffer-1)
16577 (window--display-buffer-2, display-buffer-other-frame):
16578 Restore old Emacs 23 code, order and doc-strings where applicable.
16579 (display-buffer-default, display-buffer-assq-regexp): New functions.
16580 (display-buffer-alist): Rewrite doc-string.
16581 (display-buffer-default-action)
16582 (display-buffer-overriding-action): New variables.
16583 (display-buffer, switch-to-buffer): Rewrite.
16584 (pop-to-buffer): Restore Emacs 23 behavior but use
16585 window-normalize-buffer-to-display.
16586 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
16587 Restore Emacs 23 behavior but use
16588 window-normalize-buffer-to-switch-to.
16589 (pop-to-buffer-same-window): Rewrite.
16590 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
16591 Rewrite using Emacs 23 options.
16592
16593 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
16594
16595 * net/tramp.el (tramp-root-regexp): Remove.
16596 (tramp-completion-file-name-regexp-unified)
16597 (tramp-completion-file-name-regexp-separate)
16598 (tramp-completion-file-name-regexp-url): Don't use leading volume
16599 letter on w32 systems. (Bug#5303, Bug#9311)
16600 (tramp-drop-volume-letter): Simplify definition.
16601 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
16602
16603 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
16604
16605 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
16606 (bug#9356).
16607
16608 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
16609
16610 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
16611
16612 2011-08-29 Juri Linkov <juri@jurta.org>
16613
16614 * isearch.el (isearch-done): Don't display message "Mark saved"
16615 when arg `edit' is non-nil to prevent its flicker in the echo area.
16616
16617 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
16618
16619 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
16620 obsolete packages for deletion.
16621
16622 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
16623
16624 * help-mode.el (help-mode-map): Add special-mode-map to parent.
16625 (help-mode): Derive help-mode from special-mode. Don't invoke
16626 view-mode from help-mode.
16627 (help-xref-override-view-map): Remove.
16628 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
16629 view-mode is not used anymore.
16630
16631 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
16632
16633 * server.el (server-port): Doc fix.
16634
16635 * cus-theme.el (custom-theme-choose-mode): Inherit from
16636 special-mode (Bug#9124).
16637 (custom-theme-choose-mode-map): Add special-mode to parent.
16638
16639 2011-08-28 Alan Mackenzie <acm@muc.de>
16640
16641 * progmodes/cc-fonts.el
16642 (c-make-font-lock-BO-decl-search-function): New function.
16643 (c-basic-matchers-after - "Fontify the clauses after various
16644 keywords"): Extract the three keyword lists for the 3 erroneous
16645 constructs from the list of four, and use the new function above
16646 in place of an old one.
16647
16648 2011-08-28 Deniz Dogan <deniz@dogan.se>
16649
16650 * net/rcirc.el (rcirc-insert-prev-input)
16651 (rcirc-insert-next-input): Remove unused argument.
16652
16653 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
16654
16655 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
16656
16657 2011-08-27 Alan Mackenzie <acm@muc.de>
16658
16659 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
16660 handle function pointer parameters properly.
16661
16662 2011-08-27 Martin Rudalics <rudalics@gmx.at>
16663
16664 * window.el (display-buffer-reuse-window): Fix case where
16665 selected window was reused with non-nil OTHER-WINDOW argument.
16666 (Bug#9381)
16667
16668 2011-08-27 Deniz Dogan <deniz@dogan.se>
16669
16670 * net/rcirc.el (rcirc-check-auth-status): Adding support for
16671 oftc's NickServ messages.
16672
16673 2011-08-27 Glenn Morris <rgm@gnu.org>
16674
16675 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
16676
16677 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
16678
16679 * emacs-lisp/package.el (package-install): Call package-initialize
16680 if called interactively.
16681
16682 2011-08-26 Leo Liu <sdl.web@gmail.com>
16683
16684 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
16685
16686 2011-08-25 Juri Linkov <juri@jurta.org>
16687
16688 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
16689 `search-whitespace-regexp' (bug#9364).
16690
16691 2011-08-25 Juri Linkov <juri@jurta.org>
16692
16693 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
16694 `regexp-search-ring' to their global values to protect from
16695 updating by `read-from-minibuffer' (bug#9185).
16696
16697 2011-08-25 Juri Linkov <juri@jurta.org>
16698
16699 * textmodes/ispell.el (ispell-command-loop): Add newline
16700 at the end of the "Use option `i'..." line.
16701
16702 2011-08-25 Juri Linkov <juri@jurta.org>
16703
16704 * battery.el (display-battery-mode): If `battery-status-function'
16705 or `battery-mode-line-format' is nil, display the message and set
16706 `display-battery-mode' to nil (bug#9363).
16707
16708 2011-08-25 Eli Zaretskii <eliz@gnu.org>
16709
16710 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
16711 bidi-string-mark-left-to-right; they are unnecessary now.
16712
16713 2011-08-25 Deniz Dogan <deniz@dogan.se>
16714
16715 * net/quickurl.el: Documentation typo fixes.
16716
16717 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
16718
16719 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
16720
16721 2011-08-25 Glenn Morris <rgm@gnu.org>
16722
16723 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
16724
16725 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
16726 (smtpmail-via-smtp): Handle nil response from smtp.
16727
16728 2011-08-24 Juri Linkov <juri@jurta.org>
16729
16730 * proced.el (proced-marked): Inherit from `error' instead of
16731 `font-lock-warning-face'.
16732
16733 * ibuffer.el (ibuffer-marked-face): Change default face from
16734 `font-lock-warning-face' to `warning'.
16735 (ibuffer-deletion-face): Change default face from
16736 `font-lock-type-face' to `error'.
16737
16738 * battery.el (battery-update): Use the face `error' instead of
16739 `font-lock-warning-face' (bug#6117).
16740
16741 2011-08-24 Juri Linkov <juri@jurta.org>
16742
16743 * faces.el (success): Change face color from "Green3" to
16744 "ForestGreen" on light background (bug#9353).
16745
16746 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
16747
16748 * window.el (quit-window): Rename from quit-restore-window.
16749 Use same arglist as old quit-window.
16750 (frame-auto-delete): Doc fix.
16751
16752 * view.el (view-mode-exit): Use quit-window.
16753
16754 2011-08-24 Juri Linkov <juri@jurta.org>
16755
16756 * isearch.el (isearch-ring-adjust1): Start visiting previous
16757 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
16758 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
16759 for empty search string (when the last search string is reused
16760 automatically) to adjust the isearch ring to the last element and
16761 prepare the correct index for further M-p commands (bug#9185).
16762
16763 2011-08-24 Kenichi Handa <handa@m17n.org>
16764
16765 * international/ucs-normalize.el: If decomposition property of
16766 CHAR is the default one (i.e. a list of CHAR itself), treat it as
16767 nil.
16768 (nfd, nfkd): Likewise.
16769
16770 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
16771
16772 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
16773 from process filters aren't reliably transmitted to the surrounding
16774 accept-process-output.
16775 (mpc-proc-check): New function.
16776 (mpc-proc-sync): Use it (bug#8293)
16777
16778 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
16779
16780 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
16781 Add compatibility functions (bug#9313).
16782
16783 2011-08-23 Eli Zaretskii <eliz@gnu.org>
16784
16785 * cus-start.el (all): Add entry for bidi-paragraph-direction.
16786
16787 * international/uni-bidi.el: Regenerate.
16788
16789 2011-08-23 Kenichi Handa <handa@m17n.org>
16790
16791 * international/charprop.el:
16792 * international/uni-bidi.el:
16793 * international/uni-category.el:
16794 * international/uni-combining.el:
16795 * international/uni-comment.el:
16796 * international/uni-decimal.el:
16797 * international/uni-decomposition.el:
16798 * international/uni-digit.el:
16799 * international/uni-lowercase.el:
16800 * international/uni-mirrored.el:
16801 * international/uni-name.el:
16802 * international/uni-numeric.el:
16803 * international/uni-old-name.el:
16804 * international/uni-titlecase.el:
16805 * international/uni-uppercase.el: Regenerate.
16806
16807 2011-08-23 Martin Rudalics <rudalics@gmx.at>
16808
16809 * help.el (help-window-setup): Fix message displayed when other
16810 window is reused. (Bug#9341)
16811
16812 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
16813
16814 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
16815 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
16816
16817 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
16818 Mark obsolete.
16819 * shell.el (shell-parse-pcomplete-arguments): New function.
16820 (shell-completion-vars): Use it instead (bug#9160).
16821
16822 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
16823
16824 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
16825 strings and comments (bug#9333).
16826
16827 * emacs-lisp/debug.el (debug-arglist): New function.
16828 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
16829 (debug-on-entry-1): Handle interpreted closures (bug#9120).
16830
16831 2011-08-22 Juri Linkov <juri@jurta.org>
16832
16833 * progmodes/compile.el (compilation-mode-font-lock-keywords):
16834 Revert regexp that highlights output switches to its old
16835 pre-2010-10-28 value and remove one `?' from it (bug#9319).
16836
16837 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
16838 to check for empty output (bug#9226).
16839
16840 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
16841
16842 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
16843 symbol-constituent as the default, as that stops font-lock from
16844 working properly (Bug#8843).
16845
16846 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16847
16848 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
16849 `coding-system-for-*' around the process open call to avoid
16850 auth-source side effects.
16851 (smtpmail-try-auth-methods): Expand the secret password.
16852 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
16853 probe hangs.
16854
16855 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
16856
16857 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
16858
16859 * emacs-lisp/find-func.el (find-function-noselect): New arg
16860 lisp-only.
16861
16862 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
16863 signal an error for built-in functions (Bug#6664).
16864
16865 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16866
16867 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
16868 (smtpmail-try-auth-methods): Use it.
16869
16870 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
16871
16872 * font-lock.el (font-lock-fontify-region)
16873 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
16874 (font-lock-default-unfontify-buffer)
16875 (font-lock-default-fontify-region)
16876 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
16877
16878 * progmodes/compile.el (compilation-error-properties):
16879 Fix confusion between file struct and message struct (Bug#9319).
16880 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
16881 `ant' regexp.
16882
16883 * net/browse-url.el (browse-url-firefox): Don't call
16884 browse-url-firefox-sentinel unless using -remote (Bug#9328).
16885
16886 2011-08-20 Glenn Morris <rgm@gnu.org>
16887
16888 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
16889
16890 * tutorial.el (tutorial--default-keys): Update some default bindings.
16891
16892 * files.el (hack-local-variables): Fully ignore case for "mode:".
16893
16894 2011-08-20 Alan Mackenzie <acm@muc.de>
16895
16896 Resolve invalid use of a regexp in regexp-opt.
16897
16898 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
16899 detection for a java annotation.
16900
16901 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
16902 detection for a java annotation.
16903
16904 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
16905 handling for java.
16906 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
16907
16908 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
16909
16910 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
16911 (Bug#9274).
16912
16913 2011-08-20 Alan Mackenzie <acm@muc.de>
16914
16915 Fontify CPP expressions correctly when starting in the middle of
16916 such a construct. Mainly for when jit-lock etc. starts a chunk
16917 here.
16918
16919 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
16920 variable.
16921 (c-make-font-lock-search-form): New function, extracted from
16922 c-make-font-lock-search-function.
16923 (c-make-font-lock-search-function): Use the above function.
16924 (c-make-font-lock-context-search-function): New function.
16925 (c-cpp-matchers): Enhance the preprocessor expression case with
16926 the above function
16927 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
16928 which takes an expression.
16929
16930 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
16931
16932 2011-08-20 Martin Rudalics <rudalics@gmx.at>
16933
16934 * window.el (display-buffer-reuse-window)
16935 (display-buffer-pop-up-window): Don't reuse or split a side
16936 window.
16937
16938 2011-08-19 Glenn Morris <rgm@gnu.org>
16939
16940 * files.el (hack-local-variables-prop-line, hack-local-variables):
16941 Downcase "Mode:". (Bug#9331)
16942
16943 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
16944
16945 * international/characters.el: Add L and R categories.
16946
16947 * subr.el (bidi-string-mark-left-to-right): Rename from
16948 string-mark-left-to-right. Use category search.
16949
16950 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
16951
16952 2011-08-18 Juri Linkov <juri@jurta.org>
16953
16954 * faces.el (error, warning, success): New faces with definitions
16955 copied from old default values of `font-lock-warning-face',
16956 `compilation-warning', `compilation-info' (bug#6117).
16957
16958 * font-lock.el (font-lock-warning-face): Inherit from `error'.
16959
16960 * progmodes/compile.el (compilation-error): Inherit from `error'.
16961 (compilation-warning): Inherit from `warning'.
16962 (compilation-info): Inherit from `success'.
16963
16964 * dired.el (dired-marked): Inherit from `warning'.
16965 (dired-flagged): Inherit from `error'.
16966
16967 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
16968
16969 * mail/smtpmail.el (auth-source): Require to avoid problems with
16970 binding variables (bug#9298). Also clean up some unused
16971 autoloads.
16972
16973 * net/network-stream.el (network-stream-open-starttls):
16974 Support using starttls.el without using gnutls-cli.
16975
16976 2011-08-17 Juri Linkov <juri@jurta.org>
16977
16978 * progmodes/grep.el (rgrep): Handle the case when
16979 `grep-find-command' is a cons cell (bug#9278).
16980
16981 2011-08-17 Martin Rudalics <rudalics@gmx.at>
16982
16983 * window.el (display-buffer-pop-up-frame): Run frame creation
16984 function with BUFFER current (as special-display-popup-frame
16985 does). Reported by Drew Adams.
16986
16987 2011-08-17 Daiki Ueno <ueno@unixuser.org>
16988
16989 * epa-mail.el: Simplify GnuPG group expansion using
16990 epg-expand-group.
16991 (epa-mail-group-alist, epa-mail-group-modtime)
16992 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
16993 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
16994 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
16995 Remove.
16996
16997 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
16998
16999 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
17000
17001 2011-08-16 Alan Mackenzie <acm@muc.de>
17002
17003 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
17004 Correct, to avoid the inside of macros.
17005
17006 2011-08-16 Richard Stallman <rms@gnu.org>
17007
17008 * epa-mail.el: Handle GnuPG group definitions.
17009 (epa-mail-group-alist, epa-mail-group-modtime)
17010 (epa-mail-gnupg-conf-file): New variables.
17011 (epa-mail-parse-groups, epa-mail-sync-groups)
17012 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
17013 (epa-mail-expand-recipients): New functions.
17014 (epa-mail-encrypt): Call epa-mail-expand-recipients.
17015
17016 * mail/rmail.el (rmail-epa-decrypt): New command.
17017
17018 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
17019 Don't bind buffer-read-only, just inhibit-read-only.
17020 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
17021 (epa-decrypt-armor-in-region): Make error message clearer.
17022
17023 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
17024
17025 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
17026 and "a2b" to "ab" for `prefix'.
17027
17028 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
17029
17030 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
17031 filter groups.
17032 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
17033 Fourquet (Bug#8804).
17034
17035 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
17036
17037 * startup.el (argi): Declare as global variable (bug#9275).
17038
17039 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
17040
17041 * subr.el (string-mark-left-to-right): Search the entire string
17042 for RTL script, not just the terminating character. Doc fix.
17043
17044 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
17045
17046 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
17047 New function.
17048 (js--regexp-literal, js-syntax-propertize-function): Remove.
17049 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
17050 (js-mode-map): Don't rebind electric keys.
17051 (js-insert-and-indent): Remove.
17052 (js-mode): Setup electric-layout and electric-indent instead.
17053
17054 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
17055
17056 2011-08-12 Daiki Ueno <ueno@unixuser.org>
17057
17058 * epa.el (epa-progress-callback-function): Fix the logic of
17059 displaying progress.
17060 * epa-file.el (epa-file-insert-file-contents): Make progress
17061 display more user-friendly.
17062 (epa-file-write-region): Ditto.
17063
17064 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
17065
17066 * subr.el (string-mark-left-to-right): New function.
17067
17068 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
17069 Use string-mark-left-to-right.
17070 (list-buffers-noselect): Caller changed.
17071
17072 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
17073 Use string-mark-left-to-right.
17074 (tabulated-list-print): Recenter after moving point.
17075
17076 2011-08-10 Juri Linkov <juri@jurta.org>
17077
17078 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
17079 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
17080 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
17081
17082 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
17083
17084 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
17085 (Bug#7554).
17086
17087 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
17088
17089 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
17090 character. (Bug#6594)
17091
17092 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
17093
17094 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
17095 (image-dired--with-db-file): New macro.
17096 (image-dired-write-tags, image-dired-remove-tag)
17097 (image-dired-create-gallery-lists, image-dired-write-comments)
17098 (image-dired-get-comment, image-dired-mark-tagged-files)
17099 (image-dired-list-tags, image-dired-gallery-generate): Use it.
17100 (image-dired-gallery-generate): Use insert-file-contents.
17101
17102 * time.el (display-time-world-list, display-time-world-display):
17103 * time-stamp.el (time-stamp-string):
17104 * vc/add-log.el (add-change-log-entry): Use setenv instead of
17105 set-time-zone-rule (Bug#7337).
17106
17107 2011-08-08 Daiki Ueno <ueno@unixuser.org>
17108
17109 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
17110 (epg-error-to-string, epg-errors-to-string): New function.
17111 (epg-wait-for-completion): Reverse errors list.
17112 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
17113 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
17114 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
17115 (epg-sign-keys, epg-generate-key-from-file)
17116 (epg-generate-key-from-string): Format errors by using
17117 epg-errors-to-string (bug#9255).
17118 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
17119
17120 2011-08-07 Juri Linkov <juri@jurta.org>
17121
17122 * faces.el (list-faces-display): Remove extra angle bracket
17123 from `help-mode-map'.
17124
17125 * info.el (Info-history-toc-nodes): Doc fix.
17126
17127 * longlines.el (longlines-mode): Doc fix.
17128
17129 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
17130
17131 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
17132 of statements and in a few more cases (bug#9183).
17133
17134 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
17135 New functions.
17136 (cl-transform-lambda): Use them (bug#9239).
17137
17138 2011-08-05 Martin Rudalics <rudalics@gmx.at>
17139
17140 * window.el (display-buffer-same-window)
17141 (display-buffer-same-frame, display-buffer-other-window)
17142 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
17143 (pop-to-buffer-other-window)
17144 (pop-to-buffer-same-frame-other-window)
17145 (pop-to-buffer-other-frame): Make them defuns.
17146 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
17147
17148 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
17149
17150 * subr.el (make-composed-keymap): Move from C. Change calling
17151 convention, and improve docstring to bring attention to a subtle point.
17152 * minibuffer.el (completing-read-default): Adjust accordingly.
17153
17154 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
17155
17156 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
17157 (tramp-open-shell): Use `tramp-shell-quote-argument'.
17158
17159 * net/trampver.el: Update release number.
17160
17161 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
17162
17163 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
17164 "in" (bug#9190).
17165
17166 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17167
17168 * mail/sendmail.el (sendmail-query-once): Restore the current
17169 buffer after querying (bug#9074).
17170
17171 * dired.el (dired-flagged): Use different faces for marked and
17172 flagged files (bug#6117).
17173
17174 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
17175 (bug#4433).
17176
17177 * ido.el (ido-mode): Switch off the message if called
17178 non-interactively.
17179
17180 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
17181 before 587, since it appears that that's more likely to work for
17182 more people.
17183
17184 * cus-edit.el (custom-file): When running under emacs -q, always
17185 refuse to save the customizations, even if the .emacs file doesn't
17186 exist.
17187
17188 * info.el: Remove the `Info-beginning-of-buffer' function
17189 (bug#8325).
17190
17191 * net/network-stream.el (network-stream-open-starttls):
17192 Use `starttls-available-p' to see whether starttls.el can be used.
17193
17194 2011-08-01 Martin Rudalics <rudalics@gmx.at>
17195
17196 * window.el (display-buffer-in-window): Don't set dedicated status
17197 of window here (Bug#9215).
17198 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
17199 (display-buffer-pop-up-side-window)
17200 (display-buffer-in-side-window): Set dedicated status of window here.
17201
17202 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
17203
17204 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
17205 before binding generated-autoload-file.
17206
17207 2011-08-01 Deniz Dogan <deniz@dogan.se>
17208
17209 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
17210
17211 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
17212
17213 Sync with Tramp 2.2.2.
17214
17215 * net/trampver.el: Update release number.
17216
17217 2011-07-30 Juri Linkov <juri@jurta.org>
17218
17219 * dired-aux.el (dired-touch-initial): Remove function.
17220 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
17221 current time, and `default' to the last modification time of the
17222 current marked file (bug#6887).
17223
17224 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
17225
17226 * simple.el (goto-line): Use string-to-number to provide a
17227 numeric argument to read-number (bug#9163).
17228
17229 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
17230
17231 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
17232 connection process, it could be nil.
17233
17234 2011-07-27 Leo Liu <sdl.web@gmail.com>
17235
17236 Simplify url handling in rcirc-mode.
17237
17238 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
17239 (rcirc-browse-url-at-mouse): Remove.
17240 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
17241
17242 2011-07-26 Alan Mackenzie <acm@muc.de>
17243
17244 Fontify bitfield declarations properly.
17245
17246 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
17247 (c-symbol-chars): Now exported as a lang variable.
17248 (c-not-primitive-type-keywords): New lang variable.
17249
17250 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
17251 QT keyword "more" to prevent "more slots: ...." being spuriously
17252 parsed as a bitfield declaration.
17253
17254 * progmodes/cc-engine.el (c-beginning-of-statement-1):
17255 Refactor and enhance to handle bitfield declarations.
17256 (c-punctuation-in): New function.
17257 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
17258 declarations properly.
17259
17260 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
17261
17262 * calendar/icalendar.el (icalendar--all-events): Take care of
17263 multiple vcalendars in a single file.
17264 (icalendar--convert-float-to-ical): Checkdoc fixes.
17265
17266 2011-07-25 Deniz Dogan <deniz@dogan.se>
17267
17268 * image.el (insert-image): Clarifying docstring.
17269
17270 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
17271
17272 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
17273 `tramp-send-command-and-check' if there is no error.
17274 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
17275
17276 2011-07-22 Alan Mackenzie <acm@muc.de>
17277
17278 Prevent cc-langs.elc being loaded at run time.
17279
17280 * progmodes/cc-mode.el: Remove two autoload forms which loaded
17281 cc-langs.
17282
17283 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
17284 "(require 'cc-langs)". Quote a form so it will evaluate at
17285 (cc-mode's) compilation time.
17286
17287 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
17288
17289 * net/tramp.el (tramp-file-name-handler): Avoid recursive
17290 loading. (Bug#9114)
17291
17292 2011-07-21 Martin Rudalics <rudalics@gmx.at>
17293
17294 * window.el (display-buffer-pop-up-window)
17295 (display-buffer-pop-up-side-window)
17296 (display-buffer-in-side-window): Call display-buffer-set-height
17297 and display-buffer-set-width after setting the new window's
17298 buffer so `fit-window-to-buffer' and friends work on the right buffer.
17299
17300 2011-07-20 Sam Steingold <sds@gnu.org>
17301
17302 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
17303 (etags-tags-included-tables): Call `convert-standard-filename' on
17304 the file names contained in TAGS so that windows Emacs can handle
17305 TAGS files created by cygwin ctags.
17306
17307 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
17308
17309 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
17310 which apparently didn't work.
17311
17312 2011-07-19 Roland Winkler <winkler@gnu.org>
17313
17314 * proced.el (proced-send-signal): For *Marked Processes* buffer
17315 put point at beginning of buffer.
17316
17317 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
17318
17319 * proced.el (proced-format): Make header lines align with the text
17320 (bug#1779).
17321
17322 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
17323
17324 * view.el (view-buffer): Allow running in `special' modes if we're
17325 visiting a file (bug#8615).
17326
17327 2011-07-19 Martin Rudalics <rudalics@gmx.at>
17328
17329 * window.el (display-buffer-alist-of-strings-p)
17330 (display-buffer-alist-set-1, display-buffer-alist-set-2):
17331 New functions.
17332 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
17333 more accurately.
17334
17335 2011-07-18 Alan Mackenzie <acm@muc.de>
17336
17337 Fontify declarators properly when, e.g., a jit-lock chunk begins
17338 inside a declaration.
17339
17340 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
17341
17342 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
17343 New function.
17344 (c-complex-decl-matchers): Insert reference to
17345 c-font-lock-enclosing-decls.
17346
17347 * progmodes/cc-engine.el (c-backward-single-comment):
17348 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
17349 to nil around calls to (forward-comment -1).
17350
17351 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
17352
17353 * image.el (put-image): Doc typo fix.
17354
17355 * progmodes/etags.el (tags-search): Doc typo fix.
17356
17357 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
17358 password if we get errors 550 to 554.
17359
17360 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
17361
17362 * net/gnutls.el (gnutls-log-level): Remove.
17363
17364 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
17365 indentation character (bug#6380).
17366
17367 * files.el (buffer-offer-save): Made permanently local (bug#6241).
17368
17369 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
17370 to clarify what the problem is (bug#4291).
17371
17372 * simple.el (current-kill): Clarify what
17373 `interprogram-paste-function' does (bug#7500).
17374 (auto-fill-mode): Document `auto-fill-function' in relation to
17375 `auto-fill-mode' (bug#2470).
17376
17377 2011-07-16 Lawrence Mitchell <wence@gmx.li>
17378
17379 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
17380 method if slot is read-only (bug#9035).
17381
17382 2011-07-16 Martin Rudalics <rudalics@gmx.at>
17383
17384 * frame.el (select-frame-set-input-focus): New argument NORECORD.
17385 * window.el (pop-to-buffer): Select window used even if it was
17386 selected before, see discussion of (Bug#8615), (Bug#6954).
17387 Pass argument NORECORD on to select-frame-set-input-focus.
17388
17389 2011-07-15 Glenn Morris <rgm@gnu.org>
17390
17391 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
17392 Respect help-form.
17393
17394 2011-07-09 Lawrence Mitchell <wence@gmx.li>
17395
17396 * net/gnutls.el (gnutls-min-prime-bits): New variable.
17397 (gnutls-negotiate): Use it.
17398
17399 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
17400
17401 * net/gnutls.el (gnutls-negotiate):
17402 Upcase `gnutls-algorithm-priority'.
17403
17404 2011-07-15 Glenn Morris <rgm@gnu.org>
17405
17406 * jka-compr.el (jka-compr-verbose): Move from here...
17407 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
17408 Add missing :version tag.
17409 * info.el: No need to require jka-compr when compiling.
17410
17411 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
17412
17413 * net/gnutls.el (gnutls-algorithm-priority): New variable.
17414 (gnutls-negotiate): Use it.
17415
17416 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
17417
17418 * info.el (Info-beginning-of-buffer): New command.
17419 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
17420 announcing `b' as the key (bug#8325).
17421 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
17422
17423 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
17424
17425 * international/mule-cmds.el
17426 (describe-specified-language-support): Make the error message
17427 clearer (bug#8905).
17428
17429 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
17430
17431 * isearch.el (isearch-barrier): Add a doc string, since it's
17432 mentioned in a function doc string (bug#8678).
17433
17434 2011-07-15 Martin Rudalics <rudalics@gmx.at>
17435
17436 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
17437 buffer argument (Bug#9083) and self-identifying label argument.
17438
17439 2011-07-15 Glenn Morris <rgm@gnu.org>
17440
17441 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
17442
17443 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
17444
17445 * man.el (Man-fontify-manpage): Fix message when formatting the
17446 man page (bug#7929).
17447
17448 2011-07-14 Eli Zaretskii <eliz@gnu.org>
17449
17450 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
17451 argument LRM; if non-nil, append an invisible LRM character to the
17452 buffer name.
17453 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
17454 last argument non-nil, when formatting buffer names.
17455 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
17456 paragraph direction.
17457
17458 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
17459
17460 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
17461 the man page name (bug#7929).
17462
17463 * image.el (put-image): Mention the `put-image' overlay property
17464 (bug#7834).
17465
17466 * scroll-bar.el (set-scroll-bar-mode): Mention that
17467 `scroll-bar-mode' lists the values (bug#7772).
17468
17469 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
17470 command (bug#7729).
17471
17472 * rect.el (apply-on-rectangle): Return the point after the last
17473 operation.
17474 (string-rectangle): Go to the point after the last operation
17475 (bug#7522).
17476
17477 * printing.el (pr-toggle-region): Clarify the documentation
17478 slightly (bug#7493).
17479
17480 * time.el (display-time-update):
17481 Allow `display-time-mail-function' to return nil (bug#7158).
17482 Fix suggested by Detlev Zundel.
17483
17484 * vc/diff.el (diff): Clarify the order the file names are read
17485 (bug#7111).
17486
17487 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
17488 the doc string (bug#7015).
17489
17490 * font-lock.el (font-lock-maximum-decoration): Mention what
17491 numeric levels mean (bug#6935).
17492
17493 * startup.el (initial-buffer-choice): Don't mention the `none'
17494 selection, which is against policy.
17495
17496 2011-07-14 Martin Rudalics <rudalics@gmx.at>
17497
17498 * window.el (display-buffer-normalize-special):
17499 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
17500
17501 2011-07-14 Eli Zaretskii <eliz@gnu.org>
17502
17503 * subr.el (version<, version<=, version=): Mention "-CVS" and
17504 "-12345" alpha version numbers.
17505
17506 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
17507
17508 * bindings.el: Add advertised binding for set-mark-command
17509 (Bug#5772).
17510
17511 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
17512
17513 * bindings.el (mode-line-other-buffer):
17514 * bookmark.el (bookmark-bmenu-2-window):
17515 * bs.el (bs-cycle-next, bs-cycle-previous):
17516 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
17517 switch-to-buffer.
17518
17519 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
17520 Delete.
17521
17522 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
17523
17524 * follow.el (follow-debug-message, follow-redisplay):
17525 * jka-cmpr-hook.el (with-auto-compression-mode):
17526 Fix typos in docstrings.
17527
17528 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17529
17530 * subr.el (with-silent-modifications): Clarify somewhat what the
17531 macro inhibits (bug#6525).
17532
17533 * simple.el (eval-expression): Note what it does if called
17534 interactively (bug#6495).
17535
17536 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
17537
17538 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
17539 Use pop-to-buffer buffer-or-name if it is nil.
17540
17541 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17542 Remove switch-to-buffer.
17543
17544 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17545
17546 * files.el (make-directory): Clarify that an error will be raised
17547 if there's an error (bug#6397).
17548
17549 * startup.el (initial-buffer-choice): Add `none' as a choice
17550 (bug#6234).
17551
17552 * subr.el (add-hook): Clarify section about buffer-local hooks
17553 (bug#6218).
17554
17555 * dired.el (dired-flagged): Clarify doc string (bug#6117).
17556
17557 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
17558
17559 * tabify.el (untabify): Preserve the current column so that point
17560 doesn't move (bug#6032).
17561
17562 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17563
17564 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
17565 Rewrite to avoid awkward possessive "s" (bug#5986).
17566
17567 2011-07-13 Glenn Morris <rgm@gnu.org>
17568
17569 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
17570 (dired-insert-directory): Give a message the first time
17571 if ls is found not to support --dired.
17572
17573 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17574
17575 * simple.el (toggle-truncate-lines): Clarify what is toggled
17576 (bug#5580). Text by Drew Adams.
17577
17578 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
17579
17580 * simple.el (blink-matching-open): Make the error message from the
17581 last change less verbose.
17582
17583 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
17584
17585 * font-lock.el (font-lock-comment-face): Use the high contrast
17586 "yellow" color for font-lock-comment-face on low color terminals
17587 using a dark background color (bug#4221).
17588
17589 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17590
17591 * dired.el (dired-insert-set-properties): Make the doc string
17592 reflect what it does now (bug#5325).
17593
17594 * simple.el (blink-matching-open): Say that we were unable to find
17595 the match within the limit, if we're limited (bug#5122).
17596
17597 * international/mule-cmds.el (prefer-coding-system): Add an
17598 example (bug#4869).
17599
17600 * progmodes/etags.el (tags-search): Document `file-list-form'
17601 (bug#4731).
17602
17603 2011-07-13 Lawrence Mitchell <wence@gmx.li>
17604
17605 * net/browse-url.el (browse-url-default-browser)
17606 (browse-url-browser-function): Make the default browser choice a
17607 bit more logical (bug#4300). Also clean up the doc string.
17608
17609 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
17610
17611 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
17612 binary endings (bug#4440).
17613
17614 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17615
17616 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
17617 which can be pretty annoying (bug#8971).
17618
17619 * jka-compr.el (jka-compr-verbose): New variable, and use
17620 throughout (bug#8971).
17621
17622 * info.el (Info-find-file): Fall back on the installation
17623 directory if we can't find the info node anywhere else.
17624
17625 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
17626
17627 * vc/vc.el (vc-revert-file):
17628 Don't set file time-stamp in the past. (Bug#5181)
17629
17630 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
17631
17632 * files.el (after-find-file): Give a better error message when
17633 trying to find a symlink that points to a file that doesn't exist
17634 (bug#4398).
17635
17636 * progmodes/cc-vars.el: Remove (probably) misleading comment
17637 (bug#4396).
17638
17639 2011-07-12 Johan Bockgård <bojohan@gnu.org>
17640
17641 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
17642
17643 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
17644
17645 * mouse-sel.el: Hack restoring functionality, while keeping
17646 compatibility with 2010-07-03 changes to mouse selection.
17647 (mouse-sel-primary-overlay): New var.
17648 (mouse-sel-selection-alist): Use it.
17649 (mouse-sel-mode): Doc fix; remove points that are default features
17650 of mouse.el.
17651
17652 2011-07-12 Johan Bockgård <bojohan@gnu.org>
17653
17654 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17655 Fix previous fix (bug#2490).
17656
17657 2011-07-12 Roland Winkler <winkler@gnu.org>
17658
17659 * textmodes/bibtex.el (bibtex-initialize):
17660 Use pop-to-buffer-same-window.
17661 (bibtex-search-entries): Fix interactive call.
17662
17663 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
17664
17665 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17666 Fontise bytecomp Error lines more correctly (bug#2490).
17667 Fix suggested by Johan Bockgård.
17668
17669 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
17670
17671 * dired-x.el (dired-guess-default): Use `delete-dups'.
17672
17673 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
17674
17675 * dired.el (dired-mark-prompt):
17676 * dired-aux.el (dired-read-shell-command): Doc fix.
17677
17678 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17679
17680 * mail/sendmail.el (sendmail-query-once):
17681 Use `customize-save-variable' unconditionally, now that it works under
17682 emacs -Q.
17683
17684 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
17685
17686 * cus-edit.el (custom-file): Take an optional no-error variable.
17687 (customize-save-variable): Set the variable, and give a warning if
17688 running under "emacs -q".
17689
17690 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
17691
17692 * loadhist.el (unload-feature-special-hooks):
17693 Add `auto-coding-functions', `fill-nobreak-predicate' and
17694 `find-directory-functions' (bug#5327).
17695
17696 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17697
17698 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
17699
17700 * cus-edit.el (custom-guess-name-alist): -alist variables should
17701 use the `alist' type (bug#3120). Suggested by Drew Adams.
17702
17703 * printing.el: Add documentation to all the `pr-toggle-' commands.
17704
17705 2011-07-11 Leo Liu <sdl.web@gmail.com>
17706
17707 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
17708 backends where it makes sense (bug#2623).
17709
17710 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17711
17712 * dired-x.el (dired-guess-default): Remove duplicate shell command
17713 entries (bug#2028).
17714 (dired-guess-default): Fix grammar in doc string (bug#2028).
17715 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
17716
17717 * subr.el (remove-duplicates): New conveniency function.
17718
17719 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
17720
17721 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
17722 (bug#1526).
17723
17724 2011-07-10 Martin Rudalics <rudalics@gmx.at>
17725
17726 * window.el (display-buffer-normalize-default): Don't invert
17727 meaning of even-window-heights. Reported by Eli Zaretskii
17728 <eliz@gnu.org>.
17729
17730 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
17731
17732 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
17733
17734 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
17735
17736 * window.el (display-buffer): Fix arguments to
17737 display-buffer-reuse-window in last change.
17738
17739 * faces.el (link): Use a less saturated blue on light backgrounds.
17740
17741 * startup.el (fancy-startup-text, fancy-about-text)
17742 (fancy-startup-tail): Use font-lock faces, for background safety.
17743
17744 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
17745
17746 * emulation/viper-cmd.el (viper-change-state-to-vi):
17747 Limit triggering of abbrev expansion (Bug#9038).
17748
17749 2011-07-09 Martin Rudalics <rudalics@gmx.at>
17750
17751 * window.el (display-buffer-default-specifiers): Remove.
17752 (display-buffer-macro-specifiers): Remove default specifiers.
17753 (display-buffer-alist): Default to nil.
17754 (display-buffer-reuse-window): New optional argument other-window.
17755 (display-buffer-pop-up-window): Allow splitting internal
17756 windows. Check whether a live window was created.
17757 (display-buffer-other-window-means-other-frame)
17758 (display-buffer-normalize-arguments): Rename to
17759 display-buffer-normalize-argument and rewrite. Set the
17760 other-window specifier.
17761 (display-buffer-normalize-special): New function.
17762 (display-buffer-normalize-options): Rename to
17763 display-buffer-normalize-default and rewrite.
17764 (display-buffer-normalize-options-inhibit): Remove.
17765 (display-buffer-normalize-specifiers): Rewrite.
17766 (display-buffer): Process other-window specifier and call
17767 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
17768 more faithfully.
17769 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
17770 (display-buffer-alist-set): Don't handle 'unset default values.
17771 (display-buffer-in-window, display-buffer-alist-set):
17772 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
17773 <tassilo@member.fsf.org>.
17774
17775 2011-07-09 Leo Liu <sdl.web@gmail.com>
17776
17777 * register.el (insert-register): Restore accidental change on
17778 2011-06-26. (Bug#9028)
17779
17780 2011-07-09 Glenn Morris <rgm@gnu.org>
17781
17782 * subr.el (remq): Handle the empty list. (Bug#9024)
17783
17784 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
17785
17786 * mail/sendmail.el (send-mail-function): No longer delay custom
17787 initialization.
17788 * custom.el (custom-initialize-delay): Doc fix.
17789
17790 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
17791
17792 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
17793
17794 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
17795
17796 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
17797 human-friendly prompt.
17798
17799 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
17800
17801 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
17802 provided by a particular plugin.
17803
17804 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
17805
17806 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
17807 save customizations (with "emacs -Q"), just set the variable
17808 instead of erroring out.
17809
17810 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
17811
17812 2011-07-08 Juri Linkov <juri@jurta.org>
17813
17814 * arc-mode.el (archive-zip-expunge, archive-zip-update)
17815 (archive-zip-update-case): Use 7z if found by `executable-find'.
17816 The order of searching the available programs is the same as in
17817 `archive-zip-extract' (bug#8968).
17818
17819 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
17820
17821 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
17822 (menu-bar-options-menu): Tweak descriptions.
17823
17824 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
17825
17826 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
17827 menu items into verb phrases (bug#1421). Also refill to fit under
17828 80 columns.
17829
17830 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
17831
17832 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
17833 (Info-read-node-name): Doc fix (Bug#1084).
17834
17835 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
17836 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
17837 (end-of-sexp, beginning-of-sexp)
17838 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
17839 (forward-symbol, forward-same-syntax, word-at-point)
17840 (sentence-at-point): Doc fix (Bug#1144).
17841
17842 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
17843
17844 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
17845 should cover it (bug#1281).
17846
17847 * cus-edit.el (custom-show): Mark as obsolete.
17848
17849 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
17850 negotiation fails, then possibly try again with a non-encrypted
17851 connection (bug#9017).
17852
17853 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
17854 be used.
17855
17856 2011-07-07 Richard Stallman <rms@gnu.org>
17857
17858 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
17859 property, and handle its changed format.
17860 Look for the correct line number.
17861 Use file's line contents (but not past first =) to find
17862 correct line in message.
17863
17864 2011-07-07 Kenichi Handa <handa@m17n.org>
17865
17866 * international/characters.el (build-unicode-category-table):
17867 Delete it.
17868 (unicode-category-table): Set it by unicode-property-table-internal.
17869
17870 * international/mule-cmds.el (char-code-property-alist): Move to
17871 to src/chartab.c.
17872 (get-char-code-property): Call unicode-property-table-internal to
17873 load a file. Call get-unicode-property-internal where necessary.
17874 (put-char-code-property): Call unicode-property-table-internal to
17875 load a file. Call put-unicode-property-internal where necessary.
17876 put-unicode-property-internal where necessary.
17877 (char-code-property-description):
17878 Call unicode-property-table-internal to load a file.
17879
17880 * international/charprop.el:
17881 * international/uni-bidi.el:
17882 * international/uni-category.el:
17883 * international/uni-combining.el:
17884 * international/uni-comment.el:
17885 * international/uni-decimal.el:
17886 * international/uni-decomposition.el:
17887 * international/uni-digit.el:
17888 * international/uni-lowercase.el:
17889 * international/uni-mirrored.el:
17890 * international/uni-name.el:
17891 * international/uni-numeric.el:
17892 * international/uni-old-name.el:
17893 * international/uni-titlecase.el:
17894 * international/uni-uppercase.el: Regenerate.
17895
17896 * loadup.el: Load international/charprop.el before
17897 international/characters.
17898
17899 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
17900
17901 * window.el (next-buffer, previous-buffer): Signal an error if
17902 called from a minibuffer window.
17903
17904 * bindings.el: Revert 2011-07-04 change.
17905
17906 2011-07-06 Richard Stallman <rms@gnu.org>
17907
17908 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
17909 (rmail-mime-insert-bulk, rmail-mime-insert-text):
17910 Treat markers like ints.
17911 (rmail-mime-entity): Doc fix.
17912
17913 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
17914
17915 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
17916 defcustom again for backwards compatibility.
17917
17918 * simple.el (shell-command-on-region): Fill.
17919
17920 * dired-aux.el (dired-kill-line): Add a doc string.
17921
17922 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
17923 to "\\sw\\|\\s_" (bug#358).
17924
17925 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
17926 (dired-unmark-backward): Ditto.
17927 (dired-flag-backup-files): Ditto.
17928
17929 * dired-x.el (dired-mark-sexp): Ditto.
17930
17931 2011-07-06 Richard Stallman <rms@gnu.org>
17932
17933 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
17934 (rmail-mime-entity): New arg TRUNCATED.
17935 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
17936 New functions.
17937 (rmail-mime-save): Warn if entity is truncated.
17938 (rmail-mime-toggle-hidden): Likewise, for showing.
17939 (rmail-mime-process-multipart): Record when an entity is truncated.
17940
17941 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
17942 if ENTITY is a string.
17943
17944 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
17945
17946 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
17947 of faces when `M-C-x'-ing their definitions (bug#8378).
17948 Also clean up the code slightly.
17949
17950 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
17951 because that makes the colors go away.
17952
17953 * mail/sendmail.el (send-mail-function): Change the default to
17954 `sendmail-query-once'.
17955 (sendmail-query-once): Add an autoload cookie.
17956
17957 * net/network-stream.el (network-stream-open-starttls): Try using
17958 a plain connection even if the server offered STARTTLS, and we
17959 kinda wanted to use it, if Emacs doesn't have any STARTTLS
17960 capability. This should make smtpmail.el work in slightly more
17961 configurations.
17962
17963 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
17964
17965 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
17966 New defun.
17967 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
17968
17969 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
17970
17971 * progmodes/sql.el: Version 3.0
17972 (sql-product-alist): Add product :completion-object,
17973 :completion-column, and :statement attributes.
17974 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
17975 (sql-mode-syntax-table): Mark all punctuation.
17976 (sql-font-lock-keywords-builder): Temporarily remove fallback on
17977 ansi keywords.
17978 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
17979 (sql-mode-oracle-font-lock-keywords): Improve.
17980 (sql-oracle-show-reserved-words): New function for development.
17981 (sql-product-font-lock): Simplify for source code buffers.
17982 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
17983 New functions.
17984 (sql-highlight-product): Set product specific syntax table.
17985 (sql-mode-map): Add statement movement functions.
17986 (sql-ansi-statement-starters, sql-oracle-statement-starters):
17987 New variable.
17988 (sql-statement-regexp, sql-beginning-of-statement)
17989 (sql-end-of-statement, sql-signum): New functions.
17990 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
17991 (sql-show-sqli-buffer): Bug fix.
17992 (sql-interactive-mode): Store connection data as buffer local.
17993 (sql-connect): Add NEW-NAME parameter. Redesign interaction
17994 with sql-interactive-mode.
17995 (sql-save-connection): Save buffer local settings.
17996 (sql-connection-menu-filter): Change menu entry name.
17997 (sql-product-interactive): Bug fix.
17998 (sql-preoutput-hold): New variable.
17999 (sql-interactive-remove-continuation-prompt): Bug fixes.
18000 (sql-debug-redirect): New variable.
18001 (sql-str-literal): New function.
18002 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
18003 Redesign.
18004 (sql-oracle-save-settings, sql-oracle-restore-settings)
18005 (sql-oracle-list-all, sql-oracle-list-table): New functions.
18006 (sql-completion-object, sql-completion-column)
18007 (sql-completion-sqlbuf): New variables.
18008 (sql-build-completions-1, sql-build-completions)
18009 (sql-try-completion): New functions.
18010 (sql-read-table-name): Use them.
18011 (sql-contains-names): New buffer local variable.
18012 (sql-list-all, sql-list-table): Use it.
18013 (sql-oracle-completion-types): New variable.
18014 (sql-oracle-completion-object, sql-sqlite-completion-object)
18015 (sql-postgres-completion-object): New functions.
18016
18017 2011-07-06 Glenn Morris <rgm@gnu.org>
18018
18019 * window.el (pop-to-buffer): Doc fix.
18020
18021 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
18022
18023 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
18024
18025 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
18026
18027 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
18028
18029 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
18030
18031 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
18032
18033 * button.el (button): Inherit from link face. Suggested by Dan
18034 Nicolaescu.
18035
18036 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
18037
18038 * progmodes/gdb-mi.el: Fit in 80 columns.
18039 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
18040 switch-to-buffer.
18041
18042 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
18043 if imenu is simply not configured (bug#8941).
18044
18045 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
18046
18047 * allout.el (allout-post-undo-hook): New allout outline-change
18048 event hook to signal undo activity.
18049 (allout-post-command-business): Run allout-post-undo-hook if an
18050 undo just occurred.
18051 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
18052 * allout-widgets.el (allout-widgets-after-undo-function):
18053 Ensure the integrity of the current item's decoration after it has been
18054 in the vicinity of an undo.
18055 (allout-widgets-mode): Include allout-widgets-after-undo-function
18056 on the new allout-post-undo-hook.
18057
18058 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
18059
18060 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
18061 Let define-derived-mode define it.
18062 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
18063 cycles of abbrev-table inheritance (bug#8998).
18064
18065 2011-07-05 Roland Winkler <winkler@gnu.org>
18066
18067 * textmodes/bibtex.el: Add support for biblatex.
18068 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
18069 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
18070 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
18071 (bibtex-entry-alist, bibtex-field-alist): New variables.
18072 (bibtex-entry-field-alist): Obsolete alias for
18073 bibtex-BibTeX-entry-alist.
18074 (bibtex-entry-alist, bibtex-field-alist): New widgets.
18075 (bibtex-set-dialect): New command.
18076 (bibtex-entry-type, bibtex-entry-head)
18077 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
18078 Bind via bibtex-set-dialect.
18079 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
18080 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
18081 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
18082 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
18083 Define via bibtex-set-dialect.
18084 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
18085 Obey bibtex-no-opt-remove-re.
18086 (bibtex-vec-push, bibtex-vec-incr): New functions.
18087 (bibtex-format-entry, bibtex-field-list)
18088 (bibtex-print-help-message, bibtex-validate)
18089 (bibtex-search-entries): Use new format of bibtex-entry-alist.
18090
18091 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
18092
18093 * progmodes/compile.el (compilation-goto-locus):
18094 * net/tramp-cmds.el (tramp-append-tramp-buffers):
18095 * bs.el (bs-cycle-next, bs-cycle-previous):
18096 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
18097 * bindings.el (mode-line-other-buffer):
18098 * autoinsert.el (auto-insert):
18099 * arc-mode.el (archive-extract):
18100 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
18101
18102 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
18103
18104 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
18105 Fix check of `emacs-lock-unlockable-modes'.
18106 Coerce true values of `emacs-lock--try-unlocking' to t.
18107
18108 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
18109
18110 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
18111 * emacs-lock.el: New file.
18112
18113 2011-07-05 Julien Danjou <julien@danjou.info>
18114
18115 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
18116 than `boundp' to check if face is set.
18117
18118 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
18119
18120 * register.el (registerv-make):
18121 * window.el (window-min-height): Fix typos in docstrings.
18122
18123 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
18124
18125 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
18126 Update doc string.
18127
18128 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
18129
18130 * server.el (server-execute): Catch quit and call
18131 `server-return-error' to pass the error back to emacsclient and
18132 close the connection (bug#8942).
18133
18134 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
18135
18136 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
18137 insecure exception for current topic. Also note that auto-saves
18138 are handled differently.
18139
18140 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
18141 State variables for tracking auto-save inhibition situation.
18142
18143 (allout-write-contents-hook-handler): Rename from
18144 'allout-write-file-hook-handler', and describe how it depends on
18145 write-contents-functions sensitivity to non-nil value to prevent
18146 file write.
18147
18148 (allout-auto-save-hook-handler): Remove. auto-save does not check
18149 this in individual buffers, only in the starting buffer, so this
18150 is not the right way for us to inhibit auto-save in a buffer
18151 according to its condition.
18152
18153 (allout-mode): Use new allout-write-contents-hook-handler, and
18154 only with write-contents-functions. Remove auto-save provisions -
18155 they're implemented elsewhere.
18156
18157 (allout-before-change-handler): If undo is in progress, note that
18158 for attention of allout-post-command-business.
18159
18160 (allout-post-command-business): If the command we're following was
18161 an undo, check for change in the status of encrypted items and
18162 adjust auto-save inhibitions accordingly.
18163
18164 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
18165 according to whether there are or aren't any plain-text topics
18166 pending encryption.
18167
18168 (allout-inhibit-auto-save-info-for-decryption):
18169 Adjust buffer-saved-size and some allout state to inhibit auto-saves
18170 if there are plain-text topics pending encryption.
18171
18172 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
18173 buffer-saved-size and some allout state to not inhibit auto-saves
18174 if there are no longer any plain-text topics pending encryption.
18175
18176 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
18177 No longer provide for exemption of the current topic.
18178
18179 2011-07-04 Juri Linkov <juri@jurta.org>
18180
18181 Add 7z operations to delete and save changed members (bug#8968).
18182 * arc-mode.el (archive-7z-expunge, archive-7z-update):
18183 New defcustoms.
18184 (archive-7z-write-file-member): New function.
18185 (archive-7z-summarize): Fix the number of dashes in the
18186 listing output.
18187
18188 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
18189
18190 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
18191 (bug#8958).
18192
18193 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
18194
18195 * bindings.el: Ignore next-buffer and previous-buffer in
18196 minibuffer-local-map.
18197
18198 * font-lock.el (font-lock-builtin-face): Change light background
18199 color to dark slate blue (Bug#6693).
18200
18201 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
18202
18203 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
18204
18205 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
18206
18207 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
18208 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18209 Add switch-to-buffer.
18210
18211 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
18212
18213 * isearch.el (isearch-search-fun-function): Clarify further the
18214 meaning of the function returned.
18215
18216 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
18217
18218 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
18219
18220 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
18221 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
18222 Use it.
18223 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
18224 `tramp-default-remote-path' does not exist.
18225 (tramp-send-command-and-read): New optional argument NOERROR.
18226 (tramp-open-connection-setup-interactive-shell)
18227 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
18228 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
18229 (tramp-process-sentinel): Flush also process' connection property.
18230 (tramp-sh-handle-start-file-process): Do not set process
18231 sentinel. It is done now ...
18232 (tramp-maybe-open-connection): ... here. (Bug#8929)
18233
18234 2011-07-04 MON KEY <monkey@sandpframing.com>
18235
18236 * play/animate.el (animate-string): Doc fixes and allow changing
18237 the buffer name (bug#5417).
18238
18239 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
18240
18241 * play/animate.el (animation-buffer-name): Rename from *animate*.
18242
18243 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
18244
18245 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
18246 This is simpler and helps future-proof the code.
18247 (timer-until): Use time-subtract and float-time.
18248 (timer--time-less-p): Use time-less-p.
18249
18250 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
18251
18252 * type-break.el (timep): Use the value of `float-time' to avoid a
18253 byte-compiler warning.
18254
18255 * server.el (server-eval-and-print): Return any result, even nil.
18256
18257 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
18258
18259 * type-break.el: Accept time formats that the builtins accept.
18260 (timep, type-break-time-difference): Accept any format that
18261 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
18262 This is simpler and helps future-proof the code.
18263 (type-break-time-difference): Round rather than ignoring
18264 subseconds components.
18265
18266 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18267
18268 * info.el (Info-apropos-matches): Make non-interactive, since it
18269 doesn't seem to do anything useful as a command (bug#8829).
18270
18271 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
18272
18273 * frame.el (frame-background-mode, frame-set-background-mode):
18274 Move from faces.el.
18275 (frame-default-terminal-background): New function.
18276
18277 * custom.el (custom-push-theme): Don't record faces in `changed'
18278 theme; this doesn't work correctly for per-frame face settings.
18279 (disable-theme): Use face-set-after-frame-default to reset faces.
18280 (custom--frame-color-default): New function.
18281
18282 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18283
18284 * dired.el (dired-flagging-regexp): Remove unused variable
18285 (bug#8769).
18286
18287 2011-03-29 Kevin Ryde <user42@zip.com.au>
18288
18289 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18290 `perl-Test2' extend to match possible "fail #N" rep count
18291 (bug#8377).
18292
18293 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18294
18295 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
18296 `smtpmail-via-smtp' now returns the error instead of nil.
18297
18298 * isearch.el (isearch-search-fun-function): Clarify the doc string
18299 (bug#8101).
18300
18301 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
18302
18303 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
18304 unnecessary spaces (bug#8987).
18305
18306 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18307
18308 * net/network-stream.el (open-network-stream): Use the
18309 :end-of-capability command thoughout.
18310
18311 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
18312
18313 * net/network-stream.el (open-network-stream): Add the
18314 :end-of-capability command parameter, used by pop3.el.
18315
18316 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18317
18318 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
18319
18320 * fringe.el (fringe-query-style): Remove redundant text " (type ?
18321 for list)" (bug#6475).
18322
18323 * files.el (file-expand-wildcards): Ignore non-readable
18324 sub-directories while trying to find matches instead of signaling
18325 an error (bug#6297).
18326
18327 * man.el (Man-reference-regexp): Allow matching possible
18328 word-wrapped references (bug#6289).
18329
18330 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
18331 for consistency with the other vc buffers (bug#6197).
18332 (vc-checkin): Ditto.
18333
18334 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
18335
18336 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
18337
18338 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18339
18340 * custom.el (defcustom): Clarify that :set is only used in the
18341 Customize user interface (bug#6089).
18342
18343 * progmodes/flymake.el (flymake-mode): If the buffer isn't
18344 associated with a file, refuse to run instead of erroring out
18345 (bug#6084).
18346
18347 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
18348 the doc string, since it appears that using `fill-column' always
18349 controls the width (bug#7845).
18350
18351 * simple.el (shell-command-on-region): Say where the error output
18352 went if `shell-command-default-error-buffer' is set (bug#6857).
18353
18354 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
18355
18356 * allout.el (allout-yank-processing): Adjust cursor position for
18357 backwards-deleted space.
18358
18359 (allout-rebullet-heading): Register changes with
18360 allout-exposure-changed-hook, so the modified topic is properly
18361 decorated.
18362
18363 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18364
18365 * minibuffer.el (completion-in-region): Document PREDICATE
18366 (bug#7136).
18367
18368 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
18369 of keyword/argument pairs (bug#6904).
18370
18371 * replace.el (multi-occur):
18372 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
18373
18374 2011-07-02 Drew Adams <drew.adams@oracle.com>
18375
18376 * dired.el (dired-mark-if): Make the message about whether it's
18377 marking or unmarking clearer (bug#8523).
18378
18379 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18380
18381 * disp-table.el (display-table-print-array): New function.
18382 (describe-display-table): Use it to print the vectors more pretty
18383 (Bug#8859).
18384
18385 2011-07-02 Martin Rudalics <rudalics@gmx.at>
18386
18387 * window.el (window-state-get-1): Don't assign clone numbers.
18388 Add clone-of item to list of window parameters.
18389 (window-state-put-2): Don't process clone numbers.
18390 (display-buffer-alist): Fix doc-string.
18391
18392 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
18393
18394 * subr.el (remq): Don't allocate if it's not needed.
18395 (keymap--menu-item-binding, keymap--menu-item-with-binding)
18396 (keymap--merge-bindings): New functions.
18397 (keymap-canonicalize): Use them to refine the canonicalization.
18398 * minibuffer.el (minibuffer-local-completion-map)
18399 (minibuffer-local-must-match-map): Move initialization from C.
18400 (minibuffer-local-filename-completion-map): Move initialization from C;
18401 don't inherit from anything here.
18402 (minibuffer-local-filename-must-match-map): Make obsolete.
18403 (completing-read-default): Use make-composed-keymap to combine
18404 minibuffer-local-filename-completion-map with either
18405 minibuffer-local-must-match-map or
18406 minibuffer-local-filename-completion-map.
18407
18408 2011-07-01 Glenn Morris <rgm@gnu.org>
18409
18410 * type-break.el (type-break-time-sum): Use dolist.
18411
18412 * textmodes/flyspell.el (flyspell-word-search-backward):
18413 Replace CL function.
18414
18415 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
18416
18417 * mouse.el (mouse--strip-first-event): New function.
18418 (function-key-map): Use it to map fringe clicks to normal clicks
18419 by default.
18420
18421 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
18422 (vc-bzr-revision-completion-table): Add support for annotate and date.
18423
18424 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
18425 inherit from parent.
18426
18427 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
18428
18429 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
18430 (dired-show-file-type): Doc fixup (bug#8818).
18431
18432 * dired.el (dired-mode): Fix up the doc string as suggested by
18433 Drew Adams (bug#8817).
18434
18435 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
18436 cookie, since the manual says that it should be possible to add
18437 this function to `find-file-hook' (bug#8709).
18438
18439 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
18440
18441 * progmodes/cfengine.el: Moved all cfengine3.el functionality
18442 here. Noted Ted Zlatanov as the maintainer.
18443 (cfengine-common-settings, cfengine-common-syntax): New functions
18444 to set up common things between `cfengine-mode' and
18445 `cfengine3-mode'.
18446 (cfengine3-mode): New mode.
18447 (cfengine3-defuns cfengine3-defuns-regex
18448 (cfengine3-class-selector-regex cfengine3-category-regex)
18449 (cfengine3-vartypes cfengine3-font-lock-keywords)
18450 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
18451 (cfengine3-indent-line): Add from cfengine3.el.
18452
18453 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
18454
18455 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
18456
18457 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
18458
18459 2011-07-01 Martin Rudalics <rudalics@gmx.at>
18460
18461 * window.el (same-window-buffer-names, same-window-regexps)
18462 (same-window-p, special-display-frame-alist)
18463 (special-display-popup-frame, special-display-function)
18464 (special-display-buffer-names, special-display-regexps)
18465 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
18466 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18467 (split-window-preferred-function, split-height-threshold)
18468 (split-width-threshold, even-window-heights)
18469 (display-buffer-mark-dedicated, window-splittable-p)
18470 (split-window-sensibly, window-safely-shrinkable-p):
18471 Un-obsolete.
18472 (display-buffer): Don't spread args with function specifier
18473 because special-display-popup-frame won't like it.
18474
18475 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
18476
18477 Time-stamp simplifications and fixes.
18478 These improve accuracy slightly, and future-proof the code
18479 against some potential changes to current-time format.
18480
18481 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
18482 by using time-since and float-time.
18483
18484 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
18485 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
18486 + NNN microseconds".
18487
18488 * type-break.el (type-break-time-sum): Rewrite using time-add.
18489
18490 * play/hanoi.el (hanoi-current-time-float): Remove.
18491 All uses replaced by float-time.
18492
18493 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
18494 This yields a more-accurate answer.
18495 (rng-time-to-float): Remove; no longer needed.
18496
18497 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
18498
18499 * calendar/timeclock.el (timeclock-seconds-to-time):
18500 Defalias to seconds-to-time, since they're the same thing.
18501
18502 * emacs-lisp/elp.el (elp-elapsed-time):
18503 * emacs-lisp/benchmark.el (benchmark-elapse):
18504 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
18505
18506 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
18507
18508 * window.el (bury-buffer): Don't iconify the only frame.
18509 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
18510 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
18511
18512 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
18513
18514 * eshell/em-smart.el (eshell-smart-display-navigate-list):
18515 Add mouse-yank-primary.
18516
18517 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
18518
18519 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
18520
18521 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
18522
18523 * emacs-lisp/find-func.el (find-library--load-name): New fun.
18524 (find-library-name): Use it to find relative load names when provided
18525 absolute file name (bug#8803).
18526
18527 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
18528
18529 * textmodes/flyspell.el (flyspell-word): Consider words that
18530 differ only in case as potential doublons (bug#5687).
18531
18532 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
18533 Remove two rather uninteresting debugging-like messages to make
18534 debbugs.el more silent.
18535
18536 * comint.el (comint-password-prompt-regexp): Accept "Response" as
18537 a password-like phrase.
18538
18539 2011-06-30 Masatake YAMATO <yamato@redhat.com>
18540
18541 * progmodes/cc-guess.el: New file.
18542
18543 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
18544
18545 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
18546 derived from `c-basic-common-init'.
18547
18548 * progmodes/cc-mode.el (top-level): Require cc-guess.
18549 (c-basic-common-init): Use `cc-choose-style-for-mode'.
18550
18551 2011-06-30 Lawrence Mitchell <wence@gmx.li>
18552
18553 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
18554
18555 2011-06-30 Alan Mackenzie <acm@muc.de>
18556
18557 * progmodes/cc-engine.el (c-guess-continued-construct):
18558 Correct the handling of template-args-cont, particularly for when font
18559 lock is disabled. Name this case as "CASE G".
18560
18561 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
18562
18563 * allout.el (allout-yank-processing): Fix injection of extra space
18564 between bullet and non-whitespace character in first topic when
18565 pasting, ensuring that the actual spacing in the pasted topic
18566 following the bullet char is preserved. This extra space was
18567 causing pasted encrypted topics to get a decrypted status even
18568 when the content was actually still encrypted. Now the decryption
18569 status from before the paste is preserved.
18570
18571 (allout-flag-region): Set all allout overlays so they evaporate
18572 when reduced to zero length (evanescent), to prevent overlay
18573 leakage.
18574
18575 2011-06-30 Glenn Morris <rgm@gnu.org>
18576
18577 * w32-fns.el (w32-charset-info-alist): Declare.
18578
18579 * find-dired.el (find-grep-options): Simplify.
18580
18581 * term/ns-win.el (ns-set-resource): Declare.
18582
18583 * ses.el (row, col): Declare dynamic variables honestly.
18584
18585 * textmodes/reftex-parse.el (index-tags): Declare.
18586
18587 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
18588
18589 * cus-edit.el (customize-push-and-save): New function.
18590
18591 * files.el (hack-local-variables-confirm): Use it.
18592
18593 * custom.el (load-theme): New arg NO-CONFIRM.
18594 Use customize-push-and-save (Bug#8720).
18595 (custom-enabled-themes): Doc fix.
18596
18597 * cus-theme.el (customize-create-theme)
18598 (custom-theme-merge-theme): Callers to load-theme changed.
18599
18600 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
18601
18602 * thingatpt.el (thing-at-point-short-url-regexp): Require that
18603 short URLs have at least one dot in them (bug #7614).
18604
18605 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
18606 nil, because using a pty is apparently too slow (bug #895).
18607
18608 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
18609
18610 * mail/sendmail.el (sendmail-query-once): New function.
18611 (sendmail-query-once-function): New variable.
18612
18613 2011-06-29 Glenn Morris <rgm@gnu.org>
18614
18615 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
18616
18617 * ses.el (top-level): Require cl when compiling.
18618 (ses-set-localvars): Fix error statement.
18619 Call it at compile time to silence a storm of warnings.
18620
18621 2011-06-29 Martin Rudalics <rudalics@gmx.at>
18622
18623 * window.el (normalize-live-buffer): Rename to
18624 window-normalize-buffer.
18625 (normalize-live-frame): Rename to window-normalize-frame.
18626 (normalize-any-window): Rename to window-normalize-any-window.
18627 (normalize-live-window): Rename to window-normalize-live-window.
18628 (make-window-atom): Rename to window-make-atom.
18629 (window-resize-reset): Rename to window--resize-reset.
18630 (window-resize-reset-1): Rename to window--resize-reset-1.
18631 (resize-mini-window): Rename to window--resize-mini-window.
18632 (resize-subwindows-skip-p): Rename to
18633 window--resize-subwindows-skip-p.
18634 (resize-subwindows-normal): Rename to
18635 window--resize-subwindows-normal.
18636 (resize-subwindows): Rename to window--resize-subwindows.
18637 (resize-other-windows): Rename to window--resize-siblings.
18638 (resize-this-window): Rename to window--resize-this-window.
18639 (resize-root-window): Rename to window--resize-root-window.
18640 (resize-root-window-vertically): Rename to
18641 window--resize-root-window-vertically.
18642 (normalize-buffer-to-display): Rename to
18643 window-normalize-buffer-to-display.
18644 (normalize-buffer-to-switch-to): Rename to
18645 window-normalize-buffer-to-switch-to.
18646 Correspondingly update all callers of the functions listed
18647 above.
18648 (display-buffer-alist, display-buffer-normalize-arguments)
18649 (display-buffer-normalize-options, display-buffer)
18650 (display-buffer-alist-set): Use "function" instead of
18651 "fun-with-args".
18652
18653 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
18654
18655 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
18656 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
18657 debbugs.gnu.org. Mention acknowledgment email.
18658
18659 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
18660
18661 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
18662 buffer multibyteness, since it shouldn't matter.
18663
18664 2011-06-28 Martin Rudalics <rudalics@gmx.at>
18665
18666 * window.el (display-buffer-in-side-window): Handle dedicated
18667 windows as in display-buffer-reuse-window.
18668 (display-buffer-normalize-alist): Use value of override
18669 specifier.
18670 (display-buffer-normalize-specifiers): Use value of
18671 other-window-means-other-frame specifier.
18672 (display-buffer-alist): Rewrite some texts in widgets.
18673 (display-buffer): Spread arguments when calling function
18674 specified by fun-with-args.
18675
18676 2011-06-28 Deniz Dogan <deniz@dogan.se>
18677
18678 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
18679 Unnest `let'.
18680
18681 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
18682 selectors (Bug#5732).
18683 (css-proprietary-nmstart-re): Use `regexp-opt'.
18684
18685 2011-06-27 Jari Aalto <jari.aalto@cante.net>
18686
18687 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
18688 (eshell-ls-date-format): New defcustom.
18689 (eshell-ls-file): Use it.
18690
18691 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
18692
18693 * help-fns.el (describe-variable): Fix message for terminal-local vars.
18694
18695 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
18696
18697 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
18698 (ange-ftp-make-tmp-name): New arg.
18699 (ange-ftp-file-local-copy): Use it.
18700
18701 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
18702
18703 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
18704 no-conversion (Bug#8870).
18705
18706 2011-06-27 Martin Rudalics <rudalics@gmx.at>
18707
18708 * window.el (window-right, window-left, window-child)
18709 (window-child-count, window-last-child)
18710 (window-iso-combination-p, walk-window-tree-1)
18711 (window-atom-check-1, window-tree-1, delete-window)
18712 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
18713 new naming conventions - window-vchild, window-hchild,
18714 window-next and window-prev are now called window-top-child,
18715 window-left-child, window-next-sibling and window-prev-sibling
18716 respectively.
18717 (resize-window-reset): Rename to window-resize-reset.
18718 (resize-window-reset-1): Rename to window-resize-reset-1.
18719 (resize-window): Rename to window-resize.
18720 (window-min-height, window-min-width)
18721 (resize-mini-window, resize-this-window, resize-root-window)
18722 (resize-root-window-vertically, adjust-window-trailing-edge)
18723 (enlarge-window, shrink-window, maximize-window)
18724 (minimize-window, delete-window, quit-restore-window)
18725 (split-window, balance-windows, balance-windows-area-adjust)
18726 (balance-windows-area, window-state-put-2)
18727 (display-buffer-even-window-sizes, display-buffer-set-height)
18728 (display-buffer-set-width, set-window-text-height)
18729 (fit-window-to-buffer): Rename all "resize-window" prefixed
18730 calls to use the "window-resize" prefix convention.
18731 (display-buffer-alist): Fix symbol for label specifier.
18732 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
18733 corresponding specifier.
18734 Reported by Juanma Barranquero <lekktu@gmail.com>.
18735
18736 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
18737
18738 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
18739 convention.
18740 (ses-call-printer): Does not pass an empty string to formatter when the
18741 cell is empty to keep from barking printer Calc math-format-value.
18742
18743 2011-06-27 Richard Stallman <rms@gnu.org>
18744
18745 * battery.el (battery-mode-line-limit): New variable.
18746 (battery-update): Handle it.
18747
18748 * mail/rmailmm.el (rmail-mime-process-multipart):
18749 Handle truncated messages.
18750
18751 2011-06-27 Glenn Morris <rgm@gnu.org>
18752
18753 * progmodes/flymake.el (flymake-err-line-patterns):
18754 Allow for column numbers in the ant/javac pattern. (Bug#8866)
18755
18756 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
18757
18758 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
18759 (ses--clean-!, ses--clean-_): New functions.
18760 (ses-range): Add configurability of readout order, and conversion
18761 to Calc vector.
18762
18763 * ses.el (ses-repair-cell-reference-all): New function.
18764 (ses-cell-symbol): Set macro as safe, so that it can be used in
18765 formulas.
18766
18767 * ses.el: Update cycle detection algorithm.
18768 (ses-localvars): Add ses--Dijkstra-attempt-nb and
18769 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
18770 (ses-set-localvars): New function.
18771 (ses-make-cell): Add property-list as a cell element.
18772 (ses-cell-property-get-fun, ses-cell-property-get)
18773 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
18774 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
18775 New functions.
18776 (ses-cell-property-set, ses-cell-property-pop)
18777 (ses-cell-property-get-handle): New macro.
18778 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
18779 New aliases, used for code readability.
18780 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
18781 cycle detection.
18782 (ses-self-reference-early-detection): New defcustom.
18783 (ses-formula-references): Robustify against self-referring cells.
18784 (ses-mode): Use ses-set-localvars.
18785 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
18786 before lauching the update processing.
18787 (ses-initialize-Dijkstra-attempt): New function.
18788 (ses-recalculate-cell): Update for cycle detection based on
18789 Dijkstra algorithm.
18790
18791 * ses.el: Fix commenting and indenting convention.
18792
18793 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
18794
18795 * bs.el (bs-cycle-next): Complete last change.
18796
18797 2011-06-27 Drew Adams <drew.adams@oracle.com>
18798
18799 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
18800
18801 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
18802
18803 * net/network-stream.el (network-stream-open-starttls):
18804 Don't re-get capabilities unless we've reestablished connection.
18805 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
18806
18807 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
18808 to binary to possibly avoid line encoding issues on Windows (among
18809 other things).
18810
18811 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
18812
18813 * net/network-stream.el (open-network-stream): Return an :error
18814 saying what the problem was, if possible.
18815
18816 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
18817 server.
18818
18819 * net/network-stream.el (network-stream-open-starttls): If we
18820 wanted to use STARTTLS, and the server offered it, but we weren't
18821 able to because we had no STARTTLS support, then close the connection.
18822 (open-network-stream): Return an :error element, if present.
18823
18824 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
18825
18826 * hl-line.el (hl-line-sticky-flag): Doc fix.
18827 (global-hl-line-sticky-flag): New option (Bug#8323).
18828 (global-hl-line-highlight): Obey it.
18829
18830 * vc/vc.el (vc-revert-show-diff): Default to t.
18831
18832 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
18833
18834 * allout-widgets.el (allout-widgets-post-command-business):
18835 Stop decorating intermediate isearch matches. They're not being
18836 undecorated when an isearch is continued past, and isearch
18837 automatically collapses them. This leads to "widget leaks", where
18838 decorated items accumulate in collapsed areas. Lines with lots of
18839 hidden widgets can slow down cursor travel, substantially.
18840 Too much complicated machinery would be needed to ensure undecoration,
18841 so we're doing without this nicety.
18842
18843 (allout-widgets-tally-string): Don't try to do a hash-table-count
18844 of allout-widgets-tally when it's nil. This eliminates spurious "Error
18845 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
18846 *Messages* when allout-widgets-maintain-tally is t.
18847
18848 2011-06-26 Martin Rudalics <rudalics@gmx.at>
18849
18850 * window.el (display-buffer-normalize-argument): Rename to
18851 display-buffer-normalize-arguments. Handle special meaning of
18852 LABEL argument. Respect special-display-function when popping up
18853 a new frame. Fix code searching for a window showing the buffer
18854 on another frame.
18855 (display-buffer-normalize-specifiers):
18856 Call display-buffer-normalize-arguments.
18857 (display-buffer-in-window): Don't undedicate the window if its
18858 buffer remains the same.
18859 Reported by Drew Adams <drew.adams@oracle.com>.
18860 (display-buffer-alist): Add choice for same-window macro
18861 specfier.
18862 (display-buffer): Mention special meaning of LABEL argument in
18863 doc-string. Fix quoting. Don't pop up a new frame even as
18864 fallback.
18865
18866 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
18867
18868 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
18869 avoid deleting the current window in some cases (bug#8911).
18870
18871 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
18872
18873 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
18874 (Bug#8934)
18875
18876 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
18877
18878 * net/network-stream.el (network-stream-open-starttls):
18879 Use built-in TLS support if `gnutls-available-p' is true.
18880 (network-stream-open-tls): Ditto.
18881
18882 2011-06-26 Leo Liu <sdl.web@gmail.com>
18883
18884 * register.el (registerv): New struct.
18885 (registerv-make): New function.
18886 (jump-to-register, describe-register-1, insert-register):
18887 Support the jump-func, print-func and insert-func slot of a registerv
18888 struct. (Bug#8415)
18889
18890 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
18891
18892 * vc/vc.el (vc-revert-show-diff): New defcustom.
18893 (vc-diff-internal): New arg specifying diff buffer.
18894 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
18895 reuse an existing *vc-diff* buffer (Bug#8927).
18896
18897 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
18898
18899 2011-06-26 Glenn Morris <rgm@gnu.org>
18900
18901 * progmodes/f90.el (f90-critical-indent): New option.
18902 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
18903 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
18904 (f90-mode): Doc fix.
18905 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
18906 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
18907 (f90-beginning-of-block, f90-next-block, f90-indent-region)
18908 (f90-match-end): Handle block, critical.
18909
18910 2011-06-25 Glenn Morris <rgm@gnu.org>
18911
18912 * calendar/diary-lib.el (diary-included-files): Doc fix.
18913 (diary-include-files): New function, extracted from
18914 diary-include-other-diary-files and diary-mark-included-diary-files.
18915 (diary-include-other-diary-files, diary-mark-included-diary-files):
18916 Just call diary-include-files.
18917 (diary-mark-entries): Reset diary-included-files on first call.
18918
18919 * calendar/diary-lib.el (diary-mark-entries)
18920 (diary-mark-included-diary-files):
18921 Visit included diary-files in temp buffers.
18922
18923 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
18924 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
18925 (f90-start-block-re, f90-imenu-generic-expression)
18926 (f90-looking-at-program-block-start, f90-no-block-limit):
18927 Add support for submodules.
18928
18929 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
18930 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
18931
18932 2011-06-25 Eli Zaretskii <eliz@gnu.org>
18933
18934 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
18935 buffer-file-type before setting its value, to avoid disastrous
18936 global effects on decoding files for DOS/Windows systems. (Bug#8780)
18937
18938 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
18939
18940 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
18941
18942 * ses.el (ses-unload-function):
18943 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
18944
18945 * proced.el (proced-unload-function):
18946 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
18947
18948 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
18949
18950 * server.el (server-create-window-system-frame): Add parameters arg.
18951 (server-process-filter): Doc fix. Handle frame-parameters.
18952
18953 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
18954
18955 Fix bug#8730, bug#8781.
18956
18957 * loadhist.el (unload--set-major-mode): New function.
18958 (unload-feature): Use it.
18959
18960 * progmodes/python.el (python-after-info-look): Add autoload cookie.
18961 (python-unload-function): New function.
18962
18963 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
18964
18965 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
18966
18967 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
18968
18969 * net/browse-url.el (browse-url-firefox-program): Add icecat to
18970 the candidates list.
18971
18972 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
18973
18974 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
18975
18976 2011-06-23 Richard Stallman <rms@gnu.org>
18977
18978 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
18979 (rmail-variables): Set next-error-move-function.
18980 (rmail-what-message): Take argument POS.
18981 (rmail-next-error-move): New function.
18982
18983 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
18984
18985 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
18986 messages for adjacent non-terminals.
18987
18988 2011-06-23 Richard Stallman <rms@gnu.org>
18989
18990 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
18991 (rmail-show-message-1): Preserve buffer modified flag.
18992 (rmail-start-mail): Don't specify use of rmail-mail-return;
18993 that's done by mail-bury now.
18994 (rmail-mail-return): Handle arg NEWBUF.
18995
18996 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
18997
18998 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
18999 SIZE is a number.
19000
19001 2011-06-23 Martin Rudalics <rudalics@gmx.at>
19002
19003 * window.el (get-lru-window, get-mru-window)
19004 (get-largest-window): Never return a minibuffer window.
19005 (display-buffer-pop-up-window): Fix a bug that could lead to
19006 reusing the minibuffer window.
19007 (display-buffer): Pass original specifier argument to
19008 display-buffer-function instead of the normalized one.
19009 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
19010
19011 2011-06-22 Leo Liu <sdl.web@gmail.com>
19012
19013 * minibuffer.el (completing-read-function)
19014 (completing-read-default): Move from minibuf.c.
19015
19016 2011-06-22 Richard Stallman <rms@gnu.org>
19017
19018 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
19019 to Rmail even if not started by a special Rmail command.
19020
19021 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
19022 Copy the buffer currently showing just one message.
19023
19024 2011-06-22 Roland Winkler <winkler@gnu.org>
19025
19026 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
19027 (bibtex-clean-entry): First delete the old key so that a
19028 customized algorithm for generating the new key does not get
19029 confused by the old key.
19030 (bibtex-url): Obey regexp of first step.
19031 (bibtex-search-entries): Do not use add-to-list with local
19032 list-var.
19033
19034 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
19035
19036 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
19037 stored a user name, then query for the password first, instead of
19038 waiting for SMTP to give an error message and the trying again.
19039
19040 2011-06-22 Lawrence Mitchell <wence@gmx.li>
19041
19042 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
19043 BUFFER in call-process.
19044
19045 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
19046
19047 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
19048 QUIT twice.
19049 (smtpmail-try-auth-methods): Require user name and password from
19050 auth-source.
19051
19052 2011-06-22 Martin Rudalics <rudalics@gmx.at>
19053
19054 * window.el (display-buffer-default-specifiers)
19055 (display-buffer-alist): Remove entries for pop-up-frame-alist.
19056 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
19057 (split-window): Normalize SIDE argument (Bug#8916).
19058
19059 * frame.el (pop-up-frame-alist, pop-up-frame-function)
19060 (special-display-frame-alist, special-display-popup-frame):
19061 Remove duplicate declarations. These are now in window.el.
19062
19063 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19064
19065 * mail/smtpmail.el (smtpmail-via-smtp):
19066 Set :use-starttls-if-possible so that we always use STARTTLS if the
19067 server supports it. SMTP servers that support STARTTLS commonly
19068 require it.
19069
19070 * net/network-stream.el (network-stream-open-starttls): Support
19071 upgrading to STARTTLS always, even if we don't have built-in support.
19072 (open-network-stream): Add the :always-query-capabilities keyword.
19073
19074 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
19075 upgrades with `open-network-stream', and rely solely on
19076 auth-source for all credentials. Big changes throughout the file,
19077 but in particular:
19078 (smtpmail-auth-credentials): Remove.
19079 (smtpmail-starttls-credentials): Remove.
19080 (smtpmail-via-smtp): Check for servers saying they want AUTH after
19081 MAIL FROM, too.
19082
19083 * net/network-stream.el (network-stream-open-starttls):
19084 Provide support for client certificates both for external and built-in
19085 STARTTLS.
19086 (auth-source): Require.
19087 (open-network-stream): Document the :client-certificate keyword.
19088 (network-stream-certificate): Change cert-cert to cert and
19089 cert-key to key.
19090
19091 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
19092
19093 * net/tramp-cache.el (top): Don't load the persistency file when
19094 "emacs -Q" has been called.
19095
19096 2011-06-21 Tim Harper <timcharper@gmail.com>
19097
19098 * term/ns-win.el (ns-initialize-window-system):
19099 Set application-specific `ApplePressAndHoldEnabled' system
19100 resource to NO as it is not yet supported by the NS port.
19101
19102 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
19103
19104 * misc.el (list-dynamic-libraries--refresh): Compute header here...
19105 (list-dynamic-libraries): ...not here.
19106
19107 2011-06-21 Leo Liu <sdl.web@gmail.com>
19108
19109 * subr.el (sha1): Implement sha1 using secure-hash.
19110
19111 2011-06-21 Martin Rudalics <rudalics@gmx.at>
19112
19113 * window.el (display-buffer-alist): In default value do not
19114 enforce searching a window on any but the selected frame.
19115 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
19116 (display-buffer-select-window): Remove function.
19117 (display-buffer-in-window): When a window on another frame gets
19118 reused, do not select it any more but just raise its frame if
19119 necessary (Bug#8851) and (Bug#8856).
19120 (display-buffer-normalize-options): Handle pop-up-frames related
19121 options more faithfully.
19122 (pop-to-buffer): Don't rely on `display-buffer' selecting the
19123 window if it is on another frame.
19124 (display-buffer-alist, display-buffer-default-specifiers):
19125 Don't make new frame unsplittable by default.
19126 (display-buffer-normalize-argument): Fix doc-string typo and use
19127 'same-frame-other-window instead of 'other-window when associating
19128 with display-buffer-macro-specifiers.
19129
19130 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
19131
19132 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
19133 New functions.
19134 (5x5-mode-map, 5x5-mode-menu): Bind them.
19135 (5x5-draw-grid): Tweak the solver's rendering.
19136
19137 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
19138
19139 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
19140 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
19141
19142 2011-06-21 Drew Adams <drew.adams@oracle.com>
19143
19144 * menu-bar.el: Use function variable instead of switch-to-buffer.
19145 (menu-bar-select-buffer-function): New variable.
19146 (menu-bar-update-buffers): Use it (bug#8876).
19147
19148 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
19149
19150 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
19151 variable's status.
19152
19153 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
19154
19155 * x-dnd.el (x-dnd-version-from-flags)
19156 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
19157 and long as number (Bug#8899).
19158 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
19159
19160 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
19161
19162 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
19163 (completion-try-completion, completion-all-completions): Compute the
19164 metadata argument if it's missing; make it optional (bug#8795).
19165
19166 * wid-edit.el: Use lex-bind and move towards completion-at-point.
19167 (widget-complete): Use new :completion-function property.
19168 (widget-completions-at-point): New function.
19169 (default): Use :completion-function instead of :complete.
19170 (widget-default-completions): Rename from widget-default-complete;
19171 Rewrite.
19172 (widget-string-complete, widget-file-complete, widget-color-complete):
19173 Remove functions.
19174 (file, symbol, function, variable, coding-system, color):
19175 * international/mule-cmds.el (default-input-method, charset)
19176 (language-info-custom-alist):
19177 * cus-edit.el (face): Use new property :completions.
19178
19179 * progmodes/pascal.el (pascal-completions-at-point): New function.
19180 (pascal-mode): Use it.
19181 (pascal-mode-map): Use completion-at-point.
19182 (pascal-toggle-completions): Make obsolete.
19183 (pascal-complete-word, pascal-show-completions):
19184 * progmodes/octave-mod.el (octave-complete-symbol):
19185 Redefine as obsolete alias.
19186 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
19187 Signal absence of completion info for old Octave,
19188 (inferior-octave-complete): Redefine as obsolete alias.
19189 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
19190 (meta-completions-at-point): Rename from meta-complete-symbol and
19191 adapt it for use on completion-at-point-functions.
19192 (meta-common-mode): Use it.
19193 (meta-looking-at-backward, meta-match-buffer): Remove.
19194 (meta-complete-symbol): Redefine as obsolete alias.
19195 (meta-common-mode-map): Use completion-at-point.
19196 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
19197 (makefile-mode-map): Use completion-at-point.
19198 (makefile-completions-at-point): Rename from makefile-complete and
19199 adapt it for use on completion-at-point-functions.
19200 (makefile-mode): Use it.
19201 (makefile-complete): Redefine as obsolete alias.
19202
19203 2011-06-20 Deniz Dogan <deniz@dogan.se>
19204
19205 * net/rcirc.el: Delete trailing whitespaces once and for all.
19206
19207 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
19208
19209 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
19210
19211 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
19212
19213 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
19214
19215 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
19216
19217 2011-06-19 Martin Rudalics <rudalics@gmx.at>
19218
19219 * window.el (display-buffer-other-window-means-other-frame):
19220 Call display-buffer-normalize-alist.
19221 (display-buffer-normalize-specifiers-1): Rename to
19222 display-buffer-normalize-argument. New argument other-frame.
19223 Rewrite.
19224 (display-buffer-normalize-specifiers-2): Rename to
19225 display-buffer-normalize-options.
19226 (display-buffer-normalize-alist-1): New function.
19227 (display-buffer-normalize-specifiers-3): Rename to
19228 display-buffer-normalize-alist.
19229 Call display-buffer-normalize-alist-1.
19230 (display-buffer-normalize-options-inhibit): New variable.
19231 (display-buffer-normalize-specifiers): Rewrite calling
19232 display-buffer-normalize-alist,
19233 display-buffer-normalize-argument, and
19234 display-buffer-normalize-options. Don't call the latter if
19235 display-buffer-normalize-options-inhibit is non-nil.
19236 (frame-auto-delete): New option.
19237 (window-deletable-p): Use frame-auto-delete.
19238 (window-list-no-nils, window-state-ignored-parameters)
19239 (window-state-get-1, window-state-get, window-state-put-list)
19240 (window-state-put-1, window-state-put-2, window-state-put):
19241 New functions.
19242 (display-buffer-normalize-options): Move special-display-p group
19243 after pop-up-frame group (Bug#8851) and (Bug#8856).
19244
19245 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
19246
19247 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
19248 groups (Bug#8776).
19249 (rx-submatch-n): New function.
19250 (rx): Document it.
19251
19252 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
19253 (Bug#8768).
19254
19255 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
19256
19257 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
19258
19259 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
19260 anytime existing face settings are present (Bug#8889).
19261
19262 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
19263 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
19264 Remove unused argument.
19265
19266 2011-06-18 Martin Rudalics <rudalics@gmx.at>
19267
19268 * window.el (display-buffer-default-specifiers):
19269 Remove pop-up-frame. Add pop-up-window-min-height,
19270 pop-up-window-min-width, and another reuse-window specifier
19271 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
19272 (display-buffer-normalize-specifiers-2):
19273 Handle split-height-threshold and split-width-threshold also when
19274 pop-up-windows is unset. Add a reuse-window specifier for the
19275 case popping up a new window fails.
19276 (special-display-popup-frame): Remove double quoting.
19277 (display-buffer-normalize-specifiers-1): Fix thinko.
19278
19279 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
19280
19281 * shell.el (shell-completion-vars): Set pcomplete-termination-string
19282 according to comint-completion-addsuffix.
19283
19284 * pcomplete.el: Convert to lexical binding and fix bug#8819.
19285 (pcomplete-suffix-list): Mark as obsolete.
19286 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
19287 pcomplete-seen in the closure.
19288 (pcomplete-comint-setup): Setup completion-at-point as well.
19289 (pcomplete--entries): New function.
19290 (pcomplete--env-regexp): New var.
19291 (pcomplete-entries): Rewrite to work with partial-completion and
19292 without relying on pcomplete-suffix-list.
19293 (pcomplete-pare-list): Remove, unused.
19294
19295 2011-06-17 Martin Rudalics <rudalics@gmx.at>
19296
19297 * window.el (display-buffer-alist): Set pop-up-window-min-height
19298 and pop-up-window-min-width in default value. Reported by
19299 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
19300 other-window-means-other-frame.
19301 (display-buffer-macro-specifiers): Comment out entry for
19302 other-window specifier.
19303 (display-buffer-other-window-means-other-frame): New function.
19304 (display-buffer-normalize-specifiers-1): New arguments
19305 buffer-name and label. Treat other-window case specially.
19306 (display-buffer-normalize-specifiers-2): Treat other-window case
19307 specially.
19308 (display-buffer-normalize-specifiers-3): New function.
19309 (display-buffer-normalize-specifiers):
19310 Call display-buffer-normalize-specifiers-3.
19311
19312 2011-06-17 Martin Rudalics <rudalics@gmx.at>
19313
19314 * window.el (same-window-p): Fix two typos introduced when
19315 adding with-no-warnings.
19316 (display-buffer-normalize-specifiers-1): Don't check
19317 pop-up-frames for 'unset initialization.
19318 (display-buffer-normalize-specifiers-2): Major rewrite using
19319 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
19320 (pop-up-frames, display-buffer-reuse-frames)
19321 (display-buffer-mark-dedicated): Don't initialize to 'unset.
19322 Suggested by David Engster <deng@randomsample.de>.
19323 (even-window-heights): Initialize to 'unset.
19324 (display-buffer-alist-set): Handle new 'unset initializations.
19325 (display-buffer-macro-specifiers): Don't pop up a new frame in the
19326 other window case.
19327
19328 2011-06-16 Martin Rudalics <rudalics@gmx.at>
19329
19330 * window.el (display-buffer-normalize-specifiers-1):
19331 Respect current value of pop-up-frames for most reasonable values of
19332 second argument of display-buffer (Bug#8865).
19333 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
19334 (switch-to-buffer-other-window-same-frame)
19335 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
19336 Adams (Bug#8875).
19337 (display-buffer): Don't check noninteractive when calling
19338 display-buffer-pop-up-frame.
19339 (display-buffer-pop-up-frame): Never pop up a frame in
19340 noninteractive mode (Bug#8857).
19341 (enlarge-window, shrink-window): Don't report an error when the
19342 window can't be resized as requested (Bug#8862).
19343
19344 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
19345
19346 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
19347
19348 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
19349
19350 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
19351
19352 2011-06-15 Alan Mackenzie <acm@muc.de>
19353
19354 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
19355 for declarators, disable knr checking to speed up for normal files.
19356 2: Refactor, replacing a sequence of nested if forms by a cond form.
19357
19358 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
19359
19360 * net/network-stream.el (open-network-stream): Add the keyword
19361 :always-query-capabilities for the case where you want to force a
19362 `plain' network connection, but the protocol still requires the
19363 capabilitiy command (i.e., SMTP and EHLO).
19364
19365 * subr.el (process-live-p): Rename from `process-alive-p' for
19366 consistency with other `-live-p' functions.
19367
19368 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
19369
19370 * window.el (same-window-buffer-names, same-window-regexps)
19371 (special-display-frame-alist, special-display-popup-frame)
19372 (special-display-function, special-display-buffer-names)
19373 (special-display-regexps, pop-up-frame-alist)
19374 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
19375 (pop-up-windows, split-window-preferred-function)
19376 (split-height-threshold, split-width-threshold, even-window-heights)
19377 (display-buffer-mark-dedicated): Don't encourage the use of
19378 display-buffer-alist from Elisp code.
19379
19380 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
19381
19382 * progmodes/python.el (python-mode): Derive from prog-mode.
19383 * progmodes/ps-mode.el (ps-mode):
19384 * progmodes/mixal-mode.el (mixal-mode):
19385 * progmodes/cfengine.el (cfengine-mode):
19386 * progmodes/ld-script.el (ld-script-mode): Likewise.
19387
19388 2011-06-15 Martin Rudalics <rudalics@gmx.at>
19389
19390 * window.el (display-buffer-alist): Trim default value to avoid
19391 popping up a new frame (Bug#8857) or reusing an arbitrary window
19392 on another frame.
19393 (display-buffer): Do not fall back on popping up a new frame in
19394 batch mode (Bug#8857).
19395
19396 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
19397
19398 * cus-theme.el (describe-theme-1): Use custom-theme-p.
19399 (custom-theme-summary): New function.
19400 (customize-themes): Use it.
19401
19402 2011-06-13 Glenn Morris <rgm@gnu.org>
19403
19404 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
19405
19406 2011-06-13 Martin Rudalics <rudalics@gmx.at>
19407
19408 * help.el (help-window): Remove variable.
19409 (help-window-point-marker, temp-buffer-max-height)
19410 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
19411 (help-print-return-message): Don't set help-window.
19412 (resize-temp-buffer-window): Rewrite cod eand doc-string.
19413 (help-window-setup-finish): Remove.
19414 (help-window-display-message, help-window-setup)
19415 (with-help-window): Major rewrite based on new
19416 display-buffer-window variable.
19417
19418 * help-mode.el (help-mode-finish): Remove help-window related
19419 code.
19420
19421 * view.el (view-exits-all-viewing-windows): Remove reference to
19422 view-return-to-alist in doc-string.
19423 (view-return-to-alist): Make obsolete.
19424 (view-buffer): Call pop-to-buffer-same-window and remove
19425 undo-window code.
19426 (view-buffer-other-window): Call pop-to-buffer-other-window and
19427 simplify code. Ignore second argument.
19428 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
19429 simplify code. Ignore second argument.
19430 (view-return-to-alist-update): Make obsolete.
19431 (view-mode-enter): Rename second argument to QUIT-RESTORE.
19432 Rewrite using quit-restore window parameters.
19433 (view-mode-exit): Rename second argument to EXIT-ONLY.
19434 Rewrite using quit-restore-window.
19435 (View-exit, View-exit-and-edit, View-leave, View-quit)
19436 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
19437 appropriate arguments.
19438 (view-end-message): Use quit-restore window parameter.
19439
19440 * window.el (display-buffer-function): Rewrite doc-string.
19441 (display-buffer-window, display-buffer-alist): New variables.
19442 (display-buffer-split-specifiers)
19443 (display-buffer-side-specifiers)
19444 (display-buffer-macro-specifiers): New constants.
19445 (display-buffer-even-window-sizes, display-buffer-set-height)
19446 (display-buffer-set-width, display-buffer-select-window)
19447 (display-buffer-in-window, display-buffer-reuse-window)
19448 (display-buffer-split-window-1, display-buffer-split-window)
19449 (display-buffer-split-atom-window, display-buffer-pop-up-window)
19450 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
19451 (display-buffer-in-side-window, normalize-buffer-to-display)
19452 (display-buffer-normalize-specifiers-1)
19453 (display-buffer-normalize-specifiers-2)
19454 (display-buffer-normalize-specifiers, display-buffer-frame):
19455 New functions.
19456 (display-buffer): Major rewrite.
19457 (display-buffer-other-window, display-buffer-other-frame)
19458 (pop-to-buffer, switch-to-buffer-other-window)
19459 (switch-to-buffer-other-frame): Rewrite.
19460 (display-buffer-same-window, display-buffer-same-frame)
19461 (display-buffer-same-frame-other-window)
19462 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
19463 (pop-to-buffer-other-window)
19464 (pop-to-buffer-same-frame-other-window)
19465 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
19466 (switch-to-buffer-other-window-same-frame): New functions.
19467 (same-window-p, special-display-p): Rewrite disabling warnings.
19468 Make obsolete.
19469 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
19470 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
19471 Make obsolete
19472 (same-window-buffer-names, same-window-regexps)
19473 (special-display-frame-alist, special-display-popup-frame)
19474 (special-display-function, special-display-buffer-names)
19475 (special-display-regexps, pop-up-frame-alist)
19476 (pop-up-frame-function, split-window-preferred-function)
19477 (split-height-threshold, split-width-threshold)
19478 (even-window-heights): Make obsolete.
19479
19480 2011-06-12 Glenn Morris <rgm@gnu.org>
19481
19482 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
19483 Misc simplifications.
19484
19485 2011-06-12 Martin Rudalics <rudalics@gmx.at>
19486
19487 * window.el (window-safely-shrinkable-p): Restore function which
19488 was inadvertently removed in change from 2011-06-11. Declare as
19489 obsolete.
19490
19491 * calendar/calendar.el (calendar-generate-window):
19492 Use window-iso-combined-p instead of combination of one-window-p and
19493 window-safely-shrinkable-p.
19494
19495 2011-06-12 Glenn Morris <rgm@gnu.org>
19496
19497 * progmodes/fortran.el (fortran-mode-syntax-table):
19498 * progmodes/f90.el (f90-mode-syntax-table):
19499 Set % to punctuation. (Bug#8820)
19500 (f90-find-tag-default): Remove, no longer needed.
19501
19502 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
19503
19504 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
19505
19506 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
19507
19508 * image.el (image-animated-p): Return animation delay in seconds.
19509 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
19510 (image-animate-timeout): Remove DELAY argument. Don't assume
19511 every subimage has the same delay; get it from image-animated-p.
19512 (image-animate): Caller changed.
19513
19514 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
19515
19516 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
19517 to ignored backtrace functions.
19518
19519 2011-06-11 Glenn Morris <rgm@gnu.org>
19520
19521 * calendar/appt.el (appt-disp-window-function): Doc fix.
19522 (appt-check): Handle overlapping appointments. (Bug#8337)
19523
19524 2011-06-11 Martin Rudalics <rudalics@gmx.at>
19525
19526 * window.el (window-tree-1, window-tree): New functions, moving
19527 the latter to window.el.
19528 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
19529 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
19530 (bw-refresh-edges): Remove.
19531 (balance-windows-1, balance-windows-2): New functions.
19532 (balance-windows): Rewrite in terms of window tree functions,
19533 balance-windows-1 and balance-windows-2.
19534 (bw-adjust-window): Remove.
19535 (balance-windows-area-adjust): New function with functionality of
19536 bw-adjust-window but using resize-window.
19537 (set-window-text-height): Rewrite doc-string.
19538 Use normalize-live-window and resize-window.
19539 (enlarge-window-horizontally, shrink-window-horizontally):
19540 Rename argument to DELTA.
19541 (window-buffer-height): New function.
19542 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
19543 Rewrite using new window resize routines.
19544 (kill-buffer-and-window, mouse-autoselect-window-select):
19545 Use ignore-errors instead of condition-case.
19546 (quit-window): Call delete-frame instead of delete-windows-on
19547 for the only buffer on frame.
19548
19549 2011-06-10 Martin Rudalics <rudalics@gmx.at>
19550
19551 * loadup.el (top-level): Load window before files for the sake
19552 of replace-buffer-in-windows.
19553
19554 * files.el (read-buffer-to-switch)
19555 (switch-to-buffer-other-window)
19556 (switch-to-buffer-other-frame, display-buffer-other-frame):
19557 Move to window.el.
19558
19559 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
19560 (previous-buffer): Move to window.el.
19561
19562 * bindings.el (unbury-buffer): Move to window.el.
19563
19564 * window.el (delete-other-windows-vertically): Move after
19565 definition of delete-other-windows.
19566 (other-window, delete-windows-on, replace-buffer-in-windows):
19567 Move here from window.c.
19568 (record-window-buffer, unrecord-window-buffer)
19569 (set-window-buffer-start-and-point, switch-to-prev-buffer)
19570 (switch-to-next-buffer): New functions.
19571 (get-next-valid-buffer, last-buffer, next-buffer): Move here
19572 from simple.el. Call switch-to-next-buffer.
19573 (previous-buffer): Move here from simple.el.
19574 Call switch-to-prev-buffer.
19575 (bury-buffer): Move here from buffer.c. Switch to previous
19576 buffer when window cannot be deleted.
19577 (unbury-buffer): Move here from bindings.el.
19578 (ctl-x-map): Move binding for other-window from window.c to
19579 here.
19580 (read-buffer-to-switch, switch-to-buffer-other-window)
19581 (switch-to-buffer-other-frame): Move here from files.el.
19582 (normalize-buffer-to-switch-to): New functions.
19583 (switch-to-buffer): Move here from buffer.c.
19584 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
19585
19586 2011-06-10 Martin Rudalics <rudalics@gmx.at>
19587
19588 * window.el (window-min-height, window-min-width): Move here
19589 from window.c. Add defcustoms and rewrite doc-strings.
19590 (resize-mini-window, resize-window): New functions.
19591 (adjust-window-trailing-edge, enlarge-window, shrink-window):
19592 Move here from window.c.
19593 (maximize-window, minimize-window): New functions.
19594 (delete-window, delete-other-windows, split-window): Move here
19595 from window.c.
19596 (window-split-min-size): New function.
19597 (split-window-keep-point): Mention split-window-above-each-other
19598 instead of split-window-vertically.
19599 (split-window-above-each-other, split-window-vertically):
19600 Rename split-window-vertically to split-window-above-each-other
19601 and provide defalias for old definition.
19602 (split-window-side-by-side, split-window-horizontally):
19603 Rename split-window-horizontally to split-window-side-by-side
19604 and provide defalias for the old definition.
19605 (ctl-x-map): Move bindings for delete-window,
19606 delete-other-windows and enlarge-window here from window.c.
19607 Replace bindings for split-window-vertically and
19608 split-window-horizontally by bindings for
19609 split-window-above-each-other and split-window-side-by-side.
19610
19611 * cus-start.el (all): Remove entries for window-min-height and
19612 window-min-width. Add entries for window-splits and
19613 window-nest.
19614
19615 2011-06-09 Glenn Morris <rgm@gnu.org>
19616
19617 * calendar/appt.el (appt-mode-line): New function.
19618 (appt-check, appt-disp-window): Use it.
19619
19620 * files.el (hack-one-local-variable-eval-safep):
19621 Allow minor-modes with explicit +/-1 arguments.
19622
19623 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
19624
19625 * term/xterm.el (xterm): Add defgroup.
19626 (xterm-extra-capabilities): Add defcustom to supply known xterm
19627 capabilities, skip querying them, or query them (default).
19628 (terminal-init-xterm): Use it.
19629 (terminal-init-xterm-modify-other-keys): New function to set up
19630 modifyOtherKeys support to simplify `terminal-init-xterm'.
19631
19632 2011-06-09 Martin Rudalics <rudalics@gmx.at>
19633
19634 * window.el (resize-window-reset, resize-window-reset-1)
19635 (resize-subwindows-skip-p, resize-subwindows-normal)
19636 (resize-subwindows, resize-other-windows, resize-this-window)
19637 (resize-root-window, resize-root-window-vertically)
19638 (window-deletable-p, window-or-subwindow-p)
19639 (frame-root-window-p): New functions.
19640
19641 2011-06-09 Glenn Morris <rgm@gnu.org>
19642
19643 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
19644 (ange-ftp-get-files): Use it.
19645
19646 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
19647
19648 * mail/sendmail.el (mail-recover-1, mail-recover):
19649 * files.el (recover-file, recover-session):
19650 Handle dired-listing-switches not being just a single short option.
19651
19652 2011-06-09 Glenn Morris <rgm@gnu.org>
19653
19654 * calendar/appt.el (appt-display-message, appt-disp-window):
19655 Handle lists of appointments.
19656
19657 2011-06-08 Martin Rudalics <rudalics@gmx.at>
19658
19659 * window.el (one-window-p): Move down in code.
19660 Rewrite doc-string.
19661 (window-current-scroll-bars): Rewrite doc-string.
19662 Normalize live window argument.
19663 (walk-windows, get-window-with-predicate, count-windows):
19664 Rewrite doc-string. Use window-list-1.
19665 (window-in-direction-2, window-in-direction, get-mru-window):
19666 New functions.
19667
19668 2011-06-08 Reuben Thomas <rrt@sc3d.org>
19669
19670 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
19671 Doc fix (Bug#8713).
19672
19673 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
19674
19675 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
19676
19677 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
19678
19679 * loadhist.el (unload-feature-special-hooks):
19680 Add `comint-output-filter-functions'.
19681
19682 2011-06-08 Ivan Kanis <gnu@kanis.fr>
19683
19684 * calendar/appt.el (appt-check): Move some initializations into the let.
19685
19686 2011-06-08 Martin Rudalics <rudalics@gmx.at>
19687
19688 * window.el (window-height): Defalias to window-total-height.
19689 (window-width): Defalias to window-body-width.
19690
19691 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
19692
19693 * image-mode.el (image-toggle-animation): New command.
19694 (image-mode-map): Bind it to RET.
19695 (image-mode): Update message.
19696 (image-toggle-display-image): Avoid a spurious cache flush.
19697 (image-transform-rotation): Doc fix.
19698 (image-transform-properties): Return quickly in the normal case.
19699 (image-animate-loop): Rename from image-animate-max-time.
19700
19701 * image.el (image-animate-max-time): Move to image-mode.el.
19702 (create-animated-image): Remove unnecessary function.
19703 (image-animate): Rename from image-animate-start. New arg.
19704 (image-animate-stop): Remove; just use image-animate-timer.
19705 (image-animate-timer): Use car-safe.
19706 (image-animate-timeout): Rename argument.
19707
19708 2011-06-07 Martin Rudalics <rudalics@gmx.at>
19709
19710 * window.el (get-lru-window, get-largest-window): Move here from
19711 window.c. Rename first argument to ALL-FRAMES.
19712 Rephrase doc-strings.
19713 (get-buffer-window-list): Rewrite using window-list-1.
19714 Rephrase doc-string.
19715 (window-safe-min-height, window-safe-min-width): New constants.
19716 (window-size-ignore, window-min-size, window-min-size-1)
19717 (window-sizable, window-sizable-p, window-size-fixed-1)
19718 (window-size-fixed-p, window-min-delta-1, window-min-delta)
19719 (window-max-delta-1, window-max-delta, window-resizable)
19720 (window-resizable-p, window-total-height, window-total-width)
19721 (window-body-width): New functions.
19722 (window-full-height-p, window-full-width-p): Rewrite using
19723 window-total-size.
19724 (window-body-height): Rewrite using window-body-size.
19725
19726 2011-06-06 Martin Rudalics <rudalics@gmx.at>
19727
19728 * window.el (window-right, window-left, window-child)
19729 (window-child-count, window-last-child, window-any-p)
19730 (normalize-live-buffer, normalize-live-frame)
19731 (normalize-any-window, normalize-live-window)
19732 (window-iso-combination-p, window-iso-combined-p)
19733 (window-iso-combinations)
19734 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
19735 (windows-with-parameter, window-with-parameter)
19736 (window-atom-root, make-window-atom, window-atom-check-1)
19737 (window-atom-check, window-side-check, window-check):
19738 New functions.
19739 (ignore-window-parameters, window-sides, window-sides-vertical)
19740 (window-sides-slots): New variables.
19741 (window-size-fixed): Move down in code. Minor doc-string fix.
19742
19743 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
19744
19745 * comint.el (comint-dynamic-complete-as-filename)
19746 (comint-dynamic-complete-filename): Correctly call
19747 completion-in-region.
19748
19749 2011-06-05 Deniz Dogan <deniz@dogan.se>
19750
19751 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
19752 in last change.
19753
19754 2011-06-05 Deniz Dogan <deniz@dogan.se>
19755
19756 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
19757 (rcirc): Use it to prompt for encryption.
19758
19759 2011-06-05 Roland Winkler <winkler@gnu.org>
19760
19761 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
19762 (bibtex-search-entries): New command bound to C-c C-a.
19763 (bibtex-display-entries): New function.
19764
19765 2011-06-05 Roland Winkler <winkler@gnu.org>
19766
19767 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
19768 (bibtex-insert-kill): After yanking insert newline if necessary.
19769 (bibtex-initialize): Call bibtex-string-files-init only once.
19770 (bibtex-mode): Do not call easy-menu-add.
19771 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
19772 (bibtex-yank): Set arg properly if nil.
19773
19774 2011-06-05 Roland Winkler <winkler@gnu.org>
19775
19776 * textmodes/bibtex.el (bibtex-search-entry-globally):
19777 New variable.
19778 (bibtex-search-entry): Use it.
19779
19780 2011-06-05 Roland Winkler <winkler@gnu.org>
19781
19782 * textmodes/bibtex.el (bibtex-entry-format): New option
19783 sort-fields.
19784 (bibtex-format-entry, bibtex-reformat): Honor this option.
19785 (bibtex-parse-entry): Return fields in proper order.
19786
19787 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
19788
19789 * doc-view.el (doc-view-remove-if): Move computation of result out
19790 of `dolist' to silence misleading lexical-binding warning.
19791
19792 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
19793
19794 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
19795 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
19796
19797 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
19798
19799 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
19800 "SunOS 5.10".
19801
19802 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
19803
19804 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
19805 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
19806 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
19807 (tramp-parse-putty):
19808 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
19809 (tramp-completion-function-alist-ssh)
19810 (tramp-completion-function-alist-telnet)
19811 (tramp-completion-function-alist-su)
19812 (tramp-completion-function-alist-putty): Set `tramp-autoload'
19813 cookie.
19814
19815 * net/tramp-ftp.el:
19816 * net/tramp-sh.el:
19817 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
19818 load "tramp.el" `tramp-set-completion-function'.
19819
19820 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
19821
19822 * shell.el: Require and use pcomplete.
19823 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
19824 (shell-completion-vars): Set pcomplete-default-completion-function.
19825
19826 2011-06-04 Deniz Dogan <deniz@dogan.se>
19827
19828 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
19829 `memq' (Bug#8799).
19830
19831 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
19832
19833 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
19834
19835 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
19836
19837 * bs.el (bs--mark-unmark, bs--nth-wrapper):
19838 * mpc.el (mpc-select-extend, mpc-songpointer-context):
19839 * vc/log-view.el (log-view-beginning-of-defun):
19840 * vc/smerge-mode.el (smerge-apply-resolution-patch)
19841 (smerge-refine-forward, smerge-refine-chopup-region):
19842 Silence warning for unused `dotimes' counter variables.
19843
19844 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
19845
19846 * net/tramp.el (tramp-with-progress-reporter): Rename from
19847 with-progress-reporter. Use `declare'.
19848 * net/tramp-smb.el:
19849 * net/tramp-sh.el:
19850 * net/tramp-gvfs.el: Update all uses.
19851
19852 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
19853
19854 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
19855 buffer isn't killed before making it current.
19856
19857 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
19858
19859 Silence various byte-compiler warnings.
19860 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
19861 `access-type' and new obsolescence format.
19862 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
19863 new format.
19864 (byte-compile-check-variable): New `access-type' argument.
19865 Only warn if the access-type is obsolete.
19866 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
19867 (byte-compile-variable-set): Adjust callers.
19868 * help-fns.el (describe-variable): Adjust to new obsolescence format.
19869 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
19870 setting it as obsolete.
19871 * simple.el (minibuffer-completing-symbol):
19872 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
19873 access as obsolete.
19874 * minibuffer.el (minibuffer-completing-file-name): Don't make it
19875 obsolete yet.
19876 * international/quail.el (quail-mouse-choose-completion): Remove unused
19877 code referring to obsolete var.
19878 (quail-choose-completion-string): Remove.
19879 * server.el (server-clients-with, server-kill-buffer-query-function)
19880 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
19881 * proced.el (proced-send-signal):
19882 * emacs-lisp/lisp.el (lisp-complete-symbol):
19883 Replace completion-annotate-function with completion-extra-properties.
19884
19885 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
19886
19887 * simple.el (goto-line): Use read-number.
19888 (overriding-map-is-bound): Remove.
19889 (saved-overriding-map): Change default.
19890 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
19891 Take the map as argument.
19892 (universal-argument, negative-argument, digit-argument): Use it.
19893 (restore-overriding-map): Adjust.
19894 (do-auto-fill): Use fill-forward-paragraph.
19895 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
19896
19897 * minibuffer.el (minibuffer-inactive-mode-map): New var.
19898 (minibuffer-inactive-mode): New major mode.
19899 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
19900 the *Messages* buffer" hack.
19901 (mouse-popup-menubar): Don't burp if the event is a normal key.
19902
19903 Miscellaneous tweaks.
19904 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
19905 lexical scoping as in subr.el's dolist and dotimes.
19906 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
19907 Silence compiler warning.
19908 * thingatpt.el (forward-whitespace): Trivial coding style fix.
19909 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
19910 * international/ccl.el (ccl-compile): Trivial simplification.
19911 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
19912 * emacs-lisp/testcover.el (testcover-end): Remove spurious
19913 `printflag' argument.
19914 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
19915 Purecopy the whole obsolescence data.
19916
19917 2011-06-01 Leo Liu <sdl.web@gmail.com>
19918
19919 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
19920 improve doc-string as suggested by Marco Pessotto
19921 <melmothx@gmail.com>.
19922 (rcirc-print): Fix last change.
19923
19924 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
19925
19926 * minibuffer.el (complete-with-action): Return nil for the metadata and
19927 boundaries of non-functional tables.
19928 (completion-table-dynamic): Return nil for the metadata.
19929 (completion-table-with-terminator): Add default case, using
19930 complete-with-action.
19931 (completion--metadata): New function.
19932 (completion-all-sorted-completions, minibuffer-completion-help): Use it
19933 to try and avoid pathological performance problems.
19934 (completion--embedded-envvar-table): Return `category' metadata.
19935
19936 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
19937
19938 * subr.el (process-alive-p): New tiny convenience function.
19939
19940 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
19941
19942 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
19943 content but also its previous major mode.
19944
19945 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
19946
19947 * emacs-lisp/debug.el (debug): Restore the previous content of the
19948 *Backtrace* buffer when we exit with C-M-c.
19949
19950 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
19951
19952 * minibuffer.el: Add metadata method to completion tables.
19953 (completion-category-overrides): New defcustom.
19954 (completion-metadata, completion--field-metadata)
19955 (completion-metadata-get, completion--styles)
19956 (completion--cycle-threshold): New functions.
19957 (completion-try-completion, completion-all-completions):
19958 Add `metadata' argument to choose completion-styles.
19959 (completion--do-completion): Use metadata to choose cycling.
19960 (completion-all-sorted-completions): Use metadata for sorting.
19961 Remove :completion-cycle-penalty which is not needed any more.
19962 (completion--try-word-completion): Add `metadata' argument.
19963 (minibuffer-completion-help): Check metadata for annotation function
19964 and sorting.
19965 (completion-file-name-table): Return `category' metadata.
19966 (minibuffer-completing-file-name): Make obsolete.
19967 * simple.el (minibuffer-completing-symbol): Make obsolete.
19968 * icomplete.el (icomplete-completions): Pass new `metadata' param to
19969 completion-try-completion.
19970
19971 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
19972
19973 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
19974
19975 2011-05-30 Leo Liu <sdl.web@gmail.com>
19976
19977 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
19978 (rcirc-print): Decode all incoming messages (bug#8744).
19979 (rcirc-decode-coding-system): Allow value nil for automatic coding
19980 system detection.
19981
19982 2011-06-01 Glenn Morris <rgm@gnu.org>
19983
19984 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
19985
19986 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
19987
19988 * image.el (image-animate-max-time): Allow nil and t values.
19989 Default to nil.
19990 (create-animated-image): Doc fix.
19991 (image-animate-start): Remove second arg; just use
19992 image-animate-max-time.
19993 (image-animate-timeout): Doc fix. Args changed.
19994
19995 * image-mode.el (image-toggle-display-image): Ensure that the
19996 image spec passed to the animate timer is the same object as in
19997 the buffer's display property (Bug#6981).
19998 (image-transform-properties): Doc fix.
19999
20000 * image.el (image-animate-max-time): Default to nil.
20001
20002 2011-05-29 Martin Rudalics <rudalics@gmx.at>
20003
20004 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
20005 entire buffer list (Bug#8184).
20006
20007 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
20008
20009 * image.el (imagemagick-types-inhibit)
20010 (imagemagick-register-types): Doc fix.
20011
20012 2011-05-29 Deniz Dogan <deniz@dogan.se>
20013
20014 * net/rcirc.el (rcirc): Use the user's stored encryption method by
20015 default.
20016
20017 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
20018
20019 * select.el: Don't perform clipboard-manager saving in hooks;
20020 leave the hooks empty.
20021
20022 2011-05-28 Leo Liu <sdl.web@gmail.com>
20023
20024 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
20025 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
20026 (occur-edit-mode): New major mode (Bug#8463).
20027 (occur-after-change-function): New function.
20028 (occur-engine): Give Occur tags a read-only property.
20029
20030 2011-05-28 Kevin Ryde <user42@zip.com.au>
20031
20032 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
20033
20034 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
20035
20036 * bindings.el (help-echo): Make the initial non-indicator dash
20037 empty on graphical terminals (Bug#7295).
20038
20039 * files.el (auto-mode-alist): Move config rule after the
20040 in-stripping one (Bug#8547).
20041
20042 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
20043
20044 * startup.el (normal-splash-screen): Remove gratuitous mode-line
20045 setting (Bug#8740).
20046
20047 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
20048
20049 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
20050 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
20051 (Bug#8539).
20052
20053 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
20054
20055 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
20056
20057 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
20058
20059 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
20060 (hs-hide-block-at-point, hs-find-block-beginning)
20061 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
20062 (Bug#8279).
20063
20064 2011-05-28 Glenn Morris <rgm@gnu.org>
20065
20066 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
20067
20068 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
20069
20070 * help-fns.el (describe-function-1): If the function is a derived
20071 major mode, print the parent mode.
20072
20073 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
20074 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
20075
20076 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
20077
20078 * minibuffer.el (completion--capf-wrapper): Check applicability before
20079 returning non-nil for non-exclusive completion data.
20080 * progmodes/etags.el (tags-completion-at-point-function):
20081 * info-look.el (info-lookup-completions-at-point): Mark as
20082 non-exclusive.
20083 (info-complete): Adjust accordingly.
20084
20085 * info-look.el: Convert to lexical-binding and completion-at-point.
20086 (info-lookup-completions-at-point): New function.
20087 (info-complete): Use it and completion-in-region.
20088
20089 2011-05-28 Drew Adams <drew.adams@oracle.com>
20090
20091 * isearch.el: Let M-e start with point at the first mismatched char.
20092 (isearch-fail-pos): New function.
20093 (isearch-edit-string): Use it.
20094
20095 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
20096
20097 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
20098
20099 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
20100
20101 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
20102 traversal functions for avl-trees.
20103 (avl-tree--stack): New struct.
20104 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
20105 (avl-tree-enter): Add optional `updatefun' arg.
20106 (avl-tree--do-enter): Add optional `updatefun' arg.
20107 Change return value.
20108 (avl-tree-delete): Add optional `test' and `nilflag' args.
20109 (avl-tree--do-delete): Add `test' and `nilflag' args.
20110 Change return value.
20111 (avl-tree-member): Add optional `nilflag'
20112 (avl-tree-member-p): New function.
20113 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
20114 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
20115 (avl-tree-stack-empty-p): New functions.
20116
20117 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
20118 avl-tree--del-balance1 and make it work both ways.
20119 (avl-tree--del-balance2): Remove.
20120 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
20121 make it work both ways.
20122 (avl-tree--enter-balance2): Remove.
20123 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
20124 New macros.
20125 (avl-tree--mapc, avl-tree-map): Add direction argument.
20126
20127 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
20128
20129 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
20130
20131 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
20132
20133 * select.el: Support clipboard managers with built-in function
20134 x-clipboard-manager-save, via delete-frame-functions and
20135 kill-emacs-hook.
20136 (xselect-convert-to-targets): Add MULTIPLE target to list.
20137 (xselect-convert-to-save-targets): New function.
20138
20139 2011-05-27 Kenichi Handa <handa@m17n.org>
20140
20141 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
20142 let-binding rfc2047-encode-encoded-words to nil.
20143
20144 2011-05-27 Glenn Morris <rgm@gnu.org>
20145
20146 * mail/emacsbug.el: Don't require url-util.
20147
20148 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
20149
20150 * files.el (set-auto-mode):
20151 Also respect mode: entries at the end of the file. (Bug#8586)
20152
20153 2011-05-26 Glenn Morris <rgm@gnu.org>
20154
20155 * files.el (hack-local-variables-prop-line, hack-local-variables):
20156 Downcase mode names, as seems to be traditional.
20157 (hack-local-variables, hack-local-variables-apply): Doc fixes.
20158
20159 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
20160 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
20161
20162 2011-05-25 Julien Danjou <julien@danjou.info>
20163
20164 * textmodes/rst.el (rst-define-level-faces): Do not define face
20165 symbol if it is already defined.
20166
20167 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
20168
20169 * play/5x5.el (5x5-new-game, 5x5-randomize):
20170 Reset 5x5-solver-output to nil when a new grid is cast.
20171 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
20172 these debugging traces, as defmacro breaks the compiled code.
20173
20174 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
20175
20176 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
20177
20178 2011-05-24 Leo Liu <sdl.web@gmail.com>
20179
20180 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
20181 (vc-bzr-sha1): Adapt.
20182
20183 * sha1.el: Remove. Function `sha1' is now builtin.
20184
20185 * bindings.el: Provide sha1 feature.
20186
20187 2011-05-24 Kenichi Handa <handa@m17n.org>
20188
20189 * mail/sendmail.el: Require `rfc2047'.
20190 (mail-insert-from-field): Do not perform RFC2047 encoding.
20191 (mail-encode-header): New function.
20192 (sendmail-send-it): Set buffer-file-coding-system of the work
20193 buffer to the return value of select-message-coding-system.
20194 Call mail-encode-header.
20195
20196 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
20197
20198 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
20199
20200 * mail/supercite.el (sc-default-cite-frame):
20201 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
20202
20203 2011-05-24 Glenn Morris <rgm@gnu.org>
20204
20205 * progmodes/python.el (brm-menu): Declare.
20206
20207 * emulation/viper.el (viper-set-hooks): Declare.
20208
20209 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
20210 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
20211 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
20212 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
20213 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
20214 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
20215
20216 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
20217
20218 Add an :exit-function for completion-at-point.
20219
20220 * minibuffer.el (completion--done): New fun.
20221 (completion--do-completion): Use it. New arg `expect-exact'.
20222 (minibuffer-complete, minibuffer-complete-word): Don't output message,
20223 since completion--do-completion does it for us now.
20224 (minibuffer-force-complete): Use completion--done and
20225 completion--replace. Handle sole-completion case with more care.
20226 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
20227 (completion-extra-properties): New var.
20228 (completion-annotate-function): Make obsolete.
20229 (minibuffer-completion-help): Adjust accordingly.
20230 Use completion-list-insert-choice-function.
20231 (completion-at-point, completion-help-at-point):
20232 Bind completion-extra-properties.
20233 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
20234 * simple.el (completion-list-insert-choice-function): New var.
20235 (completion-setup-function): Preserve it.
20236 (choose-completion): Pay attention to it, shuffle the code a bit.
20237 (choose-completion-string): New arg `insert-function'.
20238
20239 * textmodes/bibtex.el: Convert to lexical binding.
20240 (bibtex-mode-map): Use completion-at-point.
20241 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
20242 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
20243 (bibtex-complete): Define as obsolete alias.
20244 (bibtex-complete-internal): Remove.
20245 (bibtex-format-entry): Remove unused sub-group in regexp.
20246 * shell.el (shell--command-completion-data)
20247 (shell-environment-variable-completion):
20248 * pcomplete.el (pcomplete-completions-at-point):
20249 * comint.el (comint--complete-file-name-data): Use :exit-function
20250 instead of completion-table-with-terminator so it also works for
20251 choose-completion.
20252
20253 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
20254
20255 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
20256
20257 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
20258 (bug#8710).
20259
20260 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
20261
20262 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
20263
20264 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
20265 customization variable and implement: If non-nil, auto-fill will
20266 be inhibited while on topic's header line.
20267
20268 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
20269
20270 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
20271 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
20272 always have a solution in grid size = 5 cases.
20273 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
20274 (5x5-solver-output, 5x5-log-buffer): New vars.
20275 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
20276 Make these variables buffer local to achieve 5x5 multi-session-ness.
20277 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
20278 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
20279 (5x5-solve-suggest): New funs.
20280 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
20281 randomize a grid so that we ensure that there is always a solution.
20282 (5x5-make-random-grid): Allow other movement than flipping.
20283
20284 2011-05-23 Kevin Ryde <user42@zip.com.au>
20285
20286 * emacs-lisp/advice.el (ad-read-advised-function):
20287 Use `function-called-at-point' as the default, if it has
20288 advice and passes PREDICATE.
20289
20290 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
20291
20292 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
20293 byte-compile-lambda if it's actually a lambda.
20294
20295 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
20296 Fix function quoting. Use backquote better.
20297
20298 2011-05-22 Yuanle Song <sylecn@gmail.com>
20299
20300 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
20301 matching (Bug#8516).
20302
20303 2011-01-22 Jari Aalto <jari.aalto@cante.net>
20304
20305 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
20306 different face (Bug#8178).
20307
20308 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
20309
20310 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
20311 defface (Bug#8144).
20312
20313 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
20314
20315 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
20316 funcall as well (bug#8712). Warn when performing those conversions.
20317 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
20318
20319 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
20320
20321 2011-05-22 Glenn Morris <rgm@gnu.org>
20322
20323 * files.el (hack-local-variables-prop-line): Small simplifications.
20324 (hack-local-variables, hack-local-variables-prop-line):
20325 If MODE-ONLY, return the mode, rather than just `t'.
20326
20327 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
20328
20329 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
20330
20331 2011-05-21 Glenn Morris <rgm@gnu.org>
20332
20333 * files.el (hack-local-variables-prop-line, hack-local-variables):
20334 If only interested in the mode, don't bother doing the other stuff.
20335
20336 * image-mode.el (image-after-revert-hook):
20337 Redraw all frames on which the image is visible. (Bug#8567)
20338
20339 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
20340
20341 * wid-edit.el (widget-checklist-match-inline):
20342 Fix 2011-04-19 change. (Bug#8649)
20343
20344 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
20345
20346 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
20347 Also allow singlespace after single-letter capitals followed by a dot.
20348
20349 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
20350 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
20351
20352 2011-05-20 Nix <nix@esperi.org.uk>
20353
20354 * files.el (basic-save-buffer-2):
20355 Fix handling of break-hardlink-on-save with non-existent files.
20356
20357 2011-05-19 Deniz Dogan <deniz@dogan.se>
20358
20359 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
20360 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
20361
20362 2011-05-19 Glenn Morris <rgm@gnu.org>
20363
20364 * progmodes/f90.el (f90-type-def-re):
20365 Handle "type, bind(c)". (Bug#8691)
20366
20367 * emacs-lisp/autoload.el (batch-update-autoloads):
20368 Set autoload-excludes by parsing loadup.el rather than Makefiles.
20369
20370 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
20371
20372 * net/tramp.el (tramp-process-actions): Set "first-password-request"
20373 property for the correct connection in case of multihops.
20374
20375 2011-05-18 Glenn Morris <rgm@gnu.org>
20376
20377 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
20378 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
20379
20380 Rationalize calendar handling of day and month abbrev-arrays.
20381 * calendar/calendar.el (calendar-customized-p): New function.
20382 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
20383 (calendar-day-name-array, calendar-month-name-array): Doc fix.
20384 Add :set function.
20385 (calendar-abbrev-length, calendar-day-abbrev-array)
20386 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
20387 (calendar-day-abbrev-array, calendar-month-abbrev-array):
20388 Elements may no longer be nil.
20389 (calendar-day-name, calendar-month-name):
20390 Update for changed nature of abbrev arrays.
20391 * calendar/diary-lib.el (diary-name-pattern):
20392 Update for changed nature of abbrev arrays.
20393 (diary-mark-entries-1): Update calendar-make-alist calls.
20394 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
20395 * calendar/cal-html.el (cal-html-day-abbrev-array):
20396 Simply inherit from calendar-day-abbrev-array.
20397
20398 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
20399
20400 * progmodes/grep.el (grep-mode): Disable default
20401 compilation-directory-matcher setting (bug#8684).
20402
20403 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
20404
20405 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
20406 instead of "head" and "tail". There were problems with SunOS 5.9,
20407 and it performs better.
20408
20409 2011-05-17 Glenn Morris <rgm@gnu.org>
20410
20411 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
20412
20413 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
20414 Replace obsolete function.
20415
20416 * shell.el (pcomplete-parse-arguments-function): Declare.
20417
20418 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
20419 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
20420 (appt-check): Doc fixes.
20421 (appt-disp-window-function, appt-delete-window-function):
20422 Remove needless special case in custom :type.
20423 (appt-display-count): Default to 0, not nil.
20424 (appt-check): Reset appt-display-count to 0, not nil.
20425
20426 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
20427
20428 * progmodes/python.el (python-font-lock-keywords):
20429 Add the Python 3.X keyword "nonlocal" (bug#8639).
20430
20431 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
20432
20433 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
20434
20435 2011-05-16 Kevin Ryde <user42@zip.com.au>
20436
20437 * info-look.el (makefile-automake-mode): New setups, looking in
20438 automake manual, then makefile-mode.
20439 (makefile-mode): Remove automake manual, have it just in
20440 makefile-automake-mode since there's various things different or
20441 not relevant to plain make.
20442 (makefile-mode): Remove "other-modes" non-existent automake-mode,
20443 believe a hypothetical automake-mode would go to makefile-mode,
20444 not the other way around.
20445
20446 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
20447
20448 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
20449 hunk-end tags (Bug#8672).
20450
20451 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
20452 vc-annotate-show-diff-revision-at-line (Bug#8671).
20453
20454 2011-05-14 Glenn Morris <rgm@gnu.org>
20455
20456 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
20457 in the middle of an existing one with multiple authors. (Bug#8645)
20458 (change-log-font-lock-keywords): Also handle multiple author lines
20459 with leading tabs. (Bug#8644)
20460
20461 * calendar/appt.el (appt-check): Rename some local variables.
20462 Some simplification/reordering.
20463
20464 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
20465 (feedmail-sendmail-f-doesnt-sell-me-out)
20466 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
20467 (feedmail-debug-sit-for, feedmail-queue-express-hook)
20468 (feedmail-queue-runner-message-sender): Set :version.
20469 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
20470 (bbdb-dwim-net-address, vm-mail): Declare.
20471 (feedmail-binmail-gnulinuxish-template):
20472 Rename from feedmail-binmail-linuxish-template.
20473 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
20474 Use insert-buffer-substring.
20475
20476 2011-05-14 Bill Carpenter <bill@carpenter.org>
20477
20478 * mail/feedmail.el (feedmail-patch-level): Increase.
20479 (feedmail-debug): New custom group.
20480 (feedmail-confirm-outgoing-timeout)
20481 (feedmail-sendmail-f-doesnt-sell-me-out)
20482 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
20483 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
20484 (feedmail-sender-line, feedmail-from-line)
20485 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
20486 (feedmail-spray-this-address)
20487 (feedmail-spray-address-fiddle-plex-list)
20488 (feedmail-queue-use-send-time-for-date)
20489 (feedmail-queue-use-send-time-for-message-id)
20490 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
20491 (feedmail-buffer-eating-function):
20492 Doc fixes.
20493 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
20494 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
20495 (feedmail-message-action-scroll-down): New functions.
20496 (feedmail-queue-directory, feedmail-queue-draft-directory):
20497 Use expand-file-name.
20498 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
20499 Remove C-v help entry.
20500 (feedmail-queue-buffer-file-name): New variable.
20501 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
20502 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
20503 (feedmail-message-action-send-strong, feedmail-message-action-edit)
20504 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
20505 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
20506 (feedmail-message-action-toggle-spray)
20507 (feedmail-run-the-queue-no-prompts)
20508 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
20509 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
20510 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
20511 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
20512 (feedmail-envelope-deducer, feedmail-fiddle-from)
20513 (feedmail-fiddle-sender, feedmail-default-date-generator)
20514 (feedmail-fiddle-date, feedmail-fiddle-message-id)
20515 (feedmail-fiddle-spray-address)
20516 (feedmail-fiddle-list-of-spray-fiddle-plexes)
20517 (feedmail-fiddle-list-of-fiddle-plexes)
20518 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
20519 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
20520 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
20521 Change default. Doc fix.
20522 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
20523 (feedmail-binmail-linuxish-template): New constant.
20524 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
20525 Respect feedmail-sendmail-f-doesnt-sell-me-out.
20526 (feedmail-send-it): Add debug call.
20527 Use feedmail-queue-buffer-file-name, and
20528 feedmail-send-it-immediately-wrapper.
20529 (feedmail-message-action-send): Add debug call.
20530 Use feedmail-send-it-immediately-wrapper.
20531 (feedmail-queue-express-to-queue): Add debug call.
20532 Run feedmail-queue-express-hook.
20533 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
20534 (feedmail-message-action-help-blat):
20535 Rename from feedmail-queue-send-edit-prompt-help-first.
20536 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
20537 Check line-endings. Handle errors better.
20538 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
20539 Doc fix. Add debug call.
20540 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
20541 Use feedmail-queue-send-edit-prompt-inner.
20542 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
20543 (feedmail-queue-send-edit-prompt-inner): New function, extracted
20544 from feedmail-queue-send-edit-prompt.
20545 (feedmail-queue-send-edit-prompt-help)
20546 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
20547 (feedmail-tidy-up-slug): Add debug call.
20548 Respect feedmail-queue-slug-suspect-regexp.
20549 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
20550 (feedmail-dump-message-to-queue): Add debug call.
20551 Expand queue-directory.
20552 (feedmail-dump-message-to-queue): Change message slightly.
20553 Use feedmail-say-chatter.
20554 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
20555 (feedmail-send-it-immediately-wrapper): New function.
20556 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
20557 Insert empty string rather than newline. Handle full-frame case.
20558 Use catch/throw. Use feedmail-say-chatter.
20559 (feedmail-fiddle-from): Try mail-host-address.
20560 (feedmail-default-message-id-generator): Doc fix.
20561 Bind system-time-locale. Handle missing end.
20562 (feedmail-fiddle-x-mailer): Add debug call.
20563 Handle feedmail-x-mailer-line being nil.
20564 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
20565 Add debug call. Use buffer-substring-no-properties.
20566 (feedmail-say-debug, feedmail-say-chatter): New functions.
20567 (feedmail-find-eoh): Give an explicit error.
20568
20569 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
20570
20571 * net/newst-treeview.el (newsticker-treeview-face): Change default
20572 family from helvetica to sans.
20573 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
20574 etc/images/newsticker.
20575
20576 * net/newst-reader.el (newsticker-feed-face): Change default
20577 family from helvetica to sans.
20578
20579 * net/newst-plainview.el (newsticker-new-item-face)
20580 (newsticker-old-item-face, newsticker-immortal-item-face)
20581 (newsticker-obsolete-item-face, newsticker-date-face)
20582 (newsticker-statistics-face): Change default family from
20583 helvetica to sans.
20584 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
20585 etc/images/newsticker.
20586
20587 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
20588 (newsticker--process-auto-mark-filter-match): Tell user about
20589 auto-marking.
20590
20591 2011-05-13 Didier Verna <didier@xemacs.org>
20592
20593 Common Lisp indentation improvements on defmethod and lambda-lists.
20594 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
20595 TODO entries.
20596 (lisp-lambda-list-keyword-parameter-indentation)
20597 (lisp-lambda-list-keyword-parameter-alignment)
20598 (lisp-lambda-list-keyword-alignment): New customizable user options.
20599 (lisp-indent-defun-method): Improve docstring.
20600 (extended-loop-p): Fix comment.
20601 (lisp-indent-lambda-list-keywords-regexp): New variable.
20602 (lisp-indent-lambda-list): New function.
20603 (lisp-indent-259): Use it.
20604 (lisp-indent-defmethod): Support for more than one
20605 method qualifier and properly indent methods lambda-lists.
20606 (defgeneric): Provide a missing common-lisp-indent-function property.
20607
20608 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
20609
20610 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
20611 bounds for the empty string (bug#8667).
20612
20613 2011-05-13 Glenn Morris <rgm@gnu.org>
20614
20615 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
20616
20617 * mail/sendmail.el (sendmail-program): Try executable-find first.
20618 (sendmail-send-it): `sendmail-program' cannot be unbound.
20619
20620 * calendar/appt.el (appt-make-list): Simplify.
20621 (appt-time-msg-list): Doc fix.
20622 (appt-check): Change mode-line message at the time of the appointment.
20623
20624 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
20625
20626 * progmodes/ld-script.el (ld-script-keywords)
20627 (ld-script-builtins): Update keywords list.
20628
20629 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
20630
20631 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
20632
20633 * shell.el (shell-completion-vars): New function.
20634 (shell-mode):
20635 * simple.el (read-shell-command): Use it.
20636 (blink-matching-open): No need for " [...]" in minibuffer-message.
20637
20638 2011-05-12 Glenn Morris <rgm@gnu.org>
20639
20640 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
20641 (appt-check): Simplify.
20642
20643 2011-05-12 Eli Zaretskii <eliz@gnu.org>
20644
20645 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
20646 literal "/dev/null".
20647
20648 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
20649
20650 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
20651 Fix typo.
20652
20653 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
20654
20655 * progmodes/which-func.el (which-function):
20656 Use add-log-current-defun instead of add-log-current-defun-function,
20657 which might not be defined (Bug#8260).
20658
20659 2011-05-12 Glenn Morris <rgm@gnu.org>
20660
20661 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
20662 Let byte-compile-initial-macro-environment always take precedence.
20663
20664 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
20665
20666 * net/rcirc.el: Add support for SSL/TLS connections.
20667 (rcirc-server-alist): New field `encryption'.
20668 (rcirc): Check `encryption' settings.
20669 (rcirc-connect): New arg `encryption'. Use open-network-stream.
20670 Merge make-local-variable into `set'.
20671 (rcirc--connection-open-p): New function.
20672 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
20673 the process is not a network process (e.g. running gnutls-cli).
20674 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
20675 Make rcirc-(en|de)code-coding-system local here.
20676 (rcirc-mode): Merge make-local-variable into `set'.
20677 (rcirc-parent-buffer): Make permanent buffer-local.
20678 (rcirc-multiline-minor-mode): Don't do it here.
20679 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
20680 there's no server buffer.
20681
20682 2011-05-11 Glenn Morris <rgm@gnu.org>
20683
20684 * newcomment.el (comment-kill): Prefix "unused" local.
20685
20686 * term/w32console.el (get-screen-color): Declare.
20687
20688 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
20689 Handle symbol elements of byte-compile-initial-macro-environment.
20690
20691 2011-05-10 Leo Liu <sdl.web@gmail.com>
20692
20693 * bookmark.el (bookmark-bmenu-mode-map):
20694 Bind bookmark-bmenu-search to `/'.
20695
20696 * mail/footnote.el: Convert to utf-8 encoding.
20697 (footnote-unicode-string, footnote-unicode-regexp): New variable.
20698 (Footnote-unicode): New function.
20699 (footnote-style-alist): Add unicode style to the list.
20700 (footnote-style): Doc fix.
20701
20702 2011-05-10 Jim Meyering <meyering@redhat.com>
20703
20704 Fix doubled-word typos.
20705 * international/quail.el (quail-insert-kbd-layout): and and -> and
20706 * kermit.el: and and -> and
20707 * net/ldap.el (ldap-search-internal): to to -> to
20708 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
20709 * progmodes/js.el (js-mode): and and -> and
20710 * textmodes/artist.el (artist-move-to-xy): at at -> at
20711 (artist-draw-region-trim-line-endings): if if -> if
20712 And Safetyc -> Safety.
20713 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
20714
20715 2011-05-10 Glenn Morris <rgm@gnu.org>
20716 Stefan Monnier <monnier@iro.umontreal.ca>
20717
20718 * files.el (hack-one-local-variable-eval-safep):
20719 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
20720
20721 2011-05-10 Glenn Morris <rgm@gnu.org>
20722
20723 * calendar/diary-lib.el (diary-list-entries-hook)
20724 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
20725 (diary-nongregorian-marking-hook, diary-list-entries)
20726 (diary-include-other-diary-files, diary-mark-entries)
20727 (diary-mark-included-diary-files): Doc fixes.
20728
20729 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
20730
20731 * misc.el: Require tabulated-list.el during compilation.
20732
20733 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
20734
20735 * progmodes/compile.el (compilation-start):
20736 Run compilation-filter-hook for the async case too.
20737 (compilation-filter-hook): Doc fix.
20738
20739 2011-05-09 Deniz Dogan <deniz@dogan.se>
20740
20741 * wdired.el: Remove outdated installation comment. Fix usage
20742 comment.
20743
20744 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
20745
20746 * misc.el: Implement new command `list-dynamic-libraries'.
20747 (list-dynamic-libraries--loaded-only-p): New variable.
20748 (list-dynamic-libraries--refresh): New function.
20749 (list-dynamic-libraries): New command.
20750
20751 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
20752
20753 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20754 Fix the ant regexp to handle end-line and end-column info from jikes.
20755 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
20756 higher priority to avoid clobbering by gnu.
20757
20758 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
20759
20760 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
20761 if the face has existing theme settings (Bug#8454).
20762
20763 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
20764
20765 * progmodes/perl-mode.el (perl-imenu-generic-expression):
20766 Only match variables declared via `my' or `our' (Bug#8261).
20767
20768 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
20769 special file names `.' and `..' (Bug#8259).
20770
20771 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
20772
20773 * progmodes/grep.el (grep-mode-font-lock-keywords):
20774 Remove buffer-changing entries.
20775 (grep-filter): New function.
20776 (grep-mode): Add it to compilation-filter-hook.
20777
20778 * progmodes/compile.el (compilation-filter-hook)
20779 (compilation-filter-start): New defvars.
20780 (compilation-filter): Call compilation-filter-hook prior to
20781 updating the process mark.
20782
20783 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
20784
20785 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
20786
20787 2011-05-07 Eli Zaretskii <eliz@gnu.org>
20788
20789 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
20790 mailclient-send-it even if window-system is nil. (Bug#8595)
20791
20792 * term/w32console.el (terminal-init-w32console):
20793 Call get-screen-color and use its output to set the frame
20794 background-mode. (Bug#8597)
20795
20796 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
20797
20798 Make bytecomp.el understand that defmethod defines funs (bug#8631).
20799 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
20800 New functions.
20801 (defgeneric, eieio--defmethod): Use them.
20802 (eieio-defgeneric): Remove.
20803 (defmethod): Call defgeneric in a way visible to the byte-compiler.
20804
20805 2011-05-07 Glenn Morris <rgm@gnu.org>
20806
20807 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
20808 Use let rather than let*.
20809 (timeclock-find-discrep): Remove unused local.
20810
20811 * calendar/diary-lib.el (diary-comment-start): Doc fix.
20812
20813 * calendar/appt.el (appt-time-msg-list): Doc fix.
20814
20815 2011-05-06 Noah Friedman <friedman@splode.com>
20816
20817 * apropos.el (apropos-print-doc): Only use
20818 emacs-lisp-docstring-fill-column when it is bound to an integer,
20819 per that variable's documentation.
20820
20821 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
20822
20823 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
20824 and warnings are not silently discarded (e.g. use -d instead of -P).
20825
20826 2011-05-06 Glenn Morris <rgm@gnu.org>
20827
20828 * calendar/appt.el (appt-message-warning-time): Doc fix.
20829 (appt-warning-time-regexp): New option.
20830 (appt-make-list): Respect appt-message-warning-time.
20831
20832 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
20833 New options.
20834 (diary-add-to-list): Strip comments from the displayed string.
20835 (diary-mode): Set comment-start and comment-end.
20836
20837 * vc/diff-mode.el (smerge-refine-subst): Declare.
20838 (diff-refine-hunk): Don't require smerge-mode when compiling.
20839
20840 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
20841
20842 * simple.el (list-processes): Return nil as the docstring says.
20843
20844 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
20845
20846 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
20847 to "".
20848 (ange-ftp-write-region, ange-ftp-insert-file-contents)
20849 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
20850 determining of binary transfer. (Bug#7383)
20851
20852 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
20853
20854 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20855 Fix port computation bug. (Bug#8618)
20856
20857 2011-05-05 Glenn Morris <rgm@gnu.org>
20858
20859 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
20860
20861 * simple.el (shell-dynamic-complete-functions)
20862 (comint-dynamic-complete-functions): Declare.
20863
20864 * net/network-stream.el (gnutls-negotiate):
20865 * simple.el (tabulated-list-print): Fix declarations.
20866
20867 * progmodes/gud.el (syntax-symbol, syntax-point):
20868 Remove unnecessary and incorrect declarations.
20869
20870 * emacs-lisp/check-declare.el (check-declare-scan):
20871 Handle byte-compile-initial-macro-environment in bytecomp.el.
20872
20873 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
20874
20875 Fix earlier half-done eieio-defmethod change (bug#8338).
20876 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
20877 Streamline and change calling convention.
20878 (defmethod): Adjust accordingly and simplify.
20879 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
20880 new eieio--defmethod.
20881 (slot-boundp): Minor CSE simplification.
20882
20883 2011-05-05 Milan Zamazal <pdm@zamazal.org>
20884
20885 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
20886 (glasses-make-readable): Use glasses-separate-capital-groups.
20887
20888 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
20889
20890 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
20891 (warning-series): Doc fix.
20892 (display-warning): Don't try to create the buffer if we just found it.
20893
20894 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
20895
20896 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
20897 (autoload-find-generated-file): New function.
20898 (generate-file-autoloads): Bind generated-autoload-file to
20899 buffer-file-name.
20900 (update-file-autoloads, update-directory-autoloads):
20901 Use autoload-find-generated-file. If called interactively, prompt for
20902 output file (Bug#7989).
20903 (batch-update-autoloads): Doc fix.
20904
20905 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
20906
20907 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
20908
20909 2011-05-04 Glenn Morris <rgm@gnu.org>
20910
20911 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
20912 function, so it follows changes in calendar-date-style.
20913 (diary-fancy-date-matcher): New function.
20914 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
20915 (diary-fancy-font-lock-fontify-region-function):
20916 Use diary-fancy-date-pattern as a function.
20917
20918 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
20919 non-numbers for `year' etc pseudo-variables. (Bug#8583)
20920
20921 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
20922
20923 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
20924 instead of positional arguments. Allow :keylist and :crlfiles
20925 arguments.
20926 (open-gnutls-stream): Call it.
20927
20928 * net/network-stream.el (network-stream-open-starttls): Adjust to
20929 call `gnutls-negotiate' with :process and :hostname arguments.
20930
20931 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
20932
20933 * minibuffer.el (completion--message): New function.
20934 (completion--do-completion, minibuffer-complete)
20935 (minibuffer-force-complete, minibuffer-complete-word): Use it.
20936 (completion--do-completion): Don't ignore completion-auto-help when in
20937 icomplete-mode.
20938
20939 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
20940 internal encoding (e.g. tibetan zero is not whitespace).
20941 (global-whitespace-mode): Prefer save-current-buffer.
20942 (whitespace-trailing-regexp): Remove useless save-match-data.
20943 (whitespace-empty-at-bob-regexp): Minor simplification.
20944
20945 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
20946
20947 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
20948
20949 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
20950
20951 * textmodes/ispell.el (ispell-add-per-file-word-list):
20952 Use `concat' to create string for insertion.
20953
20954 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
20955
20956 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
20957 Avoid open-line which runs post-self-insert-hook.
20958 (bibtex-fill-entry): Remove unused `end' var.
20959
20960 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
20961
20962 * textmodes/ispell.el (ispell-add-per-file-word-list):
20963 Protect against `nil' value of `comment-start' (Bug#8579).
20964
20965 2011-05-03 Leo Liu <sdl.web@gmail.com>
20966
20967 * isearch.el (isearch-yank-pop): New command.
20968 (isearch-mode-map): Bind it to `M-y'.
20969 (isearch-forward): Mention it.
20970
20971 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
20972
20973 * simple.el (minibuffer-complete-shell-command): Remove.
20974 (minibuffer-local-shell-command-map): Use completion-at-point.
20975 (read-shell-command): Setup completion vars here instead.
20976 (read-expression-map): Bind TAB to symbol completion.
20977
20978 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
20979 error directly rather via storing it into `results'.
20980
20981 2011-05-02 Leo Liu <sdl.web@gmail.com>
20982
20983 * vc/diff.el: Fix description.
20984
20985 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20986
20987 * server.el (server-eval-at): New function.
20988
20989 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
20990
20991 * net/network-stream.el (open-network-stream): Take a :nowait
20992 parameter and pass it on to `make-network-process'.
20993 (network-stream-open-plain): Ditto.
20994
20995 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
20996
20997 * faces.el (face-spec-set-match-display): Don't match toolkit
20998 options on terminal frames.
20999
21000 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
21001
21002 * progmodes/pascal.el: Use lexical binding.
21003 (pascal-mode-map): Remove author preferences.
21004
21005 * pcomplete.el (pcomplete-std-complete): Don't abuse
21006 completion-at-point.
21007
21008 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
21009
21010 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
21011 removing code that has been dead since 1991 or so.
21012
21013 * startup.el (command-line): When warning about "_emacs", use a
21014 delayed warning to allow the user to filter it out.
21015
21016 2011-04-28 Deniz Dogan <deniz@dogan.se>
21017
21018 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
21019 user has not joined.
21020
21021 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
21022
21023 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
21024 aren't any completions at point.
21025
21026 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
21027
21028 * subr.el (display-delayed-warnings): New function.
21029 (delayed-warnings-hook): New variable.
21030
21031 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
21032
21033 * minibuffer.el (completion-at-point, completion-help-at-point):
21034 Don't presume that a given completion-at-point-function will always
21035 use the same calling convention.
21036
21037 * pcomplete.el (pcomplete-completions-at-point):
21038 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
21039 pcomplete-seen is non-nil.
21040 (pcomplete-comint-setup): Also recognize the new comint/shell
21041 completion functions.
21042 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
21043 pcomplete-seen is non-nil.
21044
21045 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
21046
21047 * calendar/icalendar.el (diary-lib): Add require statement.
21048 (icalendar--create-uid): Read out a uid from a text-property on
21049 the first character in the entry. This allows for code to add its
21050 own uid to the entry.
21051 (icalendar--convert-float-to-ical): Add export of
21052 `diary-float'-entries save for those with the optional DAY
21053 argument.
21054
21055 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
21056
21057 * subr.el (shell-quote-argument): Use alternate escaping strategy
21058 when we spot a variable reference in a string.
21059
21060 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
21061
21062 * cus-start.el (all): Define customization for debug-on-event.
21063
21064 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
21065
21066 * subr.el (shell-quote-argument): Escape correctly under Windows.
21067
21068 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
21069
21070 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
21071
21072 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
21073
21074 * net/tramp.el (tramp-process-actions): Add POS argument.
21075 Delete region between POS and (pos).
21076
21077 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
21078 Use `nil' position in `tramp-process-actions' call.
21079 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
21080
21081 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
21082 position in `tramp-process-actions' call.
21083
21084 * net/trampver.el: Update release number.
21085
21086 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
21087
21088 * custom.el (defcustom): Obey lexical-binding.
21089
21090 Fix octave-inf completion problems reported by Alexander Klimov.
21091 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
21092 Inherit from octave-mode-syntax-table.
21093 (inferior-octave-mode): Set info-lookup-mode.
21094 (inferior-octave-completion-at-point): New function.
21095 (inferior-octave-complete): Use it and completion-in-region.
21096 (inferior-octave-dynamic-complete-functions): Use it as well, and use
21097 comint-filename-completion.
21098 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
21099 symbol elements which shouldn't be word elements.
21100 (octave-font-lock-keywords, octave-beginning-of-defun)
21101 (octave-function-header-regexp): Adjust regexps accordingly.
21102 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
21103
21104 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
21105
21106 * net/gnutls.el (gnutls-errorp): Declare before first use.
21107
21108 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
21109
21110 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
21111 verify-error, and verify-hostname-error parameters. Check whether
21112 default trustfile exists before going to use it. Add missing
21113 argument to gnutls-message-maybe call. Return value.
21114 Reported by Claudio Bley <claudio.bley@gmail.com>.
21115 (open-gnutls-stream): Add usage example.
21116
21117 * net/network-stream.el (network-stream-open-starttls): Give host
21118 parameter to `gnutls-negotiate'.
21119 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
21120 * subr.el (shell-quote-argument): Escape correctly under Windows.
21121
21122 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
21123
21124 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
21125 Use correct match group (bug#8438).
21126
21127 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
21128
21129 * emacs-lisp/package.el (package-built-in-p): Fix typo.
21130 (package-menu--generate): New arg specifying packages to show.
21131 (package-menu-refresh, package-menu-execute, list-packages):
21132 Callers changed.
21133 (package-show-package-list): New function, replacing deleted
21134 package--list-packages (renamed because it is non-internal).
21135
21136 * finder.el (finder-list-matches): Use package-show-package-list
21137 instead of deleted package--list-packages.
21138
21139 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
21140 Based on a previous implementation by Juanma Barranquero (Bug#8366).
21141 (vc-annotate-mode-map): Bind it to RET.
21142
21143 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
21144
21145 * progmodes/etags.el (next-file): Don't use set-buffer to change
21146 buffers (Bug#8478).
21147
21148 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
21149
21150 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
21151
21152 * apropos.el (apropos-label-face): Avoid variable-pitch face.
21153 (apropos-accumulator): Doc fix.
21154 (apropos-function, apropos-macro, apropos-command)
21155 (apropos-variable, apropos-face, apropos-group, apropos-widget)
21156 (apropos-plist): Add face property.
21157 (apropos-symbols-internal): Fix indentation.
21158 (apropos-print): Simplify help, and recognize apropos-multi-type.
21159 (apropos-print-doc): Use button-type-get to extract the button's
21160 face property. Fill docstring (Bug#8352).
21161
21162 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
21163
21164 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
21165
21166 * play/mpuz.el (mpuz-silent): Doc fix.
21167 (mpuz-mode-map): Use mapc.
21168 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
21169 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
21170 Fix typos in docstrings.
21171
21172 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
21173 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
21174
21175 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
21176
21177 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
21178
21179 * minibuffer.el (completion--do-completion): Avoid the "Next char
21180 not unique" prompt if icomplete-mode is enabled (Bug#5849).
21181
21182 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
21183 mouse-2 into unread-command-events, it is interpreted correctly.
21184
21185 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
21186 (image-toggle-display): Doc fix.
21187
21188 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
21189
21190 * textmodes/page.el (what-page): Use line-number-at-pos to
21191 calculate line number (Bug#6825).
21192
21193 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
21194
21195 * eshell/esh-mode.el (find-tag-interactive): Declare function.
21196 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
21197 Pass argument NO-DEFAULT to `find-tag-interactive'.
21198
21199 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
21200
21201 Lexical-binding cleanup.
21202
21203 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
21204 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
21205 * progmodes/ada-prj.el (ada-prj-initialize-values)
21206 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
21207 (ada-prj-show-value):
21208 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
21209 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
21210 (antlr-invalidate-context-cache, antlr-options-menu-filter)
21211 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
21212 * progmodes/bug-reference.el (bug-reference-push-button):
21213 * progmodes/fortran.el (fortran-line-length):
21214 * progmodes/glasses.el (glasses-change):
21215 * progmodes/octave-mod.el (octave-fill-paragraph):
21216 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
21217 (python-pdbtrack-grub-for-buffer, python-sentinel):
21218 * progmodes/sql.el (sql-save-connection):
21219 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
21220 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
21221 Mark unused parameters.
21222
21223 * progmodes/compile.el (compilation--flush-directory-cache)
21224 (compilation--flush-parse, compile-internal): Mark unused parameters.
21225 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
21226 (compilation-next-error-function): Remove unused variable `timestamp'.
21227
21228 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
21229 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
21230
21231 * progmodes/dcl-mode.el (dcl-end-of-command):
21232 Remove unused variable `start'.
21233 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
21234 (dcl-option-value-basic, dcl-option-value-offset)
21235 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
21236 Mark unused parameters.
21237 (dcl-save-local-variable): Remove unused variable `val'.
21238 (mode): Declare.
21239
21240 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
21241 Mark unused parameters.
21242 (delphi-ignore-changes): Move before first use.
21243 (delphi-charset-token-at): Remove unused variable `start'.
21244 (delphi-else-start): Remove unused variable `if-count'.
21245 (delphi-comment-block-start, delphi-comment-block-end):
21246 Remove unused variable `kind'.
21247 (delphi-indent-line): Remove unused variable `new-point'.
21248
21249 * progmodes/ebrowse.el (ebrowse-files-list)
21250 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
21251 Mark unused parameters. Don't quote `lambda'.
21252 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
21253 Don't quote `lambda'.
21254 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
21255 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
21256 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
21257 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
21258 Use `ignore-errors'.
21259 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
21260 (ebrowse-view/find-file-and-search-pattern)
21261 (ebrowse-view/find-member-declaration/definition):
21262 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
21263 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
21264 Rename parameter PREFIX-ARG to PREFIX.
21265 (ebrowse-tags-read-name): Remove unused variables `start' and
21266 `member-info'.
21267 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
21268 to `tags-file'.
21269
21270 * progmodes/etags.el (local-find-tag-hook): Declare.
21271 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
21272 Mark unused parameters.
21273
21274 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
21275 (executable-interpret): Mark unused parameter.
21276
21277 * progmodes/flymake.el (flymake-process-sentinel)
21278 (flymake-after-change-function)
21279 (flymake-create-temp-with-folder-structure)
21280 (flymake-get-include-dirs-dot): Mark unused parameters.
21281 (flymake-safe-delete-directory): Remove unused variable `err'.
21282
21283 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
21284 (speedbar-timer-fn, speedbar-line-text)
21285 (speedbar-change-expand-button-char, speedbar-delete-subblock)
21286 (speedbar-center-buffer-smartly): Declare functions.
21287 (gdb-find-watch-expression): Remove unused variable `array'.
21288 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
21289 (gdb-starting): Mark unused parameters.
21290 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
21291 (gdb-table-string): Remove unused variable `res'.
21292 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
21293 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
21294 (gdb-display-buffer): Remove unused variable `cur-size'.
21295
21296 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
21297 allow lexical-binding compilation.
21298 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
21299 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
21300 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
21301 Mark unused parameters.
21302 (gud-gdb-marker-filter): Remove unused variable `match'.
21303 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
21304 lambda expressions and funcall them, instead of using `fset'.
21305
21306 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
21307 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
21308
21309 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
21310 variable `header-beg'; use `let'.
21311
21312 * progmodes/icon.el (indent-icon-exp): Remove unused variables
21313 `restart', `last-sexp' and `at-do'.
21314
21315 * progmodes/js.el (js--debug): Mark unused parameter.
21316 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
21317 (js--splice-into-items): Remove unused variable `item'.
21318 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
21319
21320 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
21321 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
21322 (makefile-complete): Remove unused variable `try'.
21323 (makefile-fill-paragraph, makefile-match-function-end):
21324 Mark unused parameters.
21325
21326 * progmodes/octave-inf.el (inferior-octave-complete):
21327 Remove unused variable `proc'.
21328 (inferior-octave-output-digest): Mark unused parameter.
21329
21330 * progmodes/perl-mode.el (perl-calculate-indent):
21331 Remove unused variable `err'.
21332
21333 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
21334 (prolog-indent-line): Mark unused parameters.
21335 (prolog-indent-line): Remove unused variable `beg'.
21336
21337 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
21338 (reporter-dont-compact-list): Declare.
21339
21340 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
21341 Remove unused variable `char'.
21342 (sh-debug): Mark unused parameter.
21343 (sh-get-indent-info): Remove unused variable `start'.
21344 (sh-calculate-indent): Remove unused variable `var'.
21345
21346 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
21347 (simula-electric-keyword): Remove unused variable `null'.
21348 (simula-search-backward, simula-search-forward): Remove unused
21349 variables `begin' and `end'.
21350
21351 * progmodes/vera-mode.el (vera-guess-basic-syntax):
21352 Remove unused variable `pos'.
21353 (vera-electric-tab, vera-comment-uncomment-region):
21354 Mark unused parameters.
21355 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
21356
21357 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
21358
21359 * emacs-lisp/package.el (package--builtins, package-alist)
21360 (package-load-descriptor, package-built-in-p, package-activate)
21361 (define-package, package-installed-p)
21362 (package-compute-transaction, package-buffer-info)
21363 (package--push): Doc fix. Distinguish more clearly between
21364 version strings and version lists.
21365
21366 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
21367
21368 Lexical-binding cleanup.
21369
21370 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
21371 (5x5-make-mutate-best):
21372 * play/fortune.el (fortune-in-buffer):
21373 * play/gomoku.el (gomoku-init-display):
21374 * play/solitaire.el (solitaire, solitaire-do-check):
21375 * play/tetris.el (tetris-default-update-speed-function):
21376 Mark unused parameters.
21377
21378 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
21379 (bubbles--shift): Remove unused variable `char-org'.
21380 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
21381 (bubbles--show-images): Remove unused variable `char'.
21382
21383 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
21384 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
21385 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
21386 (decipher-analyze-buffer): Use ?\s.
21387 (decipher-make-checkpoint): Remove unused variable `mapping'.
21388
21389 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
21390
21391 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
21392 Remove unused variable `result'; use `let'.
21393
21394 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
21395 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
21396 (gametree-children-shown-p, gametree-compute-reduced-score):
21397 Use `ignore-errors'.
21398
21399 * play/handwrite.el (ps-lpr-switches): Declare.
21400 (handwrite): Remove unused variables `pmin' and `lastp'.
21401
21402 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
21403
21404 * play/landmark.el (landmark-init-display)
21405 (landmark-update-naught-weights): Mark unused parameters.
21406 (landmark-y): Remove unused variable `noise'. Simplify.
21407 (landmark-human-plays): Remove unused variable `score'.
21408
21409 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
21410 (mpuz-try-proposal): Remove unused variable `game'.
21411
21412 * play/zone.el (life-patterns): Declare.
21413
21414 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
21415
21416 * vc/vc.el (ediff-vc-internal): Declare function.
21417
21418 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
21419
21420 * shell.el: Use lexical-binding and std completion UI.
21421 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
21422 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
21423 comint-preoutput-filter-functions rather than on
21424 comint-output-filter-functions.
21425 (shell-command-completion, shell--command-completion-data)
21426 (shell-filename-completion, shell-environment-variable-completion)
21427 (shell-c-a-p-replace-by-expanded-directory): New functions.
21428 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
21429 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
21430 (shell-dynamic-complete-environment-variable): Use them.
21431 (shell-dynamic-complete-as-environment-variable)
21432 (shell-dynamic-complete-as-command): Remove.
21433 (shell-match-partial-variable): Match past point.
21434 * comint.el: Clean up use of completion-at-point-functions.
21435 (comint-completion-at-point): New function.
21436 (comint-mode): Use it completion-at-point-functions.
21437 (comint-dynamic-complete): Make it obsolete.
21438 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
21439 (comint-c-a-p-replace-by-expanded-history): New function.
21440 (comint-dynamic-complete-functions)
21441 (comint-replace-by-expanded-history): Use it.
21442 * minibuffer.el (completion-table-with-terminator): Allow dynamic
21443 termination strings. Try harder to avoid second try-completion.
21444 (completion-in-region-mode-map): Disable bindings that don't work yet.
21445
21446 * comint.el: Use lexical-binding. Require CL.
21447 (comint-dynamic-complete-functions): Use comint-filename-completion.
21448 (comint-completion-addsuffix): Tweak custom type.
21449 (comint-filename-completion, comint--common-suffix)
21450 (comint--common-quoted-suffix, comint--table-subvert)
21451 (comint--complete-file-name-data): New functions.
21452 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
21453 (comint-dynamic-list-filename-completions): Use them.
21454 (comint-dynamic-simple-complete): Make obsolete.
21455
21456 * minibuffer.el (completion-in-region-mode):
21457 Keep completion-in-region-mode--predicate global.
21458 (completion-in-region--postch):
21459 Assume completion-in-region-mode--predicate is not null.
21460
21461 * progmodes/flymake.el (flymake-start-syntax-check-process):
21462 Obey `dir'. Simplify.
21463
21464 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
21465 we're in VC after all.
21466
21467 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
21468
21469 * vc/vc.el (vc-diff-build-argument-list-internal)
21470 (vc-version-ediff, vc-ediff): New commands.
21471 (vc-version-diff): Use vc-diff-build-argument-list-internal.
21472
21473 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
21474
21475 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
21476 add sanity check.
21477
21478 * obsolete/erc-hecomplete.el: Make obsolete.
21479 * obsolete/: Standardize obsolescence info in the header.
21480
21481 2011-04-20 Glenn Morris <rgm@gnu.org>
21482
21483 * calendar/solar.el (solar-horizontal-coordinates):
21484 Use the longitude argument rather than `calendar-longitude'.
21485 (solar-date-next-longitude): Remove unused locals.
21486
21487 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
21488
21489 * whitespace.el: New version 13.2.1.
21490
21491 2011-04-20 felix <EmacsWiki> (tiny change)
21492
21493 * whitespace.el (global-whitespace-mode): Keep highlight when
21494 switching between major modes on a file.
21495
21496 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
21497
21498 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
21499 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
21500 multi-line comments as well.
21501
21502 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
21503
21504 Lexical-binding cleanup.
21505
21506 * arc-mode.el (archive-mode-revert):
21507 * cmuscheme.el (scheme-interactively-start-process):
21508 * custom.el (custom-initialize-delay):
21509 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
21510 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
21511 * emacs-lock.el (emacs-lock-clear-sentinel):
21512 * ezimage.el (defezimage):
21513 * follow.el (follow-avoid-tail-recenter):
21514 * fringe.el (set-fringe-mode-1):
21515 * generic-x.el (bat-generic-mode-compile):
21516 * help-mode.el (help-info-variable, help-do-xref)
21517 (help-mode-revert-buffer):
21518 * help.el (view-emacs-todo):
21519 * iswitchb.el (iswitchb-completion-help):
21520 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
21521 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
21522 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
21523 * locate.el (locate-update):
21524 * longlines.el (longlines-encode-region)
21525 (longlines-after-change-function):
21526 * outline.el (outline-isearch-open-invisible):
21527 * ps-def.el (declare-function, charset-dimension, char-width)
21528 (encode-char):
21529 * ps-mule.el (ps-mule-plot-string):
21530 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
21531 (recentf-edit-list-select, recentf-edit-list-validate)
21532 (recentf-open-files-action):
21533 * rect.el (delete-whitespace-rectangle-line)
21534 (rectangle-number-line-callback):
21535 * register.el (window-configuration-to-register)
21536 (frame-configuration-to-register):
21537 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
21538 * select.el (xselect-convert-to-string, xselect-convert-to-length)
21539 (xselect-convert-to-targets, xselect-convert-to-delete)
21540 (xselect-convert-to-filename, xselect-convert-to-charpos)
21541 (xselect-convert-to-lineno, xselect-convert-to-colno)
21542 (xselect-convert-to-os, xselect-convert-to-host)
21543 (xselect-convert-to-user, xselect-convert-to-class)
21544 (xselect-convert-to-name, xselect-convert-to-integer)
21545 (xselect-convert-to-atom, xselect-convert-to-identity):
21546 * subr.el (declare, ignore, process-kill-without-query)
21547 (text-clone-maintain):
21548 * terminal.el (te-get-char, te-tic-sentinel):
21549 * tool-bar.el (tool-bar-make-keymap):
21550 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
21551 * type-break.el (type-break-mode, type-break-noninteractive-query):
21552 * view.el (View-back-to-mark):
21553 * wid-browse.el (widget-browse-action, widget-browse-widget)
21554 (widget-browse-widgets, widget-browse-sexp):
21555 * widget.el (define-widget-keywords):
21556 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
21557 Mark unused parameters.
21558
21559 * align.el (align-adjust-col-for-rule): Mark unused parameter.
21560 (align-areas): Remove unused variable `look'.
21561 (align-region): Remove unused variables `real-end' and `pos-list'.
21562
21563 * apropos.el (apropos-score-doc): Remove unused variable `i'.
21564
21565 * bindings.el (mode-line-modified, mode-line-remote):
21566 Mark unused parameters.
21567 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
21568
21569 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
21570 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
21571
21572 * comint.el (comint-history-isearch-pop-state)
21573 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
21574 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
21575 (comint-substitute-in-file-name): Doc fix.
21576
21577 * completion.el (cmpl-statistics-block): Mark unused parameter.
21578 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
21579 (save-completions-to-file, load-completions-from-file):
21580 Remove unused local variable `e'.
21581
21582 * composite.el (compose-chars): Remove unused variable `len'.
21583 (lgstring-insert-glyph): Remove unused variable `g'.
21584 (compose-glyph-string): Remove unused variables `ascent',
21585 `descent', `lbearing' and `rbearing'.
21586 (compose-glyph-string-relative): Remove unused variables
21587 `lbearing', `rbearing' and `wadjust'.
21588 (compose-gstring-for-graphic): Remove unused variables `header',
21589 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
21590 (compose-gstring-for-terminal): Remove unused variables `header'
21591 and `nchars'. Use `let', not `let*'.
21592
21593 * cus-edit.el (Custom-set, Custom-save, custom-reset)
21594 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
21595 (Custom-buffer-done, custom-buffer-create-internal)
21596 (custom-browse-visibility-action, custom-browse-group-tag-action)
21597 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
21598 (widget-magic-mouse-down-action, custom-toggle-parent)
21599 (custom-add-parent-links, custom-toggle-hide-variable)
21600 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
21601 (custom-toggle-hide-face, face, hook, custom-group-link-action)
21602 (custom-face-menu-create, custom-variable-menu-create, get)
21603 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
21604 (custom-reset-standard-save-and-update): Remove unused variable `value'.
21605 (customize-apropos): Remove unused variable `tests'.
21606 (custom-group-value-create): Remove unused variable `hidden-p'.
21607 (sort-fold-case): Declare.
21608
21609 * cus-theme.el (custom-reset-standard-faces-list)
21610 (custom-reset-standard-variables-list): Declare.
21611 (customize-create-theme, custom-theme-revert, custom-theme-write)
21612 (custom-theme-choose-mode, customize-themes, custom-theme-save):
21613 Mark unused parameters.
21614
21615 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
21616
21617 * delim-col.el (delimit-columns-max): Move defvar before first use.
21618
21619 * descr-text.el (describe-char-categories): Don't quote `lambda'.
21620 (describe-char): Don't quote `lambda'. Mark unused parameter.
21621
21622 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
21623 (auto-insert): Declare.
21624 (desktop-restore-file-buffer): Rename desktop-* parameters;
21625 mark unused ones.
21626 (desktop-create-buffer): Rename desktop-* parameters and bind them.
21627 (desktop-buffer): Rename desktop-* parameters.
21628
21629 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
21630 (dframe-reposition-frame-xemacs, dframe-help-echo)
21631 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
21632 Mark unused parameters.
21633
21634 * dired-aux.el (backup-extract-version-start, overwrite-query)
21635 (overwrite-backup-query, rename-regexp-query)
21636 (rename-non-directory-query): Declare.
21637 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
21638 (dired-add-entry): Remove unused variable `orig-file-name'.
21639 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
21640 Use parameter PRESERVE-TIME instead of accessing dynamic variable
21641 `dired-copy-preserve-time' directly.
21642 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
21643 (dired-insert-subdir-newpos): Rename unused variable `pos'.
21644
21645 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
21646 (dired-virtual-revert, dired-make-relative-symlink):
21647 Mark unused parameters.
21648 (manual-program): Declare.
21649 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
21650 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
21651 wrapped in `with-no-warnings' to avoid replacing one warning by another.
21652
21653 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
21654
21655 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
21656
21657 * echistory.el (electric-history-in-progress, Helper-return-blurb):
21658 Declare.
21659
21660 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
21661
21662 * electric.el (Electric-command-loop): Rename parameter
21663 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
21664
21665 * expand.el (expand-in-literal): Remove unused variable `here'.
21666
21667 * facemenu.el (facemenu-add-new-color):
21668 Remove unused variable `docstring'.
21669
21670 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
21671 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
21672 (face-attr-construct): Mark unused parameter. Doc fix.
21673 (read-color): Remove unused variable `hex-string'.
21674
21675 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
21676 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
21677 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
21678 (display-buffer-other-frame): Remove unused variable `old-window'.
21679 (kill-buffer-hook): Declare.
21680 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
21681 Mark unused parameters.
21682 (after-find-file): Pass 1 to `auto-save-mode', not t.
21683
21684 * files-x.el (auto-insert): Declare.
21685 (modify-file-local-variable-prop-line): Remove unused variable `val'.
21686
21687 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
21688 variable `buf'. Mark unused parameter.
21689 (find-lisp-insert-directory): Mark unused parameter.
21690
21691 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
21692 (format-encode-region): Remove unused variables `cur-buf' and `result'.
21693 (format-common-tail): Remove, unused.
21694 (format-deannotate-region): Remove unused variable `loc'.
21695 (format-annotate-region): Remove unused variable `p'.
21696 (format-annotate-single-property-change): Remove unused variables
21697 `default' and `tail'.
21698
21699 * forms.el (read-file-filter): Declare.
21700 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
21701
21702 * frame.el (frame-creation-function-alist): Mark unused parameter.
21703 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
21704
21705 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
21706 Remove unused parameters.
21707 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
21708 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
21709
21710 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
21711 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
21712 (hfy-prepare-tag-map): Mark unused parameters.
21713 (htmlfontify-buffer): Use `called-interactively-p'.
21714
21715 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
21716 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
21717 (ibuffer-do-occur): Mark unused parameters.
21718 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
21719 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
21720
21721 * ibuffer.el: Don't quote `lambda'.
21722 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
21723 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
21724 Mark unused parameters.
21725
21726 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
21727 (ido-completing-read): Mark unused parameters.
21728 (ido-copy-current-word): Mark unused parameters;
21729 remove unused variable `name'.
21730 (ido-sort-merged-list): Remove unused parameter `dirs'.
21731
21732 * ielm.el (ielm-input-sender): Mark unused parameter.
21733 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
21734 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
21735 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
21736 `ielm-string' as a dynamic variable accessible from the IELM prompt.
21737 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
21738
21739 * image-dired.el (image-dired-display-thumbs): Remove unused
21740 variables `curr-file' and `count'.
21741 (image-dired-remove-tag): Remove unused variable `start'.
21742 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
21743 variable `curr-file'
21744 (image-dired-rotate-original): Remove unused variable `temp-file'.
21745 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
21746 Remove unused variable `file'.
21747 (image-dired-gallery-generate): Remove unused variable `curr'.
21748 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
21749
21750 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
21751
21752 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
21753
21754 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
21755
21756 * isearch.el (minibuffer-history-symbol): Declare.
21757 (isearch-edit-string): Remove unused variable `err'.
21758 (isearch-message-prefix, isearch-message-suffix):
21759 Mark unused parameters.
21760
21761 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
21762
21763 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
21764
21765 * makesum.el (double-column): Remove unused variable `cnt'.
21766
21767 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
21768 (ido-ignore-item-temp-list): Declare.
21769
21770 * mouse-drag.el (mouse-drag-throw): Remove unused variables
21771 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
21772 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
21773 (mouse-drag-drag): Remove unused variables `mouse-delta' and
21774 `mouse-col-delta'.
21775
21776 * mouse-sel.el (mouse-extend-internal):
21777 Remove unused variable `orig-window-frame'.
21778
21779 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
21780 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
21781 Move declarations before first use.
21782 (pcomplete-opt): Mark unused parameters; doc fix.
21783
21784 * proced.el (proced-revert): Mark unused parameter.
21785 (proced-send-signal): Remove unused variable `err'.
21786
21787 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
21788 Rename parameter PREFIX-ARG to ARG.
21789 (ps-basic-plot-string, ps-basic-plot-whitespace):
21790 Mark unused parameters.
21791
21792 * replace.el (replace-count): Define.
21793 (occur-revert-function): Mark unused parameters.
21794 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
21795 (isearch-case-fold-search, isearch-string): Declare.
21796 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
21797 bind `case-fold-search'. Remove unused variables `beg' and `end',
21798 and simplify.
21799 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
21800 COUNT and bind `replace-count'.
21801 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
21802 to COUNT.
21803
21804 * savehist.el (print-readably, print-string-length): Declare.
21805
21806 * shadowfile.el (shadow-expand-cluster-in-file-name):
21807 Remove unused variable `cluster'.
21808 (shadow-copy-file): Remove unused variable `i'.
21809 (shadow-noquery, shadow-clusters, shadow-site-cluster)
21810 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
21811 (shadow-define-literal-group, shadow-define-regexp-group)
21812 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
21813
21814 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
21815 (shell): Use `called-interactively-p'.
21816 (shell-directory-tracker): Remove unused variable `chdir-failure'.
21817
21818 * simple.el (compilation-context-lines, comint-file-name-quote-list)
21819 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
21820 (delete-backward-char): Remove unused variable `ocol'.
21821 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
21822 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
21823 (event-apply-hyper-modifier, event-apply-shift-modifier)
21824 (event-apply-control-modifier, event-apply-meta-modifier):
21825 Mark unused parameters.
21826 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
21827 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
21828
21829 * speedbar.el (speedbar-ignored-directory-expressions)
21830 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
21831 (speedbar-find-file, speedbar-dir-follow)
21832 (speedbar-directory-buttons-follow, speedbar-tag-find)
21833 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
21834 (speedbar-buffers-line-directory, speedbar-buffer-click):
21835 Mark unused parameters.
21836 (speedbar-tag-file): Remove unused variable `mode'.
21837 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
21838
21839 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
21840
21841 * talk.el (talk): Remove unused variable `display'.
21842
21843 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
21844 (tar-write-region-annotate): Mark unused parameter.
21845
21846 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
21847 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
21848 Declare them, wrapped in `with-no-warnings' to avoid replacing one
21849 warning by another.
21850
21851 * time-stamp.el (time-stamp-string-preprocess):
21852 Remove unused variable `require-padding'.
21853
21854 * tree-widget.el (widget-glyph-enable): Declare.
21855 (tree-widget-action): Mark unused parameter.
21856
21857 * w32-fns.el (x-get-selection): Mark unused parameter.
21858 (autoload-make-program, generated-autoload-file): Declare.
21859
21860 * wdired.el (wdired-revert): Mark unused parameters.
21861 (wdired-xcase-word): Remove unused variable `err'.
21862
21863 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
21864 (whitespace-help-scroll): Remove unused variable `data-help'.
21865
21866 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
21867 (widget-image-insert, widget-after-change, default)
21868 (widget-default-format-handler, widget-default-notify)
21869 (widget-default-prompt-value, widget-info-link-action)
21870 (widget-url-link-action, widget-function-link-action)
21871 (widget-variable-link-action, widget-file-link-action)
21872 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
21873 (widget-field-prompt-internal, widget-field-action, widget-field-match)
21874 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
21875 (widget-insert-button-action, widget-delete-button-action, visibility)
21876 (widget-documentation-link-action, widget-documentation-string-action)
21877 (widget-const-prompt-value, widget-regexp-match, symbol)
21878 (widget-coding-system-prompt-value)
21879 (widget-key-sequence-value-to-external, sexp)
21880 (widget-sexp-value-to-internal, character, vector, cons)
21881 (widget-choice-prompt-value, widget-boolean-prompt-value)
21882 (widget-color--choose-action): Mark unused parameters.
21883 (widget-item-match-inline, widget-choice-match-inline)
21884 (widget-checklist-match, widget-checklist-match-inline)
21885 (widget-group-match): Rename parameter VALUES to VALS.
21886 (widget-field-value-set): Remove unused variable `size'.
21887 (widget-color-action): Remove unused variables `value' and `start'.
21888
21889 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
21890 variable `dir'. Doc fix.
21891 (windmove-find-other-window): Don't pass it.
21892
21893 * window.el (count-windows): Mark unused parameter.
21894 (bw-adjust-window): Remove unused variable `err'.
21895
21896 * woman.el (woman-file-name): Remove unused variable `default'.
21897 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
21898 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
21899 (global-font-lock-mode): Declare.
21900 (woman-decode-region): Mark unused parameter.
21901 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
21902
21903 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
21904 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
21905 (x-dnd-handle-moz-url): Remove unused variable `title'.
21906 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
21907
21908 * xml.el (xml-parse-tag, xml-parse-attlist):
21909 Remove unused variable `pos'.
21910
21911 2011-04-19 Glenn Morris <rgm@gnu.org>
21912
21913 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
21914 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
21915 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
21916 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
21917 * calendar/cal-html.el (cal-html-insert-minical):
21918 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
21919 (calendar-mark-date-pattern):
21920 Prefix "unused" locals.
21921
21922 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
21923 optional argument `style'.
21924
21925 * calendar/appt.el (appt-make-list):
21926 * calendar/cal-china.el (calendar-chinese-date-string):
21927 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
21928 (diary-hebrew-yahrzeit):
21929 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
21930 * calendar/calendar.el (calendar-generate-window):
21931 * calendar/time-date.el (time-to-days):
21932 Remove unused local variables.
21933
21934 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
21935
21936 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
21937 glyphless-char-display table.
21938 (tabulated-list-glyphless-char-display): New var.
21939
21940 2011-04-18 Sam Steingold <sds@gnu.org>
21941
21942 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
21943 to acknowledgments.
21944
21945 2011-04-17 Glenn Morris <rgm@gnu.org>
21946
21947 * calendar/diary-lib.el (diary-sexp-entry):
21948 * calendar/holidays.el (holiday-sexp):
21949 Set debug-on-error rather than the removed stack-trace-on-error.
21950
21951 2011-04-16 Glenn Morris <rgm@gnu.org>
21952
21953 * progmodes/f90.el: Use lexical-binding.
21954 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
21955
21956 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
21957
21958 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
21959 (mail-mode): Setup mailalias completion here instead.
21960 * mail/mailalias.el: Use lexical-binding.
21961 (pattern, mailalias-done): Declare dynamic.
21962 (mail-completion-at-point-function): New function, from mail-complete.
21963 (mail-complete): Use it.
21964 (mail-completion-expand): New function.
21965 (mail-get-names): Use it.
21966 (mail-directory, mail-directory-process, mail-directory-stream):
21967 Don't use `pattern' for lexically bound arg.
21968
21969 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
21970
21971 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
21972 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
21973 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
21974
21975 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
21976 (byte-save-window-excursion, byte-temp-output-buffer-setup)
21977 (byte-interactive-p): Define them again, for use when inlining
21978 old code.
21979
21980 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
21981
21982 * loadup.el: Use `string-to-number', not `string-to-int'.
21983
21984 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
21985
21986 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
21987 gud-gdb-complete-command.
21988 (gud-gdb-completions): New function, from gud-gdb-complete-command.
21989 (gud-gdb-completion-at-point): New function.
21990 (gud-gdb-completions): Remove.
21991
21992 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
21993
21994 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
21995 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
21996 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
21997 whether `executable-find' is bound.
21998
21999 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
22000
22001 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
22002
22003 * minibuffer.el (completion-in-region-mode-predicate)
22004 (completion-in-region-mode--predicate): New vars.
22005 (completion-in-region, completion-in-region--postch)
22006 (completion-in-region-mode): Use them.
22007 (completion--capf-wrapper): Also return the hook function.
22008 (completion-at-point, completion-help-at-point):
22009 Adjust and provide a predicate.
22010
22011 Preserve arg names for advice of subr and lexical functions (bug#8457).
22012 * help-fns.el (help-function-arglist): Consolidate the subr and
22013 new-byte-code cases. Add argument `preserve-names' to extract names
22014 from the docstring when needed.
22015 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
22016 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
22017 (ad-arglist): Use help-function-arglist's new arg.
22018 (ad-definition-type): Use cond.
22019
22020 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
22021
22022 * autorevert.el (auto-revert-handler):
22023 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
22024 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
22025 Don't quote lambda.
22026
22027 * image-mode.el (image-transform-set-scale):
22028 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
22029
22030 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
22031
22032 * net/network-stream.el (network-stream-open-starttls): Only do
22033 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
22034 Upgrades via gnutls-cli are too slow to be done opportunistically.
22035
22036 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
22037
22038 * dframe.el (dframe-current-frame): Remove spurious quote.
22039
22040 2011-04-12 Glenn Morris <rgm@gnu.org>
22041
22042 * calendar/cal-tex.el (cal-tex-end-document):
22043 Try to automatically use latin1 input if needed.
22044
22045 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
22046 Don't try to cons a mark onto an empty element.
22047
22048 2011-04-11 Leo Liu <sdl.web@gmail.com>
22049
22050 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
22051 buffers.
22052 (ido-kill-buffer-at-head): Support killing virtual buffers.
22053
22054 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
22055
22056 * minibuffer.el (completion-show-inline-help): New var.
22057 (completion--do-completion, minibuffer-complete)
22058 (minibuffer-force-complete, minibuffer-complete-word):
22059 Inhibit minibuffer messages if completion-show-inline-help is nil.
22060
22061 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
22062 to avoid interference from inline help (Bug#5849).
22063
22064 2011-04-10 Leo Liu <sdl.web@gmail.com>
22065
22066 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
22067 Fix typo.
22068
22069 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
22070
22071 * image-mode.el (image-toggle-display-image): Signal an error if
22072 not in Image mode.
22073 (image-transform-mode, image-transform-resize)
22074 (image-transform-set-rotation): Doc fix.
22075 (image-transform-set-resize): Delete.
22076 (image-transform-set-scale, image-transform-fit-to-height)
22077 (image-transform-fit-to-width): Handle image-toggle-display-image
22078 and image-transform-resize directly.
22079
22080 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
22081
22082 * doc-view.el (doc-view-fit-width-to-window)
22083 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
22084 New functions for fitting the shown image to the Emacs window size.
22085 (doc-view-mode-map): Add bindings for the new functions.
22086
22087 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
22088
22089 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
22090 Fix typo in docstring.
22091
22092 2011-04-08 Eli Zaretskii <eliz@gnu.org>
22093
22094 * files.el (file-size-human-readable): Produce one digit after
22095 decimal, like "ls -lh" does.
22096
22097 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
22098 the file size representation.
22099
22100 * simple.el (list-processes): If async subprocesses are not
22101 available, error out with a clear error message.
22102
22103 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
22104
22105 * help.el (help-form-show): New function, to be called from C.
22106 Put help-form output in a buffer named differently than *Help*.
22107
22108 2011-04-08 Eli Zaretskii <eliz@gnu.org>
22109
22110 * files.el (file-size-human-readable): New function.
22111
22112 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
22113 computing the representation inline. Don't require `cl'.
22114
22115 2011-04-08 Glenn Morris <rgm@gnu.org>
22116
22117 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
22118
22119 * net/browse-url.el (browse-url-firefox):
22120 Test system-type, not system-configuration.
22121
22122 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
22123 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
22124 Use log-edit-empty-buffer-p. (Bug#7598)
22125
22126 * net/rlogin.el (rlogin-process-connection-type): Simplify.
22127 (rlogin-mode-map): Initialize in the defvar.
22128 (rlogin): Use ignore-errors.
22129
22130 * replace.el (occur-mode-map): Some fixes for menu items.
22131
22132 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
22133
22134 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
22135
22136 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
22137
22138 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
22139 issuing unused warnings.
22140
22141 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
22142 macro directly.
22143
22144 * simple.el: Lisp reimplement of list-processes. Based on an
22145 earlier reimplementation by Leo Liu, but using tabulated-list.el.
22146 (process-menu-mode): New major mode.
22147 (list-processes--refresh, list-processes):
22148 (process-menu-visit-buffer): New functions.
22149
22150 * files.el (save-buffers-kill-emacs): Don't assume any return
22151 value of list-processes, which is undocumented anyway.
22152
22153 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
22154
22155 * emacs-lisp/tabulated-list.el: New file.
22156
22157 * emacs-lisp/package.el: Use Tabulated List mode.
22158 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
22159 (package-menu-mode): Derive from tabulated-list-mode. Set up the
22160 table format using Tabulated List mode variables.
22161 (package--push): New macro, replacing package-list-maybe-add.
22162 (package-menu--generate): Use package--push. Renamed from
22163 package--generate-package-list.
22164 (package-menu-refresh, list-packages): Use it.
22165 (package-menu--print-info): Rename from package-print-package.
22166 Return insertion data instead of inserting it directly.
22167 (package-menu-describe-package, package-menu-execute):
22168 Use tabulated-list-get-id.
22169 (package-menu-mark-delete, package-menu-mark-install)
22170 (package-menu-mark-unmark, package-menu-backup-unmark)
22171 (package-menu-mark-obsolete-for-deletion):
22172 Use tabulated-list-put-tag.
22173 (package--list-packages, package-menu-revert)
22174 (package-menu-get-package, package-menu-get-version)
22175 (package-menu-sort-by-column): Functions deleted.
22176 (package-menu-package-list, package-menu-sort-key): Vars deleted.
22177 (package-menu--status-predicate, package-menu--version-predicate)
22178 (package-menu--name-predicate)
22179 (package-menu--description-predicate): Handle arguments in the
22180 Tabulated List format.
22181 (package-list-packages-no-fetch): Call list-packages.
22182
22183 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
22184
22185 * files.el (after-find-file-from-revert-buffer): Remove variable.
22186 (after-find-file): Don't bind it.
22187 (revert-buffer-in-progress-p): New variable.
22188 (revert-buffer): Bind it.
22189 Pass nil for `after-find-file-from-revert-buffer'.
22190
22191 * saveplace.el (save-place-find-file-hook): Use new variable
22192 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
22193
22194 2011-04-06 Glenn Morris <rgm@gnu.org>
22195
22196 * Makefile.in (AUTOGEN_VCS): New variable.
22197 (autoloads): Use $AUTOGEN_VCS.
22198
22199 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
22200 * calendar/calendar.el (calendar-mode-map):
22201 Check for toolkit scroll bars. (Bug#8305)
22202
22203 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
22204
22205 * minibuffer.el (completion-in-region--postch)
22206 (completion-in-region-mode): Remove unnecessary messages.
22207
22208 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
22209
22210 * font-lock.el (font-lock-refresh-defaults):
22211 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
22212 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
22213
22214 * info.el (Info-directory-list, Info-read-node-name-2)
22215 (Info-split-parameter-string): Doc fixes.
22216 (Info-virtual-nodes): Reflow docstring.
22217 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
22218 (Info-apropos-toc-nodes, info-finder, Info-get-token)
22219 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
22220 Fix typos in docstrings.
22221 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
22222 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
22223 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
22224 (Info-restore-desktop-buffer): Mark unused parameters.
22225 (Info-directory-find-file, Info-directory-find-node)
22226 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
22227 (Info-virtual-index-find-node, Info-apropos-find-file)
22228 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
22229 Mark unused parameters; fix typos in docstrings.
22230 (Info-virtual-index): Remove unused local variable `nodename'.
22231
22232 2011-04-05 Deniz Dogan <deniz@dogan.se>
22233
22234 * net/rcirc.el: Update my e-mail address.
22235 (rcirc-mode-map): Remove M-o binding.
22236
22237 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
22238
22239 * startup.el (command-line): Save the cursor's theme-face
22240 directly, instead of using face-override-spec.
22241
22242 * custom.el (load-theme): Minor optimization in assigning faces.
22243
22244 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
22245
22246 * help-fns.el (describe-variable): Complete all variables having
22247 documentation, including keywords.
22248 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
22249
22250 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
22251
22252 Convert to lexical-binding.
22253
22254 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
22255 (bs--get-marked-string, bs--get-modified-string)
22256 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
22257 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
22258 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
22259
22260 * ehelp.el (electric-help-execute-extended)
22261 (electric-help-ctrl-x-prefix):
22262 * hexl.el (hexl-revert-buffer-function):
22263 * linum.el (linum-after-change, linum-after-scroll):
22264 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
22265
22266 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
22267
22268 2011-04-04 Daiki Ueno <ueno@unixuser.org>
22269
22270 * epa-dired.el:
22271 * epa-mail.el:
22272 * epa-hook.el:
22273 * epa-file.el:
22274 * epa.el:
22275 * epg.el: Use lexical binding.
22276
22277 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
22278
22279 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
22280
22281 * textmodes/flyspell.el (flyspell-word): Recognize default
22282 dictionary case for flyspell-mark-duplications-exceptions.
22283 Use regexp matching for languages.
22284 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
22285 default dictionary (Bug#7926).
22286
22287 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
22288
22289 * emacs-lisp/package.el (package--with-work-buffer):
22290 Recognize https URLs.
22291
22292 * net/network-stream.el: Move from gnus/proto-stream.el.
22293 Change prefix to network-stream throughout.
22294 (open-protocol-stream): Merge into open-network-stream, leaving
22295 open-protocol-stream as an alias. Handle nil BUFFER args.
22296
22297 * subr.el (open-network-stream): Move to net/network-stream.el.
22298
22299 2011-04-02 Glenn Morris <rgm@gnu.org>
22300
22301 * find-dired.el (find-exec-terminator): New option.
22302 (find-ls-option): Test for -ls support.
22303 (find-ls-subdir-switches): Test for -b in find-ls-option.
22304 (find-dired, find-grep-dired): Doc fixes.
22305 (find-dired): Use find-exec-terminator.
22306
22307 * find-dired.el (find-ls-option, find-ls-subdir-switches)
22308 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
22309 (find-name-arg): Remove purecopy.
22310
22311 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
22312 (grep-compute-defaults): Check for `-exec COMMAND +' support.
22313 Set grep-find-use-xargs, grep-find-command, and grep-find-template
22314 accordingly. Don't add the null-device if not needed.
22315
22316 * files.el (save-some-buffers): Doc fix.
22317
22318 2011-04-02 Eli Zaretskii <eliz@gnu.org>
22319
22320 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
22321
22322 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
22323
22324 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
22325 Use `dolist' rather than `mapcar'.
22326
22327 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
22328
22329 Add lexical binding.
22330
22331 * subr.el (apply-partially): Use new closures rather than CL.
22332 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
22333 (dolist, dotimes): Use slightly different expansion for lexical code.
22334 (functionp): Move to C.
22335 (letrec): New macro.
22336 (with-wrapper-hook): Use it and apply-partially instead of CL.
22337 (eval-after-load): Preserve lexical-binding.
22338 (save-window-excursion, with-output-to-temp-buffer): Turn them
22339 into macros.
22340
22341 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
22342
22343 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
22344 than the arglist.
22345 (help-add-fundoc-usage): Don't add `Not documented'.
22346 (help-function-arglist): Handle closures, subroutines, and new
22347 byte-code-functions.
22348 (help-make-usage): Remove leading underscores.
22349 (describe-function-1): Handle closures.
22350 (describe-variable): Use special-variable-p for completion.
22351
22352 * files.el (lexical-binding): Declare safe.
22353
22354 * emacs-lisp/pcase.el: Don't use destructuring-bind.
22355 (pcase--memoize): Rename from pcase-memoize. Change weakness.
22356 (pcase): Add `let' pattern.
22357 Change memoization so it actually works.
22358 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
22359 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
22360 <let>: New case.
22361
22362 * emacs-lisp/macroexp.el: Use lexical binding.
22363 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
22364 Don't convert ' to #' without checking that it's indeed quoting
22365 a lambda.
22366
22367 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
22368 Use eval-sexp-add-defvars.
22369 (eval-sexp-add-defvars): New fun.
22370
22371 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
22372
22373 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
22374 Don't autoload.
22375 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
22376 than the internal `byte-compile-lambda'.
22377 (defmethod): Don't hide code under quotes.
22378 (eieio-defmethod): New `code' argument.
22379
22380 * emacs-lisp/eieio-comp.el: Remove.
22381
22382 * emacs-lisp/edebug.el (edebug-eval-defun)
22383 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
22384 (edebug-toggle): Avoid `eval'.
22385
22386 * emacs-lisp/disass.el (disassemble-internal): Handle new
22387 `closure' objects.
22388 (disassemble-1): Handle new byte codes.
22389
22390 * emacs-lisp/cl.el (pushnew): Silence warning.
22391
22392 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
22393 (cl-byte-compile-throw): Remove.
22394 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
22395
22396 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
22397 closures.
22398
22399 * emacs-lisp/cconv.el: New file.
22400
22401 * emacs-lisp/bytecomp.el: Use lexical binding instead of
22402 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
22403 (byte-compile-initial-macro-environment):
22404 Handle declare-function here.
22405 (byte-compile--lexical-environment): New var.
22406 (byte-stack-ref, byte-stack-set, byte-discardN)
22407 (byte-discardN-preserve-tos): New lap codes.
22408 (byte-interactive-p): Don't use any more.
22409 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
22410 New macros.
22411 (byte-compile-lapcode): Use them and handle new lap codes.
22412 (byte-compile-obsolete): Remove.
22413 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
22414 (byte-compile-arglist-warn): Check late def of inlinable funs.
22415 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
22416 since they should have been expanded by now.
22417 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
22418 (byte-compile-from-buffer): Remove unused second arg.
22419 (byte-compile-preprocess): New function.
22420 (byte-compile-toplevel-file-form): New function to distinguish
22421 file-form calls from outside from file-form calls from hunk-handlers.
22422 (byte-compile-file-form): Simplify.
22423 (byte-compile-file-form-defsubst): Remove.
22424 (byte-compile-file-form-defmumble): Simplify now that
22425 byte-compile-lambda always returns a byte-code-function.
22426 (byte-compile): Preprocess.
22427 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
22428 Remove, not used any more.
22429 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
22430 (byte-compile-make-args-desc): New funs.
22431 (byte-compile-lambda): Handle lexical functions. Always return
22432 a byte-code-function.
22433 (byte-compile-reserved-constants): New var, to make up room for
22434 closed-over variables.
22435 (byte-compile-constants-vector): Obey it.
22436 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
22437 (byte-compile-macroexpand-declare-function): New function.
22438 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
22439 byte-code-functions.
22440 (byte-compile-form): Check obsolescence here.
22441 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
22442 (byte-compile-variable-ref): Remove.
22443 (byte-compile-dynamic-variable-op): New fun.
22444 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
22445 (byte-compile-variable-set): New funs.
22446 (byte-compile-discard): Add 2 args.
22447 (byte-compile-stack-ref, byte-compile-stack-set)
22448 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
22449 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
22450 macroexpand-all instead.
22451 (byte-compile-quote-form): Remove.
22452 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
22453 (byte-compile-bind, byte-compile-unbind): New funs.
22454 (byte-compile-let): Handle let* and lexical binding.
22455 (byte-compile-let*): Remove.
22456 (byte-compile-catch, byte-compile-unwind-protect)
22457 (byte-compile-track-mouse, byte-compile-condition-case):
22458 Handle a new :fun-body form, used for lexical scoping.
22459 (byte-compile-save-window-excursion)
22460 (byte-compile-with-output-to-temp-buffer): Remove.
22461 (byte-compile-defun): Simplify.
22462 (byte-compile-stack-adjustment): New fun.
22463 (byte-compile-out): Use it.
22464 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
22465
22466 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
22467 handler any more.
22468
22469 * emacs-lisp/byte-opt.el: Use lexical binding.
22470 (byte-inline-lapcode): Remove (to bytecomp).
22471 (byte-compile-inline-expand): Pay attention to inlining to/from
22472 lexically bound code.
22473 (byte-compile-unfold-lambda): Don't handle byte-code-functions
22474 any more.
22475 (byte-optimize-form-code-walker): Don't handle save-window-excursion
22476 any more and don't call compiler-macros.
22477 (byte-compile-splice-in-already-compiled-code): Remove.
22478 (byte-code): Don't inline any more.
22479 (disassemble-offset): Receive `bytes' as argument rather than via
22480 dynamic scoping.
22481 (byte-compile-tag-number): Declare before first use.
22482 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
22483 `return' even if make-spliceable.
22484 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
22485 obsolete interactive-p.
22486 (byte-optimize-lapcode): Optimize new lap-codes.
22487 Don't trip up on new form of `byte-constant' lap code.
22488
22489 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
22490
22491 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
22492
22493 * custom.el (custom-initialize-default, custom-declare-variable):
22494 Use `defvar'.
22495
22496 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
22497 New variables.
22498 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
22499 (COMPILE_FIRST): Add macroexp and cconv.
22500 * makefile.w32-in: Mirror changes in Makefile.in.
22501
22502 * vc/cvs-status.el:
22503 * vc/diff-mode.el:
22504 * vc/log-edit.el:
22505 * vc/log-view.el:
22506 * vc/smerge-mode.el:
22507 * textmodes/bibtex-style.el:
22508 * textmodes/css-mode.el:
22509 * startup.el:
22510 * uniquify.el:
22511 * minibuffer.el:
22512 * newcomment.el:
22513 * reveal.el:
22514 * server.el:
22515 * mpc.el:
22516 * emacs-lisp/smie.el:
22517 * doc-view.el:
22518 * dired.el:
22519 * abbrev.el: Use lexical binding.
22520
22521 2011-04-01 Eli Zaretskii <eliz@gnu.org>
22522
22523 * info.el (info-display-manual): New function.
22524
22525 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
22526
22527 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
22528
22529 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
22530
22531 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
22532 an entry for that server in rcirc-authinfo. (Bug#8385)
22533
22534 2011-03-31 Glenn Morris <rgm@gnu.org>
22535
22536 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
22537
22538 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
22539
22540 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
22541
22542 * progmodes/python.el (python-default-interpreter)
22543 (python-python-command-args, python-jython-command-args)
22544 (python-which-shell, python-which-args, python-which-bufname)
22545 (python-file-queue, python-comint-output-filter-function)
22546 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
22547 variables and functions.
22548
22549 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
22550
22551 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
22552 (completion-in-region-mode): New minor mode.
22553 (completion-in-region): Use it.
22554 (completion-in-region--data, completion-in-region-mode-map): New vars.
22555 (completion-in-region--postch): New function.
22556 (completion--capf-misbehave-funs, completion--capf-safe-funs):
22557 New vars.
22558 (completion--capf-wrapper): New function.
22559 (completion-at-point): Use it to track well-behavedness of
22560 hook functions.
22561 (completion-help-at-point): New command.
22562
22563 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
22564
22565 * vc/add-log.el (add-change-log-entry): Don't use whitespace
22566 syntax class to search for whitespace on a single line
22567 (Message-ID: <4D938140.4030905@redhat.com>).
22568
22569 2011-03-30 Leo Liu <sdl.web@gmail.com>
22570
22571 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
22572 New commands.
22573 (edit-abbrevs-map): Bind them here.
22574 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
22575
22576 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
22577
22578 * allout.el (allout-hide-by-annotation, allout-flag-region):
22579 Reduce possibility of overlay leakage by making them volatile.
22580
22581 * allout-widgets.el (allout-widgets-tally): Define as nil so the
22582 hash is not shared between buffers. Mode initialization is
22583 responsible for giving it a useful starting value.
22584 (allout-item-span): Reduce possibility of overlay leakage by
22585 making them volatile.
22586 (allout-widgets-count-buttons-in-region): Add diagnostic function
22587 for tracking down button overlay leaks.
22588
22589 2011-03-29 Leo Liu <sdl.web@gmail.com>
22590
22591 * ido.el (ido-read-internal): Use the default history var
22592 minibuffer-history if no HISTORY is specified.
22593
22594 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
22595
22596 * net/imap.el (imap-shell-open, imap-process-connection-type):
22597 Use imap-process-connection-type for 'shell' streams as well as
22598 Kerberos, SSL, other subprocesses.
22599
22600 2011-03-28 Leo Liu <sdl.web@gmail.com>
22601
22602 * abbrev.el (abbrev-table-empty-p): New function.
22603 (prepare-abbrev-list-buffer): Place empty abbrev tables after
22604 nonempty ones. (Bug#5937)
22605
22606 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
22607
22608 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
22609
22610 2011-03-27 Leo Liu <sdl.web@gmail.com>
22611
22612 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
22613 for foreground and background colors.
22614 (ansi-color-make-color-map): Adapt.
22615
22616 2011-03-25 Leo Liu <sdl.web@gmail.com>
22617
22618 * midnight.el (midnight-time-float): Remove. Note it calculates
22619 the microsecond component incorrectly and seconds-to-time does the
22620 same job.
22621 Remove redundant (require 'timer).
22622
22623 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
22624 (ido-completions): Remove unused arguments. (Bug#8329)
22625
22626 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
22627
22628 * minibuffer.el (completion--flush-all-sorted-completions):
22629 Remove itself from hook.
22630 (completion-at-point): Let the functions perform the completion
22631 immediately and return nil or t.
22632 * comint.el (comint-dynamic-complete-functions): Now identical to
22633 completion-at-point-functions.
22634 (comint-dynamic-list-input-ring): Remove unused var `index'.
22635 (comint--match-partial-filename, comint--unquote&expand-filename):
22636 New funs, split from comint-match-partial-filename.
22637 (comint-dynamic-complete): Use completion-at-point.
22638 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
22639
22640 2011-03-24 Drew Adams <drew.adams@oracle.com>
22641
22642 * thingatpt.el: Support `defun'.
22643
22644 2011-03-23 Leo Liu <sdl.web@gmail.com>
22645
22646 * abbrevlist.el: Move to obsolete/abbrevlist.el.
22647
22648 * help-mode.el (help-mode-finish): Tweak regexp.
22649
22650 2011-03-23 Glenn Morris <rgm@gnu.org>
22651
22652 * eshell/esh-opt.el (eshell-eval-using-options):
22653 Do not bind unused local variable `eshell-option-stub'.
22654
22655 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
22656
22657 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
22658
22659 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
22660 keymap variable in `with-no-warnings' to avoid a warning when the
22661 keymap has been already `defconst'ed.
22662
22663 2011-03-22 Leo Liu <sdl.web@gmail.com>
22664
22665 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
22666 encode all chars in abbrevs; otherwise use emacs-mule or
22667 utf-8-emacs. (Bug#8308)
22668
22669 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
22670
22671 * simple.el (backward-delete-char-untabify):
22672 Avoid warning about using `delete-backward-char'.
22673
22674 * image.el (image-type-file-name-regexps): Make it variable.
22675 `imagemagick-register-types' modifies it, and the user may want
22676 to add new extensions for known image types.
22677 (imagemagick-register-types): Throw error if not using ImageMagick.
22678
22679 2011-03-22 Leo Liu <sdl.web@gmail.com>
22680
22681 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
22682 located before rcirc-prompt-end-marker.
22683 (rcirc-complete): Error if point is not after rcirc prompt.
22684 Handle the case when table is nil.
22685 (rcirc-user-authenticated): Define to fix compiler warning.
22686
22687 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
22688
22689 * custom.el (custom--inhibit-theme-enable): Make it affect only
22690 custom-theme-set-variables and custom-theme-set-faces.
22691 (provide-theme): Ignore custom--inhibit-theme-enable.
22692 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
22693 (custom-enabling-themes): Delete variable.
22694 (enable-theme): Accept only loaded themes as arguments.
22695 Ignore the special custom-enabled-themes variable.
22696 (custom-enabled-themes): Forbid themes from setting this.
22697 Eliminate use of custom-enabling-themes.
22698 (custom-push-theme): Quote "changed" custom var entry.
22699
22700 2011-03-21 Leo Liu <sdl.web@gmail.com>
22701
22702 * ido.el (ido-read-internal): Add ido-selected to history instead
22703 of user input.
22704
22705 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
22706
22707 * subr.el (deferred-action-list, deferred-action-function):
22708 Mark obsolete.
22709
22710 2011-03-21 Leo Liu <sdl.web@gmail.com>
22711
22712 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
22713 change on 2011-02-13 (bug#8309).
22714
22715 * minibuffer.el (read-file-name-function): Change default value.
22716 (read-file-name--defaults): Rename from read-file-name-defaults.
22717 (read-file-name-default): Rename from read-file-name.
22718 (read-file-name): Call read-file-name-function.
22719
22720 2011-03-21 Glenn Morris <rgm@gnu.org>
22721
22722 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
22723 Doc fixes.
22724
22725 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
22726
22727 * cus-theme.el: Add missing provide statement.
22728 (customize-create-theme): Extract theme value correctly.
22729 (custom-theme-visit-theme): Autoload.
22730 (customize-create-theme): Prompt before inserting default faces.
22731
22732 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
22733
22734 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
22735 units and musical notes.
22736
22737 2011-03-20 Leo Liu <sdl.web@gmail.com>
22738
22739 * ido.el (ido-read-internal): Use completing-read-default.
22740 (ido-completing-read): Fix compatibility with completing-read.
22741
22742 2011-03-20 Christian Ohler <ohler@gnu.org>
22743
22744 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
22745 (ert-delete-all-tests): Use `called-interactively-p' rather than
22746 `interactive-p'.
22747 (ert--make-xrefs-region): Respect END.
22748
22749 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
22750
22751 * dired-aux.el (dired-create-directory): Signal an error if the
22752 directory already exists (Bug#8246).
22753
22754 * facemenu.el (list-colors-display): Call list-faces-display
22755 inside with-help-window.
22756 (list-colors-print): Use display property to align the final
22757 column, instead of checking window-width.
22758
22759 2011-03-19 Eli Zaretskii <eliz@gnu.org>
22760
22761 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
22762 windows-nt systems.
22763 (emerge-protect-metachars): Quote correctly for ms-dos and
22764 windows-nt systems.
22765
22766 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
22767
22768 * info.el (info-initialize): Replace all uses of `:' with
22769 path-separator for compatibility with non-Unix systems.
22770 Cache quoting of path-separator. (Bug#8258)
22771
22772 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
22773
22774 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
22775 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
22776 (mouse-avoidance-mode): Fix typos in docstrings.
22777
22778 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
22779
22780 * startup.el (package-subdirectory-regexp): Move from package.el.
22781 Omit \\` and \\', and let callers add them.
22782
22783 * emacs-lisp/package.el (package-strip-version)
22784 (package-load-all-descriptors): Add \\` and \\' to
22785 package-subdirectory-regexp before using it.
22786 (package-untar-buffer): New arg DIR; ensure that file untars only
22787 into this expected directory. Remove superfluous delete-region.
22788 (package-unpack): Caller changed.
22789 (package-tar-file-info): Use package-subdirectory-regexp.
22790
22791 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
22792
22793 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
22794 diff-mode-shared-map (bug#8284).
22795 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
22796
22797 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
22798
22799 * calendar/time-date.el (format-seconds): Use assoc instead of
22800 assoc-string, since assoc-string doesn't exist in XEmacs.
22801
22802 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
22803
22804 * custom.el (custom-known-themes): Reflow docstring.
22805 (custom-theme-load-path): Fix typo in docstring.
22806 (load-theme): Fix typo in error message.
22807 (custom-available-themes, custom-variable-theme-value):
22808 Use `let', not `let*'.
22809
22810 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
22811
22812 * calc/README: Mention inclusion of musical notes.
22813
22814 * calc/calc-units.el (calc-lu-quant): Rename from
22815 `calc-logunits-quantity'.
22816 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
22817 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
22818 (calc-db): Rename from `calc-dblevel'.
22819 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
22820 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
22821 (calc-np): Rename from `calc-nplevel'.
22822 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
22823 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
22824 (calc-lu-plus): Rename from `calc-logunits-add'.
22825 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
22826 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
22827 (calc-lu-minus): Rename from `calc-logunits-sub'.
22828 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
22829 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
22830 (calc-lu-times): Rename from `calc-logunits-mul'.
22831 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
22832 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
22833 (calc-lu-divide): Rename from `calc-logunits-div'.
22834 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
22835 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
22836
22837 * calc/calc-ext.el (calc-init-extensions): Update the names of the
22838 functions being autoloaded.
22839
22840 * calc/calc.el (calc-lu-power-reference): Rename from
22841 `calc-logunits-power-reference'.
22842 (calc-lu-field-reference): Rename from
22843 `calc-logunits-field-reference'.
22844
22845 * calc/calc-help.el (calc-l-prefix-help):
22846 Mention musical note functions.
22847
22848 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
22849
22850 * minibuffer.el (completion-all-sorted-completions):
22851 Use :completion-cycle-penalty text property if present.
22852
22853 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
22854
22855 * allout.el (allout-yank-processing): Adjust for new rebulleting
22856 regime so bullet being yanked is used without prompting the user
22857 for a choice.
22858
22859 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
22860
22861 * startup.el (command-line): Warn the user that _emacs is deprecated.
22862
22863 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
22864
22865 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
22866 (delphi-verbose, delphi-comment-face, delphi-string-face)
22867 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
22868 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
22869 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
22870 (delphi-new-comment-line, delphi-font-lock-defaults)
22871 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
22872 Fix typos in docstrings.
22873
22874 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
22875
22876 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
22877 Invert the roles of character and string values for INSTEAD, so a
22878 string is used for the more common case of a defaulting prompt.
22879
22880 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
22881
22882 * progmodes/ruby-mode.el (ruby-backward-sexp):
22883 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
22884 * play/gamegrid.el (gamegrid-make-face):
22885 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
22886 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
22887 * notifications.el (notifications-notify):
22888 * net/xesam.el (xesam-search-engines):
22889 * net/quickurl.el (quickurl-list-insert):
22890 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
22891
22892 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
22893
22894 * startup.el (command-line): Update package subdirectory regexp.
22895
22896 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
22897
22898 * allout.el (allout-abbreviate-flattened-numbering)
22899 (allout-mode-deactivate-hook): Fix up obsolescence "date".
22900
22901 * subr.el (read-char-choice): Only show the cursor after the prompt,
22902 not after the answer.
22903
22904 2011-03-15 Kevin Ryde <user42@zip.com.au>
22905
22906 * help-fns.el (variable-at-point): Skip leading quotes, if any
22907 (bug#8253).
22908
22909 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
22910
22911 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
22912 warning message.
22913
22914 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
22915
22916 * shell.el (shell): When called interactively, offer to change the
22917 shell file name on remote hosts.
22918
22919 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
22920
22921 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
22922 integration for LDAP parameters. The host, base, user or binddn,
22923 and secret tokens can be specified in a netrc file, for instance.
22924 This is optional because an `auth-source' parameter must be
22925 specified in the search attributes.
22926
22927 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
22928
22929 * help.el (describe-mode): Link to the mode's definition (bug#8185).
22930
22931 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
22932
22933 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
22934 into declaration. Remove redundant and harmful binding.
22935
22936 2011-03-12 Eli Zaretskii <eliz@gnu.org>
22937
22938 * files.el (file-ownership-preserved-p): Pass `integer' as an
22939 explicit 2nd argument to `file-attributes'. If the file's owner
22940 is the Administrators group on Windows, and the current user is
22941 Administrator, consider that a match.
22942
22943 * server.el (server-ensure-safe-dir): Consider server directory
22944 safe on MS-Windows if its owner is the Administrators group while
22945 the current Emacs user is Administrator. Use `=' to compare
22946 numerical UIDs, since they could be integers or floats.
22947
22948 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
22949
22950 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
22951
22952 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
22953
22954 Sync with Tramp 2.2.1.
22955
22956 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
22957
22958 * net/trampver.el: Update release number.
22959
22960 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
22961
22962 * progmodes/compile.el (compilation--previous-directory): Fix up
22963 various nil/dead-marker mismatches (bug#8014).
22964 (compilation-directory-properties, compilation-error-properties):
22965 Don't call it at a position past the one we're about to change.
22966
22967 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
22968 Disable obsolescence warnings in the file that declares it.
22969
22970 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
22971
22972 * allout-widgets.el (allout-widgets-tally):
22973 Initialize allout-widgets-tally as a hash table rather than nil to
22974 prevent mode-line redisplay warnings. Also, clarify the module
22975 description and fix a comment typo.
22976
22977 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
22978
22979 * help-fns.el (describe-variable): Don't complete keywords.
22980 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
22981
22982 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
22983
22984 * emacs-lisp/package.el (package-version-join): Impose a standard
22985 string representation for pre/alpha/beta version lists.
22986 (package-unpack-single): Standardize the directory name by passing
22987 it through package-version-join.
22988 (package-strip-rcs-id): Accept any version string that does not
22989 signal an error in version-to-list.
22990
22991 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
22992
22993 * simple.el (delete-trailing-whitespace): Return nil for the
22994 benefit of `write-file-functions'.
22995
22996 2011-03-10 Glenn Morris <rgm@gnu.org>
22997
22998 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
22999
23000 * vc/vc-git.el (vc-git-program): New option.
23001 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
23002 (vc-git--call): Use it.
23003
23004 * eshell/esh-util.el (eshell-condition-case): Doc fix.
23005
23006 * cus-edit.el (Custom-newline): If no button at point, look
23007 for a subgroup button at start-of-line. (Bug#2298)
23008
23009 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
23010
23011 2011-03-10 Julien Danjou <julien@danjou.info>
23012
23013 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
23014 `cursor-type' is nil.
23015
23016 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
23017
23018 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
23019
23020 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
23021
23022 * allout.el: Change so yank of distinctive-bullet items
23023 preserves the existing header prefix, rebulleting it if necessary,
23024 rather than replacing it. This is necessary for proper operation
23025 of cooperative addons like allout-widgets.
23026 (allout-make-topic-prefix, allout-rebullet-heading):
23027 Change SOLICIT arg to INSTEAD, and interpret additionally a string
23028 value as alternate bullet to be used, instead of prompting the user
23029 for a bullet character.
23030
23031 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
23032
23033 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23034 Do not use `tramp-file-name-port', because this returns also
23035 `tramp-default-port'.
23036
23037 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
23038
23039 * net/rcirc.el (rcirc-handler-001): Remove useless
23040 with-rcirc-process-buffer.
23041 (rcirc-check-auth-status): Swap arguments to string-match.
23042
23043 2011-03-09 Glenn Morris <rgm@gnu.org>
23044
23045 * shell.el (shell-mode):
23046 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
23047
23048 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
23049 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
23050
23051 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
23052
23053 * emacs-lisp/package.el (package-refresh-contents)
23054 (package-menu-execute): Use condition-case-no-debug.
23055
23056 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
23057
23058 * simple.el (shell-command-to-string): Use `process-file'.
23059
23060 * emacs-lisp/package.el (package-tar-file-info): Handle also
23061 remote files.
23062
23063 * emacs-lisp/package-x.el (package-upload-buffer-internal):
23064 Use `equal' for upload base check.
23065
23066 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
23067
23068 * textmodes/texinfo.el (texinfo-environments):
23069 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
23070
23071 2011-03-08 Glenn Morris <rgm@gnu.org>
23072
23073 * cus-start.el (cursor-in-non-selected-windows):
23074 Fix :set quoting oddness. (Bug#8192)
23075
23076 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
23077 in some setf expressions. (Bug#2159)
23078
23079 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
23080
23081 * custom.el (custom-available-themes): Return themes in
23082 alphabetical order.
23083
23084 See ChangeLog.15 for earlier changes.
23085
23086 ;; Local Variables:
23087 ;; coding: utf-8
23088 ;; End:
23089
23090 Copyright (C) 2011-2013 Free Software Foundation, Inc.
23091
23092 This file is part of GNU Emacs.
23093
23094 GNU Emacs is free software: you can redistribute it and/or modify
23095 it under the terms of the GNU General Public License as published by
23096 the Free Software Foundation, either version 3 of the License, or
23097 (at your option) any later version.
23098
23099 GNU Emacs is distributed in the hope that it will be useful,
23100 but WITHOUT ANY WARRANTY; without even the implied warranty of
23101 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23102 GNU General Public License for more details.
23103
23104 You should have received a copy of the GNU General Public License
23105 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.