* net/tramp-adb.el (tramp-adb-file-name-handler-alist): Remove
[bpt/emacs.git] / lisp / ChangeLog
1 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
2
3 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Remove
4 spurious entry.
5
6 2013-01-08 Glenn Morris <rgm@gnu.org>
7
8 * net/tramp.el (tramp-default-host-alist): Add :version.
9
10 2013-01-08 Juri Linkov <juri@jurta.org>
11
12 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
13 single completion. (Bug#12456)
14 (info--manual-names): Expand node completions into an explicit list
15 before appending it to another list. Filter out internal buffers
16 with the leading space in the buffer name. (Bug#10771)
17
18 2013-01-08 Juri Linkov <juri@jurta.org>
19
20 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
21 that defaults to the Top node.
22 (Info-goto-node, Info-read-node-name): Doc fix to mention that
23 the short format (FILENAME) goes to the Top node.
24 (Info-build-node-completions): Rename arg `file' to `filename'.
25 (Bug#13365)
26
27 2013-01-07 Bastien Guerry <bzg@gnu.org>
28
29 * menu-bar.el (menu-bar-search-documentation-menu): Use
30 `apropos-user-option' and fix the help message.
31
32 2013-01-07 Bastien Guerry <bzg@gnu.org>
33
34 * apropos.el (apropos-do-all): Update docstring.
35 (apropos-user-option-button): New face.
36 (apropos-user-option): Rename from `apropos-variable' and update
37 docstring.
38 (apropos-variable): Rewrite, now show all variables by default.
39 (apropos-print): Mention "User option" instead of "Variable" when
40 printing doc for user options. (Bug#13276)
41
42 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
43
44 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
45 Handle filename correctly, when parsing "source -> target" symlink
46 output.
47 (tramp-adb-handle-set-file-times): New defun.
48
49 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
50
51 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
52 advice list when the interactive-spec of ad-Advice-* changes.
53
54 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
55
56 * wid-edit.el (widget-default-get): Work for inlined elements.
57 (Bug#12670)
58
59 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
60
61 * net/tramp.el (tramp-default-host-alist): New defcustom.
62 (tramp-find-host): Use it.
63 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
64 `eshell-directory-change-hook'.
65
66 * net/tramp-adb.el (top): Add adb specific entry in
67 `tramp-default-host-alist'.
68 (tramp-adb-file-name-host): Remove function.
69 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
70 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
71
72 * net/tramp-sh.el: Move eshell integration code to tramp.el.
73
74 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
75
76 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
77
78 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
79
80 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
81 consist of more than one digit.
82 (tramp-adb-file-name-handler-alist):
83 Use `tramp-handle-file-exists-p' consistently.
84 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
85 (tramp-adb-handle-file-exists-p): Remove function.
86 (tramp-adb-file-name-host): New defun.
87 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
88 Use it.
89 (tramp-adb-maybe-open-connection): Set "remote-path" property.
90
91 2013-01-06 Chong Yidong <cyd@gnu.org>
92
93 * vc/vc.el (vc-next-action): Detect buffer modifications
94 conflicting with locking VCS operation (Bug#11490).
95
96 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
97
98 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
99
100 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
101 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
102
103 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
104
105 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
106 parsing of ls output using regular expression (handle filenames
107 with spaces). Use virtual device number.
108 (tramp-do-parse-file-attributes-with-ls): New defun (Code
109 cleanup).
110
111 2013-01-04 Daiki Ueno <ueno@gnu.org>
112
113 * epg.el: Silence byte-compiler warnings.
114 (epg--start): Use delete-char instead of delete-backward-char.
115 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
116
117 2013-01-04 Daiki Ueno <ueno@gnu.org>
118
119 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
120 Suggested by Eli Zaretskii <eliz@gnu.org>.
121
122 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
123
124 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
125 non-negative integers. Otherwise, the default values are used.
126 (tramp-convert-file-attributes): Convert uid and gid to integers.
127
128 2013-01-04 Glenn Morris <rgm@gnu.org>
129
130 * term.el (term-handle-colors-array): Ensure face attributes
131 are fully specified, not nil. (Bug#13337)
132
133 * term.el (term-default-fg-color, term-default-bg-color):
134 Fix custom type.
135
136 * progmodes/etags.el (tags-compression-info-list): Doc fix.
137 (tag-find-file-of-tag-noselect): Check auto-compression-mode
138 rather than 'jka-compr being loaded. (Bug#13338)
139
140 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
141
142 * icomplete.el (icomplete-completions):
143 Honor icomplete-prospects-height once more following
144 2012-11-29 changes. (Bug#13224)
145
146 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
147
148 * subr.el (internal--called-interactively-p--get-frame): Find aliases
149 of called-interactively-p as well (bug#13237).
150
151 * view.el (view--enable, view--disable): Rename from view-mode-enable
152 and view-mode-disable and assume it's called from view-mode.
153 (view-mode-enable, view-mode-disable): Redefine as obsolete
154 compatibility layer above view-mode.
155 (view-mode-enter): Call `view-mode'.
156
157 * files.el (after-find-file): Call `view-mode'.
158
159 * doc-view.el (doc-view-scale-internally): New var.
160 (doc-view-enlarge, doc-view-insert-image): Obey it.
161
162 2013-01-03 Daiki Ueno <ueno@gnu.org>
163
164 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
165 exist. (Bug#13344)
166
167 2013-01-03 Glenn Morris <rgm@gnu.org>
168
169 * mail/rmail.el (rmail-set-header-1): Ignore case.
170 Handle multi-line headers. (Bug#13330)
171
172 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
173 Handle paragraph starting at beginning of buffer.
174
175 * subr.el (eval-after-load): Don't purecopy the form, so that it
176 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
177
178 * emacs-lisp/byte-run.el (defun): Place cl declarations
179 after any interactive spec. (Bug#13265)
180
181 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
182
183 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
184 defun. Don't check for DECL if DOCSTRING isn't a string.
185 (defun): Likewise.
186
187 2013-01-02 Glenn Morris <rgm@gnu.org>
188
189 * eshell/em-cmpl.el (eshell-pcomplete):
190 More thoroughly imitate pcomplete. (Bug#13293)
191
192 * files.el (parse-colon-path): Doc fix. (Bug#12351)
193 Return nil for empty path elements. (Bug#13296)
194
195 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
196
197 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
198 order to improve efficiency (Based on Daniel Colascione's
199 <dancol@dancol.org> patch). (Bug#13182)
200
201 2013-01-02 Glenn Morris <rgm@gnu.org>
202
203 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
204
205 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
206
207 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
208 neither DOCSTRING nor DECL was given. (Bug#13316)
209
210 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
211
212 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
213 `error' call.
214 (tramp-do-copy-or-rename-file): Ignore errors when calling
215 `set-file-extended-attributes'.
216
217 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
218 Add handler for `file-acl'.
219 (tramp-smb-handle-file-acl): New defun.
220
221 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
222
223 * calc/README: Mention ISO 8601 week-numbering dates.
224
225 2013-01-01 Martin Rudalics <rudalics@gmx.at>
226
227 * view.el (view-mode-enable): New argument run-view-mode-hook.
228 Run view-mode-hook only when it's non-nil (Bug#13315).
229 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
230 argument t.
231
232 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
233
234 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
235 (No device connected, invalid device name). (Bug #13299)
236
237 2012-12-31 Martin Rudalics <rudalics@gmx.at>
238
239 * window.el (window-resizable--p): Rename to window-resizable-p.
240 (window-resize-no-error): New function.
241
242 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
243 broken in fix from 2012-12-28.
244
245 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
246
247 * subr.el (special-form-p): Don't signal errors on undef aliases.
248
249 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
250
251 * calc/calc-forms.el (math-parse-date): Try using
252 `math-parse-iso-date' when it looks like it might be needed.
253 Allow times of 24:00.
254 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
255 of 24:00.
256
257 2012-12-30 Glenn Morris <rgm@gnu.org>
258
259 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
260 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
261 (rmail-summary-displayed, rmail-summary): Declare.
262 (mairix-rmail-display): Just require rmail.
263
264 2012-12-30 Chong Yidong <cyd@gnu.org>
265
266 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
267 check for the tarball contents.
268
269 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
270
271 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
272 tarfile content listings (Bug#13136).
273
274 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
275
276 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
277 Insert the undecoded text of the message being forwarded. (Bug#9521)
278
279 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
280
281 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
282 integers, if they are real numbers. (Bug#13282)
283
284 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
285 Return `t' on success.
286
287 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
288 Add handler for `set-file-selinux-context'.
289
290 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
291
292 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
293 (tramp-sh-handle-set-file-acl): Return `t' on success.
294
295 2012-12-29 Eli Zaretskii <eliz@gnu.org>
296
297 * files.el (backup-buffer-copy, basic-save-buffer-2):
298 If set-file-extended-attributes fails, fall back on set-file-modes
299 instead of signaling an error. (Bug#13298)
300 (basic-save-buffer): Likewise.
301
302 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
303
304 * progmodes/python.el: Support other commands triggering
305 python-indent-line so indentation cycling continues to work.
306 (python-indent-trigger-commands): New defcustom.
307 (python-indent-line): Use it.
308
309 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
310
311 * progmodes/python.el (python-shell-send-region): Add blank lines
312 for non sent code so backtraces remain correct.
313
314 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
315
316 * progmodes/python.el: Remove cl dependency.
317 (python-syntax-count-quotes): Replace incf call.
318 (python-fill-string): Replace setf call.
319
320 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
321
322 * info.el (info-other-window): New arg, for consistency with info.
323
324 2012-12-28 Martin Rudalics <rudalics@gmx.at>
325
326 * mail/rmail.el (rmail-maybe-display-summary):
327 Rewrite (Bug#13066).
328
329 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
330
331 * epg.el (epg--start): Modify process-environment locally.
332
333 2012-12-28 Daiki Ueno <ueno@gnu.org>
334
335 * epg.el: Support pinentry-curses.
336 Suggested by Werner Koch in
337 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
338 (epg-agent-file, epg-agent-mtime): New variable.
339 (epg--start): Record the modified time of gpg-agent socket file,
340 to restore Emacs frame after pinentry-curses termination.
341 (epg-wait-for-completion): Restore Emacs frame here.
342
343 2012-12-27 Juri Linkov <juri@jurta.org>
344
345 * info.el (Info-file-completions): New variable.
346 (Info-read-node-name-1): Complete node names in the Info file
347 when a file name is given. Call `Info-build-node-completions'
348 with a file name.
349 (Info-build-node-completions): Add new arg `file'. When it is
350 non-nil, visit it in a temporary buffer and cache its completions in
351 `Info-current-file-completions'. Move most of the function body to
352 `Info-build-node-completions-1'.
353 (Info-build-node-completions-1): New function with the body from
354 `Info-build-node-completions'. (Bug#12456)
355
356 2012-12-27 Juri Linkov <juri@jurta.org>
357
358 * frame.el (frame-maximization-style): Remove user option.
359 (cycle-frame-maximized): Remove function.
360 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
361 (toggle-frame-fullscreen): New command bound to <f11> instead of
362 `toggle-frame-maximized'.
363 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
364
365 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
366
367 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
368
369 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
370 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
371 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
372 for `file-accessible-directory-p'. (Bug#13275)
373
374 2012-12-27 Sam Steingold <sds@gnu.org>
375
376 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
377 continuations, see <http://stackoverflow.com/questions/3582436>.
378
379 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
380
381 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
382 "module" and "def" to have indentation before them.
383 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
384
385 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
386
387 2012-12-27 Alan Mackenzie <acm@muc.de>
388
389 Speed up fontification where there's large brace blocks.
390 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
391 to a call of c-beginning-of-decl-1.
392
393 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
394
395 * comint.el (comint-adjust-window-point): New function.
396 (comint-postoutput-scroll-to-bottom):
397 Call comint-adjust-window-point (Bug#13248).
398
399 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
400
401 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
402 Rakefile regexp.
403 (auto-mode-alist): Associate .gemspec files with ruby-mode
404 (https://bugs.ruby-lang.org/issues/5453).
405
406 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
407
408 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
409 Suppress coloring, if possible (required for BusyBox based systems like
410 CynagenMod).
411 (tramp-adb-handle-file-attributes)
412 (tramp-adb-handle-insert-directory)
413 (tramp-adb-handle-file-name-all-completions): Use it.
414 (tramp-adb-get-toolbox): New defun. Check for remote shell
415 implementation (BusyBox or Toolbox).
416
417 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
418
419 * startup.el (initial-buffer-choice): Allow function as value
420 (Bug#13251).
421 (command-line-1): Handle case where initial-buffer-choice
422 specifies a function.
423 * server.el (server-execute): Handle case where
424 initial-buffer-choice specifies a function.
425
426 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
427
428 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
429 its own function.
430 (smtpmail-try-auth-methods): Forget the user name/password if the
431 login is unsuccessful (bug#12424).
432
433 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
434
435 * notifications.el (notifications-notify): Protect body with
436 `with-demoted-errors'.
437
438 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
439 Check properties of remote device. Restart connection, if there is a
440 change.
441
442 2012-12-21 Chong Yidong <cyd@gnu.org>
443
444 * sort.el (sort-subr): Doc fix (Bug#13056).
445
446 2012-12-21 Bastien Guerry <bzg@gnu.org>
447
448 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
449
450 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
451
452 * simple.el (process-file): Overwrite stderr file, if exists.
453
454 2012-12-21 Daiki Ueno <ueno@gnu.org>
455
456 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
457 (epg-error): Set `error-message' property.
458
459 2012-12-21 Chong Yidong <cyd@gnu.org>
460
461 * international/mule-cmds.el (read-char-by-name): Signal an error
462 if the user does not supply a valid character (Bug#13177).
463
464 * simple.el (transpose-subr-1): Preserve marker positions by
465 changing the insertion sequence (Bug#13122).
466
467 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
468
469 * simple.el (kill-region): Deactivate mark even for empty regions
470 (Bug#13169).
471
472 2012-12-21 Chong Yidong <cyd@gnu.org>
473
474 * help-fns.el (describe-variable): Make sure we get the right
475 buffer name (Bug#13105). Suggested by Kelly Dean.
476
477 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
478
479 * comint.el (comint-redirect-previous-input-string): New variable.
480 (comint-redirect-setup, comint-redirect-cleanup)
481 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
482 (comint-redirect-preoutput-filter): Fix verbose message.
483
484 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
485
486 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
487 is too long for Tramp. See discussion in
488 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
489
490 * progmodes/compile.el (compilation-start): Remove line escape
491 template.
492
493 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
494
495 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
496 Adjust comment.
497
498 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
499
500 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
501 following non-comment text (bug#13207).
502 (lm-header-multiline): Continuation lines need to be indented more than
503 the first line.
504 (lm-homepage): New function.
505 (lm-with-file): Don't be confused if narrowing is in effect.
506
507 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
508
509 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
510 very beginning of a hunk (e.g. killing the first line).
511
512 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
513
514 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
515 and text properties from returned ACL string.
516 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
517 for "setfacl" command.
518
519 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
520
521 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
522 `tramp-cleanup-this-connection', when the process has died.
523 (Bug#13151)
524
525 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
526
527 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
528
529 2012-12-17 Kevin Ryde <user42@zip.com.au>
530
531 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
532
533 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
534
535 Add support for preserving ACL entries of files.
536
537 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
538 `set-file-acl' handlers.
539
540 * net/tramp-adb.el (tramp-adb-handle-copy-file):
541 Handle PRESERVE-EXTENDED-ATTRIBUTES.
542
543 * net/tramp-compat.el (tramp-compat-copy-file):
544 Handle PRESERVE-EXTENDED-ATTRIBUTES.
545
546 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
547 Add `file-acl' and `set-file-acl' handlers.
548 (tramp-gvfs-handle-copy-file):
549 Handle PRESERVE-EXTENDED-ATTRIBUTES.
550 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
551 New defuns.
552
553 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
554 Add `file-acl' and `set-file-acl' handlers.
555 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
556 (tramp-sh-handle-set-file-acl): New defuns.
557 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
558 Handle PRESERVE-EXTENDED-ATTRIBUTES.
559
560 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
561 Add `file-acl' and `set-file-acl' handlers.
562 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
563
564 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
565
566 * help-macro.el (make-help-screen): Instead of switch-to-buffer
567 use pop-to-buffer with NORECORD argument t. As buffer name, use
568 *Metahelp* with a leading space (Bug#13190).
569
570 2012-12-16 Romain Francoise <romain@orebokech.com>
571
572 * files.el (file-extended-attributes)
573 (set-file-extended-attributes): New functions.
574 (backup-buffer): Use them to handle both SELinux context and ACL
575 entries.
576 (backup-buffer-copy): Work with an alist of extended attributes,
577 rather than an SELinux context.
578 (basic-save-buffer-2): Ditto.
579
580 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
581
582 * battery.el (battery-bsd-apm): New function.
583
584 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
585
586 * calc/calc.el (calc-standard-date-formats): Adjust one of the
587 standard date formats.
588
589 2012-12-15 Juri Linkov <juri@jurta.org>
590
591 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
592 `isearch-insert-char-by-name'.
593 (with-isearch-suspended): New defmacro with body mostly from
594 `isearch-edit-string' except the part that sets
595 `isearch-new-string' and `isearch-new-message'.
596 (isearch-edit-string): Use new macro `with-isearch-suspended' with
597 body that sets `isearch-new-string' and `isearch-new-message'.
598 (isearch-insert-char-by-name): New command.
599 * international/mule-cmds.el (read-char-by-name): Let-bind
600 `enable-recursive-minibuffers' to t.
601 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
602
603 2012-12-15 Juri Linkov <juri@jurta.org>
604
605 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
606 (Bug#13175)
607
608 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
609
610 * dired-x.el (dired-guess-shell-command): Put colon at the end of
611 the prompt. (Bug#13045)
612
613 2012-12-14 Glenn Morris <rgm@gnu.org>
614
615 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
616 Try to include filename in non-bytecomp warning. (Bug#13132)
617
618 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
619
620 Fix permissions bugs with setgid directories etc. (Bug#13125)
621 * files.el (backup-buffer): Don't rely on 9th output of
622 file-attributes, as it's now a placeholder. Instead, use the new
623 optional arg of file-ownership-preserved-p.
624 (file-ownership-preserved-p): New optional arg GROUP.
625 Fix mishandling of setuid directories that would cause this
626 function to return t when it should have returned nil.
627 Document what happens if the file does not exist, and when
628 it's not known whether the ownership will be preserved.
629 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
630 Likewise.
631 (tramp-get-local-gid): Use group-gid for integer, as that's
632 faster and more reliable.
633
634 2012-12-14 Julien Danjou <julien@danjou.info>
635
636 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
637 Update keywords list, data type and PL/pgSQL.
638
639 2012-12-14 Dave Abrahams <dave@boostpro.com>
640
641 * vc/ediff-util.el (ediff-buffer-type): New function.
642 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
643 rather than taking it as as argument.
644 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
645
646 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
647
648 * json.el: Add pretty-print option (bug#12634).
649 (json-encoding-separator, json-encoding-default-indentation)
650 (json--encoding-current-indentation, json-encoding-pretty-print)
651 (json-encoding-lisp-style-closings): New vars.
652 (json--with-indentation): New macro.
653 (json-encode-hash-table, json-encode-alist, json-encode-plist)
654 (json-encode-array): Use it to obey json-encoding-pretty-print.
655 (json-pretty-print-buffer, json-pretty-print): New commands.
656
657 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
658
659 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
660 Extract `ruby-syntax-propertize-expansions'.
661 (ruby-syntax-propertize-expansions): Only change syntax on
662 certain string delimiters, to punctuation. This way the common
663 functions like forward-word and thing-at-point still work.
664 (ruby-match-expression-expansion): Improve readability.
665 (ruby-block-contains-point): New function.
666 (ruby-add-log-current-method): Handle several edge cases.
667
668 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
669
670 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
671 unload-feature finishes even when aborting an ongoing edebug session.
672 Also, do not worry about edebug-mode, unload-feature takes care of it.
673
674 2012-12-13 Andreas Schwab <schwab@suse.de>
675
676 * net/tls.el (tls-program): Update customize type.
677
678 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
679
680 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
681 (edebug-setup-hook, cl-read-load-hooks): Use it.
682 (edebug-unload-function): New function. (Bug#13163)
683
684 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
685
686 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
687 Otherwise, there could be errors in autoloading. (Bug#13151)
688
689 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
690
691 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
692 sequences.
693
694 2012-12-13 Alan Mackenzie <acm@muc.de>
695
696 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
697 * progmodes/cc-engine.el (c-backward-comments): Add code to work
698 around `forward-comment' not recognizing ^M as whitespace.
699
700 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
701
702 * progmodes/python.el (python-skeleton-class)
703 (python-skeleton-def): Do not add space after defun name.
704
705 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
706
707 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
708 (cl--symbol-function): Remove (now that funbound is like nil).
709
710 2012-12-12 Glenn Morris <rgm@gnu.org>
711
712 * button.el (button--area-button-p): Fix typo.
713
714 2012-12-12 Sam Steingold <sds@gnu.org>
715
716 * frame.el (frame-maximization-style): New user option.
717 (toggle-frame-maximized): Toggle frame maximization according to
718 `frame-maximization-style', bound to <f11>.
719 (cycle-frame-maximized): Cycle between all maximization styles and
720 non-maximized frame, bound to shift-<f11>.
721
722 2012-12-12 David Cadé <codename68@gmail.com>
723
724 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
725
726 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
727
728 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
729 (eieio-override-prin1): Don't quote kewords and booleans.
730 (object-write) <eieio-default-superclass>: Don't put closing parens
731 on new line, avoid needless empty lines, align values that are objects
732 with the slot keyword (instead of beginning on the same line).
733 (eieio-list-prin1): Align value with slot keyword; increase
734 eieio-print-depth before printing members of the list.
735
736 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
737
738 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
739 a display text-property.
740 (report-emacs-bug-hook): Don't bother deleting it any more.
741
742 * hilit-chg.el (highlight-save-buffer-state): Delete.
743 Use with-silent-modifications instead.
744 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
745
746 * button.el: Handle buttons in display text-properties.
747 (button--area-button-p, button--area-button-string):
748 Use (STRING . STRING-POS) representation instead of just STRING.
749
750 2012-12-11 Eli Zaretskii <eliz@gnu.org>
751
752 * makefile.w32-in (compile4-SH): Fix a typo that caused term
753 subdirectory be skipped.
754
755 2012-12-11 Glenn Morris <rgm@gnu.org>
756
757 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
758
759 * progmodes/f90.el (f90-line-continued, f90-indent-region):
760 Treat preprocessor lines embedded in continuations like comments.
761 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
762
763 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
764
765 * calc/calc.el (calc-standard-date-formats): Add more date
766 formats.
767 * calc/calc-forms.el (math-parse-iso-date): New function.
768 (math-parse-date): Use `math-parse-iso-date' when appropriate.
769 (math-parse-iso-date-validate): Add extra error checking.
770 (calc-date-notation): Add ability to access new date formats.
771
772 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
773
774 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
775 font-lock as well as when there's no text-property.
776
777 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
778
779 * hi-lock.el: Refine the choice of default face.
780 (hi-lock-keyword->face): New function. Use it wherever we used
781 cadadadr instead.
782 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
783 (hi-lock--last-face): Remove var.
784 (hi-lock--unused-faces): New var to replace it.
785 (hi-lock-read-face-name): Use/maintain it.
786 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
787 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
788 if it has another face.
789
790 2012-12-10 Eli Zaretskii <eliz@gnu.org>
791
792 * subr.el (w32notify-handle-event): New function.
793 (inotify-handle-event): Doc fix.
794
795 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
796
797 * subr.el (inotify-event-p, inotify-handle-event): New functions.
798
799 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
800
801 * simple.el (just-one-space): Doc fix.
802
803 2012-12-10 Eli Zaretskii <eliz@gnu.org>
804
805 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
806
807 2012-12-10 Le Wang <l26wang@gmail.com>
808
809 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
810 narrowed buffer (bug#12361).
811
812 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
813
814 * vc/vc-hooks.el (vc-state): Doc fix.
815
816 2012-12-10 Glenn Morris <rgm@gnu.org>
817
818 * mail/rmail.el (rmail-maybe-display-summary):
819 Preserve buffer, in case select-window changes it. (Bug#13066)
820
821 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
822
823 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
824 cl-load-hook where they belong.
825
826 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
827
828 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
829
830 2012-12-09 Eli Zaretskii <eliz@gnu.org>
831
832 Parallelize byte compilation on MS-Windows.
833 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
834 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
835 (WINS_BASIC): Define as concatenation of the above.
836 (compile): Subdivide into 4 separate and independent jobs that can
837 be run in parallel.
838 (compile0-CMD, compile0-SH): New targets for compiling
839 COMPILE_FIRST files, which are prerequisites for the rest of the
840 byte-compilation.
841 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
842 New targets for parallel compilation with cmd.exe.
843 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
844 compiling under a Unixy shell.
845
846 2012-12-09 Chong Yidong <cyd@gnu.org>
847
848 * simple.el (set-mark-default-inactive): Delete this
849 accidentally-introduced option.
850 (set-mark-command, exchange-point-and-mark): Remove calls.
851
852 2012-12-09 Glenn Morris <rgm@gnu.org>
853
854 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
855 Respect a defcustom's :set function, if appropriate. (Bug#109)
856 (eval-defun): Doc fix.
857
858 2012-12-08 Juri Linkov <juri@jurta.org>
859
860 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
861 (Info-fontify-node, Info-bookmark-make-record): Remove the
862 file extension from Info-current-file (Bug#13016).
863
864 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
865
866 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
867 point, still provide some default.
868 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
869 names, since we don't use it right now. Actually return the list.
870 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
871
872 2012-12-07 Chong Yidong <cyd@gnu.org>
873
874 * novice.el (disabled-command-function): Remove a spurious help
875 xref (Bug#13043). Suggested by Kelly Dean.
876
877 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
878 syntax is specified (Bug#13025).
879
880 * info.el (Info-set-mode-line): Remove the file extension from
881 Info-current-file if there is one (Bug#13016).
882
883 2012-12-07 Glenn Morris <rgm@gnu.org>
884
885 * mail/rmail.el (rmail-mime-decoded): New permanent local.
886 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
887 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
888 and rmail-mime-decoded. (Bug#9841)
889
890 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
891 (batch-unrmail, unrmail): Doc fixes.
892 (unrmail): Respect unrmail-mbox-format.
893 * mail/rmail.el (rmail-mbox-format): New option.
894 (rmail-show-message-1): Respect rmail-mbox-format.
895
896 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
897
898 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
899
900 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
901
902 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
903 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
904 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
905 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
906 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
907 (cl-progv): Don't rely on dynamic scoping to find the body.
908 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
909 (cl--proclaims-deferred): Rename from the "cl-" prefix.
910 (cl-declaim): Use backquotes.
911 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
912 Use "cl--" prefix for the object's tag.
913
914 * ses.el: Use advice-add/remove.
915 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
916 (copy-region-as-kill, yank): Use advice-add.
917 (ses-unload-function): Use advice-remove.
918
919 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
920
921 * button.el: Make them work in header-lines (bug#12817).
922 (button-map): Add bindings for header-line and mode-line use.
923 (button-get, button-put, button-label): `button' may now be a string.
924 (button-activate): Don't make it a defsubst.
925 (button--area-button-p, button--area-button-string): New functions.
926 (make-text-button): Fix the return value when `beg' was a string.
927 (push-button): Handle the mode-line case.
928
929 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
930
931 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
932 (sql-signum): Remove. Use `cl-signum' instead.
933 (sql-read-passwd): Remove; use read-passwd instread.
934 (sql-get-login-ext): Use read-string.
935 (sql-get-login): Use dolist and pcase.
936 (sql--completion-table): Rename from sql-try-completion.
937 Use complete-with-action.
938 (sql-mode): Don't change abbrev-all-caps globally.
939 (sql-connect): Don't rely on dynamic scoping for `new-name'.
940 (sql-postgres-completion-object): Initialize vars in their `let'.
941 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
942 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
943 (sql-comint-interbase): Use a single append, without setq.
944 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
945
946 * hi-lock.el: Rework the default face and the serialize regexp code.
947 (hi-lock--auto-select-face-defaults): Remove.
948 (hi-lock-string-serialize-serial): Remove.
949 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
950 make weak.
951 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
952 equal string.
953 (hi-lock-set-pattern): Adjust accordingly.
954 (hi-lock--regexps-at-point): Simplify accordingly.
955 (hi-lock--auto-select-face-defaults): Remove.
956 (hi-lock--last-face): New var to replace it.
957 (hi-lock-read-face-name): Rewrite (bug#11095).
958 (hi-lock-unface-buffer): Arrange for the face to be the next default.
959
960 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
961
962 * net/tramp.el (tramp-replace-environment-variables):
963 Hide compiler warning.
964 (tramp-file-name-for-operation): Remove `executable-find',
965 `start-process', `call-process' and `call-process-region'.
966
967 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
968
969 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
970 compatibility.
971
972 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
973
974 2012-12-06 Chong Yidong <cyd@gnu.org>
975
976 * ffap.el (ffap-replace-file-component): Fix typo.
977
978 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
979
980 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
981 fix open-paren-like token test (bug#12785).
982
983 2012-12-06 Glenn Morris <rgm@gnu.org>
984
985 * mail/rmailsum.el (rmail-new-summary): Tweak for
986 rmail-maybe-display-summary changing buffer. (Bug#13066)
987
988 2012-12-06 Juri Linkov <juri@jurta.org>
989
990 * info.el (Info-fontify-node): Don't hide the last newline.
991 (Bug#12272)
992
993 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
994
995 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
996 so as to enable message-read-from-minibuffer to expand mail aliases.
997
998 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
999
1000 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
1001 the `intangible' property.
1002 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
1003
1004 2012-12-05 Deniz Dogan <deniz@dogan.se>
1005
1006 * net/rcirc.el (rcirc-urls): Update documentation.
1007 (rcirc-condition-filter): New function.
1008 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
1009 and exclude consecutive duplicate URLs (Bug#6082).
1010
1011 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
1012
1013 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1014 Check return code of copy command.
1015
1016 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
1017 Use group `tramp'. Add version.
1018
1019 2012-12-05 Chong Yidong <cyd@gnu.org>
1020
1021 * ffap.el (ffap-url-regexp): Don't require matching at front of
1022 string (Bug#4952).
1023 (ffap-url-p): If only a substring matches, return that.
1024 (ffap-url-at-point): Use the return value of ffap-url-p.
1025 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
1026 (find-file-at-point, dired-at-point, dired-at-point-prompter)
1027 (ffap-guess-file-name-at-point): Likewise.
1028 (ffap-replace-file-component): Fix typo.
1029
1030 * info.el (info-display-manual): Add existing Info buffers, whose
1031 files may not be in Info-directory-list, to the completion.
1032 (info--manual-names): New helper function.
1033
1034 2012-12-05 Glenn Morris <rgm@gnu.org>
1035
1036 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
1037 New functions, for detecting and resolving conflicts. (Bug#10709)
1038
1039 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
1040
1041 * hi-lock.el (hi-lock-auto-select-face): New user variable.
1042 (hi-lock-auto-select-face-defaults): New buffer local variable.
1043 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
1044 (hi-lock-unface-buffer): Prompt user with useful defaults.
1045 With prefix arg, unhighlight all hi-lock patterns in buffer.
1046
1047 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1048
1049 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
1050
1051 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
1052
1053 * Makefile.in (TRAMP_SRC):
1054 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
1055
1056 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
1057
1058 * net/tramp-adb.el: New package.
1059
1060 2012-12-04 Chong Yidong <cyd@gnu.org>
1061
1062 * terminal.el: Move to obsolete/.
1063
1064 * longlines.el: Move to obsolete/.
1065
1066 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
1067 Remove code referring to longlines mode.
1068
1069 2012-12-03 Juri Linkov <juri@jurta.org>
1070
1071 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
1072
1073 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1074
1075 * textmodes/ispell.el (ispell-init-process)
1076 (ispell-start-process, ispell-internal-change-dictionary):
1077 Make sure personal dictionary name is expanded after initial
1078 `default-directory' value. Use expanded strings for
1079 keep/restart checks and for value (Bug#13019).
1080
1081 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
1082
1083 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
1084
1085 2012-12-03 Leo Liu <sdl.web@gmail.com>
1086
1087 * files.el (dir-locals-read-from-file): Check file non-empty
1088 before reading. (Bug#13038)
1089
1090 2012-12-03 Glenn Morris <rgm@gnu.org>
1091
1092 * jka-cmpr-hook.el (jka-compr-get-compression-info):
1093 Remove any version extension before checking filename. (Bug#13006)
1094 (jka-compr-compression-info-list): Belated :version bump.
1095
1096 2012-12-03 Chong Yidong <cyd@gnu.org>
1097
1098 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
1099
1100 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
1101 (buffer-menu): Doc fix (Bug#12294).
1102
1103 2012-12-03 Roland Winkler <winkler@gnu.org>
1104
1105 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
1106 of diary-show-all-entries in the diary buffer (Bug#12994).
1107
1108 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
1109
1110 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
1111 "<STDIN>". This is binary safe.
1112
1113 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
1114
1115 * calc/calc-forms.el (math-absolute-from-iso-dt)
1116 (math-date-to-iso-dt, math-parse-iso-date-validate)
1117 (math-iso-dt-to-date): New functions.
1118 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
1119 (math-fd-isoweekday): New variables.
1120 (calc-date-notation, math-parse-standard-date, math-format-date)
1121 (math-format-date-part): Add support for more formatting codes.
1122
1123 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
1124
1125 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
1126 current buffer's file name when called interactively (Bug#12488).
1127
1128 2012-12-02 Juri Linkov <juri@jurta.org>
1129
1130 * info.el (info-display-manual): Don't clobber an existing Info
1131 buffer (Bug#10770). Add completion (Bug#10771).
1132
1133 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
1134
1135 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
1136 before using it for comparison (Bug#5297).
1137
1138 2012-12-01 Jari Aalto <jari.aalto@cante.net>
1139
1140 * textmodes/css-mode.el (css-current-defun-name): New function.
1141 (css-mode): Use it.
1142
1143 * textmodes/sgml-mode.el (html-current-defun-name): New function.
1144 (html-mode): Use it.
1145
1146 2012-12-01 Chong Yidong <cyd@gnu.org>
1147
1148 Modularize add-log-current-defun (Bug#2224).
1149 Suggested by Jari Aalto.
1150
1151 * vc/add-log.el (add-log-current-defun-function): Doc fix.
1152 (add-log-current-defun): Move mode-specific code to other files.
1153 (add-log-lisp-like-modes, add-log-c-like-modes)
1154 (add-log-tex-like-modes): Variables deleted.
1155
1156 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
1157 (lisp-mode-variables): Use it.
1158
1159 * progmodes/cc-mode.el (c-common-init):
1160 * progmodes/cperl-mode.el (cperl-mode): Set a value for
1161 add-log-current-defun-function.
1162
1163 * progmodes/m4-mode.el (m4-current-defun-name): New function.
1164 (m4-mode): Use it.
1165
1166 * progmodes/perl-mode.el (perl-current-defun-name): New.
1167 (perl-mode): Use it.
1168
1169 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
1170 Use lisp-current-defun-name.
1171
1172 * textmodes/tex-mode.el (tex-current-defun-name): New.
1173 (tex-common-initialization): Use it.
1174
1175 * textmodes/texinfo.el (texinfo-current-defun-name): New.
1176 (texinfo-mode): Use it.
1177
1178 2012-12-01 Chong Yidong <cyd@gnu.org>
1179
1180 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
1181 * progmodes/autoconf.el (autoconf-mode):
1182 * progmodes/js.el (js-mode):
1183 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
1184 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
1185 * progmodes/perl-mode.el (perl-mode):
1186 * progmodes/sh-script.el (sh-mode, sh-set-shell):
1187 * textmodes/css-mode.el (css-mode):
1188 * textmodes/sgml-mode.el (html-mode, sgml-mode)
1189 (sgml-tags-invisible, sgml-guess-indent):
1190 * textmodes/tex-mode.el (tex-common-initialization)
1191 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
1192 (doctex-mode, plain-tex-mode, latex-mode):
1193 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
1194
1195 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
1196
1197 * vc/vc-hg.el (vc-hg-next-revision):
1198 Ensure use of default "tip" output format. (Bug#6968)
1199
1200 2012-12-01 Kim F. Storm <storm@cua.dk>
1201
1202 * startup.el (fancy-startup-tail): Add a clickable link
1203 (Bug#2176).
1204
1205 2012-12-01 Chong Yidong <cyd@gnu.org>
1206
1207 * startup.el (fancy-startup-tail): Improve the message about
1208 auto-save files (Bug#2176).
1209
1210 * files.el (recover-session): Improve the descriptive message, and
1211 use substitute-command-keys.
1212
1213 2012-12-01 Glenn Morris <rgm@gnu.org>
1214
1215 * ido.el (ido-file-internal):
1216 Handle other-window, other-frame for dired. (Bug#13036)
1217
1218 2012-11-30 Glenn Morris <rgm@gnu.org>
1219
1220 * icomplete.el (icomplete-separator): Fix :version.
1221
1222 2012-11-30 Chong Yidong <cyd@gnu.org>
1223
1224 * shell.el (shell): For C-u M-x shell, use an inactive shell
1225 buffer as the default (Bug#1975).
1226 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
1227 (shell-mode): Use them to reapply ansi colorization if Shell mode
1228 is re-enabled.
1229
1230 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
1231
1232 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
1233
1234 2012-11-30 Samuel Bronson <naesten@gmail.com>
1235
1236 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
1237 flag to xargs, for compatibility with BSD xargs (Bug#11703).
1238
1239 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
1240
1241 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
1242 by move-to-column (Bug#3234).
1243
1244 2012-11-30 Chong Yidong <cyd@gnu.org>
1245
1246 * longlines.el (longlines-wrap-line, longlines-encode-region):
1247 Preserve text properties (Bug#1425).
1248
1249 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
1250
1251 * vc/vc.el (vc-register): Allow registering a file which is
1252 already registered with a different backend (Bug#10589).
1253
1254 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
1255 Stefan Monnier <monnier@iro.umontreal.ca>
1256
1257 * icomplete.el: Change separator; add ido-style commands.
1258 (icomplete-show-key-bindings): Remove custom var.
1259 (icomplete-get-keys): Remove function.
1260 (icomplete-forward-completions, icomplete-backward-completions):
1261 New commands.
1262 (icomplete-minibuffer-map): New var.
1263 (icomplete-minibuffer-setup): Use it.
1264 (icomplete-exhibit): Don't delay if the list of completions is known.
1265 (icomplete-separator): New custom.
1266 (icomplete-completions): Use it.
1267 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
1268 (minibuffer-force-complete-and-exit): New command.
1269 (minibuffer--complete-and-exit): New function extracted from
1270 minibuffer-complete-and-exit.
1271 (minibuffer-complete-and-exit): Use it.
1272
1273 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
1274 error message when the file doesn't exist (bug#12974).
1275
1276 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1277
1278 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
1279
1280 2012-11-29 Glenn Morris <rgm@gnu.org>
1281
1282 * files.el (hack-dir-local-variables): Warn if try to set
1283 coding via dir-locals, since it doesn't work. (Bug#7169)
1284
1285 Add desktop support for restoring vc-dir buffers. (Bug#10606)
1286 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
1287 Set buffer-local value of desktop-save-buffer.
1288 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
1289 New functions.
1290 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
1291 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
1292
1293 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
1294 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
1295 Doc fix.
1296 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
1297 Doc fixes.
1298
1299 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
1300
1301 * calc/calc-forms.el (calc-date-notation): Fix regexp
1302 used to find time codes. Fix symbol for seconds.
1303
1304 2012-11-27 Glenn Morris <rgm@gnu.org>
1305
1306 * emacs-lisp/derived.el (derived-mode-make-docstring):
1307 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
1308
1309 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1310
1311 * textmodes/table.el (table-insert): Don't use `symbol-name' on
1312 lexically scoped variables (bug#13005).
1313
1314 2012-11-27 Glenn Morris <rgm@gnu.org>
1315
1316 * vc/vc-hooks.el (vc-mistrust-permissions):
1317 Default to t, to avoid data-loss. (Bug#11490)
1318
1319 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
1320
1321 * progmodes/python.el (python-indent-guess-indent-offset):
1322 If indentation is guessed make python-indent-offset buffer-local.
1323
1324 Fix Imenu regression.
1325 * progmodes/python.el (python-nav-beginning-of-defun):
1326 Fix forward movement when statement(s) separates point from defun.
1327 (python-imenu-prev-index-position): New function.
1328
1329 2012-11-27 Eli Zaretskii <eliz@gnu.org>
1330
1331 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
1332
1333 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
1334 Don't set buffer-file-type. Return nil. (Bug#12989)
1335
1336 2012-11-27 Glenn Morris <rgm@gnu.org>
1337
1338 * hippie-exp.el (hippie-expand-try-functions-list):
1339 Re-autoload it. (Bug#12982)
1340
1341 2012-11-27 Eli Zaretskii <eliz@gnu.org>
1342
1343 * descr-text.el (describe-char-padded-string):
1344 Call internal-char-font only on GUI frames. (Bug#11964)
1345
1346 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
1347
1348 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
1349 and obsoletion message.
1350
1351 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1352
1353 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
1354 the constructs to keep outside of the `cl-block' (bug#12977).
1355
1356 2012-11-27 Chong Yidong <cyd@gnu.org>
1357
1358 * mouse.el (mouse-drag-line): Even if the line is not draggable,
1359 keep reading until we get the up-event anyway, in order to process
1360 the up-event for mouse-1-click-follows-link (Bug#12971).
1361
1362 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
1363
1364 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
1365 base function is not yet defined (bug#12965).
1366 (ad-activate-advised-definition): Use ad-compile-function.
1367 (ad-activate): Use cond.
1368
1369 2012-11-25 Leo Liu <sdl.web@gmail.com>
1370
1371 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
1372 (Bug#12979)
1373
1374 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
1375
1376 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
1377 reftex-section-info-function in order to be compatible with
1378 Texinfo integration.
1379
1380 * textmodes/reftex.el (reftex-section-pre-regexp)
1381 (reftex-section-post-regexp, reftex-section-info-function):
1382 New variable.
1383 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
1384 reftex-section-post-regexp, and reftex-section-info-function in order
1385 to be compatible with Texinfo integration.
1386
1387 * textmodes/reftex-toc.el (reftex-toc-promote-action):
1388 use reftex-section-pre-regexp variable in order to be compatible with
1389 Texinfo integration.
1390
1391 2012-11-25 Chong Yidong <cyd@gnu.org>
1392
1393 * faces.el: Make face-spec-set more analogous to setq.
1394 (face-spec-set): Change the third arg to specify whether this
1395 function is being called via defface, customize, or a third party.
1396 Set the appropriate symbol properties. Clear the override spec if
1397 setting via Custom. Initialize face if necessary. (Bug#4988)
1398 (face-spec-recalc): Allow theme faces to completely replace the
1399 defface spec, in the same way as custom faces (Bug#8454).
1400
1401 * cus-face.el (custom-declare-face): Move face initialization to
1402 face-spec-set.
1403 (custom-theme-set-faces): Don't initialize the face name here, as
1404 that is now done in face-spec-set.
1405
1406 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
1407 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
1408 Simplify by using the new arg to face-spec-set.
1409
1410 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
1411 reset face-override-spec too, and use custom-declare-face.
1412
1413 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
1414
1415 * term/ns-win.el (ns-initialize-window-system): Move creation of
1416 fontsets here (Bug#11964).
1417
1418 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
1419
1420 * ses.el (ses-rename-cell): Correct bug on mode-line update after
1421 cell renaming.
1422
1423 2012-11-24 Chong Yidong <cyd@gnu.org>
1424
1425 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
1426 obsolete.
1427
1428 * custom.el (custom-theme-set-variables): Use a topological sort
1429 for ordering by custom dependencies (Bug#12952).
1430 (custom--sort-vars, custom--sort-vars-1): New functions.
1431
1432 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
1433
1434 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
1435 lexical-binding (bug#12938).
1436
1437 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
1438
1439 * image-mode.el (image-transform-check-size): Use assertions only
1440 for images of type imagemagick.
1441
1442 Otherwise no error, image-transform-fit-to-{width,height} is
1443 silently ignored, as before. Doc fix.
1444
1445 2012-11-24 Chong Yidong <cyd@gnu.org>
1446
1447 * faces.el (color-defined-p): Doc fix (Bug#12853).
1448
1449 2012-11-24 Juri Linkov <juri@jurta.org>
1450
1451 * dired.el (dired-mark): Add optional arg `interactive'.
1452 Check for `use-region-p' if `interactive' is non-nil.
1453 (dired-unmark, dired-flag-file-deletion): Add optional arg
1454 `interactive'. Call `dired-mark' with the arg `interactive'.
1455 (Bug#10624)
1456
1457 * wdired.el: Revert 2012-10-17 change partly and replace it with
1458 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
1459 (wdired-finish-edit): Add marks for new file names to
1460 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
1461 after `revert-buffer'.
1462 (wdired-do-renames): Remove calls to `dired-remove-file',
1463 `dired-add-file', `dired-add-entry'. (Bug#11795)
1464
1465 2012-11-24 Alan Mackenzie <acm@muc.de>
1466
1467 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
1468
1469 Fix bugs in the state cache. Enhance a debugging mechanism.
1470 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
1471 "brace at column zero" strategy for C++.
1472 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
1473 (c-parse-state-point): New variable.
1474 (c-record-parse-state-state): Record old parse state with
1475 `copy-tree'. Record previous value of point.
1476 (c-debug-parse-state-double-cons): New debugging function.
1477 (c-debug-parse-state): Call the above new function.
1478 (c-toggle-parse-state-debug): Output a confirmatory message.
1479
1480 * progmodes/cc-mode.el (c-before-change, c-after-change):
1481 Call c-invalidate-state-cache from `c-before-change' instead of
1482 `c-after-change'.
1483
1484 2012-11-23 Chong Yidong <cyd@gnu.org>
1485
1486 * find-cmd.el (find-constituents): Add executable, ipath,
1487 readable, samefile, writable, daystart, regextype (Bug#12856).
1488
1489 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
1490
1491 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
1492
1493 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
1494
1495 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
1496 definition. This fixes a bootstrap failure.
1497 (calc-gregorian-switch): In menu, put dates before regions.
1498 This is easier to follow, lines up better in the menu, and lets us
1499 coalesce regions that switch at the same time. Give country
1500 names, not "Vatican", as that's better for non-expert users.
1501 Use names that are stable between the date of switch and now, e.g.,
1502 Bohemia and Moravia (which existed then and now) and not
1503 Czechoslovakia (which didn't exist then and doesn't exist now).
1504 What is now the U.S. mostly did not switch at the same time as
1505 Britain, so omit the U.S. Correct spelling of "Britain".
1506 Catholic Switzerland was too much of a mess, so omit it.
1507
1508 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
1509
1510 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
1511 after the variable is changed.
1512
1513 2012-11-21 Daniel Colascione <dancol@dancol.org>
1514
1515 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
1516 in SQL declarations for font-lock.
1517 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
1518
1519 2012-11-21 Glenn Morris <rgm@gnu.org>
1520
1521 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
1522 (face-italic-p): Add optional argument "inherit".
1523
1524 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
1525 Remove -p suffix from names, for consistency with other set-face-*.
1526 (set-face-inverse-video): Fix interactive spec.
1527 * play/gamegrid.el (gamegrid-make-mono-tty-face):
1528 * textmodes/table.el (table--update-cell-face):
1529 Use set-face-inverse-video rather than now obsolete alias.
1530
1531 2012-11-21 Eli Zaretskii <eliz@gnu.org>
1532
1533 * simple.el (line-move): Don't call line-move-partial if
1534 scroll-conservatively is in effect. (Bug#12927)
1535
1536 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1537
1538 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
1539 Fallback on completion-at-point rather than
1540 pcomplete-expand-and-complete, and only if pcomplete actually failed.
1541 (eshell-cmpl-initialize): Setup completion-at-point.
1542
1543 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
1544
1545 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
1546
1547 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
1548
1549 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
1550 are remote, check out-of-band property for both.
1551
1552 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1553
1554 * window.el (switch-to-buffer): Re-add the warning that was lost in the
1555 code rewrite.
1556
1557 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
1558
1559 More minor time fixes.
1560 * calendar/time-date.el: Commentary fix.
1561 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
1562 too much other code depends on (0 0) time stamps.
1563 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
1564 Add a couple of FIXME comments.
1565
1566 Minor cleanup for times as lists of four integers.
1567 * files.el (dir-locals-directory-cache):
1568 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
1569 Doc fixes.
1570 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
1571 * ps-bdf.el (bdf-file-newer-than-time):
1572 Process four-integers time stamps, not two. Doc fixes.
1573
1574 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
1575
1576 * uniquify.el (uniquify-managed): Use defvar-local.
1577 (rename-buffer, create-file-buffer): Advise with advice-add.
1578 (uniquify-unload-function): Unadvise accordingly.
1579
1580 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
1581 (trace-buffer): Don't purecopy.
1582 (trace-entry-message, trace-exit-message): Add `context' arg.
1583 (trace--timer): New var.
1584 (trace-make-advice): Adjust for use in nadvice.
1585 Add `context' argument. Delay `display-buffer' via a timer.
1586 (trace-function-internal): Use advice-add.
1587 (trace--read-args): New function.
1588 (trace-function-foreground, trace-function-background): Use it.
1589 (trace-function): Rename to trace-function-foreground and redefine as
1590 an alias to that new name.
1591 (untrace-function, untrace-all): Adjust to the use of nadvice.
1592
1593 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
1594
1595 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
1596
1597 * subr.el (called-interactively-p-functions): New var.
1598 (internal--called-interactively-p--get-frame): New macro.
1599 (called-interactively-p, interactive-p): Rewrite in Lisp.
1600 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
1601 (called-interactively-p-functions): Use it.
1602 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
1603 (called-interactively-p-functions): Use it.
1604 * allout.el (allout-called-interactively-p): Don't assume
1605 called-interactively-p is a subr.
1606
1607 2012-11-20 Glenn Morris <rgm@gnu.org>
1608
1609 * profiler.el (profiler-report-mode-map): Add a menu.
1610 No need to bind `q' because we derive from special-mode.
1611 (profiler-report-find-entry): Handle calls from the menu-bar.
1612
1613 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
1614
1615 * emacs-lisp/byte-run.el (defun-declarations-alist):
1616 Allow a compiler-macro to be a lambda expression.
1617
1618 * progmodes/python.el: Use cl-lib. Move var declarations outside of
1619 eval-when-compile.
1620 (python-syntax-context): Add compiler-macro.
1621 (python-font-lock-keywords): Simplify with De Morgan.
1622
1623 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
1624
1625 * files.el (load-file): Require match in minibuffer selection, as was
1626 the case in Emacs-20 before we changed the spec to allow .elc files
1627 (bug#12935).
1628
1629 * json.el: Don't require cl since we don't use it.
1630 * color.el: Don't require cl.
1631 (color-complement): `caddr' -> `nth 2'.
1632
1633 * calendar/time-date.el (time-to-seconds): De-obsolete.
1634
1635 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
1636
1637 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
1638 year numbers.
1639 (math-date-to-julian-dt): Adjust the initial approximation for the
1640 year to deal with the new definition of the DATE.
1641
1642 2012-11-19 Daniel Colascione <dancol@dancol.org>
1643
1644 * term/w32-win.el (cygwin-convert-path-from-windows):
1645 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
1646
1647 2012-11-18 Chong Yidong <cyd@gnu.org>
1648
1649 * filecache.el (file-cache--read-list): New function.
1650 (file-cache-add-directory-list, file-cache-add-file-list)
1651 (file-cache-delete-file-list, file-cache-delete-directory-list):
1652 Use it to read a list of files or directories (Bug#12846).
1653 (file-cache-add-file, file-cache-add-directory)
1654 (file-cache-delete-file-list, file-cache-delete-file-regexp)
1655 (file-cache-delete-directory): Print an message.
1656
1657 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
1658
1659 * calc/calc-forms.el (math-date-to-dt): Use integer date when
1660 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
1661
1662 2012-11-18 Glenn Morris <rgm@gnu.org>
1663
1664 * image.el (insert-image, insert-sliced-image): Doc fix.
1665
1666 2012-11-18 Chong Yidong <cyd@gnu.org>
1667
1668 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
1669 (Bug#12810).
1670
1671 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
1672
1673 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
1674 response when the target file is in a subdirectory (Bug#12757).
1675
1676 2012-11-18 Chong Yidong <cyd@gnu.org>
1677
1678 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
1679
1680 2012-11-18 Glenn Morris <rgm@gnu.org>
1681
1682 * emacs-lisp/cl-lib.el (face-underline-p):
1683 Use set-face-underline rather than the alias set-face-underline-p.
1684
1685 * window.el (with-temp-buffer-window): Doc fix.
1686 * subr.el (with-output-to-temp-buffer):
1687 Add doc xref to with-temp-buffer-window.
1688
1689 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
1690
1691 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
1692 * calc/calc.el (math-format-date-cache): Declare.
1693
1694 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
1695
1696 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
1697 It also uses January 1, 1 AD as its day number 1.
1698 * calc/calc-forms.el (math-julian-date-beginning)
1699 (math-julian-date-beginning-int): Implement this.
1700
1701 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
1702
1703 * descr-text.el (quail-find-key):
1704 * dired.el (desktop-file-name):
1705 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
1706 * generic-x.el (comint-mode, comint-exec):
1707 * image-dired.el (widget-forward):
1708 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
1709 (speedbar-change-expand-button-char)
1710 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
1711 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
1712 * printing.el (easy-menu-add-item, easy-menu-remove-item)
1713 (widget-field-action, widget-value-set):
1714 * speedbar.el (imenu--make-index-alist):
1715 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
1716 (ring-length, ring-insert):
1717 * vcursor.el (compare-windows-skip-whitespace):
1718 * woman.el (dired-get-filename):
1719 Declare functions.
1720
1721 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
1722
1723 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1724
1725 * calc/calc.el (calc-gregorian-switch): New variable.
1726
1727 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
1728 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
1729 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
1730 (math-leap-year-p): Add option to distinguish between Julian
1731 and Gregorian calendars.
1732 (math-day-number): Use `math-day-in-year' to do the computations.
1733 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
1734 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
1735 to do the computations.
1736 (math-date-to-dt): Use `math-date-to-julian-dt' and
1737 `math-date-to-gregorian-dt' to do the computations.
1738 (calcFunc-weekday, math-format-date-part): Use the new version of
1739 the DATE to determine the weekday.
1740 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
1741 when necessary.
1742
1743 2012-11-17 Eli Zaretskii <eliz@gnu.org>
1744
1745 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
1746 Cygwin; otherwise use 'file:'. (Bug#12914)
1747 (cygwin-convert-path-from-windows): Declare, to avoid
1748 byte-compiler warnings.
1749
1750 2012-11-17 Andreas Politz <politza@fh-trier.de>
1751
1752 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
1753 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
1754 prefix and negative numeric prefix args (Bug#12795).
1755
1756 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
1757
1758 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
1759 Don't signal an error with a score that is too low to add to the
1760 list of top scores. (Bug#12779)
1761
1762 2012-11-17 Chong Yidong <cyd@gnu.org>
1763
1764 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
1765
1766 * filecache.el (file-cache-add-file): Handle relative file name in
1767 the argument (Bug#12694).
1768
1769 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
1770
1771 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
1772
1773 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
1774
1775 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
1776
1777 * emacs-lisp/cl-lib.el: Set more meaningful version number.
1778
1779 2012-11-16 Martin Rudalics <rudalics@gmx.at>
1780
1781 * window.el (enlarge-window, shrink-window): Don't mention return
1782 value in doc-string (Bug#12896).
1783 (window--display-buffer): Don't resize frames - it won't work
1784 with all window managers and defeat pop-up-frame-alist.
1785 (display-buffer-alist): In doc-string explain that CONDITION can
1786 be a function and which arguments are passed to it (Bug#12854).
1787 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
1788 expressions (Bug#12854).
1789 (display-buffer): Pass ACTION argument to
1790 display-buffer-assq-regexp.
1791
1792 2012-11-16 Glenn Morris <rgm@gnu.org>
1793
1794 * window.el (fit-frame-to-buffer-bottom-margin)
1795 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
1796
1797 * faces.el (face-underline-p): Use face-attribute-specified-or.
1798
1799 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
1800
1801 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
1802
1803 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
1804
1805 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
1806
1807 2012-11-16 Glenn Morris <rgm@gnu.org>
1808
1809 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
1810 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
1811
1812 * faces.el (face-underline-p): Doc fix. Handle :underline being
1813 things other than `t' (a string, a list).
1814 (face-inverse-video-p): Doc fix.
1815 (set-face-underline): Rename it back from set-face-underline-p.
1816 Doc fix. Allow interactive input of values other than t.
1817 (read-face-attribute): Apply formatting to :underline,
1818 since like :box and :stipple it can take list values.
1819
1820 * term.el (ansi-term): Don't let C-x escape-char binding
1821 clobber the more standard C-c binding. (Bug#12842)
1822
1823 * subr.el (set-temporary-overlay-map): Doc fix.
1824
1825 2012-11-16 Martin Rudalics <rudalics@gmx.at>
1826
1827 * window.el (record-window-buffer)
1828 (display-buffer-record-window): When copying the markers to
1829 window-point preserve window-point-insertion-type. (Bug#12588)
1830
1831 2012-11-16 Glenn Morris <rgm@gnu.org>
1832
1833 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
1834 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
1835 Use new names for hooks rather than obsolete aliases.
1836
1837 2012-11-15 Daniel Colascione <dancol@dancol.org>
1838
1839 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
1840 prefix instead of "file:" so that when FILE-NAME begins with "//",
1841 as it does when the target file is on a network share, url-handler
1842 isn't confused.
1843
1844 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1845
1846 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
1847 a preactivated advice from an old advice.el; they're not compatible!
1848
1849 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
1850
1851 * emacs-lisp/nadvice.el (advice--make-interactive-form):
1852 Fix string-spec case.
1853
1854 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
1855
1856 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1857
1858 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
1859 (advice--buffer-local-function-sample): New var.
1860 (advice--set-buffer-local, advice--buffer-local): New functions.
1861 (add-function, remove-function): Use them.
1862
1863 2012-11-15 Drew Adams <drew.adams@oracle.com>
1864
1865 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
1866
1867 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1868
1869 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
1870 potential binding of print-gensym to t, and prettify (back)quotes in
1871 case they appear in args's default values (bug#12884).
1872
1873 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1874
1875 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
1876 (advice-eval-interactive-spec): New function.
1877 (advice--make-interactive-form): Support around advice (bug#12844).
1878
1879 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
1880
1881 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
1882 more strict. Add docstring.
1883 (ruby-expression-expansion-re): Extract from
1884 `ruby-match-expression-expansion'.
1885 (ruby-syntax-propertize-function): After everything else, search
1886 for expansions in string literals, mark their insides as
1887 whitespace syntax and save match data for font-lock.
1888 (ruby-font-lock-keywords): Use the 2nd group from expression
1889 expansion matches.
1890 (ruby-match-expression-expansion): Use the match data saved to the
1891 text property in ruby-syntax-propertize-function.
1892
1893 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1894
1895 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
1896 (bug#12879).
1897
1898 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
1899
1900 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
1901 start/end keyword a bit harder. Works with different values of N.
1902 Add more comments.
1903 (ruby-end-of-block): Update accordingly.
1904
1905 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
1906
1907 * woman.el (woman-file-name): Don't mess with unread-command-events
1908 (bug#12861).
1909
1910 * emacs-lisp/advice.el: Layer on top of nadvice.el.
1911 Remove out of date self-require hack.
1912 (ad-do-advised-functions): Use simple `dolist'.
1913 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
1914 (ad-advice-definition): Redefine as functions.
1915 (ad-advice-classes): Move before first use.
1916 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
1917 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
1918 (ad--defalias-fset): Remove functions.
1919 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
1920 (ad-get-orig-definition): Rewrite.
1921 (ad-make-advised-definition-docstring): Change base docstring.
1922 (ad-real-orig-definition): Rewrite.
1923 (ad-map-arglists): Change name of called function.
1924 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
1925 (ad-make-advised-definition): Simplify.
1926 (ad-assemble-advised-definition): Tweak for new calling context.
1927 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
1928 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
1929 function and call ad-activate if needed.
1930 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
1931 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
1932 (ad-compile-function): Compile ad-Advice-*.
1933 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
1934 (ad-start-advice, ad-stop-advice): Remove.
1935
1936 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
1937
1938 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
1939 period before class method names, not after. Remove handling of
1940 one impossible case. Add comments.
1941
1942 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
1943
1944 * emacs-lisp/advice.el: Remove support for freezing.
1945 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
1946 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
1947 Remove support for `freeze'.
1948
1949 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
1950 override the default.
1951 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
1952 cl--dotimes/dolist.
1953 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
1954 `cl' is loaded.
1955
1956 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
1957 from add-advice.
1958 (advice--strip-macro): New function.
1959 (advice--defalias-fset): Use them to handle macros.
1960 (advice-add): Use them.
1961 (advice-member-p): Correctly handle macros.
1962
1963 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
1964
1965 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1966 Never font-lock the beginning of singleton class as heredoc.
1967
1968 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
1969
1970 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
1971
1972 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
1973
1974 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
1975 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
1976 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
1977
1978 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
1979
1980 Fix end-of-defun misbehavior.
1981 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
1982 python-beginning-of-defun-function. Handle nested defuns
1983 correctly.
1984 (python-nav-end-of-defun): Rename from
1985 python-end-of-defun-function. Ensure forward movement.
1986 (python-info-current-defun): Reimplement to work as intended
1987 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
1988 parent defuns as soon as possible.
1989
1990 2012-11-13 Glenn Morris <rgm@gnu.org>
1991
1992 * progmodes/flymake.el (flymake-error-bitmap)
1993 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
1994 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
1995
1996 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
1997
1998 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
1999 backward, always stop at indentation. Reverts the change from
2000 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
2001
2002 2012-11-13 Glenn Morris <rgm@gnu.org>
2003
2004 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
2005 Add ibuffer-filter-by-derived-mode.
2006
2007 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
2008 the same name shadowing each other.
2009
2010 * window.el (with-temp-buffer-window): Doc tweak.
2011
2012 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
2013
2014 * help.el (temp-buffer-max-height):
2015 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
2016 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
2017
2018 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
2019
2020 * emacs-lisp/nadvice.el: New package.
2021 * subr.el (special-form-p): New function.
2022 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
2023 (elp-all-instrumented-list): Remove var.
2024 (elp-not-profilable): Remove elp-wrapper.
2025 (elp-profilable-p): Use autoloadp and special-form-p.
2026 (elp--advice-name): New const.
2027 (elp-instrument-function): Use advice-add.
2028 (elp--instrumented-p): New predicate.
2029 (elp-restore-function): Use advice-remove.
2030 (elp-restore-all, elp-reset-all): Use mapatoms.
2031 (elp-set-master): Use elp--instrumented-p.
2032 (elp--make-wrapper): Rename from elp-wrapper, return a function
2033 suitable for advice-add. Use cl-inf.
2034 (elp-results): Use mapatoms+elp--instrumented-p.
2035 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
2036 (debug-function-list): Remove var.
2037 (debug): Rename arg, and then let-bind it explicitly inside.
2038 (debugger-setup-buffer): Rename arg.
2039 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
2040 (debugger-frame-number): Adjust to new debug-on-entry setup.
2041 (debug--implement-debug-on-entry): Rename from
2042 implement-debug-on-entry, add argument.
2043 (debugger-special-form-p): Remove, use special-form-p instead.
2044 (debug-on-entry): Use advice-add.
2045 (debug--function-list): New function.
2046 (cancel-debug-on-entry): Use it, along with advice-remove.
2047 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
2048 (debugger-list-functions): Use debug--function-list instead of
2049 debug-function-list.
2050 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
2051 (ad-special-form-p): Remove, use special-form-p instead.
2052 (ad-set-advice-info): Use add-function and remove-function.
2053 (ad--defalias-fset): Adjust accordingly.
2054
2055 2012-11-10 Glenn Morris <rgm@gnu.org>
2056
2057 * mail/emacsbug.el (report-emacs-bug-tracker-url)
2058 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
2059 (report-emacs-bug-create-existing-bugs-buffer)
2060 (report-emacs-bug-parse-query-results)
2061 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
2062
2063 * term.el (term-default-fg-color, term-default-bg-color):
2064 Make obsolete, rather than just saying "deprecated" in the doc.
2065
2066 * term.el (term): Rename from `term-face'.
2067 (term-current-face, ansi-term-color-vector)
2068 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
2069 Update all users.
2070
2071 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
2072
2073 * server.el (server-create-window-system-frame): Handle Nextstep
2074 specially (Bug#12780).
2075
2076 2012-11-10 Glenn Morris <rgm@gnu.org>
2077
2078 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
2079 Unautoload, and make obsolete. (Bug#7449)
2080
2081 2012-11-10 Chong Yidong <cyd@gnu.org>
2082
2083 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
2084 rename from diff-remove-trailing-whitespace (Bug#12831).
2085
2086 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
2087
2088 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
2089 miscompilation of trace.el.
2090
2091 2012-11-10 Glenn Morris <rgm@gnu.org>
2092
2093 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
2094
2095 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
2096
2097 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
2098 (bug#12812).
2099
2100 2012-11-10 Chong Yidong <cyd@gnu.org>
2101
2102 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
2103 a defcustom with an appropriate :set function.
2104 (minibuffer-default--in-prompt-regexps): New function.
2105
2106 2012-11-10 Glenn Morris <rgm@gnu.org>
2107
2108 * emacs-lisp/cl.el (define-setf-expander, defsetf)
2109 (define-modify-macro): Doc fixes.
2110
2111 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
2112 (gv-define-simple-setter): Update doc of `fix-return'.
2113
2114 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
2115
2116 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
2117 twice when `fix-return' is set (bug#12813).
2118
2119 * emacs-lisp/cl.el (defsetf): Pass the third arg to
2120 gv-define-simple-setter (bug#12812).
2121
2122 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
2123 (bug#12756).
2124
2125 2012-11-10 Glenn Morris <rgm@gnu.org>
2126
2127 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
2128
2129 * emacs-lisp/cl-extra.el (cl-prettyexpand):
2130 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
2131 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
2132 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
2133
2134 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
2135
2136 2012-11-10 Leo Liu <sdl.web@gmail.com>
2137
2138 * ido.el (ido-set-matches-1): Improve flex matching performance by
2139 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
2140
2141 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2142
2143 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
2144 (ad--defalias-fset): New function.
2145 (ad-safe-fset): Remove.
2146 (ad-make-freeze-definition): Use cl-letf*.
2147
2148 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2149
2150 * subr.el (dolist): Don't bind VAR in RESULT.
2151
2152 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
2153 (fset, documentation): Don't save real def since we don't advise.
2154 (ad-do-advised-functions): Remove problematic `result-form'.
2155 (ad-safe-fset): `ad-real-fset' => `fset'.
2156 (ad-read-advised-function): Don't assume that ad-do-advised-functions
2157 uses CL's dolist internally.
2158 (ad-arglist): Remove unused arg `name'.
2159 (ad-docstring, ad-make-advised-docstring):
2160 `ad-real-documentation' => `documentation'.
2161 (warning-suppress-types): Declare.
2162 (ad-set-arguments): Simple CSE.
2163 (ad-recover-normality): Sanity check.
2164
2165 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
2166 (funcall '(lambda ..) ..) into ((lambda ..) ..).
2167
2168 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
2169
2170 * ses.el: symbol to coordinate mapping is made by symbol property
2171 `ses-cell'. This means that the same mapping is done for all SES
2172 sheets. That is good enough for cells with standard A1 names, but
2173 not for named cell. So a hash map is added for the latter.
2174 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
2175 (ses-sym-rowcol): Use hashmap for named cell.
2176 (ses-is-cell-sym-p): New defun.
2177 (ses-decode-cell-symbol): New defun.
2178 (ses-create-cell-variable): Add cell to hashmap when name is not
2179 A1-like.
2180 (ses-rename-cell): Check that cell new name is not already in
2181 spreadsheet with the use of ses-is-cell-sym-p
2182 (ses-rename-cell): Use hash map for named cells, but accept also
2183 renaming back to A1-like.
2184
2185 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2186
2187 * emacs-lisp/advice.el: Use new dynamic docstrings.
2188 (ad-make-advised-definition-docstring, ad-advised-definition-p):
2189 Use dynamic-docstring-function instead of ad-advice-info.
2190 (ad--make-advised-docstring): New function extracted from
2191 ad-make-advised-docstring.
2192 (ad-make-advised-docstring): Use it.
2193 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
2194 from sql-help.
2195 (sql-help): Use it with dynamic-docstring-function.
2196
2197 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
2198
2199 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2200
2201 * files.el (hack-one-local-variable--obsolete): New function.
2202 (hack-one-local-variable): Use it for obsolete settings.
2203
2204 * subr.el (locate-user-emacs-file): If both old and new name exist, use
2205 the new name.
2206
2207 * progmodes/js.el (js--filling-paragraph): New var.
2208 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
2209 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
2210 less sneaky.
2211
2212 2012-11-08 Julien Danjou <julien@danjou.info>
2213
2214 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
2215 `auto-mode-alist' (Bug#12835).
2216
2217 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2218
2219 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
2220 (perl--prettify-symbols-alist): New const.
2221 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
2222 New functions.
2223 (perl-font-lock-keywords-2): Use them.
2224 (perl-electric-noindent-p): New function.
2225 (perl-mode): Use it to set up electric-indent-mode.
2226 (perl-electric-terminator, perl-indent-command): Mark obsolete.
2227 (perl-mode-map): Remove bindings for them.
2228 (perl-imenu-generic-expression, perl-outline-level):
2229 Match functions&packages in column>0.
2230
2231 * env.el (env--substitute-vars-regexp): New const.
2232 (substitute-env-vars): Use it. Add `only-defined' arg.
2233 * net/tramp.el (tramp-replace-environment-variables): Use it.
2234
2235 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
2236 Byte-compile *before* eval in eval-and-compile.
2237 (byte-compile-log-warning): Remove redundant inhibit-read-only.
2238 (byte-compile-file-form-autoload): Don't hide actual definition.
2239 (byte-compile-maybe-guarded): Accept `functionp' as well.
2240
2241 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
2242
2243 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
2244
2245 * notifications.el (notifications-get-server-information-method):
2246 New defconst.
2247 (notifications-get-capabilities): Fix docstring.
2248 (notifications-get-server-information): New defun.
2249
2250 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2251
2252 * textmodes/ispell.el (ispell-region): Standard re-indent for better
2253 readability.
2254
2255 * textmodes/ispell.el: Experimental support for support debugging.
2256 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
2257 buffer for ispell.
2258 (ispell-print-if-debug): New function to print stuff to
2259 `ispell-debug-buffer' if debugging is enabled.
2260 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
2261 show some debugging info.
2262 (ispell-buffer-with-debug): New function that creates a debugging
2263 buffer and calls `ispell-buffer' with debugging enabled.
2264
2265 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
2266 comment in autoconf mode. (Bug#12768)
2267
2268 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
2269
2270 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
2271 frame-first-window, frame-root-window, frame-selected-window,
2272 minibuffer-selected-window, minibuffer-window,
2273 window-absolute-pixel-edges, window-at, window-body-height,
2274 window-body-width, window-display-table, window-combination-limit,
2275 window-frame, window-fringes, window-inside-absolute-pixel-edges,
2276 window-inside-edges, window-inside-pixel-edges, window-left-child,
2277 window-left-column, window-margins, window-next-buffers,
2278 window-next-sibling, window-new-normal, window-new-total,
2279 window-normal-size, window-parameter, window-parameters, window-parent,
2280 window-pixel-edges, window-point, window-prev-buffers,
2281 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
2282 window-start, window-text-height, window-top-child, window-top-line,
2283 window-total-height, window-total-width and window-use-time to the list
2284 of functions without side-effects.
2285 (toplevel): Add window-valid-p to the list of error-free functions
2286 without side-effects.
2287
2288 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2289
2290 * textmodes/ispell.el (ispell-program-name):
2291 Update spellchecker parameters when customized.
2292
2293 2012-11-04 Glenn Morris <rgm@gnu.org>
2294
2295 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
2296
2297 2012-11-04 Chong Yidong <cyd@gnu.org>
2298
2299 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
2300 same-window-* variables.
2301
2302 2012-11-04 Juri Linkov <juri@jurta.org>
2303
2304 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
2305 (isearch-describe-key, isearch-describe-mode): Use a display
2306 action instead of binding same-window-* variables (Bug#10040).
2307
2308 2012-11-03 Glenn Morris <rgm@gnu.org>
2309
2310 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
2311 Rename handler properties back from cl-- to cl-. (Bug#12788)
2312
2313 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
2314
2315 2012-11-03 Eli Zaretskii <eliz@gnu.org>
2316
2317 * term/pc-win.el: Don't load term/internal from here.
2318
2319 * loadup.el: Load term/internal from here.
2320
2321 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
2322
2323 * progmodes/python.el (inferior-python-mode): Fix hang in
2324 jit-lock (Bug#12645).
2325
2326 2012-11-03 Martin Rudalics <rudalics@gmx.at>
2327
2328 * window.el (switch-to-visible-buffer)
2329 (switch-to-buffer-preserve-window-point): Fix doc-strings.
2330
2331 2012-11-03 Glenn Morris <rgm@gnu.org>
2332
2333 * emacs-lisp/cl-lib.el (cl--random-time):
2334 Rename from cl-random-time. (Bug#12773)
2335 (cl--gensym-counter, cl--random-state): Update callers.
2336 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
2337
2338 2012-11-03 Chong Yidong <cyd@gnu.org>
2339
2340 * cus-start.el: Make cursor-type customizable (Bug#11633).
2341
2342 2012-11-02 Glenn Morris <rgm@gnu.org>
2343
2344 * filecache.el: No need to load find-lisp when compiling.
2345 (find-lisp-find-files): Autoload it.
2346 (file-cache-add-directory-recursively): Don't require find-lisp.
2347
2348 * image.el (image-type-from-file-name): Trivial simplification.
2349
2350 * emacs-lisp/bytecomp.el (byte-compile-eval):
2351 Decouple "noruntime" and "cl-functions" warnings.
2352
2353 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
2354
2355 * play/gomoku.el (gomoku-display-statistics): Update mode line
2356 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
2357
2358 2012-10-31 Martin Rudalics <rudalics@gmx.at>
2359
2360 * window.el (quit-restore-window): If the window has been
2361 created on an existing frame and ended up as the sole window on
2362 that frame, do not delete it (Bug#12764).
2363
2364 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
2365
2366 * progmodes/sh-script.el (sh--inside-noncommand-expression):
2367 Rename from sh--inside-arithmetic-expression, handle more cases
2368 (bug#11263).
2369
2370 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
2371 (sh-font-lock-open-heredoc): Use it (bug#12770).
2372
2373 2012-10-30 Glenn Morris <rgm@gnu.org>
2374
2375 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
2376
2377 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
2378
2379 2012-10-29 Chong Yidong <cyd@gnu.org>
2380
2381 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
2382 function key is stored in a keyboard macro (Bug#4894).
2383
2384 * thingatpt.el (number-at-point): Apply a thing-at-point property.
2385
2386 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2387
2388 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
2389 header comments".
2390 (diff-unified->context, diff-context->unified)
2391 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
2392
2393 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
2394
2395 * files.el (find-alternate-file): Only ask one question (bug#12487).
2396
2397 2012-10-29 Chong Yidong <cyd@gnu.org>
2398
2399 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
2400 Suggested by Dan Nicolaescu (Bug#6326).
2401
2402 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
2403
2404 * startup.el (fancy-about-screen): Don't message (Bug#12680).
2405
2406 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
2407
2408 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
2409
2410 * face-remap.el (face-remap-add-relative): Handle the case where a
2411 face-remapping-alist entry is a cons cell (Bug#12762).
2412
2413 2012-10-29 Kevin Ryde <user42@zip.com.au>
2414
2415 * woman.el (woman-parse-numeric-value): Handle picas correctly
2416 (Bug#12639).
2417
2418 2012-10-29 Glenn Morris <rgm@gnu.org>
2419
2420 * emacs-lisp/cl.el (defsetf): Doc fix.
2421
2422 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2423
2424 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
2425 syntax to the matching opener, if any (bug#12547).
2426 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
2427 matching open as a "case-(".
2428 (sh-smie-rc-grammar): Add a corresponding rule for it.
2429
2430 2012-10-28 Daniel Hackney <dan@haxney.org>
2431
2432 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
2433 "PKGNAME-autoloads.el" in case we created it.
2434
2435 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2436
2437 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
2438 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
2439 (completion--twq-all): Disable too-strict assertions.
2440
2441 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
2442
2443 2012-10-27 Eli Zaretskii <eliz@gnu.org>
2444
2445 * profiler.el (profiler-report-make-entry-part): Fix help-echo
2446 text to match the real keybindings.
2447
2448 2012-10-27 Juri Linkov <juri@jurta.org>
2449
2450 * wdired.el (wdired-keep-marker-rename): New defcustom.
2451 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
2452 (Bug#11795)
2453
2454 * dired.el (dired-keep-marker-rename): Add reference to
2455 `wdired-keep-marker-rename' in the docstring.
2456 Add default character value ?R to display initially in
2457 Customization UI instead of ?@.
2458
2459 2012-10-27 Martin Rudalics <rudalics@gmx.at>
2460
2461 * window.el (display-buffer): In doc-string describe
2462 window-height and window-width alist entries.
2463
2464 * time.el (display-time-world): Restore fit-window-to-buffer
2465 behavior.
2466
2467 2012-10-27 Chong Yidong <cyd@gnu.org>
2468
2469 * subr.el (insert-buffer-substring-as-yank): Doc fix.
2470
2471 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
2472
2473 * minibuffer.el (completion-category-overrides): New completion
2474 category `bookmark' (bug#11131).
2475
2476 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
2477
2478 * emacs-lisp/advice.el (ad-assemble-advised-definition):
2479 Silence bogus compiler warnings for ad-do-it.
2480
2481 * bookmark.el (bookmark-completing-read): Set the completion category
2482 to `bookmark' (bug#11131).
2483
2484 2012-10-26 Bastien <bzg@altern.org>
2485 Stefan Monnier <monnier@iro.umontreal.ca>
2486
2487 * face-remap.el: Use lexical-binding.
2488 (text-scale-adjust): Improve docstring. Use itself for the temporary
2489 overlay-map bindings, so as to repeat the "Use..." message each time.
2490
2491 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
2492
2493 * emacs-lisp/macroexp.el (macroexp--expand-all):
2494 Obey byte-compile-warning-enabled-p (bug#12486).
2495
2496 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
2497 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
2498
2499 2012-10-26 Martin Rudalics <rudalics@gmx.at>
2500
2501 * mouse.el (mouse-drag-line): Move last form into preceding when
2502 clause (Bug#12731).
2503
2504 * help.el (resize-temp-buffer-window): Fix doc-string.
2505
2506 2012-10-25 David Engster <deng@randomsample.de>
2507
2508 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
2509 Remove. This feature is already integrated in imenu.
2510
2511 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
2512 always loaded. Require `speedbar' unconditionally.
2513
2514 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2515
2516 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
2517
2518 * minibuffer.el (minibuffer-force-complete): Fix thinko.
2519
2520 * net/ldap.el (ldap-search-internal): The official ldif format starts
2521 with a "version: 1" header (bug#12724).
2522
2523 * emacs-lisp/package.el (package-installed-p): Warn if not ready
2524 (bug#12721).
2525
2526 2012-10-25 Glenn Morris <rgm@gnu.org>
2527
2528 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
2529
2530 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2531
2532 * minibuffer.el (minibuffer-force-complete): Use one more marker
2533 for the temporary-overlay-map command (bug#12619).
2534
2535 2012-10-24 Chong Yidong <cyd@gnu.org>
2536
2537 * time.el (display-time-world-mode): Derive from special-mode.
2538 (display-time-world): Use display-buffer (Bug#12708).
2539 (display-time-world-mode-map): Variable deleted.
2540 (display-time-world-display): Wrap the final delete-char inside
2541 inhibit-read-only.
2542
2543 2012-10-24 Chong Yidong <cyd@gnu.org>
2544
2545 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
2546 Doc fix.
2547
2548 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
2549
2550 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2551
2552 * minibuffer.el (completion--all-sorted-completions-location): New var.
2553 (completion--cache-all-sorted-completions)
2554 (completion--flush-all-sorted-completions): Use it.
2555 (completion-in-region, completion-in-region--postch)
2556 (completion-at-point, completion-help-at-point): Use markers in
2557 completion-in-region--data (bug#12619).
2558
2559 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2560
2561 * progmodes/compile.el (compilation-start): Try to handle common
2562 quoting of `cd' argument (bug#12640).
2563
2564 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
2565 (bug#12671).
2566
2567 2012-10-23 Glenn Morris <rgm@gnu.org>
2568
2569 * progmodes/gud.el (gud-menu-map):
2570 Check gdb-active-process is bound. (Bug#12358)
2571
2572 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2573
2574 * repeat.el (repeat): Set real-this-command (bug#12232).
2575
2576 * htmlfontify.el (hfy-post-html-hook):
2577 * filesets.el (filesets-cache-fill-content-hook):
2578 * arc-mode.el (archive-extract-hook):
2579 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
2580 * net/rcirc.el (rcirc-sentinel-functions)
2581 (rcirc-receive-message-functions, rcirc-activity-functions)
2582 (rcirc-print-functions):
2583 * net/dbus.el (dbus-event-error-functions):
2584 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
2585 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
2586 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
2587 * term/sun.el (sun-raw-prefix-hooks):
2588 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
2589
2590 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
2591
2592 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2593 Set `tramp-chunksize' to 1. This improves the performance.
2594 (tramp-smb-wait-for-output): Add timeout to
2595 `tramp-accept-process-output' calls.
2596
2597 2012-10-23 Chong Yidong <cyd@gnu.org>
2598
2599 * faces.el (font-list-limit): Define as an obsolete variable.
2600
2601 * startup.el (command-line):
2602 * cus-start.el: Don't refer to font-list-limit.
2603
2604 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
2605
2606 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2607
2608 * subr.el (internal-temp-output-buffer-show): Rename from
2609 temp-output-buffer-show, since previously compiled files expect this name.
2610
2611 2012-10-23 Glenn Morris <rgm@gnu.org>
2612
2613 * image.el (image-type-from-file-name): If multiple types match,
2614 return the first one that is supported. (Bug#9045)
2615
2616 2012-10-22 Glenn Morris <rgm@gnu.org>
2617
2618 * image.el (imagemagick-enabled-types): Doc fix.
2619
2620 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
2621
2622 * progmodes/which-func.el (which-func-current): The hash-table may have
2623 an explicit nil (bug#12338).
2624
2625 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2626
2627 * electric.el (electric-pair-delete-selection-self-insert-function):
2628 Rename to electric-pair-will-use-region, return a boolean.
2629 (electric-pair-mode): Adjust accordingly. Don't require delsel.
2630
2631 * delsel.el (delete-selection-helper): Use a function instead of a hook.
2632 (delete-selection-pre-hook): Use use-region-p.
2633 (delete-selection-self-insert-function): Remove.
2634 (self-insert-command): Obey self-insert-uses-region-functions.
2635 (self-insert-iso): Revert to previous setting, since we don't actually
2636 know what that command does.
2637 (delete-selection-self-insert-hooks): Remove.
2638
2639 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
2640
2641 * delsel.el (delete-selection-helper): New function, extracted from
2642 delete-selection-pre-hook.
2643 (delete-selection-pre-hook): Use it.
2644 (delete-selection-self-insert-function): New function.
2645 (delete-selection-self-insert-hooks): New hook.
2646 (self-insert-command, self-insert-iso): Use it.
2647 * electric.el (electric-pair-syntax): New function, extracted from
2648 electric-pair-post-self-insert-function.
2649 (electric-pair-post-self-insert-function): Use it.
2650 (electric-pair-delete-selection-self-insert-function): New function.
2651 (electric-pair-mode): Require delsel and setup
2652 delete-selection-self-insert-hooks (bug#11520).
2653
2654 2012-10-20 Chong Yidong <cyd@gnu.org>
2655
2656 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
2657 no changes to show (Bug#12586).
2658
2659 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
2660 list explicitly (Bug#12571).
2661
2662 2012-10-20 Arne Jørgensen <arne@arnested.dk>
2663
2664 * progmodes/flymake.el (flymake-create-temp-inplace):
2665 Use file-truename.
2666
2667 2012-10-20 Eli Zaretskii <eliz@gnu.org>
2668
2669 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
2670
2671 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
2672
2673 * calc/calc-units.el (math-extract-units): Properly extract powers
2674 of units.
2675
2676 2012-10-20 Daniel Colascione <dancol@dancol.org>
2677
2678 * frame.el (make-frame): Set x-display-name as we used to in order
2679 to unbreak creating an X11 frame from an Emacs daemon started
2680 without a display.
2681
2682 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2683
2684 * minibuffer.el (minibuffer-force-complete): Make the next completion use
2685 the same completion-field (bug#12221).
2686
2687 2012-10-19 Martin Rudalics <rudalics@gmx.at>
2688
2689 * emacs-lisp/debug.el (debug): Record height of debugger window
2690 also when debugger will be back (Bug#8789).
2691
2692 2012-10-18 Chong Yidong <cyd@gnu.org>
2693
2694 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
2695 Convert to defcustom.
2696 (gdb-get-source-file): Don't bind pop-up-windows.
2697
2698 * progmodes/gud.el (gud-display-line): Don't specially re-use
2699 other frames for the gdb-mi case (Bug#12648).
2700
2701 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
2702
2703 * emacs-lisp/advice.el: Clean up commentary a bit.
2704 (ad-do-advised-functions, ad-with-originals): Use `declare'.
2705 (byte-code-function-p): Never redefine.
2706
2707 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
2708
2709 2012-10-18 Glenn Morris <rgm@gnu.org>
2710
2711 * dired.el (dired-sort-toggle): Some ls implementations only allow
2712 a single option string. (Bug#12666)
2713
2714 * minibuffer.el (completion-cycle-threshold): Doc fix.
2715
2716 2012-10-17 Kenichi Handa <handa@gnu.org>
2717
2718 * international/mule.el (set-keyboard-coding-system):
2719 Recover input meta mode when the new coding system doesn not use 8-bit.
2720 Supply TERMINAL arg to set-input-meta-mode.
2721
2722 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
2723
2724 * wdired.el (wdired-old-marks): New variable.
2725 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
2726 (wdired-do-renames): Move point with renamed file and don't lose
2727 mark status (Bug#11795).
2728
2729 2012-10-16 Juri Linkov <juri@jurta.org>
2730
2731 * replace.el (query-replace-help): Mention multi-buffer replacement
2732 keys in the Help message. (Bug#12655)
2733
2734 2012-10-15 Chong Yidong <cyd@gnu.org>
2735
2736 * emacs-lisp/byte-run.el (defsubst): Doc fix.
2737
2738 2012-10-14 Eli Zaretskii <eliz@gnu.org>
2739
2740 * window.el (display-buffer): Doc fix.
2741
2742 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2743 Adjust the msft regexp to the output of Studio 2010, and move msft
2744 before edg-1. See the discussion on emacs-devel,
2745 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
2746 for the details.
2747
2748 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
2749
2750 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
2751 (oset): Move uses of object-class-fast macro after its definition.
2752
2753 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
2754
2755 2012-10-13 Chong Yidong <cyd@gnu.org>
2756
2757 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
2758 enabled, re-enable it (Bug#11963).
2759
2760 2012-10-13 Martin Rudalics <rudalics@gmx.at>
2761
2762 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
2763 non-nil, restore window configuration (Bug#12623).
2764
2765 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2766
2767 * help-fns.el (describe-variable, describe-function-1):
2768 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
2769
2770 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
2771
2772 2012-10-12 Glenn Morris <rgm@gnu.org>
2773
2774 * mail/rmailsum.el (rmail-header-summary):
2775 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
2776
2777 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
2778
2779 * progmodes/python.el (python-mode-map):
2780 Replace subtitute-key-definition with proper command remapping.
2781 (python-nav--up-list): Fix behavior for blocks on the same level.
2782
2783 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2784
2785 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
2786
2787 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
2788 changes to the format of load-history.
2789
2790 * international/mule-cmds.el (read-char-by-name): Move let-binding of
2791 completion-ignore-case in case that var is buffer-local (bug#12615).
2792
2793 2012-10-11 Kenichi Handa <handa@gnu.org>
2794
2795 * international/eucjp-ms.el: Re-generated.
2796
2797 2012-10-10 Kenichi Handa <handa@gnu.org>
2798
2799 * select.el (xselect--encode-string): If a coding is specified for
2800 selection, and that is compatible with COMPOUND_TEXT, use it.
2801
2802 2012-10-10 Martin Rudalics <rudalics@gmx.at>
2803
2804 * window.el (switch-to-buffer-preserve-window-point): New option.
2805 (switch-to-buffer):
2806 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
2807
2808 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2809
2810 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
2811 Don't document nil as a useful value (bug#12583).
2812
2813 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
2814
2815 * net/tramp.el (tramp-debug-message):
2816 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
2817 (with-tramp-progress-reporter): Rename from
2818 `tramp-with-progress-reporter'.
2819 (with-tramp-file-property, with-tramp-connection-property):
2820 Move from tramp-cache.el, rename from `with-file-property' and
2821 `with-connection-property', respectively.
2822
2823 * net/tramp-cache.el: Remove `with-file-property' and
2824 `with-connection-property'.
2825
2826 * net/tramp.el:
2827 * net/tramp-gvfs.el:
2828 * net/tramp-sh.el:
2829 * net/tramp-smb.el: Adapt callees.
2830
2831 * net/trampver.el: Update release number.
2832
2833 2012-10-09 Glenn Morris <rgm@gnu.org>
2834
2835 * w32-fns.el (set-message-beep):
2836 * term/w32-win.el (set-message-beep): Update declarations.
2837
2838 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2839
2840 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
2841 (mode-line-widen, mode-line-input-method-map)
2842 (mode-line-coding-system-map, mode-line-remote)
2843 (mode-line-unbury-buffer, mode-line-bury-buffer)
2844 (mode-line-next-buffer, mode-line-previous-buffer):
2845 Replace save-selected-window+select-window => with-selected-window.
2846
2847 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
2848 * progmodes/cc-vars.el (bq-process): Remove, unused.
2849
2850 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
2851
2852 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
2853
2854 Implemented `backward-up-list'-like navigation.
2855 * progmodes/python.el (python-nav-up-list)
2856 (python-nav-backward-up-list): New functions.
2857 (python-mode-map): Define substitute key for backward-up-list to
2858 python-nav-backward-up-list.
2859
2860 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
2861
2862 * progmodes/python.el (python-fill-paragraph): Rename from
2863 python-fill-paragraph-function. Fixed fill-paragraph for
2864 decorators (Bug#12605).
2865
2866 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
2867
2868 * progmodes/python.el (python-shell-output-filter): Handle extra
2869 carriage return in OSX (Bug#12409).
2870
2871 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
2872
2873 Fix shell handling of unbalanced quotes and parens in output.
2874 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
2875 (python-syntax-propertize-function): Use it.
2876 (python-shell-output-syntax-table): New var.
2877 (inferior-python-mode): Prevent unbalanced parens/quotes from
2878 previous output mess with current input context.
2879
2880 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
2881
2882 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
2883 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
2884
2885 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
2886
2887 * ffap.el (ffap-replace-file-component): Support Tramp file name
2888 syntax, not only ange-ftp's one.
2889
2890 2012-10-08 Glenn Morris <rgm@gnu.org>
2891
2892 * cus-start.el (message-log-max): Set :version.
2893
2894 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
2895
2896 2012-10-08 Martin Rudalics <rudalics@gmx.at>
2897
2898 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
2899 the minibuffer window (Bug#10851).
2900
2901 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
2902
2903 Enhancements on forward-sexp movement.
2904 * progmodes/python.el (python-nav-beginning-of-statement)
2905 (python-nav-end-of-statement): Return point-marker.
2906 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
2907 (python-info-current-symbol)
2908 (python-info-statement-starts-block-p): Rename from
2909 python-info-beginning-of-block-p.
2910 (python-info-statement-ends-block-p): Rename from
2911 python-info-end-of-block-p.
2912 (python-info-beginning-of-statement-p)
2913 (python-info-end-of-statement-p)
2914 (python-info-beginning-of-block-p, python-info-end-of-block-p):
2915 New functions.
2916
2917 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2918
2919 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
2920 frame-selected-windows.
2921
2922 2012-10-08 Daniel Colascione <dancol@dancol.org>
2923
2924 * battery.el (battery-status-function): Check for
2925 w32-battery-status itself, not system-time windows-nt.
2926
2927 * frame.el: Require cl-lib.
2928 (display-format-alist): New variable mapping frame types to
2929 functions that initialize them.
2930 (window-system-for-display): New function: interprets
2931 display-format-alist.
2932 (make-frame-on-display): Remove existing display-selection logic
2933 and just forward to make-frame, which will now DTRT.
2934 (make-frame): Restructure to use window-system-for-display to
2935 figure out how to create a frame on a given display.
2936 (display-mouse-p): Look for frame-type w32, not a particular
2937 system-type.
2938
2939 * loadup.el: Load w32 lisp code when we have the w32 feature.
2940
2941 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
2942 system-type windows-nt.
2943
2944 * server.el (server-create-window-system-frame): Look for window
2945 type.
2946 (server-proces-filter): Only force a window system when windows-nt
2947 _and_ w32. Explain why.
2948
2949 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
2950 of window systems we configure for the mode.
2951
2952 * startup.el (command-line): Mark window system is initialized
2953 after we've done it.
2954
2955 * common-win.el (x-select-text): Look for w32, not windows-nt.
2956
2957 * ns-win.el: Require cl-lib. Add ourselves to
2958 display-format-alist.
2959 (ns-initialize-window-system): Assert we're not initialized twice.
2960
2961 * w32-win.el: Enable lexical binding; require cl-lib; add
2962 ourselves to display-format-alist.
2963 (w32-handle-dropped-file): Convert incoming dropped files from
2964 Windows paths to Cygwin ones before passing them on to the rest of
2965 Emacs.
2966 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
2967 (w32-initialize-window-system): Assert we're not initialized twice.
2968
2969 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
2970 (x-initialize-window-system): Assert we're not initialized twice.
2971
2972 * w32-common-fns.el: New File.
2973 (w32-version, w32-using-nt, w32-get-clipboard-data)
2974 (w32-set-clipboard-data, x-set-selection, x-get-selection)
2975 (w32-charset-info-alist, x-last-selected, text)
2976 (x-get-selection-value, x-selection-value): Move here.
2977
2978 * w32-fns.el: Require w32-common-fns.
2979 (w32-version, w32-using-nt, w32-get-clipboard-data)
2980 (w32-set-clipboard-data, x-set-selection, x-get-selection)
2981 (w32-charset-info-alist, x-last-selected, text)
2982 (x-get-selection-value, x-selection-value): Move to
2983 w32-common-fns.
2984
2985 * w32-vars.el:
2986 (w32-allow-system-shell, w32-system-shells): Define only in
2987 non-cygwin case.
2988
2989 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2990
2991 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
2992 (read-passwd): Remove a few more potential sources of leaks.
2993
2994 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
2995
2996 * progmodes/python.el (inferior-python-mode)
2997 (python-shell-make-comint): Fix initialization of local
2998 variables copied from parent buffer.
2999
3000 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
3001
3002 * term/ns-win.el (ns-read-file-name): Update declaration to match
3003 nsfns.m.
3004 (ns-respond-to-change-font): Change fontsize separatly so we are sure
3005 it is set when font is acted upon.
3006
3007 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
3008
3009 Enhancements to indentation.
3010 * progmodes/python.el (python-indent-context): Give priority to
3011 inside-string context. Make comments indentation markers.
3012 (python-indent-region): Do not mess with strings, unless it's the
3013 enclosing set of quotes.
3014
3015 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3016
3017 * window.el (internal--before-save-selected-window)
3018 (internal--after-save-selected-window): New functions extracted from
3019 save-selected-window. Make sure we return the `alist' we construct.
3020 (save-selected-window): Use them.
3021
3022 * textmodes/tex-mode.el (tex-recenter-output-buffer):
3023 Use with-selected-window.
3024
3025 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
3026 forms that define macros (bug#12593).
3027
3028 2012-10-07 Kenichi Handa <handa@gnu.org>
3029
3030 * international/mule-conf.el (compound-text-with-extensions):
3031 Add :mime-charset property as x-ctext.
3032
3033 2012-10-07 Stefan Merten <smerten@oekonux.de>
3034
3035 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
3036 (rst-indent-literal-normal, rst-indent-literal-minimized)
3037 (rst-indent-comment): Correct :version tag.
3038 (rst-official-cvs-rev): Correct version string.
3039
3040 2012-10-07 Glenn Morris <rgm@gnu.org>
3041
3042 * mail/rmailmm.el (rmail-mime-process-multipart):
3043 Do not confuse a multipart message with an epilogue
3044 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
3045
3046 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
3047
3048 Fix shell output retrieval and comint-prompt-regexp init.
3049 * progmodes/python.el (inferior-python-mode):
3050 (python-shell-make-comint): Fix initialization of
3051 comint-prompt-regexp from copied file local variables.
3052 (python-shell-fetched-lines): Remove var.
3053 (python-shell-output-filter-in-progress): Rename from
3054 python-shell-fetch-lines-in-progress.
3055 (python-shell-output-filter-buffer): Rename from
3056 python-shell-fetch-lines-string.
3057 (python-shell-fetch-lines-filter): Delete function.
3058 (python-shell-output-filter): New function.
3059 (python-shell-send-string-no-output): Use them.
3060
3061 2012-10-07 Glenn Morris <rgm@gnu.org>
3062
3063 * hi-lock.el (hi-lock-process-phrase):
3064 Try to make it less fragile. (Bug#7161)
3065
3066 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
3067
3068 2012-10-06 Glenn Morris <rgm@gnu.org>
3069
3070 * ehelp.el (electric-help-mode): Use help-mode rather than
3071 non-existent mode `help'.
3072 (electric-help-map): Use button-buffer-map. (Bug#10917)
3073
3074 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
3075 (reftex-create-bibtex-footer): Fix custom types.
3076
3077 * progmodes/sh-script.el (sh-indent-after-continuation):
3078 Add explicit :group.
3079
3080 * textmodes/rst.el (rst-preferred-decorations)
3081 (rst-shift-basic-offset): Clarify obsolescence versions.
3082
3083 * profiler.el (profiler): Add missing group :version tag.
3084 * avoid.el (mouse-avoidance-banish-position):
3085 * proced.el (proced-renice-command):
3086 * calc/calc.el (calc-ensure-consistent-units):
3087 * calendar/icalendar.el (icalendar-import-format-uid):
3088 * net/tramp.el (tramp-save-ad-hoc-proxies):
3089 * progmodes/bug-reference.el (bug-reference-bug-regexp):
3090 * progmodes/flymake.el (flymake-error-bitmap)
3091 (flymake-warning-bitmap, flymake-fringe-indicator-position):
3092 * progmodes/sh-script.el (sh-indent-after-continuation):
3093 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
3094 (verilog-before-save-font-hook, verilog-after-save-font-hook):
3095 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
3096 (vhdl-array-index-record-field-in-sensitivity-list)
3097 (vhdl-indent-comment-like-next-code-line):
3098 * textmodes/reftex-vars.el (reftex-ref-style-alist)
3099 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
3100 (reftex-cite-key-separator, reftex-create-bibtex-header)
3101 (reftex-create-bibtex-footer):
3102 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
3103 (rst-indent-literal-normal, rst-indent-literal-minimized)
3104 (rst-indent-comment): Add missing custom :version tags.
3105
3106 * calendar/timeclock.el (timeclock-modeline-display):
3107 Add missing obsolete alias for renamed user option.
3108
3109 * strokes.el (strokes-modeline-string):
3110 * emulation/crisp.el (crisp-mode-modeline-string):
3111 * eshell/esh-mode.el (eshell-status-in-modeline):
3112 Aliases to defcustoms must come before the defcustom.
3113
3114 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
3115 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
3116 (cal-tex-cursor-week-monday): Doc fixes.
3117 (cal-tex-cursor-week2-summary): Doc fix.
3118 Rename from cal-tex-cursor-week-at-a-glance.
3119
3120 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
3121 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
3122
3123 * calendar/calendar.el (calendar-mode-map):
3124 Add cal-tex-cursor-week2-summary.
3125
3126 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
3127
3128 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
3129
3130 * subr.el (read-passwd-map): New var.
3131 (read-passwd): Use `read-string' again.
3132 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
3133
3134 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
3135
3136 * register.el (append-to-register, prepend-to-register):
3137 Deactivate mark, as does `copy-to-register' (bug#12389).
3138
3139 2012-10-06 Chong Yidong <cyd@gnu.org>
3140
3141 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
3142
3143 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
3144
3145 * international/characters.el: Fix simple mistake ((car chars) ->
3146 elt), delete duplicated code.
3147
3148 2012-10-06 Glenn Morris <rgm@gnu.org>
3149
3150 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
3151
3152 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
3153
3154 * color.el (color-hsl-to-rgb): Fix incorrect results for
3155 small and large hue values. (Bug#12559)
3156
3157 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
3158
3159 Enhancements to docstring formatting when filling paragraphs.
3160 * progmodes/python.el (python-fill-docstring-style): Rename from
3161 python-fill-string-style. Added new style.
3162 (python-fill-string): Use new style. Better checks for
3163 docstrings.
3164
3165 2012-10-05 Glenn Morris <rgm@gnu.org>
3166
3167 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
3168
3169 * color.el (color-name-to-rgb, color-rgb-to-hex)
3170 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
3171 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
3172 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
3173 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
3174
3175 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
3176
3177 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
3178
3179 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
3180 to get the correct size across symlinks.
3181
3182 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
3183
3184 2012-10-04 Juri Linkov <juri@jurta.org>
3185
3186 * replace.el (query-replace-interactive): Declare obsolete.
3187 (query-replace-read-from): Add the last incremental search string
3188 to the list of default values accessible via M-n.
3189 (map-query-replace-regexp): Use `read-regexp'.
3190 (query-replace, query-replace-regexp, query-replace-regexp-eval)
3191 (map-query-replace-regexp, replace-string, replace-regexp):
3192 Fix docstrings to replace mentions of `query-replace-interactive'
3193 with alternatives. (Bug#12526)
3194
3195 2012-10-04 Juri Linkov <juri@jurta.org>
3196
3197 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
3198 (dired-pop-to-buffer): Declare obsolete.
3199 (dired-mark-pop-up): Doc fix.
3200
3201 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
3202
3203 Allow user to set docstring style for fill-paragraph.
3204 * progmodes/python.el
3205 (python-fill-comment-function, python-fill-string-function)
3206 (python-fill-decorator-function, python-fill-paren-function):
3207 Remove :safe for defcustoms.
3208 (python-fill-string-style): New defcustom
3209 (python-fill-paragraph-function): Enhance context detection.
3210 (python-fill-string): Honor python-fill-string-style settings.
3211
3212 2012-10-04 Martin Rudalics <rudalics@gmx.at>
3213
3214 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
3215 after setting its buffer (Bug#10805).
3216
3217 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
3218
3219 Fix cornercase for string syntax.
3220 * progmodes/python.el (python-syntax-propertize-function):
3221 Simplify and enhance the regexp for unescaped quotes. Now it also
3222 matches quotes in weird situations like the single quote in
3223 "something\"'".
3224 (python-syntax-stringify): Simplify num-quotes detecting code.
3225
3226 2012-10-03 Glenn Morris <rgm@gnu.org>
3227
3228 * help-macro.el (three-step-help):
3229 Revert 2012-09-29 change. (Bug#12567)
3230
3231 2012-10-03 Martin Rudalics <rudalics@gmx.at>
3232
3233 * menu-bar.el (kill-this-buffer): Don't do anything when
3234 `menu-frame' is not alive or visible (Bug#8184).
3235
3236 * emacs-lisp/debug.el (debug): When quitting the debugger window
3237 restore current buffer (Bug#12502).
3238
3239 2012-10-02 Chong Yidong <cyd@gnu.org>
3240
3241 * progmodes/hideif.el (hif-lookup, hif-defined):
3242 Handle semantic-c-takeover-hideif.
3243
3244 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
3245
3246 Change sampling interval units from ms to ns.
3247 * profiler.el (profiler-sampling-interval): Change units
3248 from ms to ns, multiplying the default by 1000000 so that
3249 it remains 1 ms.
3250 (profiler-report-cpu-line-format): Give enough room for
3251 the maximum counters on 64-bit hosts.
3252 (profiler-report-render-calltree-1): Call them "CPU samples",
3253 not "Time (ms)", since they are not milliseconds now (and
3254 never really were).
3255
3256 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
3257
3258 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
3259 Fix querying BBDB for entries without a last name (Bug#11580).
3260
3261 2012-10-02 Chong Yidong <cyd@gnu.org>
3262
3263 * emacs-lisp/eieio.el: Restore Version header.
3264
3265 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
3266
3267 * vc/diff-mode.el (diff--auto-refine-data): New var.
3268 (diff-hunk): Use it to delay refinement.
3269 (diff-mode): Remove overlays when we turn off font-lock.
3270
3271 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
3272 (table-initialize-table-fixed-width-mode)
3273 (table-set-table-fixed-width-mode): Remove functions.
3274 (table-command-list): Move initialization into declaration.
3275 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
3276 (table-with-cache-buffer): Use `declare'.
3277 (table-span-cell): Simplify via CSE.
3278 (table-fixed-width-mode): Use define-minor-mode.
3279 (table-call-interactively, table-funcall, table-apply): Remove.
3280 (table-function): New function, to replace them.
3281
3282 * bookmark.el (bookmark-search-pattern): Remove var.
3283 (bookmark-read-search-input): Remove function.
3284 (bookmark-bmenu-search): Reimplement using a minibuffer.
3285
3286 * faces.el (modeline): Remove obsolete face name.
3287
3288 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
3289 and give a non-nil default value.
3290 (add-change-log-entry): Simplify accordingly.
3291
3292 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
3293
3294 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
3295 (vc-git-log-edit-toggle-amend): New function.
3296 (vc-git-log-edit-toggle-signoff): New function.
3297 (vc-git-log-edit-mode): New major mode.
3298 (vc-git-log-edit-mode-map): Keymap for it.
3299 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
3300
3301 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
3302 header names.
3303 (log-edit-toggle-header): New function.
3304 (log-edit-extract-headers): Accept function values in HEADERS alist.
3305
3306 2012-10-01 David Engster <deng@randomsample.de>
3307
3308 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
3309 from symbol property and change message to be more consistent with
3310 Emacs proper.
3311 (eieio-describe-generic): Add filename for each implementation.
3312 Fix indices for generic and normal methods.
3313 (eieio-method-def, eieio-class-def): New buttons.
3314 (eieio-help-find-method-definition)
3315 (eieio-help-find-class-definition): New functions.
3316 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
3317 class, constructor and method definitions.
3318
3319 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
3320 information in symbol property.
3321 (scoped-class): Remove.
3322 (eieio-slot-name-index, call-next-method): Check if it is bound.
3323
3324 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
3325
3326 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
3327 (eieio-custom-mode): New major mode.
3328 (eieio-customize-object): Use it.
3329
3330 2012-10-01 Eric Ludlam <zappo@gnu.org>
3331
3332 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
3333 specifying the expected class, and whether subclassing is allowed.
3334 (eieio-persistent-convert-list-to-object):
3335 (eieio-persistent-validate/fix-slot-value)
3336 (eieio-persistent-slot-type-is-class-p): New functions.
3337 (eieio-named::slot-missing): Doc fix.
3338
3339 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
3340 Stop using unused publd variable.
3341
3342 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
3343 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
3344 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
3345 (eieio-speedbar-handle-click): Do not specify a class for the
3346 method. Fixes method invocation order problems with EDE.
3347
3348 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3349
3350 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
3351 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
3352
3353 2012-10-01 Karl Fogel <kfogel@red-bean.com>
3354
3355 * bookmark.el (bookmark-version-control): Give tags in the
3356 :type choices (Bug#12309), and improve doc string.
3357 (bookmark-write-file): Bind `print-circle' to `t' to allow
3358 circular custom bookmark types. (Bug#12503)
3359
3360 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
3361
3362 Revert the FOLLOW-SYMLINKS change for file-attributes.
3363 * files.el (remote-file-name-inhibit-cache, after-find-file):
3364 * time.el (display-time-file-nonempty-p): Undo last change.
3365
3366 * profiler.el (profiler-sampling-interval): Change default back to 1.
3367 See Stefan Monnier in
3368 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
3369
3370 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
3371
3372 Shell output catching a la gud-gdb.
3373 * progmodes/python.el (python-shell-fetch-lines-in-progress)
3374 (python-shell-fetch-lines-string, python-shell-fetched-lines):
3375 New Vars.
3376 (python-shell-fetch-lines-filter): New function.
3377 (python-shell-send-string-no-output): Use them.
3378
3379 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
3380
3381 * profiler.el (profiler-sampling-interval): Rename from
3382 profiler-sample-interval.
3383 (profiler-sampling-interval): Default to 10.
3384 (profiler-find-profile): New command (was profiler-find-log).
3385 (profiler-find-profile-other-window): New command.
3386 (profiler-find-profile-other-frame): New command.
3387 (profiler-profile): Introduce API-level data structure.
3388
3389 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
3390
3391 file-attributes has a new optional arg FOLLOW-SYMLINKS.
3392 * files.el (remote-file-name-inhibit-cache):
3393 * time.el (display-time-file-nonempty-p): Use it.
3394 * files.el (after-find-file): Don't chase links before calling
3395 file-exists-p, as file-exists-p already does the right thing.
3396
3397 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
3398
3399 Merge from standalone RefTeX repository.
3400
3401 The following ChangeLog entries are shortened versions of the
3402 original ones with file paths adapted. A not so strongly edited
3403 version of the original ChangeLog can be found in the commit log.
3404
3405 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
3406 (reftex-arg-cite): Use `reftex-cite-key-separator'.
3407 Correctly handle new value type returned by `reftex-citation'.
3408
3409 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
3410 that entries with whitespace at various places are found.
3411 Doc fix. Include entries that are cross-referenced from cited entries.
3412 Include @String definitions in the resulting bib file. Add header
3413 and footer defined in `reftex-create-bibtex-header' and
3414 `reftex-create-bibtex-footer'.
3415 (reftex-do-citation): Make it possible again to insert
3416 non-existent entries. Save match data when asking for optional
3417 arguments. Return all keys, not just the first one.
3418 (reftex-all-used-citation-keys): Fix regexp to correctly extract
3419 all citations in the same line.
3420 (reftex-parse-bibtex-entry): Accept additional optional argument
3421 `raw' and keep quotes or braces if it is non-nil. Match fields
3422 containing hyphens besides word constituents.
3423 (reftex-get-string-refs): New function.
3424 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
3425 and ask if it should be reread in case it did.
3426 (reftex-pop-to-bibtex-entry)
3427 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
3428 entries with spaces or tabs in front of arguments.
3429 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
3430 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
3431 Match entries containing numbers and symbol constituents.
3432 (reftex-do-citation, reftex-figure-out-cite-format):
3433 Use `reftex-cite-key-separator'.
3434
3435 * textmodes/reftex-dcr.el: Move provide statement to end of file.
3436 (reftex-mouse-view-crossref): Explain why point is set.
3437
3438 * textmodes/reftex-global.el: Whitespace changes.
3439
3440 * textmodes/reftex-index.el: Move provide statement to end of
3441 file.
3442 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
3443 (reftex-index-visit-phrases-buffer): Set marker when visiting
3444 buffer. This allows for returning from the phrases file to the
3445 file one was just editing instead of the file where the last
3446 phrases was added from.
3447 (reftex-index-phrases-syntax-table): New variable. Give ?\"
3448 punctuation syntax as it usually is not used as string quote in
3449 TeX-related modes and may occur unmatched. The change also
3450 prevents fontification of quoted content.
3451 (reftex-index-phrases-mode): Use it.
3452
3453 * textmodes/reftex-parse.el (reftex-parse-from-file):
3454 Move backward one char if a `\' was matched after a section macro.
3455 (reftex-parse-from-file): Use beginning of match instead of end as
3456 bound.
3457
3458 * textmodes/reftex-ref.el: Adapt creation of
3459 `reftex-<package>-<macro>' functions to new structure of
3460 `reftex-ref-style-alist'.
3461 (reftex-reference): Use `reftex-ref-style-list' function.
3462 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
3463 reference macro if `reftex-ref-macro-prompt' is non-nil.
3464 (reftex-reference): Pass refstyle to `reftex-format-special'.
3465 Determine reference macro by looking at
3466 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
3467 Use only one special format function.
3468 (reftex-varioref-vref, reftex-fancyref-fref)
3469 (reftex-fancyref-Fref): Remove definitions. The functions are now
3470 generated from `reftex-ref-style-alist'.
3471 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
3472 Remove.
3473 (reftex-format-special): New function.
3474
3475 * textmodes/reftex-sel.el
3476 (reftex-select-cycle-ref-style-internal): Adapt to new structure
3477 of `reftex-ref-style-alist'. Remove code for testing macro type.
3478 (reftex-select-toggle-varioref)
3479 (reftex-select-toggle-fancyref): Remove.
3480 (reftex-select-cycle-ref-style-internal)
3481 (reftex-select-cycle-ref-style-forward)
3482 (reftex-select-cycle-ref-style-backward): New functions.
3483 (reftex-select-label-map): Use `v' and `V' for general cycling
3484 through reference styles. Add `p' for switching between number
3485 and page reference types.
3486
3487 * textmodes/reftex-toc.el (reftex-re-enlarge):
3488 Call `enlarge-window' only if there is something to do because in Emacs
3489 the horizontal version throws an error even if the parameter is 0.
3490
3491 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
3492 (reftex-plug-into-AUCTeX): Doc fix.
3493 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
3494 string. Adapt to new name.
3495 (reftex-ref-style-alist): Change structure so that it is not
3496 possible to use multiple different package names within a style.
3497 Remove the symbols for symbols for macro type distinction.
3498 Add characters for macro selection.
3499 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
3500 (reftex-create-bibtex-footer): New variables.
3501 (reftex-format-ref-function): Mention third argument of special
3502 format function.
3503 (reftex-ref-style-alist, reftex-ref-style-default-list):
3504 New variables.
3505 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
3506 to new implementation. Mark as obsolete. Add compatibility code
3507 for honoring the variable values in case they are set.
3508 (reftex-cite-format-builtin, reftex-bibliography-commands):
3509 Add support for ConTeXt.
3510 (reftex-format-ref-function, reftex-format-cite-function):
3511 Fix custom type.
3512 (reftex-cite-key-separator): New variable.
3513
3514 * textmodes/reftex.el (reftex-syntax-table-for-bib)
3515 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
3516 `reftex-syntax-table' because parens have to retain their paren
3517 syntax in order for parsing of BibTeX entries like @book(...) to
3518 work.
3519 (reftex-in-comment): Do not error out if `comment-start-skip' is
3520 not set. Deal correctly with escaped comment characters.
3521 (reftex-tie-multifile-symbols): Add doc string.
3522 Initialize `reftex-ref-style-list'.
3523 (reftex-untie-multifile-symbols): Add doc string.
3524 (reftex-add-index-macros): Doc fix.
3525 (reftex-ref-style-activate, reftex-ref-style-toggle)
3526 (reftex-ref-style-list): New functions.
3527 (reftex-mode-menu): Use them. Adapt to new structure of
3528 `reftex-ref-style-alist'.
3529 (reftex-select-with-char): Kill the RefTeX Select buffer when
3530 done.
3531 (reftex-remove-if): New function.
3532 (reftex-erase-all-selection-and-index-buffers)
3533 (reftex-mode-menu): Reference styles are now computed from
3534 `reftex-ref-style-alist'. Fix typo.
3535 (reftex-report-bug): New function.
3536 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
3537 algorithms with O(n log n). Introduce optional argument SORT (not
3538 yet used).
3539
3540 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
3541
3542 Enhancements for triple-quote string syntax.
3543 * progmodes/python.el (python-syntax-propertize-function):
3544 Match both quote cases in one regexp.
3545 (python-syntax-stringify): Handle matches properly.
3546
3547 2012-09-30 Juri Linkov <juri@jurta.org>
3548
3549 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
3550 to nil around the call to `insert' to prevent
3551 directory time modification by lock_file. (Bug#2295)
3552 * tar-mode.el (tar-summarize-buffer): Idem.
3553
3554 2012-09-30 Juri Linkov <juri@jurta.org>
3555
3556 * facemenu.el (list-colors-sort): Add option "Luminance".
3557 (list-colors-sort-key): Implement it.
3558
3559 * vc/diff-mode.el (diff-refine-removed):
3560 * vc/ediff-init.el (ediff-fine-diff-A):
3561 * vc/smerge-mode.el (smerge-refined-removed):
3562 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
3563
3564 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
3565
3566 * term/ns-win.el (x-file-dialog): New function.
3567
3568 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
3569
3570 * ido.el (ido-max-directory-size): Default to nil; the current
3571 default is small for POSIX systems, and impractical on Windows 7
3572 now that lstat returns directory sizes for NTFS.
3573
3574 2012-09-30 Martin Rudalics <rudalics@gmx.at>
3575
3576 In buffer display functions handle window-height/window-width
3577 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
3578 * window.el (window--display-buffer): New argument ALIST.
3579 Obey window-height and window-width alist entries.
3580 (window--try-to-split-window): New argument ALIST.
3581 Bind window-combination-limit to t when the window's size shall be
3582 changed and window-combination-limit equals `window-size'.
3583 (display-buffer-in-atom-window)
3584 (display-buffer-in-major-side-window)
3585 (display-buffer-in-side-window, display-buffer-same-window)
3586 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3587 (display-buffer-pop-up-window, display-buffer-below-selected)
3588 (display-buffer-at-bottom, display-buffer-in-previous-window)
3589 (display-buffer-use-some-window): Adjust all callers of
3590 window--display-buffer and window--try-to-split-window.
3591 (fit-frame-to-buffer): New option.
3592 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
3593 is non-nil.
3594 (display-buffer-in-major-side-window): Evaluate window-height /
3595 window-width alist entries.
3596
3597 * help.el (temp-buffer-resize-frames)
3598 (temp-buffer-resize-regexps): Remove options.
3599 (temp-buffer-resize-mode): Adjust doc-string.
3600 (resize-temp-buffer-window): Don't consult
3601 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
3602 temp-buffer-resize-frames.
3603
3604 * dired.el (dired-mark-pop-up):
3605 Call display-buffer-below-selected with a fit-window-to-buffer alist
3606 entry.
3607
3608 2012-09-30 Chong Yidong <cyd@gnu.org>
3609
3610 * server.el (server-host): Document the security implications.
3611 (server-auth-key): Doc fix.
3612
3613 * startup.el (initial-buffer-choice): Doc fix.
3614
3615 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
3616
3617 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
3618 restriction change.
3619
3620 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
3621
3622 * help-fns.el (help-fns--obsolete): Fix last change.
3623
3624 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
3625
3626 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
3627 (minor-mode-map-alist): Remove redundant code.
3628
3629 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
3630 visited in a buffer.
3631 (cvs-insert-visited-file): New function.
3632 (find-file-hook): Use it.
3633
3634 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
3635
3636 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
3637 chose face.
3638 (log-edit-empty-buffer-p): Don't require a space after a header.
3639
3640 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
3641
3642 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
3643
3644 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
3645 a proper minor-mode.
3646
3647 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
3648
3649 2012-09-29 Glenn Morris <rgm@gnu.org>
3650
3651 * winner.el (winner-mode): Remove variable (let define-minor-mode
3652 handle it).
3653 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
3654 Doc fixes.
3655 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
3656 (winner-mode): Use define-minor-mode.
3657
3658 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
3659 the full definition in loaddefs, rather than duplicating it.
3660
3661 * help-macro.el (three-step-help): No need to autoload defcustom.
3662
3663 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
3664 (inferior-lisp-program, inferior-lisp-load-command)
3665 (inferior-lisp-prompt, inferior-lisp-mode-hook):
3666 No need to autoload defcustoms.
3667
3668 * hippie-exp.el (hippie-expand-try-functions-list)
3669 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
3670 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
3671 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
3672 (hippie-expand-only-buffers): No need to autoload defcustoms.
3673 * progmodes/vhdl-mode.el (vhdl-line-expand):
3674 Explicitly load hippie-exp, so it does not get autoloaded
3675 while hippie-expand-try-functions-list is let-bound.
3676
3677 2012-09-28 Glenn Morris <rgm@gnu.org>
3678
3679 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
3680
3681 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
3682 Only "cl.el" counts as cl these days.
3683
3684 2012-09-28 Juri Linkov <juri@jurta.org>
3685
3686 Display archive errors in the echo area instead of inserting
3687 to the file buffer.
3688
3689 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
3690 to STDERR-TEST that can be a regexp matching a successful output.
3691 Create a temporary file and redirect stderr to it. Search for
3692 STDERR-TEST in the stderr output and display it in the echo area
3693 if no match is found.
3694 (archive-extract-by-file): New function like
3695 `archive-extract-by-stdout' but extracting archives to files
3696 and looking for successful matches in stdout. Function body is
3697 mostly copied from `archive-rar-extract'.
3698 (archive-rar-extract): Use `archive-extract-by-file'.
3699 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
3700
3701 2012-09-28 Leo Liu <sdl.web@gmail.com>
3702
3703 * pcomplete.el (pcomplete-show-completions):
3704 Use minibuffer-message to make pcomplete usable in minibuffer.
3705
3706 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
3707
3708 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3709
3710 * type-break.el: Use lexical-binding.
3711 (type-break-mode): Use define-minor-mode.
3712
3713 * emacs-lisp/pcase.el (pcase--mark-used): New.
3714 (pcase--u1): Use it (bug#12512).
3715
3716 * custom.el (load-theme): Set buffer-file-name so the load is recorded
3717 in load-history with the right file name.
3718
3719 2012-09-28 Tassilo Horn <tsdh@gnu.org>
3720
3721 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
3722 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
3723 (doc-view-get-bounding-box): Make bounding box slicing work for
3724 ODF and DVI documents.
3725
3726 2012-09-28 Glenn Morris <rgm@gnu.org>
3727
3728 * type-break.el (type-break-mode, type-break-interval)
3729 (type-break-good-rest-interval, type-break-keystroke-threshold):
3730 No need to autoload.
3731 (type-break-good-rest-interval, type-break-keystroke-threshold):
3732 Add :set-after.
3733
3734 2012-09-28 Chong Yidong <cyd@gnu.org>
3735
3736 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
3737 Add :version tag.
3738
3739 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
3740
3741 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
3742
3743 2012-09-27 Glenn Morris <rgm@gnu.org>
3744
3745 * faces.el (x-display-name): Declare (for without-x builds).
3746
3747 * linum.el (linum-format): Don't autoload it. Improve :type.
3748
3749 * progmodes/tcl.el: Don't require outline when compiling.
3750 (outline-regexp, outline-level): Declare.
3751 * textmodes/sgml-mode.el: Don't require outline when compiling.
3752 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
3753
3754 * term.el (term-ansi-reset):
3755 Try setting term-ansi-face-already-done to nil. (Bug#11785)
3756
3757 * vc/vc.el (vc-next-action): Only gripe about committing read-only
3758 files for RCS and SCCS. (Bug#9781)
3759
3760 2012-09-27 Chong Yidong <cyd@gnu.org>
3761
3762 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
3763 change; value should be t.
3764
3765 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
3766
3767 * image-mode.el: Use lexical-binding.
3768 (image-mode-winprops): Use t to stand for the window of
3769 a buffer that's not displayed.
3770 * doc-view.el (doc-view-new-window-function): Handle the new
3771 t in winprops.
3772 (doc-view-enlarge): Make it a real nop if the size is not changed.
3773 (doc-view-display): Handle the case where the buffer is not (yet?)
3774 displayed in any window.
3775 (doc-view-saved-settings): New var.
3776 (doc-view-mode): Use it.
3777 (doc-view-fallback-mode): Set it.
3778
3779 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
3780 Set lexical-binding.
3781 (minibuffer-eldef-shorten-default): New var.
3782 (minibuffer-default-in-prompt-regexps): Use it for new default.
3783 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
3784
3785 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
3786
3787 * international/uni-bidi.el:
3788 * international/uni-category.el:
3789 * international/uni-name.el:
3790 * international/uni-numeric.el: Regenerate.
3791
3792 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
3793 Stefan Monnier <monnier@iro.umontreal.ca>
3794
3795 * profiler.el: New file.
3796
3797 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
3798
3799 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
3800 (testcover-reinstrument): Simplify with CSE.
3801
3802 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
3803
3804 * window.el (temp-buffer-window-setup): Fix typo in docstring.
3805
3806 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
3807
3808 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
3809 (verilog-auto-input, verilog-auto-insert-lisp)
3810 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
3811 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
3812 (verilog-auto-unused, verilog-auto-wire)
3813 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
3814 newline. Reported by Andrew Jones.
3815 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
3816 Reported by Brad Dobbie.
3817 (verilog-batch-delete-trailing-whitespace):
3818 Create verilog-batch-delete-trailing-whitespace.
3819 Reported by Brad Dobbie.
3820 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
3821 parameters from another module. Reported by Dan Katz.
3822 (verilog-auto, verilog-auto-assign-modport)
3823 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
3824 AUTOINOUTMODPORT for UVM interface module shell generation.
3825 Reported by Brad Dobbie.
3826 (verilog-auto-inst-interfaced-ports): Make default nil, as more
3827 standard behavior.
3828 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
3829 Reported by Matt Martin.
3830
3831 2012-09-25 Martin Rudalics <rudalics@gmx.at>
3832
3833 * window.el (window--resize-child-windows): When resizing child
3834 windows proportionally, process them in reverse order to
3835 preserve the "when splitting a window the new one gets the odd
3836 line" behavior.
3837 (window--resize-root-window-vertically): When resizing the
3838 minibuffer window try to affect only windows at the bottom of the
3839 frame. (Bug#12419)
3840
3841 2012-09-25 Chong Yidong <cyd@gnu.org>
3842
3843 * subr.el (declare): Doc fix.
3844
3845 * help-fns.el (help-fns--obsolete): Handle macros properly.
3846
3847 2012-09-25 Chong Yidong <cyd@gnu.org>
3848
3849 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
3850 this function obsolete.
3851
3852 * calendar/cal-x.el (calendar-two-frame-setup)
3853 (calendar-only-one-frame-setup, calendar-one-frame-setup):
3854 * calendar/calendar.el (american-calendar, european-calendar)
3855 (calendar-for-loop):
3856 * comint.el (comint-dynamic-simple-complete)
3857 (comint-dynamic-complete-as-filename, comint-unquote-filename):
3858 * desktop.el (desktop-load-default):
3859 * dired-x.el (dired-omit-here-always)
3860 (dired-hack-local-variables, dired-default-directory):
3861 * emacs-lisp/derived.el (derived-mode-class):
3862 * emacs-lisp/timer.el (timer-set-time-with-usecs):
3863 * emacs-lock.el (toggle-emacs-lock):
3864 * epa.el (epa-display-verify-result):
3865 * epg.el (epg-sign-keys, epg-start-sign-keys)
3866 (epg-passphrase-callback-function):
3867 * eshell/esh-util.el (eshell-for):
3868 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
3869 (eshell-add-to-window-buffer-names):
3870 * files.el (locate-file-completion):
3871 * imenu.el (imenu-example--create-c-index)
3872 (imenu-example--create-lisp-index)
3873 (imenu-example--lisp-extract-index-name)
3874 (imenu-example--name-and-position):
3875 * international/mule-cmds.el (princ-list):
3876 * international/mule-diag.el (decode-codepage-char):
3877 * international/mule-util.el (detect-coding-with-priority):
3878 * iswitchb.el (iswitchb-read-buffer):
3879 * mail/mailalias.el (mail-complete):
3880 * mail/sendmail.el (mail-sent-via):
3881 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
3882 (mouse-major-mode-menu):
3883 * password-cache.el (password-read-and-add):
3884 * pcomplete.el (pcomplete-parse-comint-arguments):
3885 * progmodes/sh-script.el (sh-maybe-here-document):
3886 * replace.el (query-replace-regexp-eval):
3887 * savehist.el (savehist-load):
3888 * simple.el (choose-completion-delete-max-match):
3889 * term.el (term-dynamic-simple-complete):
3890 * vc/ediff-init.el (ediff-check-version):
3891 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
3892 * vc/vc.el (vc-diff-switches-list):
3893 * view.el (view-return-to-alist-update): Likewise.
3894
3895 * subr.el (eval-next-after-load, makehash, insert-string)
3896 (assoc-ignore-representation, assoc-ignore-case): Use declare to
3897 mark obsolete.
3898 (mode-line-inverse-video): Variable deleted.
3899
3900 * international/mule-util.el (string-to-sequence): Remove.
3901
3902 * calendar/calendar.el (calendar-version):
3903 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
3904 (icalendar-convert-diary-to-ical):
3905 * cus-edit.el (custom-mode):
3906 * ansi-color.el (ansi-color-unfontify-region):
3907 * international/latin1-disp.el (latin1-char-displayable-p):
3908 * progmodes/cwarn.el (turn-on-cwarn-mode):
3909 * progmodes/which-func.el (which-func-update-1):
3910 Use define-obsolete-function-alias.
3911
3912 * net/newst-backend.el (newsticker-cache-filename):
3913 * net/newst-treeview.el (newsticker-groups-filename):
3914 Fix incorrect obsolescence declaration.
3915
3916 * allout.el (allout-passphrase-hint-string): Likewise.
3917 (allout-init): Use a declare form to mark obsolete.
3918
3919 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
3920 this applies to functions.
3921
3922 * iswitchb.el (iswitchb-read-buffer): Move code of
3923 iswitchb-define-mode-map here, and delete that obsolete function.
3924
3925 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
3926 font-lock-reference-face.
3927
3928 2012-09-25 Glenn Morris <rgm@gnu.org>
3929
3930 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
3931 Doc fixes.
3932
3933 * eshell/em-term.el (eshell-term-name):
3934 Default to term-term-name. (Bug#12485)
3935
3936 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
3937
3938 * progmodes/python.el (python-shell-send-buffer): Better handling
3939 of "if __name__ == '__main__':" conditionals when sending the buffer.
3940
3941 2012-09-24 Glenn Morris <rgm@gnu.org>
3942
3943 * eshell/esh-cmd.el (eshell-find-alias-function):
3944 Tighten up file-name regexp. (Bug#12499)
3945
3946 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
3947
3948 Enhancements for triple-quote string syntax.
3949 * progmodes/python.el (python-quote-syntax): Remove.
3950 (python-syntax-propertize-function): New value.
3951 (python-syntax-count-quotes, python-syntax-stringify):
3952 New functions.
3953
3954 2012-09-24 Chong Yidong <cyd@gnu.org>
3955
3956 * mail/supercite.el (sc-version): Remove obsolete function.
3957 (sc-describe): Don't mark as obsolete, since it is bound.
3958 (sc-submit-bug-report): Remove.
3959
3960 * vc/log-edit.el (cvs-changelog-full-paragraphs)
3961 (cvs-commit-buffer-require-final-newline): Remove.
3962 (log-edit-require-final-newline)
3963 (log-edit-changelog-full-paragraphs): Default to t.
3964
3965 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
3966 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
3967 * vc/vc.el (vc-checkout-carefully): Likewise.
3968
3969 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
3970 (emerge-version): Remove.
3971
3972 * progmodes/compile.el (compile-internal): Remove.
3973 (compilation-parse-errors-function): Fix typo.
3974
3975 * international/mule.el (set-char-table-default): Remove.
3976 (set-coding-priority, make-coding-system, generic-char-p)
3977 (charset-list, charset-bytes, charset-id): Use declare to mark
3978 functions as obsolete.
3979
3980 * vc/pcvs-defs.el (cvs-buffer-name-alist)
3981 (cvs-invert-ignore-marks): Remove references to obsolete vars.
3982 * vc/vc-hooks.el (vc-default-registered): Don't use
3983 vc-master-templates.
3984
3985 * font-lock.el (font-lock-reference-face):
3986 Use define-obsolete-variable-alias.
3987
3988 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
3989 * calendar/calendar.el (calendar-font-lock-keywords):
3990 * calendar/diary-lib.el (diary-font-lock-keywords)
3991 (diary-fancy-font-lock-keywords):
3992 * textmodes/reftex-sel.el (reftex-insert-docstruct):
3993 * textmodes/reftex-index.el (reftex-insert-index):
3994 * textmodes/reftex-cite.el (reftex-format-bib-entry):
3995 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3996 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
3997 * progmodes/prolog.el (prolog-font-lock-keywords):
3998 * progmodes/idlwave.el (idlwave-idl-keywords):
3999 * progmodes/ada-mode.el (ada-font-lock-keywords):
4000 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
4001
4002 2012-09-24 Glenn Morris <rgm@gnu.org>
4003
4004 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
4005
4006 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
4007
4008 * progmodes/python.el (python-indent-line): More consistent cursor
4009 movement behavior.
4010
4011 2012-09-23 Stefan Merten <smerten@oekonux.de>
4012
4013 * textmodes/rst.el: Fix compiler warning.
4014
4015 2012-09-23 Roland Winkler <winkler@gnu.org>
4016
4017 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
4018 Transcribe also LaTeX hyphenation.
4019 (bibtex-reformat): Bug fix. Do not quote twice the elements of
4020 bibtex-reformat-previous-options.
4021
4022 2012-09-23 Roland Winkler <winkler@gnu.org>
4023
4024 * proced.el (proced-renice-command): New variable.
4025 (proced-marked-processes): New function.
4026 (proced-with-processes-buffer): New macro.
4027 (proced-send-signal): Use them.
4028 (proced-renice): New command bound to r.
4029
4030 2012-09-23 Roland Winkler <winkler@gnu.org>
4031
4032 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
4033 ibuffer-saved-filter-groups has one element, shortcut the call of
4034 completing-read. (Bug#12331)
4035
4036 2012-09-23 Chong Yidong <cyd@gnu.org>
4037
4038 * bindings.el (mode-line-toggle-read-only):
4039 * bs.el (bs-toggle-readonly):
4040 * buff-menu.el (Buffer-menu-toggle-read-only):
4041 * dired.el (dired-toggle-read-only):
4042 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
4043
4044 2012-09-23 Chong Yidong <cyd@gnu.org>
4045
4046 * image.el (image-type-available-p): Adapt to init-image-library
4047 argument changes.
4048
4049 2012-09-22 Juri Linkov <juri@jurta.org>
4050
4051 * dired.el (dired-mode-map): Add [remap read-only-mode] for
4052 `dired-toggle-read-only'. (Bug#12462)
4053
4054 2012-09-22 Martin Rudalics <rudalics@gmx.at>
4055
4056 * subr.el (temp-output-buffer-show): New function.
4057 (with-output-to-temp-buffer): Call temp-output-buffer-show
4058 instead of internal-temp-output-buffer-show.
4059
4060 2012-09-22 Chong Yidong <cyd@gnu.org>
4061
4062 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
4063 (Bug#12462).
4064
4065 * repeat.el (repeat): Doc fix (Bug#12348).
4066
4067 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
4068 (Bug#10909).
4069
4070 * simple.el (shell-command-on-region): Doc fix.
4071 (read-only-mode): Doc fix.
4072
4073 2012-09-22 Eli Zaretskii <eliz@gnu.org>
4074
4075 * emacs-lisp/timer.el (run-with-idle-timer)
4076 (timer-activate-when-idle): Warn against reinvoking an idle timer
4077 from within its own timer action. (Bug#12447)
4078
4079 2012-09-22 Martin Rudalics <rudalics@gmx.at>
4080
4081 * cus-start.el (window-combination-limit): Add new optional
4082 values.
4083 * window.el (temp-buffer-window-show)
4084 (window--try-to-split-window): Handle new values of
4085 window-combination-limit (Bug#1806).
4086 (split-window): Test window-combination-limit for t instead of
4087 non-nil.
4088 (display-buffer-at-bottom): New buffer display action function.
4089 * help.el (temp-buffer-resize-regexps): New option.
4090 (temp-buffer-resize-mode): Rewrite doc-string.
4091 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
4092 Don't resize reused window. Suggested by Glenn Morris.
4093
4094 2012-09-22 Stefan Merten <smerten@oekonux.de>
4095
4096 * textmodes/rst.el: Revamp section title faces.
4097 (rst-official-version)
4098 (rst-package-emacs-version-alist): Sync with official version
4099 V1.4.0.
4100 (rst-faces-defaults, rst-set-level-default)
4101 (rst-level-face-max, rst-level-face-base-color)
4102 (rst-level-face-base-light, rst-level-face-format-light)
4103 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
4104 (rst-adornment-faces-alist): Match new setup.
4105 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
4106 (rst-level-5, rst-level-6): New faces.
4107
4108 2012-09-22 Chong Yidong <cyd@gnu.org>
4109
4110 * simple.el (undo): Handle indirect buffers (Bug#8207).
4111
4112 2012-09-21 Leo Liu <sdl.web@gmail.com>
4113
4114 IDO: Disable match re-ordering for buffer switching.
4115 * ido.el (ido-buffer-disable-smart-matches): New variable.
4116 (ido-set-matches-1): Use it. (Bug#2042)
4117
4118 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
4119
4120 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
4121 Fix 2011-05-17 change. (Bug#12418)
4122
4123 2012-09-21 Leo Liu <sdl.web@gmail.com>
4124
4125 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
4126
4127 2012-09-21 Glenn Morris <rgm@gnu.org>
4128
4129 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
4130 Be more robust about locating simple.el.
4131
4132 2012-09-21 Glenn Morris <rgm@gnu.org>
4133
4134 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
4135
4136 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
4137
4138 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
4139
4140 2012-09-20 Juri Linkov <juri@jurta.org>
4141
4142 * replace.el (query-replace-read-from): Use `read-regexp' instead
4143 of `read-from-minibuffer' when `regexp-flag' is non-nil.
4144 (occur-read-primary-args): Use `read-regexp' instead of
4145 `read-string'.
4146 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
4147 `read-from-minibuffer'.
4148 * isearch.el (isearch-occur): Use `read-regexp' instead of
4149 `read-string'.
4150 * dired.el (dired-read-regexp): Use `read-regexp' instead of
4151 `read-from-minibuffer'.
4152 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
4153 of `read-string'. (Bug#7567)
4154
4155 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
4156 and allow accepting a list of strings prepended to a list of
4157 standard default values. Doc fix. (Bug#12321)
4158
4159 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
4160
4161 * replace.el (read-regexp): Don't add ": " when PROMPT already
4162 ends with a colon and space. (Bug#12321)
4163
4164 2012-09-20 Tassilo Horn <tsdh@gnu.org>
4165
4166 * doc-view.el (doc-view-display): Better fix for the cl-assertion
4167 error.
4168
4169 2012-09-20 Stefan Merten <smerten@oekonux.de>
4170
4171 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
4172 Fixes feature request bug#11711.
4173 (rst-mode): Create `imenu-create-index-function'.
4174 (rst-get-stripped-line): Delete after refactoring.
4175 (rst-section-tree, rst-section-tree-rec)
4176 (rst-section-tree-point): Refactor and document properly.
4177 (rst-imenu-find-adornments-for-position)
4178 (rst-imenu-convert-cell, rst-imenu-create-index):
4179 New function.
4180
4181 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4182
4183 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
4184 (macroexp--expand-all): Use it.
4185 (macroexp--funcall-and-return): Remove by folding it into its sole
4186 caller (macroexp--warn-and-return).
4187 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
4188 Use macroexp--obsolete-warning.
4189
4190 * calc/calc.el: Fix last change by removing the whole chunk, since it
4191 was only needed back when Calc was not bundled.
4192
4193 2012-09-20 Martin Rudalics <rudalics@gmx.at>
4194
4195 * emacs-lisp/debug.el (debug): Restore assignment to
4196 debugger-old-buffer removed on 2012-09-08.
4197
4198 2012-09-20 Juri Linkov <juri@jurta.org>
4199
4200 * dired-aux.el (dired-diff): Remove (require 'diff) since
4201 `diff-latest-backup-file' is now autoloaded.
4202
4203 2012-09-20 Chong Yidong <cyd@gnu.org>
4204
4205 * vc/diff.el (diff-latest-backup-file): Autoload.
4206
4207 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4208
4209 * calc/calc.el: Remove redundant autoload shape check.
4210 (sel-mode): Don't defvar.
4211 (calc-get-stack-element): Add `sel-mode' arg instead.
4212 (calc-top, calc-top-list): Pass it this additional argument.
4213 * calc/calc-store.el (calc-store-map):
4214 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
4215 (calc-map-equation, calc-outer-product, calc-inner-product):
4216 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
4217
4218 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
4219
4220 2012-09-19 Juri Linkov <juri@jurta.org>
4221
4222 * dired-aux.el (dired-diff): Add (require 'diff) because
4223 `diff-latest-backup-file' is not autoloaded.
4224 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
4225 of `dired-get-filename' to t to not report error when there is
4226 no default file on the current line.
4227
4228 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4229
4230 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
4231 macroexp--eval-if-compile.
4232 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
4233 (macroexp--expand-all): Use them (bug#12371).
4234
4235 * doc-view.el (doc-view-guess-paper-size)
4236 (doc-view-scale-bounding-box): Fix unbound `caddr'.
4237
4238 2012-09-19 Tassilo Horn <tsdh@gnu.org>
4239
4240 New feature: set optimal slice from BoundingBox information.
4241 * doc-view.el (doc-view-mode-map): Add keybinding.
4242 (doc-view-menu): Add menu entry.
4243 (doc-view-set-slice): Adapt docstring.
4244 (doc-view-get-bounding-box, doc-view-guess-paper-size)
4245 (doc-view-scale-bounding-box)
4246 (doc-view-set-slice-from-bounding-box): New functions.
4247 (doc-view-paper-sizes): New defvar.
4248
4249 2012-09-19 Glenn Morris <rgm@gnu.org>
4250
4251 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
4252 (byte-compile-log-warning): Autoload. (Bug#12371)
4253
4254 * calendar/calendar.el (calendar-american-month-header)
4255 (calendar-european-month-header, calendar-iso-month-header)
4256 (calendar-month-header): New options.
4257 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
4258 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
4259
4260 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
4261
4262 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
4263
4264 2012-09-18 Juri Linkov <juri@jurta.org>
4265
4266 * dired-aux.el (dired-diff): Restore original functionality of
4267 getting the default value, but keep new feature of using the
4268 latest existing backup file (`diff-latest-backup-file').
4269
4270 2012-09-18 Juri Linkov <juri@jurta.org>
4271
4272 * dired.el (dired-mark): If the region is active in Transient Mark
4273 mode, mark all files in the active region. Doc fix.
4274 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
4275 Doc fix. (Bug#10624)
4276
4277 2012-09-18 Juri Linkov <juri@jurta.org>
4278
4279 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
4280 attributes for M-n are pulled from the file at point.
4281 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
4282 Suggested by Drew Adams. (Bug#10624)
4283
4284 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
4285
4286 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
4287 whitespace after "end".
4288 (ruby-do-end-to-brace): Collapse block to one line if it fits
4289 within fill-column.
4290
4291 2012-09-18 Martin Rudalics <rudalics@gmx.at>
4292
4293 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
4294 value.
4295 (debug): Don't remove debugger window when debugger is expected
4296 to be back.
4297
4298 2012-09-18 Chong Yidong <cyd@gnu.org>
4299
4300 * custom.el (defface): Doc fix.
4301
4302 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
4303
4304 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
4305
4306 * progmodes/compile.el (compilation-start): Use compilation-always-kill
4307 to initialize query-on-exit; then test that instead (bug#12288).
4308
4309 2012-09-17 Stefan Merten <smerten@oekonux.de>
4310
4311 * textmodes/rst.el: Add support for `testcover'.
4312 (rst-defcustom-testcover, rst-testcover-add-compose)
4313 (rst-testcover-add-1value): New functions.
4314 (rst-portable-mark-active-p): Replace by `use-region-p'.
4315 (rst-update-section, rst-classify-adornment)
4316 (rst-find-title-line): Mark `1value' forms.
4317 (rst-classify-adornment): Remove superfluous form.
4318 (rst-update-section, rst-get-adornments-around)
4319 (rst-adornment-complete-p, rst-get-next-adornment)
4320 (rst-adjust, rst-promote-region)
4321 (rst-display-adornments-hierarchy, rst-straighten-adornments)
4322 (rst-find-pfx-in-region, rst-section-tree-rec)
4323 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
4324 (rst-toc-node, rst-toc, rst-forward-section)
4325 (rst-iterate-leftmost-paragraphs)
4326 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
4327 (rst-bullet-list-region)
4328 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
4329 (rst-compile-find-conf, rst-compile)
4330 (rst-repeat-last-character): Fix style.
4331
4332 2012-09-17 Chong Yidong <cyd@gnu.org>
4333
4334 * comint.el (comint--complete-file-name-data): Don't add a space
4335 if the status is `sole'; that adds a gratuitous space in the
4336 completion-cycling case (Bug#12092).
4337
4338 * pcomplete.el (pcomplete-completions-at-point): Likewise.
4339
4340 2012-09-17 Richard Stallman <rms@gnu.org>
4341
4342 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
4343 only in the mime-shown mode, not in raw mode.
4344 (rmail-mime): Toggle off mime by displaying the message without
4345 mime processing. (Bug#12305)
4346
4347 * mail/rmail.el (rmail-retry-failure):
4348 Turn off mime processing first. (Bug#12037)
4349
4350 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
4351
4352 2012-09-17 Chong Yidong <cyd@gnu.org>
4353
4354 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
4355 (shell-dynamic-complete-functions): Convert to defcustom.
4356 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
4357
4358 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
4359 * comint.el (comint-prompt-read-only):
4360 * custom.el (defcustom):
4361 * hi-lock.el (hi-lock-mode):
4362 * ibuffer.el (ibuffer-formats):
4363 * ielm.el (ielm-prompt-read-only):
4364 * novice.el (disable-command):
4365 * saveplace.el (toggle-save-place):
4366 * speedbar.el (speedbar-supported-extension-expressions):
4367 * startup.el (auto-save-list-file-prefix, init-file-user)
4368 (after-init-hook, inhibit-startup-echo-area-message):
4369 * strokes.el (strokes-help):
4370 * time-stamp.el (time-stamp):
4371 * calendar/calendar.el (calendar, diary-file):
4372 * calendar/diary-lib.el (diary-mail-entries, diary)
4373 (diary-list-entries-hook):
4374 * calendar/holidays.el (holidays, calendar-holidays):
4375 * calendar/lunar.el (lunar-phases):
4376 * calendar/solar.el (sunrise-sunset):
4377 * emulation/edt.el (edt-load-keys):
4378 * emulation/viper.el (viper-mode):
4379 * eshell/em-alias.el (eshell-command-aliases-list):
4380 * eshell/esh-util.el (eshell-convert-numeric-arguments):
4381 * international/ogonek.el (ogonek-information):
4382 * net/tramp-cmds.el (tramp-bug):
4383 * net/quickurl.el (quickurl-reread-hook-postfix):
4384 * play/decipher.el (decipher-font-lock-keywords):
4385 * progmodes/cc-styles.el (c-set-style):
4386 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
4387 * progmodes/inf-lisp.el (inferior-lisp-prompt):
4388 * progmodes/octave-mod.el (octave-mode):
4389 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
4390 * progmodes/verilog-mode.el (verilog-read-defines):
4391 * textmodes/two-column.el (2C-mode): Likewise.
4392
4393 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
4394
4395 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
4396 that holds many addresses.
4397
4398 2012-09-16 Chong Yidong <cyd@gnu.org>
4399
4400 * align.el (align-areas): Call the indication function with
4401 positions instead of markers for arguments (Bug#12343).
4402
4403 * files.el (parse-colon-path): Use split-string (Bug#12351).
4404
4405 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4406 (display-buffer-function): Mark as obsolete.
4407
4408 * progmodes/compile.el (compilation-parse-errors): Accept list
4409 values similar to font-lock-keywords (Bug#12136).
4410 Suggested by Oleksandr Manzyuk.
4411 (compilation-error-regexp-alist): Doc fix.
4412
4413 2012-09-15 Glenn Morris <rgm@gnu.org>
4414
4415 * version.el (emacs-bzr-version-bzr): New function.
4416 (emacs-bzr-get-version): Add optional EXTERNAL argument.
4417
4418 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
4419 checkouts, check the parent dirstate matches the branch.
4420 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
4421 empty string.
4422
4423 * version.el (emacs-bzr-version): Doc fix.
4424 (emacs-bzr-version-dirstate): New function.
4425 (emacs-bzr-get-version): For lightweight checkouts, if the parent
4426 is local try and check that it matches the branch. If not, just
4427 use dirstate information. (Bug#12441)
4428
4429 2012-09-14 Juri Linkov <juri@jurta.org>
4430
4431 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
4432 (Bug#12399)
4433
4434 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4435
4436 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
4437
4438 * emacs-lisp/edebug.el: Miscellaneous cleanup.
4439 Remove obsolete byte-compiler hack that tried to silence some warnings.
4440 (edebug-submit-bug-report): Remove.
4441 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
4442 Remove aliases, use the un-prefixed name instead.
4443 (edebug-pop-to-buffer): Consider other frames.
4444 (edebug-original-read):: Make it more obvious that it's always defined.
4445 (edebug--make-form-data-entry, edebug--form-data-name)
4446 (edebug--form-data-begin, edebug--form-data-end): Rename from the
4447 single-dashed name, and implement with cl-defstruct.
4448 (edebug-set-form-data-entry): Use the standard accessors.
4449 (edebug-make-top-form-data-entry): Use push.
4450 (edebug-no-match): Drop useless `funcall'.
4451 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
4452 to functions.
4453 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
4454 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
4455 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
4456 (easy-menu-define, with-custom-print): Remove redundant specs.
4457 (edebug-outside-overriding-local-map)
4458 (edebug-outside-overriding-terminal-local-map): Remove, unused.
4459 (edebug--display): Bind unread-command-events directly to nil rather
4460 than binding it to unread-command-events and later setting it to nil.
4461 (edebug--display): Kill edebug-eval-buffer here...
4462 (edebug--recursive-edit): ...rather than here.
4463 Bind standard-output and standard-input.
4464 (edebug-eval): Check cl-macroexpand-all is fboundp.
4465 (edebug-temp-display-freq-count): Fix last change.
4466
4467 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
4468 * subr.el (noreturn, 1value): Add `debug' spec.
4469 * emacs-lisp/advice.el: Require cl-lib.
4470 (ad-copy-tree): Remove, use copy-tree instead.
4471 (ad-dolist): Remove use dolist or cl-dolist instead.
4472 (ad-do-return): Remove, use cl-return instead.
4473 (defadvice): Add `debug' spec.
4474
4475 2012-09-13 Juri Linkov <juri@jurta.org>
4476
4477 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
4478 (Bug#12399)
4479
4480 2012-09-13 Glenn Morris <rgm@gnu.org>
4481
4482 * calc/calc.el (math-compose-expr):
4483 * calc/calc-ext.el (math-compose-expr):
4484 * progmodes/cc-defs.el (cl-macroexpand-all):
4485 * progmodes/cc-langs.el (delete-duplicates, mapcan)
4486 (cl-macroexpand-all): Update declarations.
4487
4488 * vc/vc.el: No need to require ediff.
4489 (ediff-load-version-control): Declare.
4490 (ediff-vc-internal): Fix declaration.
4491 (vc-version-ediff): Require ediff.
4492
4493 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
4494
4495 Use a more backwards-compatible timer format (Bug#12430).
4496 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
4497 being right after USECS, as that better supports old code that
4498 inadvisedly looked directly at the timer vector.
4499
4500 2012-09-13 Kenichi Handa <handa@gnu.org>
4501
4502 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
4503 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
4504 `coding-priority' property of these language environment.
4505
4506 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
4507
4508 Fix glitches caused by addition of psec to timers (Bug#12430).
4509 * image.el (image-animate-timer):
4510 * time.el (display-time-world-timer):
4511 Use timer--function and timer--args rather than raw access to
4512 timer vector.
4513
4514 2012-09-13 Glenn Morris <rgm@gnu.org>
4515
4516 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
4517 If not compiling a file, try using load-file-name.
4518
4519 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4520
4521 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
4522 Fix last change.
4523 (edebug-update-eval-list): Use `push'.
4524
4525 * emacs-lisp/edebug.el: Use lexical-binding.
4526 Remove the "edebug-" prefix from non-dynamically-scoped variables.
4527 Mark unused args with underscore.
4528 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
4529 (edebug-form-data): Use defvar-local.
4530 (edebug-make-before-and-after-form, edebug-make-after-form):
4531 Use backquote.
4532 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
4533 Not dynamically scoped any more.
4534 (edebug--enter-trace): Add arguments `function' and `args'.
4535 Rename from edebug-enter-trace.
4536 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
4537 (edebug--update-coverage): Add `after-index' and `value' args.
4538 Rename from edebug-update-coverage.
4539 (edebug-slow-after): Call it accordingly.
4540 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
4541 edebug-recursive-edit.
4542 (edebug--display): Call it accordingly. Add args `value',
4543 `offset-index', and `arg-mode'. Rename from edebug-display.
4544 (edebug-debugger, edebug): Call it accordingly.
4545 (edebug-eval-display-list): Use dolist.
4546
4547 2012-09-12 Juri Linkov <juri@jurta.org>
4548
4549 * info.el (Info-search): Don't check for isearch-mode and
4550 isearch-regexp before let-binding search-spaces-regexp to
4551 Info-search-whitespace-regexp.
4552 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
4553 search-whitespace-regexp if isearch-lax-whitespace or
4554 isearch-regexp-lax-whitespace is non-nil.
4555 (Info-mode): Don't set local variable search-whitespace-regexp.
4556 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
4557
4558 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4559
4560 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
4561 (debugger-env-macro): Remove support for unread-command-char.
4562
4563 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
4564 the temporary map re-appearing on emulation-mode-map-alists.
4565
4566 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
4567 since 22.1.
4568
4569 * ehelp.el (with-electric-help): Accept functions in
4570 electric-help-form-to-execute.
4571 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
4572 And replace unread-command-char -> unread-command-events.
4573
4574 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
4575
4576 Sync with Tramp 2.2.6.
4577
4578 * net/tramp.el (tramp-accept-process-output): Don't use
4579 JUST-THIS-ONE in the XEmacs case.
4580
4581 * net/trampver.el: Update release number.
4582
4583 2012-09-12 Martin Rudalics <rudalics@gmx.at>
4584
4585 * emacs-lisp/debug.el (debugger-previous-window-height):
4586 New variable.
4587 (debug): When debugger-jumping-flag is non-nil try to restore
4588 height of debugger window. (Bug#8789)
4589
4590 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4591
4592 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
4593 overriding-local-map and pre/post-command-hook here.
4594 (edebug-recursive-edit): Do it here instead (bug#12345).
4595 (edebug-outside-unread-command-char): Remove all uses of
4596 unread-command-char.
4597
4598 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
4599 inhibit-debugger is bound instead.
4600
4601 2012-09-11 Bastien Guerry <bzg@gnu.org>
4602
4603 * subr.el (set-temporary-overlay-map): Add a docstring.
4604 (Bug#12346)
4605
4606 2012-09-11 Bastien Guerry <bzg@gnu.org>
4607
4608 * minibuffer.el (completion-table-subvert): Fix docstring.
4609 (Bug#12347)
4610
4611 2012-09-11 Bastien Guerry <bzg@gnu.org>
4612
4613 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
4614
4615 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
4616
4617 * progmodes/sql.el: Version 3.1
4618 (sql-db2-escape-newlines): New variable.
4619 (sql-escape-newlines-filter): Use it.
4620
4621 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
4622
4623 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
4624
4625 2012-09-10 Dan Nicolaescu <dann@gnu.org>
4626
4627 * vc/diff-mode.el (diff-mode-menu):
4628 Bind diff-remove-trailing-whitespace.
4629
4630 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4631
4632 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
4633 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
4634 (emacs-lisp-byte-code-mode): New functions.
4635 (eval-sexp-add-defvars): Don't skip defvars in column >0.
4636 (eval-defun-2): Remove bogus interactive spec.
4637 (lisp-indent-line): Remove redundant whole-exp code, now done in
4638 indent-according-to-mode.
4639 (save-match-data): Remove redundant indent data.
4640
4641 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
4642 Use `declare'.
4643
4644 2012-09-09 Juri Linkov <juri@jurta.org>
4645
4646 * replace.el (replace-regexp-lax-whitespace): New defcustom.
4647 (replace-lax-whitespace, query-replace-regexp)
4648 (query-replace-regexp-eval, replace-regexp): Doc fix.
4649 (perform-replace, replace-highlight): Let-bind
4650 isearch-lax-whitespace to replace-lax-whitespace and
4651 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
4652
4653 * isearch.el (isearch-query-replace): Let-bind
4654 replace-lax-whitespace to isearch-lax-whitespace and
4655 replace-regexp-lax-whitespace to
4656 isearch-regexp-lax-whitespace. (Bug#10885)
4657
4658 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
4659
4660 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
4661
4662 2012-09-09 Alan Mackenzie <acm@muc.de>
4663
4664 * progmodes/cc-engine.el (c-state-cache-init):
4665 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
4666 (c-record-parse-state-state):
4667 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
4668
4669 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
4670
4671 * register.el (register-separator): Rename from
4672 separator-register. All uses changed. Doc fix.
4673 (register): Fix version.
4674
4675 2012-09-09 Chong Yidong <cyd@gnu.org>
4676
4677 * replace.el (query-replace-map): Bind four new symbols for
4678 requesting window scrolling.
4679
4680 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
4681 query-replace-map (Bug#8948).
4682
4683 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
4684
4685 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
4686 since they are now in query-replace-map.
4687
4688 * window.el (scroll-other-window-down): Make the arg optional.
4689
4690 2012-09-09 Chong Yidong <cyd@gnu.org>
4691
4692 * files.el (hack-local-variables-confirm): Use quit-window to kill
4693 the *Local Variables* buffer.
4694
4695 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
4696
4697 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
4698 not just expect to be at its beginning. Adjust callees.
4699 Succeed when do-end block has no space before the pipe character.
4700 (ruby-brace-to-do-end): When the original block is one-liner,
4701 convert to multiline. Reindent the result.
4702
4703 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
4704
4705 * register.el (register): New group.
4706 (separator-register): New user option.
4707 (increment-register): Route it to `append-to-register', if
4708 register contains text. Implication is that `C-x r +' can now be
4709 used for appending to a text register (bug#12217).
4710 (append-to-register, prepend-to-register): Add separator based on
4711 `separator-register'.
4712
4713 2012-09-08 Alan Mackenzie <acm@muc.de>
4714
4715 AWK Mode: make auto-newline work when there's "==" in the pattern.
4716 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
4717 correctly.
4718 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
4719 Test more rigorously for "=" token.
4720
4721 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
4722
4723 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
4724 Only fail when reached LIMIT.
4725
4726 2012-09-08 Chong Yidong <cyd@gnu.org>
4727
4728 * dired.el (dired-mode-map): Don't bind M-=.
4729
4730 * dired-aux.el (dired-diff): Use backup file as default.
4731
4732 2012-09-08 Drew Adams <drew.adams@oracle.com>
4733
4734 * subr.el (add-to-history): Fix delete usage (Bug#12314).
4735
4736 2012-09-08 Chong Yidong <cyd@gnu.org>
4737
4738 * subr.el (syntax-after, syntax-class): Doc fix.
4739
4740 2012-09-08 Martin Rudalics <rudalics@gmx.at>
4741
4742 * window.el (display-buffer-in-previous-window): New buffer
4743 display action function.
4744
4745 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
4746 (debugger-previous-window): New variable.
4747 (debug): Rewrite using display-buffer-in-previous-window,
4748 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
4749
4750 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
4751
4752 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
4753
4754 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
4755
4756 * progmodes/python.el (python-shell-send-string):
4757 When default-directory is remote, create temp file on remote
4758 filesystem.
4759 (python-shell-send-file): When file is remote, pass local view of
4760 file paths to remote Python interpreter. (Bug#12340)
4761
4762 2012-09-07 Chong Yidong <cyd@gnu.org>
4763
4764 * window.el (switch-to-buffer): Doc fix (Bug#12181).
4765
4766 * files.el (after-find-file): Don't fail on a read-only buffer if
4767 require-final-newline is `visit' or `visit-save' (Bug#11156).
4768
4769 * subr.el (read-char-choice): Allow quitting via ESC ESC.
4770
4771 * userlock.el (ask-user-about-supersession-threat):
4772 Use read-char-choice (Bug#12093).
4773
4774 2012-09-07 Chong Yidong <cyd@gnu.org>
4775
4776 * subr.el (buffer-narrowed-p): New function.
4777
4778 * ses.el (ses-widen):
4779 * simple.el (count-words--buffer-message):
4780 * net/browse-url.el (browse-url-of-buffer): Use it.
4781
4782 * simple.el (count-words-region): Don't signal an error if there
4783 is a non-nil prefix arg and the mark is not set.
4784
4785 * help.el (describe-key-briefly): Allow the message to be seen
4786 when invoked from the minibuffer (Bug#7014).
4787
4788 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
4789
4790 * progmodes/ruby-mode.el (ruby-end-of-defun)
4791 (ruby-beginning-of-defun): Simplify, allow indentation before
4792 block beginning and end keywords.
4793 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
4794 (ruby-end-of-defun): Expect that the point is at the beginning of
4795 the defun.
4796
4797 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4798
4799 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
4800 (bug#12367).
4801 (cl--make-usage-args): Strip _ from argument names.
4802
4803 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4804
4805 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
4806 obsolete alias speedbar-key-map.
4807 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
4808 (vhdl-index-menu-init): Don't use obsolete variable
4809 font-lock-maximum-size.
4810
4811 2012-09-06 Chong Yidong <cyd@gnu.org>
4812
4813 * frame.el (window-system-version): Mark as obsolete.
4814
4815 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
4816 of obsolete variable speedbar-key-map.
4817
4818 2012-09-06 Juri Linkov <juri@jurta.org>
4819
4820 * replace.el (replace-lax-whitespace): New defcustom.
4821 (query-replace, query-replace-regexp, query-replace-regexp-eval)
4822 (replace-string, replace-regexp): Mention it in docstrings.
4823 (perform-replace, replace-highlight): Let-bind
4824 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
4825 to the values of replace-lax-whitespace and regexp-flag.
4826 Don't let-bind search-whitespace-regexp. (Bug#10885)
4827
4828 * isearch.el (isearch-query-replace): Let-bind
4829 replace-lax-whitespace instead of let-binding
4830 replace-search-function and replace-re-search-function.
4831 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
4832 and isearch-regexp-lax-whitespace to lazy-highlight variables.
4833 (isearch-toggle-symbol): Set isearch-regexp to nil
4834 in isearch-word mode (like in isearch-toggle-word).
4835
4836 2012-09-06 Juri Linkov <juri@jurta.org>
4837
4838 * replace.el (replace-search-function)
4839 (replace-re-search-function): Set default values to nil.
4840 (perform-replace): Let-bind isearch-related variables based on
4841 replace-related values, call `isearch-search-fun' and let-bind
4842 the result to `search-function'. Remove code that sets
4843 `search-function' and `search-string' separately for
4844 `delimited-flag'.
4845 (replace-highlight): Add new argument `delimited-flag' and
4846 rename other arguments to the names used in `perform-replace'.
4847 Let-bind `isearch-word' to the argument `delimited-flag'.
4848 (Bug#10885, bug#10887)
4849
4850 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
4851
4852 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
4853 ruby-beginning-of-indent, simplify, allow all keywords to have
4854 indentation before them.
4855 (ruby-beginning-of-indent): Adjust for above. Search until the
4856 found point is not inside a string or comment.
4857 (ruby-font-lock-keywords): Allow symbols to start with "@"
4858 character, give them higher priority than variables.
4859 (ruby-syntax-propertize-function)
4860 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
4861 matchers. Expression expansions are not comments when inside a
4862 string, and there comment syntax status is irrelevant.
4863 (ruby-match-expression-expansion): New function. Check that
4864 expression expansion is inside a string, and it's not escaped.
4865 (ruby-font-lock-keywords): Use it.
4866
4867 2012-09-05 Martin Rudalics <rudalics@gmx.at>
4868
4869 * help.el (temp-buffer-max-height): New default value.
4870 (temp-buffer-resize-frames): New option.
4871 (resize-temp-buffer-window): Optionally resize frame.
4872
4873 * window.el (fit-frame-to-buffer-bottom-margin): New option.
4874 (fit-frame-to-buffer): New function.
4875
4876 2012-09-05 Glenn Morris <rgm@gnu.org>
4877
4878 * emulation/cua-rect.el (cua--init-rectangles):
4879 * textmodes/picture.el (picture-mode-map):
4880 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
4881 like forward-char and backward-char. (Bug#12317)
4882
4883 2012-09-05 Leo Liu <sdl.web@gmail.com>
4884
4885 * progmodes/flymake.el (flymake-warning-re): New variable.
4886 (flymake-parse-line): Use it.
4887
4888 2012-09-05 Glenn Morris <rgm@gnu.org>
4889
4890 * calendar/holidays.el (holiday-christian-holidays):
4891 Rename an entry. (Bug#12289)
4892
4893 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4894
4895 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
4896 (bug#12222).
4897
4898 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4899
4900 * loadup.el: Load macroexp. Remove hack.
4901 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
4902 (macroexp--expand-all): Use it to get better warnings.
4903 (macroexp--backtrace, macroexp--trim-backtrace-frame)
4904 (internal-macroexpand-for-load): New functions.
4905 (macroexp--pending-eager-loads): New var.
4906 (emacs-startup-hook): New hack to replace one in loadup.el.
4907 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
4908 (cl--compiler-macro-cXXr): Move to top, before they can be used.
4909 (cl-psetf): Simplify.
4910 (cl-defstruct): Add indent rule.
4911
4912 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
4913
4914 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
4915 over `user-mail-address' for the SMTP MAIL FROM envelope.
4916 (smtpmail-via-smtp): Ditto.
4917
4918 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
4919
4920 * progmodes/ruby-mode.el: Clean up keybindings.
4921 (ruby-mode-map): Don't bind ruby-electric-brace,
4922 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
4923 backward-kill-word, reindent-then-newline-and-indent.
4924 (ruby-mark-defun): Remove.
4925 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
4926 (ruby-mode): Set local beginning-of-defun-function and
4927 end-of-defun-function values.
4928
4929 2012-09-03 Martin Rudalics <rudalics@gmx.at>
4930
4931 * window.el (temp-buffer-window-setup-hook)
4932 (temp-buffer-window-show-hook): New hooks.
4933 (temp-buffer-window-setup, temp-buffer-window-show)
4934 (with-temp-buffer-window): New functions.
4935 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
4936 (special-display-popup-frame): Make sure the window used shows BUFFER.
4937
4938 * help.el (temp-buffer-resize-mode): Fix doc-string.
4939 (resize-temp-buffer-window): New optional argument WINDOW.
4940
4941 * files.el (recover-file, save-buffers-kill-emacs):
4942 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
4943
4944 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
4945
4946 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
4947 remote definition of `default-directory', ensure we can connect.
4948
4949 2012-09-02 Juri Linkov <juri@jurta.org>
4950
4951 Toggle whitespace matching mode with M-s SPC.
4952 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
4953
4954 * isearch.el (search-whitespace-regexp): Doc fix.
4955 Remove cons cell customization.
4956 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
4957 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
4958 New variables.
4959 (isearch-forward, isearch-forward-regexp): Doc fix.
4960 (isearch-toggle-lax-whitespace): New command.
4961 (search-forward-lax-whitespace, search-backward-lax-whitespace)
4962 (re-search-forward-lax-whitespace)
4963 (re-search-backward-lax-whitespace): New functions.
4964 (isearch-whitespace-regexp): Remove function.
4965 (isearch-query-replace): Let-bind replace-search-function and
4966 replace-re-search-function.
4967 (isearch-occur): Let-bind search-spaces-regexp according to the
4968 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
4969 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
4970 condition for C-q SPC.
4971 (isearch-search-fun-default): Use new functions mentioned above.
4972 (isearch-search-forward, isearch-search-backward): Remove functions.
4973 (isearch-search): Don't let-bind search-spaces-regexp.
4974 (isearch-lazy-highlight-space-regexp): Remove variable.
4975 (isearch-lazy-highlight-lax-whitespace)
4976 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
4977 (isearch-lazy-highlight-new-loop): Use them.
4978 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
4979
4980 2012-09-02 Chong Yidong <cyd@gnu.org>
4981
4982 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
4983
4984 2012-09-02 Glenn Morris <rgm@gnu.org>
4985
4986 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
4987
4988 2012-09-01 Glenn Morris <rgm@gnu.org>
4989
4990 * term.el: Tidy up menu definitions.
4991 (term-mode-map): Use easymenu for In/Out, Complete menus.
4992 (term-pager-break-map): Initialize in the defvar.
4993 (term-terminal-menu, term-signals-menu): Define with easymenu.
4994 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
4995 (term-pager-menu): New, extracted from term-process-pager.
4996 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
4997 (term-update-mode-line): Propertize line/char and page items.
4998 (term-process-pager): Move keymap initialization elsewhere.
4999
5000 2012-09-01 Martin Rudalics <rudalics@gmx.at>
5001
5002 * window.el (switch-to-prev-buffer): Handle additional values of
5003 BURY-OR-KILL argument. Don't switch in minibuffer window.
5004 (switch-to-next-buffer): Don't switch in minibuffer window.
5005 (quit-restore-window): New function based on quit-window.
5006 Handle additional values of former KILL argument.
5007 (quit-window): Call quit-restore-window with appropriate
5008 interpretation of KILL argument.
5009 (display-buffer-below-selected): New buffer display action
5010 function.
5011
5012 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
5013
5014 * minibuffer.el (completion-at-point-functions): Complete docstring
5015 (bug#12254).
5016
5017 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
5018
5019 Better seed support for (random).
5020 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
5021 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
5022 * play/mpuz.el, play/tetris.el, play/zone.el:
5023 * calc/calc-comb.el (math-init-random-base):
5024 * play/blackbox.el (bb-init-board):
5025 * play/life.el (life):
5026 * server.el (server-use-tcp):
5027 * type-break.el (type-break):
5028 Remove unnecessary call to (random t).
5029 * net/sasl.el (sasl-unique-id-function):
5030 Change (random t) to (random), now that the latter is more random.
5031 * play/life.el (life-initialized): Remove no-longer-needed var.
5032
5033 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
5034
5035 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
5036 Consider frame's buffer predicate when choosing the buffer.
5037 (Bug#12081)
5038
5039 2012-08-30 Richard Stallman <rms@gnu.org>
5040
5041 * simple.el (special-mode-map): Delete binding for `z'.
5042
5043 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
5044
5045 * progmodes/compile.el (compilation-always-kill): Doc fix.
5046
5047 2012-08-30 Chong Yidong <cyd@gnu.org>
5048
5049 * window.el (display-buffer-reuse-frames): Make the obsolescence
5050 message more informative.
5051
5052 2012-08-30 Glenn Morris <rgm@gnu.org>
5053
5054 * paren.el (show-paren-delay):
5055 Add a :set function. Doc fix. (Bug#12297)
5056
5057 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
5058
5059 * progmodes/compile.el (compilation-always-kill): New var.
5060 (compilation-start): Use it.
5061
5062 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5063
5064 * simple.el (read-only-mode): Move from files.el for bootstrapping.
5065 * files.el (read-only-mode): Move to simple.el.
5066
5067 * files.el (read-only-mode): New minor mode.
5068 (toggle-read-only): Use it and mark obsolete.
5069 (find-file--read-only):
5070 * vc/vc.el (vc-next-action, vc-checkout):
5071 * vc/vc-cvs.el (vc-cvs-checkout):
5072 * obsolete/vc-mcvs.el (vc-mcvs-update):
5073 * ffap.el (ffap--toggle-read-only): Update callers.
5074
5075 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
5076
5077 * eshell/esh-ext.el (eshell-external-command): Do not examine
5078 remote shell scripts.
5079 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
5080
5081 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
5082 "/usr/local/sbin".
5083
5084 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5085
5086 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
5087
5088 2012-08-28 Leo Liu <sdl.web@gmail.com>
5089
5090 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
5091 completion-at-point. (Bug#12220)
5092
5093 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
5094
5095 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
5096
5097 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5098
5099 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
5100 be buffer-local; add delete-trailing-whitespace (bug#12259).
5101
5102 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
5103
5104 * progmodes/hideif.el (hif-compress-define-list):
5105 Fix typo. (Bug#11951)
5106
5107 2012-08-28 Dan Nicolaescu <dann@gnu.org>
5108
5109 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
5110 buffer local setting.
5111
5112 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
5113 rcirc-encode-coding-system.
5114
5115 2012-08-28 Leo Liu <sdl.web@gmail.com>
5116
5117 * net/rcirc.el (rcirc-split-message): New function.
5118 (rcirc-send-message): Use it. (Bug#12051)
5119
5120 2012-08-28 Juri Linkov <juri@jurta.org>
5121
5122 * info.el (Info-fontify-node): Hide empty lines at the end of
5123 the node. (Bug#12272)
5124
5125 2012-08-27 Drew Adams <drew.adams@oracle.com>
5126
5127 * dired.el (dired-pop-to-buffer): Make window start at beginning
5128 of buffer (Bug#12281).
5129
5130 2012-08-26 Chong Yidong <cyd@gnu.org>
5131
5132 * window.el (special-display-regexps, special-display-frame-alist)
5133 (special-display-buffer-names, special-display-function)
5134 (display-buffer-reuse-frames): Mark as obsolete.
5135
5136 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
5137
5138 * help.el (help-print-return-message): Don't treat
5139 display-buffer-reuse-frames specially.
5140
5141 2012-08-26 Chong Yidong <cyd@gnu.org>
5142
5143 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
5144 New variable, replacing gdb-frame-parameters.
5145 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
5146 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
5147 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
5148 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
5149 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
5150 the functions directly with gdb-display-buffer-other-frame-action.
5151 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
5152 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
5153 (gdb-display-stack-buffer, gdb-display-locals-buffer)
5154 (gdb-display-registers-buffer): Define directly.
5155 (def-gdb-display-buffer): Macro deleted.
5156 (gdb-display-buffer): Remove second and third args, callers don't
5157 use them. Defer to the default display-buffer behavior, apart
5158 from making windows dedicated.
5159 (gdb-setup-windows): Don't call display-buffer unnecessarily.
5160
5161 * progmodes/gud.el (gud-display-line): Just use display-buffer.
5162
5163 * window.el (display-buffer-pop-up-frame): Handle a
5164 pop-up-frame-parameters alist entry.
5165 (display-buffer): Document it.
5166
5167 2012-08-26 Chong Yidong <cyd@gnu.org>
5168
5169 * isearch.el (search-whitespace-regexp): Make string and nil
5170 values apply to both ordinary and regexp search. Allow a cons
5171 cell value to distinguish between the two.
5172 (isearch-whitespace-regexp, isearch-search-forward)
5173 (isearch-search-backward): New functions.
5174 (isearch-occur, isearch-search-fun-default, isearch-search)
5175 (isearch-lazy-highlight-new-loop): Use them.
5176 (isearch-forward, isearch-forward-regexp): Doc fix.
5177
5178 2012-08-26 Chong Yidong <cyd@gnu.org>
5179
5180 * faces.el (help-argument-name): Always inherit from italic
5181 (Bug#12213).
5182
5183 2012-08-25 Martin Rudalics <rudalics@gmx.at>
5184
5185 * window.el (window--even-window-heights): Even heights when
5186 WINDOW and the selected window form a vertical combination.
5187 (display-buffer-use-some-window): Provide that window used gets
5188 sized back by quit-window. (Bug#11880) and (Bug#12091)
5189
5190 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
5191
5192 Fix file time stamp problem with bzr and CVS (Bug#12001).
5193 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
5194 in the file's time stamp, since the version control system loses
5195 that information.
5196
5197 2012-08-22 Juri Linkov <juri@jurta.org>
5198
5199 * info.el (Info-fontify-node): Hide the suffix of the
5200 Info file name in the header line. (Bug#12187)
5201
5202 2012-08-22 Glenn Morris <rgm@gnu.org>
5203
5204 * calendar/cal-tex.el (cal-tex-weekly-common):
5205 Restore leading blank page.
5206
5207 2012-08-22 Le Wang <l26wang@gmail.com>
5208
5209 * misc.el (forward-to-word, backward-to-word): Activate or extend
5210 the region under `shift-select-mode'. (Bug#12231)
5211
5212 2012-08-22 Bastien Guerry <bzg@gnu.org>
5213
5214 * progmodes/executable.el (executable-prefix): Set to "#!" instead
5215 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
5216 gives details on why the space is never needed.
5217
5218 2012-08-22 Martin Rudalics <rudalics@gmx.at>
5219
5220 * window.el (walk-window-tree, window-with-parameter):
5221 New optional argument MINIBUF to control whether these functions
5222 should run on the minibuffer window.
5223 (window-at-side-list): Don't operate on minibuffer window.
5224 (window-in-direction): Simplify and rewrite doc-string.
5225 (window--size-ignore): Rename to window--size-ignore-p.
5226 Update callers.
5227 (display-buffer-in-atom-window, window--major-non-side-window)
5228 (window--major-side-window, display-buffer-in-major-side-window)
5229 (delete-side-window, display-buffer-in-side-window):
5230 New functions.
5231 (window--side-check, window-deletable-p, delete-window)
5232 (delete-other-windows, split-window): Handle side windows and
5233 atomic windows appropriately.
5234 (window--display-buffer): Call display-buffer-record-window also
5235 when the window buffer did not change.
5236
5237 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
5238
5239 * help-fns.el (help-fns--key-bindings):
5240 Abbreviate non-symbol remap targets. (Bug#12174)
5241
5242 2012-08-22 Martin Rudalics <rudalics@gmx.at>
5243
5244 * dired.el (dired-mark-remembered): Don't clobber point.
5245 (Bug#11795)
5246
5247 2012-08-22 Glenn Morris <rgm@gnu.org>
5248
5249 * progmodes/bug-reference.el (bug-reference): New custom group.
5250 (bug-reference-bug-regexp): Make it a defcustom.
5251
5252 2012-08-22 Daiki Ueno <ueno@unixuser.org>
5253
5254 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
5255 (js-paren-indent-offset, js-square-indent-offset)
5256 (js-curly-indent-offset): Add :safe (Bug#12257).
5257
5258 2012-08-22 Edward O'Connor <hober0@gmail.com>
5259
5260 * json.el (json-key-format): Add error properties.
5261 (json-encode-key): New function.
5262 (json-encode-hash-table, json-encode-alist, json-encode-plist):
5263 Use json-encode-key.
5264
5265 2012-08-22 Glenn Morris <rgm@gnu.org>
5266
5267 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
5268 (cal-tex-leftday, cal-tex-rightday): Remove functions.
5269 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
5270 Update for above change.
5271
5272 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
5273
5274 * cus-face.el (custom-face-attributes): Fix customize type for the
5275 :underline attribute. (Bug#11805)
5276
5277 2012-08-21 Martin Rudalics <rudalics@gmx.at>
5278
5279 * window.el (window-point-1, set-window-point-1): Remove.
5280 (window-in-direction, record-window-buffer)
5281 (set-window-buffer-start-and-point, split-window-below)
5282 (window--state-get-1, display-buffer-record-window):
5283 Replace calls to window-point-1 and set-window-point-1 by calls to
5284 window-point and set-window-point respectively.
5285
5286 2012-08-21 Glenn Morris <rgm@gnu.org>
5287
5288 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
5289 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
5290 Use it.
5291
5292 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
5293 (cal-tex-shortday): New function.
5294 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
5295 (cal-tex-cursor-filofax-daily): Use the above.
5296
5297 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
5298 New functions.
5299 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
5300 (cal-tex-cursor-filofax-week): Use them.
5301
5302 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
5303 New constants.
5304 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
5305 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
5306
5307 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
5308 (cal-tex-end-document): Don't rely on buffer name.
5309
5310 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
5311 Use cal-tex-vspace.
5312 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
5313 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
5314 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
5315 Use cal-tex-arg.
5316
5317 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
5318 (cal-tex-cursor-week, cal-tex-cursor-week2)
5319 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
5320 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
5321 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
5322 (cal-tex-insert-preamble, cal-tex-b-document)
5323 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
5324 Improve cal-tex-cmd usage.
5325
5326 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
5327 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
5328 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
5329 (cal-tex-weekly-paper): New function.
5330 (cal-tex-cursor-week, cal-tex-cursor-week2)
5331 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
5332 (cal-tex-cursor-day): Use it.
5333
5334 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
5335 (cal-tex-cursor-filofax-week): Remove leading blank page.
5336
5337 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
5338 Add autoload cookie. For now at least, don't use color, since
5339 no other cal-tex function does.
5340
5341 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
5342 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
5343 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
5344
5345 2012-08-21 Juri Linkov <juri@jurta.org>
5346
5347 * info.el (Info-file-attributes): New variable.
5348 (info-insert-file-contents): Add file attributes to
5349 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
5350 `Info-toc-nodes' when previous modtime of the Info file is less
5351 than new modtime.
5352 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
5353 of info.el. (Bug#12230)
5354
5355 2012-08-20 Glenn Morris <rgm@gnu.org>
5356
5357 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
5358 * calendar/holidays.el (calendar-holiday-list):
5359 Report errors with display-warning rather than beep'n'sleep.
5360
5361 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
5362
5363 * net/tramp.el (tramp-accept-process-output): Accept only output
5364 from PROC. Otherwise, process filters and sentinels might be
5365 confused. (Bug#12145)
5366
5367 2012-08-20 Chong Yidong <cyd@gnu.org>
5368
5369 * descr-text.el (describe-text-properties-1): Use overlays-in to
5370 report on empty overlays (Bug#3322).
5371
5372 2012-08-20 Glenn Morris <rgm@gnu.org>
5373
5374 * mail/rmailout.el (rmail-output-read-file-name):
5375 Trap and report errors in rmail-output-file-alist elements.
5376
5377 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
5378 since most non-font-lock faces are not also variables).
5379
5380 2012-08-20 Edward Reingold <reingold@iit.edu>
5381
5382 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
5383 New function. (Bug12160)
5384
5385 2012-08-19 Glenn Morris <rgm@gnu.org>
5386
5387 * mail/rmailout.el (rmail-output-read-file-name):
5388 Fix previous change (when the alist is nil or does not match).
5389
5390 2012-08-19 Chong Yidong <cyd@gnu.org>
5391
5392 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
5393 (Bug#12228).
5394
5395 2012-08-18 Chong Yidong <cyd@gnu.org>
5396
5397 * simple.el (yank-handled-properties): New defcustom.
5398 (yank-excluded-properties): Add font-lock-face and category.
5399 (yank): Doc fix.
5400
5401 * subr.el (remove-yank-excluded-properties):
5402 Obey yank-handled-properties. The special handling of font-lock-face
5403 and category is now done this way, instead of being hard-coded.
5404 (insert-for-yank-1): Remove font-lock-face handling.
5405 (yank-handle-font-lock-face-property)
5406 (yank-handle-category-property): New function.
5407
5408 2012-08-17 Glenn Morris <rgm@gnu.org>
5409
5410 * mail/rmailout.el (rmail-output-read-file-name):
5411 Check rmail-output-file-alist against the full message body
5412 in the correct rmail buffer. (Bug#12214)
5413
5414 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
5415
5416 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
5417 Eliminate superfluous prompt. (Bug#12203)
5418
5419 2012-08-17 Chong Yidong <cyd@gnu.org>
5420
5421 * mouse.el (mouse-appearance-menu): If x-select-font returns a
5422 font spec, set the font directly (Bug#3228).
5423
5424 2012-08-17 Martin Rudalics <rudalics@gmx.at>
5425
5426 * window.el (delete-window): Fix last fix.
5427
5428 2012-08-16 Martin Rudalics <rudalics@gmx.at>
5429
5430 * window.el (window-valid-p): Move to window.c.
5431 (window-child, window-child-count, window-last-child)
5432 (window-normalize-window, window-combined-p)
5433 (window-combinations, window-atom-root, window-min-size)
5434 (window-sizable, window-sizable-p, window-size-fixed-p)
5435 (window-min-delta, window-max-delta, window--resizable)
5436 (window--resizable-p, window-resizable, window-total-size)
5437 (window-full-height-p, window-full-width-p, window-body-size)
5438 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
5439 (minimize-window, window-deletable-p, delete-window)
5440 (delete-other-windows, set-window-buffer-start-and-point)
5441 (next-buffer, previous-buffer, split-window, balance-windows-2)
5442 (set-window-text-height, window-buffer-height)
5443 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
5444 (truncated-partial-width-window-p): Minor code adjustments.
5445 In doc-strings state whether the argument window has to denote a
5446 live, valid or any window.
5447
5448 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
5449
5450 * progmodes/subword.el (subword-forward-function)
5451 (subword-backward-function, subword-forward-regexp)
5452 (subword-backward-regexp): New variables.
5453 (subword-forward, subword-forward-internal, subword-backward-internal):
5454 Use new variables, eg so that different "word" definitions
5455 can be easily used. (Bug#11411)
5456
5457 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5458
5459 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
5460 for composite selectors.
5461 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
5462 operation just because we can't find a previous revision.
5463
5464 2012-08-15 Chong Yidong <cyd@gnu.org>
5465
5466 * frame.el (set-frame-font): Accept font objects.
5467
5468 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5469
5470 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
5471
5472 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
5473
5474 * man.el (Man-overstrike-face, Man-underline-face)
5475 (Man-reverse-face): Remove variables.
5476 (Man-overstrike, Man-underline, Man-reverse): New faces.
5477 (Man-fontify-manpage): Use them instead of the variables.
5478 (Man-cleanup-manpage): Comment change.
5479 (Man-ansi-color-map): New variable.
5480 (Man-fontify-manpage): Use it.
5481 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
5482
5483 Implement ANSI SGR parameters 22-27 (bug#12146).
5484 * ansi-color.el (ansi-colors): Doc fix.
5485 (ansi-color-context, ansi-color-context-region): Doc fix.
5486 (ansi-color--find-face): New function.
5487 (ansi-color-apply, ansi-color-apply-on-region): Use it.
5488 Rename the local variable `face' to `codes' since it is now a list of
5489 ansi codes. Doc fix.
5490 (ansi-color-get-face): Remove.
5491 (ansi-color-parse-sequence): New function, derived from
5492 ansi-color-get-face.
5493 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
5494 codes 22-27.
5495
5496 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
5497
5498 * subr.el (read-passwd): Allow use from a minibuffer.
5499
5500 2012-08-14 Eli Zaretskii <eliz@gnu.org>
5501
5502 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
5503 inside comments and strings as identifiers.
5504
5505 * progmodes/gud.el (gud-tooltip-print-command): Quote the
5506 expression to evaluate. This allows to evaluate expressions with
5507 embedded whitespace.
5508 (gud-tooltip-tips): Add a blank before the newline in the
5509 message-box text, for the benefit of message-box emulation on
5510 MS-Windows.
5511
5512 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
5513 messages from GDB, pop them up in a tooltip to give feedback to
5514 user.
5515 (gdb-tooltip-print-1): Quote the expression to evaluate.
5516 This allows to evaluate expressions with embedded whitespace.
5517 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
5518 if the TTY name is nil or empty (which happens when communicating
5519 with the inferior via pipes, e.g. on MS-Windows).
5520 (gdb-internals): If GDB sends a "&\n" empty debugging message,
5521 don't send that to the GUD buffer.
5522
5523 2012-08-14 Glenn Morris <rgm@gnu.org>
5524
5525 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
5526 Optimize away setq-default with no args, as for setq. (Bug#12195)
5527
5528 2012-08-14 Chong Yidong <cyd@gnu.org>
5529
5530 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
5531
5532 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
5533 (Bug#12085).
5534
5535 2012-08-14 Glenn Morris <rgm@gnu.org>
5536
5537 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
5538
5539 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
5540
5541 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
5542 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5543 Use cached shell name.
5544
5545 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
5546
5547 * progmodes/python.el (python-shell-send-string):
5548 (python-shell-send-setup-code): Do not use `format' with `message'.
5549
5550 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
5551
5552 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
5553 (ruby-percent-literal-beg-re): New constant.
5554 (ruby-syntax-general-delimiters-goto-beg): Rename to
5555 `ruby-syntax-enclosing-percent-literal', improve literal type check.
5556 (ruby-syntax-propertize-general-delimiters): Rename to
5557 `ruby-syntax-propertize-percent-literal', it's a shorter and more
5558 popular term. Adjust comments everywhere.
5559 (ruby-syntax-propertize-percent-literal): Only propertize when not
5560 inside a simple string or comment. When the literal is unclosed,
5561 leave the text after it unpropertized.
5562 (ruby-syntax-methods-before-regexp): New constant.
5563 (ruby-syntax-propertize-function): Use it to recognize regexps.
5564 Don't look at the text after regexp, just use the whitelist.
5565
5566 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
5567
5568 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
5569 non-nil always load the compiled file if it exists. (Bug#12197)
5570
5571 2012-08-14 Chong Yidong <cyd@gnu.org>
5572
5573 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
5574 (hi-lock-set-pattern): When deciding whether to use font lock or
5575 overlays, look at font-lock-mode instead of font-lock-fontified
5576 (Bug#12168).
5577 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
5578 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
5579
5580 2012-08-14 Daiki Ueno <ueno@unixuser.org>
5581
5582 * subr.el (internal--after-with-selected-window): Fix typo
5583 (Bug#12193).
5584
5585 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
5586
5587 Use `completion-table-dynamic' for completion functions.
5588 * progmodes/python.el
5589 (python-shell-completion--do-completion-at-point)
5590 (python-shell-completion--get-completions):
5591 Remove functions.
5592 (python-shell-completion-complete-at-point): New function.
5593 (python-completion-complete-at-point): Use it.
5594
5595 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
5596
5597 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
5598 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
5599
5600 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5601
5602 * subr.el (function-get): Refine `autoload' arg so it can also
5603 autoload functions for gv.el (bug#12191).
5604 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
5605 autoloads macros.
5606
5607 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
5608 Prefer pcase-let over destructuring-bind.
5609 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
5610 Also, remove whitespace as we go, rather than after accumulating the
5611 various places.
5612
5613 * subr.el (internal--before-with-selected-window)
5614 (internal--after-with-selected-window): Fix typo seleted->selected.
5615 (with-selected-window): Adjust callers.
5616 Reported by Dmitry Gutov <dgutov@yandex.ru>.
5617
5618 2012-08-13 Bastien Guerry <bzg@gnu.org>
5619
5620 * window.el (special-display-popup-frame): Minor docstring
5621 enhancement. (Bug#12172)
5622
5623 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
5624
5625 * tar-mode.el (tar-header-data-end): Only ignore size for files of
5626 type 1-6.
5627 (tar-header-block-summarize, tar-get-descriptor): Handle pax
5628 extended headers.
5629
5630 * files.el (hack-local-variables-filter): Remove useless eval.
5631
5632 2012-08-13 Martin Rudalics <rudalics@gmx.at>
5633
5634 * subr.el (with-selected-window): Fix last change.
5635
5636 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5637
5638 * subr.el (internal--before-with-seleted-window)
5639 (internal--after-with-seleted-window): New functions.
5640 (with-selected-window): Use them, to replace dependency on
5641 tty-top-frame.
5642
5643 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
5644
5645 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
5646 binding for `newline'.
5647 (ruby-move-to-block): When moving backward, stop at block opening,
5648 not indentation.
5649 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
5650 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
5651 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
5652 `ruby-toggle-block'.
5653
5654 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5655
5656 * ibuffer.el (ibuffer-do-toggle-read-only):
5657 * dired.el (dired-toggle-read-only):
5658 * buff-menu.el (Buffer-menu-toggle-read-only):
5659 * bindings.el (mode-line-toggle-read-only):
5660 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
5661
5662 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
5663
5664 * descr-text.el (describe-char): Put the overlays over the
5665 "displayed as" character.
5666
5667 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
5668
5669 * calc/calc-units.el (math-default-units-table): Give an
5670 initial value.
5671 (math-put-default-units): Add options to put composite units and
5672 unit systems in the default units table.
5673 (calc-convert-units): Send composite units to
5674 `math-put-default-units' when appropriate.
5675
5676 2012-08-11 Glenn Morris <rgm@gnu.org>
5677
5678 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
5679
5680 * tutorial.el (help-with-tutorial):
5681 * emacs-lisp/copyright.el (copyright-update-directory):
5682 * emacs-lisp/autoload.el (autoload-find-generated-file)
5683 (autoload-find-file): Disable local eval: (for insurance).
5684
5685 * files.el (hack-local-variables-filter): If an eval: form is not
5686 known to be safe, and enable-local-variables is :safe, then ignore
5687 the form totally, as is done for non-eval forms. (Bug#12155)
5688 This is CVE-2012-3479.
5689
5690 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
5691
5692 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
5693 (rx-form): Simplify.
5694
5695 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
5696
5697 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
5698 ?, _, and : are symbol constituents, ! is not (but kinda should be).
5699 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
5700 (ruby-syntax-propertize-function): Adjust for changes in
5701 `ruby-syntax-propertize-heredoc'.
5702
5703 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
5704
5705 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
5706 binding (use `M-;' instead).
5707 (ruby-singleton-class-p): New function.
5708 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
5709
5710 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
5711
5712 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
5713
5714 2012-08-10 Chong Yidong <cyd@gnu.org>
5715
5716 * progmodes/python.el (python-shell-get-process-name): Don't mess
5717 with same-window-buffer-names.
5718
5719 * eshell/eshell.el (eshell-add-to-window-buffer-names)
5720 (eshell-remove-from-window-buffer-names): Make obsolete.
5721 (eshell-buffer-name, eshell-unload-hook): Don't use them.
5722 (eshell): Just use pop-to-buffer-same-window instead.
5723
5724 2012-08-10 Chong Yidong <cyd@gnu.org>
5725
5726 * bindings.el: Bind M-= back to count-words-region.
5727
5728 * simple.el (count-words-region): Accept a prefix arg for acting
5729 on the entire buffer.
5730 (count-words--buffer-message): New helper function.
5731
5732 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
5733
5734 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
5735 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
5736 (event-start, event-end): Use posn-at-point to return a more
5737 informative posn.
5738 (posnp): New function.
5739 * mouse.el (popup-menu-normalize-position): Use it.
5740
5741 2012-08-10 Masatake YAMATO <yamato@redhat.com>
5742
5743 * mouse.el (popup-menu-normalize-position): New function.
5744 (popup-menu): Use `popup-menu-normalize-position' to normalize
5745 the form for POSITION argument.
5746
5747 * term/x-win.el (x-menu-bar-open):
5748 Use the value returend from (posn-at-point) as position
5749 passed to `popup-menu'.
5750
5751 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
5752
5753 * calc/calccomp.el (math-compose-expr): Add extra argument
5754 indicating that parentheses should be put around products in
5755 denominators. Give multiplication precedence over division during
5756 composition.
5757
5758 2012-08-09 Chong Yidong <cyd@gnu.org>
5759
5760 * man.el (Man-switches, Man-sed-command, Man-awk-command)
5761 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
5762 (Man-untabify-command, manual-program): Convert to defcustom
5763 (Bug#10429).
5764
5765 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
5766
5767 * descr-text.el (describe-char): Don't insert extra newlines
5768 (Bug#10127).
5769
5770 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
5771 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
5772
5773 * align.el (align-region): Delete temporary markers (Bug#10047).
5774 Plus some code cleanups.
5775
5776 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
5777
5778 * progmodes/python.el (python-pdbtrack-tracked-buffer)
5779 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
5780 (python-shell-internal-last-output): Use make-local-variable
5781 instead of make-variable-buffer-local.
5782
5783 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
5784
5785 * progmodes/python.el: Enhancements to forward-sexp.
5786 (python-nav-forward-sexp): Rename from
5787 python-nav-forward-sexp-function.
5788 (python-nav--forward-sexp, python-nav--backward-sexp):
5789 New functions.
5790
5791 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
5792
5793 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
5794 modes and simplification modes.
5795
5796 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5797
5798 * delsel.el (delete-selection-pre-hook): Don't propagate the
5799 file-supersession signals (bug#12161).
5800
5801 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5802
5803 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
5804 (cl-map-extents): Add compatibility aliases (bug#12135).
5805
5806 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
5807
5808 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
5809 tests by `ignore-error'.
5810 (tramp-find-shell): Open also a new shell, when cache is already
5811 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
5812
5813 2012-08-08 Juri Linkov <juri@jurta.org>
5814
5815 * bookmark.el: Add `defaults' property to the bookmark record.
5816 (bookmark-current-buffer): Doc fix.
5817 (bookmark-make-record): Add `defaults' property with default values
5818 to the bookmark record.
5819 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
5820 with `bookmark-insert-current-bookmark'.
5821 (bookmark-set): Get `defaults' property from the bookmark record
5822 and use it in `read-from-minibuffer'.
5823 (bookmark-insert-current-bookmark): Remove function.
5824
5825 * info.el (Info-bookmark-make-record): Add `defaults' property
5826 with values of canonical Info node name, the current Info file
5827 name and the current Info node name. (Bug#12107)
5828
5829 2012-08-08 Juri Linkov <juri@jurta.org>
5830
5831 * files.el (basic-save-buffer): Use `buffer-name' as the default
5832 of `read-file-name' when buffer is not visiting a file (bug#12128).
5833
5834 2012-08-08 Juri Linkov <juri@jurta.org>
5835
5836 * info.el (Info-isearch-search): Doc fix.
5837 (Info-search): Change search-failed message from "initial node" to
5838 "end of node" (bug#12078).
5839 (Info-isearch-search): Change `isearch-string-state' to
5840 `isearch--state-string'.
5841
5842 2012-08-08 Glenn Morris <rgm@gnu.org>
5843
5844 * language/persian.el: Remove file.
5845 * language/misc-lang.el: Move unique part of persian.el here.
5846 * loadup.el: Remove language/persian.
5847
5848 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
5849
5850 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
5851
5852 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
5853
5854 * progmodes/python.el Fixed defsubst warning.
5855 (python-syntax-context) Rename from python-info-ppss-context.
5856 (python-syntax-context-type): Rename from
5857 python-info-ppss-context-type.
5858 (python-syntax-comment-or-string-p): Rename from
5859 python-info-ppss-comment-or-string-p.
5860
5861 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
5862
5863 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
5864
5865 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
5866
5867 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
5868 a defcustom that is quoted with backquote.
5869
5870 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
5871 Fix handling of interactive spec when the body uses return.
5872 (math-do-arg-check, math-define-function-body): Use backquote forms.
5873 * calc/calc-ext.el (math-defcache): Likewise.
5874 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
5875 * allout.el (allout-new-exposure): Likewise.
5876 * calc/calcalg2.el (math-tracing-integral): Likewise.
5877 * info.el (Info-last-menu-item): Likewise.
5878 * emulation/vip.el (vip-loop): Likewise.
5879 * textmodes/artist.el (artist-funcall): Likewise.
5880 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
5881 Construct menu-item directly.
5882
5883 * progmodes/autoconf.el (font-lock-syntactic-keywords):
5884 Don't declare.
5885
5886 2012-08-07 Chong Yidong <cyd@gnu.org>
5887
5888 * simple.el (deactivate-mark): Preserve text properties when
5889 saving the primary selection (Bug#8384).
5890
5891 2012-08-07 Kevin Ryde <user42@zip.com.au>
5892
5893 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
5894 (woman-parse-numeric-value): On a bad .IP line, issue a warning
5895 and continue processing (Bug#12110).
5896
5897 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
5898
5899 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
5900 syntax-propertize-function (bug#10095).
5901
5902 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
5903
5904 * help-fns.el (help-fns--key-bindings, help-fns--signature)
5905 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
5906 describe-function-1.
5907 (describe-function-1): Use them. Move compiler macro after sig.
5908 (help-fns--compiler-macro): Use function-get. Assume we're already in
5909 standard-output. Adjust layout to new call order.
5910
5911 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
5912 re-binding a symbol that has a symbol-macro (bug#12119).
5913
5914 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
5915
5916 * language/persian.el: New file. (Bug#11812)
5917 * loadup.el: Add language/persian.el.
5918
5919 2012-08-06 Chong Yidong <cyd@gnu.org>
5920
5921 * window.el (window--maybe-raise-frame): New function.
5922 (window--display-buffer): Split off from here.
5923 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5924 (display-buffer-pop-up-window, display-buffer-use-some-window):
5925 Obey an inhibit-switch-frame action alist entry.
5926 (display-buffer): Update doc.
5927
5928 * replace.el (occur-after-change-function): Avoid losing focus by
5929 using the inhibit-switch-frame display parameter (Bug#12139).
5930
5931 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
5932
5933 Make internal shell process buffer names start with space.
5934 * progmodes/python.el (python-shell-make-comint): Add optional
5935 argument INTERNAL.
5936 (run-python-internal): Use it.
5937 (python-shell-internal-get-or-create-process): Check for new
5938 internal buffer names.
5939
5940 2012-08-06 Glenn Morris <rgm@gnu.org>
5941
5942 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5943 Do less getting and setting of environment variables.
5944
5945 2012-08-05 Chong Yidong <cyd@gnu.org>
5946
5947 * proced.el (proced): Add substitution string to docstring to
5948 trigger autoloading of the proced library on C-h f (Bug#1768).
5949
5950 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5951 Don't show defvars which have no second argument (Bug#8638).
5952
5953 * imenu.el (imenu-generic-expression): Move documentation here
5954 from imenu--generic-function.
5955 (imenu--generic-function): Refer to imenu-generic-expression.
5956
5957 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
5958
5959 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
5960 indentation declaration.
5961 (viper-loop): Add indentation declaration (Bug#7025).
5962
5963 2012-08-05 Chong Yidong <cyd@gnu.org>
5964
5965 * help-fns.el (describe-variable): Add hyperlink for
5966 directory-local variables files. Improve buffer-local and
5967 permanent-local reporting; suggested by MON KEY (Bug#6644).
5968
5969 * help-mode.el (help-dir-local-var-def): New button type.
5970
5971 * files.el (kill-buffer-hook): Provide a defvar.
5972
5973 2012-08-05 Glenn Morris <rgm@gnu.org>
5974
5975 * eshell/esh-ext.el (eshell/addpath):
5976 Also update eshell-path-env. (Bug#12013)
5977
5978 2012-08-05 Chong Yidong <cyd@gnu.org>
5979
5980 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
5981
5982 * fringe.el (fringe-styles): Add docstring.
5983 (fringe--check-mode): New function.
5984 (set-fringe-mode, set-fringe-style): Use it.
5985 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
5986
5987 * files.el (set-auto-mode): Fix invalid setq call.
5988
5989 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5990
5991 * isearch.el: Misc simplification; use defstruct.
5992 (isearch-mode-map): Dense maps now work like sparse ones.
5993 (isearch--state): New defstruct.
5994 (isearch-string-state, isearch-message-state, isearch-point-state)
5995 (isearch-success-state, isearch-forward-state)
5996 (isearch-other-end-state, isearch-word-state, isearch-error-state)
5997 (isearch-wrapped-state, isearch-barrier-state)
5998 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
5999 replaced by defstruct's accessors.
6000 (isearch--set-state): Rename from isearch-top-state and change
6001 calling convention.
6002 (isearch-push-state): Use new isearch--get-state.
6003 (isearch-toggle-word): Disable regexp when enabling word.
6004 (isearch-message-prefix): Remove unused arg _c-q-hack.
6005 (isearch-message-suffix): Remove unused arg _ellipsis.
6006
6007 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
6008
6009 * simple.el (list-processes--refresh): For a server use :host or
6010 :local as the address.
6011 (list-processes): Doc fix.
6012
6013 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
6014
6015 * lisp/mpc.el: Support password in host argument.
6016 (mpc--proc-connect): Parse and use new password element.
6017 Set mpc-proc variable instead of returning process.
6018 (mpc-proc): Adjust accordingly.
6019
6020 2012-08-03 Eli Zaretskii <eliz@gnu.org>
6021
6022 * whitespace.el (whitespace-display-mappings): Use Unicode
6023 codepoints, instead of emacs-mule codepoints. See
6024 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
6025 for the details.
6026
6027 * files.el (file-truename): Don't skip symlink-chasing part on
6028 windows-nt. Incorporate the resolution of 8+3 short aliases on
6029 Windows into the loop that recursively chases symlinks.
6030 Compare directory and its parent case-insensitively on MS-Windows and
6031 MS-DOS.
6032
6033 2012-08-03 Chong Yidong <cyd@gnu.org>
6034
6035 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
6036
6037 * sort.el (sort-regexp-fields): Doc fix.
6038
6039 2012-08-03 Tassilo Horn <tsdh@gnu.org>
6040
6041 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
6042 labels regex position point at the expected place.
6043
6044 2012-08-03 MON KEY <monkey@sandpframing.com>
6045
6046 * net/imap.el (imap-interactive-login, imap-authenticate)
6047 (imap-mailbox-lsub, imap-mailbox-list)
6048 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
6049 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
6050 (imap-parse-response): Doc fix.
6051
6052 2012-08-03 João Távora <joaotavora@gmail.com>
6053
6054 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
6055 if sexp scanning does not move point (Bug#5734).
6056
6057 2012-08-02 Tassilo Horn <tsdh@gnu.org>
6058
6059 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
6060 Add listings, minted, and ctable packages.
6061 (reftex-label-alist-builtin): Move listings, minted, and ctable
6062 entries before LaTeX.
6063 (reftex-label-alist): Docfix.
6064
6065 2012-08-02 Bastien Guerry <bzg@gnu.org>
6066
6067 * replace.el (occur): Fix docstring (bug#12122).
6068
6069 2012-08-02 Glenn Morris <rgm@gnu.org>
6070
6071 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
6072
6073 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
6074
6075 Obsolete alias inactivate-current-input-method-function (Bug#10150).
6076 * international/mule-cmds.el: Create
6077 inactivate-current-input-method-function as an obsolete alias for
6078 deactivate-current-input-method-function. See Katsumi Yamaoka in
6079 <http://bugs.gnu.org/10150#46>.
6080
6081 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
6082
6083 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
6084 of nested `if's.
6085
6086 2012-08-01 Glenn Morris <rgm@gnu.org>
6087
6088 * progmodes/autoconf.el (autoconf-definition-regexp):
6089 Add AH_TEMPLATE, adjust submatch numbering.
6090 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
6091 (autoconf-current-defun-function): Update for above change.
6092 (autoconf-current-defun-function): First skip to end of current word.
6093
6094 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
6095
6096 * calendar/cal-html.el (cal-html-insert-agenda-days):
6097 Fix typo. (Bug#12018)
6098
6099 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
6100
6101 Shell processes: enhancements to startup and CEDET compatibility.
6102 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
6103 (python-shell-make-comint): accept-process-output at startup.
6104 (run-python-internal): Set inferior-python-mode-hook to nil.
6105 (python-shell-internal-get-or-create-process): call sit-for.
6106 (python-preoutput-result): Add obsolete alias.
6107 (python-shell-internal-send-string): Use it.
6108 (python-shell-send-setup-code): Remove call to
6109 accept-process-output.
6110
6111 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
6112
6113 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
6114 (Bug#12108)
6115
6116 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
6117
6118 * calc-mode.el (calc-basic-simplification-mode): Rename from
6119 `calc-limited-simplification-mode'.
6120 (calc-alg-simplification-mode): New function.
6121 (calc-set-simplify-mode): Adjust message.
6122
6123 * calc.el (calc-set-mode-line): Adjust mode line display for
6124 basic simplification mode.
6125
6126 * calc-help.el (calc-m-prefix-help): Update help message.
6127
6128 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
6129 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
6130
6131 2012-07-31 Bastien Guerry <bzg@gnu.org>
6132
6133 * man.el (man): Fix comment. (bug#12101)
6134
6135 2012-07-31 Martin Rudalics <rudalics@gmx.at>
6136
6137 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
6138 Don't return a non-nil value when no suitable buffer was found.
6139
6140 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
6141
6142 * progmodes/python.el (run-python-internal): Disable font lock for
6143 internal shells.
6144
6145 2012-07-30 Stefan Merten <smerten@oekonux.de>
6146
6147 * textmodes/rst.el: Silence `checkdoc-ispell'.
6148 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
6149 (rst-official-version, rst-official-cvs-rev)
6150 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
6151 (rst-mode-map): New key binding.
6152
6153 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
6154
6155 Update .PHONY listings in makefiles.
6156 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
6157 autoloads, update-subdirs, updates, bzr-update, update-authors,
6158 compile-onefile, compile-calc, backup-compiled-files,
6159 compile-after-backup, compile-one-process, mh-autoloads,
6160 bootstrap-clean, distclean, maintainer-clean.
6161
6162 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
6163
6164 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
6165 (calc-set-mode-line): Don't display "AlgSimp ".
6166
6167 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
6168 (calc-lim-simplify-mode): New function.
6169 (calc-set-simplify-mode): Default to 'alg.
6170 (calc-default-simplify-mode): Make algebraic simplifications
6171 the default.
6172
6173 * calc/calc-ext.el (calc-init-extensions): Remove binding for
6174 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
6175
6176 * calc/calc-help.el (calc-m-prefix-help): Change messages to
6177 indicate new simplification modes.
6178
6179 * calc/README: Mention new default simplification mode.
6180
6181 * calc/calc.el (math-normalize-error): New variable.
6182 (math-normalize): Set `math-normalize-error' to t
6183 when there's an error.
6184
6185 * calc/calc-alg.el (math-simplify): Don't simplify when
6186 `math-normalize' returns an error.
6187
6188 2012-07-29 Eli Zaretskii <eliz@gnu.org>
6189
6190 * international/mule-cmds.el (set-locale-environment): Revert last
6191 change, since display-graphic-p returns nil when this function is
6192 called during startup. Instead...
6193
6194 * term/w32console.el (terminal-init-w32console): ...setup the
6195 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
6196
6197 2012-07-29 Juri Linkov <juri@jurta.org>
6198
6199 * simple.el (goto-line): Don't display default line number in the
6200 prompt because it should be displayed by `read-number' (bug#9952).
6201 Add the current line number to the defaults of `goto-line' to
6202 allow its easier modification by users with `M-n' (bug#9201).
6203
6204 * subr.el (read-number): Support multiple default values like in
6205 other minibuffer reading functions. Replace `read' with
6206 `string-to-number' for consistency with `number-to-string'.
6207
6208 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
6209
6210 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
6211 * emulation/viper-init.el (viper-deactivate-input-method-action):
6212 Rename from viper-inactivate-input-method-action.
6213 (viper-deactivate-input-method):
6214 Rename from viper-inactivate-input-method.
6215 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
6216 * international/mule-cmds.el (deactivate-input-method):
6217 Rename from inactivate-input-method.
6218 Also run input-method-deactivate-hook.
6219 (deactivate-current-input-method-function):
6220 Rename from inactivate-current-input-method-function.
6221 (input-method-deactivate-hook): New hook.
6222 (input-method-inactivate-hook): Mark obsolete.
6223 (inactivate-input-method): Mark obsolete.
6224
6225 * international/quail.el (quail-activate):
6226 Also run quail-deactivate-hook.
6227 (quail-deactivate): Rename from quail-inactivate.
6228 * international/robin.el (robin-activate):
6229 Also run robin-deactivate-hook.
6230 (robin-deactivate): Rename from robin-inactivate.
6231
6232 2012-07-29 Chong Yidong <cyd@gnu.org>
6233
6234 * simple.el (indicate-copied-region): New function.
6235 (kill-ring-save): Split off from here.
6236
6237 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
6238 (kill-rectangle): Set deactivate-mark to t on read-only error.
6239
6240 * register.el (copy-to-register, copy-rectangle-to-register):
6241 Deactivate the mark, and use indicate-copied-region (Bug#10056).
6242 (append-to-register, prepend-to-register): Call indicate-copied-region.
6243
6244 2012-07-29 Juri Linkov <juri@jurta.org>
6245
6246 * simple.el (async-shell-command-buffer): New defcustom.
6247 (shell-command): Use it. (Bug#4719)
6248
6249 2012-07-28 Eli Zaretskii <eliz@gnu.org>
6250
6251 * international/mule-cmds.el (set-locale-environment): In a
6252 console session on MS-Windows, set up keyboard and terminal
6253 encoding from the OEM codepage, not the ANSI codepage.
6254 (Bug#12055)
6255
6256 2012-07-28 Chong Yidong <cyd@gnu.org>
6257
6258 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
6259 gdb-get-location.
6260
6261 2012-07-28 Leo Liu <sdl.web@gmail.com>
6262
6263 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
6264 the alist (bug#12029).
6265
6266 2012-07-28 Eli Zaretskii <eliz@gnu.org>
6267
6268 * makefile.w32-in (custom-deps, finder-data, updates, compile)
6269 (compile-always, compile-first)
6270 ($(lisp)/calendar/cal-loaddefs.el)
6271 ($(lisp)/calendar/diary-loaddefs.el)
6272 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
6273 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
6274 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
6275 instead of on update-subdirs.
6276 (bootstrap-clean): Delete $(lisp)/subdirs.el.
6277
6278 2012-07-28 Chong Yidong <cyd@gnu.org>
6279
6280 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
6281 directory if vc-deduce-backend returns nil (Bug#7350).
6282
6283 * simple.el (delete-trailing-lines): New option.
6284 (delete-trailing-whitespace): Obey it (Bug#11879).
6285
6286 2012-07-28 David Engster <deng@randomsample.de>
6287
6288 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
6289 Explanation of new 'symbol-qnames feature in doc-strings.
6290 (xml-maybe-do-ns): Return expanded names as plain symbols if
6291 'symbol-qnames was provided in XML-NS argument (Bug#11916).
6292 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
6293
6294 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
6295
6296 Consistent completion in inferior python with emacs -nw.
6297 * progmodes/python.el (inferior-python-mode): replace "<tab>"
6298 binding in inferior-python-mode-map with "\t".
6299 (python-shell-completion-complete-at-point)
6300 (python-completion-complete-at-point): Remove interactive spec.
6301
6302 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
6303
6304 * calc/calccomp.el (math-compose-expr): Undo previous change.
6305
6306 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
6307
6308 * progmodes/python.el (python-mode-map): Add keybinding for
6309 run-python.
6310 (python-shell-make-comint): Fix pop-to-buffer call.
6311 (run-python): Autoload. New arg SHOW.
6312 (python-shell-get-or-create-process): Do not pop python process
6313 buffer.
6314
6315 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
6316
6317 * notifications.el (notifications-on-action-signal)
6318 (notifications-on-closed-signal): Use also the bus address for the map.
6319 (notifications-notify, notifications-close-notification)
6320 (notifications-get-capabilities): Add optional argument BUS.
6321
6322 2012-07-27 Tassilo Horn <tsdh@gnu.org>
6323
6324 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
6325 Add support for the lstlisting and minted environments, and for the
6326 ctable macro.
6327 * textmodes/reftex.el (reftex-compile-variables): Also recognize
6328 labels written in keyvals syntax.
6329
6330 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
6331
6332 * calc/calccomp.el (math-compose-expr): Use parentheses when
6333 there is a product in the denominator of a fraction.
6334
6335 2012-07-26 Eli Zaretskii <eliz@gnu.org>
6336
6337 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
6338 ($(lisp)/calendar/diary-loaddefs.el)
6339 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
6340 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
6341 Fixes failures in parallel bootstrap because subdirs.el is being
6342 rewritten while the autoload files are built at the same time,
6343 which needs to load subdirs.el.
6344
6345 2012-07-26 Martin Rudalics <rudalics@gmx.at>
6346
6347 * mouse.el (popup-menu): Fix doc-string and re-indent code.
6348 (mouse-drag-line): Don't exit tracking when a switch-frame or
6349 switch-window event occurs (Bug#12006).
6350
6351 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6352
6353 * mouse.el (popup-menu): Fix last change.
6354
6355 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6356
6357 Autoload from Lisp with more care. Follow aliases when looking for
6358 function properties.
6359 * subr.el (autoloadp): New function.
6360 (symbol-file): Use it.
6361 (function-get): New function.
6362 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
6363 autoload-do-load.
6364 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
6365 (lisp-indent-function):
6366 * emacs-lisp/gv.el (gv-get):
6367 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
6368 * emacs-lisp/byte-opt.el (byte-optimize-form):
6369 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
6370 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
6371 Use function-get.
6372 * emacs-lisp/cl.el: Don't propagate function properties any more.
6373
6374 * speedbar.el (speedbar-add-localized-speedbar-support):
6375 * emacs-lisp/disass.el (disassemble-internal):
6376 * desktop.el (desktop-load-file):
6377 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
6378 (describe-function-1):
6379 * emacs-lisp/find-func.el (find-function-noselect):
6380 * emacs-lisp/elp.el (elp-instrument-function):
6381 * emacs-lisp/advice.el (ad-has-proper-definition):
6382 * apropos.el (apropos-safe-documentation, apropos-macrop):
6383 * emacs-lisp/debug.el (debug-on-entry):
6384 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
6385 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
6386 * calc/calc.el (name): Use autoloadp & autoload-do-load.
6387
6388 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
6389
6390 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
6391 function, not an obsolete variable (Bug#12046).
6392
6393 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
6394
6395 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
6396
6397 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
6398
6399 * emacs-lisp/pp.el (pp-display-expression): Select old selected
6400 window only if it is still live (Bug#12034).
6401
6402 2012-07-25 Martin Rudalics <rudalics@gmx.at>
6403
6404 * subr.el (redirect-frame-focus): Add advertised calling
6405 convention (Bug#12030).
6406
6407 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
6408
6409 Prefer typical American spelling for "acknowledgment".
6410 * vc/add-log.el (change-log-acknowledgment): Rename from
6411 change-log-acknowledgement, with an alias for the old name.
6412
6413 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
6414
6415 * calc-alg.el (math-simplify-divide): Don't cross multiply
6416 in an equation when the lhs is a variable.
6417
6418 2012-07-24 Julien Danjou <julien@danjou.info>
6419
6420 * net/netrc.el (netrc-find-service-number, netrc-store-data):
6421 Remove, unused.
6422
6423 2012-07-23 Eli Zaretskii <eliz@gnu.org>
6424
6425 * startup.el (command-line): Don't display an empty user name in
6426 the error message about non-existent home directory, when
6427 init-file-user was set to an empty string. See
6428 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
6429 for the details and context.
6430
6431 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
6432
6433 * ses.el (ses-cell-formula-aset): New macro.
6434 (ses-cell-references-aset): New macro.
6435 (ses-cell-p): New function.
6436 (ses-rename-cell): Do no longer rely on complex operations like
6437 ses-cell-set-formula or ses-set-cell to change the cell and handle
6438 the undo at the same time, but rather use lower level new macros
6439 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
6440 the undo directly. Refresh the mode line.
6441
6442 2012-07-21 Leo Liu <sdl.web@gmail.com>
6443
6444 * progmodes/cc-cmds.el (c-defun-name):
6445 Use match-string-no-properties instead for consistency.
6446
6447 2012-07-20 Leo Liu <sdl.web@gmail.com>
6448
6449 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
6450 (Bug#7879)
6451
6452 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
6453
6454 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
6455
6456 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
6457 * progmodes/bug-reference.el, misearch.el: Provide themselves
6458 (bug#11915).
6459
6460 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
6461 of narrowed buffer (bug#11966).
6462
6463 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
6464
6465 * ses.el (ses-rename-cell): Set new name also in reference list of
6466 cells of which the renamed cell depends.
6467
6468 2012-07-20 Masatake YAMATO <yamato@redhat.com>
6469
6470 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
6471 to check whether menu-bar is shown or not. If not shown,
6472 show the menu-bar as a popup menu instead of using tmm.
6473 * mouse.el (popup-menu): Accept `point' as `position' argument.
6474
6475 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
6476
6477 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
6478 up inside string symbol literal (bug#11923).
6479
6480 2012-07-20 Eli Zaretskii <eliz@gnu.org>
6481
6482 * startup.el (fancy-startup-text): Read the whole tutorial, not
6483 just its first 256 bytes. Prevents gibberish in display of the
6484 tutorial title.
6485
6486 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
6487
6488 Drop idle buffer compaction due to an absence of the
6489 proved efficiency.
6490 * compact.el: Remove.
6491
6492 2012-07-19 Sam Steingold <sds@gnu.org>
6493
6494 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
6495 vc-bzr-pull & vc-bzr-merge-branch.
6496 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
6497 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
6498 for consistency with compilation-error-regexp-alist.
6499 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
6500 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
6501 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
6502 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
6503
6504 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
6505
6506 * emacs-lisp/chart.el: Use lexical-binding.
6507 (chart-emacs-storage): Don't hardcode the list of entries.
6508
6509 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
6510
6511 Next round of tweaks caused by Fgarbage_collect changes.
6512 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
6513
6514 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
6515
6516 Compact buffers when idle.
6517 * compact.el: New file.
6518
6519 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
6520
6521 * subr.el (eventp): Presume that if it looks vaguely like an event,
6522 it's an event (bug#10190).
6523
6524 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
6525
6526 Enhancements to ppss related code (thanks Stefan).
6527 * progmodes/python.el (python-indent-context)
6528 (python-indent-calculate-indentation, python-indent-dedent-line)
6529 (python-indent-electric-colon, python-nav-forward-block)
6530 (python-mode-abbrev-table)
6531 (python-info-assignment-continuation-line-p): Simplify checks
6532 for ppss context.
6533 (python-info-continuation-line-p): Cleanup.
6534 (python-info-ppss-context): Do not catch 'quote.
6535 (python-info-ppss-context-type)
6536 (python-info-ppss-comment-or-string-p): Simplify.
6537
6538 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
6539
6540 * progmodes/python.el: Enhancements to eldoc support.
6541 (python-info-current-symbol): New function.
6542 (python-eldoc-at-point): Use python-info-current-symbol.
6543 (python-info-current-defun): Fix cornercase on first defun scan.
6544 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
6545 and signal error when no inferior python process is available.
6546
6547 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
6548
6549 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
6550 assume it's always t.
6551 (vc-git-registered): Remove caching, the function is only called
6552 once.
6553 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
6554
6555 2012-07-18 Chong Yidong <cyd@gnu.org>
6556
6557 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
6558
6559 * simple.el (count-words): Report on narrowing (Bug#9959).
6560
6561 * bindings.el: Bind M-= to count-words.
6562
6563 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
6564
6565 2012-07-18 Masatake YAMATO <yamato@redhat.com>
6566
6567 * progmodes/sh-script.el (sh-imenu-generic-expression):
6568 Capture a function with `function' keyword and without parentheses
6569 like "function FOO" (bug#11856).
6570
6571 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
6572
6573 * window.el (split-window-sensibly): Make WINDOW argument
6574 optional.
6575
6576 2012-07-18 Chong Yidong <cyd@gnu.org>
6577
6578 * subr.el (keyboard-translate): Doc fix (Bug#7261).
6579
6580 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
6581 and make C-x 8 RET exit isearch (Bug#11439).
6582
6583 * international/iso-transl.el: Move isearch-mode-map key
6584 definitions to isearch.el.
6585
6586 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
6587
6588 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
6589 (eieio-defclass): Use gv-define-setter when possible.
6590
6591 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
6592
6593 Reflect recent changes in Fgarbage_collect.
6594 * emacs-lisp/chart.el (chart-emacs-storage): Change to
6595 reflect new format of data returned by Fgarbage_collect.
6596
6597 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
6598
6599 New utility functions + python-info-ppss-context fix (Bug#11910).
6600 * progmodes/python.el (python-info-beginning-of-block-statement-p)
6601 (python-info-ppss-comment-or-string-p): New functions.
6602 (python-info-ppss-context): Small fix for string check.
6603
6604 2012-07-17 Juri Linkov <juri@jurta.org>
6605
6606 * dired-aux.el (dired-do-async-shell-command): Doc fix.
6607 (dired-do-async-shell-command): Don't add `*' at the end of the
6608 command (Bug#11815).
6609 (dired-do-shell-command): Doc fix.
6610 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
6611 Join the individual commands using either "&" or ";" as the
6612 separator depending on the values of these trailing characters.
6613 At the end re-add the trailing "&". (Bug#10598)
6614
6615 * simple.el (async-shell-command): Sync the interactive spec with
6616 `shell-command'. Doc fix.
6617 (shell-command): Doc fix.
6618
6619 2012-07-17 Juri Linkov <juri@jurta.org>
6620
6621 * descr-text.el (describe-char): Fix format args. (Bug#10129)
6622
6623 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
6624
6625 Final renames and doc fixes for movement commands (bug#11899).
6626 * progmodes/python.el (python-nav-beginning-of-statement):
6627 Rename from python-nav-statement-start.
6628 (python-nav-end-of-statement): Rename from
6629 python-nav-statement-end.
6630 (python-nav-beginning-of-block): Rename from
6631 python-nav-block-start.
6632 (python-nav-end-of-block): Rename from python-nav-block-end.
6633
6634 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
6635
6636 * progmodes/python.el (python-shell-send-string-no-output):
6637 Allow accept-process-output to quit, keeping shell process ready for
6638 future interactions (Bug#11868).
6639
6640 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
6641
6642 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
6643
6644 * emacs-lisp/elint.el (elint-find-args-in-code):
6645 Use help-function-arglist, so as to handle lexical byte-code.
6646
6647 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
6648 change (bug#11826).
6649
6650 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
6651
6652 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
6653 Avoid spuriously marking the buffer as modified because of c-is-sws.
6654
6655 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
6656 as not-a-comment (bug#11946).
6657
6658 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
6659 for uninterned vars.
6660
6661 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
6662 Use read-event since we don't really want to read chars but bytes.
6663
6664 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
6665 $$..$$ but also $..$ using regexps (bug#11953).
6666 Use tex-verbatim for \url and \path.
6667 (tex-font-lock-keywords): Define as defconst like the others.
6668 (tex-common-initialization): Don't use font-lock-syntax-table any more.
6669
6670 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
6671
6672 * international/mule-cmds.el (ucs-insert): Make it an obsolete
6673 alias for insert-char.
6674
6675 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
6676
6677 * progmodes/python.el: Simplified imenu implementation.
6678 (python-nav-jump-to-defun): Remove command.
6679 (python-mode-map): Use `imenu' instead.
6680 (python-nav-list-defun-positions-cache)
6681 (python-imenu-include-defun-type, python-imenu-make-tree)
6682 (python-imenu-subtree-root-label, python-imenu-index-alist):
6683 Remove vars.
6684 (python-nav-list-defun-positions, python-nav-read-defun)
6685 (python-imenu-tree-assoc, python-imenu-make-element-tree)
6686 (python-imenu-make-tree, python-imenu-create-index):
6687 Remove functions.
6688 (python-mode): Update to interact with imenu by setting
6689 `imenu-extract-index-name-function' only.
6690
6691 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
6692
6693 * progmodes/python.el: Enhancements to navigation commands.
6694 (python-nav-backward-sentence)
6695 (python-nav-forward-sentence): Remove.
6696 (python-nav-backward-statement, python-nav-forward-statement)
6697 (python-nav-statement-start, python-nav-statement-end)
6698 (python-nav-backward-block, python-nav-forward-block)
6699 (python-nav-block-start, python-nav-block-end)
6700 (python-nav-forward-sexp-function)
6701 (python-info-current-line-comment-p)
6702 (python-info-current-line-empty-p): New functions.
6703 (python-indent-context): Use `python-nav-statement-start'.
6704
6705 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
6706
6707 * eshell/em-ls.el (eshell/ls): Use `apply'.
6708
6709 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
6710 multi-hops, instead of Tramp internals.
6711
6712 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
6713
6714 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
6715 when F1 and F2 are located on different hosts.
6716
6717 2012-07-14 Chong Yidong <cyd@gnu.org>
6718
6719 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
6720 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
6721 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
6722 (xterm-mouse--read-event-sequence-1000)
6723 (xterm-mouse--read-event-sequence-1006): New functions. For old
6724 mouse protocol, handle M-mouse-X events correctly.
6725 (xterm-mouse-event): New arg specifying mouse protocol.
6726 (turn-on-xterm-mouse-tracking-on-terminal)
6727 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
6728 sequence to toggle extended coordinates on newer XTerms.
6729 This appears to be harmless on terminals which do not support this.
6730
6731 2012-07-14 Leo Liu <sdl.web@gmail.com>
6732
6733 Add fringe bitmap indicators for flymake. (Bug#11253)
6734 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
6735 (flymake-make-overlay): New arg BITMAP.
6736 (flymake-error-bitmap, flymake-warning-bitmap)
6737 (flymake-fringe-indicator-position): New user variables.
6738
6739 * fringe.el: New bitmap exclamation-mark.
6740
6741 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
6742
6743 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
6744 also (Bug#7879).
6745
6746 2012-07-14 Chong Yidong <cyd@gnu.org>
6747
6748 * electric.el (electric-pair-post-self-insert-function): Fix pair
6749 insertion in empty-region case (Bug#11520).
6750
6751 2012-07-14 Chong Yidong <cyd@gnu.org>
6752
6753 * bindings.el: Consolidate ctl-x-r-map bindings.
6754 Bind copy-rectangle-as-kill to C-x r w.
6755
6756 * rect.el, register.el: Move bindings to bindings.el.
6757
6758 2012-07-14 Reuben Thomas <rrt@sc3d.org>
6759
6760 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
6761
6762 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
6763
6764 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
6765
6766 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
6767
6768 * bindings.el (top): Use `mapc' instead of `mapcar'.
6769
6770 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
6771
6772 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
6773
6774 * progmodes/sql.el (sql-comint): Suppress the check for program on
6775 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
6776 (Bug#11908)
6777
6778 2012-07-13 Chong Yidong <cyd@gnu.org>
6779
6780 * bindings.el: Assign a non-nil permanent-local property to
6781 per-buffer variables which lack a default value (Bug#11930).
6782
6783 * help-fns.el (describe-variable): In the "automatically becomes
6784 local" notice, take note of permanent-local variables.
6785
6786 2012-07-13 Chong Yidong <cyd@gnu.org>
6787
6788 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
6789 to allow printing the message when called from Lisp.
6790
6791 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6792 Remove toggle-read-only.
6793
6794 * bs.el (bs-toggle-readonly):
6795 * buff-menu.el (Buffer-menu-toggle-read-only):
6796 Remove with-no-warnings around toggle-read-only.
6797
6798 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
6799 Remove with-no-warnings around toggle-read-only.
6800 (ffap-read-only, ffap-read-only-other-window)
6801 (ffap-read-only-other-frame): Callers changed.
6802
6803 * help-mode.el: Don't require view package.
6804 (help-mode-finish): Set buffer-read-only instead of calling
6805 toggle-read-only.
6806
6807 * bindings.el (mode-line-toggle-read-only):
6808 * dired.el (dired-toggle-read-only):
6809 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
6810 with non-nil second arg.
6811
6812 * emacs-lisp/eieio-custom.el (eieio-customize-object):
6813 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
6814 directly.
6815
6816 2012-07-12 Eli Zaretskii <eliz@gnu.org>
6817
6818 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
6819 not incf.
6820
6821 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
6822
6823 More CL cleanups and reduction of use of cl.el.
6824 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
6825 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
6826 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
6827 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
6828 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
6829 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
6830 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
6831 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
6832 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
6833 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
6834 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
6835 * eshell/em-cmpl.el, eshell/em-banner.el:
6836 * calendar/parse-time.el: Use cl-lib.
6837 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
6838 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
6839 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
6840 * term/ns-win.el, term.el, shell.el, ps-samp.el:
6841 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
6842 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
6843 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
6844 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
6845 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
6846 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
6847 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
6848 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
6849 `lambda' rather than with `quote'.
6850 (eshell-do-opt): Adjust accordingly.
6851 (eshell-process-option): Simplify.
6852 * eshell/esh-var.el:
6853 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
6854 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
6855 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
6856 to `pcase--dontcare'.
6857 * emacs-lisp/cl.el (labels): Mark obsolete.
6858 (cl--letf, letf): Move to cl-lib.
6859 (cl--letf*, letf*): Remove.
6860 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
6861 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
6862 (cl-progv): Rewrite.
6863 (cl--letf, cl-letf): Move from cl.el.
6864 (cl-letf*): New macro.
6865 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
6866
6867 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
6868
6869 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
6870
6871 2012-07-11 Chong Yidong <cyd@gnu.org>
6872
6873 * vc/log-edit.el (log-edit-vc-backend): New variable.
6874 (log-edit): Doc fix.
6875
6876 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
6877 argument of log-edit to set up all local variables.
6878 (vc-start-logentry): New optional arg specifying VC backend.
6879
6880 * vc/vc.el (vc-checkin): Use it.
6881 (vc-deduce-fileset): Handle Log Edit buffers.
6882 (vc-diff): Make first argument optional too.
6883
6884 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
6885
6886 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
6887
6888 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
6889 command, just in case. The function is not needed anymore.
6890 (eshell-external-command): Do not call `eshell-remote-command'.
6891
6892 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
6893
6894 Reduce use of (require 'cl).
6895 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
6896 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
6897 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
6898 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
6899 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
6900 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
6901 * battery.el, avoid.el, abbrev.el: Use cl-lib.
6902 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
6903 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
6904 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
6905 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
6906 * calculator.el, autorevert.el, apropos.el: Don't require CL.
6907 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
6908 (byte-compile-unfold-bcf, byte-compile-check-variable):
6909 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
6910 (byte-compile-nilconstp):
6911 * emacs-lisp/autoload.el (make-autoload): Use pcase.
6912 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
6913
6914 * emacs-lisp/gv.el (cond): Make it a valid place.
6915 (if): Simplify slightly.
6916
6917 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
6918 (pcase--self-quoting-p): New function.
6919 (pcase--u1): Use it.
6920
6921 2012-07-10 Glenn Morris <rgm@gnu.org>
6922
6923 * emacs-lisp/authors.el (authors-fixed-entries):
6924 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
6925
6926 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
6927
6928 Rename configure.in to configure.ac (Bug#11603).
6929 * emacs-lisp/authors.el (authors-canonical-file-name):
6930 * progmodes/autoconf.el (autoconf-mode):
6931 Prefer configure.ac to configure.in.
6932
6933 2012-07-08 Chong Yidong <cyd@gnu.org>
6934
6935 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
6936 Implement the mouse-1-click-follows-link handling properly.
6937
6938 * info.el (Info-link-keymap): Use follow-link mechanism for
6939 header-line links (Bug#374).
6940
6941 * simple.el (deactivate-mark): Do not set the primary selection
6942 if another program has acquired it (Bug#11772).
6943
6944 2012-07-07 Kevin Ryde <user42@zip.com.au>
6945
6946 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
6947 (woman-decode-region): Replace escaped-escapes without destroying
6948 bold or underline (Bug#11552).
6949 (woman2-process-escapes): Handle nofill regions (Bug#11591).
6950
6951 2012-07-07 Chong Yidong <cyd@gnu.org>
6952
6953 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
6954 (interprogram-cut-function, interprogram-paste-function):
6955 Mention that we typically mean the clipboard.
6956
6957 2012-07-06 Glenn Morris <rgm@gnu.org>
6958
6959 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
6960
6961 * files.el (toggle-read-only): Restrict message to interactive use.
6962
6963 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
6964
6965 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
6966
6967 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
6968
6969 2012-07-06 Glenn Morris <rgm@gnu.org>
6970
6971 * Makefile.in (compile-one-process): Rename from "recompile".
6972
6973 * Makefile.in (bzr-update): "compile" is the same as "recompile
6974 autoloads", but parallelizable, so use that instead.
6975
6976 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
6977
6978 * window.el (quit-window): Always restore window height when
6979 it's saved in quit-restore parameter (Bug#11810).
6980
6981 2012-07-06 Glenn Morris <rgm@gnu.org>
6982
6983 * simple.el (kill-whole-line): Doc tweak.
6984
6985 2012-07-06 Eli Zaretskii <eliz@gnu.org>
6986
6987 * files.el (file-relative-name): Compare file names
6988 case-insensitively if on MS-Windows or MS-DOS, or if
6989 read-file-name-completion-ignore-case is non-nil. Don't use
6990 case-fold-search for this purpose. (Bug#11827)
6991
6992 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
6993
6994 * calendar/cal-dst.el (calendar-current-time-zone):
6995 Return calendar-current-time-zone-cache if non-nil.
6996
6997 2012-07-17 Masatake YAMATO <yamato@redhat.com>
6998 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
6999
7000 * calendar/cal-dst.el (calendar-current-time-zone):
7001 Return calendar-current-time-zone-cache if non-nil.
7002
7003 2012-07-06 Glenn Morris <rgm@gnu.org>
7004
7005 * Makefile.in (cvs-update): Remove old alias.
7006
7007 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
7008
7009 Sync with Tramp 2.2.6-pre.
7010
7011 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
7012 compatible declaration.
7013
7014 * net/tramp-cmds.el (tramp-append-tramp-buffers):
7015 Protect `list-load-path-shadows' call.
7016
7017 * net/tramp-compat.el (top): Require packages, which aren't
7018 autoloaded anymore for XEmacs. Protect call of
7019 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
7020 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
7021 it hurts at least for SXEmacs.
7022 (tramp-compat-temporary-file-directory): In XEmacs, there is no
7023 standard-value for `temporary-file-directory'.
7024
7025 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
7026 Redirect stderr to /dev/null.
7027 (tramp-sh-handle-write-region): uid and gid can be floats.
7028 Reported by Russell Sim <russell.sim@gmail.com>.
7029 (tramp-sh-handle-vc-registered): Hide errors.
7030 (tramp-vc-file-name-handler): Use dummy results for `process-file'
7031 and `start-file-process'.
7032 (tramp-maybe-open-connection): Check also whether `non-essential'
7033 is bound.
7034
7035 2012-07-04 Chong Yidong <cyd@gnu.org>
7036
7037 * xml.el (xml--parse-buffer): Use xml-syntax-table.
7038 (xml-parse-tag): Likewise, and avoid changing entity tables.
7039 (xml-syntax-table): Define from scratch, making sure not to give
7040 x2000 and other Unicode spaces whitespace syntax, since those are
7041 not spaces in XML.
7042 (xml-parse-fragment): Delete unused function.
7043 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
7044 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
7045 (xml-entity-ref, xml-pe-reference-re)
7046 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
7047 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
7048 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
7049 (xml-entity-value-re): Use syntax references in regexps where
7050 possible; no need to define inside a let-binding.
7051 (xml-parse-dtd): Use xml-pe-reference-re.
7052 (xml-entity-or-char-ref-re): New defconst.
7053 (xml-parse-string, xml-substitute-special): Use it.
7054
7055 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7056
7057 * files.el (locate-dominating-file): Allow `name' to be a predicate.
7058 (find-file--read-only): New function.
7059 (find-file-read-only, find-file-read-only-other-window)
7060 (find-file-read-only-other-frame): Use it.
7061 (insert-file-contents-literally): Don't `fset'.
7062 (get-free-disk-space): Use locate-dominating-file.
7063
7064 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
7065 function is already compiled.
7066
7067 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
7068
7069 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
7070
7071 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
7072 files on the same host.
7073
7074 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
7075
7076 * help-fns.el (describe-function-1): Only call
7077 help-fns--autoloaded-p when we have a file name. (Bug#11848)
7078
7079 2012-07-03 Chong Yidong <cyd@gnu.org>
7080
7081 * xml.el: Protect parser against XML bombs.
7082 (xml-entity-expansion-limit): New variable.
7083 (xml-parse-string, xml-substitute-special): Use it.
7084 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
7085
7086 2012-07-03 Glenn Morris <rgm@gnu.org>
7087
7088 * progmodes/bug-reference.el (bug-reference-bug-regexp):
7089 Allow linking to specific messages in debbugs reports (eg 123#5).
7090
7091 2012-07-02 Chong Yidong <cyd@gnu.org>
7092
7093 * xml.el: Fix entity and character reference expansion, allowing
7094 them to expand into markup as per XML spec.
7095 (xml-default-ns): New variable.
7096 (xml-entity-alist): Use XML spec definitions for lt and amp.
7097 (xml-parse-region): Make first two arguments optional.
7098 Discard text properties.
7099 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
7100 All callers changed.
7101 (xml-parse-tag): Call xml-parse-tag-1. For backward
7102 compatibility, this function should not modify buffer contents.
7103 (xml-parse-tag-1): Fix opening-tag regexp.
7104 (xml-parse-string): Rewrite, handling entity and character
7105 references properly.
7106 (xml--entity-replacement-text): Signal an error if a parameter
7107 entity is undefined.
7108
7109 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
7110
7111 * comint.el (comint-output-filter): Filter out repeated prompts.
7112
7113 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
7114 and file-name-absolute-p.
7115 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
7116 internal calls.
7117
7118 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
7119
7120 Spelling fixes.
7121 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
7122 Rename from byte-compile--refiy-function. All uses changed.
7123
7124 2012-07-01 Chong Yidong <cyd@gnu.org>
7125
7126 * xml.el (xml--parse-buffer): New function. Move most of
7127 xml-parse-region here.
7128 (xml-parse-region): Copy region into a temporary buffer, since
7129 parameter entity substitution requires changing buffer contents.
7130 Use xml--parse-buffer.
7131 (xml-parse-file): Use xml--parse-buffer.
7132 (xml-parse-dtd): Make parameter entity substitution work right.
7133 Use proper regexps for ELEMENT declarations (Bug#7172).
7134
7135 2012-06-30 Glenn Morris <rgm@gnu.org>
7136
7137 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
7138
7139 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
7140 Remove outdated and unnecessary dbus declarations.
7141
7142 2012-06-30 Eli Zaretskii <eliz@gnu.org>
7143
7144 * emacs-lisp/timer.el (timer-until): Subtract results of
7145 float-time, instead of taking float-time of the result of
7146 time-subtract, since float-time signals an error for negative time
7147 arguments.
7148
7149 2012-06-30 Chong Yidong <cyd@gnu.org>
7150
7151 * xml.el (xml-*-re): Convert defvars into defconsts, and
7152 eval-and-compile them so eval-and-compile works on derivatives.
7153 (xml--entity-replacement-text): Use eval-and-comple.
7154
7155 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
7156
7157 * vc/vc-git.el (vc-git-registered): Use cache property
7158 `git-registered'.
7159 (vc-git-mode-line-string): Call `vc-working-revision' instead of
7160 `vc-git-working-revision' in order to benefit from the cache.
7161 (vc-git-root): Use cache property `git-root'. (Bug#11757)
7162
7163 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
7164
7165 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
7166 removed (likely outside Emacs). (Bug#11757)
7167
7168 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
7169
7170 * emacs-lisp/cl-lib.el: Require macroexp.
7171
7172 2012-06-30 Chong Yidong <cyd@gnu.org>
7173
7174 * xml.el: Implement XML parameter entities.
7175 (xml-parameter-entity-alist): New variable.
7176 (xml-parse-region, xml-parse-fragment): Preserve previous values
7177 of xml-entity-alist and xml-parameter-entity-alist, so that
7178 repeated calls on different documents do not change them.
7179 (xml-parse-tag): Fix doctype regexp.
7180 (xml--entity-replacement-text): New function.
7181 (xml-parse-dtd): Use it. Don't handle system entities; doing that
7182 properly requires url retrieval which is unimplemented.
7183 (xml-escape-string): Doc fix.
7184
7185 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
7186
7187 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
7188
7189 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
7190
7191 * fringe.el (fringe-mode): Doc fix.
7192
7193 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
7194
7195 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
7196 is non-nil.
7197 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
7198 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
7199
7200 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
7201
7202 * calendar/cal-dst.el (calendar-current-time-zone):
7203 Return calendar-current-time-zone-cache if non-nil.
7204
7205 2012-06-29 Masatake YAMATO <yamato@redhat.com>
7206
7207 * progmodes/which-func.el (which-func-format):
7208 Add mouse-face. (Bug#11698)
7209
7210 2012-06-29 Leo Liu <sdl.web@gmail.com>
7211
7212 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
7213
7214 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
7215
7216 * minibuffer.el (minibuffer-confirm-exit-commands):
7217 Add completion-at-point (bug#11725).
7218
7219 2012-06-29 Glenn Morris <rgm@gnu.org>
7220
7221 * progmodes/f90.el (f90-font-lock-keywords-2):
7222 Add some preprocessor elements. (Bug#10499)
7223
7224 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
7225
7226 * progmodes/cperl-mode.el (cperl-update-syntaxification):
7227 Use syntax-propertize (bug#11739).
7228
7229 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
7230
7231 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
7232
7233 2012-06-28 Julien Danjou <julien@danjou.info>
7234
7235 * term.el (term-handle-colors-array): Use a set of new faces to
7236 color the terminal. Also uses :inverse-video property.
7237 (term-default-fg-color): Set to nil by default, deprecate in favor
7238 of `term-face'.
7239 (term-default-bg-color): Set to nil by default, deprecate in favor
7240 of `term-face'.
7241 (term-current-face): Use `term-face' by default.
7242 (term-bold-attribute): Variable deleted.
7243
7244 2012-06-28 Glenn Morris <rgm@gnu.org>
7245
7246 * simple.el (completion-list-mode-finish):
7247 Don't use toggle-read-only. (Since completion-list-mode has
7248 a special mode-class, it wasn't doing anything extra anyway.)
7249
7250 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
7251
7252 Make inlining of other-mode interpreted functions work (bug#11799).
7253 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
7254 (byte-compile): Use it to fix compilation of lexical-binding closures.
7255 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
7256 function, if needed.
7257
7258 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7259
7260 * help-mode.el (help-make-xrefs): Don't just withstand
7261 cyclic-variable-indirection but any error in documentation-property.
7262
7263 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
7264 memory use.
7265 * bindings.el (bindings--define-key): New function.
7266 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
7267 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
7268 * bindings.el: Use it to purecopy define-key bindings.
7269
7270 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
7271
7272 * emacs-lisp/cl.el (flet): Mark obsolete.
7273 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
7274 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
7275 * progmodes/js.el (js-c-fill-paragraph):
7276 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
7277 (ebrowse-switch-member-buffer-to-derived-class):
7278 * play/5x5.el (5x5-solver): Use cl-flet.
7279
7280 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
7281 (cl--symbol-function): New macro.
7282 (cl--letf, cl--letf*): Use it.
7283
7284 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
7285 Strip "toggle-" if any.
7286
7287 2012-06-27 Glenn Morris <rgm@gnu.org>
7288
7289 * info.el (Info-default-directory-list): Move here from paths.el.
7290 * paths.el: Remove file, which is now empty.
7291 * loadup.el: No longer load "paths".
7292
7293 * custom.el (custom-initialize-delay): Doc fix.
7294
7295 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7296 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
7297 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
7298 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
7299 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
7300 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
7301 * eshell/eshell.el (eshell-defgroup): Remove alias.
7302
7303 2012-06-27 Chong Yidong <cyd@gnu.org>
7304
7305 * help.el (help-enable-auto-load): New variable.
7306
7307 * help-fns.el (help-fns--autoloaded-p): New function.
7308 (describe-function-1): Refer to a function as "autoloaded" if it
7309 was autoloaded at any time in the past. Perform autoloading if
7310 help-enable-auto-load is non-nil.
7311
7312 2012-06-26 Eli Zaretskii <eliz@gnu.org>
7313
7314 * makefile.w32-in (compile, compile-always): Depend on
7315 update-subdirs, not on subdirs.el. Otherwise, several different
7316 sub-targets of 'bootstrap' running in parallel could
7317 simultaneously write to subdirs.el, producing a garbled file.
7318
7319 2012-06-26 Sam Steingold <sds@gnu.org>
7320
7321 * files.el (file-name-base): New convenience function.
7322 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
7323 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
7324 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
7325 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
7326 * textmodes/ispell.el, textmodes/reftex-ref.el:
7327 * textmodes/tex-mode.el: Use it.
7328 Did not touch cedet and org because they are maintained elsewhere.
7329
7330 2012-06-26 Martin Rudalics <rudalics@gmx.at>
7331
7332 * calendar/calendar.el (calendar-exit): Don't try to delete or
7333 iconify last frame. See:
7334 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
7335
7336 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
7337
7338 * server.el (server-process-filter): Remember dir in the
7339 process's `server-client-directory' properties.
7340
7341 2012-06-24 Chong Yidong <cyd@gnu.org>
7342
7343 * xml.el (xml-parse-tag): Correctly handle comment embedded in
7344 non-tag text.
7345
7346 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
7347
7348 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
7349
7350 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
7351
7352 * help-fns.el (describe-variable): Don't croak when doc is not found.
7353 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
7354 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
7355 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
7356 * emacs-lisp/smie.el (smie-next-sexp): CSE.
7357 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
7358 ((lambda ..) ..).
7359 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
7360
7361 2012-06-23 Chong Yidong <cyd@gnu.org>
7362
7363 * info.el (Info-mouse-follow-link): Accept symbol values of
7364 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
7365 (Info-fontify-node): Use Info-link-keymap for all navigation
7366 buttons, with link-args property to perform the desired action.
7367 (Info-link-keymap): Doc fix.
7368 (Info-next-link-keymap, Info-prev-link-keymap)
7369 (Info-up-link-keymap): Delete now-unused keymaps.
7370
7371 2012-06-23 Chong Yidong <cyd@gnu.org>
7372
7373 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
7374
7375 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
7376 system abbrevs.
7377
7378 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
7379
7380 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
7381
7382 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
7383 (bug#11719).
7384
7385 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
7386 the requote function doesn't work properly (bug#11714).
7387
7388 2012-06-23 Glenn Morris <rgm@gnu.org>
7389
7390 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
7391
7392 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7393
7394 Further GV/CL cleanups.
7395 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
7396 gv-expander.
7397 (gv--defun-declaration): New function.
7398 (defun-declarations-alist): Use it.
7399 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
7400 (gv-place): Autoload.
7401 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
7402 original definition of dotimes and dolist.
7403 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
7404 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
7405 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
7406 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
7407 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
7408 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
7409 to the function's definition.
7410 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
7411 * window.el:
7412 * files.el:
7413 * faces.el:
7414 * env.el: Don't use CL.
7415
7416 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
7417
7418 Support higher-resolution time stamps (Bug#9000).
7419
7420 * calendar/time-date.el (with-decoded-time-value): New arg
7421 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
7422 (encode-time-value): New optional arg PICO. New type 3.
7423 (time-to-seconds) [!float-time]: Support the new picoseconds
7424 component if it's used.
7425 (seconds-to-time, time-subtract, time-add):
7426 Support ps-resolution time stamps as well.
7427
7428 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
7429 (timerp): Timer vectors now have length 9, not 8.
7430 (timer--time): Support new-style (4-part) time stamps.
7431 (timer-next-integral-multiple-of-time): Time stamps now have
7432 picosecond resolution, so take a bit more care about rounding.
7433 (timer-relative-time, timer-inc-time): New optional arg psecs.
7434 (timer-set-time-with-usecs): Set psecs to 0.
7435 (timer--activate): Check psecs component, too.
7436
7437 * proced.el (proced-time-lessp): Support ps-resolution stamps.
7438
7439 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7440
7441 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
7442 Move the non-essential binding to the post/pre-command-hook where it is
7443 more obviously correct.
7444
7445 * subr.el (read-passwd): Don't use a history at all.
7446 * savehist.el (savehist-save): Remove password saved accidentally
7447 because of the above bug.
7448
7449 2012-06-22 Bastien Guerry <bzg@gnu.org>
7450
7451 * files.el (toggle-read-only): Display a message telling whether
7452 the buffer is read-only or not (bug#11726).
7453
7454 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7455
7456 * emacs-lisp/gv.el: New file.
7457 * subr.el (push, pop): Extend to generalized variables.
7458 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
7459 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
7460 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
7461 gv-define-simple-setter, and gv-define-expander.
7462 Remove setf-methods defined in gv. Rename cl-setf -> setf.
7463 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
7464 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
7465 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
7466 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
7467 gv-letplace.
7468 (cl-defstruct): Don't define setf-method any more.
7469 * emacs-lisp/cl.el (flet): Don't autoload.
7470 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
7471 (define-setf-expander, defsetf, define-modify-macro)
7472 (cl-struct-setf-expander): Move from cl-lib.el.
7473 * emacs-lisp/syntax.el:
7474 * emacs-lisp/ewoc.el:
7475 * emacs-lisp/smie.el:
7476 * emacs-lisp/cconv.el:
7477 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
7478 (timer--time): Use gv-define-simple-setter.
7479 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
7480 to avoid coding-system problems in subr.el. Adjust all users.
7481 (macroexp--maxsize, macroexp-small-p): New functions.
7482 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
7483 * scroll-bar.el (scroll-bar-mode):
7484 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
7485 (normal-erase-is-backspace-mode): Don't use the `eq' place.
7486 * winner.el (winner-configuration, winner-make-point-alist)
7487 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
7488 * files.el (locate-file-completion-table): Avoid list*.
7489
7490 2012-06-22 Chong Yidong <cyd@gnu.org>
7491
7492 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
7493 (dired-create-files): Doc fix (Bug#11329).
7494 (dired-do-copy): Doc fix (Bug#11334).
7495 (dired-mark-read-string): Doc fix (Bug#11553).
7496
7497 * dired.el (dired-recursive-copies, dired-recursive-deletes):
7498 Doc fix (Bug#11326).
7499 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
7500 (dired-dwim-target): Doc fix.
7501
7502 * wdired.el (wdired-mode): Doc fix.
7503
7504 2012-06-22 Glenn Morris <rgm@gnu.org>
7505
7506 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
7507 (pcmpl-rpm-cache-stamp-file): New constant.
7508 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
7509 (pcmpl-rpm-packages): Optionally cache list of packages.
7510
7511 * pcmpl-rpm.el (pcmpl-rpm): New group.
7512 (pcmpl-rpm-query-options): New option.
7513 (pcmpl-rpm-packages): No need to inline it.
7514 Use pcmpl-rpm-query-options.
7515
7516 * calendar/calendar.el (calendar-in-read-only-buffer):
7517 Avoid some needless mode changes.
7518
7519 2012-06-21 Chong Yidong <cyd@gnu.org>
7520
7521 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
7522 (desktop-path): Remove . from the default value (Bug#10977).
7523 (desktop-read): Use user-emacs-directory if desktop-path is nil.
7524
7525 2012-06-20 Chong Yidong <cyd@gnu.org>
7526
7527 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
7528
7529 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
7530
7531 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
7532 (bug#11201).
7533
7534 2012-06-20 Chong Yidong <cyd@gnu.org>
7535
7536 * term.el (term-window-width): Handle the case of a missing right
7537 fringe (Bug#8837).
7538 (term-check-size): Use window-text-height (Bug#5445).
7539 (term-mode): Use define-derived-mode. Minor cleanups.
7540 Set font-lock-defaults (Bug#7692).
7541 (term-move-columns, term-insert-char, term-emulate-terminal)
7542 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
7543
7544 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
7545
7546 * net/ange-ftp.el (ange-ftp-get-passwd):
7547 Bind `enable-recursive-minibuffers'.
7548 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
7549
7550 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
7551
7552 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
7553
7554 2012-06-19 Glenn Morris <rgm@gnu.org>
7555
7556 * progmodes/python.el (python-mode): Derive from prog-mode.
7557
7558 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
7559
7560 * emulation/edt.el (edt-default-menu-bar-update-buffers)
7561 (edt-user-menu-bar-update-buffers): New functions.
7562 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
7563
7564 2012-06-19 Chong Yidong <cyd@gnu.org>
7565
7566 * subr.el (with-selected-window): Preserve the selected window's
7567 terminal's top-frame (Bug#4702).
7568
7569 * window.el (save-selected-window): Likewise.
7570
7571 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7572
7573 * progmodes/python.el (python-rx-constituents): Move backquote.
7574 (python-skeleton-define, python-define-auxiliary-skeleton):
7575 Use `declare'.
7576
7577 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
7578
7579 * minibuffer.el (read-file-name-default): Revert the patch from
7580 2012-06-17.
7581
7582 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7583
7584 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
7585 (pcase--u1, pcase--q1): Don't use apply-partially.
7586
7587 2012-06-18 Glenn Morris <rgm@gnu.org>
7588
7589 * progmodes/python.el (python-proc, python-buffer)
7590 (python-send-receive, python-send-string): Fix obsolete versions.
7591
7592 2012-06-18 Martin Rudalics <rudalics@gmx.at>
7593
7594 * window.el (special-display-p): Completely remove stringp
7595 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
7596
7597 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
7598
7599 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
7600
7601 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
7602
7603 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
7604 * net/tramp-sh.el (tramp-maybe-open-connection):
7605 Throw if `non-essential' is non-nil.
7606
7607 2012-06-17 Martin Rudalics <rudalics@gmx.at>
7608
7609 * window.el (special-display-p): Signal an error if BUFFER-NAME
7610 is not a string (Bug#11713).
7611
7612 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
7613
7614 * progmodes/python.el (python-info-beginning-of-backslash):
7615 Rename from python-info-beginning-of-backlash, as a spelling fix.
7616
7617 2012-06-17 Chong Yidong <cyd@gnu.org>
7618
7619 * term.el (term-emulate-terminal): If term-check-size is called,
7620 move point to the process mark without resetting point (Bug#4635).
7621
7622 2012-06-17 Glenn Morris <rgm@gnu.org>
7623
7624 * international/mule-cmds.el (mule-menu-keymap)
7625 (set-language-environment, set-locale-environment): Doc tweaks.
7626
7627 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
7628
7629 * cus-face.el (custom-face-attributes): Add wave-style underline
7630 attribute.
7631 * faces.el (set-face-attribute): Update docstring to describe
7632 wave-style underline attribute.
7633
7634 2012-06-16 Chong Yidong <cyd@gnu.org>
7635
7636 * term/xterm.el (terminal-init-xterm): Discard input before
7637 querying background mode (Bug#10959).
7638
7639 2012-06-16 Stefan Merten <smerten@oekonux.de>
7640
7641 * textmodes/rst.el: Added and corrected some comments.
7642 (rst-re-alist-def): Improve symbol syntax.
7643 (rst-mode-syntax-table): Correct syntax entries.
7644 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
7645 (rst-official-version, rst-official-cvs-rev): Update version
7646 information.
7647
7648 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
7649
7650 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
7651 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
7652
7653 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
7654
7655 * progmodes/python.el: New python.el merge.
7656 (python-guess-indent): Obsolete var.
7657 (python-indent-guess-indent-offset): New defcustom.
7658 (python-indent): Obsolete var.
7659 (python-indent-offset): New defcustom.
7660 (python-python-command, python-jython-command): Delete var.
7661 (python-shell-interpreter): New defcustom.
7662 (python-pdbtrack-do-tracking-p): Delete var.
7663 (python-pdbtrack-activate): New defcustom.
7664 (python-use-skeletons): Obsolete var.
7665 (python-skeleton-autoinsert): New defcustom.
7666 (inferior-python-filter-regexp, python-continuation-offset)
7667 (python-honour-comment-indentation, python-indent-string-contents)
7668 (python-jython-packages, python-mode-hook)
7669 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
7670 (python-shell-prompt-alist)
7671 (python-source-modes): Delete defcustoms.
7672 (python-check-buffer-name, python-eldoc-setup-code)
7673 (python-eldoc-string-code, python-ffap-setup-code)
7674 (python-ffap-string-code, python-fill-comment-function)
7675 (python-fill-decorator-function, python-fill-paren-function)
7676 (python-fill-string-function, python-imenu-include-defun-type)
7677 (python-imenu-make-tree, python-imenu-subtree-root-label)
7678 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
7679 (python-shell-compilation-regexp-alist)
7680 (python-shell-completion-module-string-code)
7681 (python-shell-completion-pdb-string-code)
7682 (python-shell-completion-setup-code)
7683 (python-shell-completion-string-code)
7684 (python-shell-enable-font-lock, python-shell-exec-path)
7685 (python-shell-extra-pythonpaths)
7686 (python-shell-internal-buffer-name, python-shell-interpreter-args)
7687 (python-shell-process-environment)
7688 (python-shell-prompt-block-regexp)
7689 (python-shell-prompt-output-regexp)
7690 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
7691 (python-shell-send-setup-max-wait, python-shell-setup-codes)
7692 (python-shell-virtualenv-path): New defcustoms.
7693 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
7694 (inferior-python-mode-syntax-table, python--prompt-regexp)
7695 (python-buffer, python-command python-python-command)
7696 (python-default-template, python-imports, python-indent-index)
7697 (python-indent-list, python-indent-list-length)
7698 (python-mode-running, python-pdbtrack-is-tracking-p)
7699 (python-preoutput-continuation, python-preoutput-leftover)
7700 (python-preoutput-result, python-preoutput-skip-next-prompt)
7701 (python-prev-dir/file, python-recursing)
7702 (python-saved-check-command, python-version-checked)
7703 (python-which-func-length-limit)
7704 (view-return-to-alist): Delete vars.
7705 (python-check-custom-command, python-dotty-syntax-table)
7706 (python-imenu-index-alist, python-indent-current-level)
7707 (python-indent-dedenters, python-indent-levels)
7708 (python-nav-beginning-of-defun-regexp)
7709 (python-nav-list-defun-positions-cache)
7710 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
7711 (python-shell-internal-buffer)
7712 (python-skeleton-available): New vars.
7713 (def-python-skeleton): Delete macro.
7714 (python-skeleton-define): New macro.
7715 (python-define-auxiliary-skeleton, python-rx): New macros.
7716 (python-insert-class): Delete command.
7717 (python-skeleton-class): New command.
7718 (python-insert-def): Delete command.
7719 (python-skeleton-def): New command.
7720 (python-insert-for): Delete command.
7721 (python-skeleton-for): New command.
7722 (python-insert-if): Delete command.
7723 (python-skeleton-if): New command.
7724 (python-insert-try/except, python-insert-try/finally): Delete commands.
7725 (python-skeleton-try): New command.
7726 (python-insert-while): Delete command.
7727 (python-skeleton-while): New command.
7728 (python-backspace): Delete command.
7729 (python-indent-dedent-line-backspace): New command.
7730 (python-electric-colon): Delete command.
7731 (python-indent-electric-colon): New command.
7732 (python-guess-indent): Delete command.
7733 (python-indent-guess-indent-offset): New command.
7734 (python-shift-left): Delete command.
7735 (python-indent-shift-left): New command.
7736 (python-shift-right): Delete command.
7737 (python-indent-shift-right): New command.
7738 (python-find-function): Delete command.
7739 (python-nav-jump-to-defun): New command.
7740 (python-next-statement): Delete command.
7741 (python-nav-forward-sentence): New command.
7742 (python-previous-statement): Delete command.
7743 (python-nav-backward-sentence): New command.
7744 (python-fill-paragraph): Delete command.
7745 (python-fill-paragraph-function): New command.
7746 (python-send-buffer): Delete command.
7747 (python-shell-send-buffer): New command.
7748 (python-send-defun): Delete command.
7749 (python-shell-send-defun): New command.
7750 (python-send-region, python-send-region-and-go): Delete commands.
7751 (python-shell-send-region)
7752 (python-shell-switch-to-shell): New commands.
7753 (python-send-string): Delete command.
7754 (python-shell-send-string): New command.
7755 (python-switch-to-python): Delete command.
7756 (python-shell-switch-to-shell): New command.
7757 (python-describe-symbol): Delete command.
7758 (python-eldoc-at-point): New command.
7759 (python--set-prompt-regexp, python-args-to-list)
7760 (python-after-info-look, python-check-version)
7761 (python-check-comint-prompt, python-find-imports)
7762 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
7763 (python-unload-function, python-expand-template)
7764 (python-maybe-jython, python-preoutput-filter)
7765 (python-pdbtrack-get-source-buffer)
7766 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
7767 (python-pdbtrack-toggle-stack-tracking)
7768 (python-pdbtrack-track-stack-file, python-initial-text)
7769 (python-first-word, python-comment-line-p, python-send-command)
7770 (python-setup-brm, python-sentinel, python-set-proc)
7771 (python-skip-out, python-input-filter, python-outdent-p)
7772 (python-outline-level, python-backslash-continuation-line-p)
7773 (python-end-of-block, python-end-of-statement, python-mark-block)
7774 (python-beginning-of-block, python-beginning-of-statement)
7775 (python-blank-line-p, python-beginning-of-string)
7776 (python-open-block-statement-p): Delete functions.
7777 (python-indent-line, python-indent-line-1): Delete functions.
7778 (python-indent-line): New function.
7779 (python-indentation-levels): Delete function.
7780 (python-indent-calculate-levels): New function.
7781 (python-proc): Delete function.
7782 (python-shell-get-process): New function.
7783 (python-send-receive): Delete function.
7784 (python-shell-send-string-no-output): New function.
7785 (python-module-path): Delete function.
7786 (python-ffap-module-path): New function.
7787 (python-completion-at-point)
7788 (python-symbol-completions): Delete functions.
7789 (python-completion-complete-at-point): New function.
7790 (python-load-file): Delete function.
7791 (python-shell-send-file): New function.
7792 (python-calculate-indentation): Delete function.
7793 (python-indent-calculate-indentation): New function.
7794 (python-skip-comments/blanks): Delete function.
7795 (python-util-forward-comment): New function.
7796 (python-continuation-line-p): Delete function.
7797 (python-info-continuation-line-p): New function.
7798 (python-which-func, python-current-defun): Delete function.
7799 (python-info-current-defun): New function.
7800 (python-beginning-of-defun): Delete function.
7801 (python-nav-beginning-of-defun): New function.
7802 (python-close-block-statement-p)
7803 (python-block-end-p): Delete function.
7804 (python-info-closing-block): New function.
7805 (python-comint-output-filter-function)
7806 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
7807 (python-fill-comment, python-fill-decorator, python-fill-paren)
7808 (python-fill-string, python-imenu-make-element-tree)
7809 (python-imenu-make-tree, python-imenu-tree-assoc)
7810 (python-indent-context, python-indent-dedent-line)
7811 (python-indent-line-function)
7812 (python-indent-post-self-insert-function)
7813 (python-indent-toggle-levels)
7814 (python-info-assignment-continuation-line-p)
7815 (python-info-beginning-of-backlash)
7816 (python-info-block-continuation-line-p)
7817 (python-info-closing-block-message)
7818 (python-info-line-ends-backslash-p)
7819 (python-info-looking-at-beginning-of-defun)
7820 (python-info-ppss-context, python-info-ppss-context-type)
7821 (python-nav-list-defun-positions, python-nav-read-defun)
7822 (python-nav-sentence-end, python-nav-sentence-start)
7823 (python-pdbtrack-comint-output-filter-function)
7824 (python-pdbtrack-set-tracked-buffer)
7825 (python-shell-calculate-exec-path)
7826 (python-shell-calculate-process-environment)
7827 (python-shell-completion--do-completion-at-point)
7828 (python-shell-completion--get-completions)
7829 (python-shell-completion-complete-at-point)
7830 (python-shell-completion-complete-or-indent)
7831 (python-shell-get-or-create-process)
7832 (python-shell-get-process-name)
7833 (python-shell-internal-get-or-create-process)
7834 (python-shell-internal-get-process-name)
7835 (python-shell-internal-send-string, python-shell-make-comint)
7836 (python-shell-parse-command, python-shell-send-setup-code)
7837 (python-skeleton-add-menu-items)
7838 (python-util-clone-local-variables, python-util-position)
7839 (run-python-internal, python-indentation-levels)
7840 (python-nav-beginning-of-defun)
7841 (python-completion-complete-at-point): New functions.
7842 (run-python): Change arguments. New API requirements.
7843
7844 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7845
7846 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
7847 (bug#11649).
7848
7849 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
7850 (macroexp--expand-all): Use it.
7851
7852 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
7853 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
7854 Use `cl-function' instead.
7855
7856 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
7857
7858 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
7859 Suggested by Stefan Monnier while discussing bug#11657.
7860
7861 2012-06-14 Sam Steingold <sds@gnu.org>
7862
7863 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
7864
7865 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
7866
7867 * play/doctor.el (doctor-doc): Remove parameter and use
7868 doctor-sent instead of sent.
7869 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
7870
7871 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7872
7873 * files.el: Require cl-lib.
7874 (file-name-non-special): Replace case -> cl-case.
7875
7876 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
7877
7878 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
7879 mapping from #' to function*.
7880
7881 2012-06-13 Chong Yidong <cyd@gnu.org>
7882
7883 * mouse.el (mouse-drag-track): Do not set the mark if the user
7884 releases the mouse without selecting anything (Bug#11588).
7885
7886 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7887
7888 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
7889 as well (bug#11646).
7890
7891 * loadup.el: Count byte-code functions as well.
7892
7893 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
7894 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
7895
7896 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
7897 (bug#11649). Add cl-defun and cl-defmacro.
7898
7899 2012-06-13 Drew Adams <drew.adams@oracle.com>
7900
7901 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
7902 Fix last change.
7903
7904 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
7905
7906 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
7907 Otherwise, it blocks in batch mode.
7908
7909 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
7910
7911 * help-mode.el (bookmark-make-record-default): Declare.
7912
7913 2012-06-13 Chong Yidong <cyd@gnu.org>
7914
7915 * emacs-lisp/package.el (list-packages): Compute a list of
7916 packages that are newly-available since the last list-packages
7917 invocation.
7918 (package-menu--new-package-list): New var.
7919 (package-menu--generate, package-menu--print-info)
7920 (package-menu--status-predicate, package-menu-mark-install):
7921 Handle new status label "new".
7922
7923 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7924
7925 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
7926 conversion to backquotes.
7927
7928 2012-06-12 Chong Yidong <cyd@gnu.org>
7929
7930 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
7931 Rename from gud-inhibit-global-bindings.
7932
7933 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
7934
7935 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
7936 hook from nxml-glyph-set-hook.
7937
7938 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
7939 declaration.
7940
7941 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
7942
7943 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
7944 Convert to defcustom.
7945
7946 2012-06-12 Drew Adams <drew.adams@oracle.com>
7947
7948 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
7949 New functions.
7950 (help-mode): Use them.
7951
7952 2012-06-11 Glenn Morris <rgm@gnu.org>
7953
7954 * progmodes/fortran.el (fortran-font-lock-keywords-3):
7955 Use preprocessor face for directives.
7956 (fortran-directive-re): Doc fix.
7957
7958 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7959
7960 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
7961 conversion to backquotes (bug#11652).
7962
7963 Fix compiler-expansion of CL's cXXr functions (bug#11673).
7964 * emacs-lisp/cl-lib.el (cl--defalias): New function.
7965 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
7966 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
7967 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
7968 (cl-ninth, cl-tenth): Mark them as inlinable.
7969 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
7970 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
7971 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
7972 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
7973 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
7974 (cl-list*, cl-adjoin): Don't put an autoload manually.
7975 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
7976 (cl--compiler-macro-list*): Add autoload cookie.
7977 (cl--compiler-macro-cXXr): New function.
7978
7979 * help-fns.el (help-fns--compiler-macro): New function extracted from
7980 describe-function-1; follow aliases and use `compiler-macro' property.
7981 (describe-function-1): Use it.
7982
7983 2012-06-11 Chong Yidong <cyd@gnu.org>
7984
7985 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
7986 is uninstalled, if imagemagick is installed.
7987
7988 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7989
7990 * emacs-lisp/cl-lib.el: Use lexical-binding.
7991 (cl-map-extents, cl-maclisp-member): Remove.
7992 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
7993 (cl--set-substring, cl--block-wrapper, cl--block-throw)
7994 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
7995 * emacs-lisp/cl-extra.el: Use lexical-binding.
7996 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
7997 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
7998 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
7999 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
8000 * emacs-lisp/cl-seq.el: Use lexical-binding.
8001 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
8002 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
8003 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
8004 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
8005 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
8006 CL's internals.
8007
8008 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
8009
8010 Sync with Tramp 2.2.6-pre.
8011
8012 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
8013 `print-length' and `print-level' to nil, in order to avoid
8014 truncation. Reported by Christopher Schmidt
8015 <christopher@ristopher.com>.
8016
8017 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
8018
8019 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
8020 New defmacro.
8021 (tramp-compat-copy-directory): Add optional argument
8022 COPY-CONTENTS. It is not handled yet.
8023
8024 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
8025 (tramp-ftp-file-name-p): Simplify.
8026
8027 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
8028 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
8029 connection vector.
8030
8031 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
8032 (tramp-methods): Do not use `tramp-password-end-of-line'.
8033 (tramp-completion-function-alist-putty): Handle UNIX case.
8034 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
8035 (tramp-do-file-attributes-with-stat)
8036 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
8037 gid as real numbers. They could run out of integer range on cygwin.
8038 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
8039 (tramp-sh-handle-expand-file-name): Handle hops.
8040 (tramp-open-connection-setup-interactive-shell):
8041 Use `tramp-cleanup'. Move check for busyboxes ...
8042 (tramp-find-shell): ... here. Simplify implementation.
8043 Set "remote-shell" property also for alternative shells.
8044 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
8045 If failing, a regular file would be written otherwise.
8046 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
8047 (tramp-find-inline-encoding): Cache the coding commands in the
8048 process cache. Apply test command on the remote side, if defined.
8049 (tramp-find-inline-compress): Cache the compress commands in the
8050 process cache.
8051 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
8052 when requested. Handle hops.
8053 (tramp-current-connection): New defvar.
8054 (tramp-maybe-open-connection): Use `tramp-cleanup'.
8055 Throw `suppress', if there was a failed connection shortly before.
8056 Handle user interrupt. (Bug#10187)
8057 (tramp-get-inline-compress, tramp-get-inline-coding):
8058 Read connection properties from the process cache.
8059
8060 * net/tramp-smb.el (tramp-smb-server-version)
8061 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
8062 New defconsts.
8063 (tramp-smb-prompt): Extend for powershell prompt.
8064 (tramp-smb-file-name-handler-alist): Add handlers for
8065 `process-file', `shell-command' and `start-file-process'.
8066 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
8067 (tramp-smb-winexe-shell-command-switch): New defcustoms.
8068 (tramp-smb-file-name-p): Simplify.
8069 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
8070 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
8071 (tramp-smb-shell-quote-argument): New defuns.
8072 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
8073 Implement using "tar". By this, time-stamps are preserved.
8074 (tramp-smb-handle-copy-file): Handle also the case of directories.
8075 (tramp-smb-do-file-attributes-with-stat)
8076 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
8077 Use `tramp-get-connection-buffer').
8078 (tramp-smb-handle-rename-file): Use "rename", when source and
8079 target are on the same share.
8080 (tramp-smb-maybe-open-connection): Handle wrong passwords.
8081 Use `tramp-smb-server-version'.
8082 (tramp-smb-wait-for-output): Remove prompt.
8083
8084 * net/tramp.el (top): Require 'cl.
8085 (tramp-methods, tramp-rsh-end-of-line):
8086 Remove `tramp-password-end-of-line' from docstring.
8087 (tramp-save-ad-hoc-proxies): New defcustom.
8088 (tramp-completion-function-alist): Adapt docstring.
8089 (tramp-default-password-end-of-line): Remove defcustom.
8090 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
8091 (tramp-user-regexp, tramp-file-name-regexp-unified)
8092 (tramp-file-name-regexp-url): Extend regexp by hop separator.
8093 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
8094 (tramp-remote-file-name-spec-regexp): New defconst.
8095 (tramp-file-name-structure): Extend structure for hops.
8096 (tramp-get-method-parameter): Move up.
8097 (tramp-file-name-p, tramp-dissect-file-name)
8098 (with-parsed-tramp-file-name): Handle hops.
8099 (tramp-file-name-hop): New defun.
8100 (tramp-make-tramp-file-name): New optional arg HOP.
8101 (tramp-message-show-progress-reporter-message): New defvar.
8102 (tramp-with-progress-reporter): Use it. We cannot use
8103 `tramp-message-show-message' here, because this suppresses also
8104 error buffers.
8105 (tramp-error-with-buffer): Suppress buffer view, if
8106 `tramp-message-show-message' is nil.
8107 Use `tramp-get-connection-buffer'.
8108 (tramp-cleanup): New defun.
8109 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
8110 (tramp-file-name-handler): If `debug-on-error' is set, propagate
8111 an error unchanged.
8112 (tramp-completion-handle-file-name-all-completions): Handle hops.
8113 Fix an error when called from ido.
8114 (tramp-completion-dissect-file-name): Use better local variable
8115 name. Add hop to the vector.
8116 (tramp-handle-insert-file-contents): Use progress-reporter for the
8117 whole scenario.
8118 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
8119 to `t'.
8120 (tramp-check-for-regexp): Simplify search.
8121 (tramp-enter-password): Remove it. Move implementation ...
8122 (tramp-action-password): ... here.
8123 (tramp-mode-string-to-int, tramp-local-host-p)
8124 (tramp-make-tramp-temp-file, tramp-read-passwd)
8125 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
8126 Set tramp-autoload cookie.
8127
8128 * net/trampver.el: Update release number.
8129
8130 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8131 Michael Albinus <michael.albinus@gmx.de>
8132
8133 * net/tramp.el (tramp-set-completion-function): Fix docstring.
8134 (tramp-parse-group, tramp-parse-file)
8135 (tramp-parse-shostkeys-sknownhosts): New defuns.
8136 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
8137 (tramp-parse-shosts-group, tramp-parse-sconfig)
8138 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
8139 (tramp-parse-sknownhosts, tramp-parse-hosts)
8140 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
8141 Use them.
8142 (tramp-parse-passwd-group, tramp-parse-netrc-group)
8143 (tramp-parse-putty-group): Don't narrow.
8144 (tramp-parse-putty): Make a loop.
8145 (tramp-file-name-handler): Catch the `suppress' signal.
8146
8147 2012-06-11 Chong Yidong <cyd@gnu.org>
8148
8149 * image.el (imagemagick-register-types): Put the ImageMagick entry
8150 at the end of image-type-file-name-regexps.
8151
8152 2012-06-11 Johan Bockgård <bojohan@gnu.org>
8153
8154 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
8155 (pcase, pcase-let*, pcase-dolist): Use them.
8156
8157 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8158
8159 * emacs-lisp/pcase.el (pcase--let*): New function.
8160 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
8161 (pcase--expand): Use macroexp-let².
8162
8163 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
8164
8165 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
8166 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
8167 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
8168 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
8169 * emacs-lisp/derived.el: Use pcase instead of `cl'.
8170 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
8171
8172 2012-06-10 Glenn Morris <rgm@gnu.org>
8173
8174 * mail/rmail.el (rmail-yank-current-message): Leave point at
8175 correct position. (Bug#11660)
8176
8177 2012-06-10 Chong Yidong <cyd@gnu.org>
8178
8179 * allout-widgets.el: Fix code header.
8180
8181 2012-06-10 Chong Yidong <cyd@gnu.org>
8182
8183 * cus-edit.el (customize-changed-options-previous-release):
8184 Bump to 24.1.
8185
8186 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
8187
8188 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
8189
8190 2012-06-09 Chong Yidong <cyd@gnu.org>
8191
8192 * ebuff-menu.el (electric-buffer-list): Preserve header line.
8193
8194 2012-06-09 Martin Rudalics <rudalics@gmx.at>
8195
8196 * window.el (special-display-popup-frame): Don't use
8197 window--display-buffer (Bug#11651).
8198
8199 2012-06-09 Eli Zaretskii <eliz@gnu.org>
8200
8201 Fix parallel builds: make sure loaddefs.el is not being written
8202 while Lisp files are compiled.
8203 (compile): Don't depend on 'mh-autoloads'.
8204 (compile-CMD, compile-SH): Depend on 'autoloads'.
8205 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
8206
8207 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
8208
8209 2012-06-09 Chong Yidong <cyd@gnu.org>
8210
8211 * face-remap.el (face-remap-add-relative, face-remap-set-base)
8212 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
8213 Doc fixes (Bug#11225).
8214
8215 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
8216
8217 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
8218 a function if there's a clear indication that it has a compiler-macro.
8219 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
8220 (macro-declarations-alist): Add arglist to declaration functions.
8221 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
8222 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
8223 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
8224 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
8225 Also add autoload to find the compiler macro.
8226 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
8227 (cl--compiler-macro-member, cl--compiler-macro-assoc)
8228 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
8229 (cl--compiler-macro-get): New functions, replacing calls to
8230 cl-define-compiler-macro.
8231 (cl-typep) [compiler-macro]: Use macroexp-let².
8232
8233 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
8234
8235 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
8236 string properly, fixes Bug#11473.
8237
8238 2012-06-08 Chong Yidong <cyd@gnu.org>
8239
8240 * faces.el (set-face-attribute): Doc fix.
8241 (modify-face): Don't use :bold and :italic.
8242 (error, warning, success): Tweak definitions.
8243
8244 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
8245 (custom-modified, custom-set, custom-changed, custom-themed)
8246 (custom-saved, custom-button, custom-button-mouse)
8247 (custom-button-pressed, custom-state, custom-comment-tag)
8248 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
8249 (custom-group-subtitle): Use new-style face specs.
8250 (custom-invalid-face, custom-rogue-face, custom-modified-face)
8251 (custom-set-face, custom-changed-face, custom-saved-face)
8252 (custom-button-face, custom-button-pressed-face)
8253 (custom-documentation-face, custom-state-face)
8254 (custom-comment-face, custom-comment-tag-face)
8255 (custom-variable-tag-face, custom-variable-button-face)
8256 (custom-face-tag-face, custom-group-tag-face-1)
8257 (custom-group-tag-face): Remove obsolete face alias.
8258
8259 * epa.el (epa-validity-high, epa-validity-medium)
8260 (epa-validity-low, epa-mark, epa-field-name, epa-string)
8261 (epa-field-name, epa-field-body):
8262 * font-lock.el (font-lock-comment-face, font-lock-string-face)
8263 (font-lock-keyword-face, font-lock-builtin-face)
8264 (font-lock-function-name-face, font-lock-variable-name-face)
8265 (font-lock-type-face, font-lock-constant-face):
8266 * ido.el (ido-first-match, ido-only-match, ido-subdir)
8267 (ido-virtual, ido-indicator, ido-incomplete-regexp):
8268 * speedbar.el (speedbar-button-face, speedbar-file-face)
8269 (speedbar-directory-face, speedbar-tag-face)
8270 (speedbar-selected-face, speedbar-highlight-face)
8271 (speedbar-separator-face):
8272 * whitespace.el (whitespace-newline, whitespace-space)
8273 (whitespace-hspace, whitespace-tab, whitespace-trailing)
8274 (whitespace-line, whitespace-space-before-tab)
8275 (whitespace-space-after-tab, whitespace-indentation)
8276 (whitespace-empty):
8277 * emulation/cua-base.el (cua-global-mark):
8278 * eshell/em-prompt.el (eshell-prompt):
8279 * net/newst-plainview.el (newsticker-new-item-face)
8280 (newsticker-old-item-face, newsticker-immortal-item-face)
8281 (newsticker-obsolete-item-face, newsticker-date-face)
8282 (newsticker-statistics-face, newsticker-default-face):
8283 * net/newst-reader.el (newsticker-feed-face)
8284 (newsticker-extra-face, newsticker-enclosure-face):
8285 * net/newst-treeview.el (newsticker-treeview-face)
8286 (newsticker-treeview-new-face, newsticker-treeview-old-face)
8287 (newsticker-treeview-immortal-face)
8288 (newsticker-treeview-obsolete-face)
8289 (newsticker-treeview-selection-face):
8290 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
8291 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
8292 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
8293 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
8294 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
8295 (nxml-outline-active-indicator, nxml-outline-ellipsis):
8296 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
8297 (mpuz-text):
8298 * progmodes/vera-mode.el (vera-font-lock-number)
8299 (vera-font-lock-function, vera-font-lock-interface):
8300 * textmodes/table.el (table-cell): Use new-style face specs, and
8301 don't use the old :bold and :italic attributes.
8302
8303 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
8304 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
8305 (ebrowse-member-class, ebrowse-progress): Likewise.
8306 (ebrowse-tree-mark-face, ebrowse-root-class-face)
8307 (ebrowse-file-name-face, ebrowse-default-face)
8308 (ebrowse-member-attribute-face, ebrowse-member-class-face)
8309 (ebrowse-progress-face): Remove obsolete faces.
8310
8311 * progmodes/flymake.el (flymake-errline, flymake-warnline):
8312 Inherit from error and warning faces respectively.
8313
8314 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
8315 Likewise.
8316 (flyspell-incorrect-face, flyspell-duplicate-face):
8317 Remove obsolete aliases.
8318
8319 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
8320
8321 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
8322 Avoid infloop.
8323
8324 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
8325
8326 * startup.el (argv, argi): Make lexically scoped.
8327 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
8328 * emacs-lisp/cl-macs.el: Use lexical-binding.
8329 Rename cl-bind-* to cl--bind-*.
8330 * files.el: Don't require `cl' since it doesn't use it.
8331 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
8332
8333 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
8334
8335 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
8336 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
8337 instead of calling external sort utility.
8338 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
8339
8340 2012-06-08 Eli Zaretskii <eliz@gnu.org>
8341
8342 * descr-text.el (describe-char): Mention how to insert the
8343 character, if the current input method doesn't support it.
8344 See the discussion in this thread for the details:
8345 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
8346
8347 2012-06-08 Sam Steingold <sds@gnu.org>
8348
8349 * bindings.el (global-map): Bind XF86Forward to next-buffer and
8350 XF86Back to previous-buffer.
8351 (minibuffer-local-map): Bind them to next-history-element and
8352 previous-history-element respectively.
8353 * help-mode.el (help-mode-map): Bind them to help-go-forward and
8354 help-go-back respectively.
8355 * info.el (Info-mode-map): Bind them to Info-history-forward and
8356 Info-history-back respectively.
8357 These are the keys next to Up on the ThinkPad keyboard.
8358
8359 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
8360
8361 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
8362 * emacs-lisp/cl-macs.el: Provide itself.
8363 (cl--labels-convert-cache): New var.
8364 (cl--labels-convert): New function.
8365 (cl-flet, cl-labels): New implementation with new semantics, relying on
8366 lexical-binding.
8367 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
8368 (cl-closure-vars, cl--function-convert-cache)
8369 (cl--function-convert): Move from cl-macs.el.
8370 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
8371 rename by removing the "cl-" prefix.
8372 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
8373
8374 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8375
8376 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
8377 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
8378 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
8379 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
8380 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
8381 (cl-hash-table-count): Add old compatibility aliases.
8382
8383 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
8384 Use macroexpand-all-environment instead.
8385 (cl--old-macroexpand): New var.
8386 (cl--sm-macroexpand): New function.
8387 (cl-symbol-macrolet): Use it during macro expansion.
8388 (cl--function-convert-cache): New var.
8389 (cl--function-convert): New function, extracted from
8390 cl-macroexpand-all.
8391 (cl-lexical-let): Use it.
8392
8393 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
8394 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
8395 (cl-member): Remove old alias.
8396
8397 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
8398 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
8399 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
8400 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
8401 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
8402 (cl-macroexpand-cmacs): Remove var.
8403 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
8404 Use macroexpand-all instead.
8405
8406 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8407
8408 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
8409 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
8410 (macroexp-copyable-p): New functions and macros.
8411 * emacs-lisp/edebug.el (edebug-unwrap):
8412 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
8413 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
8414 (pcase--let*): Remove.
8415 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
8416 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
8417 macroexp-const-p instead.
8418 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
8419
8420 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
8421 instead of "cl-" for internal definitions. Use macroexp-const-p.
8422 (cl-old-bc-file-form): Remove var.
8423 (cl-const-exprs-p): Remove fun.
8424 (cl-labels, cl-macrolet): Use backquote.
8425 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
8426 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
8427 (cl-define-setf-expander): Rename from cl-define-setf-method.
8428 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
8429
8430 * international/mule-cmds.el: Don't require CL.
8431 (view-hello-file): Don't use `letf'.
8432
8433 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8434
8435 * tmm.el (tmm-prompt): Use string-prefix-p.
8436 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
8437 (tmm-add-prompt): Use minibuffer-completion-help.
8438 (tmm-delete-map): Remove.
8439
8440 * subr.el (kbd): Make it its own function.
8441
8442 2012-06-07 Stefan Merten <smerten@oekonux.de>
8443
8444 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
8445 Silence compiler warnings. Fix versions.
8446 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
8447 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
8448 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
8449 (rst-package-emacs-version-alist): Correct Emacs version to
8450 represent major merge with upstream.
8451 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
8452
8453 2012-06-06 Glenn Morris <rgm@gnu.org>
8454
8455 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
8456 Only print environment variables if set.
8457
8458 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
8459
8460 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
8461 (macroexp--cons): Rename from maybe-cons.
8462 (macroexp--accumulate): Rename from macroexp-accumulate.
8463 (macroexp--all-forms): Rename from macroexpand-all-forms.
8464 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
8465 (macroexp--expand-all): Rename from macroexpand-all-1.
8466
8467 2012-06-06 Sam Steingold <sds@gnu.org>
8468
8469 * calendar/calendar.el (calendar-in-read-only-buffer):
8470 Call `special-mode' to enable the standard read-only keybindings.
8471
8472 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
8473
8474 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
8475 with "loading" messages (bug#11635).
8476
8477 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
8478
8479 * files.el (enable-remote-dir-locals): New option.
8480 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
8481
8482 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
8483 Ensure, that the temp directory is local.
8484
8485 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
8486 `temporary-file-directory'.
8487
8488 * progmodes/python.el (python-send-region): Ensure, that the
8489 temporary file is created also in the remote case.
8490
8491 2012-06-06 Glenn Morris <rgm@gnu.org>
8492
8493 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
8494 (vc-rcs-update-changelog): Use it.
8495
8496 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
8497
8498 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
8499 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
8500 (vc-sccs-diff): Replace use of the external vcdiff script.
8501
8502 2012-06-05 Glenn Morris <rgm@gnu.org>
8503
8504 * ledit.el: Move to obsolete/.
8505
8506 2012-06-05 Sam Steingold <sds@gnu.org>
8507
8508 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
8509 patch (Bug#11140).
8510
8511 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8512
8513 * emacs-lisp/cust-print.el: Move to obsolete.
8514
8515 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
8516 compiler-macro expansion.
8517
8518 Add native compiler-macro support.
8519 * emacs-lisp/macroexp.el (macroexpand-all-1):
8520 Support compiler-macros directly. Properly follow aliases and apply
8521 the compiler macros more thoroughly.
8522 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
8523 macroexpand now properly follows aliases.
8524 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
8525 (cl-compiler-macroexpand): Use new prop.
8526 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
8527
8528 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
8529
8530 2012-06-05 Martin Rudalics <rudalics@gmx.at>
8531
8532 * window.el (get-lru-window, get-mru-window, get-largest-window):
8533 New argument NOT-SELECTED to avoid picking the selected window.
8534 (window--display-buffer-1, window--display-buffer-2): Replace by
8535 new function window--display-buffer
8536 (display-buffer-same-window, display-buffer-reuse-window)
8537 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8538 Use window--display-buffer.
8539 (display-buffer-use-some-window): Remove temporary dedication
8540 hack by calling get-lru-window and get-largest-window with
8541 NOT-SELECTED argument non-nil. Call window--display-buffer.
8542
8543 2012-06-05 Glenn Morris <rgm@gnu.org>
8544
8545 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
8546 Replace external vcdiff script.
8547
8548 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
8549
8550 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
8551
8552 2012-06-04 Chong Yidong <cyd@gnu.org>
8553
8554 * image.el (imagemagick-types-inhibit): Revert last change.
8555 Add INFO and M.
8556 (imagemagick-enabled-types): Remove CIN and EPS*.
8557
8558 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
8559
8560 * emacs-lisp/cl-lib.el: Rename from cl.el.
8561 * emacs-lisp/cl.el: New compatibility file.
8562 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
8563 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
8564 to obey the "cl-" prefix.
8565 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
8566
8567 2012-06-03 Glenn Morris <rgm@gnu.org>
8568
8569 * emacs-lisp/authors.el (authors-aliases): Addition.
8570
8571 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
8572 Fix :version.
8573
8574 2012-06-03 Stefan Merten <smerten@oekonux.de>
8575
8576 * textmodes/rst.el: Add comments.
8577 (rst-transition, rst-adornment): New faces.
8578 (rst-adornment-faces-alist): Make default safe to reevaluate.
8579 Fixes
8580 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
8581 Improve customization tags.
8582 (rst-define-level-faces): Clarify meaning.
8583
8584 2012-06-03 Chong Yidong <cyd@gnu.org>
8585
8586 * progmodes/compile.el (compilation-mode-line-fail)
8587 (compilation-mode-line-run, compilation-mode-line-exit):
8588 New faces.
8589 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
8590
8591 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
8592
8593 * progmodes/which-func.el (which-func-update-ediff-windows):
8594 New function. Use it in ediff-select-hook (Bug#11478).
8595
8596 2012-06-03 Chong Yidong <cyd@gnu.org>
8597
8598 * bindings.el: Remove explicit help text from format-mode-line.
8599 It is now supplied by mode-line-default-help-echo.
8600 (mode-line-front-space, mode-line-end-spaces)
8601 (mode-line-misc-info): New variables.
8602 (mode-line-modes, mode-line-position): Move the default value to
8603 the variable definition.
8604 (mode-line-default-help-echo): New defcustom.
8605 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
8606 (mode-line-modified-help-echo): New functions.
8607 (mode-line-mule-info, mode-line-modified): Use them.
8608 (mode-line-eol-desc, propertized-buffer-identification):
8609 Consistency fixes for help text.
8610 (mode-line-coding-system-map): Allow using mouse-3 to invoke
8611 set-buffer-file-coding-system (Bug#289).
8612 (mode-line-mule-info-help-echo): Update help text.
8613
8614 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8615
8616 * simple.el (execute-extended-command): Set real-this-command
8617 (bug#11506).
8618
8619 2012-06-02 Chong Yidong <cyd@gnu.org>
8620
8621 Remove incorrect uses of "modeline" in comments, docstrings, and
8622 function/variable names (Bug#10329).
8623
8624 * cus-edit.el (mode-line):
8625 * dframe.el (dframe-mouse-hscroll):
8626 * emacs-lisp/re-builder.el:
8627 * emacs-lisp/easy-mmode.el (define-minor-mode):
8628 * frame.el (set-frame-name):
8629 * help.el (lookup-minor-mode-from-indicator):
8630 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
8631 * progmodes/cc-cmds.el (c-toggle-auto-newline)
8632 (c-toggle-hungry-state):
8633 * progmodes/antlr-mode.el (antlr-language-alist):
8634 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
8635 * progmodes/vhdl-mode.el (vhdl-mode):
8636 * progmodes/which-func.el (which-func, which-func-cleanup-function):
8637 * term/ns-win.el (ns-face-at-pos):
8638 * term/sup-mouse.el (sup-mouse-report):
8639 * textmodes/flyspell.el (flyspell-mode-line-string):
8640 * textmodes/ispell.el (ispell-highlight-face):
8641 * textmodes/reftex-global.el:
8642 * vc/vc-arch.el (vc-arch-mode-line-string):
8643 * vc/vc-cvs.el (vc-cvs-mode-line-string):
8644 * vc/vc-git.el (vc-git-mode-line-string):
8645 * vc/vc-hooks.el (vc-display-status)
8646 (vc-default-mode-line-string):
8647 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
8648
8649 * ansi-color.el (ansi-color-faces-vector): Change default faces.
8650
8651 * dired.el (dired-sort-set-mode-line): Rename from
8652 dired-sort-set-modeline. All callers changed.
8653
8654 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
8655 eshell-status-in-modeline.
8656
8657 * foldout.el (foldout-mode-line-string): Rename from
8658 foldout-modeline-string. All callers changed.
8659 (foldout-update-mode-line): Rename from foldout-update-modeline.
8660
8661 * subr.el (redraw-modeline): Make into obsolete alias.
8662
8663 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
8664 timeclock-modeline-display. Make old name an alias.
8665 (timeclock-update-mode-line): Likewise. All callers changed.
8666 (timeclock-mode-line-display): No need to check before using
8667 add-hook.
8668 (timeclock-relative, timeclock-day-over-hook)
8669 (timeclock-use-elapsed, timeclock-mode-string)
8670 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
8671
8672 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
8673 crisp-mode-modeline-string.
8674
8675 * play/solitaire.el (solitaire-build-mode-line): Rename from
8676 solitaire-build-modeline. All callers changed.
8677
8678 * play/zone.el (zone-hiding-mode-line): Rename from
8679 zone-hiding-modeline. All callers changed.
8680 (zone): Remove unusued `modeline-hidden-level' property.
8681
8682 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
8683 xscheme-modeline-initialize. All callers changed.
8684
8685 * strokes.el (strokes-lighter): Rename from
8686 strokes-modeline-string.
8687
8688 * textmodes/sgml-mode.el (html-face-tag-alist)
8689 (html-tag-face-alist): Use mode-line face instead of obsolete
8690 alias modeline.
8691
8692 2012-06-02 Stefan Merten <smerten@oekonux.de>
8693
8694 * textmodes/rst.el: Always require `cl'.
8695 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
8696
8697 2012-06-02 Chong Yidong <cyd@gnu.org>
8698
8699 * image.el (imagemagick-enabled-types): Rename from
8700 imagemagick-types-enable. Add many more types.
8701 (imagemagick-types-inhibit): Change default to nil.
8702 (imagemagick-filter-types): Caller changed.
8703
8704 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8705
8706 * emacs-lisp/cl-macs.el: Use backquotes.
8707 (cl-transform-function-property): Use eval-and-compile rather than
8708 abusing `require'.
8709 (defstruct): Use declare-function instead of with-no-warnings.
8710
8711 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
8712 (byte-compile-output-docform): Re-add the print-circle bindings.
8713 (byte-compile-fix-header): Use #$ just because it's shorter.
8714 (byte-compile-output-file-form): Remove defun/defmacro.
8715
8716 2012-06-01 Martin Rudalics <rudalics@gmx.at>
8717
8718 * simple.el (choose-completion): Remove now obsolete binding for
8719 owindow.
8720
8721 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
8722
8723 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
8724 in order to avoid "Stack overflow in regexp matcher".
8725
8726 2012-05-31 Glenn Morris <rgm@gnu.org>
8727
8728 * image.el: For clarity, call imagemagick-register-types at
8729 top-level, rather than relying on a custom :initialize.
8730 (imagemagick-types-enable): New option. (Bug#11557)
8731 (imagemagick-filter-types): New function. (Bug#7406)
8732 (imagemagick-register-types): Use imagemagick-filter-types.
8733 If disabling support, remove elements altogether rather
8734 than using an impossible regexp.
8735 (imagemagick-types-inhibit): Give it the default init function.
8736
8737 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8738
8739 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
8740 Handle arbitrary file name lengths (Bug#11585).
8741
8742 2012-05-31 Martin Rudalics <rudalics@gmx.at>
8743
8744 * desktop.el (desktop-read): Clear previous and next buffers for
8745 all windows and bury *Messages* buffer (bug#11556).
8746
8747 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8748
8749 Add `declare' for `defun'. Align `defmacro's with it.
8750 * emacs-lisp/easy-mmode.el (define-minor-mode)
8751 (define-globalized-minor-mode): Don't autoload the var definitions.
8752 * emacs-lisp/byte-run.el: Use lexical-binding.
8753 (defun-declarations-alist, macro-declarations-alist): New vars.
8754 (defmacro, defun): Use them.
8755 (make-obsolete, define-obsolete-function-alias)
8756 (make-obsolete-variable, define-obsolete-variable-alias):
8757 Use `declare'.
8758 (macro-declaration-function): Mark obsolete.
8759 * emacs-lisp/autoload.el: Use lexical-binding.
8760 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
8761
8762 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8763
8764 * textmodes/ispell.el (ispell-with-no-warnings):
8765 Define as a macro.
8766 (ispell-kill-ispell, ispell-change-dictionary):
8767 Use `called-interactively-p' for Emacs instead of obsolete
8768 `interactive-p'.
8769
8770 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8771
8772 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
8773 (macro-declaration-function): Move var from C code.
8774 (macro-declaration-function): Define function with defalias.
8775 * emacs-lisp/macroexp.el (macroexpand-all-1):
8776 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
8777 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
8778 defun/defmacro any more.
8779 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
8780 Provide fallback for unknown arglist.
8781 (byte-compile-arglist-warn): Change calling convention.
8782 (byte-compile-output-file-form): Move print-vars binding.
8783 (byte-compile-output-docform): Simplify accordingly.
8784 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
8785 (byte-compile-defmacro-declaration): Remove.
8786 (byte-compile-file-form-defmumble): Generalize to defalias.
8787 (byte-compile-output-as-comment): Return byte-positions.
8788 Simplify callers accordingly.
8789 (byte-compile-lambda): Use `assert'.
8790 (byte-compile-defun, byte-compile-defmacro): Remove.
8791 (byte-compile-file-form-defalias):
8792 Use byte-compile-file-form-defmumble.
8793 (byte-compile-defalias-warn): Remove.
8794
8795 2012-05-29 Stefan Merten <smerten@oekonux.de>
8796
8797 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
8798 possible. Fix authors. Improve comments. Improve loading of `cl'.
8799
8800 (rst-mode-abbrev-table): Merge definition.
8801 (rst-mode): Make sure `font-lock-defaults' is buffer local.
8802 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
8803
8804 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
8805
8806 * calendar/icalendar.el
8807 (icalendar-export-region): Export UID properly.
8808
8809 2012-05-29 Leo Liu <sdl.web@gmail.com>
8810 * calendar/icalendar.el (icalendar-import-format):
8811 Add `icalendar-import-format-uid' (Bug#11525).
8812 (icalendar-import-format-uid): New.
8813 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
8814 Export UID.
8815
8816 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8817
8818 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
8819 different alternative patterns.
8820 (pcase-codegen): Be more careful to preserve identity.
8821 (pcase--u1): Don't forget to mark vars as used.
8822
8823 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
8824 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
8825 (byte-compile-from-buffer): ...rather than here.
8826
8827 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
8828 functions from byte-compile-function-environment.
8829
8830 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
8831
8832 * window.el (window-deletable-p): Avoid deleting the root window
8833 of a frame with an active minibuffer.
8834
8835 2012-05-29 Martin Rudalics <rudalics@gmx.at>
8836
8837 * simple.el (choose-completion): Use quit-window (Bug#11567).
8838
8839 2012-05-29 Chong Yidong <cyd@gnu.org>
8840
8841 * whitespace.el (whitespace-cleanup): Fix usage of
8842 whitespace-empty-at-bob-regexp (Bug#11492).
8843
8844 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8845
8846 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
8847 revert (Bug#11488).
8848
8849 2012-05-29 Juri Linkov <juri@jurta.org>
8850
8851 * isearch.el (isearch-mode-map): Bind `M-s _' to
8852 `isearch-toggle-symbol'. Bind `M-s c' to
8853 `isearch-toggle-case-fold'.
8854 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
8855 (isearch-forward): Add `M-s _' to the docstring.
8856 (isearch-forward-symbol, isearch-toggle-case-fold)
8857 (isearch-symbol-regexp): New functions. (Bug#11381)
8858
8859 2012-05-29 Juri Linkov <juri@jurta.org>
8860
8861 * isearch.el (isearch-word): Add docstring. (Bug#11381)
8862 (isearch-occur, isearch-search-and-update): If `isearch-word' is
8863 a function, call it to get the regexp.
8864 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
8865 property `isearch-message-prefix' instead of the string "word ".
8866 (isearch-search-fun-default): For the case of `isearch-word',
8867 return a lambda that calls re-search-forward/re-search-backward
8868 with a regexp returned by `word-search-regexp' or by the function
8869 in `isearch-word'.
8870
8871 2012-05-29 Juri Linkov <juri@jurta.org>
8872
8873 * isearch.el (isearch-search-fun-default): New function.
8874 (isearch-search-fun): Move default part to the new function
8875 `isearch-search-fun-default'.
8876 (isearch-search-fun-function): Set the default value to
8877 `isearch-search-fun-default'. (Bug#11381)
8878
8879 * comint.el (comint-history-isearch-end):
8880 Use `isearch-search-fun-default'.
8881 (comint-history-isearch-search): Use `isearch-search-fun-default'
8882 and remove spacial case for `isearch-word'.
8883 (comint-history-isearch-wrap): Remove spacial case for
8884 `isearch-word'.
8885
8886 * hexl.el (hexl-isearch-search-function):
8887 Use `isearch-search-fun-default'.
8888
8889 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
8890 Use `word-search-regexp' for `isearch-word'.
8891
8892 * misearch.el (multi-isearch-search-fun):
8893 Use `isearch-search-fun-default'.
8894
8895 * simple.el (minibuffer-history-isearch-search):
8896 Use `isearch-search-fun-default' and remove spacial case for
8897 `isearch-word'.
8898 (minibuffer-history-isearch-wrap): Remove spacial case for
8899 `isearch-word'.
8900
8901 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
8902 Remove spacial case for `isearch-word'.
8903 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
8904
8905 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8906
8907 Decrease XEmacs incompatibilities.
8908 * textmodes/flyspell.el (flyspell-check-pre-word-p):
8909 Use `string-match'.
8910 (flyspell-delete-region-overlays): Use alternative definition for
8911 XEmacs.
8912 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
8913 (flyspell-word): Use `process-kill-without-query' if XEmacs.
8914 (flyspell-mode-on): Use `interactive-p' if XEmacs.
8915 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
8916 `define-obsolete-face-alias' under XEmacs, but old method.
8917
8918 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
8919 `with-no-warnings' definition or Emacs alias.
8920 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
8921 (ispell-word): Do not use `region-p' if XEmacs.
8922
8923 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8924
8925 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
8926 Check for `ispell-dictionary-base-alist' instead of full
8927 `ispell-dictionary-alist'.
8928 (ispell-init-process): Show spellchecker when starting new Ispell
8929 process.
8930
8931 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
8932
8933 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
8934 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
8935
8936 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
8937
8938 * version.el (motif-version-string, gtk-version-string)
8939 (ns-version-string): Declare.
8940
8941 2012-05-27 Juri Linkov <juri@jurta.org>
8942
8943 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
8944 after the `eval-defun-1' specialcaseing
8945 like in `edebug-eval-defun' (bug#10181).
8946
8947 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
8948 like in `eval-defun-1'.
8949
8950 2012-05-27 Eli Zaretskii <eliz@gnu.org>
8951
8952 * mail/sendmail.el (mail-yank-region):
8953 Recognize rmail-yank-current-message in addition to insert-buffer.
8954 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
8955 a *mail* buffer created through rmail-start-mail with sendmail as
8956 mail-user-agent.
8957
8958 2012-05-27 Chong Yidong <cyd@gnu.org>
8959
8960 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
8961 Default to 256 (Bug#11267).
8962
8963 * help.el (describe-mode): Doc fix.
8964
8965 2012-05-26 Glenn Morris <rgm@gnu.org>
8966
8967 * w32-fns.el (w32-init-info): Remove.
8968 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
8969
8970 * info.el (info-initialize): For self-contained NS builds, put the
8971 included info/ directory at the front. (Bug#2791)
8972
8973 * paths.el (Info-default-directory-list): Make it a defcustom,
8974 mainly so that we can use custom-initialize-delay.
8975
8976 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
8977
8978 * subr.el (buffer-has-markers-at): Mark obsolete.
8979
8980 * subr.el (lambda): Use declare.
8981
8982 * emacs-lisp/lisp-mode.el (lambda):
8983 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
8984
8985 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8986
8987 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
8988
8989 2012-05-26 Glenn Morris <rgm@gnu.org>
8990
8991 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
8992
8993 2012-05-25 Glenn Morris <rgm@gnu.org>
8994
8995 * paths.el: Remove no-byte-compile.
8996 * loadup.el: No need to load paths.el uncompiled.
8997
8998 * image.el (imagemagick-types-inhibit): Doc fix.
8999
9000 * version.el: Remove no-byte-compile and associated formatting.
9001 * loadup.el: No need to load version.el uncompiled. AFAICS, this
9002 is ancient code from when there was an "inc-vers.el".
9003
9004 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9005
9006 * progmodes/gdb-mi.el: Minor style changes.
9007 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
9008 Turn into minor modes.
9009 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
9010 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
9011 (gdb-shell): Remove unneeded let-binding.
9012 (gdb-get-many-fields): Eliminate O(n²) behavior.
9013
9014 2012-05-25 Eli Zaretskii <eliz@gnu.org>
9015
9016 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
9017 platforms that don't link in fontset.c.
9018
9019 2012-05-25 Juri Linkov <juri@jurta.org>
9020
9021 Use the same diff color scheme as in modern VCSes (bug#10181).
9022
9023 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
9024 to avoid confusion with `diff-added' that now uses green colors.
9025 (diff-removed): Use shades of red.
9026 (diff-added): Use shades of green.
9027 (diff-changed): Leave just the yellow color.
9028 (diff-use-changed-face): New variable.
9029 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
9030 how to highlight context diff changes.
9031 (diff-refine-change): Use shades of yellow.
9032 (diff-refine-removed): New face that uses shades of red.
9033 (diff-refine-added): New face that uses shades of green.
9034 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
9035 `diff-refine-removed' in the call to `smerge-refine-subst'
9036 depending on the value of `diff-use-changed-face'.
9037
9038 * vc/smerge-mode.el (smerge-mine): Use shades of red.
9039 (smerge-other): Use shades of green.
9040 (smerge-base): Use shades of yellow.
9041 (smerge-refined-change): Empty face.
9042 (smerge-refined-removed): New face that uses shades of red.
9043 (smerge-refined-added): New face that uses shades of green.
9044 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
9045 args `props-r' and `props-a', and use them. Doc fix.
9046 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
9047 on its value use different faces `smerge-refined-change',
9048 `smerge-refined-removed', `smerge-refined-added' in the call to
9049 `smerge-refine-subst'.
9050
9051 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
9052 Add face condition `min-colors 88' with shades of red.
9053 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
9054 `min-colors 88' with shades of green.
9055 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
9056 `min-colors 88' with shades of yellow.
9057
9058 2012-05-24 Glenn Morris <rgm@gnu.org>
9059
9060 * paths.el (prune-directory-list, remote-shell-program): Move to...
9061 * files.el (prune-directory-list, remote-shell-program): ...here.
9062 For the latter, delay initialization, prefer ssh, just search PATH.
9063
9064 * paths.el (term-file-prefix): Move to faces.el (the only user).
9065 * faces.el (term-file-prefix): Move here, make it a defcustom.
9066
9067 * paths.el (news-directory, news-path, news-inews-program):
9068 Move to gnus/nnspool.el.
9069
9070 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
9071
9072 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
9073 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
9074 Make the latter a defcustom, with a delayed initialization.
9075
9076 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
9077 These were deleted from Gnus itself late 2010.
9078
9079 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
9080
9081 * progmodes/which-func.el (which-func-ff-hook):
9082 Check against user-error, not error.
9083
9084 * emacs-lisp/edebug.el (top): Do not load or set up loading of
9085 cl-specs.el, which no longer exists.
9086
9087 2012-05-22 Glenn Morris <rgm@gnu.org>
9088
9089 * info.el (info-emacs-bug): New command.
9090 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
9091 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
9092
9093 2012-05-21 Glenn Morris <rgm@gnu.org>
9094
9095 * makefile.w32-in (update-subdirs-SH):
9096 * Makefile.in (update-subdirs): Update for moved update-subdirs.
9097
9098 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
9099
9100 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
9101
9102 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9103 Simplify Maven regexp, and make sure the file can't start with a space
9104 (bug#11517).
9105
9106 2012-05-21 Glenn Morris <rgm@gnu.org>
9107
9108 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9109 Scrap superfluous subshells.
9110
9111 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
9112
9113 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
9114 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
9115
9116 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
9117
9118 * calc/calc.el (calc-ensure-consistent-units): New variable.
9119
9120 * calc/calc-units.el (math-consistent-units-p)
9121 (math-check-unit-consistency): New functions.
9122 (calc-quick-units, calc-convert-units):
9123 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
9124 is non-nil.
9125 (calc-extract-units): Fix typo.
9126
9127 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
9128
9129 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
9130
9131 * textmodes/flyspell.el: Commenting style, plus code simplifications.
9132 (flyspell-default-deplacement-commands): Don't spell check after
9133 repeated window/frame switches (e.g. triggered by mouse-movement).
9134 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
9135 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
9136 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
9137 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
9138 Remove unused vars.
9139 (flyspell-get-casechars, flyspell-get-not-casechars):
9140 Simplify; Don't bother removing a ] just to add it back.
9141 * textmodes/ispell.el (ispell-program-name): Use executable-find.
9142
9143 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9144
9145 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
9146 New functions.
9147 (math-function-table): Add support for more C functions.
9148
9149 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9150
9151 * textmodes/flyspell.el (flyspell-check-pre-word-p)
9152 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
9153 Protect delay handling for otherchars against empty otherchars.
9154
9155 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
9156
9157 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
9158 their respective macro declarations.
9159 * skeleton.el (define-skeleton):
9160 * progmodes/compile.el (define-compilation-mode):
9161 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
9162 (define-ibuffer-filter):
9163 * emacs-lisp/generic.el (define-generic-mode):
9164 * emacs-lisp/easy-mmode.el (define-minor-mode)
9165 (define-globalized-minor-mode):
9166 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
9167 * emacs-lisp/byte-run.el (defsubst):
9168 * custom.el (deftheme): Add doc-string metadata.
9169
9170 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9171
9172 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
9173
9174 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9175
9176 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
9177
9178 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
9179 * emacs-lisp/cl-macs.el: Idem.
9180 * emacs-lisp/cl-specs.el: Remove.
9181
9182 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9183
9184 Minor renaming of internal CL functions and variables.
9185 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
9186 (cl--position): Rename from cl-position.
9187 (cl--delete-duplicates): Rename from cl-delete-duplicates.
9188 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
9189 (cl--random-state): Rename from *random-state*.
9190
9191 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9192
9193 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
9194 parens around the arg list (bug#11499).
9195
9196 2012-05-17 Juri Linkov <juri@jurta.org>
9197
9198 * isearch.el (word-search-regexp, word-search-backward)
9199 (word-search-forward, word-search-backward-lax)
9200 (word-search-forward-lax): Move functions from search.c
9201 (bug#10145, bug#11381).
9202
9203 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9204
9205 * textmodes/flyspell.el (flyspell-check-pre-word-p)
9206 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
9207 Delay for otherchars as for normal word components.
9208
9209 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
9210
9211 * minibuffer.el (completion--sifn-requote): Fix last change.
9212 (minibuffer-local-must-match-filename-map):
9213 Move define-obsolete-variable-alias before its var.
9214
9215 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9216
9217 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
9218
9219 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
9220 behavior.
9221 (completion--string-equal-p): New function.
9222 (completion--twq-all): Use it to get better assertion failure data.
9223
9224 Only handle ".." and '..' quoting in shell-mode (bug#11466).
9225 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
9226 (shell--requote-argument): New functions.
9227 (shell-completion-vars): Use them.
9228 (shell--parse-pcomplete-arguments): Rename from
9229 shell-parse-pcomplete-arguments.
9230 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
9231 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
9232 Obey comint-file-name-quote-list.
9233
9234 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
9235 (smie-indent-keyword): Use it.
9236
9237 2012-05-14 Stefan Merten <smerten@oekonux.de>
9238
9239 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
9240
9241 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
9242
9243 * net/rlogin.el (rlogin-mode-map): Fix last change.
9244
9245 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
9246
9247 * mail/smtpmail.el (smtpmail-send-command): Send the command and
9248 the following \r\n using a single `process-send-string', since the
9249 Lotus SMTP server refuses to accept any commands if they are sent
9250 with two `process-send-string's (Bug#11444).
9251
9252 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
9253
9254 * shell.el (shell-parse-pcomplete-arguments):
9255 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
9256
9257 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
9258
9259 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
9260 (image-transform-scale, image-transform-right-angle-fudge): New vars.
9261 (image-transform-width, image-transform-fit-width): New functions.
9262 (image-transform-properties): Use them.
9263 (image-transform-check-size): New function.
9264 (image-toggle-display-image): Use it (for testing).
9265 (image-transform-set-rotation): Reduce angle mod 360.
9266 Delete obsolete comment.
9267
9268 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
9269
9270 * image-mode.el: Fix scaling (bug#11399).
9271 (image-transform-resize): Doc fix.
9272 (image-transform-properties): Default scale is 1 and height should
9273 be an integer.
9274
9275 2012-05-13 Johan Bockgård <bojohan@gnu.org>
9276
9277 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
9278 than hard-coding `car', to fix misbehavior when moving forward.
9279
9280 2012-05-13 Chong Yidong <cyd@gnu.org>
9281
9282 * emacs-lisp/tabulated-list.el (tabulated-list-format)
9283 (tabulated-list-entries, tabulated-list-padding)
9284 (tabulated-list-sort-key): Make permanent-local.
9285
9286 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
9287 (electric-buffer-list): Put electric buffer menu
9288 command descriptions in this docstring, instead of the docstring
9289 of electric-buffer-menu-mode. Code cleanups.
9290 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
9291 Electric-buffer-menu-mode.
9292 (electric-buffer-update-highlight): Minor code cleanup.
9293
9294 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
9295
9296 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
9297 (Bug#11447)
9298
9299 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9300
9301 Move define-obsolete-variable-alias before the var's definition.
9302 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
9303 * tooltip.el (tooltip-hook):
9304 * textmodes/reftex-toc.el (reftex-toc-map):
9305 * textmodes/reftex-sel.el (reftex-select-label-map)
9306 (reftex-select-bib-map):
9307 * textmodes/reftex-index.el (reftex-index-map)
9308 (reftex-index-phrases-map):
9309 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
9310 * progmodes/meta-mode.el (meta-mode-map):
9311 * novice.el (disabled-command-hook):
9312 * loadhist.el (unload-hook-features-list):
9313 * frame.el (blink-cursor):
9314 * files.el (find-file-not-found-hooks, write-file-hooks)
9315 (write-contents-hooks):
9316 * emulation/tpu-edt.el (GOLD-map):
9317 * emacs-lock.el (emacs-lock-from-exiting):
9318 * emacs-lisp/generic.el (generic-font-lock-defaults):
9319 * emacs-lisp/chart.el (chart-map):
9320 * dos-fns.el (register-name-alist):
9321 * dired-x.el (dired-omit-files-p):
9322 * desktop.el (desktop-enable):
9323 * cus-edit.el (custom-mode-hook):
9324 * buff-menu.el (buffer-menu-mode-hook):
9325 * bookmark.el (bookmark-read-annotation-text-func)
9326 (bookmark-exit-hooks):
9327 * allout.el (allout-mode-deactivate-hook)
9328 (allout-exposure-change-hook, allout-structure-added-hook)
9329 (allout-structure-deleted-hook, allout-structure-shifted-hook):
9330 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
9331 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
9332 comes before the corresponding variable's definition.
9333
9334 2012-05-12 Chong Yidong <cyd@gnu.org>
9335
9336 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
9337 (Buffer-menu-mouse-select): Restore function (Bug#11459).
9338 (Buffer-menu-mode-map): Bind it.
9339 (Buffer-menu--pretty-name): Add a mouse-face property.
9340
9341 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
9342
9343 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
9344 (prolog-upper-case-string, prolog-lower-case-string)
9345 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
9346 (prolog-use-smie, prolog-smie-grammar): New vars.
9347 (prolog-smie-forward-token, prolog-smie-backward-token)
9348 (prolog-smie-rules): New funs.
9349 (prolog-comment-indent): Remove.
9350 (prolog-mode-variables): Use default comment indentation instead.
9351 Setup SMIE.
9352 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
9353 (prolog-mode): Don't call them any more.
9354 (prolog-electric-colon, prolog-electric-dash)
9355 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
9356
9357 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
9358
9359 * minibuffer.el (completion--twq-all): Again, allow case differences.
9360
9361 * term.el: Move keymap initialization code to be more idiomatic.
9362 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
9363 (term-terminal-menu): Move initialization into declaration.
9364 (term-escape-char): Let the user set it in her .emacs.
9365
9366 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
9367 Provide SMIE-based indentation (not enabled by default yet).
9368 (sh-mode-map): Don't bind electric keys.
9369 Use electric-pair-mode instead of skeleton-pair.
9370 (sh-assignment-regexp): Fit within 80 columns.
9371 (sh-indent-supported): Specify actual shell name instead of boolean.
9372 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
9373 (sh-maybe-here-document): Use it. Make obsolete.
9374 (sh-electric-here-document-mode) New minor mode.
9375 (sh-mode): Use it. Don't set sh-indent-supported-here here.
9376 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
9377 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
9378 (sh-smie-rc-grammar, sh-use-smie): New vars.
9379 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
9380 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
9381 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
9382 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
9383 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
9384 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
9385 (sh-set-shell): Use smie-setup if requested.
9386
9387 * term.el (term-set-escape-char): Properly set term-escape-char.
9388 See http://stackoverflow.com/questions/10524656.
9389
9390 2012-05-10 Chong Yidong <cyd@gnu.org>
9391
9392 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
9393 Use url-generic-parse-url, and handle host names and Windows
9394 filenames properly.
9395 (ffap-url-unwrap-remote): Use url-generic-parse-url.
9396 (ffap-url-unwrap-remote): Accept list values, specifying a list of
9397 URL schemes to work on.
9398 (ffap--toggle-read-only): New function.
9399 (ffap-read-only, ffap-read-only-other-window)
9400 (ffap-read-only-other-frame): Use it.
9401 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
9402 necessary for ffap-url-unwrap-remote.
9403
9404 2012-05-10 Dave Abrahams <dave@boostpro.com>
9405
9406 * cus-start.el (create-lockfiles): Add it.
9407
9408 2012-05-09 Chong Yidong <cyd@gnu.org>
9409
9410 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
9411 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
9412
9413 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9414
9415 * shell.el (shell-completion-vars): Fix last change (bug#11348).
9416
9417 2012-05-09 Chong Yidong <cyd@gnu.org>
9418
9419 * ansi-color.el (ansi-color-process-output): Check for validity of
9420 comint-last-output-start before using it. This avoids a bad
9421 interaction with gdb-mi's input/output buffer.
9422
9423 2012-05-09 Glenn Morris <rgm@gnu.org>
9424
9425 * files.el (dir-locals-read-from-file):
9426 Mention dir-locals in any error message.
9427
9428 2012-05-09 Chong Yidong <cyd@gnu.org>
9429
9430 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
9431 package (Bug#11410).
9432
9433 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
9434 variables into description.
9435
9436 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9437
9438 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
9439 shell-delimiter-argument-list (bug#11348).
9440 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
9441
9442 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
9443
9444 * textmodes/rst.el: Silence byte-compiler warnings.
9445 (rst-re-alist, rst-reset-section-caches): Move around.
9446 (rst-re): Use `characterp', not `char-valid-p'.
9447 (font-lock-beg, font-lock-end): Declare.
9448
9449 * progmodes/idlw-shell.el (specs): Remove reference to deleted
9450 variable `idlwave-shell-activate-alt-keybindings' and simplify.
9451
9452 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
9453
9454 2012-05-08 Glenn Morris <rgm@gnu.org>
9455
9456 * files.el (auto-mode-alist): Treat ".make" like ".mk".
9457
9458 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9459
9460 * vc/log-edit.el: Add GNU coding standards highlighting.
9461 (log-edit-font-lock-gnu-style)
9462 (log-edit-font-lock-gnu-keywords): New vars.
9463 (log-edit-font-lock-keywords): New fun.
9464 (log-edit-mode): Don't fold case in font-lock.
9465 (log-edit-font-lock-keywords): Do not assume case-folding.
9466
9467 * imenu.el: Misc cleanup. Make docstrings out of comments.
9468 Use lexical-binding.
9469 (imenu--index-alist, imenu--last-menubar-index-alist)
9470 (imenu-menubar-modified-tick): Use defvar-local.
9471 (imenu--split-menu): Remove unused var.
9472 (imenu--cleanup-seen): Declare as global.
9473 (imenu--cleanup): Use dolist.
9474
9475 * subr.el (defvar-local): Add debug spec and doc-string position.
9476
9477 2012-05-08 Glenn Morris <rgm@gnu.org>
9478
9479 * language/burmese.el, language/cham.el, language/czech.el:
9480 * language/english.el, language/georgian.el, language/greek.el:
9481 * language/japanese.el, language/khmer.el, language/korean.el:
9482 * language/lao.el, language/misc-lang.el, language/romanian.el:
9483 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
9484 * language/thai.el, language/utf-8-lang.el:
9485 Remove no-byte-compile setting.
9486
9487 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
9488
9489 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9490
9491 * progmodes/make-mode.el (makefile-browse):
9492 Remove unnecessary interactive. (Bug#11324)
9493
9494 2012-05-07 Glenn Morris <rgm@gnu.org>
9495
9496 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
9497
9498 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
9499
9500 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9501
9502 * loadup.el: Preload newcomment.el.
9503 * newcomment.el: Move autoload-only code to toplevel.
9504
9505 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
9506 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
9507 Handle new :right-align column property.
9508 (tabulated-list-print-col): Idem, plus use `display' text-property to
9509 try and preserve alignment for variable pitch fonts.
9510
9511 2012-05-07 Chong Yidong <cyd@gnu.org>
9512
9513 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
9514 (tabulated-list-use-header-line): New var.
9515 (tabulated-list-init-header): Use it.
9516 (tabulated-list-print-fake-header): New function.
9517 (tabulated-list-print): Use it.
9518 (tabulated-list-sort-button-map): Add non-header-line commands.
9519 (tabulated-list-init-header): Add column name property to basic
9520 labels as well.
9521 (tabulated-list-col-sort): Handle non-header-line button case.
9522 (tabulated-list--sort-by-column-name): Fix a corner case.
9523
9524 * buff-menu.el (list-buffers--refresh):
9525 Handle Buffer-menu-use-header-line.
9526
9527 2012-05-06 Chong Yidong <cyd@gnu.org>
9528
9529 * buff-menu.el: Convert to Tabulated List mode.
9530 (Buffer-menu-buffer+size-width): Make obsolete.
9531 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
9532 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
9533 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
9534 documentation into docstring of buffer-menu.
9535 (Buffer-menu-toggle-files-only): Add an informative message.
9536 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
9537 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
9538 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
9539 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
9540 (Buffer-menu-execute, Buffer-menu-select)
9541 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
9542 (Buffer-menu-bury): Use Tabulated List machinery.
9543 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
9544 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
9545 Delete.
9546 (list-buffers--refresh): New function.
9547 (list-buffers-noselect): Use it.
9548 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
9549 (Buffer-menu--pretty-file-name): New helper functions.
9550
9551 * loadup.el: Preload tabulated-list.
9552
9553 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
9554 tabulated-list-sort-column.
9555 (tabulated-list-init-header): Add the initial aligning space even
9556 if tabulated-list-padding is zero.
9557
9558 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
9559
9560 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
9561 whose cdr is not a cons cell correctly (bug#11038).
9562
9563 2012-05-06 Chong Yidong <cyd@gnu.org>
9564
9565 * emacs-lisp/tabulated-list.el (tabulated-list-format):
9566 Accept additional plist in column descriptors.
9567 (tabulated-list-init-header): Obey it.
9568 (tabulated-list-get-entry): New function.
9569 (tabulated-list-put-tag): Use it. Use string-width instead of
9570 length.
9571 (tabulated-list--column-number): New function.
9572 (tabulated-list-print): Use it.
9573 (tabulated-list-print-col): New function.
9574 Set `tabulated-list-column-name' property on each column's text.
9575 (tabulated-list-print-entry): Use it.
9576 (tabulated-list-delete-entry, tabulated-list-set-col):
9577 New functions.
9578 (tabulated-list-sort-column): New command (Bug#11337).
9579
9580 * buff-menu.el (list-buffers): Move C-x C-b binding from
9581 buff-menu.el to bindings.el.
9582
9583 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
9584 :advertised-binding feature.
9585
9586 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
9587
9588 * progmodes/compile.el (compilation-internal-error-properties):
9589 Calculate start position correctly when end-col is set but
9590 end-line is not (Bug#11382).
9591
9592 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
9593
9594 * man.el (Man-unindent): Use text-property-default-nonsticky to
9595 prevent untabify from inheriting face properties (Bug#11408).
9596
9597 2012-05-05 Stefan Merten <smerten@oekonux.de>
9598
9599 * textmodes/rst.el: Major merge with upstream development up to
9600 Docutils SVN r7399 / rst.el V1.2.1.
9601
9602 Clarify maintainership and authors.
9603
9604 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
9605 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
9606 (rst-official-version, rst-official-cvs-rev, rst-version)
9607 (rst-package-emacs-version-alist): New functions and variables
9608 for version information.
9609
9610 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
9611 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
9612 (rst-mode-syntax-table, rst-mode): New and corrected functions
9613 and variables representing reStructuredText features.
9614
9615 (rst-re): New function for reStructuredText regexes. Use in
9616 many places.
9617
9618 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
9619 (rst-mode-map): Rebind keys.
9620
9621 (rst-mode-lazy, rst-font-lock-keywords)
9622 (rst-font-lock-extend-region)
9623 (rst-font-lock-extend-region-internal)
9624 (rst-font-lock-extend-region-extend)
9625 (rst-font-lock-find-unindented-line-limit)
9626 (rst-font-lock-find-unindented-line-match)
9627 (rst-adornment-level, rst-font-lock-adornment-level)
9628 (rst-font-lock-adornment-match)
9629 (rst-font-lock-handle-adornment-pre-match-form)
9630 (rst-font-lock-handle-adornment-matcher): Major revision of
9631 font-locking. Integrate with other code. Use `jit-lock-mode'.
9632
9633 (rst-preferred-adornments, rst-adjust-hook)
9634 (rst-new-adornment-down, rst-preferred-bullets)
9635 (rst-preferred-bullets, rst-indent, rst-indent-width)
9636 (rst-indent-field, rst-indent-literal-normal)
9637 (rst-indent-literal-minimized, rst-indent-comment): Change,
9638 extend and improve customization.
9639
9640 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
9641 (rst-normalize-cursor-position, rst-get-decoration)
9642 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
9643 (rst-rstrip, rst-toc-insert-find-delete-contents)
9644 (rst-shift-fill-region, rst-compute-bullet-tabs)
9645 (rst-debug-print-tabs, rst-debug-mark-found)
9646 (rst-shift-region-guts, rst-shift-region-right)
9647 (rst-shift-region-left, rst-use-char-classes)
9648 (rst-font-lock-keywords-function)
9649 (rst-font-lock-indentation-point)
9650 (rst-font-lock-find-unindented-line-begin)
9651 (rst-font-lock-find-unindented-line-end)
9652 (rst-font-lock-find-unindented-line)
9653 (rst-font-lock-adornment-point, rst-font-lock-level)
9654 (rst-adornment-level-alist): Remove functions and variables.
9655
9656 (rst-compare-adornments, rst-get-adornment-match)
9657 (rst-suggest-new-adornment, rst-get-adornments-around)
9658 (rst-adornment-complete-p, rst-get-next-adornment)
9659 (rst-adjust-adornment, rst-display-adornments-hierarchy)
9660 (rst-straighten-adornments): Standardize function names to
9661 use "adornment" instead of "decoration". Correct callers.
9662 Similar standardizing in many places.
9663
9664 (rst-update-section, rst-adjust, rst-promote-region)
9665 (rst-enumerate-region, rst-bullet-list-region)
9666 (rst-repeat-last-character): Correct use of `interactive'.
9667
9668 (rst-classify-adornment, rst-find-all-adornments)
9669 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
9670 (rst-find-leftmost-column, rst-repeat-last-character):
9671 Refactor functions.
9672
9673 (rst-find-title-line, rst-reset-section-caches)
9674 (rst-get-adornments-around, rst-adjust-adornment-work)
9675 (rst-arabic-to-roman, rst-roman-to-arabic)
9676 (rst-insert-list-pos, rst-insert-list-new-item)
9677 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
9678 New functions.
9679
9680 (rst-all-sections, rst-section-hierarchy)
9681 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
9682 New variables.
9683
9684 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
9685 configuration instead of only buffer. Change where necessary.
9686
9687 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
9688 (rst-shift-region, rst-adaptive-fill): New functions for
9689 indentation and filling.
9690
9691 (rst-comment-line-break, rst-comment-indent)
9692 (rst-comment-insert-comment, rst-comment-region)
9693 (rst-uncomment-region): New functions for handling comments.
9694
9695 (rst-compile): Quote shell arguments.
9696
9697 (rst-compile-pdf-preview, rst-compile-slides-preview):
9698 Delete temporary files after use.
9699
9700 2012-05-05 Glenn Morris <rgm@gnu.org>
9701
9702 * calendar/cal-html.el: Optionally include holidays in the output.
9703 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
9704 (cal-html-holidays): New option.
9705 (cal-html-css-default): Add holiday entry.
9706 (holiday-in-range): Autoload it.
9707 (cal-html-htmlify-entry): Add optional class argument.
9708 (cal-html-htmlify-list): Add optional holidays argument.
9709 (cal-html-insert-agenda-days): Include holidays in the output.
9710 (cal-html-one-month): Maybe include holidays.
9711
9712 * calendar/holidays.el (holiday-in-range):
9713 Move here from cal-tex-list-holidays.
9714 * calendar/cal-tex.el (cal-tex-list-holidays):
9715 Make it an obsolete alias for holiday-in-range. Update all callers.
9716
9717 2012-05-05 Chong Yidong <cyd@gnu.org>
9718
9719 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
9720 Nextstep.
9721
9722 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
9723
9724 * files.el (file-auto-mode-skip): New var.
9725 (set-auto-mode-1): Use it.
9726
9727 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9728
9729 * repeat.el: Use lexical-binding.
9730 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
9731 (repeat-undo-count): Remove.
9732 (repeat):
9733 * progmodes/octave-mod.el (octave-abbrev-start):
9734 * progmodes/f90.el (f90-abbrev-start):
9735 * face-remap.el (text-scale-adjust):
9736 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
9737
9738 * emacs-lisp/pcase.el (pcase--let*): New function.
9739 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
9740 a bit more.
9741 (pcase--split-pred): Be more clever about ruling out overlap between
9742 a predicate and some constant pattern.
9743 (pcase--q1): Use `null' instead of (eq foo nil).
9744
9745 * subr.el (setq-local, defvar-local): New macros.
9746 (kbd): Redefine as an alias.
9747 (with-selected-window): Leave unrelated frames alone.
9748 (set-temporary-overlay-map): New function.
9749
9750 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9751
9752 * subr.el (user-error): New function.
9753 * window.el (switch-to-buffer):
9754 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
9755 (smerge-match-conflict):
9756 * simple.el (previous-matching-history-element)
9757 (next-matching-history-element, goto-history-element, undo-more)
9758 (undo-start):
9759 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
9760 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
9761 (next-file, tags-loop-scan, list-tags, complete-tag):
9762 * progmodes/compile.el (compilation-loop):
9763 * mouse.el (mouse-minibuffer-check):
9764 * man.el (Man-bgproc-sentinel, Man-goto-page):
9765 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
9766 (Info-history-forward, Info-follow-reference, Info-menu)
9767 (Info-extract-menu-item, Info-extract-menu-counting)
9768 (Info-forward-node, Info-backward-node, Info-next-menu-item)
9769 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
9770 (Info-next-reference, Info-prev-reference, Info-index)
9771 (Info-index-next, Info-follow-nearest-node)
9772 (Info-copy-current-node-name):
9773 * imenu.el (imenu--make-index-alist)
9774 (imenu-default-create-index-function, imenu-add-to-menubar):
9775 * files.el (basic-save-buffer, recover-file):
9776 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
9777 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
9778 (checkdoc-message-text, checkdoc-defun):
9779 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
9780 * cus-edit.el (customize-changed-options, customize-rogue)
9781 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
9782 (custom-variable-mark-to-reset-standard)
9783 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
9784 (custom-file):
9785 * completion.el (check-completion-length):
9786 * comint.el (comint-search-arg)
9787 (comint-previous-matching-input-string-position)
9788 (comint-previous-matching-input)
9789 (comint-replace-by-expanded-history-before-point, comint-send-input)
9790 (comint-copy-old-input, comint-backward-matching-input)
9791 (comint-goto-process-mark, comint-set-process-mark):
9792 * calendar/calendar.el (calendar-cursor-to-date): Use it.
9793 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
9794
9795 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9796
9797 * dabbrev.el (dabbrev--ignore-case-p): New function.
9798 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
9799 Use it.
9800
9801 * files.el (automount-dir-prefix): Mark as obsolete.
9802
9803 2012-05-04 Glenn Morris <rgm@gnu.org>
9804
9805 * patcomp.el, play/bruce.el: Move to obsolete/.
9806
9807 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
9808
9809 Fix minor Y10k bugs.
9810 * arc-mode.el (archive-unixdate):
9811 * autoinsert.el (auto-insert-alist):
9812 * calc/calc-forms.el (math-this-year):
9813 * emacs-lisp/copyright.el (copyright-current-year)
9814 (copyright-update-year, copyright):
9815 * tar-mode.el (tar-clip-time-string):
9816 * time.el (display-time-update):
9817 Don't assume years have 4 digits.
9818
9819 2012-05-04 Chong Yidong <cyd@gnu.org>
9820
9821 * dos-w32.el (file-name-buffer-file-type-alist)
9822 (direct-print-region-use-command-dot-com):
9823 * ffap.el (ffap-menu-regexp):
9824 * find-file.el (ff-special-constructs):
9825 * follow.el (follow-debug):
9826 * forms.el (forms--debug):
9827 * iswitchb.el (iswitchb-all-frames):
9828 * ido.el (ido-all-frames):
9829 * emacs-lisp/timer.el (timer-max-repeats):
9830 * mail/feedmail.el (feedmail-mail-send-hook)
9831 (feedmail-mail-send-hook-queued):
9832 * mail/footnote.el (footnote-signature-separator):
9833 * mail/mailabbrev.el (mail-alias-separator-string)
9834 (mail-abbrev-mode-regexp):
9835 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
9836 * progmodes/idlwave.el (idlwave-libinfo-file)
9837 (idlwave-default-completion-case-is-down)
9838 (idlwave-library-routines): Convert defvars to defcustoms.
9839
9840 * mail/rmail.el (rmail-decode-mime-charset):
9841 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
9842 (idlwave-shell-fix-inserted-breaks)
9843 (idlwave-shell-activate-alt-keybindings)
9844 (idlwave-shell-use-breakpoint-glyph):
9845 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
9846
9847 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9848
9849 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
9850
9851 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
9852
9853 * progmodes/verilog-mode.el (font-lock-keywords):
9854 Fix mis-highligting auto. Reported by Craig Barner.
9855 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
9856 defines from global name space. Reported by Dan Dever.
9857 (verilog-auto-reset, verilog-auto-reset-widths)
9858 (verilog-auto-tieoff): Support using unbased numbers for
9859 AUTORESET and AUTOTIEOFF.
9860 (verilog-submit-bug-report): Update variable list.
9861 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
9862 parenthesis from not matching. Reported by Michael Rytting.
9863 (verilog-auto-template-lint): Fix hash error when linting modules
9864 with no used templates.
9865 (verilog-warn, verilog-warn-error)
9866 (verilog-warn-fatal): When non-interactive report multiple
9867 warnings before exiting. Suggested by Brad Dobbie.
9868 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
9869 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
9870 to report unused template errors. Reported by Brad Dobbie.
9871 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
9872 nets, bug438. Reported by Vns Blore.
9873 (verilog-auto-inout-module, verilog-auto-reg)
9874 (verilog-read-decls, verilog-read-sub-decls-sig)
9875 (verilog-signals-edit-wire-reg, verilog-signals-with):
9876 Fix passing of Verilog data types in ANSI input/output ports
9877 such as "output logic" into the AUTOs. Special case "wire" and
9878 "reg" for backwards compatibility presuming Verilog 2001.
9879 (verilog-auto-ascii-enum): Add "auto enum" as alias.
9880 (verilog-preprocess): Fix replication of preprocess output.
9881 Reported by Brad Dobbie.
9882 (verilog-auto-inst-interfaced-ports):
9883 Create verilog-auto-inst-interfaced-ports, bug429.
9884 Reported by Julian Gorfajn.
9885 (verilog-after-save-font-hook)
9886 (verilog-before-save-font-hook): New variable.
9887 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
9888 (verilog-save-font-mods): Wrap disabling fontification, reported
9889 by David Rogoff.
9890 (verilog-do-indent, verilog-pretty-declarations-auto)
9891 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
9892 Reported by Pierre-David Pfister.
9893 (verilog-set-auto-endcomments): Fix endtask auto comments outside
9894 of class declarations, bug292. Reported by Kevin Heilman.
9895 (verilog-read-decls): Fix 'parameter type' not appearing in
9896 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
9897 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
9898 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
9899 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
9900 Reported by David Kravitz.
9901
9902 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
9903
9904 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
9905 assignment with tests in ifs and for loops.
9906 (verilog-extended-complete-re, verilog-complete-reg): Change so
9907 that DPI inport functions don't look like fuction declarations.
9908 (verilog-pretty-expr): Don't line up assignment
9909 operations to the test and increment in if and for loops
9910 (verilog-extended-complete-re, verilog-complete-reg): Change so
9911 that DPI inport functions don't look like fuction declarations.
9912
9913 2012-05-03 Kenichi Handa <handa@m17n.org>
9914
9915 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
9916 decoding, and show a warning message without signaling an error
9917 (Bug#11282).
9918
9919 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9920
9921 * emacs-lisp/bytecomp.el
9922 (byte-compile-file-form-custom-declare-variable): Compile all elements,
9923 since cconv.el might have introduced :fun-body, internal-make-closure,
9924 and friends for bytecomp to handle (bug#11391).
9925 * custom.el (defcustom): Avoid ((λ ..) ..).
9926
9927 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
9928
9929 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
9930
9931 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
9932
9933 * notifications.el (dbus-debug):
9934 * term/linux.el (gpm-mouse-enable):
9935 * term/screen.el (xterm-register-default-colors): Declare.
9936
9937 2012-05-02 Chong Yidong <cyd@gnu.org>
9938
9939 * cus-start.el (gc-cons-percentage, exec-suffixes)
9940 (dos-display-scancodes, dos-hyper-key, dos-super-key)
9941 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
9942 (make-cursor-line-fully-visible, void-text-area-pointer)
9943 (font-list-limit): Add customization data.
9944
9945 * allout.el (allout-exposure-change-functions)
9946 (allout-structure-added-functions)
9947 (allout-structure-deleted-functions)
9948 (allout-structure-shifted-functions): Rename abnormal hooks from
9949 *-hook, and convert to defcustoms.
9950 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
9951 Convert to defcustoms.
9952 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
9953
9954 * allout-widgets.el: Hook callers changed.
9955
9956 2012-05-02 Eli Zaretskii <eliz@gnu.org>
9957
9958 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
9959 the yanked message in preference to the default value of
9960 buffer-file-coding-system.
9961
9962 2012-05-02 Martin Rudalics <rudalics@gmx.at>
9963
9964 * window.el (display-buffer--action-function-custom-type):
9965 Fix entry.
9966
9967 2012-05-02 Alan Mackenzie <acm@muc.de>
9968
9969 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
9970
9971 2012-05-01 Glenn Morris <rgm@gnu.org>
9972
9973 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
9974
9975 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
9976
9977 * cus-edit.el (custom-variable-documentation): Simplify with format.
9978
9979 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9980 Stefan Monnier <monnier@iro.umontreal.ca>
9981
9982 * simple.el (suggest-key-bindings, execute-extended-command):
9983 Move from keyboard.c.
9984
9985 2012-05-01 Chong Yidong <cyd@gnu.org>
9986
9987 * follow.el: Eliminate advice.
9988 (set-process-filter, process-filter, sit-for): Advice deleted.
9989 (follow-mode-off-hook): Obsolete hook removed.
9990 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
9991 Vars deleted.
9992 (follow-auto): Use a :set function.
9993 (follow-mode): Rewritten. Don't advise process filters.
9994 (follow-switch-to-current-buffer-all, follow-scroll-up)
9995 (follow-scroll-down): Assume follow-mode is bound.
9996 (follow-comint-scroll-to-bottom)
9997 (follow-align-compilation-windows): New functions.
9998 (follow--window-sorter): New function.
9999 (follow-all-followers): Use it to explicitly sort windows by their
10000 positions; don't make assumptions about next-window order.
10001 (follow-windows-start-end, follow-delete-other-windows-and-split)
10002 (follow-calc-win-start): Doc fix.
10003 (follow-windows-aligned-p, follow-select-if-visible): Don't call
10004 vertical-motion unnecessarily.
10005 (follow-adjust-window): New function.
10006 (follow-post-command-hook): Use it.
10007 (follow-call-set-process-filter, follow-call-process-filter)
10008 (follow-intercept-process-output, follow-tidy-process-filter-alist)
10009 (follow-stop-intercept-process-output, follow-generic-filter):
10010 Functions deleted.
10011 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
10012 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
10013 New functions, replacing advice on scroll-bar-* commands.
10014 (follow-mwheel-scroll): New function (Bug#4112).
10015
10016 * comint.el (comint-adjust-point): New function.
10017 (comint-postoutput-scroll-to-bottom): Use it.
10018 Call follow-comint-scroll-to-bottom for Follow mode buffers.
10019
10020 2012-05-01 Glenn Morris <rgm@gnu.org>
10021
10022 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
10023 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
10024 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
10025 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
10026 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
10027 Remove no-byte-compile setting.
10028
10029 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
10030
10031 * minibuffer.el (completion-table-with-quoting): Fix compatibility
10032 all-completions code to not return a number in the last cdr.
10033
10034 2012-04-30 Leo Liu <sdl.web@gmail.com>
10035
10036 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
10037 read-only error.
10038
10039 2012-04-29 Chong Yidong <cyd@gnu.org>
10040
10041 * follow.el (follow-calc-win-end): Rewrite to handle partial
10042 screen lines correctly (Bug#8390).
10043 (follow-avoid-tail-recenter): Minor cleanup.
10044
10045 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10046
10047 Avoid the obsolete `assoc' package.
10048 * speedbar.el (speedbar-refresh): Avoid adelete.
10049 (speedbar-file-lists): Simplify and avoid aput.
10050 * man.el (Man--sections, Man--refpages): New vars, replacing
10051 Man-sections-alist and Man-refpages-alist.
10052 (Man-build-section-alist, Man-build-references-alist):
10053 Use them; avoid aput.
10054 (Man--last-section, Man--last-refpage): New vars.
10055 (Man-follow-manual-reference): Use them.
10056 Use the `default' arg of completing-read.
10057 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
10058
10059 2012-04-27 Chong Yidong <cyd@gnu.org>
10060
10061 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
10062
10063 * startup.el (x-apply-session-resources): New function.
10064
10065 * term/ns-win.el (ns-initialize-window-system):
10066 * term/w32-win.el (w32-initialize-window-system):
10067 * term/x-win.el (x-initialize-window-system): Use it to properly
10068 set menu-bar-mode and other vars from X resources, even if the
10069 initial frame is not a window-system frame (Bug#2299).
10070
10071 * subr.el (read-key): Avoid running filter function when setting
10072 up temporary tool bar entries (Bug#9922).
10073
10074 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
10075
10076 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
10077 (Bug#11344)
10078
10079 2012-04-27 Chong Yidong <cyd@gnu.org>
10080
10081 * select.el (xselect--encode-string): New function, split from
10082 xselect-convert-to-string.
10083 (xselect-convert-to-string): Use it.
10084 (xselect-convert-to-filename, xselect-convert-to-os)
10085 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
10086 returned strings are properly encoded (Bug#11315).
10087
10088 2012-04-27 Chong Yidong <cyd@gnu.org>
10089
10090 * simple.el (delete-active-region): Move to killing custom group.
10091
10092 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
10093
10094 * progmodes/which-func.el (which-func-current): Quote %
10095 characters for mode-line processing.
10096
10097 2012-04-27 Chong Yidong <cyd@gnu.org>
10098
10099 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
10100 reaching eob (Bug#11286).
10101
10102 2012-04-27 Eli Zaretskii <eliz@gnu.org>
10103
10104 * progmodes/gdb-mi.el (gdb-control-level): New variable.
10105 (gdb): Make it buffer-local and init to zero.
10106 (gdb-control-commands-regexp): New variable.
10107 (gdb-send): Don't wrap in "-interpreter-exec console" if
10108 gdb-control-level is positive. Increment gdb-control-level
10109 whenever the command matches gdb-control-commands-regexp, and
10110 decrement it each time the command is "end". (Bug#11279)
10111
10112 2012-04-27 Martin Rudalics <rudalics@gmx.at>
10113
10114 * window.el (adjust-window-trailing-edge, enlarge-window)
10115 (shrink-window, window-resize):
10116 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
10117 windows (Bug#11276).
10118
10119 2012-04-27 Chong Yidong <cyd@gnu.org>
10120
10121 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
10122 fix "missing prefix" warning. All callers changed.
10123
10124 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10125
10126 * emacs-lisp/assoc.el: Move to obsolete/.
10127
10128 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10129
10130 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
10131
10132 * term/ns-win.el (ns-define-service):
10133 * progmodes/pascal.el (pascal-goto-defun):
10134 * progmodes/js.el (js--read-tab):
10135 * progmodes/etags.el (tags-lazy-completion-table):
10136 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
10137 * emacs-lisp/ewoc.el (ewoc--wrap):
10138 * emacs-lisp/assoc.el (aput, adelete, amake):
10139 * doc-view.el (doc-view-convert-current-doc):
10140 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
10141
10142 2012-04-26 Chong Yidong <cyd@gnu.org>
10143
10144 * image.el (image-type-from-buffer): Only return supported image
10145 type (Bug#9045).
10146
10147 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
10148 value, for symmetry with diff-end-of-hunk.
10149 (diff-split-hunk, diff-find-source-location)
10150 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
10151 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
10152 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
10153 compute the relevant hunk or file properly (Bug#6005).
10154 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
10155
10156 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10157
10158 * vc/vc-mtn.el:
10159 * vc/vc-hg.el:
10160 * vc/vc-git.el:
10161 * vc/vc-dir.el:
10162 * vc/vc-cvs.el:
10163 * vc/vc-bzr.el:
10164 * vc/vc-arch.el:
10165 * vc/vc.el: Replace lexical-let by lexical-binding.
10166 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
10167 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
10168 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
10169
10170 2012-04-26 Chong Yidong <cyd@gnu.org>
10171
10172 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
10173 (diff-mode-shared-map): Bind it to / and [remap undo].
10174
10175 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
10176 (ediff-window-setup-function): Use it as the default, to set up
10177 windows based on whether the current frame is graphical (Bug#2138).
10178 (ediff-choose-window-setup-function-automatically): Make obsolete.
10179
10180 * vc/ediff-init.el: Always define ediff-pixel-width/height.
10181
10182 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10183
10184 * ffap.el: Remove old code for obsolete package.
10185 (ffap-complete-as-file-p): Remove.
10186
10187 Use completion-table-with-quoting for comint and pcomplete.
10188 * comint.el (comint--unquote&requote-argument)
10189 (comint--unquote-argument, comint--requote-argument): New functions.
10190 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
10191 (comint-quote-filename): Use regexp-opt-charset.
10192 (comint--common-suffix, comint--common-quoted-suffix)
10193 (comint--table-subvert): Remove.
10194 (comint-unquote-function, comint-requote-function): New vars.
10195 (comint--complete-file-name-data): Use them with
10196 completion-table-with-quoting.
10197 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
10198 * pcomplete.el (pcomplete-arg-quote-list)
10199 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
10200 (pcomplete-unquote-argument-function): Default to non-nil.
10201 (pcomplete-unquote-argument): Simplify.
10202 (pcomplete--common-quoted-suffix): Remove.
10203 (pcomplete-requote-argument-function): New var.
10204 (pcomplete--common-suffix): New function.
10205 (pcomplete-completions-at-point): Use completion-table-with-quoting
10206 and completion-table-subvert.
10207
10208 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
10209 (minibuffer--double-dollars): Preserve properties.
10210 (completion--sifn-requote): New function.
10211 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
10212
10213 * minibuffer.el: Add support for completion of quoted/escaped data.
10214 (completion-table-with-quoting, completion-table-subvert): New funs.
10215 (completion--twq-try, completion--twq-all): New functions.
10216 (completion--nth-completion): New function.
10217 (completion-try-completion, completion-all-completions): Use it.
10218
10219 2012-04-25 Leo Liu <sdl.web@gmail.com>
10220
10221 * progmodes/python.el (python-pdbtrack-get-source-buffer):
10222 Use compilation-message if available to find real filename.
10223
10224 2012-04-25 Chong Yidong <cyd@gnu.org>
10225
10226 * vc/diff-mode.el (diff-setup-whitespace): New function.
10227 (diff-mode): Use it.
10228
10229 * vc/diff.el (diff-sentinel):
10230 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
10231 Whitespace mode variables based on diff style (Bug#8612).
10232
10233 2012-04-25 Leo Liu <sdl.web@gmail.com>
10234
10235 * progmodes/python.el (python-send-region): Add suffix .py to the
10236 temp file.
10237
10238 * files.el (auto-mode-alist): Use javascript-mode instead.
10239
10240 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
10241
10242 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
10243
10244 * net/soap-client.el (soap-resolve-references-for-sequence-type)
10245 (soap-resolve-references-for-array-type): Hack to prevent self
10246 references, see Bug#9.
10247 (soap-parse-envelope): Report the contents of the 'detail' node
10248 when receiving a fault reply.
10249 (soap-parse-envelope): Report the contents of the entire 'detail' node.
10250
10251 * net/soap-inspect.el (soap-sample-value-for-simple-type)
10252 (soap-inspect-simple-type): New function.
10253
10254 * net/soap-client.el (soap-simple-type): New struct.
10255 (soap-default-xsd-types, soap-default-soapenc-types)
10256 (soap-decode-basic-type, soap-encode-basic-type):
10257 support unsignedInt and double basic types.
10258 (soap-resolve-references-for-simple-type)
10259 (soap-parse-simple-type, soap-encode-simple-type): New function.
10260 (soap-parse-schema): Parse xsd:simpleType declarations.
10261
10262 * net/soap-client.el (soap-default-xsd-types)
10263 (soap-default-soapenc-types): Add integer, byte and anyURI types.
10264 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
10265 the local name of "soapenc:Array".
10266 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
10267 decoding integer, byte and anyURI xsd types.
10268
10269 2012-04-25 Chong Yidong <cyd@gnu.org>
10270
10271 * cus-edit.el (custom-buffer-create-internal): Update header text.
10272
10273 2012-04-25 Eli Zaretskii <eliz@gnu.org>
10274
10275 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
10276 settings on 'system-type', not on 'window-system'. On MS-Windows,
10277 set interactive-mode on in GDB.
10278
10279 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10280
10281 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
10282 (ruby-syntax-propertize-regexp): Remove.
10283 (ruby-syntax-propertize-function): Split regexp into chunks.
10284 Match following code directly.
10285
10286 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
10287
10288 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
10289 (ruby-syntax-propertize-regexp): New function.
10290 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
10291 by a special keyword.
10292
10293 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
10294 (ruby-syntax-general-delimiters-goto-beg)
10295 (ruby-syntax-propertize-general-delimiters): New functions.
10296 (ruby-syntax-propertize-function): Use them to handle GDL.
10297 (ruby-font-lock-keywords): Move old handling of GDL...
10298 (ruby-font-lock-syntactic-keywords): .. to here.
10299 (ruby-calculate-indent): Adjust indentation for GDL.
10300
10301 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
10302
10303 * notifications.el (top): Remove unneeded declarations.
10304 (notifications-specification-version): Change to "1.2".
10305 (notifications-interface, notifications-notify-method)
10306 (notifications-close-notification-method): Fix docstring.
10307 (notifications-get-capabilities-method): New defconst.
10308 (notifications-notify): Add :action-items, :resident and
10309 :transient hints. Change "image_data" to "image-data" and
10310 "image_path" to "image-path".
10311 (notifications-get-capabilities): New defun.
10312
10313 2012-04-24 Leo Liu <sdl.web@gmail.com>
10314
10315 * progmodes/python.el: Move hideshow setup to the end.
10316
10317 2012-04-24 Martin Rudalics <rudalics@gmx.at>
10318
10319 * window.el (handle-select-window): Clear echo area since this is
10320 no more done by read_char (Bug#11304).
10321
10322 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10323
10324 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
10325 and `/ M' to filter-derived-mode.
10326 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
10327 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
10328 (ibuffer-mark-by-mode): Use default rather than initial-input.
10329 (ibuffer-filter-by-derived-mode): Autoload and require-match.
10330
10331 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
10332
10333 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
10334 (ibuffer-filter-by-derived-mode): New filter.
10335 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
10336
10337 2012-04-23 Andreas Politz <politza@fh-trier.de>
10338
10339 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
10340
10341 2012-04-23 Chong Yidong <cyd@gnu.org>
10342
10343 * cus-edit.el (customize-apropos, customize-apropos-options):
10344 Disable matching of non-option variables (Bug#11176).
10345 (customize-option, customize-option-other-window)
10346 (customize-changed-options): Doc fix.
10347 (customize-apropos-options, customize-apropos-faces)
10348 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
10349
10350 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
10351 Fix word list splitting (Bug#11132).
10352 (apropos-symbol, apropos-keybinding, apropos-label)
10353 (apropos-property, apropos-function-button)
10354 (apropos-variable-button, apropos-misc-button): New faces.
10355 (apropos-symbol-face, apropos-keybinding-face)
10356 (apropos-label-face, apropos-property-face, apropos-match-face):
10357 Variables removed (Bug#8396).
10358 (apropos-library-button, apropos-format-plist, apropos-print)
10359 (apropos-print-doc, apropos-describe-plist): Callers changed.
10360
10361 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
10362
10363 * net/xesam.el (xesam-mode-map): Use let-bound map in
10364 initialization. (Bug#11292)
10365
10366 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10367
10368 Preserve ispell session localwords when switching back to
10369 original buffer.
10370
10371 * textmodes/ispell.el (ispell-buffer-session-localwords):
10372 New buffer-local variable to hold buffer session localwords.
10373 (ispell-kill-ispell): Add option 'clear to delete session
10374 localwords.
10375 (ispell-command-loop, ispell-change-dictionary)
10376 (ispell-buffer-local-words): Preserve session localwords when
10377 needed.
10378
10379 * textmodes/flyspell.el (flyspell-process-localwords)
10380 (flyspell-do-correct): Preserve session localwords when needed.
10381
10382 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10383
10384 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
10385 using obsolete `translation-table-for-input'.
10386 (ispell-word, ispell-process-line, ispell-complete-word):
10387 Use plain `insert' instead of removed `ispell-insert-word'.
10388
10389 2012-04-22 Chong Yidong <cyd@gnu.org>
10390
10391 * cus-edit.el (custom-variable-menu)
10392 (custom-variable-reset-saved, custom-face-menu)
10393 (custom-face-reset-saved): If there is no saved value, make the
10394 "reset-saved" operation bring back the default (Bug#9509).
10395 (custom-face-state): Properly detect themed faces.
10396
10397 * faces.el (face-spec-set): Stop supporting deprecated form of
10398 third arg.
10399
10400 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
10401
10402 Move functions from C to Lisp. Make non-blocking method calls
10403 the default. Implement further D-Bus standard interfaces.
10404
10405 * net/dbus.el (dbus-message-internal): Declare function.
10406 Remove unneeded function declarations.
10407 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
10408 (dbus-message-type-method-return, dbus-message-type-error)
10409 (dbus-message-type-signal): Declare variables. Remove local
10410 definitions.
10411 (dbus-interface-dbus, dbus-interface-peer)
10412 (dbus-interface-introspectable, dbus-interface-properties)
10413 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
10414 Adapt docstring.
10415 (dbus-interface-objectmanager): New defconst.
10416 (dbus-call-method, dbus-call-method-asynchronously)
10417 (dbus-send-signal, dbus-method-return-internal)
10418 (dbus-method-error-internal, dbus-register-service)
10419 (dbus-register-signal, dbus-register-method): New defuns, moved
10420 from dbusbind.c
10421 (dbus-call-method-handler, dbus-setenv)
10422 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
10423 New defuns.
10424 (dbus-call-method-non-blocking): Make it an obsolete function.
10425 (dbus-unregister-object, dbus-unregister-service)
10426 (dbus-handle-event, dbus-register-property)
10427 (dbus-property-handler): Obey the new structure of
10428 `bus-registered-objects'.
10429 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
10430 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
10431 Use `dbus-call-method'.
10432
10433 2012-04-22 Chong Yidong <cyd@gnu.org>
10434
10435 * cus-edit.el (custom-commands, custom-reset-menu)
10436 (Custom-reset-standard): Tweak labels.
10437 (custom-reset-button-menu): Change default to t.
10438 (custom-buffer-create-internal): For the custom-reset-button-menu
10439 case, put the revert button first.
10440 (custom-group-subtitle): New face.
10441 (custom-group-value-create): Align docstring to a specific column.
10442
10443 * wid-edit.el (widget-documentation-link-add): Don't handle
10444 indentation in this function.
10445 (widget-documentation-string-indent-to): New function.
10446 (widget-documentation-string-value-create): Use it.
10447
10448 * autorevert.el (auto-revert):
10449 * epg-config.el (epg):
10450 * ibuffer.el (ibuffer):
10451 * mpc.el (mpc):
10452 * ses.el (ses):
10453 * eshell/eshell.el (eshell):
10454 * net/ange-ftp.el (ange-ftp):
10455 * progmodes/ebnf2ps.el (postscript):
10456 * progmodes/flymake.el (flymake):
10457 * progmodes/prolog.el (prolog):
10458 * progmodes/verilog-mode.el (verilog-mode):
10459 * progmodes/which-func.el (which-func):
10460 * term/xterm.el (xterm):
10461 * textmodes/picture.el (picture):
10462 * textmodes/tildify.el (tildify):
10463 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
10464 customization buffers.
10465
10466 2012-04-22 Alan Mackenzie <acm@muc.de>
10467
10468 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
10469 Adding a ) can hide the resulting (..) from searches. Fix it.
10470 Bound the backward search to the position of the existing (.
10471
10472 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
10473
10474 * progmodes/verilog-mode.el (verilog-mode): Check whether
10475 which-func-modes is t before adding verilog-mode.
10476 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
10477
10478 2012-04-21 Leo Liu <sdl.web@gmail.com>
10479
10480 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
10481
10482 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
10483
10484 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
10485 filling of the last column of a table (Bug#5635).
10486 (woman-find-next-control-line): New arg, specifying an additional
10487 regexp component for the control line.
10488 (woman2-roff-buffer): Use it.
10489 (woman-break-table): New function.
10490 (woman2-TS): Use it.
10491
10492 2012-04-21 Chong Yidong <cyd@gnu.org>
10493
10494 * woman.el (woman-set-buffer-display-table, woman-decode-region)
10495 (woman-horizontal-escapes, woman-negative-vertical-space)
10496 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
10497 (WoMan-warn-ignored): Use ?\s instead of ?\ .
10498
10499 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10500
10501 * minibuffer.el (completion-file-name-table): Complete user names.
10502
10503 2012-04-20 Leo Liu <sdl.web@gmail.com>
10504
10505 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
10506 and pcase-let*.
10507
10508 2012-04-20 Chong Yidong <cyd@gnu.org>
10509
10510 * server.el (server-execute): Respect initial-buffer-choice if it
10511 is a string and there are no files to open (Bug#2825).
10512 (server-create-window-system-frame, server-create-tty-frame):
10513 Don't switch buffers here.
10514 (server-process-filter): Only try to open a window system frame if
10515 compiled with graphical support (Bug#8314).
10516
10517 2012-04-20 Dan Nicolaescu <dann@gnu.org>
10518
10519 * battery.el (battery-echo-area-format): Display remaining time
10520 for sysfs backend too (Bug#11269).
10521 (battery-linux-sysfs): Fix conditional for the charge.
10522
10523 2012-04-20 Chong Yidong <cyd@gnu.org>
10524
10525 * progmodes/gdb-mi.el (gdb): Revert previous change.
10526 (gdb-inferior-io--init-proc): New function.
10527 (gdb-init-1): Use it.
10528 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
10529 responsible for allocating a new pty and hooking it to gdb when
10530 the old pty gets an EIO due to process exit.
10531 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
10532 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
10533 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
10534
10535 2012-04-20 Eli Zaretskii <eliz@gnu.org>
10536
10537 * window.el (window-min-size, window-sizable, window-min-delta)
10538 (window-max-delta, window--resizable, window-resizable)
10539 (window-total-size, window-full-height-p, window-full-width-p)
10540 (window-in-direction, window--resize-mini-window, window-resize)
10541 (window--resize-child-windows-normal)
10542 (window--resize-child-windows, window--resize-siblings)
10543 (window--resize-this-window, adjust-window-trailing-edge)
10544 (enlarge-window, shrink-window): Doc fixes.
10545
10546 2012-04-20 Chong Yidong <cyd@gnu.org>
10547
10548 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
10549 New function to call delete-process on the gdb-inferior buffer's pty.
10550 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
10551 pty process (Bug#11273).
10552 (gdb-update): New arg to suppress talking to the gdb process.
10553 (gdb-done-or-error): Use it.
10554 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
10555 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
10556 sentinel not being called.
10557
10558 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
10559
10560 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
10561
10562 2012-04-20 Glenn Morris <rgm@gnu.org>
10563
10564 * net/network-stream.el (open-network-stream): Doc fix.
10565
10566 2012-04-20 Chong Yidong <cyd@gnu.org>
10567
10568 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
10569
10570 2012-04-20 Alan Mackenzie <acm@muc.de>
10571
10572 Ensure searching for keywords is case sensitive.
10573
10574 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
10575 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
10576 (c-defun-name, c-mark-function, c-cpp-define-name)
10577 (c-comment-indent, c-scan-conditionals, c-indent-defun)
10578 (c-context-line-break): Bind case-fold-search to nil.
10579
10580 * progmodes/cc-mode.el (c-font-lock-fontify-region):
10581 Bind case-fold-search to nil.
10582
10583 2012-04-20 Chong Yidong <cyd@gnu.org>
10584
10585 * mail/sendmail.el (mail-bury): Call return action with the right
10586 Rmail buffer (Bug#11242).
10587
10588 * server.el (server-process-filter): Handle corner case where both
10589 tty and nowait options are present (Bug#11102).
10590
10591 2012-04-20 Eli Zaretskii <eliz@gnu.org>
10592
10593 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
10594 (top level): Put into the executable the ident-style '$Id:' tag on
10595 windows-nt as well.
10596
10597 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10598
10599 * electric.el (electric-indent-post-self-insert-function): Check that
10600 electric-indent-mode is enabled in current buffer.
10601
10602 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
10603
10604 * imenu.el (imenu-progress-message): Restore; it is "used" in
10605 erc/erc-imenu.el and net/snmp-mode.el.
10606
10607 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
10608
10609 * avoid.el (mouse-avoidance-mode): Mark unused arg.
10610 (mouse-avoidance-nudge-mouse): Remove unused binding.
10611
10612 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
10613
10614 * descr-text.el (describe-char):
10615 * progmodes/python.el (python-describe-symbol):
10616 Don't call `toggle-read-only', set `buffer-read-only'.
10617
10618 * imenu.el (imenu-default-goto-function): Mark unused args.
10619 (imenu-progress-message): Remove obsolete macro; all callers changed.
10620
10621 * subr.el (keymap-canonicalize): Remove unused binding.
10622 (read-passwd): Mark unused arg.
10623
10624 * tutorial.el (tutorial--display-changes): Remove unused binding.
10625 (tutorial--save-tutorial-to): Remove unused variable.
10626
10627 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
10628 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
10629 (package-generate-autoloads, package-menu--generate)
10630 (package-menu--find-upgrades): Remove unused bindings.
10631
10632 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
10633 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
10634 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
10635 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
10636 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
10637 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
10638 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
10639 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
10640 (cua-delete-char-rectangle): Mark unused args.
10641 (cua-align-rectangle): Remove unused binding.
10642
10643 * mail/rmail.el (compilation--message->loc)
10644 (epa--find-coding-system-for-mime-charset): Declare.
10645
10646 * net/dbus.el (dbus-register-service): Declare.
10647 (dbus-name-owner-changed-handler): Remove unused binding.
10648
10649 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
10650 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
10651 (nxml-scan-backward-within): Mark unused arg.
10652 (nxml-dynamic-markup-word): Remove unused binding.
10653
10654 * mouse.el (mouse-menu-major-mode-map):
10655 * emacs-lisp/authors.el (authors-scan-change-log)
10656 (authors-add-to-author-list):
10657 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
10658 * emacs-lisp/smie.el (smie-auto-fill):
10659 * mail/sendmail.el (mail-bury):
10660 * mail/unrmail.el (unrmail):
10661 * net/tls.el (open-tls-stream):
10662 * textmodes/picture.el (picture-mouse-set-point):
10663 Remove unused bindings.
10664
10665 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
10666
10667 * net/tramp.el (tramp-action-password): Let-bind
10668 `enable-recursive-minibuffers' to t.
10669
10670 2012-04-18 Sam Steingold <sds@gnu.org>
10671
10672 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
10673 instead of 'string to accommodate values like [f11].
10674 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
10675 * progmodes/gdb-mi.el: Likewise.
10676
10677 2012-04-18 Leo Liu <sdl.web@gmail.com>
10678
10679 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
10680 current buffer.
10681 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
10682 LOCAL is nil.
10683
10684 2012-04-18 Chong Yidong <cyd@gnu.org>
10685
10686 * simple.el (line-move): Use forward-line if in batch mode
10687 (Bug#11053).
10688
10689 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
10690
10691 * files.el (after-find-file): Do not try to add a final newline if
10692 the buffer is read-only (Bug#11156).
10693
10694 2012-04-17 Richard Stallman <rms@gnu.org>
10695
10696 * mail/rmail.el (rmail-start-mail):
10697 Pass (rmail-mail-return...) for the return-action.
10698 Pass (rmail-yank-current-message...) for the yank-action.
10699 (rmail-yank-current-message): New function.
10700 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
10701 (rmail-reply): Likewise.
10702 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
10703
10704 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
10705 buffer, not the last. Reject temp buffers. Use the rmail-mode
10706 buffer, not newbuf.
10707
10708 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
10709
10710 * server.el (server-ensure-safe-dir): Simplify.
10711
10712 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10713
10714 * emacs-lisp/smie.el: Provide smarter auto-filling.
10715 (smie-auto-fill): New function.
10716 (smie-setup): Use it.
10717
10718 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
10719
10720 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
10721
10722 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
10723 (comment-indent): Use it.
10724
10725 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
10726
10727 * ses.el: The overall change is to add cell renaming, that is
10728 setting fancy names for cell symbols other than name matching
10729 "\\`[A-Z]+[0-9]+\\'" regexp .
10730 (ses-localvars): Add ses--renamed-cell-symb-list.
10731 (ses-create-cell-variable): New defun.
10732 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
10733 (ses-relocate-formula): Relocate formulas only for cells the
10734 symbols of which are not renamed, i.e. symbols whose names do not
10735 match regexp "\\`[A-Z]+[0-9]+\\'".
10736 (ses-relocate-all): Relocate values only for cells the symbols of
10737 which are not renamed.
10738 (ses-load): Create cells variables as the (ses-cell ...) are read,
10739 in order to check row col consistency with cell symbol name only
10740 for cells that are not renamed.
10741 (ses-replace-name-in-formula): New defun.
10742 (ses-rename-cell): New defun.
10743
10744 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
10745
10746 * progmodes/perl-mode.el (perl-indent-parens-as-block):
10747 New option (bug#11118).
10748 (perl-calculate-indent): Respect it.
10749
10750 2012-04-17 Glenn Morris <rgm@gnu.org>
10751
10752 * dired-aux.el (dired-mark-read-string): Doc fix.
10753
10754 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
10755
10756 * dired-aux.el (dired-mark-read-string): Offer optional completion.
10757 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
10758
10759 2012-04-17 Glenn Morris <rgm@gnu.org>
10760
10761 * mouse.el (mouse-drag-track):
10762 * speedbar.el (speedbar-frame-mode):
10763 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
10764
10765 2012-04-16 Leo Liu <sdl.web@gmail.com>
10766
10767 * progmodes/python.el: Trivial cleanup.
10768
10769 2012-04-16 Glenn Morris <rgm@gnu.org>
10770
10771 * vc/vc.el (vc-string-prefix-p):
10772 * vc/pcvs-util.el (cvs-string-prefix-p):
10773 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
10774 * mpc.el (mpc-string-prefix-p):
10775 Make all of these into obsolete aliases for string-prefix-p.
10776 Update callers.
10777 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
10778
10779 * textmodes/two-column.el: Move custom options to the start.
10780 (frame-width): Remove compat definition.
10781 (2C-associate-buffer, 2C-dissociate):
10782 Use with-current-buffer rather than save-excursion.
10783 (2C-dissociate): Force a mode-line update.
10784 (2C-autoscroll): Use ignore-errors.
10785
10786 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
10787 Autoload trivia.
10788
10789 * emacs-lisp/cl-extra.el (*random-state*):
10790 Remove unnecessary declaration.
10791
10792 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
10793
10794 * play/cookie1.el (cookie-snarf):
10795 Give an explicit error if input file cannot be read.
10796
10797 * play/yow.el (yow-file): Use expand-file-name rather than concat.
10798
10799 * progmodes/perl-mode.el (c-macro-expand):
10800 Remove unnecessary autoload (it is in loaddefs.el).
10801
10802 * textmodes/picture.el (picture-desired-column)
10803 (picture-update-desired-column): Convert comments to doc-strings.
10804 (picture-substitute): Remove function.
10805 (picture-mode-map): Initialize in the defvar.
10806
10807 * woman.el: Remove eval-after-load for tar-mode.
10808 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
10809 (woman-tar-extract-file): Autoload it.
10810
10811 * frame.el (automatic-hscrolling): Make this alias obsolete.
10812
10813 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10814
10815 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
10816 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
10817 (ispell-dictionary-base-alist): Revert to original XEmacs
10818 friendly version for default. [:alpha:] will be added in
10819 `ispell-set-spellchecker-params' if needed.
10820
10821 2012-04-16 Chong Yidong <cyd@gnu.org>
10822
10823 * image.el (imagemagick--file-regexp): New variable.
10824 (imagemagick-register-types): Use it.
10825 (imagemagick-types-inhibit): Add :set function. Allow new value
10826 of t to inhibit all types.
10827
10828 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
10829 so we can preload it.
10830
10831 * loadup.el (fboundp): Preload regexp-opt, needed by
10832 imagemagick-register-types.
10833
10834 2012-04-15 Chong Yidong <cyd@gnu.org>
10835
10836 * frame.el (scrolling): Remove nearly unused customization group.
10837
10838 * scroll-all.el (scroll-all-mode): Move to windows group.
10839
10840 2012-04-15 Chong Yidong <cyd@gnu.org>
10841
10842 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
10843
10844 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10845
10846 Avoid the use of ((lambda ...) ...) in lexical-binding code.
10847 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
10848
10849 2012-04-15 Glenn Morris <rgm@gnu.org>
10850
10851 * simple.el (process-file-side-effects): Doc fix.
10852
10853 2012-04-15 Glenn Morris <rgm@gnu.org>
10854
10855 * international/mule-cmds.el (set-language-environment): Doc fix.
10856
10857 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
10858
10859 * server.el (server-auth-key, server-generate-key): Doc fixes.
10860 (server-get-auth-key): Doc fix. Use `string-match-p'.
10861 (server-start): Reflow docstring.
10862
10863 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
10864
10865 * server.el (server-generate-key): `called-interactively-p'
10866 requires a parameter.
10867
10868 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
10869
10870 * server.el (server-auth-key): New variable.
10871 (server-generate-key, server-get-auth-key): New function.
10872 (server-start): Use the new variable and functions to allow
10873 setting a permanent server key (bug#9423).
10874
10875 2012-04-14 Leo Liu <sdl.web@gmail.com>
10876
10877 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
10878
10879 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
10880
10881 Spelling fixes.
10882 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
10883 Emacs uses American spelling.
10884
10885 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
10886
10887 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
10888 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
10889 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
10890 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
10891
10892 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10893
10894 * progmodes/which-func.el (which-func-modes): Change default.
10895
10896 2012-04-14 Kim F. Storm <storm@cua.dk>
10897
10898 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
10899 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
10900
10901 2012-04-14 Chong Yidong <cyd@gnu.org>
10902
10903 * custom.el (custom-theme-set-variables): Doc fix.
10904
10905 2012-04-14 Glenn Morris <rgm@gnu.org>
10906
10907 * international/mule.el (set-auto-coding-for-load): Doc fix.
10908
10909 2012-04-14 Alan Mackenzie <acm@muc.de>
10910
10911 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
10912 imenu work again for Objective C Mode. Correct the *-index values,
10913 these having been disturbed by a previous change in 2011-08.
10914
10915 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
10916 Correct two search limits.
10917
10918 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10919
10920 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
10921
10922 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
10923
10924 * international/characters.el: Fix sorting.
10925
10926 2012-04-14 Eli Zaretskii <eliz@gnu.org>
10927
10928 * international/characters.el: Add more missing Latin case pairs.
10929
10930 2012-04-14 Glenn Morris <rgm@gnu.org>
10931
10932 * files.el (dir-locals-set-class-variables): Doc fix.
10933
10934 2012-04-14 Eli Zaretskii <eliz@gnu.org>
10935
10936 * international/characters.el: Add set-case-syntax-pair call for
10937 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
10938 counterpart. (Bug#11209)
10939
10940 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
10941
10942 2012-04-14 Glenn Morris <rgm@gnu.org>
10943
10944 * calendar/holidays.el (calendar-check-holidays): Doc fix.
10945
10946 2012-04-14 Eli Zaretskii <eliz@gnu.org>
10947
10948 * textmodes/ispell.el (ispell-dictionary-base-alist):
10949 Add data for Hebrew.
10950
10951 2012-04-14 Chong Yidong <cyd@gnu.org>
10952
10953 * net/rcirc.el (rcirc-cmd-quit):
10954 Revert 2012-03-18 change (Bug#11192).
10955
10956 2012-04-14 Glenn Morris <rgm@gnu.org>
10957
10958 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
10959
10960 2012-04-14 Eli Zaretskii <eliz@gnu.org>
10961
10962 * minibuffer.el (completion-in-region-mode-map):
10963 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
10964
10965 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
10966
10967 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
10968
10969 2012-04-13 Masatake YAMATO <yamato@redhat.com>
10970
10971 * minibuffer.el (minibuffer-local-filename-syntax): New variable
10972 to allow `C-M-f' and `C-M-b' to move to the nearest path
10973 separator (bug#9511).
10974
10975 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
10976
10977 * avoid.el: Require cl when compiling. And also move the
10978 `provide' to the end.
10979
10980 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10981
10982 * avoid.el (mouse-avoidance-banish-position): New variable.
10983 (mouse-avoidance-banish-destination): Use it (bug#10165).
10984
10985 2012-04-13 Leo Liu <sdl.web@gmail.com>
10986
10987 * progmodes/which-func.el (which-func-modes): Add objc-mode.
10988
10989 2012-04-13 Ken Brown <kbrown@cornell.edu>
10990
10991 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
10992 this is no longer needed now that cygstart understands file:// URLs.
10993 (browse-url-filename-alist): For the same reason, don't modify
10994 file:// URLs on Cygwin.
10995
10996 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
10997
10998 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
10999 the region on shift if the binding is already shifted (bug#11221).
11000
11001 2012-04-12 Glenn Morris <rgm@gnu.org>
11002
11003 * mail/mailpost.el: Move to obsolete/.
11004
11005 2012-04-12 Drew Adams <drew.adams@oracle.com>
11006
11007 * imenu.el (imenu--generic-function): Ignore invisible definitions
11008 (bug#10123).
11009
11010 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
11011
11012 * hexl.el (hexl-bits): New variable.
11013 (hexl-options): Mention the variable in the doc string.
11014 (hexl-rulerise, hexl-line-displen): New functions.
11015 (hexl-mode): Mention the new variable.
11016 (hexl-mode, hexl-current-address, hexl-current-address):
11017 Use the displen.
11018 (hexl-ascii-start-column): New function.
11019 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
11020 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
11021
11022 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11023
11024 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
11025 '("-i" ENCODING), in 2 separate command-line arguments, to specify
11026 the encoding, as expected by hunspell.
11027
11028 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
11029
11030 * battery.el (battery--linux-sysfs-regexp): New const.
11031 (battery-status-function): Use it. Remove yeeloong special case.
11032 (battery-yeeloong-sysfs): Remove.
11033 (battery-echo-area-format): Remove yeeloong special case.
11034
11035 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
11036
11037 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
11038 Reported by Noah Friedman.
11039
11040 * subr.el (read-passwd): Use read-string.
11041
11042 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11043
11044 * vcursor.el (vcursor-move): Increase the priority of the overlay
11045 (bug#9663).
11046
11047 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
11048
11049 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
11050 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
11051
11052 2012-04-11 William Stevenson <yhvh2000@gmail.com>
11053
11054 * textmodes/artist.el (artist-mode): Convert artist-mode to use
11055 define-minor-mode (bug#10760).
11056
11057 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
11058
11059 * progmodes/grep.el (rgrep): Tweak the find command line so
11060 that directories matching `grep-find-ignored-files' won't be
11061 pruned (bug#10351).
11062
11063 2012-04-11 Chong Yidong <cyd@gnu.org>
11064
11065 * startup.el (command-line): Remove support for long-obsolete
11066 variable font-lock-face-attributes.
11067
11068 2012-04-11 Glenn Morris <rgm@gnu.org>
11069
11070 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
11071
11072 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
11073
11074 * window.el (window--state-get-1): Obey window-point-insertion-type.
11075
11076 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
11077
11078 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
11079 to previous function when point is on the first character of a
11080 function. Take care of that in `narrow-to-defun' (bug#6157).
11081
11082 2012-04-11 Glenn Morris <rgm@gnu.org>
11083
11084 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
11085 not just file-errors.
11086
11087 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
11088 (vc-bzr-sha1): Use internal sha1.
11089
11090 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
11091
11092 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
11093
11094 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
11095
11096 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
11097 that start in the middle of the line (bug#10496).
11098
11099 2012-04-10 Dan Nicolaescu <dann@gnu.org>
11100
11101 * battery.el (battery-linux-proc-acpi): Only one battery is
11102 discharged at a time, but that seems to confuse battery.el when
11103 computing `rate-type' for the battery not being discharged
11104 (bug#10332).
11105
11106 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11107
11108 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
11109
11110 * international/quail.el: Use dolist and simplify.
11111 (quail-define-package, quail-update-keyboard-layout)
11112 (quail-define-rules): Use dolist.
11113 (quail-insert-kbd-layout, quail-get-translation): CSE.
11114
11115 * tmm.el: Use dolist, remove left over hook.
11116 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
11117 Use dolist.
11118 (calendar-load-hook): Don't mess with it.
11119
11120 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
11121 Use derived-mode-p. Run the diff asynchronously.
11122
11123 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
11124
11125 * obsolete/mouse-sel.el: Add an Obsolete-since header.
11126
11127 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
11128
11129 * misc.el: Display absolute path of loaded DLLs (bug#10424).
11130 (list-dynamic-libraries--loaded): New function.
11131 (list-dynamic-libraries--refresh): Use it.
11132
11133 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
11134
11135 * progmodes/python.el (python-fill-paragraph):
11136 Make python-fill-region in a multiline string work when font-lock is
11137 disabled (bug#7018).
11138
11139 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
11140
11141 * language/european.el (cp775): Add oem/legacy (en)coding on
11142 DOS/MS Windows for the Baltic languages. There are still plenty
11143 of texts written in this encoding/codepage (bug#6519).
11144
11145 2012-04-10 Glenn Morris <rgm@gnu.org>
11146
11147 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
11148 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
11149
11150 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
11151
11152 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
11153 next-line "n" and previous-line "p" in order to make recentf more
11154 consistent with ibuffer, dired or org-mode (bug#9387).
11155
11156 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
11157
11158 * image.el (put-image): Return the overlay created instead of the
11159 optional input string (bug#7834). Note that this may break code
11160 that is (for some reason or other) depending on `put-image'
11161 returning the string.
11162
11163 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
11164
11165 * simple.el (zap-to-char): Allow zapping using input methods
11166 (bug#1580).
11167
11168 * textmodes/fill.el (fill-region): Leave point and mark where they
11169 were before filling (bug#5399).
11170
11171 2012-04-09 Glenn Morris <rgm@gnu.org>
11172
11173 * version.el (emacs-bzr-get-version):
11174 Handle lightweight checkouts of local branches.
11175
11176 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
11177
11178 * international/characters.el: Recover lost case pairs. (Bug#11209)
11179
11180 2012-04-09 Chong Yidong <cyd@gnu.org>
11181
11182 * custom.el (custom-variable-p): Return nil for non-symbol
11183 arguments instead of signaling an error.
11184 (user-variable-p): Obsolete alias for custom-variable-p.
11185
11186 * apropos.el (apropos-variable):
11187 * files-x.el (read-file-local-variable):
11188 * simple.el (set-variable):
11189 * woman.el (woman-mini-help):
11190 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
11191
11192 2012-04-09 Glenn Morris <rgm@gnu.org>
11193
11194 * startup.el (normal-top-level): Don't look for leim-list.el
11195 in places where it will not be found. (Bug#910)
11196
11197 * international/mule-cmds.el (set-default-coding-systems):
11198 * files.el (normal-mode):
11199 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
11200 This function was removed with ucs-tables.el in 2008.
11201
11202 2012-04-08 Eli Zaretskii <eliz@gnu.org>
11203
11204 * textmodes/ispell.el (ispell-check-version): For hunspell, set
11205 ispell-encoding8-command to "-i", without a trailing space.
11206 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
11207 separate command-line arguments, to specify the encoding, since
11208 that's how hunspell expects it.
11209
11210 2012-04-08 Glenn Morris <rgm@gnu.org>
11211
11212 * loadup.el: Load bindings before cus-start.
11213 This reduces somewhat the number of "rogue" settings in emacs -Q.
11214
11215 2012-04-07 Glenn Morris <rgm@gnu.org>
11216
11217 * version.el (emacs-bzr-get-version): New function.
11218 (emacs-bzr-version): New variable.
11219 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
11220 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
11221
11222 2012-04-07 Eli Zaretskii <eliz@gnu.org>
11223
11224 * international/uni-bidi.el, international/uni-category.el:
11225 * international/uni-combining.el, international/uni-decimal.el:
11226 * international/uni-decomposition.el, international/uni-digit.el:
11227 * international/uni-lowercase.el, international/uni-mirrored.el:
11228 * international/uni-name.el, international/uni-numeric.el:
11229 * international/uni-titlecase.el, international/uni-uppercase.el:
11230 Update for Unicode 6.1.
11231
11232 2012-04-07 Eli Zaretskii <eliz@gnu.org>
11233
11234 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
11235
11236 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
11237
11238 * window.el (shrink-window): Mention the `window-min-height'
11239 variable in the doc string.
11240
11241 2012-04-05 Bastien Guerry <bzg@altern.org>
11242
11243 * color.el (color-lighten-name): Fix typo.
11244
11245 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11246
11247 * server.el (server--on-display-p): New function.
11248 (server--on-display-p): Use it.
11249
11250 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
11251
11252 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
11253 (bug#11145).
11254
11255 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11256
11257 * comint.el (comint--common-quoted-suffix): Check string boundary
11258 before comparing (bug#11158).
11259 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
11260
11261 2012-04-04 Chong Yidong <cyd@gnu.org>
11262
11263 * minibuffer.el (completion-extra-properties): Doc fix.
11264
11265 * subr.el (delayed-warnings-hook): Doc fix.
11266
11267 2012-04-04 Daiki Ueno <ueno@unixuser.org>
11268
11269 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
11270 selection (Bug#11159).
11271 (epa-insert-keys): Inform that the default public key will be
11272 exported if no key is selected.
11273
11274 2012-04-04 Richard Stallman <rms@gnu.org>
11275
11276 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
11277
11278 2012-04-03 Chong Yidong <cyd@gnu.org>
11279
11280 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
11281 mail-insert-file, not its obsolete alias mail-attach-file.
11282
11283 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
11284
11285 * notifications.el (notifications-notify): Fix docstring.
11286
11287 2012-04-02 Glenn Morris <rgm@gnu.org>
11288
11289 * emacs-lisp/authors.el (authors-aliases): Another addition.
11290
11291 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
11292
11293 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
11294 `tramp-compat-call-process' instead of `tramp-local-call-process'.
11295 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
11296
11297 2012-04-01 Chong Yidong <cyd@gnu.org>
11298
11299 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
11300 Handle root directory properly.
11301 (copy-directory): Caller changed.
11302
11303 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
11304 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
11305
11306 2012-03-31 Glenn Morris <rgm@gnu.org>
11307
11308 * term/xterm.el (xterm-extra-capabilities): Doc fix.
11309
11310 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
11311
11312 * calendar/calendar.el (calendar-window-list)
11313 (calendar-hide-window): Restore. (Bug#11140)
11314 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
11315
11316 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
11317
11318 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11319
11320 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
11321 Check if file is a symlink (Bug#10489).
11322
11323 * files.el (copy-directory): Likewise.
11324
11325 2012-03-30 Chong Yidong <cyd@gnu.org>
11326
11327 * image.el (imagemagick-types-inhibit)
11328 (imagemagick-register-types): Doc fix.
11329
11330 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11331
11332 * textmodes/ispell.el (ispell-get-extended-character-mode):
11333 Disable extended-char-mode for hunspell. hunspell does not support it
11334 and treats ~word as ordinary words in pipe mode.
11335
11336 2012-03-30 Glenn Morris <rgm@gnu.org>
11337
11338 * tutorial.el (help-with-tutorial): Ensure local variables don't
11339 happen to make the buffer read-only. (Bug#11127)
11340
11341 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
11342
11343 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
11344 (perl-calculate-indent): Return `noindent' in strings.
11345
11346 2012-03-28 Sam Steingold <sds@gnu.org>
11347
11348 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
11349 instead of the broken adhockery which does not prevent calendar
11350 buffers from being displayed at random after exit.
11351 (calendar-window-list, calendar-hide-window): Remove the broken
11352 adhockery.
11353
11354 2012-03-28 Glenn Morris <rgm@gnu.org>
11355
11356 * replace.el (query-replace-map): Doc fix.
11357
11358 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
11359
11360 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
11361 contents. (Bug#11109)
11362
11363 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11364
11365 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
11366 (bug#11077).
11367 (avl-tree--check, avl-tree--check-node): New funs.
11368
11369 2012-03-27 Martin Rudalics <rudalics@gmx.at>
11370
11371 * window.el (switch-to-visible-buffer): New option.
11372 (switch-to-prev-buffer, switch-to-next-buffer):
11373 Observe switch-to-visible-buffer. Make sure that checking for a window
11374 showing a buffer already is done on the same frame.
11375
11376 2012-03-27 Glenn Morris <rgm@gnu.org>
11377
11378 * startup.el (mail-host-address): Doc fix.
11379
11380 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11381
11382 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
11383 than 197 variables.
11384
11385 2012-03-26 Ami Fischman <ami@fischman.org>
11386
11387 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
11388
11389 2012-03-26 Glenn Morris <rgm@gnu.org>
11390
11391 * files.el (save-buffers-kill-emacs): Doc fix.
11392
11393 * startup.el (normal-top-level, command-line, command-line-1):
11394 Give them doc strings.
11395
11396 2012-03-25 Eli Zaretskii <eliz@gnu.org>
11397
11398 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
11399 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
11400
11401 2012-03-25 Chong Yidong <cyd@gnu.org>
11402
11403 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
11404 theme if it was previously enabled before (Bug#11031).
11405
11406 * cus-theme.el (custom-theme-write-faces): Retrieve current face
11407 spec with custom-face-get-current-spec if its :shown-value is not
11408 determined yet (Bug#9337).
11409 (customize-create-theme, custom-theme-revert): Doc fixes.
11410
11411 * button.el (button-at): Minor addition to docstring.
11412
11413 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
11414
11415 * vc/vc.el (vc-merge): Fix a prompt.
11416
11417 2012-03-24 Chong Yidong <cyd@gnu.org>
11418
11419 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
11420 point (Bug#9623).
11421
11422 * button.el (button-at): Minor addition to docstring.
11423
11424 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
11425
11426 * newcomment.el (comment-choose-indent): No space after BOL.
11427
11428 2012-03-22 Sam Steingold <sds@gnu.org>
11429
11430 * window.el (switch-to-prev-buffer): Revert last patch because the
11431 bug turned out to be an advertised feature (Elisp manual 28.14).
11432
11433 2012-03-22 Glenn Morris <rgm@gnu.org>
11434
11435 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
11436 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
11437
11438 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
11439
11440 * net/network-stream.el (network-stream-open-starttls): Make error
11441 message under Windows be less misleading.
11442
11443 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
11444
11445 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
11446 understands (bug#9942).
11447
11448 2012-03-22 Chong Yidong <cyd@gnu.org>
11449
11450 * simple.el (end-of-visible-line): Handle return value of
11451 next-single-property-change properly (Bug#9371).
11452
11453 2012-03-22 Kenichi Handa <handa@m17n.org>
11454
11455 * international/quail.el (quail-insert-kbd-layout): Fix previous
11456 change. To avoid unwanted bidi reordering, use
11457 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
11458
11459 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
11460
11461 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
11462 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
11463 (ruby-beginning-of-indent): Be more careful with the difference
11464 between word-boundary and symbol boundary.
11465 (ruby-mode-syntax-table): Make : a symbol constituent.
11466
11467 2012-03-21 Andreas Politz <politza@fh-trier.de>
11468
11469 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
11470
11471 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
11472
11473 * progmodes/etags.el (tags-completion-at-point-function):
11474 Improve last fix.
11475
11476 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
11477
11478 2012-03-21 Sam Steingold <sds@gnu.org>
11479
11480 * progmodes/etags.el (tags-completion-at-point-function):
11481 Avoid the error when point is inside the pattern.
11482
11483 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
11484
11485 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
11486 line (Bug#10855).
11487
11488 2012-03-21 Drew Adams <drew.adams@oracle.com>
11489
11490 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
11491
11492 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
11493
11494 * ido.el (ido-set-current-directory, ido-read-internal)
11495 (ido-choose-completion-string, ido-completion-help): Handle nil
11496 value of ido-completion-buffer (Bug#11008).
11497
11498 2012-03-21 Sam Steingold <sds@gnu.org>
11499
11500 * window.el (switch-to-prev-buffer): Do not switch to a visible
11501 window previous buffer, just like with the frame previous buffers.
11502
11503 2012-03-21 Chong Yidong <cyd@gnu.org>
11504
11505 * faces.el (make-face, make-empty-face, copy-face):
11506 * face-remap.el (face-remap-add-relative, face-remap-set-base):
11507 Doc fixes.
11508
11509 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
11510
11511 * wid-edit.el (widget-complete-field): Remove (bug#11051).
11512 (widget-complete): Remove broken use of it.
11513
11514 2012-03-20 Chong Yidong <cyd@gnu.org>
11515
11516 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11517 Use string-width and truncate-string-width to handle arbitrary
11518 characters.
11519
11520 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
11521
11522 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
11523 to draw rectangles, not squares. (Regression introduced by revno
11524 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
11525
11526 2012-03-18 Chong Yidong <cyd@gnu.org>
11527
11528 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
11529 it is not yet defined (for temacs).
11530
11531 2012-03-18 Leo Liu <sdl.web@gmail.com>
11532
11533 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
11534 prefix.
11535
11536 2012-03-17 Eli Zaretskii <eliz@gnu.org>
11537
11538 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
11539 (ispell-choices-win-default-height, ispell-silently-savep)
11540 (ispell-dictionary-alist, ispell-encoding8-command)
11541 (ispell-check-version, ispell-aspell-find-dictionary)
11542 (ispell-valid-dictionary-list, ispell-words-keyword)
11543 (ispell-get-word, ispell-internal-change-dictionary)
11544 (ispell-region, ispell-skip-region-list)
11545 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
11546 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
11547 (ispell-message-text-end, ispell-message)
11548 (ispell-buffer-local-parsing): Doc fix.
11549
11550 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
11551
11552 * htmlfontify.el: Add support for code block fontification for ODT
11553 export (Bug #9914).
11554 (hfy-optimisations): Define new option
11555 `body-text-only'
11556 (hfy-fontify-buffer): Honor above setting.
11557 (hfy-begin-span, hfy-end-span): New routines factored out form
11558 `hfy-fontify-buffer'.
11559 (hfy-begin-span-handler, hfy-end-span-handler): New variables
11560 that permit insertion of custom tags.
11561 (hfy-fontify-buffer): Use above handlers.
11562 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
11563 (hfy-face-to-css): Re-defined to be a variable.
11564 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
11565 over multiple runs. This is made possible by having the caller let
11566 bind a special variable `hfy-user-sheet-assoc'.
11567 (htmlfontify-string): New defun.
11568 (hfy-compile-face-map): Make sure that the last char in the
11569 buffer is correctly fontified.
11570 (hfy-face-resolve-face): Whitespace only change.
11571
11572 2012-03-17 Eli Zaretskii <eliz@gnu.org>
11573
11574 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
11575 message more clear.
11576
11577 2012-03-16 Leo Liu <sdl.web@gmail.com>
11578
11579 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
11580
11581 2012-03-16 Alan Mackenzie <acm@muc.de>
11582
11583 Further optimise the handling of large macros.
11584
11585 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
11586 limit to a call of `c-literal-limits'.
11587 (c-determine-+ve-limit): New function.
11588 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
11589 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
11590 In CASE 5B, restrict a search limit to 500.
11591 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
11592
11593 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
11594 Restrict macro bounds to +-500 from after-change's BEG END.
11595
11596 2012-03-16 Leo Liu <sdl.web@gmail.com>
11597
11598 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
11599
11600 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
11601
11602 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
11603 `special-mode' setting of `buffer-read-only'. (Bug#11010)
11604
11605 2012-03-16 Glenn Morris <rgm@gnu.org>
11606
11607 * view.el (view-buffer, view-buffer-other-window)
11608 (view-buffer-other-frame): Doc fixes re special mode-class.
11609
11610 * subr.el (eval-after-load): If named feature is provided not from
11611 a file, run after-load forms. (Bug#10946)
11612
11613 * calendar/calendar.el (calendar-insert-at-column):
11614 Handle non-unit-width characters a bit better. (Bug#10978)
11615
11616 2012-03-15 Chong Yidong <cyd@gnu.org>
11617
11618 * emacs-lisp/ring.el (ring-extend): New function.
11619 (ring-insert+extend): Extend the ring correctly (Bug#11019).
11620
11621 * comint.el (comint-read-input-ring)
11622 (comint-add-to-input-history): Grow comint-input-ring lazily.
11623
11624 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11625
11626 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
11627 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
11628
11629 * imenu.el: Fix multiple inheritance breakage (bug#9199).
11630 (imenu-add-to-menubar): Don't add a redundant index.
11631 (imenu-update-menubar): Handle a dynamically composed keymap.
11632
11633 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
11634
11635 * mail/sendmail.el (mail-encode-header):
11636 Bind rfc2047-encode-encoded-words to nil.
11637
11638 2012-03-13 Glenn Morris <rgm@gnu.org>
11639
11640 * calendar/calendar.el (calendar-string-spread):
11641 Handle non-unit-width characters a bit better. (Bug#10978)
11642
11643 2012-03-13 Leo Liu <sdl.web@gmail.com>
11644
11645 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
11646 directory and file as argument (Bug#10822).
11647
11648 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
11649
11650 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
11651 For dynamically generated code, follow $PC.
11652 (gdb-disassembly-handler-custom): Handle no function name case.
11653
11654 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
11655
11656 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
11657 * emulation/ws-mode.el (ws-query-replace):
11658 * sort.el (sort-regexp-fields):
11659 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
11660
11661 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11662
11663 * dabbrev.el: Fix cycle completion order (bug#10963).
11664 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
11665 (dabbrev-completion): Don't use an obarray; provide
11666 a cycle-sort-function.
11667
11668 2012-03-12 Leo Liu <sdl.web@gmail.com>
11669
11670 * simple.el (kill-new): Use equal-including-properties for comparison.
11671 (kill-do-not-save-duplicates): Doc fix.
11672
11673 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11674
11675 * dabbrev.el: Fix cycle completion (bug#10963).
11676 Use lexical binding and wrap to 80 columns.
11677 (dabbrev-completion): Delay computing the list of completions.
11678
11679 2012-03-12 Kenichi Handa <handa@m17n.org>
11680
11681 * international/quail.el (quail-insert-kbd-layout): Surround each
11682 row by LRO and PDF instead of inserting many LRMs. Pad the left
11683 and right of each non-spacing marks. Insert invisible space
11684 between lower and upper characters to prevent composition.
11685
11686 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11687
11688 * minibuffer.el (minibuffer-complete): Don't get confused when the
11689 function is run twice via different commands (bug#10958).
11690 (complete-with-action): Fix docstring.
11691
11692 2012-03-12 Chong Yidong <cyd@gnu.org>
11693
11694 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
11695 (nxml-completion-at-point-function): New function.
11696 (nxml-mode): Use it.
11697 (nxml-bind-meta-tab-to-complete-flag): Default to t.
11698
11699 * emacs-lisp/package.el (package-unpack, package-unpack-single):
11700 Load generated autoloads file before byte compiling (Bug#10970).
11701 (package--make-autoloads-and-compile): New helper fun.
11702
11703 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
11704
11705 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
11706
11707 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
11708
11709 * autorevert.el (auto-revert-handler): Ensure, that
11710 file-readable-p is applied only for local files or in
11711 auto-revert-tail-mode.
11712
11713 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
11714
11715 * server.el (server-eval-at): Handle non-tcp connections.
11716 Decode result string.
11717
11718 * server.el (server-msg-size): New constant.
11719 (server-reply-print): New function.
11720 (server-eval-and-print): Use it.
11721 (server-eval-at): Use server-quote-arg and server-unquote-arg.
11722 Handle -print-nonl.
11723
11724 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
11725
11726 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
11727 (Bug#10987).
11728
11729 2012-03-11 Chong Yidong <cyd@gnu.org>
11730
11731 * simple.el (goto-line): Doc fix (Bug#9938).
11732
11733 * subr.el (save-window-excursion): Doc fix (Bug#9979).
11734
11735 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
11736 when finished (Bug#10963).
11737
11738 2012-03-11 Martin Rudalics <rudalics@gmx.at>
11739
11740 * window.el (split-window-below): Fix bug in case where
11741 split-window-keep-point is nil (Bug#10971).
11742
11743 2012-03-11 Juri Linkov <juri@jurta.org>
11744
11745 * replace.el (replace-highlight): Set isearch-word to nil
11746 unconditionally. (Bug#10887)
11747
11748 2012-03-10 Eli Zaretskii <eliz@gnu.org>
11749
11750 * net/mairix.el (mairix-replace-invalid-chars): Rename from
11751 mairix-replace-illegal-chars; all callers changed. Don't remove
11752 ^, ~, and = characters: they are meaningful in mairix search specs.
11753 (mairix-widget-create-query): Add usage information about mairix
11754 search forms: negating words, searching for substrings, etc.
11755
11756 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
11757
11758 * international/fontset.el (font-encoding-alist): Add an entry for
11759 ksx1001 (Bug#5667).
11760
11761 2012-03-10 Richard Stallman <rms@gnu.org>
11762
11763 * mail/sendmail.el (mail-encode-header):
11764 Set rfc2047-encode-encoded-words.
11765
11766 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
11767
11768 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
11769 view buffer means not swapped.
11770 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
11771 (rmail-write-region-annotate): Error if real text has disappeared.
11772
11773 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
11774
11775 2012-03-10 Chong Yidong <cyd@gnu.org>
11776
11777 * emulation/cua-rect.el (cua--init-rectangles):
11778 * emulation/cua-base.el (cua--init-keymaps):
11779 Add delete-forward-char to remappings (Bug#9666).
11780
11781 2012-03-10 Martin Rudalics <rudalics@gmx.at>
11782
11783 * speedbar.el (speedbar-unhighlight-one-tag-line):
11784 Avoid unhighlighting due to frame switching (Bug#10275).
11785
11786 2012-03-10 Chong Yidong <cyd@gnu.org>
11787
11788 * minibuffer.el (completion-in-region, completion-help-at-point):
11789 Give the completion field overlay a high priority (Bug#6830).
11790
11791 * dired.el (dired-goto-file): Recognize absolute file name
11792 listings (Bug#7126).
11793 (dired-goto-file-1): New helper function.
11794 (dired-toggle-read-only): Inhibit warnings.
11795
11796 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
11797
11798 * net/dbus.el (dbus-property-handler): Return empty array if
11799 there are no properties.
11800
11801 2012-03-09 Leo Liu <sdl.web@gmail.com>
11802
11803 * savehist.el (savehist-printable): Stricter check for string
11804 value (Bug#10937).
11805
11806 2012-03-09 Eli Zaretskii <eliz@gnu.org>
11807
11808 * mail/smtpmail.el (smtpmail-send-it):
11809 Bind coding-system-for-write to *-unix, so that FCC files are kept in
11810 valid mbox format.
11811
11812 2012-03-09 Glenn Morris <rgm@gnu.org>
11813
11814 * files.el (dir-locals-find-file):
11815 Don't check result is regular, readable.
11816 (dir-locals-read-from-file): Demote errors.
11817
11818 2012-03-08 Eli Zaretskii <eliz@gnu.org>
11819
11820 * international/quail.el (quail-insert-kbd-layout):
11821 Insert invisible LRM characters before each character in a keyboard
11822 layout cell, to prevent their reordering by bidi display engine.
11823 For details, see the discussion in
11824 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
11825
11826 2012-03-08 Alan Mackenzie <acm@muc.de>
11827
11828 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
11829 the starting position; make it extend the marked region when
11830 invoked repeatedly - all under appropriate circumstances.
11831 Fixes bugs #5525, #10906.
11832
11833 2012-03-08 Glenn Morris <rgm@gnu.org>
11834
11835 * files.el (locate-dominating-file, dir-locals-find-file):
11836 Undo 2012-03-06 change.
11837
11838 2012-03-07 Eli Zaretskii <eliz@gnu.org>
11839
11840 * international/quail.el (quail-help):
11841 Force bidi-paragraph-direction be left-to-right. See discussion in
11842 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
11843 for the reason.
11844
11845 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
11846
11847 Avoid superfluous registering of signals. (Bug#10807)
11848
11849 * notifications.el (notifications-on-action-object)
11850 (notifications-on-close-object): New defvars.
11851 (notifications-on-action-signal, notifications-on-closed-signal):
11852 Unregister the signal if not needed any longer.
11853 (notifications-notify): Register `notifications-action-signal' or
11854 `notifications-closed-signal', if :on-action or :on-close has been
11855 passed as argument.
11856
11857 2012-03-07 Chong Yidong <cyd@gnu.org>
11858
11859 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
11860 non-X platforms.
11861
11862 2012-03-06 Glenn Morris <rgm@gnu.org>
11863
11864 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
11865 (x-disown-selection-internal, x-get-selection-internal):
11866 Doc fix (add arglist signatures). (Bug#10783)
11867
11868 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
11869
11870 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
11871 Handle breakpoints with no "type".
11872
11873 2012-03-06 Glenn Morris <rgm@gnu.org>
11874
11875 * files.el (locate-dominating-file): Add optional predicate argument.
11876 (dir-locals-find-file): Make use of above change.
11877
11878 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
11879
11880 * info.el (Info-insert-dir): Also try "dir.gz".
11881
11882 2012-03-06 Glenn Morris <rgm@gnu.org>
11883
11884 * files.el (dir-locals-find-file):
11885 Ignore non-readable or non-regular files. (Bug#10928)
11886
11887 * files.el (locate-dominating-file): Doc fix.
11888
11889 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
11890
11891 * calendar/calendar.el (calendar-set-mode-line):
11892 `getenv' returns a string. (Bug#10951)
11893
11894 2012-03-05 Leo Liu <sdl.web@gmail.com>
11895
11896 * simple.el (backward-delete-char-untabify): Constrain point to
11897 field (Bug#10939).
11898
11899 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
11900
11901 2012-03-05 Chong Yidong <cyd@gnu.org>
11902
11903 * simple.el (count-words): If called from Lisp, return the word
11904 count, for symmetry with `count-lines'. Arglist changed.
11905 (count-words--message): Args changed. Consolidate counting code
11906 from count-words and count-words-region.
11907 (count-words-region): Caller changed.
11908 (count-lines-region): Make it an obsolete alias.
11909
11910 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
11911
11912 * saveplace.el (save-place-to-alist)
11913 (save-place-ignore-files-regexp): Allow value nil to disable this
11914 feature.
11915
11916 2012-03-04 Chong Yidong <cyd@gnu.org>
11917
11918 * faces.el (face-spec-reset-face): For the default face, reset the
11919 attributes to default values (Bug#10748).
11920
11921 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
11922
11923 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
11924 previous patch: Check `message-send-mail-function', and not the
11925 default function (bug#10897).
11926
11927 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
11928
11929 * notifications.el (notifications-on-action-signal)
11930 (notifications-on-closed-signal): Check for unique service name of
11931 incoming event. Fix error in removing entry.
11932 (top): Register for signals with wildcard service name.
11933 (notifications-notify): Use daemon unique service name for map entries.
11934
11935 2012-03-04 Chong Yidong <cyd@gnu.org>
11936
11937 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
11938
11939 2012-03-04 Glenn Morris <rgm@gnu.org>
11940
11941 * abbrev.el (copy-abbrev-table, abbrev-table-p)
11942 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
11943 (expand-abbrev, define-abbrev-table): Doc fixes.
11944
11945 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11946
11947 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
11948 `message-default-send-mail-function' and not `send-mail-function'
11949 when doing the prompting for `sendmail-query-once' before sending
11950 in Message buffers (bug#10897).
11951
11952 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
11953 This is inconsistent with all the other stream functions, which leave
11954 the setting up to the higher levels (if so wanted) (bug#10931).
11955
11956 2012-03-02 Alan Mackenzie <acm@muc.de>
11957
11958 Depessimize the handling of very large macros.
11959
11960 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
11961 (c-macro-cache-syntactic): New variables to implement a one
11962 element macro cache.
11963 (c-invalidate-macro-cache): New function.
11964 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
11965 Adapt to use the new cache.
11966 (c-state-safe-place): Use better the cache of safe positions.
11967 (c-state-semi-nonlit-pos-cache)
11968 (c-state-semi-nonlit-pos-cache-limit):
11969 New variables for...
11970 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
11971 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
11972 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
11973 Use c-state-semi-safe-place.
11974
11975 * progmodes/cc-langs.el (c-get-state-before-change-functions):
11976 Add c-invalidate-macro-cache to the C, C++, Obj entries.
11977
11978 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
11979
11980 * jka-compr.el (jka-compr-call-process):
11981 Apply `file-accessible-directory-p' only when the default directory is
11982 not remote.
11983
11984 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
11985
11986 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
11987 access of FILE2, if FILE1 does not exist.
11988
11989 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
11990 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
11991
11992 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
11993 Add "PAGER=" to `process-environment'.
11994
11995 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
11996
11997 * progmodes/sql.el: Bug fix
11998 (sql-get-login-ext): Save login values in globals.
11999 (sql-get-login): Use new version of `sql-get-login-ext'.
12000 (sql-interactive-mode): Set global `sql-connection' to nil.
12001 (sql-connect): Set global values for connection.
12002 (sql-product-interactive): Save global values as buffer local.
12003
12004 2012-02-29 Leo Liu <sdl.web@gmail.com>
12005
12006 * abbrev.el (define-abbrevs): Reset sys to nil.
12007
12008 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12009
12010 * files.el (file-equal-p): Rename from `files-equal-p'.
12011 Return nil when one or both files don't exist.
12012 (file-subdir-of-p): Now only top directory must exists,
12013 return nil if it doesn't.
12014 (copy-directory): No need to test with `file-subdir-of-p' after
12015 creating dir.
12016 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
12017 to `file-equal-p'.
12018
12019 2012-02-28 Glenn Morris <rgm@gnu.org>
12020
12021 * shell.el (shell-mode):
12022 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
12023 * play/landmark.el (landmark-font-lock-face-O):
12024 * play/handwrite.el (handwrite):
12025 * play/gomoku.el (gomoku-O):
12026 * net/browse-url.el (browse-url-browser-display):
12027 * international/mule.el (define-charset):
12028 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
12029 * filesets.el (filesets-find-file-delay):
12030 * eshell/em-xtra.el (eshell-xtra):
12031 * eshell/em-unix.el (eshell-grep):
12032 * emulation/viper.el (viper-mode):
12033 * emacs-lisp/regexp-opt.el (regexp-opt-group):
12034 * emacs-lisp/easymenu.el (easy-menu-define):
12035 * calendar/timeclock.el (timeclock-use-display-time):
12036 * bs.el (bs-mode):
12037 * bookmark.el (bookmark-save-flag):
12038 Doc fix (standardize possessive apostrophe usage).
12039
12040 2012-02-27 Chong Yidong <cyd@gnu.org>
12041
12042 * emulation/viper-cmd.el (viper-intercept-ESC-key):
12043 Fix key-binding lookup for ESC key (Bug#9146).
12044
12045 * font-lock.el (font-lock-specified-p): Rename from
12046 font-lock-spec-present. Callers changed.
12047
12048 2012-02-27 Daniel Hackney <dan@haxney.org>
12049
12050 * emacs-lisp/package.el (package-compute-transaction):
12051 Handle holding a package version to t in package-load-list.
12052
12053 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
12054
12055 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
12056 (tramp-get-inode, tramp-get-device): Use cached values.
12057
12058 2012-02-26 Alan Mackenzie <acm@muc.de>
12059
12060 Check there is a font-lock specification before doing initial
12061 fontification.
12062
12063 * font-core.el (font-lock-mode): Move the conditional from
12064 :after-hook to font-lock-initial-fontify.
12065 (font-lock-default-function): Move the check for a specification
12066 to font-lock-spec-present.
12067
12068 * font-lock.el (font-lock-initial-fontify): Call ...
12069 (font-lock-spec-present): New function.
12070
12071 2012-02-26 Jim Blandy <jimb@red-bean.com>
12072
12073 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
12074 (gdb-send): Apply it to the operand of the '-interpreter-exec
12075 console' command, so that we can pass arguments with (say) quotes
12076 in them. Store exact string sent in gdb-debug-log (Bug#10765).
12077
12078 2012-02-26 Chong Yidong <cyd@gnu.org>
12079
12080 * help-fns.el (describe-function-1): Clarify description of
12081 remapping (Bug#10844).
12082
12083 * files.el (files-equal-p): Doc fix.
12084 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
12085 and quit the loop once a mismatch is found.
12086
12087 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
12088
12089 * bs.el (bs--show-with-configuration): Don't throw an error
12090 if the window cannot be split; otherwise, subsequent calls to
12091 bs-show fail, restoring a stale window config. (Bug#10882)
12092
12093 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
12094
12095 * term/ns-win.el (global-map): Bind ns-drag-file to
12096 ns-find-file (Bug#5855, Bug#10050).
12097
12098 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
12099
12100 * calendar/parse-time.el (parse-time-string): Allow extractor to
12101 return nil.
12102
12103 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
12104
12105 * net/tramp.el (tramp-file-name-for-operation):
12106 Add `files-equal-p' and `file-subdir-of-p'.
12107
12108 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
12109 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
12110 Add COPY-CONTENTS argument.
12111
12112 2012-02-25 Chong Yidong <cyd@gnu.org>
12113
12114 Add custom groups for VC backends, for consistency with vc-bzr.
12115
12116 * vc/vc-arch.el (vc-arch):
12117 * vc/vc-cvs.el (vc-cvs):
12118 * vc/vc-git.el (vc-git):
12119 * vc/vc-hg.el (vc-hg):
12120 * vc/vc-mtn.el (vc-mtn):
12121 * vc/vc-rcs.el (vc-rcs):
12122 * vc/vc-sccs.el (vc-sccs):
12123 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
12124 All relevant defcustoms reassigned.
12125
12126 2012-02-25 Chong Yidong <cyd@gnu.org>
12127
12128 * newcomment.el (comment-styles): Add autoload (Bug#10868).
12129
12130 * term/x-win.el (x-initialize-window-system): Reduce default for
12131 x-selection-timeout to 5 seconds (Bug#8869).
12132
12133 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12134
12135 * files.el (files-equal-p, file-subdir-of-p): New functions.
12136 (copy-directory): Error when trying to copy a directory on itself.
12137 Add missing copy-contents arg to tramp handler.
12138 * dired-aux.el (dired-copy-file-recursive): Same.
12139 (dired-create-files): Modify destination when source is equal to
12140 dest when copying files.
12141 Return also when dest is a subdir of source. (Bug#10489)
12142
12143 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
12144
12145 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
12146 (Bug#10874)
12147
12148 2012-02-23 Alan Mackenzie <acm@muc.de>
12149
12150 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
12151 parameter "after-hook:" to allow the expansion to run code after
12152 the execution of the mode hooks.
12153
12154 * font-lock.el (font-lock-initial-fontify): New function extracted
12155 from font-lock-mode-internal.
12156
12157 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
12158 :after-hook.
12159
12160 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
12161
12162 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
12163 (completion--cache-all-sorted-completions): New function.
12164 (completion-all-sorted-completions): Use it.
12165 (completion--do-completion, minibuffer-force-complete):
12166 Use it to re-instate the flush hook.
12167
12168 * icomplete.el (icomplete-completions): Replace last fix with a better
12169 one (bug#10850).
12170
12171 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
12172
12173 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
12174 when it might call us back infinitely (bug#10797).
12175
12176 2012-02-23 Glenn Morris <rgm@gnu.org>
12177
12178 * minibuffer.el (completion-category-overrides): Doc fix.
12179
12180 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
12181
12182 * minibuffer.el (completion-table-with-context): Fix inf-loop.
12183 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
12184
12185 2012-02-23 Glenn Morris <rgm@gnu.org>
12186
12187 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
12188 (authors-obsolete-files-regexps, authors-ignored-files)
12189 (authors-ambiguous-files, authors-renamed-files-alist):
12190 Add more entries.
12191
12192 2012-02-23 Juri Linkov <juri@jurta.org>
12193
12194 * isearch.el (isearch-occur): Sync interactive spec with occur's
12195 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
12196
12197 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
12198
12199 2012-02-22 Juri Linkov <juri@jurta.org>
12200
12201 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
12202 (ucs-insert): Doc fix. Check for hex digits in the string.
12203 Don't display `nil' in the error message. (Bug#10857)
12204
12205 2012-02-22 Alan Mackenzie <acm@muc.de>
12206
12207 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
12208
12209 2012-02-22 Glenn Morris <rgm@gnu.org>
12210
12211 * ffap.el (ffap-c-path):
12212 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
12213
12214 2012-02-22 Chong Yidong <cyd@gnu.org>
12215
12216 * custom.el (load-theme): Doc fix.
12217
12218 2012-02-22 Glenn Morris <rgm@gnu.org>
12219
12220 * dired-x.el (dired-guess-shell-alist-default):
12221 Remove escape sequences from nroff output. (Bug#172)
12222
12223 2012-02-21 Glenn Morris <rgm@gnu.org>
12224
12225 * vc/emerge.el (emerge-defvar-local):
12226 Set `permanent-local' property rather than unused `preserved'.
12227
12228 * textmodes/picture.el (picture-delete-char): New alias.
12229 (picture-mode-map): Use it. (Bug#10860)
12230 (picture-mode): Doc fix.
12231
12232 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
12233
12234 * newcomment.el (uncomment-region-default): Remove unused binding.
12235
12236 2012-02-21 Glenn Morris <rgm@gnu.org>
12237
12238 * textmodes/picture.el (picture-motion, picture-motion-reverse)
12239 (picture-self-insert, picture-tab-chars): Doc fix.
12240 (picture-mode-map): Fix C-a, C-e.
12241
12242 2012-02-20 Glenn Morris <rgm@gnu.org>
12243
12244 * emacs-lisp/authors.el (authors-aliases): Add another entry.
12245
12246 2012-02-20 Leo Liu <sdl.web@gmail.com>
12247
12248 * icomplete.el (icomplete-completions): Check FROM arg before
12249 passing to substring (Bug#10850).
12250
12251 2012-02-19 Chong Yidong <cyd@gnu.org>
12252
12253 * comint.el: Require ansi-color.
12254 (comint-output-filter-functions): Add ansi-color-process-output.
12255
12256 * ansi-color.el: Don't set comint-output-filter-functions; it is
12257 now in the initial value defined in comint.el.
12258 (ansi-color-apply-face-function): New variable.
12259 (ansi-color-apply-on-region): Use it.
12260 (ansi-color-apply-overlay-face): New function.
12261
12262 * shell.el (shell): No need to require ansi-color.
12263 (shell-mode): Use ansi-color-apply-face-function to highlight
12264 color escapes using font-lock-face property (Bug#10835).
12265
12266 2012-02-19 Chong Yidong <cyd@gnu.org>
12267
12268 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
12269 mode-line formats (Bug#10839).
12270
12271 2012-02-18 Glenn Morris <rgm@gnu.org>
12272
12273 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
12274
12275 * mail/undigest.el (unforward-rmail-message): Doc fix.
12276
12277 * saveplace.el (save-place-ignore-files-regexp): Add :version.
12278
12279 2012-02-18 Eli Zaretskii <eliz@gnu.org>
12280
12281 * international/characters.el (script-list): Sync with the latest
12282 Unicode Character Database.
12283
12284 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
12285
12286 * international/titdic-cnv.el: Remove duplicate coding tag.
12287 * language/cham.el: Likewise.
12288 * language/tai-viet.el: Likewise.
12289
12290 2012-02-18 Glenn Morris <rgm@gnu.org>
12291
12292 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
12293 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
12294 (calendar-bahai-all-holidays-flag, calendar-other-dates):
12295 * calendar/diary-lib.el (diary-abbreviated-year-flag):
12296 * calendar/holidays.el (holiday-bahai-holidays)
12297 (calendar-holidays, list-holidays):
12298 Use utf-8 Bahá'í in doc-strings, menus, etc.
12299
12300 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
12301
12302 * saveplace.el (save-place-ignore-files-regexp): New variable
12303 allowing for excluding files from saving their location of point.
12304 The default value matches the temporary commit message editing
12305 files from Git, SVN, Bazaar, and Mercurial.
12306 (save-place-to-alist): Use it.
12307
12308 2012-02-17 Lawrence Mitchell <wence@gmx.li>
12309 Stefan Monnier <monnier@iro.umontreal.ca>
12310
12311 * newcomment.el (uncomment-region-default): Don't leave extra space
12312 when an arg is provided (bug#8150).
12313
12314 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
12315
12316 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
12317
12318 2012-02-17 Glenn Morris <rgm@gnu.org>
12319
12320 * net/socks.el: Require network-stream. (Bug#10599)
12321
12322 2012-02-17 Kenichi Handa <handa@m17n.org>
12323
12324 * international/charprop.el:
12325 * international/uni-name.el:
12326 * international/uni-old-name.el:
12327 * international/uni-comment.el: Regenerate.
12328
12329 2012-02-16 Glenn Morris <rgm@gnu.org>
12330
12331 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
12332 Interactively in calendar buffer, give an error if not on a date.
12333
12334 2012-02-15 Glenn Morris <rgm@gnu.org>
12335
12336 * shell.el (shell-delimiter-argument-list):
12337 Revert 2011-02-17 change. (Bug#8027)
12338
12339 2012-02-15 Chong Yidong <cyd@gnu.org>
12340
12341 * minibuffer.el (completion-at-point-functions): Doc fix.
12342
12343 * custom.el (defcustom): Doc fix; note use of defvar.
12344
12345 2012-02-15 Glenn Morris <rgm@gnu.org>
12346
12347 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
12348 Doc fixes.
12349
12350 2012-02-14 Glenn Morris <rgm@gnu.org>
12351
12352 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
12353
12354 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
12355
12356 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
12357 way the ports list is computed.
12358 (smtpmail-query-smtp-server): Prompt the user for a port number if
12359 we can't connect to any of the standard ports (bug#10810).
12360
12361 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
12362
12363 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
12364
12365 2012-02-13 Glenn Morris <rgm@gnu.org>
12366
12367 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
12368
12369 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
12370
12371 * net/gnutls.el (gnutls-trustfiles): New variable.
12372 (gnutls-negotiate): Use it.
12373
12374 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
12375
12376 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
12377 does its stuff if Gnus is running.
12378
12379 2012-02-13 Alan Mackenzie <acm@muc.de>
12380
12381 Fix a loop in c-set-fl-decl-start.
12382
12383 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
12384 c-backward-syntactic-ws actually moves backwards.
12385
12386 2012-02-13 Leo Liu <sdl.web@gmail.com>
12387
12388 * net/rcirc.el (rcirc-markup-attributes): Move point to the
12389 beginning so that all \C-o chars are removed.
12390
12391 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
12392
12393 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
12394
12395 2012-02-12 Alan Mackenzie <acm@muc.de>
12396
12397 Fix infinite loop with long macros.
12398 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
12399
12400 2012-02-12 Chong Yidong <cyd@gnu.org>
12401
12402 * window.el (display-buffer): Doc fix (Bug#10785).
12403
12404 2012-02-12 Glenn Morris <rgm@gnu.org>
12405
12406 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
12407 (x-disown-selection-internal, x-get-selection-internal):
12408 Sync docs with the xselect.c versions.
12409
12410 * allout-widgets.el: Add missing license notice.
12411
12412 2012-02-11 Glenn Morris <rgm@gnu.org>
12413
12414 * select.el (x-get-selection-internal, x-own-selection-internal)
12415 (x-disown-selection-internal):
12416 * x-dnd.el (x-get-selection-internal): Update declarations.
12417
12418 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
12419
12420 * window.el (window-sides-slots):
12421 * tool-bar.el (tool-bar-position):
12422 * term/xterm.el (xterm-extra-capabilities):
12423 * ses.el (ses-self-reference-early-detection):
12424 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
12425 (verilog-auto-wire-type)
12426 (verilog-auto-delete-trailing-whitespace)
12427 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
12428 (verilog-auto-tieoff-declaration):
12429 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
12430 (sql-oracle-statement-starters, sql-oracle-scan-on):
12431 * progmodes/prolog.el (prolog-align-comments-flag)
12432 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
12433 (prolog-left-indent-regexp, prolog-paren-indent-p)
12434 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
12435 (prolog-types, prolog-mode-specificators)
12436 (prolog-determinism-specificators, prolog-directives)
12437 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
12438 (prolog-electric-dot-flag)
12439 (prolog-electric-dot-full-predicate-template)
12440 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
12441 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
12442 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
12443 (prolog-program-switches, prolog-prompt-regexp)
12444 (prolog-debug-on-string, prolog-debug-off-string)
12445 (prolog-trace-on-string, prolog-trace-off-string)
12446 (prolog-zip-on-string, prolog-zip-off-string)
12447 (prolog-use-standard-consult-compile-method-flag)
12448 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
12449 (prolog-imenu-max-lines, prolog-info-predicate-index)
12450 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
12451 (prolog-char-quote-workaround):
12452 * progmodes/cc-vars.el (c-defun-tactic):
12453 * net/tramp.el (tramp-encoding-command-interactive)
12454 (tramp-local-end-of-line):
12455 * net/soap-client.el (soap-client):
12456 * net/netrc.el (netrc-file):
12457 * net/gnutls.el (gnutls):
12458 * minibuffer.el (completion-category-overrides)
12459 (completion-cycle-threshold)
12460 (completion-pcm-complete-word-inserts-delimiters):
12461 * man.el (Man-name-local-regexp):
12462 * mail/feedmail.el (feedmail-display-full-frame):
12463 * international/characters.el (glyphless-char-display-control):
12464 * eshell/em-ls.el (eshell-ls-date-format):
12465 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
12466 (lisp-lambda-list-keyword-parameter-indentation)
12467 (lisp-lambda-list-keyword-parameter-alignment):
12468 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
12469 * dired-x.el (dired-omit-verbose):
12470 * cus-theme.el (custom-theme-allow-multiple-selections):
12471 * calc/calc.el (calc-highlight-selections-with-faces)
12472 (calc-lu-field-reference, calc-lu-power-reference)
12473 (calc-note-threshold):
12474 * battery.el (battery-mode-line-limit):
12475 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
12476 (archive-7z-update):
12477 * allout.el (allout-prefixed-keybindings)
12478 (allout-unprefixed-keybindings)
12479 (allout-inhibit-auto-fill-on-headline)
12480 (allout-flattened-numbering-abbreviation):
12481 * allout-widgets.el (allout-widgets-auto-activation)
12482 (allout-widgets-icons-dark-subdir)
12483 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
12484 (allout-widgets-theme-dark-background)
12485 (allout-widgets-theme-light-background)
12486 (allout-widgets-item-image-properties-emacs)
12487 (allout-widgets-item-image-properties-xemacs)
12488 (allout-widgets-run-unit-tests-on-load)
12489 (allout-widgets-time-decoration-activity)
12490 (allout-widgets-hook-error-post-time)
12491 (allout-widgets-track-decoration):
12492 Add missing :version tags to new defcustoms and defgroups.
12493
12494 * progmodes/sql.el (sql-ansi-statement-starters)
12495 (sql-oracle-statement-starters): Add custom type.
12496
12497 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
12498 (prolog-system-version): Give it a type.
12499
12500 2012-02-11 Eli Zaretskii <eliz@gnu.org>
12501
12502 * term/pc-win.el (x-select-text, x-selection-owner-p)
12503 (x-own-selection-internal, x-disown-selection-internal)
12504 (x-get-selection-internal): Sync doc strings and argument lists
12505 with xselect.c, common-win.el and x-win.el. (Bug#10783)
12506
12507 2012-02-11 Leo Liu <sdl.web@gmail.com>
12508
12509 * progmodes/python.el (python-end-of-statement): Fix infinite
12510 loop. (Bug#10788)
12511
12512 2012-02-10 Glenn Morris <rgm@gnu.org>
12513
12514 * international/mule-cmds.el (unify-8859-on-encoding-mode)
12515 (unify-8859-on-decoding-mode): Properly mark as obsolete.
12516
12517 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
12518
12519 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
12520 about SMTP before checking the From header.
12521
12522 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
12523 into own function for reuse by emacsbug.el.
12524
12525 2012-02-10 Leo Liu <sdl.web@gmail.com>
12526
12527 * subr.el (condition-case-unless-debug): Rename from
12528 condition-case-no-debug. All callers changed.
12529 (with-demoted-errors): Fix caller.
12530
12531 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
12532 * nxml/rng-valid.el (rng-do-some-validation):
12533 * emacs-lisp/package.el (package-refresh-contents)
12534 (package-menu-execute):
12535 * desktop.el (desktop-create-buffer):
12536 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
12537
12538 2012-02-10 Glenn Morris <rgm@gnu.org>
12539
12540 * textmodes/bibtex.el:
12541 Add missing :version tags for new/changed defcustoms.
12542
12543 * files.el (remote-file-name-inhibit-cache): Doc fixes.
12544
12545 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
12546
12547 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
12548 (smtpmail-via-smtp): Use it, or fall back on the From address.
12549 (smtpmail-send-it): Ditto.
12550
12551 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
12552
12553 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
12554 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
12555 (byte-compile-tmp-var): New const.
12556 (byte-compile-defvar): Use it to minimize .elc size.
12557 Just use `defvar' rather than simulate it (bug#10761).
12558
12559 2012-02-09 Glenn Morris <rgm@gnu.org>
12560
12561 * files.el (rename-uniquely): Doc fix. (Bug#3806)
12562
12563 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
12564 Add :version tags.
12565
12566 * progmodes/compile.el (compilation-error-screen-columns)
12567 (compilation-first-column, compilation-filter-start): Doc fixes.
12568
12569 * vc/log-view.el (log-view-toggle-entry-display):
12570 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
12571
12572 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
12573 (report-emacs-bug-can-use-xdg-email):
12574 (report-emacs-bug-insert-to-mailer): Doc fixes.
12575 (report-emacs-bug): Message fix.
12576
12577 * net/browse-url.el (browse-url-can-use-xdg-open)
12578 (browse-url-xdg-open): Doc fixes.
12579
12580 * electric.el (electric-indent-mode, electric-pair-mode)
12581 (electric-layout-rules, electric-layout-mode): Doc fixes.
12582 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
12583
12584 2012-02-08 Martin Rudalics <rudalics@gmx.at>
12585
12586 * server.el (server-unselect-display): Don't inadvertently kill
12587 the current buffer. (Bug#10729)
12588
12589 2012-02-08 Glenn Morris <rgm@gnu.org>
12590
12591 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
12592 (sql-list-table): Doc fixes.
12593
12594 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
12595 Comment out (does nothing).
12596
12597 * completion.el (dynamic-completion-mode):
12598 * dirtrack.el (dirtrack-debug-mode):
12599 * electric.el (electric-layout-mode):
12600 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
12601 * face-remap.el (text-scale-mode, buffer-face-mode):
12602 * iimage.el (iimage-mode):
12603 * image-mode.el (image-transform-mode):
12604 * minibuffer.el (completion-in-region-mode):
12605 * scroll-lock.el (scroll-lock-mode):
12606 * simple.el (next-error-follow-minor-mode):
12607 * tar-mode.el (tar-subfile-mode):
12608 * tooltip.el (tooltip-mode):
12609 * vcursor.el (vcursor-use-vcursor-map):
12610 * wid-browse.el (widget-minor-mode):
12611 * emulation/tpu-edt.el (tpu-edt-mode):
12612 * emulation/tpu-extras.el (tpu-cursor-free-mode):
12613 * international/iso-ascii.el (iso-ascii-mode):
12614 * language/thai-util.el (thai-word-mode):
12615 * mail/supercite.el (sc-minor-mode):
12616 * net/goto-addr.el (goto-address-mode):
12617 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
12618 * progmodes/cwarn.el (cwarn-mode):
12619 * progmodes/flymake.el (flymake-mode):
12620 * progmodes/glasses.el (glasses-mode):
12621 * progmodes/hideshow.el (hs-minor-mode):
12622 * progmodes/pascal.el (pascal-outline-mode):
12623 * textmodes/enriched.el (enriched-mode):
12624 * vc/smerge-mode.el (smerge-mode):
12625 Doc fixes (minor mode argument).
12626
12627 2012-02-07 Eli Zaretskii <eliz@gnu.org>
12628
12629 * ls-lisp.el (ls-lisp-sanitize): New function.
12630 (ls-lisp-insert-directory): Use it to fix or remove any elements
12631 in file-alist with missing attributes. (Bug#4673)
12632
12633 2012-02-07 Alan Mackenzie <acm@muc.de>
12634
12635 Fix spurious recognition of c-in-knr-argdecl.
12636
12637 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
12638 putative K&R region.
12639
12640 2012-02-07 Alan Mackenzie <acm@muc.de>
12641
12642 * progmodes/cc-engine.el (c-forward-objc-directive):
12643 Prevent looping in "#pragma mark @implementation".
12644
12645 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
12646
12647 * notifications.el (notifications-on-closed-signal): Make `reason'
12648 optional. (Bug#10744)
12649
12650 2012-02-07 Glenn Morris <rgm@gnu.org>
12651
12652 * emacs-lisp/easy-mmode.el (define-minor-mode):
12653 Doc fixes for the macro and the mode it defines.
12654
12655 * image.el (imagemagick-types-inhibit): Doc fix.
12656
12657 * cus-start.el (imagemagick-render-type): Add it.
12658
12659 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
12660
12661 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
12662 Set the default at load time, too, so that `font-lock-fontify-buffer'
12663 can be called without setting up the entire mode first. This fixes
12664 a bug in `mm-inline-text' with C MIME parts.
12665
12666 2012-02-06 Chong Yidong <cyd@gnu.org>
12667
12668 * simple.el (list-processes--refresh): Delete exited processes
12669 (Bug#8094).
12670
12671 * comint.el (comint-next-prompt): next-single-char-property-change
12672 and prev-single-char-property-change never return nil (Bug#8657).
12673
12674 * custom.el (defcustom): Doc fix (Bug#9711).
12675
12676 2012-02-05 Chong Yidong <cyd@gnu.org>
12677
12678 * cus-edit.el (custom-variable-reset-backup): Quote the value
12679 before storing it in the customized-value property (Bug#6712).
12680 (custom-display): Add a customization type tag.
12681 (custom-buffer-create-internal): Improve tooltip message.
12682
12683 * wid-edit.el (widget-field-value-get): New optional arg to
12684 suppress trailing whitespace truncation.
12685 (character): Use it (Bug#2689).
12686
12687 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
12688
12689 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
12690 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
12691
12692 2012-02-05 Chong Yidong <cyd@gnu.org>
12693
12694 * cus-edit.el (custom-variable-value-create): For mismatched
12695 types, show the current value (Bug#7600).
12696
12697 * custom.el (defcustom): Doc fix.
12698
12699 2012-02-05 Glenn Morris <rgm@gnu.org>
12700
12701 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
12702
12703 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
12704
12705 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
12706 (pp-buffer): Use `ignore-errors', `looking-at-p'.
12707 (pp-last-sexp): Use `looking-at-p'.
12708
12709 2012-02-04 Glenn Morris <rgm@gnu.org>
12710
12711 * files.el (revert-buffer):
12712 Doc fix (mention revert-buffer-in-progress-p).
12713
12714 * emacs-lisp/ert-x.el (ert-simulate-command):
12715 Check deferred-action-list (which is obsolete) is bound.
12716
12717 * subr.el (with-wrapper-hook): Doc fixes.
12718
12719 * simple.el (filter-buffer-substring-functions)
12720 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
12721
12722 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
12723
12724 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
12725 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
12726
12727 2012-02-04 Leo Liu <sdl.web@gmail.com>
12728
12729 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
12730
12731 2012-02-04 Glenn Morris <rgm@gnu.org>
12732
12733 * image.el (image-extension-data): Add obsolete alias.
12734
12735 * isearch.el (isearch-update): Doc fix.
12736
12737 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
12738
12739 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
12740
12741 2012-02-03 Glenn Morris <rgm@gnu.org>
12742
12743 * image.el (image-animated-p): Doc fix. Use image-animated-types.
12744 (image-animate-timeout): Doc fix.
12745
12746 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
12747
12748 2012-02-02 Glenn Morris <rgm@gnu.org>
12749
12750 * server.el (server-auth-dir): Doc fix.
12751 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
12752
12753 * subr.el (run-mode-hooks): Doc fix.
12754
12755 2012-02-02 Juri Linkov <juri@jurta.org>
12756
12757 * image-mode.el (image-toggle-display-image): Remove tautological
12758 `major-mode' from the `derived-mode-p' test.
12759
12760 2012-02-02 Kenichi Handa <handa@m17n.org>
12761
12762 * composite.el (compose-region): Cancel previous change.
12763
12764 2012-02-02 Kenichi Handa <handa@m17n.org>
12765
12766 * composite.el (compose-region, compose-string): Signal error for
12767 a null string component (Bug#6988).
12768
12769 2012-02-01 Chong Yidong <cyd@gnu.org>
12770
12771 * view.el (view-buffer-other-window, view-buffer-other-frame):
12772 Handle special modes like view-buffer (Bug#10650).
12773 (view-buffer): Simplify.
12774
12775 * frame.el (set-frame-font): Tweak meaning of third argument.
12776
12777 * dynamic-setting.el (font-setting-change-default-font):
12778 Use set-frame-font (Bug#9982).
12779
12780 2012-02-01 Glenn Morris <rgm@gnu.org>
12781
12782 * progmodes/compile.el (compilation-internal-error-properties):
12783 Respect compilation-first-column in the "*compilation*" buffer.
12784
12785 * emacs-lisp/easy-mmode.el (define-minor-mode):
12786 Relax :variable's test for a named function.
12787
12788 2012-01-31 Alan Mackenzie <acm@muc.de>
12789
12790 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
12791 off by one error.
12792
12793 2012-01-31 Chong Yidong <cyd@gnu.org>
12794
12795 * frame.el (set-frame-font): New arg ALL-FRAMES.
12796
12797 * menu-bar.el (menu-set-font): Use set-frame-font.
12798
12799 * faces.el (face-spec-reset-face): Don't apply unspecified
12800 attribute values to the default face.
12801
12802 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
12803
12804 * progmodes/cwarn.el (cwarn): Remove dead link.
12805 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
12806 Remove * from defcustom docstrings.
12807 (turn-on-cwarn-mode): Make obsolete.
12808 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
12809 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
12810
12811 2012-01-31 Glenn Morris <rgm@gnu.org>
12812
12813 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
12814 Fix :variable handling of mode a symbol not equal to modefun.
12815 Allow named functions to be used as the cdr of :variable.
12816
12817 2012-01-30 Glenn Morris <rgm@gnu.org>
12818
12819 * emacs-lisp/authors.el (authors-fixed-entries):
12820 Remove reference to deleted file rnewspost.el.
12821
12822 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
12823
12824 * window.el (window-with-parameter): Remove unused variable `windows'.
12825 (window--side-check): Remove unused variable `code'.
12826 (window--resize-siblings): Remove unused variable `first'.
12827 (adjust-window-trailing-edge): Remove unused variable `failed'.
12828 (window-deletable-p, window--delete): Remove unused variable `buffer'.
12829 Use `let', not `let*'.
12830 (balance-windows-2): Remove unused variable `found'.
12831 (window--state-put-2): Remove unused variable `splits'.
12832 (window-state-put): Remove unused variable `selected'.
12833 (same-window-p): Use `string-match-p'.
12834 (display-buffer-assq-regexp): Remove unused variable `value'.
12835 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12836 Mark argument ALIST as ignored.
12837 (pop-to-buffer): Remove unused variable `old-window'.
12838
12839 2012-01-29 Eli Zaretskii <eliz@gnu.org>
12840
12841 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
12842 and .lzma compressed files.
12843
12844 2012-01-29 Chong Yidong <cyd@gnu.org>
12845
12846 * frame.el (window-system-default-frame-alist): Doc fix.
12847
12848 * dynamic-setting.el (font-setting-change-default-font): Don't
12849 change the default face if SET-FONT argument is non-nil (Bug#9982).
12850
12851 2012-01-29 Samuel Bronson <naesten@gmail.com>
12852
12853 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
12854
12855 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
12856
12857 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
12858 breakpoints in files outside current directory (Bug#6098).
12859
12860 2012-01-29 Chong Yidong <cyd@gnu.org>
12861
12862 * progmodes/python.el: Require ansi-color at top-level.
12863
12864 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
12865 Define and use in Emacs Lisp mode (Bug#9360).
12866 (lisp-mode-abbrev-table): Add doc.
12867 (lisp-mode-variables): Don't set local-abbrev-table.
12868 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
12869
12870 2012-01-28 Roland Winkler <winkler@gnu.org>
12871
12872 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
12873
12874 2012-01-28 Roland Winkler <winkler@gnu.org>
12875
12876 * textmodes/bibtex.el (bibtex-entry-alist): New function.
12877 (bibtex-set-dialect): Use it. Either set global values of
12878 dialect-dependent variables or bind these variables buffer-locally
12879 (Bug#10254).
12880 (bibtex-mode): Call bibtex-set-dialect via
12881 hack-local-variables-hook.
12882 (bibtex-dialect): Update docstring.
12883 Add safe-local-variable predicate.
12884 (bibtex-entry-alist, bibtex-field-alist): Initialize via
12885 bibtex-set-dialect.
12886 (bibtex-mode-map): Define menu for each dialect.
12887 (bibtex-entry): Fix docstring.
12888
12889 2012-01-28 Chong Yidong <cyd@gnu.org>
12890
12891 * eshell/esh-arg.el (eshell-quote-argument): New function.
12892
12893 * eshell/esh-ext.el (eshell-invoke-batch-file):
12894 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
12895 first arg to eshell-parse-command (Bug#10523).
12896
12897 2012-01-28 Drew Adams <drew.adams@oracle.com>
12898
12899 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
12900 `default-directory' is non-nil.
12901
12902 2012-01-28 Eli Zaretskii <eliz@gnu.org>
12903
12904 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
12905 line that displays system-configuration-options. (Bug#9924)
12906
12907 2012-01-28 Drew Adams <drew.adams@oracle.com>
12908
12909 * descr-text.el (describe-char): Show information about POS, in
12910 addition to information about the character at POS. Improve and
12911 update the doc string. Change "code point" to "code point in
12912 charset", to avoid confusion with the character's Unicode code
12913 point shown above that. (Bug#10129)
12914
12915 2012-01-28 Eli Zaretskii <eliz@gnu.org>
12916
12917 * descr-text.el (describe-char): Show the raw character, not only
12918 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
12919 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
12920 for the reasons.
12921
12922 2012-01-28 Phil Hagelberg <phil@hagelb.org>
12923
12924 * emacs-lisp/package.el (package-install):
12925 Run package-refresh-contents if there is no archive yet (Bug#9798).
12926
12927 2012-01-28 Chong Yidong <cyd@gnu.org>
12928
12929 * emacs-lisp/package.el (package-maybe-load-descriptor):
12930 New function, split from package-maybe-load-descriptor.
12931 (package-maybe-load-descriptor): Use it.
12932 (package-download-transaction): Fully load required packages
12933 inside the loop, so that `require' calls work (Bug#10593).
12934 (package-install): No need to call package-initialize now.
12935
12936 2012-01-28 Chong Yidong <cyd@gnu.org>
12937
12938 * simple.el (deactivate-mark): Doc fix (Bug#8614).
12939
12940 * tooltip.el (tooltip-mode): Doc fix.
12941 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
12942
12943 * frame.el (set-cursor-color): Doc fix (Bug#352).
12944
12945 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
12946 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
12947
12948 * cus-edit.el (custom-buffer-create-internal): Fix search button
12949 action (Bug#10542).
12950 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
12951
12952 2012-01-27 Eduard Wiebe <usenet@pusto.de>
12953
12954 * dired.el (dired-mark-files-regexp):
12955 Include any subdirectory components. (Bug#10445)
12956
12957 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
12958
12959 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
12960 Handle [host]:port syntax. (Bug#10533)
12961
12962 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
12963
12964 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
12965
12966 2012-01-26 Glenn Morris <rgm@gnu.org>
12967
12968 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
12969 * term.el (term-raw-escape-map): Use Control-X-prefix.
12970 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
12971
12972 2012-01-25 Martin Rudalics <rudalics@gmx.at>
12973
12974 * window.el (window-state-get, window--state-get-1): Don't deal
12975 with fixed-sizeness of windows. Simplify code.
12976
12977 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
12978
12979 * window.el (window--state-get-1, window--state-put-2):
12980 Don't save and restore the mark.
12981
12982 2012-01-25 Chong Yidong <cyd@gnu.org>
12983
12984 * custom.el (custom-variable-p): Doc fix.
12985
12986 2012-01-25 Glenn Morris <rgm@gnu.org>
12987
12988 * dired.el (dired-goto-file): Handle some of the more common
12989 characters that `ls -b' escapes. (Bug#10596)
12990
12991 * progmodes/compile.el (compilation-next-error-function):
12992 Respect compilation-first-column in the "*compilation*" buffer.
12993 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
12994
12995 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
12996
12997 2012-01-24 Glenn Morris <rgm@gnu.org>
12998
12999 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
13000
13001 2012-01-24 Julien Danjou <julien@danjou.info>
13002
13003 * color.el (color-rgb-to-hsl): Fix value computing.
13004 (color-hue-to-rgb): New function.
13005 (color-hsl-to-rgb): New function.
13006 (color-clamp, color-saturate-hsl, color-saturate-name)
13007 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
13008 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
13009
13010 2012-01-24 Glenn Morris <rgm@gnu.org>
13011
13012 * vc/vc-rcs.el (vc-rcs-create-tag):
13013 * vc/vc-sccs.el (vc-sccs-create-tag):
13014 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
13015
13016 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
13017
13018 * eshell/esh-util.el (eshell-read-hosts-file):
13019 Skip comment lines. (Bug#10549)
13020
13021 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
13022
13023 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
13024
13025 * subr.el (display-delayed-warnings): Doc fix.
13026 (collapse-delayed-warnings): New function to collapse identical
13027 adjacent warnings.
13028 (delayed-warnings-hook): Add it.
13029
13030 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
13031
13032 * net/tramp.el (tramp-action-login): Set connection property "login-as".
13033
13034 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
13035 (tramp-default-user-alist): Don't add "pscp".
13036 (tramp-do-copy-or-rename-file-out-of-band): Use connection
13037 property "login-as", if set. (Bug#10530)
13038
13039 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
13040
13041 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
13042 "plink1" and "psftp". (Bug#10530)
13043
13044 2012-01-21 Kenichi Handa <handa@m17n.org>
13045
13046 * international/mule-cmds.el (prefer-coding-system): Show a
13047 warning message if the default value of file-name-coding-system
13048 was not changed.
13049
13050 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
13051
13052 * windmove.el (windmove-reference-loc):
13053 Fix windmove-reference-loc miscalculation.
13054
13055 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
13056
13057 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
13058 default unit.
13059
13060 2012-01-21 Glenn Morris <rgm@gnu.org>
13061
13062 * international/mule.el (auto-coding-alist): Add .tbz.
13063
13064 * files.el (local-enable-local-variables): Doc fix.
13065 (inhibit-local-variables-regexps): Rename from
13066 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
13067 Doc fix. Add some extensions from auto-coding-alist.
13068 (inhibit-local-variables-suffixes):
13069 Rename from inhibit-first-line-modes-suffixes. Doc fix.
13070 (inhibit-local-variables-p):
13071 New function, extracted from set-auto-mode-1.
13072 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
13073 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
13074 (hack-local-variables): Doc fix. Make the mode-only case
13075 respect enable-local-variables and friends.
13076 Respect inhibit-local-variables-regexps for file-locals, but
13077 not for directory-locals.
13078 (set-visited-file-name):
13079 Take account of inhibit-local-variables-regexps.
13080 Whether it applies may change as the file name is changed.
13081 * jka-cmpr-hook.el (jka-compr-install):
13082 * jka-compr.el (jka-compr-uninstall):
13083 Update for inhibit-first-line-modes-suffixes name change.
13084
13085 2012-01-20 Martin Rudalics <rudalics@gmx.at>
13086
13087 * help-macro.el (make-help-screen): Temporarily restore original
13088 binding for minor-mode-map-alist (Bug#10454).
13089
13090 2012-01-19 Julien Danjou <julien@danjou.info>
13091
13092 * color.el (color-name-to-rgb): Use the white color to find the max
13093 color component value and return correctly computed values.
13094 (color-name-to-rgb): Add missing float conversion for max value.
13095
13096 2012-01-19 Martin Rudalics <rudalics@gmx.at>
13097
13098 * window.el (window--state-get-1, window-state-get): Do not use
13099 special state value for window-persistent-parameters.
13100 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
13101 (window--state-put-2): Reset all window parameters to nil before
13102 assigning values of persistent parameters.
13103
13104 2012-01-18 Alan Mackenzie <acm@muc.de>
13105
13106 Eliminate sluggishness and hangs in fontification of "semicolon
13107 deserts".
13108
13109 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
13110 Change value 10000 -> 3000.
13111 (c-state-safe-place): Reformulate so it doesn't stack up an
13112 infinite number of wrong entries in c-state-nonlit-pos-cache.
13113 (c-determine-limit-get-base, c-determine-limit): New functions to
13114 determine backward search limits disregarding literals.
13115 (c-find-decl-spots): Amend commenting.
13116 (c-cheap-inside-bracelist-p): New function which detects "={".
13117
13118 * progmodes/cc-fonts.el
13119 (c-make-font-lock-BO-decl-search-function): Give a limit to a
13120 backward search.
13121 (c-font-lock-declarations): Fix an occurrence of point being
13122 undefined. Check additionally for point being in a bracelist or
13123 near a macro invocation without a semicolon so as to avoid a
13124 fruitless time consuming search for a declarator. Give a more
13125 precise search limit for declarators using the new
13126 c-determine-limit.
13127
13128 2012-01-18 Glenn Morris <rgm@gnu.org>
13129
13130 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
13131 (set-auto-mode): Doc fixes.
13132
13133 2012-01-17 Glenn Morris <rgm@gnu.org>
13134
13135 * isearch.el (search-nonincremental-instead): Fix doc typo.
13136
13137 * dired.el (dired-insert-directory): Handle newlines in directory name.
13138 (dired-build-subdir-alist): Unescape newlines in directory name.
13139
13140 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
13141
13142 * net/tramp.el (tramp-local-end-of-line): New defcustom.
13143 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
13144 (tramp-action-terminal): Use it. (Bug#10530)
13145
13146 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
13147
13148 * minibuffer.el (completion--replace): Strip properties (bug#10062).
13149
13150 2012-01-16 Martin Rudalics <rudalics@gmx.at>
13151
13152 * window.el (window-state-ignored-parameters): Remove variable.
13153 (window--state-get-1): Rename argument MARKERS to IGNORE.
13154 Handle persistent window parameters. Make copy of clone-of
13155 parameter only if requested. (Bug#10348)
13156 (window--state-put-2): Install a window parameter only if it has
13157 a non-nil value or an existing parameter shall be overwritten.
13158
13159 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
13160
13161 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
13162
13163 2012-01-14 Eli Zaretskii <eliz@gnu.org>
13164
13165 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
13166 don't pass the (nil) value of `upnode' to string-match.
13167
13168 2012-01-14 Chong Yidong <cyd@gnu.org>
13169
13170 * startup.el (command-line): Fix X resource class for cursorColor.
13171 Fix values recognized by the cursorBlink resource.
13172
13173 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
13174
13175 * epg.el (epg--make-temp-file): Avoid permission race condition
13176 when running on old Emacs versions (bug#10403).
13177
13178 2012-01-14 Glenn Morris <rgm@gnu.org>
13179
13180 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
13181
13182 2012-01-13 Alan Mackenzie <acm@muc.de>
13183
13184 Fix filling for when filladapt mode is enabled.
13185
13186 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
13187 c-mask-paragraph, pass in `fill-paragraph' rather than
13188 `fill-region-as-paragraph'. (This is a reversion of a previous
13189 change.)
13190 * progmodes/cc-mode.el (c-basic-common-init):
13191 Make fill-paragraph-handle-comment buffer local and set it to nil.
13192
13193 2012-01-13 Glenn Morris <rgm@gnu.org>
13194
13195 * dired.el (dired-switches-escape-p): New function.
13196 (dired-insert-directory): Use dired-switches-escape-p.
13197 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
13198
13199 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
13200
13201 2012-01-12 Glenn Morris <rgm@gnu.org>
13202
13203 * mail/sendmail.el (mail-mode): Update paragraph-separate for
13204 changes in adaptive-fill-regexp. (Bug#10276)
13205
13206 2012-01-11 Alan Mackenzie <acm@muc.de>
13207
13208 Fix Emacs bug #10463 - put `widen's around the critical spots.
13209
13210 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
13211 widen around each invocation of c-state-pp-to-literal. Remove an
13212 unused let variable.
13213
13214 2012-01-11 Glenn Morris <rgm@gnu.org>
13215
13216 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
13217 Doc fix.
13218
13219 2012-01-10 Chong Yidong <cyd@gnu.org>
13220
13221 * net/network-stream.el (network-stream-open-starttls):
13222 Avoid emitting a confusing error message when the server gives a bad
13223 response to the capability command.
13224
13225 2012-01-10 Glenn Morris <rgm@gnu.org>
13226
13227 * mail/unrmail.el (unrmail): Tweak previous change.
13228
13229 2012-01-09 Chong Yidong <cyd@gnu.org>
13230
13231 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
13232
13233 2012-01-08 Alan Mackenzie <acm@muc.de>
13234
13235 Optimise font locking in long enum definitions.
13236
13237 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
13238 arm to a cond form to handle enums.
13239 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
13240 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
13241
13242 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
13243
13244 * files.el (move-file-to-trash): Preserve default file modes on error.
13245 (Bug#10401)
13246
13247 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
13248
13249 * faces.el (set-face-attribute): Clarify the meaning of the nil
13250 frame (bug#10294).
13251
13252 * subr.el (with-selected-frame): Mention that the selected frame
13253 is restored (bug#9980).
13254
13255 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
13256 (bug#9759).
13257
13258 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
13259 (password-read): Don't autoload unused function.
13260
13261 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
13262
13263 * progmodes/which-func.el (which-func-mode): Turn into a
13264 non-interactive function and mark as obsolete (bug#10428).
13265
13266 2012-01-06 Chong Yidong <cyd@gnu.org>
13267
13268 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
13269 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
13270 functions, along with 1 and -1.
13271
13272 2012-01-06 Eli Zaretskii <eliz@gnu.org>
13273
13274 * time.el (display-time-load-average)
13275 (display-time-default-load-average): Doc fixes. See the thread
13276 starting at
13277 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
13278 for the details.
13279
13280 2012-01-06 Glenn Morris <rgm@gnu.org>
13281
13282 * mail/unrmail.el (unrmail): Give an explicit error if the input file
13283 has no messages. (Bug#10377)
13284
13285 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
13286 than Info-edit. (Bug#10385)
13287
13288 * time.el (display-time-load-average, display-time-next-load-average):
13289 Doc fixes.
13290
13291 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
13292 local setting of buffer-read-only to the input buffer. (Bug#10419)
13293
13294 * calendar/calendar.el (calendar-mode):
13295 Locally set scroll-margin to 0. (Bug#10379)
13296
13297 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
13298
13299 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
13300
13301 2012-01-05 Glenn Morris <rgm@gnu.org>
13302
13303 * eshell/em-unix.el (diff-no-select): Autoload it.
13304 (eshell/diff): Use diff-no-select. (Bug#10420)
13305
13306 2012-01-05 Chong Yidong <cyd@gnu.org>
13307
13308 * shell.el (shell-dynamic-complete-functions): Revert last change.
13309 (shell-command-completion-function): New function.
13310 (shell-completion-vars): Use it to implement
13311 shell-completion-execonly (Bug#10417).
13312
13313 * custom.el (enable-theme): Don't set custom-safe-themes.
13314
13315 * cus-theme.el (custom-theme-merge-theme):
13316 Ignore custom-enabled-themes and custom-safe-themes.
13317
13318 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
13319
13320 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
13321 first prompt in `sql-interacive-mode'.
13322 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
13323 keywords.
13324 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
13325 (sql-product-interactive): Bug fix: Set `sql-buffer' in
13326 context of original buffer. Invoke `sql-login-hook'.
13327
13328 2012-01-04 Eli Zaretskii <eliz@gnu.org>
13329
13330 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
13331 letters in cite-prefix.
13332
13333 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13334
13335 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
13336
13337 2012-01-03 Chong Yidong <cyd@gnu.org>
13338
13339 * shell.el (shell-dynamic-complete-functions):
13340 Put pcomplete-completions-at-point, so as to try
13341 comint-filename-completion first (Bug#10417).
13342
13343 2012-01-02 Richard Stallman <rms@gnu.org>
13344
13345 * battery.el (battery-status-function):
13346 Detect when to use battery-yeeloong-sysfs.
13347 (battery-echo-area-format): Add string for Yeeloong.
13348 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
13349 (battery-yeeloong-sysfs): New function.
13350
13351 2012-01-02 Chong Yidong <cyd@gnu.org>
13352
13353 * dirtrack.el (dirtrack-list): Eliminate unused third element.
13354 (dirtrack): Merge code for handling relative filenames in prompt
13355 from shell-dir-cookie-watcher.
13356 (dirtrack-debug-message): New arg to avoid excess format calls.
13357
13358 * shell.el (shell-dir-cookie-re): Variable deleted.
13359 (shell-dir-cookie-watcher): Function deleted.
13360 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
13361 with dirtrack-mode.
13362
13363 2012-01-01 Eli Zaretskii <eliz@gnu.org>
13364
13365 * term/w32-win.el (dynamic-library-alist) <gnutls>:
13366 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
13367 libgnutls-26.dll.
13368
13369 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
13370
13371 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
13372
13373 2011-12-31 Eli Zaretskii <eliz@gnu.org>
13374
13375 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
13376 headers of non-MIME messages, when rmail-enable-mime is non-nil.
13377
13378 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
13379
13380 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
13381 also for alternative shells.
13382 (tramp-open-connection-setup-interactive-shell): Check, whether
13383 the shell is a busybox.
13384 (tramp-send-command): Don't suppress multiple prompts for
13385 busyboxes, it hurts.
13386
13387 2011-12-28 Chong Yidong <cyd@gnu.org>
13388
13389 * progmodes/gdb-mi.el (gdb-get-source-file-list)
13390 (gdb-get-source-file): Move mode line update to
13391 gdb-get-source-file (Bug#10087).
13392
13393 2011-12-25 Chong Yidong <cyd@gnu.org>
13394
13395 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
13396 gud-gdb-marker-filter without taking it as an argument.
13397 (gud-gdb-run-command-fetch-lines): Caller changed.
13398 (gud-gdb-completion-function): New variable.
13399 (gud-gdb-completion-at-point): Use it.
13400 (gud-gdb-completions-1): Split from gud-gdb-completions.
13401
13402 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
13403 function as separate arguments.
13404 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
13405 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
13406 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
13407 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
13408 (gdb-stopped, def-gdb-auto-update-trigger)
13409 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
13410 (gdb-get-changed-registers, gdb-get-main-selected-frame):
13411 Callers changed.
13412 (gud-gdbmi-completions): New function.
13413 (gdb): Use it for generating the completion table.
13414
13415 2011-12-24 Alan Mackenzie <acm@muc.de>
13416
13417 Introduce a mechanism to widen the region used in context font
13418 locking. Use this to protect declarations from losing their contexts.
13419
13420 * progmodes/cc-langs.el (c-before-font-lock-functions):
13421 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
13422 (c-before-context-fontification-functions): New defvar, a list of
13423 functions to be run just before context (etc.) font locking.
13424
13425 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
13426 New, functionality extracted from
13427 c-neutralize-syntax-in-and-mark-CPP.
13428 (c-in-after-change-fontification): New variable.
13429 (c-after-change): Set c-in-after-change-fontification.
13430 (c-set-fl-decl-start): Rejig its interface, so it can be called
13431 from both after-change and context fontifying.
13432 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
13433 New functions.
13434 (c-standard-font-lock-fontify-region-function): New variable.
13435 (c-font-lock-fontify-region): New function.
13436
13437 2011-12-24 Juri Linkov <juri@jurta.org>
13438
13439 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
13440 (Bug#10348)
13441
13442 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
13443
13444 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
13445 existence of source file. (Bug#10325)
13446
13447 2011-12-23 Alan Mackenzie <acm@muc.de>
13448
13449 Fix unstable fontification inside templates.
13450
13451 * progmodes/cc-langs.el (c-before-font-lock-functions):
13452 Newly created from the singular version. The (c c++ objc) entry now
13453 additionally has c-set-fl-decl-start. The other languages (apart
13454 from AWK) have that as a single entry.
13455
13456 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13457 The functionality for "local" declarations has been extracted to
13458 c-set-fl-decl-start.
13459
13460 * progmodes/cc-mode.el (c-common-init, c-after-change):
13461 Changes due to pluralisation of c-before-font-lock-functions.
13462 (c-set-fl-decl-start): New function, extracted from
13463 c-font-lock-enclosing-decls and enhanced.
13464
13465 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
13466
13467 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
13468
13469 2011-12-22 Juri Linkov <juri@jurta.org>
13470
13471 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
13472
13473 2011-12-22 Chong Yidong <cyd@gnu.org>
13474
13475 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
13476
13477 2011-12-21 Drew Adams <drew.adams@oracle.com>
13478
13479 * files.el (file-remote-p): Fix docstring. (Bug#10319)
13480
13481 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
13482
13483 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
13484
13485 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
13486
13487 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
13488 highlighting and support. Fix up comments for capitalization.
13489 (cfengine-mode-debug): New var.
13490 (cfengine3-mode): Change the modeline indicator to "CFE3".
13491 (cfengine3-font-lock-keywords): Improve defun highlighting.
13492 (cfengine2-actions): Rename from `cfengine-actions'.
13493 (cfengine2-font-lock-keywords): Rename from
13494 `cfengine-font-lock-keywords'.
13495 (cfengine2-imenu-expression): Rename from
13496 `cfengine-imenu-expression'.
13497 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
13498 (cfengine2-beginning-of-defun): Rename from
13499 `cfengine-beginning-of-defun'.
13500 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
13501 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
13502 (cfengine2-mode): Rename from `cfengine-mode'. Change the
13503 modeline indicator to "CFE2".
13504 (cfengine-mode): Defalias to `cfengine-auto-mode'.
13505 (cfengine-mode-abbrevs): Mark obsolete.
13506
13507 2011-12-21 Chong Yidong <cyd@gnu.org>
13508
13509 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
13510 filename argument.
13511
13512 2011-12-20 Martin Rudalics <rudalics@gmx.at>
13513
13514 * window.el (window-normalize-buffer-to-display): Remove.
13515 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
13516
13517 2011-12-19 Chong Yidong <cyd@gnu.org>
13518
13519 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
13520 Don't signal an error in a predicate function; return non-nil.
13521 (vc-dir-mark-file): Move the error here.
13522 (vc-dir-mark-unmark): If acting on the region, keep going if one
13523 of the entries cannot be marked/unmarked.
13524 (vc-dir-mark-all-files): If current entry is a directory, mark
13525 only child files, as documented.
13526
13527 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
13528
13529 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
13530 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
13531 addition.
13532
13533 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
13534
13535 * term/ns-win.el (ns-get-selection-internal)
13536 (ns-store-selection-internal): Declare.
13537 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
13538 Declare as obsolete.
13539 (ns-get-pasteboard, ns-paste-secondary):
13540 Use ns-get-selection-internal.
13541 (ns-set-pasteboard, ns-copy-including-secondary):
13542 Use ns-store-selection-internal.
13543
13544 2011-12-17 Chong Yidong <cyd@gnu.org>
13545
13546 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
13547 (vc-deduce-fileset): Doc fix.
13548
13549 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
13550
13551 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
13552
13553 2011-12-13 Sam Steingold <sds@gnu.org>
13554
13555 * man.el (Man-getpage-in-background): When running under a
13556 window-system, ignore $MANWIDTH and $COLUMNS.
13557
13558 2011-12-15 Kenichi Handa <handa@m17n.org>
13559
13560 * language/ethio-util.el: Change coding tag to utf-8-emacs.
13561 (setup-ethiopic-environment-internal): Comment out key-binding for
13562 ethio-toggle-punctuation.
13563
13564 2011-12-13 Alan Mackenzie <acm@muc.de>
13565
13566 Add the switch statement to AWK Mode.
13567
13568 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
13569 "default" to the keywords regexp.
13570
13571 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
13572 expression as the rest.
13573 (c-nonlabel-token-key): Allow string literals for AWK.
13574 Refactor for the other modes.
13575
13576 Large brace-block initialisation makes CC Mode slow: Fix.
13577 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13578 routines. Limit backward searching in c-font-lock-enclosing.decl.
13579
13580 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
13581 pp-state and literal type in addition to the limits.
13582 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13583 (c-state-literal-at): Use the above new defun.
13584 (c-slow-in-literal, c-fast-in-literal): Remove.
13585 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13586
13587 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
13588 being in a literal. Add a limit for backward searching.
13589
13590 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
13591 c-slow-in-literal.
13592
13593 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
13594
13595 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
13596
13597 2011-12-13 Martin Rudalics <rudalics@gmx.at>
13598
13599 * window.el (delete-other-windows): Use correct frame in call to
13600 window-with-parameter.
13601
13602 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
13603
13604 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
13605 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
13606 (makefile-gmake-statements, makefile-makepp-statements):
13607 Use it and add new makepp keywords.
13608 (makefile-makepp-font-lock-keywords): Add new patterns.
13609 (makefile-match-function-end): Match new [...] and [[...]].
13610
13611 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
13612
13613 * ses.el (ses-call-printer-return, ses-cell-property-get)
13614 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
13615 (ses-create-cell-variable, ses-reset-header-string)
13616 (ses-cell-set-formula, ses-repair-cell-reference-all)
13617 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
13618 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
13619 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
13620 (ses-aset-with-undo, ses-load, ses-truncate-cell)
13621 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
13622 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
13623 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
13624 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
13625 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
13626 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
13627 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
13628 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
13629
13630 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
13631
13632 * ses.el: The overall change is to add cell renaming, that is
13633 setting fancy names for cell symbols other than name matching
13634 "\\`[A-Z]+[0-9]+\\'" regexp .
13635 (ses-create-cell-variable): New defun.
13636 (ses-relocate-formula): Relocate formulas only for cells the
13637 symbols of which are not renamed, i.e. symbols whose names do not
13638 match regexp "\\`[A-Z]+[0-9]+\\'".
13639 (ses-relocate-all): Relocate values only for cells the symbols of
13640 which are not renamed.
13641 (ses-load): Create cells variables as the (ses-cell ...) are read,
13642 in order to check row col consistency with cell symbol name only
13643 for cells that are not renamed.
13644 (ses-replace-name-in-formula): New defun.
13645 (ses-rename-cell): New defun.
13646
13647 2011-12-11 Chong Yidong <cyd@gnu.org>
13648
13649 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
13650 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
13651
13652 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
13653
13654 * window.el (other-window): Fix docstring.
13655
13656 2011-12-10 Eli Zaretskii <eliz@gnu.org>
13657
13658 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
13659 `from' or `to' address before taking its substring.
13660 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
13661 encoded name is chopped in the middle of the encoded string, and
13662 thus displayed encoded.
13663
13664 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
13665
13666 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
13667
13668 2011-12-10 Eli Zaretskii <eliz@gnu.org>
13669
13670 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
13671 to use texinfo-update-node and commands that call it if the
13672 Texinfo file uses @node lines without next/prev/up pointers.
13673 Correct outdated description about texinfo-master-menu.
13674 (texinfo-all-menus-update, texinfo-master-menu)
13675 (texinfo-update-node, texinfo-every-node-update)
13676 (texinfo-multiple-files-update): Doc fix. Warn against updating
13677 all the @node lines.
13678 (texinfo-master-menu): Only call texinfo-update-node if the prefix
13679 argument is numeric. Explain better in the doc string what the
13680 function really does.
13681 (texinfo-insert-master-menu-list): Improve the error message
13682 displayed if there's no menu in the Top node.
13683 (Bug#2975) See also this thread:
13684 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
13685
13686 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
13687
13688 * speedbar.el (speedbar-supported-extension-expressions):
13689 Add .adb and .ads, commonly used for Ada source code (bug#10256).
13690
13691 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
13692
13693 * printing.el (pr-mode-alist):
13694 * simple.el (filter-buffer-substring-functions)
13695 (completion-list-insert-choice-function):
13696 * window.el (window-with-parameter, window-atom-root)
13697 (window-sides-slots, window-size-fixed, window-min-delta)
13698 (window-max-delta, window--resize-mini-window)
13699 (window--resize-child-windows-normal, window-tree)
13700 (delete-other-windows, quit-window, split-window)
13701 (display-buffer-record-window, special-display-buffer-names)
13702 (special-display-regexps, special-display-popup-frame)
13703 (same-window-p, split-window-sensibly)
13704 (display-buffer-overriding-action, display-buffer-alist)
13705 (display-buffer-base-action, display-buffer, switch-to-buffer)
13706 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
13707 (fit-window-to-buffer, recenter-positions)
13708 (mouse-autoselect-window-state, mouse-autoselect-window-select):
13709 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
13710 and remove unneeded backslashes in docstrings.
13711
13712 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
13713
13714 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
13715
13716 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
13717 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
13718 end in ".mk".
13719 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
13720 when reading the makefile (bug#10116).
13721
13722 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
13723
13724 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
13725 (bug#10116).
13726
13727 2011-12-06 Glenn Morris <rgm@gnu.org>
13728
13729 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
13730
13731 2011-12-06 Chong Yidong <cyd@gnu.org>
13732
13733 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
13734
13735 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
13736
13737 * textmodes/table.el (table-shorten-cell): Fix typo.
13738
13739 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
13740
13741 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
13742
13743 2011-12-05 Eli Zaretskii <eliz@gnu.org>
13744
13745 * descr-text.el (describe-char): Fix display of strong
13746 right-to-left characters and directional embeddings and overrides.
13747
13748 * simple.el (what-cursor-position): Fix display of codepoints of
13749 strong right-to-left characters.
13750
13751 2011-12-05 Chong Yidong <cyd@gnu.org>
13752
13753 * faces.el (read-color): Doc fix.
13754
13755 2011-12-05 Glenn Morris <rgm@gnu.org>
13756
13757 * align.el (align--set-marker): Add doc-string.
13758 Don't try to move something that is not a marker. (Bug#10216)
13759
13760 2011-12-04 Glenn Morris <rgm@gnu.org>
13761
13762 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
13763 overly zealous deletion of trailing whitespace.
13764
13765 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
13766
13767 * server.el (server-delete-client): On Windows, do not try to delete
13768 the only terminal.
13769 (server-process-filter): On Windows, treat requests for a tty frame as
13770 if they were for a GUI frame if the running server is in GUI mode.
13771
13772 2011-12-03 Glenn Morris <rgm@gnu.org>
13773
13774 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
13775
13776 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13777
13778 * electric.el: Streamline electric-indent's hook.
13779 (electric-indent-chars): Revert to simple list.
13780 (electric-indent-functions): New var.
13781 (electric-indent-post-self-insert-function): Use it.
13782
13783 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
13784 there's no inferior buffer (bug#10196).
13785 (prolog-consult-compile): Don't use toggle-read-only.
13786
13787 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
13788
13789 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
13790 interrupt. (Bug#10187)
13791
13792 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
13793
13794 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
13795 (bug#9160).
13796
13797 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
13798 (bug#10191).
13799
13800 2011-12-02 Juri Linkov <juri@jurta.org>
13801
13802 * info.el (Info-search): Display "end of manual" when Isearch
13803 reaches the end of single-file Info manual. (Bug#9918)
13804
13805 2011-12-02 Eli Zaretskii <eliz@gnu.org>
13806
13807 * isearch.el (isearch-message-prefix): Run the input method part
13808 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
13809
13810 2011-12-02 Juri Linkov <juri@jurta.org>
13811
13812 * isearch.el (isearch-occur): Use `word-search-regexp' for
13813 `isearch-word'.
13814 (isearch-search-and-update): Add condition for `isearch-word' and
13815 call `word-search-regexp'. (Bug#10145)
13816
13817 2011-12-01 Glenn Morris <rgm@gnu.org>
13818
13819 * eshell/em-hist.el (eshell-hist-initialize):
13820 Handle eshell-history-size nil and HISTSIZE set or unset.
13821 (eshell-history-file-name, eshell-history-size): Fix custom type.
13822
13823 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
13824
13825 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
13826
13827 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
13828
13829 * progmodes/verilog-mode.el (verilog-pretty-expr):
13830 Rework verilog-pretty-expr to handle new assignment operators in system
13831 verilog, such as += *= and the like.
13832 (verilog-assignment-operator-re): Regular expression to find the
13833 assigment operator in a verilog assignment.
13834 (verilog-assignment-operation-re): Regular expression to find an
13835 assignment statement for pretty-expr.
13836 (verilog-in-attribute-p): Query returns true if point is in an
13837 attribute context; used to skip these for expression line up from
13838 pretty-expr.
13839 (verilog-in-parameter-p): Query returns true if point is in an
13840 parameter definition context; used to skip these for expression
13841 line up from pretty-expr.
13842 (verilog-in-parenthesis-p): Query returns true if point is in a
13843 parenthetical expression, specifically ( ) but not [ ] or { };
13844 used by pretty-expr.
13845 (verilog-just-one-space): If there is no space, don't add one.
13846 (verilog-get-lineup-indent-2): Specifically skip just attribute
13847 contexts for expression lineup, rather than skipping all
13848 parenthetical expressions.
13849 (verilog-calculate-indent): Fix comment, and fix indent.
13850 (verilog-do-indent): Indent declarations in lists (suggested by
13851 Joachim Lechner).
13852 (verilog-mode-abbrev-table): Populate abbrev mode with the various
13853 skeleton items.
13854 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
13855 by Alain Mellan).
13856
13857 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
13858
13859 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
13860 parameters with embedded comments. Reported by Ray Stevens.
13861 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
13862 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
13863 Reported by Tim Holt.
13864 (verilog-auto): Fix AUTOing a upper module then AUTOing module
13865 instantiated by upper module causing wrong expansion until AUTOed a
13866 second time. Reported by K C Buckenmaier.
13867 (verilog-diff-auto): Fix showing .* as a difference when
13868 `verilog-auto-star-save' off. Reported by Dan Dever.
13869 (verilog-auto-reset, verilog-read-always-signals)
13870 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
13871 temporary signals in reset list if
13872 verilog-auto-reset-blocking-in-non is nil, and match assignment
13873 style to each signal's assignment type, bug381.
13874 Reported by Thomas Esposito.
13875 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
13876 (verilog-uvm-statement-re): Support UVM indentation and
13877 highlighting, with old OVM keywords only.
13878 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
13879 Support AUTOTIEOFF creating non-wire data types.
13880 Suggested by Jonathan Greenlaw.
13881 (verilog-auto-insert-lisp, verilog-delete-to-paren)
13882 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
13883 (verilog-inject-sense, verilog-read-inst-pins)
13884 (verilog-read-sub-decls, verilog-read-sub-decls-line):
13885 Fix mismatching parenthesis inside commented out code when deleting
13886 AUTOINST, bug383. Reported by Jonathan Greenlaw.
13887 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
13888 non-numeric vector width. Reported by Alex Reed.
13889 (verilog-auto-ascii-enum): Add "onehot" option to work around not
13890 detecting signals with parameter widths. Reported by Alex Reed.
13891 (verilog-auto-delete-trailing-whitespace):
13892 With `verilog-auto-delete-trailing-whitespace' remove trailing
13893 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
13894 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
13895 Fix verilog-scan-cache corruption when running user AUTO expansion
13896 hooks that call indentation routines.
13897 (verilog-simplify-range-expression): Fix typo ignoring lower case
13898 identifiers.
13899 (verilog-delete-auto): Fix delete-autos to also remove user created
13900 automatics, as long as they start with AUTO.
13901 (verilog-batch-diff-auto, verilog-diff-auto)
13902 (verilog-diff-function): Add `verilog-diff-auto' and bind to
13903 "C-c?" to report differences in AUTO expansion, ignoring spaces.
13904 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
13905 (verilog-in-paren-quick, verilog-re-search-backward-quick)
13906 (verilog-re-search-forward-quick, verilog-syntax-ppss):
13907 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
13908 is disabled and its cache will get corrupt, causing AUTOS not to
13909 expand. Instead use only -quick functions.
13910 (verilog-scan-region): Fix scanning over escaped quotes.
13911 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
13912 (verilog-re-search-backward-quick)
13913 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
13914 related functions now ignore strings, to fix misparsing of strings
13915 with magic comments embedded in them.
13916 (verilog-read-auto-template):
13917 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
13918 Reported by Brad Dobbie.
13919 (verilog-read-auto-template):
13920 Fix 'verilog-auto-inst-template-numbers' with comments.
13921 Reported by Brad Dobbie.
13922 (verilog-auto-inst, verilog-auto-inst-param)
13923 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
13924 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
13925 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
13926 debugging templates without merge conflicts, bug357.
13927 Reported by Brad Dobbie.
13928 (verilog-read-auto-template):
13929 Fix verilog-auto-inst-template-numbers with multiple templates.
13930 Reported by Brad Dobbie.
13931 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
13932 abbrevs so user won't be asked to save.
13933 (verilog-read-auto-lisp-present): Fix to start at beginning of
13934 buffer in case called outside of verilog-auto.
13935 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
13936 to "X-2". Reported by Matthew Myers.
13937 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
13938 all inputs from module templates. Reported by Leith Johnson.
13939 (verilog-module-inside-filename-p): Fix locating programs as with
13940 modules.
13941 (verilog-auto-inst-port): Fix vl-width expressions when using
13942 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
13943 (verilog-decls-get-regs, verilog-decls-get-signals,
13944 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
13945 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
13946 verilog-read-decls): Combine reg and wire structures into one var
13947 structure to represent SystemVerilog concepts.
13948 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
13949 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
13950 (verilog-auto-wire-type, verilog-insert-definition):
13951 Add verilog-auto-wire-type and AUTOLOGIC to support using
13952 SystemVerilog "logic" keyword instead of "wire"/"reg".
13953 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
13954 to declares outputs that also have assignments (presumably in an
13955 ifdef or generate if so there's not a driver conflict).
13956 Reported by Matthew Myers.
13957 (verilog-auto-declare-nettype, verilog-insert-definition):
13958 Add verilog-auto-declare-nettype to fix declarations using
13959 `default_nettype none. Reported by Julian Gorfajn.
13960 (verilog-read-always-signals-recurse, verilog-read-decls)
13961 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
13962 malformed end statement, bug325. Reported by Joshua Wise and
13963 Andrew Drake.
13964 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
13965 (verilog-inst-comment-re): Fix not deleting Interfaced comment
13966 when expanding .* in interfaces, bug320.
13967 Reported by Pierre-David Pfister.
13968 (verilog-read-module-name): Fix import statements between module
13969 name and open parenthesis, bug317.
13970 Reported by Pierre-David Pfister.
13971 (verilog-simplify-range-expression): Fix simplification of
13972 multiplications inside AUTOWIRE connections, bug303.
13973 (verilog-auto-inst-port): Support parameter expansion in
13974 multidimensional arrays.
13975 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
13976 after "assert property". Reported by Julian Gorfajn.
13977 (verilog-simplify-range-expression): Fix "couldn't merge" errors
13978 with multiplication, bug303.
13979 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
13980 Reported by Jan Frode Lonnum.
13981
13982 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
13983
13984 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
13985 (hfy-shell-file-name, hfy-shell):
13986 * international/fontset.el (x-decompose-font-name): Fix typos.
13987
13988 2011-11-29 Ken Brown <kbrown@cornell.edu>
13989
13990 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
13991 (gdb-version): Remove defvar.
13992 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
13993 (gdb-gud-context-command, gdb-non-stop-handler)
13994 (gdb-current-context-command, gdb-stopped): Use it.
13995 (gdb-init-1): Enable pretty printing here.
13996 (gdb-non-stop-handler): Don't enable pretty-printing here.
13997 Check to see if the target supports non-stop mode; if not, turn off
13998 non-stop mode. Use the following.
13999 (gdb-check-target-async): New defun.
14000 (gud-watch, gdb-stopped): Fix whitespace.
14001 (gdb-get-source-file): Don't try to display the source file if
14002 `gdb-main-file' is nil.
14003
14004 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
14005
14006 * align.el: Try to generate fewer markers (bug#10047).
14007 (align--set-marker): New macro.
14008 (align-region): Use it.
14009
14010 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
14011
14012 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
14013
14014 2011-11-29 Chong Yidong <cyd@gnu.org>
14015
14016 * indent.el (indent-for-tab-command, indent-according-to-mode):
14017 Doc fix.
14018 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
14019
14020 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
14021
14022 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
14023 aware of remote file names. (Bug#10124)
14024
14025 2011-11-29 Chong Yidong <cyd@gnu.org>
14026
14027 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
14028
14029 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
14030
14031 * files.el (find-file): Don't use force-same-window (bug#10144).
14032 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
14033 use pop-to-buffer if the selected window can't be used.
14034 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
14035
14036 2011-11-28 Eli Zaretskii <eliz@gnu.org>
14037
14038 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
14039 special-mode-map.
14040
14041 2011-11-28 Chong Yidong <cyd@gnu.org>
14042
14043 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
14044
14045 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
14046
14047 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
14048 gdb-get-source-file-list on gdb-create-source-file-list.
14049
14050 2011-11-26 Eli Zaretskii <eliz@gnu.org>
14051
14052 * whitespace.el (whitespace-newline): Use a different foreground
14053 color for 16-color light-background displays.
14054
14055 2011-11-24 Chong Yidong <cyd@gnu.org>
14056
14057 * window.el (display-buffer--special-action): Doc fix.
14058
14059 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
14060
14061 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
14062 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
14063 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
14064 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
14065 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
14066 (avl-tree-stack-first):
14067 * emacs-lisp/cconv.el (cconv--analyse-use):
14068 * net/gnutls.el (gnutls-negotiate): Fix typos.
14069
14070 2011-11-24 Glenn Morris <rgm@gnu.org>
14071
14072 * lpr.el (lpr-windows-system, lpr-lp-system):
14073 * mail/binhex.el (binhex-begin-line):
14074 * progmodes/grep.el (grep-history, grep-find-history):
14075 * textmodes/flyspell.el:
14076 * vc/pcvs-defs.el (cvs-global-menu):
14077 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
14078 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
14079 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
14080
14081 * net/tls.el: Fix case of "GnuTLS".
14082
14083 * paths.el (rmail-file-name): Format doc-string for make-docfile.
14084
14085 * version.el (emacs-build-system): Give it a doc-string.
14086
14087 2011-11-24 Juri Linkov <juri@jurta.org>
14088
14089 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
14090
14091 2011-11-24 Glenn Morris <rgm@gnu.org>
14092
14093 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
14094 if called on a non-mime message just toggle the headers. (Bug#8006)
14095
14096 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
14097
14098 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
14099 (allout-lead-with-comment-string, allout-structure-deleted-hook)
14100 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
14101 (allout-rebullet-heading, allout-open-sibtopic)
14102 (allout-toggle-current-subtree-encryption)
14103 (allout-toggle-subtree-encryption, allout-encrypt-string)
14104 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
14105 (allout-distinctive-bullets-string, allout-auto-activation):
14106 * window.el (window-normalize-buffer-to-display):
14107 * progmodes/verilog-mode.el (verilog-batch-indent):
14108 * textmodes/bibtex.el (bibtex-field-braces-opt)
14109 (bibtex-field-strings-opt):
14110 * vc/cvs-status.el (cvs-tree-merge):
14111 Fix typos.
14112
14113 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
14114
14115 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
14116 `non-essential' to t, in order to avoid remote connections.
14117
14118 2011-11-23 Eli Zaretskii <eliz@gnu.org>
14119
14120 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
14121 On MS-DOS and MS-Windows, compare with loaddefs.el
14122 case-insensitively.
14123
14124 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
14125
14126 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
14127
14128 2011-11-23 Glenn Morris <rgm@gnu.org>
14129
14130 * paths.el (rmail-file-name): Reformat the doc-string so that it
14131 is picked up.
14132
14133 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
14134 (rmail-auto-file): Ignore case in the "special" field names,
14135 as mail-fetch-field does for all others.
14136
14137 * mail/rmail.el (rmail-forward):
14138 * mail/rmailkwd.el (rmail-set-label):
14139 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
14140 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
14141
14142 * mail/rmail.el (rmail-current-message): Doc fix.
14143
14144 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
14145
14146 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
14147
14148 * server.el (server-eval-and-print): Allow C-g (bug#6585).
14149
14150 2011-11-22 Glenn Morris <rgm@gnu.org>
14151
14152 * mail/rmailmm.el (test-rmail-mime-handler)
14153 (test-rmail-mime-bulk-handler)
14154 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
14155
14156 2011-11-21 Juri Linkov <juri@jurta.org>
14157
14158 * calc/calc.el (calc-read-key-sequence):
14159 Let-bind `input-method-function' to nil. (Bug#10018)
14160
14161 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14162
14163 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
14164 Tell the caller that the next line needs recomputation, even
14165 though it doesn't start a sexp (bug#10094).
14166
14167 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
14168
14169 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
14170
14171 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
14172
14173 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
14174 Use force-same-window.
14175
14176 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
14177
14178 * descr-text.el (describe-char-unicode-data):
14179 * json.el (json-string-escape):
14180 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
14181 (Footnote-unicode, Footnote-style-p):
14182 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
14183
14184 2011-11-20 Chong Yidong <cyd@gnu.org>
14185
14186 * window.el (replace-buffer-in-windows): Restore interactive spec.
14187
14188 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
14189
14190 * electric.el (electric-indent-mode): Fix last change (too optimistic).
14191
14192 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
14193 (byte-compile-global-not-obsolete-vars): New var.
14194 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
14195 Use it.
14196 (byte-compile-warn-obsolete): Align text with the one in *Help*.
14197
14198 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
14199
14200 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
14201 * progmodes/pascal.el (electric-pascal-equal):
14202 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
14203 * xml.el (xml-substitute-special): Fix typos.
14204
14205 2011-11-20 Glenn Morris <rgm@gnu.org>
14206
14207 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
14208 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
14209 Doc fixes.
14210 (rmail-decode-mime-charset): Mark as obsolete.
14211
14212 * mail/rmailsum.el (rmail-message-regexp-p-1):
14213 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
14214 Before using mime functions, check they are set. (Bug#10077)
14215
14216 2011-11-19 Juri Linkov <juri@jurta.org>
14217
14218 * info.el (Info-finder-find-node): Use `package--builtins' instead
14219 of `package-alist'. Use node names formed by the pattern "Keyword "
14220 and the keyword name.
14221
14222 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
14223
14224 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
14225
14226 2011-11-19 Juri Linkov <juri@jurta.org>
14227
14228 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
14229 that calls `revert-buffer' on all Info buffers. (Bug#9915)
14230 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
14231 `old-history', `old-history-forward'. Add let-binding
14232 `window-selected'. Remove calls to `kill-buffer',
14233 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
14234 before calling `Info-find-node', so `Info-find-node-2' will reread
14235 the Info file. Restore window positions only when `window-selected'
14236 is non-nil.
14237
14238 2011-11-19 Juri Linkov <juri@jurta.org>
14239
14240 * isearch.el (isearch-lazy-highlight-new-loop):
14241 Remove condition `(not isearch-error)'. (Bug#9918)
14242
14243 * misearch.el (multi-isearch-search-fun): Add condition
14244 `(not bound)' to ignore lazy-highlighting search.
14245 Add the search-failed message "end of multi" when the end of
14246 multi-sequence is reached. Uncapitalize the search-failed
14247 message "Repeat for next buffer".
14248
14249 * info.el (Info-search): Add the search-failed message
14250 "end of the manual" when the end of the manual is reached
14251 in Isearch mode.
14252
14253 2011-11-19 Juri Linkov <juri@jurta.org>
14254
14255 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
14256 Use non-destructive `remove' instead of `delete' because
14257 `Info-history-list' stored to `Info-isearch-initial-history-list' in
14258 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
14259
14260 2011-11-19 Juri Linkov <juri@jurta.org>
14261
14262 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
14263 to nil instead of binding `search-ring' and `regexp-search-ring'.
14264 (Bug#9185)
14265
14266 2011-11-19 Eli Zaretskii <eliz@gnu.org>
14267
14268 * simple.el (line-move): Force movement by logical lines for any
14269 hscrolled window, not only when auto-hscroll-mode is on.
14270 (line-move-visual): Update doc string to that effect. (Bug#10076)
14271
14272 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
14273
14274 * language/european.el (macintosh): Define as alias for mac-roman.
14275
14276 2011-11-19 Eli Zaretskii <eliz@gnu.org>
14277
14278 * mail/rmailmm.el (rmail-mime-display-header)
14279 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
14280 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
14281 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
14282 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
14283 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
14284 of a raw aref.
14285 (rmail-mime-entity-segment): To get past the tagline, move forward
14286 2 more lines, to account for the 2 empty lines that precede and
14287 follow the line with the buttons.
14288 (rmail-mime-update-tagline): Move one more line, to get past the
14289 empty line that follows the buttons in the tagline. (Bug#9520)
14290
14291 2011-11-19 Martin Rudalics <rudalics@gmx.at>
14292
14293 * window.el (window-max-delta-1, window-min-delta-1)
14294 (window-min-size-1, window-state-get-1, window-state-put-1)
14295 (window-state-put-2): Use "window--" prefix.
14296
14297 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
14298
14299 * emacs-lisp/smie.el: Improve warnings and conflict detection.
14300 (smie-warning-count): New var.
14301 (smie-set-prec2tab): Use it.
14302 (smie-bnf->prec2): Improve warnings. Add docstring.
14303 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
14304 (smie-bnf--set-class): New function.
14305 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
14306 corner case.
14307
14308 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
14309 (compilation-error-properties, compilation-move-to-column):
14310 Handle compilation-first-column while in the target buffer.
14311
14312 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
14313 Don't hardcode point-min==1.
14314
14315 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
14316 (eshell-rewrite-for-command): Remove workaround.
14317 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
14318 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
14319 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
14320
14321 * files-x.el (modify-file-local-variable): Obey commenting conventions.
14322
14323 2011-11-17 Glenn Morris <rgm@gnu.org>
14324
14325 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
14326 Ignore buffer-local generated-autoload-file if it is the same
14327 as the global value. (Bug#10049)
14328
14329 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
14330
14331 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
14332 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
14333 (reftex-toc-previous-heading, reftex-toc-max-level)
14334 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
14335 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
14336 (reftex-toc-do-promote, reftex-toc-promote-prepare)
14337 (reftex-toc-promote-action, reftex-toc-extract-section-number)
14338 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
14339 (reftex-toc-rename-label, reftex-toc-visit-location)
14340 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
14341 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
14342 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
14343 leaving "*toc*" only for references to the buffer.
14344
14345 2011-11-17 Martin Rudalics <rudalics@gmx.at>
14346
14347 * window.el (window-resize, delete-window, split-window):
14348 Replace window-splits by window-combination-resize.
14349 * cus-start.el (window-splits): Replace by window-combination-resize.
14350
14351 2011-11-17 Glenn Morris <rgm@gnu.org>
14352
14353 * progmodes/sh-script.el (sh-font-lock-keywords-var):
14354 Make bash entry derive from sh entry, not shell entry.
14355
14356 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
14357
14358 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
14359 local file name.
14360
14361 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
14362
14363 * menu-bar.el (menu-bar-file-menu):
14364 * printing.el (pr-ps-utility):
14365 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
14366 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
14367 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
14368 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
14369 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
14370 (icalendar--convert-cyclic-to-ical)
14371 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
14372 (icalendar--convert-ical-to-diary)
14373 (icalendar--convert-recurring-to-diary)
14374 (icalendar--convert-non-recurring-all-day-to-diary)
14375 (icalendar-import-format-sample):
14376 * progmodes/idlw-shell.el (idlwave-shell-mode):
14377 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
14378 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
14379 (vhdl-ps-print-init): Fix typos.
14380
14381 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
14382
14383 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
14384 FSF and collapse date sequence, obscure author/maintainer email address
14385 better, remove extra version line, track relocation of author's webpage.
14386
14387 * progmodes/python.el (python-pdbtrack-input-prompt)
14388 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
14389 regular python pdb prompts. Adjustments shamelessly taken exactly as
14390 suggested in EmacsWiki page (tiny change):
14391 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
14392
14393 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
14394
14395 * expand.el (expand-pos, expand-index, expand-point):
14396 Remove redundant info from docstring.
14397 (expand-add-abbrevs): Doc fix.
14398 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
14399 (expand-sample-perl-mode-expand-list): Fix typos.
14400
14401 * net/dbus.el (dbus-event-member-name):
14402 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
14403 * term/pc-win.el (msdos-create-frame-with-faces):
14404 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
14405
14406 2011-11-16 Martin Rudalics <rudalics@gmx.at>
14407
14408 * window.el (split-window, window-state-get-1)
14409 (window-state-put-1, window-state-put-2): Rename occurrences of
14410 window-nest to window-combination-limit.
14411 * cus-start.el (window-nest): Rename to window-combination-limit.
14412
14413 2011-11-16 Chong Yidong <cyd@gnu.org>
14414
14415 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
14416 regexp (Bug#10033).
14417
14418 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
14419
14420 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
14421 `completing-read' will remove *Completions* and will preserve
14422 current-buffer for us.
14423 (tmm-add-prompt): Users of *Completions* will always (re)set its
14424 major mode.
14425 (tmm-old-comp-map): Remove.
14426
14427 2011-11-16 Glenn Morris <rgm@gnu.org>
14428
14429 * mail/rmailedit.el: Require rmailmm when compiling.
14430 (rmail-old-mime-state): New declaration.
14431 (rmail-edit-current-message): If editing a mime message,
14432 edit the "raw" message from the mbox buffer.
14433 (rmail-cease-edit): Handle mime messages. (Bug#9840)
14434
14435 2011-11-15 Glenn Morris <rgm@gnu.org>
14436
14437 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
14438 which wasn't being used. Add optional arg to force given state.
14439 (rmail-mime): Add optional arg to force given state.
14440
14441 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
14442
14443 * allout.el (allout-encryption-plaintext-sanitization-regexps):
14444 * frame.el (display-mm-dimensions-alist):
14445 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
14446 (outline-move-subtree-down):
14447 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
14448 (newsticker--treeview-do-get-node):
14449 * net/quickurl.el (quickurl-list-buffer-name):
14450 * progmodes/dcl-mode.el (dcl-mode):
14451 * progmodes/gdb-mi.el (gdb-mapcar*):
14452 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
14453
14454 2011-11-15 Glenn Morris <rgm@gnu.org>
14455
14456 * mail/rmail.el (rmail-file-coding-system): It's only ever used
14457 in a boolean sense, so just make it a boolean, and fix the doc.
14458 (rmail-show-mime-function, rmail-mime-feature)
14459 (rmail-require-mime-maybe): Doc fixes.
14460 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
14461
14462 * mail/rmailmm.el (rmail-show-mime): Doc fix.
14463
14464 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
14465
14466 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
14467 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
14468 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
14469 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
14470
14471 2011-11-15 Glenn Morris <rgm@gnu.org>
14472
14473 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
14474 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
14475 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
14476 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
14477 (rmail-mime, rmail-show-mime): Doc fixes.
14478
14479 * term/ns-win.el (mode-line-frame-identification):
14480 Leave it alone. (Bug#10051)
14481
14482 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
14483
14484 * mail/rmailout.el (rmail-output-to-rmail-buffer):
14485 Handle empty buffers. (Bug#9978)
14486
14487 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
14488
14489 * international/mule.el (define-charset):
14490 * mail/rmailmm.el (rmail-mime-find-header-encoding):
14491 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
14492 * progmodes/verilog-mode.el (verilog-backward-token):
14493 * textmodes/ispell.el (lookup-words):
14494 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
14495
14496 2011-11-14 Glenn Morris <rgm@gnu.org>
14497
14498 * progmodes/executable.el
14499 (executable-make-buffer-file-executable-if-script-p):
14500 Handle file-modes returning nil.
14501
14502 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
14503 message - not necessary, and causes problems. (Bug#9831)
14504
14505 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
14506
14507 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
14508
14509 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
14510 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
14511 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
14512
14513 2011-11-12 Martin Rudalics <rudalics@gmx.at>
14514
14515 * window.el (window-resize, delete-window): Use window-splits
14516 variable instead of function.
14517 (window-state-get-1, window-state-put-2, window-state-put):
14518 Don't deal with windows' splits status.
14519
14520 2011-11-12 Glenn Morris <rgm@gnu.org>
14521
14522 * apropos.el (apropos-do-all, apropos-library, apropos-value)
14523 (apropos-documentation): Doc fixes.
14524
14525 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
14526
14527 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
14528 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
14529
14530 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
14531
14532 * electric.el (electric-indent-post-self-insert-function): Make it
14533 possible for a char to only indent in some circumstances.
14534 (electric-indent-mode): Simplify.
14535
14536 2011-11-11 Martin Rudalics <rudalics@gmx.at>
14537
14538 * window.el (windows-with-parameter): Remove unused function.
14539 (windows-at-side): Rename to window-at-side-list.
14540 (window-check, window-atom-check, window-atom-check-1)
14541 (window-side-check, window-size-ignore, window-size-fixed-1)
14542 (window-in-direction-2): Prefix with "window--".
14543 (window-tree-1): Rename to window--subtree, fix doc-string.
14544
14545 2011-11-11 Glenn Morris <rgm@gnu.org>
14546
14547 * subr.el (eval-after-load): If FILE is already loaded,
14548 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
14549
14550 2011-11-10 Glenn Morris <rgm@gnu.org>
14551
14552 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
14553 Call svn via vc-svn-command rather than vc-do-command.
14554 (vc-svn-command): Add --non-interactive. (Bug#9993)
14555 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
14556
14557 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14558 Add toggle-read-only. (Bug#7292)
14559 * files.el (toggle-read-only): Mention that it should only
14560 be used interactively. (Bug#10006)
14561
14562 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
14563
14564 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14565 Adjust regexp for OCaml warnings.
14566
14567 * electric.el (electric-pair-post-self-insert-function): Let user
14568 turn it off buffer-locally (bug#9932).
14569
14570 * progmodes/python.el (python-beginning-of-statement):
14571 Rewrite (bug#2703).
14572
14573 * progmodes/compile.el: Better handle TABs (bug#9749).
14574 (compilation-internal-error-properties)
14575 (compilation-next-error-function): Obey the target buffer's
14576 compilation-error-screen-columns.
14577
14578 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
14579
14580 * progmodes/meta-mode.el: Remove obsolete comments.
14581 (meta-right-comment-regexp, meta-ignore-comment-regexp):
14582 Fix typos in docstrings.
14583
14584 2011-11-09 Martin Rudalics <rudalics@gmx.at>
14585
14586 * window.el (window-size-fixed-p): Rewrite doc-string.
14587 (window-resizable-p): Rename to window--resizable-p. Update callers.
14588 (window--resizable): New function. Make all callers of
14589 window-resizable call window--resizable instead.
14590 (window-resizable): Rewrite in terms of window--resizable.
14591
14592 2011-11-08 Glenn Morris <rgm@gnu.org>
14593
14594 * progmodes/delphi.el (delphi-mode-syntax-table):
14595 Let define-derived-mode define a proper syntax table. (Bug#9994)
14596
14597 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
14598
14599 * window.el: Stay away from defsubst.
14600 (window-list-no-nils): Remove.
14601 (window-state-get-1, window-state-get): Use backquote instead.
14602
14603 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14604
14605 * emacs-lisp/find-func.el (find-function-read):
14606 Fix incorrect use of default argument in `completing-read'.
14607
14608 2011-11-08 Martin Rudalics <rudalics@gmx.at>
14609
14610 * window.el (display-buffer-function, special-display-function):
14611 Mention display-buffer-record-window but do not mention
14612 help-setup parameter in doc-strings.
14613 (window-min-delta): Fix doc-string typo.
14614
14615 2011-11-08 Chong Yidong <cyd@gnu.org>
14616
14617 * window.el (window-total-height, window-total-width): Doc fix.
14618 (window-body-size): Move from C.
14619 (window-body-height, window-body-width): Move to C.
14620
14621 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
14622
14623 * window.el: Make special-display like display-buffer-alist (bug#9532).
14624 (display-buffer--special-action): New function, morphed
14625 from display-buffer--special.
14626 (display-buffer): Use it to handle special-display-buffers at higher
14627 priority (just after display-buffer-alist).
14628 (display-buffer-fallback-action, display-buffer--other-frame-action)
14629 (pop-to-buffer-same-window): Remove display-buffer--special.
14630
14631 2011-11-07 Glenn Morris <rgm@gnu.org>
14632
14633 * calendar/cal-menu.el (cal-menu-set-date-title):
14634 Do nothing if not in a calendar. (Bug#9976)
14635
14636 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
14637
14638 * files.el (find-file): Always use selected-window.
14639
14640 2011-11-07 Martin Rudalics <rudalics@gmx.at>
14641
14642 * window.el (window-combinations): Make WINDOW argument
14643 mandatory. Rewrite doc-string.
14644 (walk-window-subtree, window-atom-check, window-min-delta)
14645 (window-max-delta, window--resize-this-window)
14646 (window--resize-root-window-vertically, window-tree)
14647 (balance-windows, window-state-put): Rewrite doc-strings as to
14648 not mention the term "subwindow".
14649 (window--resize-subwindows-skip-p): Rename to
14650 window--resize-child-windows-skip-p.
14651 (window--resize-subwindows-normal): Rename to
14652 window--resize-child-windows-normal.
14653 (window--resize-subwindows): Rename to
14654 window--resize-child-windows.
14655 (window-or-subwindow-p): Rename to window--in-subtree-p.
14656
14657 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
14658
14659 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
14660 Ensure that mbox format messages end in two newlines (Bug#9974).
14661
14662 2011-11-06 Chong Yidong <cyd@gnu.org>
14663
14664 * window.el (window-combination-p): Function deleted; its
14665 side-effect is not used in any existing code.
14666 (window-combinations, window-combined-p): Call window-*-child
14667 directly.
14668
14669 2011-11-05 Chong Yidong <cyd@gnu.org>
14670
14671 * window.el (window-valid-p): Rename from window-any-p.
14672 (window-size-ignore, window-state-get): Callers changed.
14673 (window-normalize-window): Rename from window-normalize-any-window.
14674 New arg LIVE-ONLY, replacing window-normalize-live-window.
14675 (window-normalize-live-window): Delete.
14676 (window-combination-p, window-combined-p, window-combinations)
14677 (walk-window-subtree, window-atom-root, window-min-size)
14678 (window-sizable, window-sizable-p, window-size-fixed-p)
14679 (window-min-delta, window-max-delta, window-resizable)
14680 (window-resizable-p, window-full-height-p, window-full-width-p)
14681 (window-current-scroll-bars, window-point-1, set-window-point-1)
14682 (window-at-side-p, window-in-direction, window-resize)
14683 (adjust-window-trailing-edge, maximize-window, minimize-window)
14684 (window-deletable-p, delete-window, delete-other-windows)
14685 (record-window-buffer, unrecord-window-buffer)
14686 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
14687 (quit-window, split-window, window-state-put)
14688 (set-window-text-height, fit-window-to-buffer)
14689 (shrink-window-if-larger-than-buffer): Callers changed.
14690
14691 2011-11-04 Eli Zaretskii <eliz@gnu.org>
14692
14693 * mail/rmail.el (rmail-simplified-subject): Decode subject with
14694 rfc2047-decode-string.
14695 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
14696 warnings.
14697
14698 * window.el (window-body-height, window-body-width): Mention in
14699 the doc string that the return values are in frame's canonical
14700 units. (Bug#9949)
14701
14702 2011-11-03 Alan Mackenzie <acm@muc.de>
14703
14704 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
14705 change in cc-engine.el.
14706
14707 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
14708
14709 * window.el (switch-to-buffer): Use `force-same-window' interactively.
14710
14711 2011-11-02 Martin Rudalics <rudalics@gmx.at>
14712
14713 * window.el (quit-window): Call unrecord-window-buffer after
14714 showing another buffer in the window. (Bug#9937)
14715 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
14716
14717 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
14718
14719 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
14720 Accept status with more than 9 shelves. (Bug#9935)
14721 Reported by Colin D Bennett <colin@gibibit.com>.
14722
14723 2011-11-01 Martin Rudalics <rudalics@gmx.at>
14724
14725 * help.el (with-help-window): Don't reference
14726 temp-buffer-show-specifiers in doc-string.
14727
14728 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
14729
14730 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
14731 menu-item.
14732
14733 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14734
14735 * whitespace.el: New version 13.2.2.
14736 (whitespace-newline-mode): Disable properly. Reported by Sarah
14737 <EmacsWiki>.
14738
14739 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
14740
14741 * net/newst-treeview.el: Remove "Time-stamp".
14742 (newsticker--group-manage-orphan-feeds): Do not call
14743 newsticker--treeview-tree-update.
14744 (newsticker-treeview-update, newsticker-treeview):
14745 Call newsticker--treeview-tree-update if necessary.
14746
14747 2011-10-30 Martin Rudalics <rudalics@gmx.at>
14748
14749 * window.el (window-iso-combination-p, window-iso-combined-p)
14750 (window-iso-combinations): Remove "iso-" infix.
14751 Suggested by Chong Yidong.
14752 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
14753 (window-max-delta-1, window-resize, window--resize-siblings)
14754 (window--resize-this-window, adjust-window-trailing-edge)
14755 (split-window, balance-windows-1)
14756 (shrink-window-if-larger-than-buffer):
14757 * calendar/calendar.el (calendar-generate-window):
14758 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
14759
14760 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
14761
14762 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
14763 in place (bug#9907).
14764 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
14765 (eshell-rewrite-if-command, eshell-rewrite-for-command)
14766 (eshell-structure-basic-command, eshell-rewrite-while-command)
14767 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
14768 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
14769 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
14770 (eshell-do-pipelines-synchronously, eshell-eval-command):
14771 Use backquotes and prefer setq to set.
14772 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
14773 (eshell-macrop): Use functionp.
14774 (eshell-do-eval): Handle multiple expressions in `while' body.
14775
14776 2011-10-30 Chong Yidong <cyd@gnu.org>
14777
14778 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
14779 instead of set-mark (Bug#9810).
14780
14781 2011-10-30 Chong Yidong <cyd@gnu.org>
14782
14783 * window.el (split-window-below, split-window-right): Rename from
14784 split-window-above-each-other and split-window-side-by-side
14785 respectively. All callers changed.
14786 (split-window-sensibly, split-window-sensibly): Use them.
14787 (split-window-keep-point): Doc fix.
14788
14789 * isearch.el: Add isearch-scroll property to split-window-below
14790 and split-window-right.
14791
14792 * follow.el (follow-mode):
14793 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
14794 * progmodes/ada-xref.el (ada-gdb-application):
14795 * emulation/vip.el (vip-buffer-in-two-windows):
14796 * image-dired.el (image-dired-dired-with-window-configuration):
14797 * dired-x.el (dired-do-find-marked-files):
14798 * dired.el (dired-pop-to-buffer):
14799 * bs.el (bs--show-with-configuration):
14800 * vc/emerge.el (emerge-setup-windows):
14801 * textmodes/two-column.el (2C-two-columns):
14802 * textmodes/reftex-toc.el (reftex-toc):
14803 * progmodes/gdb-mi.el (gdb-setup-windows):
14804 * progmodes/fortran.el (fortran-window-create):
14805 * net/newst-treeview.el (newsticker--treeview-window-init):
14806 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
14807 * emulation/tpu-edt.el (tpu-gold-map):
14808 * emulation/crisp.el (crisp-mode-map):
14809 * calendar/calendar.el (calendar-basic-setup): Callers changed.
14810
14811 2011-10-29 Chong Yidong <cyd@gnu.org>
14812
14813 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
14814
14815 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
14816
14817 * textmodes/flyspell.el (flyspell-word): Fix char offset for
14818 forged Ispell output (Bug#7904).
14819
14820 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
14821
14822 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14823
14824 * doc-view.el: Avoid ugly errors about not finding nil.
14825 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
14826 (doc-view-dvipdf-program, doc-view-unoconv-program)
14827 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
14828 Avoid nil or absolute file name as default value.
14829 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
14830
14831 2011-10-28 Alan Mackenzie <acm@muc.de>
14832
14833 * progmodes/cc-defs.el (c-version): -> 5.32.2.
14834
14835 2011-10-28 Alan Mackenzie <acm@muc.de>
14836
14837 Amend the handling of c-beginning/end-of-defun in nested declaration
14838 scopes.
14839
14840 * progmodes/cc-vars.el (c-defun-tactic): Move here from
14841 cc-langs.el. Change it to a defcustom.
14842
14843 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
14844 cc-vars.el.
14845
14846 * progmodes/cc-engine.el (c-beginning-of-statement-1):
14847 Prevent "class foo : bar" being spuriously recognized as a label.
14848
14849 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
14850 Add parameter `inclusive' (to include enclosing braces in the region).
14851 (c-widen-to-enclosing-decl-scope): New function.
14852 (c-while-widening-to-decl-block): New macro.
14853 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
14854 outward for defun boundaries, and correspondingly change symbol
14855 `respect-enclosure' to `go-outward'.
14856 (c-declaration-limits): Change algorithm to report only the "innermost"
14857 defun's boundaries.
14858
14859 2011-10-28 Deniz Dogan <deniz@dogan.se>
14860
14861 * net/rcirc.el (rcirc-mode): Use hard newlines.
14862
14863 2011-10-28 Alan Mackenzie <acm@muc.de>
14864
14865 Amend to indent and fontify macros "which include their own semicolon"
14866 correctly, using the "virtual semicolon" mechanism.
14867
14868 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
14869
14870 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
14871 Recode to scan one line at a time rather than having \n and \r
14872 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
14873 (c-forward-label): Amend for virtual semicolons.
14874 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
14875
14876 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
14877 of the new C macros.
14878
14879 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
14880 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
14881 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
14882 (c-opt-cpp-macro-define): Make into a full language variable.
14883 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
14884 AWK Mode (including \n, \r) removed, no longer needed.
14885
14886 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
14887 Invoke c-make-macro-with-semi-re.
14888
14889 * progmodes/cc-vars.el (c-macro-with-semi-re):
14890 (c-macro-names-with-semicolon): New variables.
14891 (c-make-macro-with-semi-re): New function.
14892
14893 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14894
14895 * vc/log-edit.el: Fill empty field rather than adding new one.
14896 (log-edit-add-field): New function.
14897 (log-edit-insert-changelog): Use it.
14898
14899 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
14900
14901 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
14902
14903 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14904
14905 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
14906 (gdb--check-interpreter): New function.
14907 (gdb): Use it.
14908
14909 2011-10-27 Glenn Morris <rgm@gnu.org>
14910
14911 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
14912 (least-positive-float, least-negative-float)
14913 (least-positive-normalized-float, least-negative-normalized-float)
14914 (float-epsilon, float-negative-epsilon):
14915 Remove unnecessary declarations.
14916
14917 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
14918 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
14919 (least-positive-float, least-negative-float)
14920 (least-positive-normalized-float, least-negative-normalized-float)
14921 (float-epsilon, float-negative-epsilon): Add doc-strings,
14922 based on those in cl.texi.
14923
14924 * files.el (set-visited-file-name): If the major-mode changed,
14925 reload the local variables. (Bug#9796)
14926
14927 2011-10-27 Chong Yidong <cyd@gnu.org>
14928
14929 * subr.el (change-major-mode-after-body-hook): New hook.
14930 (run-mode-hooks): Run it.
14931
14932 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14933 Use change-major-mode-before-body-hook.
14934
14935 * simple.el (fundamental-mode):
14936 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
14937 change introducing fundamental-mode-hook.
14938
14939 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
14940
14941 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
14942
14943 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
14944
14945 * ido.el (ido-file-name-all-completions-1): Do not require
14946 tramp.el explicitly. (Bug#7583)
14947
14948 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
14949
14950 * progmodes/octave-mod.el:
14951 * progmodes/octave-inf.el: Update maintainer.
14952
14953 2011-10-26 Chong Yidong <cyd@gnu.org>
14954
14955 * subr.el (with-wrapper-hook): Rewrite doc.
14956
14957 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
14958
14959 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
14960 filenames "/method:foo:". (Bug#9793)
14961
14962 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
14963
14964 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
14965 (bug#9865).
14966
14967 2011-10-24 Glenn Morris <rgm@gnu.org>
14968
14969 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
14970
14971 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
14972
14973 * notifications.el: Add the requirement of a running D-Bus session
14974 bus to the Commentary.
14975
14976 2011-10-24 Juri Linkov <juri@jurta.org>
14977
14978 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
14979 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
14980 (Bug#9364)
14981
14982 2011-10-24 Juri Linkov <juri@jurta.org>
14983
14984 * info.el (Info-following-node-name-re): Add newline to the list
14985 of allowed characters for leading space. (Bug#9824)
14986
14987 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
14988
14989 * progmodes/octave-inf.el (inferior-octave-mode-map):
14990 Fix C-c C-h binding.
14991 * progmodes/octave-mod.el (octave-help): Remove.
14992
14993 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
14994
14995 Sync with Tramp 2.2.3.
14996
14997 * net/tramp-cache.el (top): Pacify byte-compiler using
14998 `init-file-user' and `site-run-file'.
14999
15000 * net/trampver.el: Update release number.
15001
15002 2011-10-23 Chong Yidong <cyd@gnu.org>
15003
15004 * files.el (toggle-read-only): Remove obsolete comment about
15005 version control.
15006
15007 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
15008 for toggle-read-only. Note that this hasn't called vc-next-action
15009 since 2008-05-02, though it wasn't documented at the time.
15010
15011 * vc/ediff-init.el (ediff-toggle-read-only-function):
15012 Use toggle-read-only.
15013
15014 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
15015
15016 Fix bug #9560, sporadic wrong indentation; improve instrumentation
15017 of c-parse-state.
15018
15019 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
15020 correct faulty logical expression.
15021 (c-parse-state-state, c-record-parse-state-state):
15022 (c-replay-parse-state-state): New defvar/defuns.
15023 (c-debug-parse-state): Use new functions.
15024
15025 2011-10-22 Martin Rudalics <rudalics@gmx.at>
15026
15027 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
15028 last fix. Use window-in-direction correctly.
15029
15030 2011-10-21 Chong Yidong <cyd@gnu.org>
15031
15032 * progmodes/idlwave.el (idlwave-mode):
15033 * progmodes/vera-mode.el (vera-mode): No need to set
15034 require-final-newline; that's done in prog-mode.
15035 Suggested by Stefan Monnier.
15036
15037 2011-10-21 Martin Rudalics <rudalics@gmx.at>
15038
15039 * mouse.el (mouse-drag-window-above)
15040 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
15041 (mouse-drag-mode-line-1, mouse-drag-header-line)
15042 (mouse-drag-vertical-line-rightward-window): Remove.
15043 (mouse-drag-line): New function.
15044 (mouse-drag-mode-line, mouse-drag-header-line)
15045 (mouse-drag-vertical-line): Call mouse-drag-line.
15046 * window.el (window-at-side-p, windows-at-side): New functions.
15047
15048 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
15049
15050 * tar-mode.el (tar-grind-file-mode):
15051 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
15052
15053 2011-10-21 Chong Yidong <cyd@gnu.org>
15054
15055 * progmodes/idlwave.el (idlwave-mode):
15056 * progmodes/vera-mode.el (vera-mode):
15057 Use mode-require-final-newline.
15058
15059 2011-10-20 Glenn Morris <rgm@gnu.org>
15060
15061 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
15062
15063 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
15064
15065 * emulation/cua-base.el (cua-set-mark): Fix case of string.
15066
15067 2011-10-20 Chong Yidong <cyd@gnu.org>
15068
15069 * emulation/cua-base.el (cua-mode):
15070 * mail/footnote.el (footnote-mode):
15071 * mail/mailabbrev.el (mail-abbrevs-mode):
15072 * net/xesam.el (xesam-minor-mode):
15073 * progmodes/bug-reference.el (bug-reference-mode):
15074 * progmodes/cap-words.el (capitalized-words-mode):
15075 * progmodes/compile.el (compilation-minor-mode)
15076 (compilation-shell-minor-mode):
15077 * progmodes/gud.el (gud-tooltip-mode):
15078 * progmodes/hideif.el (hide-ifdef-mode):
15079 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
15080 * progmodes/subword.el (subword-mode):
15081 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
15082 * progmodes/which-func.el (which-function-mode):
15083 * term/tvi970.el (tvi970-set-keypad-mode):
15084 * term/vt100.el (vt100-wide-mode):
15085 * textmodes/flyspell.el (flyspell-mode):
15086 * textmodes/ispell.el (ispell-minor-mode):
15087 * textmodes/nroff-mode.el (nroff-electric-mode):
15088 * textmodes/paragraphs.el (use-hard-newlines):
15089 * textmodes/refill.el (refill-mode):
15090 * textmodes/reftex.el (reftex-mode):
15091 * textmodes/rst.el (rst-minor-mode):
15092 * textmodes/sgml-mode.el (html-autoview-mode)
15093 (sgml-electric-tag-pair-mode):
15094 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
15095 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
15096 * emulation/crisp.el (crisp-mode):
15097 * emacs-lisp/eldoc.el (eldoc-mode):
15098 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
15099 minor mode behavior.
15100
15101 2011-10-19 Juri Linkov <juri@jurta.org>
15102
15103 * descr-text.el (describe-char): Add #x2010 and #x2011 to
15104 the list of hard-coded chars with escape-glyph face.
15105
15106 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
15107
15108 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
15109
15110 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
15111
15112 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
15113 running process.
15114
15115 2011-10-19 Glenn Morris <rgm@gnu.org>
15116
15117 * vc/vc-bzr.el (vc-bzr-after-dir-status):
15118 Ignore ignored files. (Bug#9726)
15119
15120 2011-10-19 Chong Yidong <cyd@gnu.org>
15121
15122 Doc fix for minor modes, stating that an omitted argument enables
15123 the mode unconditionally when called from Lisp.
15124
15125 * abbrev.el (abbrev-mode):
15126 * allout.el (allout-mode):
15127 * autoinsert.el (auto-insert-mode):
15128 * autoarg.el (autoarg-mode, autoarg-kp-mode):
15129 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
15130 (global-auto-revert-mode):
15131 * battery.el (display-battery-mode):
15132 * composite.el (global-auto-composition-mode)
15133 (auto-composition-mode):
15134 * delsel.el (delete-selection-mode):
15135 * desktop.el (desktop-save-mode):
15136 * dired-x.el (dired-omit-mode):
15137 * dirtrack.el (dirtrack-mode):
15138 * doc-view.el (doc-view-minor-mode):
15139 * double.el (double-mode):
15140 * electric.el (electric-indent-mode, electric-pair-mode):
15141 * emacs-lock.el (emacs-lock-mode):
15142 * epa-hook.el (auto-encryption-mode):
15143 * follow.el (follow-mode):
15144 * font-core.el (font-lock-mode):
15145 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
15146 * help.el (temp-buffer-resize-mode):
15147 * hilit-chg.el (highlight-changes-mode)
15148 (highlight-changes-visible-mode):
15149 * hi-lock.el (hi-lock-mode):
15150 * hl-line.el (hl-line-mode, global-hl-line-mode):
15151 * icomplete.el (icomplete-mode):
15152 * ido.el (ido-everywhere):
15153 * image-file.el (auto-image-file-mode):
15154 * image-mode.el (image-minor-mode):
15155 * iswitchb.el (iswitchb-mode):
15156 * jka-cmpr-hook.el (auto-compression-mode):
15157 * linum.el (linum-mode):
15158 * longlines.el (longlines-mode):
15159 * master.el (master-mode):
15160 * mb-depth.el (minibuffer-depth-indicate-mode):
15161 * menu-bar.el (menu-bar-mode):
15162 * minibuf-eldef.el (minibuffer-electric-default-mode):
15163 * mouse-sel.el (mouse-sel-mode):
15164 * msb.el (msb-mode):
15165 * mwheel.el (mouse-wheel-mode):
15166 * outline.el (outline-minor-mode):
15167 * paren.el (show-paren-mode):
15168 * recentf.el (recentf-mode):
15169 * reveal.el (reveal-mode, global-reveal-mode):
15170 * rfn-eshadow.el (file-name-shadow-mode):
15171 * ruler-mode.el (ruler-mode):
15172 * savehist.el (savehist-mode):
15173 * scroll-all.el (scroll-all-mode):
15174 * scroll-bar.el (scroll-bar-mode):
15175 * server.el (server-mode):
15176 * shell.el (shell-dirtrack-mode):
15177 * simple.el (auto-fill-mode, transient-mark-mode)
15178 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
15179 (line-number-mode, column-number-mode, size-indication-mode)
15180 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
15181 * strokes.el (strokes-mode):
15182 * time.el (display-time-mode):
15183 * t-mouse.el (gpm-mouse-mode):
15184 * tool-bar.el (tool-bar-mode):
15185 * tooltip.el (tooltip-mode):
15186 * type-break.el (type-break-mode-line-message-mode)
15187 (type-break-query-mode):
15188 * view.el (view-mode):
15189 * whitespace.el (whitespace-mode, whitespace-newline-mode)
15190 (global-whitespace-mode, global-whitespace-newline-mode):
15191 * xt-mouse.el (xterm-mouse-mode): Doc fix.
15192
15193 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
15194 Fix autogenerated docstring.
15195
15196 2011-10-19 Juri Linkov <juri@jurta.org>
15197
15198 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
15199 by checking environment variables "DESKTOP_SESSION" and
15200 "XDG_CURRENT_DESKTOP". (Bug#9779)
15201
15202 2011-10-19 Juri Linkov <juri@jurta.org>
15203
15204 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
15205 (browse-url-chromium-program, browse-url-chromium-arguments):
15206 New defcustoms.
15207 (browse-url-default-browser): Check for `browse-url-chromium' and
15208 call `browse-url-chromium-program'.
15209 (browse-url-chromium): New command. (Bug#9779)
15210
15211 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
15212
15213 * facemenu.el (list-colors-duplicates): On Windows, detect more
15214 duplicates by assuming that only colors matching "^System" are
15215 special "system colors". (Bug#9722)
15216
15217 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
15218
15219 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
15220 to distinguish the author from the committer.
15221
15222 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
15223
15224 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
15225
15226 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
15227
15228 * international/mule.el (sgml-html-meta-auto-coding-function):
15229 Add support for detecting encoding in HTML5 specified only as
15230 <meta charset="UTF-8">. Implementation just makes http-equiv and
15231 content-type parts from HTML4 encoding string optional. (Bug#9716)
15232
15233 2011-10-18 Glenn Morris <rgm@gnu.org>
15234
15235 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
15236
15237 2011-10-18 Chong Yidong <cyd@gnu.org>
15238
15239 * faces.el (cursor): Doc fix.
15240
15241 2011-10-17 Chong Yidong <cyd@gnu.org>
15242
15243 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
15244
15245 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
15246
15247 * dirtrack.el (dirtrack): Support shell buffers with path
15248 prefixes, e.g. tramp-based remote shells. (Bug#9647)
15249
15250 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
15251
15252 * json.el: Bump version to 1.3 and note change in History.
15253 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
15254
15255 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
15256
15257 * comint.el (comint-insert-input, comint-send-input)
15258 (comint-get-old-input-default, comint-backward-matching-input)
15259 (comint-next-prompt): Use nil instead of `input' for field property of
15260 past user input (bug#114).
15261
15262 * minibuffer.el (completion--replace): Inherit surrounding properties
15263 (bug#114).
15264 (minibuffer-complete-and-exit): Use it.
15265
15266 * comint.el (comint--table-subvert): Quote the all-completions output
15267 (bug#9160).
15268
15269 2011-10-17 Martin Rudalics <rudalics@gmx.at>
15270
15271 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
15272
15273 * menu-bar.el (menu-bar-file-menu): Add entry for making new
15274 window on right of selected. (Bug#9350) Reword other window
15275 entries and separate them from frame entries.
15276
15277 2011-10-15 Glenn Morris <rgm@gnu.org>
15278
15279 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
15280 Doc fixes.
15281
15282 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
15283
15284 * net/network-stream.el (network-stream-open-starttls):
15285 Improve detection of failure due to lack of TLS support.
15286
15287 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
15288 putting the input text in front and in bold.
15289
15290 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
15291
15292 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
15293
15294 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
15295 empty buffer.
15296
15297 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
15298 unread-command-events rather than pushing yet-another event.
15299
15300 2011-10-14 Eli Zaretskii <eliz@gnu.org>
15301
15302 * mail/sendmail.el (sendmail-query-once): Improve the wording of
15303 the explanation of the possible choices. Make the options passed
15304 to completing-read shorter.
15305
15306 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15307
15308 * textmodes/flyspell.el (flyspell-large-region): Make sure
15309 extended character mode is used if defined (Bug#1339).
15310
15311 2011-10-13 Eli Zaretskii <eliz@gnu.org>
15312
15313 * simple.el (what-cursor-position): Fix the display of the
15314 character info for LRE, LRO, RLE, and RLO characters by appending
15315 an invisible PDF.
15316
15317 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
15318
15319 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
15320 even in case of error; add debug spec; simplify data flow.
15321 (with-timeout-handler): Remove.
15322
15323 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
15324
15325 Fix Bug#6019, Bug#9315.
15326
15327 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
15328 complete `buffer-file-name', the local file name part could look
15329 remotely (for example on VMS).
15330
15331 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
15332 `tramp-run-real-handler'.
15333 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
15334 already quoted by '"'.
15335
15336 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
15337 Let `file-name-handler-alist' be nil, the local file name part
15338 could look remotely (for example on VMS).
15339
15340 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
15341
15342 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
15343 from here...
15344 (flyspell-post-command-hook): ...to here.
15345
15346 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
15347
15348 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
15349 if not needed.
15350 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
15351 using completion. Protect against "slow" callers.
15352 Remove the "message hack".
15353
15354 2011-10-11 Juri Linkov <juri@jurta.org>
15355
15356 * isearch.el (isearch-lazy-highlight-word): New variable.
15357 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
15358 Use it. (Bug#9727)
15359
15360 2011-10-11 Glenn Morris <rgm@gnu.org>
15361
15362 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
15363 like f90-previous-statement does.
15364
15365 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15366
15367 * eshell/eshell.el (eshell-command): History should be saved
15368 only in interactive use, to avoid error.
15369
15370 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
15371
15372 * minibuffer.el (completion-file-name-table): Fix last change,
15373 i.e. ignore normal errors but not the other ones.
15374
15375 2011-10-10 Martin Rudalics <rudalics@gmx.at>
15376
15377 * window.el (special-display-buffer-names)
15378 (special-display-regexps): Remove some remnants of earlier
15379 changes from doc-strings.
15380 (quit-windows-on): New function.
15381
15382 * vc/vc.el (vc-revert, vc-rollback):
15383 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
15384 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
15385 (Bug#6183) (Bug#7074) (Bug#7447)
15386
15387 2011-10-09 Martin Rudalics <rudalics@gmx.at>
15388
15389 * window.el (frame-auto-hide-function): Add version tag.
15390 (Bug#9699)
15391
15392 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
15393
15394 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
15395 condition.
15396
15397 2011-10-09 Leo Liu <sdl.web@gmail.com>
15398
15399 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
15400 (Bug#9701)
15401
15402 2011-10-08 Glenn Morris <rgm@gnu.org>
15403
15404 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
15405 before the first code statement zero indent. (Bug#9690)
15406
15407 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
15408
15409 * simple.el (count-words-region): Always count in the region.
15410 Report the number of lines and characters too.
15411 (count-words): New command, which counts in the buffer if the
15412 region is inactive, as count-words-region used to.
15413 (count-words--message): New function. Handle plurals.
15414 (count-lines-region): Make it an alias for count-words-region.
15415
15416 * bindings.el (esc-map): Replace count-lines-region with
15417 count-words-region.
15418
15419 2011-10-08 Martin Rudalics <rudalics@gmx.at>
15420
15421 * window.el (window--delete): Delete dedicated frame
15422 unconditionally when argument KILL is non-nil. (Bug#9699)
15423 (switch-to-buffer): Fix doc-string typo.
15424
15425 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15426
15427 * eshell/eshell.el (eshell-command): Avoid using hooks.
15428
15429 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
15430
15431 * bindings.el ([M-left],[M-right]): Bind to left-word and
15432 right-word respectively.
15433
15434 2011-10-07 Glenn Morris <rgm@gnu.org>
15435
15436 * cus-start.el (debug-on-quit): Fix custom type.
15437
15438 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15439
15440 * subr.el (define-key-after): Clarify that the function is not
15441 useful for non-menu keymaps.
15442
15443 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
15444
15445 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15446
15447 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
15448 in current minibuffer (Fix bug with recursive minibuffers).
15449
15450 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
15451
15452 * progmodes/gdb-mi.el (gdb): Doc fix.
15453
15454 2011-10-05 Martin Rudalics <rudalics@gmx.at>
15455
15456 * window.el (frame-auto-hide-function): New option replacing
15457 frame-auto-delete. Suggested by Stefan Monnier.
15458 (window--delete): Call frame-auto-hide-function instead of
15459 investigating frame-auto-delete.
15460 (window-point-1, set-window-point-1): New functions.
15461 (window-in-direction, record-window-buffer, window-state-get-1)
15462 (display-buffer-record-window): Use window-point-1 instead of
15463 window-point.
15464 (set-window-buffer-start-and-point): Use set-window-point-1.
15465
15466 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
15467
15468 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
15469
15470 2011-10-05 Glenn Morris <rgm@gnu.org>
15471
15472 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
15473 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
15474
15475 2011-10-05 Leo Liu <sdl.web@gmail.com>
15476
15477 * subr.el (read-char-choice): Fix argument to buffer-live-p which
15478 works with buffer object.
15479
15480 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
15481
15482 * mpc.el (mpc-tool-bar-map): Add labels.
15483
15484 2011-10-04 Glenn Morris <rgm@gnu.org>
15485
15486 * calendar/holidays.el (calendar-check-holidays): Doc fix.
15487
15488 2011-10-04 Martin Rudalics <rudalics@gmx.at>
15489
15490 * window.el (window--delete): New function.
15491 (frame-auto-delete): Resuscitate option.
15492 (bury-buffer, replace-buffer-in-windows)
15493 (quit-window): Rewrite using window--delete.
15494 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
15495 Pass display-buffer-mark-dedicated to window--display-buffer-2
15496 (Bug#9639).
15497
15498 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
15499
15500 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
15501 returns a list (bug#9554). Add remote file name completion.
15502 * comint.el (comint--table-subvert): Curry and get quote&unquote
15503 functions as arguments.
15504 (comint--complete-file-name-data): Adjust call accordingly.
15505 * pcomplete.el (pcomplete--table-subvert): Remove.
15506 (pcomplete-completions-at-point): Use comint--table-subvert instead.
15507
15508 * minibuffer.el (completion-table-case-fold): Use currying.
15509 (completion--styles-type, completion--cycling-threshold-type):
15510 New constants.
15511 (completion-styles, completion-category-overrides)
15512 (completion-cycle-threshold): Use them.
15513 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
15514 completion-table-case-fold.
15515
15516 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
15517
15518 * minibuffer.el (completion-category-overrides): Fix type of styles
15519 and add more user friendly tags (bug#9660).
15520
15521 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
15522
15523 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
15524 (mule-input-method-string): New widget.
15525 (default-input-method, language-info-custom-alist): Use it.
15526
15527 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
15528
15529 * pcomplete.el: Require comint.
15530 (pcomplete--common-suffix): Remove.
15531 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
15532 (pcomplete--table-subvert): Sync with comint--table-subvert.
15533 (pcomplete--entries): Use comint-completion-file-name-table.
15534 * comint.el (comint-unquote-filename): Simplify.
15535 (comint-completion-file-name-table): New function (bug#9616).
15536 (comint--complete-file-name-data): Use it.
15537
15538 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
15539 (pcmpl-gnu-tar-buffer): Remove.
15540 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
15541 around. Make sure pcomplete-suffix-list is only changed temporarily.
15542 Don't look inside the tar's file if it's too large.
15543
15544 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
15545
15546 * cus-edit.el (custom-mode-map):
15547 * epa.el (epa-key-list-mode-map):
15548 * man.el (Man-mode-map):
15549 * startup.el (splash-screen-keymap):
15550 * simple.el (special-mode-map): Use scroll-up-command and
15551 scroll-down-command.
15552
15553 * progmodes/idlw-help.el (idlwave-help-mode-map):
15554 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
15555 * net/newst-plainview.el (newsticker-mode-map):
15556 * emulation/ws-mode.el (wordstar-mode-map):
15557 * emulation/vi.el (vi-com-map):
15558 * calc/calc-graph.el (calc-graph-show-dumb):
15559 * term/sun.el (terminal-init-sun):
15560 * term/ns-win.el (global-map):
15561 * progmodes/grep.el (grep-mode-map):
15562 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
15563 * mail/rmail.el (rmail-mode-map):
15564 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
15565
15566 * custom.el (custom-safe-themes, load-theme): Treat value of t for
15567 custom-safe-themes as special.
15568
15569 2011-10-01 Julien Danjou <julien@danjou.info>
15570
15571 * notifications.el (notifications-notify): Fix docstring.
15572
15573 2011-10-01 Per Starbäck <per@starback.se>
15574
15575 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
15576
15577 2011-09-30 Martin Rudalics <rudalics@gmx.at>
15578
15579 * startup.el (command-line-1): Fix last fix by inserting
15580 initial-scratch-message into *scratch* before displaying it.
15581 (Bug#9605) and (Bug#9636)
15582
15583 2011-09-29 Eli Zaretskii <eliz@gnu.org>
15584
15585 * simple.el (line-move): If auto-hscroll-mode is disabled and the
15586 window is hscrolled, move by logical lines. (Bug#9607)
15587 (line-move-visual): Update the doc string to the above effect.
15588
15589 2011-09-29 Martin Rudalics <rudalics@gmx.at>
15590
15591 * window.el (display-buffer-record-window): When WINDOW is the
15592 selected window use `point' instead of `window-point'. (Bug#9626)
15593
15594 * startup.el (command-line-1): Use insert-before-markers when
15595 inserting initial-scratch-message. (Bug#9605)
15596
15597 * help.el (help-window): Remove variable.
15598
15599 2011-09-29 Glenn Morris <rgm@gnu.org>
15600
15601 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
15602
15603 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
15604
15605 * descr-text.el (describe-char-categories): Accept category
15606 descriptions more than one line long.
15607
15608 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
15609
15610 * simple.el (delete-trailing-whitespace): Fix last change.
15611
15612 * progmodes/perl-mode.el (perl-syntax-propertize-function):
15613 Don't confuse "y => 3" as the beginning of a `y' operation.
15614
15615 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
15616 object has more than 4 slots (bug#9613).
15617
15618 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
15619
15620 * subr.el (with-output-to-temp-buffer):
15621 * net/quickurl.el (quickurl, quickurl-browse-url):
15622 Fix typos in docstrings.
15623
15624 2011-09-27 Eli Zaretskii <eliz@gnu.org>
15625
15626 * minibuffer.el (completion-styles)
15627 (completion-category-overrides): Cross reference each other in doc
15628 strings.
15629
15630 2011-09-27 Glenn Morris <rgm@gnu.org>
15631
15632 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
15633 to split-string. (Bug#9606)
15634
15635 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
15636
15637 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
15638 (bug#9615).
15639
15640 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
15641
15642 * emacs-lisp/package.el (list-packages): Fix echo area message.
15643
15644 2011-09-27 Leo Liu <sdl.web@gmail.com>
15645
15646 * ido.el (ido-read-internal): Accept cons cell HIST arg.
15647
15648 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
15649
15650 * net/dbus.el (dbus-unregister-object): Don't release services for
15651 registered signals. (Bug#9581)
15652
15653 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
15654
15655 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
15656 function that picks between cfengine 2 and 3 support
15657 automatically. Update docs accordingly.
15658
15659 2011-09-22 Kenichi Handa <handa@m17n.org>
15660
15661 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
15662 ZERO.
15663 (indian-itrans-v5-table-for-tamil): New variable.
15664 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
15665
15666 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
15667
15668 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
15669 that's true if the current command involved collapsing of text.
15670 It's reset to false at the beginning of the next command.
15671 (allout-post-command-business): Move the cursor to the beginning
15672 of entry if the cursor is hidden and collapsing activity just
15673 happened.
15674
15675 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
15676
15677 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
15678 tracking (Bug#9541).
15679
15680 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
15681
15682 * net/newst-reader.el (newsticker-html-renderer)
15683 (newsticker-show-news): Automatically load html rendering package
15684 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
15685 because w3m-fill-column is let-bound" and the error "Symbol's value
15686 as variable is void: w3m-fill-column".
15687
15688 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
15689
15690 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
15691 Release services only if they are defined. (Bug#9581)
15692
15693 2011-09-23 Richard Stallman <rms@gnu.org>
15694
15695 * textmodes/paragraphs.el (forward-sentence): For backwards case,
15696 distinguish start of paragraph from start of its text.
15697
15698 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
15699
15700 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
15701 (rmail-generate-viewer-buffer): Put that hook on view buffer.
15702 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
15703
15704 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
15705
15706 * international/mule-diag.el (mule-diag): Insert a newline after
15707 each fontset description.
15708
15709 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
15710
15711 * simple.el (delete-trailing-whitespace):
15712 Document last change; simplify.
15713
15714 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
15715
15716 * simple.el (delete-trailing-whitespace): Also delete
15717 extra newlines at the end of the buffer.
15718
15719 * textmodes/picture.el: Make motion commands obey shift-select-mode.
15720 (picture-newline): Use forward-line so as to ignore fields.
15721
15722 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
15723
15724 * subr.el (with-wrapper-hook): Fix edebug spec.
15725
15726 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
15727
15728 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
15729 (bug#4538).
15730
15731 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
15732
15733 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
15734 Fix nasty bug using wrong cached values.
15735
15736 2011-09-23 Alan Mackenzie <acm@muc.de>
15737
15738 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
15739
15740 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
15741
15742 * window.el (pop-to-buffer): Ensure right window is selected if we
15743 chose another frame.
15744
15745 2011-09-22 Eli Zaretskii <eliz@gnu.org>
15746
15747 * simple.el (what-cursor-position): Use get-char-property-change
15748 and next-single-char-property-change, to be able to show display
15749 properties that come from overlays as well as text properties.
15750
15751 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
15752
15753 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
15754
15755 * cmuscheme.el (run-scheme, switch-to-scheme):
15756 * cus-edit.el (customize-group, custom-buffer-create)
15757 (customize-browse):
15758 * info.el (info):
15759 * shell.el (shell):
15760 * mail/sendmail.el (mail):
15761 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
15762
15763 2011-09-22 Richard Stallman <rms@gnu.org>
15764
15765 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
15766 move back only to line beg, don't move back over blank lines.
15767
15768 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
15769
15770 * files.el (copy-directory): Set directory attributes only in case
15771 they could be retrieved from the source directory. (Bug#9565)
15772
15773 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
15774
15775 * progmodes/hideshow.el (hs-looking-at-block-start-p)
15776 (hs-find-block-beginning, hs-hide-level-recursive):
15777 Ignore strings as well as comments. (Bug#9502)
15778
15779 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
15780
15781 * progmodes/sql.el (sql-comint-postgres):
15782 Convert port number to a string. (Bug#9566)
15783
15784 2011-09-22 Martin Rudalics <rudalics@gmx.at>
15785
15786 * window.el (quit-window): Undedicate window when switching to
15787 previous buffer. Reported by Thierry Volpiatto
15788 <thierry.volpiatto@gmail.com>.
15789 (special-display-popup-frame): When popping up a new frame reset
15790 its previous buffers to nil. Simplify code.
15791
15792 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
15793
15794 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
15795 and process filter, as done also in `shell-command'.
15796
15797 2011-09-21 Martin Rudalics <rudalics@gmx.at>
15798
15799 * window.el (set-window-buffer-start-and-point):
15800 Call set-window-start with NOFORCE argument t.
15801 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
15802 (quit-window): Reword doc-string. Handle new format of
15803 quit-restore parameter. Don't delete window if it has a
15804 previous buffer we can show instead of the present one.
15805 (display-buffer-record-window): Rewrite using a new format for
15806 the quit-restore window parameter
15807 (special-display-popup-frame, display-buffer-same-window)
15808 (display-buffer-reuse-window, display-buffer-pop-up-frame)
15809 (display-buffer-pop-up-window, display-buffer-use-some-window):
15810 Adapt symbol passed to display-buffer-record-window.
15811 * help.el (help-window-setup): Handle new format of quit-restore
15812 parameter.
15813
15814 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
15815
15816 * faces.el (face-list): Fix docstring (bug#9564).
15817
15818 * window.el (display-buffer--action-function-custom-type):
15819 Don't include internal functions in the Custom interface.
15820
15821 2011-09-20 Juri Linkov <juri@jurta.org>
15822
15823 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
15824 (Info-forward-node, Info-backward-node, Info-next-preorder)
15825 (Info-last-preorder): Use it. (Bug#9528)
15826
15827 2011-09-20 Juri Linkov <juri@jurta.org>
15828
15829 * info.el (Info-last-preorder): Visit last menu item only when
15830 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
15831
15832 2011-09-20 Julien Danjou <julien@danjou.info>
15833
15834 * password-cache.el (password-cache-remove): Remove entries even if the
15835 value is nil, so that password with a nil value (negative caching) is
15836 possible to invalidate.
15837
15838 2011-09-20 Lawrence Mitchell <wence@gmx.li>
15839
15840 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
15841 all whitespace around breakpoint. (Bug#9553)
15842 (f90-find-breakpoint): Only break at whitespace inside a comment.
15843
15844 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
15845
15846 * minibuffer.el (completion-file-name-table): Keep track of errors.
15847 (completion-table-with-predicate): Handle the case where pred1 is nil.
15848 * pcomplete.el (pcomplete-completions-at-point): Simplify.
15849
15850 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
15851
15852 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
15853 (debugger-return-value): Signal an error if the debugging context does
15854 not await any return value.
15855
15856 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
15857 * image-mode.el (image-toggle-display-text)
15858 (image-toggle-display-image): Stay away from evil `intangible'.
15859
15860 2011-09-19 Leo Liu <sdl.web@gmail.com>
15861
15862 * replace.el (occur-revert-arguments): Make it permanent-local.
15863 (occur-mode): Don't call font-lock-defontify.
15864
15865 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
15866
15867 * net/ldap.el (ldap-search-internal): Don't push empty search
15868 result (Bug#9508).
15869
15870 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
15871
15872 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
15873
15874 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
15875
15876 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
15877 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
15878
15879 2011-09-18 Juri Linkov <juri@jurta.org>
15880
15881 * buff-menu.el (Buffer-menu-mode-map):
15882 * dired.el (dired-mode-map):
15883 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
15884 (lisp-interaction-mode-map):
15885 * emacs-lisp/package.el (package-menu-mode-map):
15886 * epa.el (epa-key-list-mode-map):
15887 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
15888 (menu-bar-options-menu):
15889 * outline.el (outline-mode-menu-bar-map):
15890 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
15891 * vc/vc-dir.el (vc-dir-menu-map):
15892 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
15893 Capitalize non-function content words in menu item strings.
15894
15895 * dired.el (dired-mode-map): Add menu item for
15896 `image-dired-dired-toggle-marked-thumbs'.
15897
15898 2011-09-18 Juri Linkov <juri@jurta.org>
15899
15900 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
15901 to `isearch-case-fold-search' and restore its original value
15902 after the `isearch-mode' call.
15903
15904 2011-09-18 Juri Linkov <juri@jurta.org>
15905
15906 * progmodes/grep.el (grep-process-setup): Don't check code for 1
15907 because `zgrep' returns 1 for successful matches (bug#9226).
15908
15909 2011-09-18 Juri Linkov <juri@jurta.org>
15910
15911 * info.el (Info-extract-menu-node-name): Check the second match
15912 for empty string (second test-case of bug#9528).
15913 (Info-last-preorder): Let-bind `Info-history' to nil to not add
15914 intermediate nodes to the history (first test-case of bug#9528).
15915
15916 2011-09-18 Juri Linkov <juri@jurta.org>
15917
15918 * info.el (Info-mode-syntax-table): New variable.
15919 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
15920
15921 2011-09-18 Juri Linkov <juri@jurta.org>
15922
15923 * info.el (Info-file-supports-index-cookies):
15924 Increment line-beginning-position's arg from 3 to 4 because makeinfo
15925 outputs one more line for long file names (bug#4142).
15926
15927 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
15928
15929 * newcomment.el (comment-normalize-vars): If prompting for
15930 comment-start, set comment-start-skip too (Bug#8424).
15931
15932 2011-09-18 Johan Bockgård <bojohan@gnu.org>
15933
15934 * icomplete.el: Fix previous fix of Bug#5849.
15935 (icomplete-mode): Don't set completion-show-inline-help.
15936 (icomplete-minibuffer-setup): Set completion-show-inline-help
15937 locally during icompletion.
15938
15939 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
15940
15941 * woman.el (woman2-process-escapes): Don't delete unrecognized
15942 escapes (Bug#7843).
15943
15944 * files.el (inhibit-first-line-modes-regexps): Add image files.
15945 (hack-local-variables-prop-line): Return nil for malformed
15946 prop-lines (Bug#9044).
15947
15948 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
15949
15950 * net/tramp.el (top): Don't require 'shell.
15951 (tramp-methods): Fix docstring.
15952 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
15953 Return complete remote file name. Handle "smb" case.
15954 Use `tramp-tmpdir', if defined for the respective method.
15955 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
15956
15957 * net/tramp-compat.el (top): Require 'shell.
15958
15959 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
15960 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
15961 `tramp-current-host'.
15962 (tramp-get-remote-tmpdir): Remove.
15963
15964 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
15965 `tramp-tmpdir' entries.
15966 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
15967 (tramp-smb-handle-file-attributes): Ignore errors.
15968 (tramp-smb-wait-for-output): Check also for process end.
15969
15970 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
15971
15972 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
15973 when sending QUIT (bug#9312).
15974
15975 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
15976
15977 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
15978 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
15979 occur-mode-display-occurrence.
15980 (occur-edit-mode): Add usage message.
15981 (occur-cease-edit): New command.
15982 (occur-after-change-function): Use text properties to find the
15983 position of the prefix text.
15984 (occur-engine): Set stickiness of prefix text properties.
15985
15986 2011-09-17 Glenn Morris <rgm@gnu.org>
15987
15988 * progmodes/etags.el (complete-tag):
15989 Fix call to completion-in-region. (Bug#9526)
15990
15991 2011-09-17 Juri Linkov <juri@jurta.org>
15992
15993 * textmodes/ispell.el (ispell-word): Add to the error message
15994 the word, ispell program name and current dictionary (bug#9121).
15995 (ispell-tex-arg-end): Capitalize "error" in the error message.
15996
15997 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
15998
15999 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
16000 check. (Bug#4251)
16001
16002 2011-09-17 Juri Linkov <juri@jurta.org>
16003
16004 * window.el (window-safe-min-height, window-safe-min-width):
16005 Fix typos (followup to bug#9522).
16006
16007 2011-09-17 Sven Joachim <svenjoac@gmx.de>
16008
16009 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
16010
16011 2011-09-16 Eli Zaretskii <eliz@gnu.org>
16012
16013 * simple.el (line-move): If goal-column is set, move by logical
16014 lines, not by display lines. (Bug#971)
16015 (next-line, previous-line, goal-column, line-move-visual): Doc fix
16016 to reflect the above change.
16017
16018 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
16019
16020 * image.el (imagemagick-register-types): Use regexp-opt.
16021
16022 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
16023
16024 * window.el (display-buffer-base-action): Rename from
16025 display-buffer-default-action. Make default value empty.
16026 (display-buffer-overriding-action): Convert to defvar.
16027 (display-buffer-fallback-action): New var.
16028
16029 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
16030
16031 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
16032 declaration.
16033 (package--add-to-archive-contents): If there is a duplicate entry
16034 with an older version, remove it.
16035 (package-menu-mark-delete, package-menu-mark-install)
16036 (package-menu-mark-unmark): Make unused args optional.
16037 (package-menu-mark-obsolete-for-deletion):
16038 Use package-menu-get-status instead of a regexp search.
16039 (package-menu-get-status): Use tabulated-list-entry.
16040 (package-menu-mark-upgrades): New command.
16041 (package-menu-mode-map): Bind it to U. Add it to menu bar.
16042 (package-menu-execute): Do installation before deletion.
16043 (package-menu-refresh, package-menu-execute): Use derived-mode-p
16044 instead of checking major-mode.
16045 (package-menu--find-upgrades): New function.
16046
16047 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
16048
16049 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
16050 passwords in the log buffer.
16051 (smtpmail-process-filter): Update the process marker so that the
16052 "broken by peer" status message is inserted in the right place.
16053
16054 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
16055
16056 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
16057 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
16058 bibtex-completion-at-point-function.
16059 (bibtex-completion-at-point-function): Use them.
16060
16061 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
16062
16063 * mpc.el (mpc-constraints-tag-lookup): New function.
16064 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
16065 also to browser "album|playlist".
16066
16067 2011-09-14 Juri Linkov <juri@jurta.org>
16068
16069 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
16070 (isearch-edit-string): Use length of `isearch-string' when
16071 `isearch-fail-pos' returns nil.
16072 (isearch-message): Remove duplicate code and call
16073 `isearch-fail-pos' with arg `t'.
16074
16075 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
16076
16077 * replace.el (occur-mode-goto-occurrence): Don't force using other
16078 window (Bug#9499).
16079
16080 * dired-aux.el (dired-do-chmod): Don't provide initial input.
16081
16082 2011-09-14 Martin Rudalics <rudalics@gmx.at>
16083
16084 * window.el (display-buffer-window): Remove.
16085 (display-buffer-record-window): Use help-setup window parameter
16086 instead of variable display-buffer-window.
16087 (display-buffer-function, special-display-buffer-names)
16088 (special-display-function): Mention help-setup parameter instead
16089 of display-buffer-window in doc-string.
16090 * help.el (help-window-setup): New argument help-window.
16091 Use help-window-setup parameter instead of display-buffer-window.
16092 Reword some messages.
16093 (with-help-window): Pass window used for displaying the buffer
16094 to help-window-setup. Don't set display-buffer-window.
16095
16096 2011-09-13 Glenn Morris <rgm@gnu.org>
16097
16098 * emacs-lisp/debug.el (debugger-make-xrefs):
16099 Preserve point. (Bug#9462)
16100
16101 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
16102
16103 * window.el (window-deletable-p): Use next-frame.
16104
16105 2011-09-13 Martin Rudalics <rudalics@gmx.at>
16106
16107 * window.el (window-auto-delete): Remove.
16108 (window-deletable-p): Remove argument FORCE. Don't deal with
16109 dedication and previous buffers.
16110 (switch-to-prev-buffer): Don't delete window.
16111 (delete-windows-on): Delete a window's frame if and only if the
16112 window is dedicated.
16113 (replace-buffer-in-windows): Delete buffer's window or frame if
16114 and only if window is dedicated.
16115 (quit-window): Handle quit-restore as before last change.
16116 (bury-buffer): Delete window only if window-deletable-p returns t.
16117
16118 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
16119
16120 * window.el (window-deletable-p): Never delete the last frame on a
16121 given terminal.
16122
16123 2011-09-13 Glenn Morris <rgm@gnu.org>
16124
16125 * help.el (describe-key-briefly): Copy previous standard-output change.
16126
16127 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
16128
16129 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
16130
16131 2011-09-13 Glenn Morris <rgm@gnu.org>
16132
16133 * emacs-lisp/lisp-mode.el (lisp-indent-function):
16134 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
16135
16136 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
16137
16138 * dired-aux.el (dired-mark-read-string): Don't return default
16139 value on empty input (Bug#9361).
16140 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
16141 Omit initial minibuffer contents.
16142 (dired-do-chmod): Signal an error on empty input.
16143 (dired-mark-read-string): Don't return default on empty input.
16144
16145 * files.el (file-modes-symbolic-to-number): Doc fix.
16146
16147 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
16148
16149 * international/mule-cmds.el (ucs-completions): Remove.
16150 (read-char-by-name): Use complete-with-action instead; add metadata.
16151
16152 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
16153
16154 * window.el (display-buffer--action-function-custom-type)
16155 (display-buffer--action-custom-type): New vars.
16156 (display-buffer-alist, display-buffer-default-action)
16157 (display-buffer-overriding-action): Add defcustom types.
16158
16159 * frame.el (delete-other-frames): Doc fix (Bug#276).
16160
16161 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16162
16163 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
16164
16165 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
16166
16167 Change modes that used same-window-* vars to use switch-to-buffer.
16168
16169 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
16170 Use switch-to-buffer.
16171
16172 * cus-edit.el (customize-group, custom-buffer-create)
16173 (customize-browse, custom-buffer-create-other-window):
16174 Use switch-to-buffer or switch-to-buffer-other-window.
16175
16176 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
16177 (Info-prev, Info-up, Info-speedbar-goto-node)
16178 (info-display-manual): Use switch-to-buffer.
16179 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
16180
16181 * mail/sendmail.el (mail): Use switch-to-buffer.
16182 (mail-recover): Use switch-to-buffer-other-window.
16183
16184 * cmuscheme.el (run-scheme, switch-to-scheme):
16185 * ielm.el (ielm):
16186 * shell.el (shell):
16187 * net/rlogin.el (rlogin):
16188 * net/telnet.el (telnet, rsh):
16189 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
16190
16191 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
16192
16193 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
16194
16195 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16196
16197 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
16198 so don't mention it (bug#9301).
16199 (dired-sort-toggle-or-edit): Clarify string further.
16200
16201 * faces.el (face-spec-set-match-display): Make `(type graphic)'
16202 match `x', `w32' and `ns', like the manual says (bug#9029).
16203
16204 * subr.el (eval-after-load): Doc string clarification (bug#9125).
16205 (process-kill-buffer-query-function): Mention the buffer name in
16206 the query.
16207
16208 * image-mode.el (image-next-line): The line parameter is mandatory
16209 (bug#9258).
16210
16211 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
16212 which can be useful (bug#9301).
16213
16214 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
16215
16216 * subr.el (match-string): Mention that the current buffer should
16217 be the same as the search was done in (bug#9282).
16218
16219 * facemenu.el: Disable the remove-* commands if the mark isn't
16220 active (bug#9162).
16221
16222 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
16223
16224 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
16225 of display-buffer.
16226 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
16227
16228 * replace.el (occur-mode-goto-occurrence)
16229 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
16230 and display-buffer.
16231
16232 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
16233 display-buffer.
16234
16235 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
16236 special-display and same-window variables.
16237 (mail-other-window): Use switch-to-buffer-other-window.
16238 (mail-other-frame): USe switch-to-buffer-other-frame.
16239
16240 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
16241 Use display-buffer-other-frame.
16242 (gdb-display-gdb-buffer): Use pop-to-buffer.
16243
16244 * progmodes/gud.el (gud-goto-info): Use info-other-window.
16245
16246 * progmodes/python.el: Don't set same-window-buffer-names.
16247
16248 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
16249
16250 * window.el (display-buffer-alist): Add *Python*.
16251
16252 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
16253
16254 * window.el (display-buffer-alist): Add entry for buffers
16255 previously handled same-window-*.
16256 (display-buffer-alist, display-buffer-default-action)
16257 (display-buffer-overriding-action): Mark as risky.
16258 (display-buffer-alist): Document action function changes.
16259 (display-buffer--same-window-action)
16260 (display-buffer--other-frame-action): New variables.
16261 (switch-to-buffer, display-buffer-other-frame): Use them.
16262 (display-buffer): Rename reuse-frame entry to reusable-frames.
16263 (display-buffer-reuse-selected-window): Function deleted.
16264 (display-buffer-reuse-window): Handle reusable-frames alist entry.
16265 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
16266 (display-buffer-special): New function.
16267 (display-buffer--maybe-pop-up-frame-or-window): Rename from
16268 display-buffer-reuse-or-pop-window. Split off special-display
16269 part into display-buffer-special.
16270 (display-buffer-use-some-window): Don't perform any special
16271 pop-up-frames handling.
16272 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
16273 (display-buffer--maybe-same-window): Rename from
16274 display-buffer-maybe-same-window.
16275
16276 * info.el: Don't set same-window-regexps.
16277 (info-setup): New function.
16278 (info-other-window, info): Call it.
16279
16280 * cus-edit.el: Don't set same-window-regexps.
16281 (customize-group): New argument.
16282 (customize-group-other-window): Use it.
16283 (customize-face, customize-face-other-window): Likewise.
16284 (custom-buffer-create-other-window): Use pop-to-buffer directly.
16285
16286 * net/rlogin.el:
16287 * net/telnet.el:
16288 * progmodes/gud.el: Don't set same-window-regexps.
16289
16290 * cmuscheme.el:
16291 * ielm.el:
16292 * shell.el:
16293 * mail/sendmail.el:
16294 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
16295
16296 2011-09-10 Juri Linkov <juri@jurta.org>
16297
16298 * isearch.el (isearch-edit-string): Remove obsolete mention of
16299 `C-w' (`isearch-yank-word-or-char') from docstring.
16300 (isearch-query-replace): Fix typo in docstring (bug#9466).
16301
16302 2011-09-10 Juri Linkov <juri@jurta.org>
16303
16304 * paren.el (show-paren-function): Don't show escaped parens.
16305 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
16306
16307 2011-09-10 Eli Zaretskii <eliz@gnu.org>
16308
16309 * mail/sendmail.el (mml-to-mime, mml-attach-file)
16310 (mm-default-file-encoding): Remove autoload forms, they are
16311 replaced with autoload cookies in mml.el and mm-encode.el.
16312 (mail-add-attachment): New command.
16313 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
16314 (mail-mode): Mention mail-insert-file and mail-add-attachment in
16315 the doc string.
16316 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
16317
16318 2011-09-10 Reuben Thomas <rrt@sc3d.org>
16319
16320 * simple.el (count-words-region): Use buffer if there's no region
16321 (bug#9429).
16322
16323 2011-09-09 Juri Linkov <juri@jurta.org>
16324
16325 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
16326 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
16327 (wdired-isearch-filter-read-only): New function. (Bug#6362)
16328
16329 2011-09-09 Alan Mackenzie <acm@muc.de>
16330
16331 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
16332 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
16333
16334 2011-09-09 Eli Zaretskii <eliz@gnu.org>
16335
16336 Fix for Savannah bug#9392.
16337 * simple.el (mail-encode-mml): New defvar.
16338
16339 * mail/rmail.el (mail-encode-mml): Add a defvar.
16340 (rmail-enable-mime-composing): Default to t.
16341 (rmail-forward): Use MIME method of forwarding only if both
16342 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
16343 Set mail-encode-mml non-nil if the MIME method was used.
16344
16345 * mail/sendmail.el (mml-to-mime): Add autoload form.
16346 (mail-encode-mml): Add a defvar.
16347 (mail-mode): Make mail-encode-mml buffer-local and initialize it
16348 to nil.
16349 (mail-send): If mail-encode-mml is non-nil, run the outgoing
16350 message through mml-to-mime, and reset mail-encode-mml to nil.
16351
16352 2011-09-09 Glenn Morris <rgm@gnu.org>
16353
16354 * woman.el (woman-if-body): When processing an .el block,
16355 do not delete the next .el block as well. (Bug#9447)
16356 (woman-special-characters): Add oq, cq, and hy characters.
16357
16358 2011-09-08 Martin Rudalics <rudalics@gmx.at>
16359
16360 * window.el (window-deletable-p): Make sure window is live before
16361 invoking window-prev-buffers.
16362
16363 2011-09-08 Leo Liu <sdl.web@gmail.com>
16364
16365 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
16366
16367 2011-09-08 Juri Linkov <juri@jurta.org>
16368
16369 * progmodes/compile.el (compilation-environment): Make it
16370 a defcustom (bug#8340).
16371
16372 2011-09-08 Martin Rudalics <rudalics@gmx.at>
16373
16374 * window.el (frame-auto-delete): Rename to window-auto-delete.
16375 Make it control auto-deletion of windows and/or frames.
16376 (window-deletable-p): New argument FORCE. Rewrite conditions
16377 for deleting window/frame. (Bug#9419)
16378 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
16379 Rewrite handling of case when window/frame can be deleted.
16380 (delete-windows-on): Call window-deletable-p with new FORCE
16381 argument t. (Bug#9456)
16382
16383 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
16384
16385 * help-mode.el (help-mode): Restore autoload.
16386
16387 2011-09-07 Juri Linkov <juri@jurta.org>
16388
16389 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
16390 `compilation-environment'. Set buffer-local
16391 `compilation-environment' to `thisenv' later after (funcall mode).
16392 (Bug#8340)
16393
16394 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
16395 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
16396 instead of replacing its value. (Bug#8340)
16397
16398 2011-09-07 Juri Linkov <juri@jurta.org>
16399
16400 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
16401 based on text properties put by `grep-filter' instead of matching
16402 escape sequences.
16403 (grep-mode): Set buffer-local `compilation-error-screen-columns'
16404 to the value of `grep-error-screen-columns' (bug#9438).
16405
16406 2011-09-07 Juri Linkov <juri@jurta.org>
16407
16408 * simple.el (next-error-highlight, next-error-highlight-no-select):
16409 Doc fix (bug#9432).
16410
16411 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
16412
16413 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
16414 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
16415
16416 2011-09-07 Leo Liu <sdl.web@gmail.com>
16417
16418 * net/rcirc.el (rcirc-mode): Conditionally initialize
16419 rcirc-input-ring.
16420
16421 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
16422
16423 * emacs-lisp/find-func.el (find-function-C-source): Only set
16424 find-function-C-source-directory after checking that we found a source
16425 file there (bug#9440).
16426
16427 2011-09-06 Alan Mackenzie <acm@muc.de>
16428
16429 * isearch.el (isearch-other-meta-char): Wherever a key list is
16430 unread, "unread" the prefix arg, too. This fixes bug #8901.
16431
16432 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
16433
16434 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
16435
16436 2011-09-05 Juri Linkov <juri@jurta.org>
16437
16438 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
16439
16440 2011-09-05 Juri Linkov <juri@jurta.org>
16441
16442 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
16443 keeping point where processing of grep matches begins, and
16444 continue to delete remaining escape sequences from the same point.
16445 (grep-filter): Make leading zero optional in "0?1;31m" because
16446 git-grep emits "\033[1;31m" escape sequences unlike expected
16447 "\033[01;31m" as GNU Grep does (bug#9408).
16448 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
16449
16450 2011-09-05 Juri Linkov <juri@jurta.org>
16451
16452 * subr.el (y-or-n-p): Capitalize "yes".
16453
16454 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
16455
16456 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
16457 `tramp-cache-unload-hook' where appropriate.
16458 (tramp-methods): Rename `tramp-remote-sh' to
16459 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
16460 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
16461
16462 * net/tramp-sh.el (top): Don't require 'shell.
16463 (tramp-methods): Add `tramp-remote-shell' and
16464 `tramp-remote-shell-args' entries.
16465 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
16466 (tramp-sh-handle-shell-command): Remove.
16467 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
16468 Use `tramp-remote-shell'.
16469
16470 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
16471
16472 * mail/sendmail.el (sendmail-query-once-function): Delete.
16473 (sendmail-query-once): Save directly to send-mail-function.
16474 Update message-send-mail-function too.
16475
16476 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
16477
16478 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
16479
16480 * progmodes/python.el (python-mode-map): Use correct function to
16481 start python interpreter from menu-bar (as reported by Geert
16482 Kloosterman).
16483 (inferior-python-mode-map): Fix typo.
16484 (python-shell-map): Remove.
16485
16486 2011-09-03 Deniz Dogan <deniz@dogan.se>
16487
16488 * net/rcirc.el (rcirc-print): Simplify code for
16489 rcirc-scroll-show-maximum-output. There is no need to walk
16490 through all windows to find the right one.
16491
16492 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
16493
16494 * help.el (help-return-method): Doc fix.
16495
16496 2011-09-03 Martin Rudalics <rudalics@gmx.at>
16497
16498 * window.el (window-deletable-p): Don't return a non-nil value
16499 when there's a buffer that was shown in the window before.
16500 (Bug#9419)
16501 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
16502 Set window's previous buffers to nil.
16503
16504 2011-09-03 Eli Zaretskii <eliz@gnu.org>
16505
16506 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
16507 newline before and after the tag line, so it doesn't interfere
16508 with determining the paragraph direction of bidirectional text.
16509
16510 2011-09-03 Leo Liu <sdl.web@gmail.com>
16511
16512 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
16513
16514 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
16515
16516 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
16517 (pop-to-buffer): Change interactive spec. Pass second argument
16518 directly to display-buffer.
16519 (display-buffer): Fix interactive spec. Use functionp to
16520 distinguish between a function and a list of functions.
16521
16522 * abbrev.el (edit-abbrevs):
16523 * arc-mode.el (archive-extract):
16524 * autoinsert.el (auto-insert):
16525 * bookmark.el (bookmark-bmenu-list):
16526 * files.el (find-file):
16527 * view.el (view-buffer):
16528 * progmodes/compile.el (compilation-goto-locus):
16529 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
16530
16531 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
16532
16533 * window.el (display-buffer-alist): Doc fix.
16534 (display-buffer): Add docstring. Don't treat
16535 display-buffer-default specially.
16536 (display-buffer-reuse-selected-window)
16537 (display-buffer-same-window, display-buffer-maybe-same-window)
16538 (display-buffer-reuse-window, display-buffer-pop-up-frame)
16539 (display-buffer-pop-up-window)
16540 (display-buffer-reuse-or-pop-window)
16541 (display-buffer-use-some-window): New functions.
16542 (display-buffer-default-action): Use them.
16543 (display-buffer-default): Delete.
16544 (pop-to-buffer-1): Fix choice of actions.
16545
16546 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
16547
16548 * minibuffer.el (completion--insert-strings): Don't get confused by
16549 completion entries that end with an LF char.
16550
16551 2011-09-01 Eli Zaretskii <eliz@gnu.org>
16552
16553 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
16554
16555 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
16556
16557 * window.el (display-buffer): Restore interactive spec.
16558 (display-buffer-same-window, display-buffer-other-window):
16559 New functions.
16560 (pop-to-buffer-1): New function. Use the above.
16561 (pop-to-buffer, pop-to-buffer-same-window): Use it.
16562 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
16563
16564 * view.el (view-buffer-other-window, view-buffer-other-frame):
16565 Just use pop-to-buffer.
16566
16567 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16568
16569 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
16570
16571 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
16572
16573 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
16574
16575 2011-08-31 Richard Stallman <rms@gnu.org>
16576
16577 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
16578 of the separation of rmail-view-buffer from rmail-buffer.
16579 If you say no to "replace original", the decrypt is in the
16580 view buffer. If you say yes, the decrypt goes into the
16581 rmail buffer also.
16582
16583 2011-08-31 Martin Rudalics <rudalics@gmx.at>
16584
16585 * window.el (display-buffer-window): Rewrite doc-string.
16586 (display-buffer-record-window): New function.
16587 (display-buffer-macro-specifiers)
16588 (display-buffer-even-window-sizes, display-buffer-set-height)
16589 (display-buffer-set-width, display-buffer-in-window)
16590 (display-buffer-reuse-window, display-buffer-split-specifiers)
16591 (display-buffer-side-specifiers, display-buffer-split-window-1)
16592 (display-buffer-split-window, display-buffer-split-atom-window)
16593 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
16594 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
16595 (display-buffer-other-window-means-other-frame)
16596 (display-buffer-normalize-special)
16597 (display-buffer-normalize-default)
16598 (display-buffer-normalize-argument)
16599 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
16600 (display-buffer-normalize-specifiers, display-buffer-frame)
16601 (display-buffer-same-window, display-buffer-same-frame)
16602 (display-buffer-other-window)
16603 (display-buffer-same-frame-other-window)
16604 (display-buffer-other-frame, pop-to-buffer-same-window)
16605 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
16606 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
16607 (switch-to-buffer-same-frame)
16608 (switch-to-buffer-other-window-same-frame)
16609 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
16610 (display-buffer-alist-set-1, display-buffer-alist-set-2)
16611 (display-buffer-alist-set): Remove.
16612 (display-buffer-function, special-display-buffer-names)
16613 (special-display-regexps, special-display-function):
16614 In doc-string refer to display-buffer-window and quit-restore
16615 parameter.
16616 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
16617 (special-display-frame-alist, special-display-popup-frame)
16618 (same-window-buffer-names, same-window-regexps, same-window-p)
16619 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16620 (split-window-preferred-function, split-height-threshold)
16621 (split-width-threshold, window-splittable-p)
16622 (split-window-sensibly, window--try-to-split-window)
16623 (window--frame-usable-p, even-window-heights)
16624 (window--even-window-heights, window--display-buffer-1)
16625 (window--display-buffer-2, display-buffer-other-frame):
16626 Restore old Emacs 23 code, order and doc-strings where applicable.
16627 (display-buffer-default, display-buffer-assq-regexp): New functions.
16628 (display-buffer-alist): Rewrite doc-string.
16629 (display-buffer-default-action)
16630 (display-buffer-overriding-action): New variables.
16631 (display-buffer, switch-to-buffer): Rewrite.
16632 (pop-to-buffer): Restore Emacs 23 behavior but use
16633 window-normalize-buffer-to-display.
16634 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
16635 Restore Emacs 23 behavior but use
16636 window-normalize-buffer-to-switch-to.
16637 (pop-to-buffer-same-window): Rewrite.
16638 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
16639 Rewrite using Emacs 23 options.
16640
16641 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
16642
16643 * net/tramp.el (tramp-root-regexp): Remove.
16644 (tramp-completion-file-name-regexp-unified)
16645 (tramp-completion-file-name-regexp-separate)
16646 (tramp-completion-file-name-regexp-url): Don't use leading volume
16647 letter on w32 systems. (Bug#5303, Bug#9311)
16648 (tramp-drop-volume-letter): Simplify definition.
16649 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
16650
16651 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
16652
16653 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
16654 (bug#9356).
16655
16656 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
16657
16658 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
16659
16660 2011-08-29 Juri Linkov <juri@jurta.org>
16661
16662 * isearch.el (isearch-done): Don't display message "Mark saved"
16663 when arg `edit' is non-nil to prevent its flicker in the echo area.
16664
16665 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
16666
16667 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
16668 obsolete packages for deletion.
16669
16670 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
16671
16672 * help-mode.el (help-mode-map): Add special-mode-map to parent.
16673 (help-mode): Derive help-mode from special-mode. Don't invoke
16674 view-mode from help-mode.
16675 (help-xref-override-view-map): Remove.
16676 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
16677 view-mode is not used anymore.
16678
16679 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
16680
16681 * server.el (server-port): Doc fix.
16682
16683 * cus-theme.el (custom-theme-choose-mode): Inherit from
16684 special-mode (Bug#9124).
16685 (custom-theme-choose-mode-map): Add special-mode to parent.
16686
16687 2011-08-28 Alan Mackenzie <acm@muc.de>
16688
16689 * progmodes/cc-fonts.el
16690 (c-make-font-lock-BO-decl-search-function): New function.
16691 (c-basic-matchers-after - "Fontify the clauses after various
16692 keywords"): Extract the three keyword lists for the 3 erroneous
16693 constructs from the list of four, and use the new function above
16694 in place of an old one.
16695
16696 2011-08-28 Deniz Dogan <deniz@dogan.se>
16697
16698 * net/rcirc.el (rcirc-insert-prev-input)
16699 (rcirc-insert-next-input): Remove unused argument.
16700
16701 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
16702
16703 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
16704
16705 2011-08-27 Alan Mackenzie <acm@muc.de>
16706
16707 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
16708 handle function pointer parameters properly.
16709
16710 2011-08-27 Martin Rudalics <rudalics@gmx.at>
16711
16712 * window.el (display-buffer-reuse-window): Fix case where
16713 selected window was reused with non-nil OTHER-WINDOW argument.
16714 (Bug#9381)
16715
16716 2011-08-27 Deniz Dogan <deniz@dogan.se>
16717
16718 * net/rcirc.el (rcirc-check-auth-status): Adding support for
16719 oftc's NickServ messages.
16720
16721 2011-08-27 Glenn Morris <rgm@gnu.org>
16722
16723 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
16724
16725 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
16726
16727 * emacs-lisp/package.el (package-install): Call package-initialize
16728 if called interactively.
16729
16730 2011-08-26 Leo Liu <sdl.web@gmail.com>
16731
16732 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
16733
16734 2011-08-25 Juri Linkov <juri@jurta.org>
16735
16736 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
16737 `search-whitespace-regexp' (bug#9364).
16738
16739 2011-08-25 Juri Linkov <juri@jurta.org>
16740
16741 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
16742 `regexp-search-ring' to their global values to protect from
16743 updating by `read-from-minibuffer' (bug#9185).
16744
16745 2011-08-25 Juri Linkov <juri@jurta.org>
16746
16747 * textmodes/ispell.el (ispell-command-loop): Add newline
16748 at the end of the "Use option `i'..." line.
16749
16750 2011-08-25 Juri Linkov <juri@jurta.org>
16751
16752 * battery.el (display-battery-mode): If `battery-status-function'
16753 or `battery-mode-line-format' is nil, display the message and set
16754 `display-battery-mode' to nil (bug#9363).
16755
16756 2011-08-25 Eli Zaretskii <eliz@gnu.org>
16757
16758 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
16759 bidi-string-mark-left-to-right; they are unnecessary now.
16760
16761 2011-08-25 Deniz Dogan <deniz@dogan.se>
16762
16763 * net/quickurl.el: Documentation typo fixes.
16764
16765 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
16766
16767 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
16768
16769 2011-08-25 Glenn Morris <rgm@gnu.org>
16770
16771 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
16772
16773 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
16774 (smtpmail-via-smtp): Handle nil response from smtp.
16775
16776 2011-08-24 Juri Linkov <juri@jurta.org>
16777
16778 * proced.el (proced-marked): Inherit from `error' instead of
16779 `font-lock-warning-face'.
16780
16781 * ibuffer.el (ibuffer-marked-face): Change default face from
16782 `font-lock-warning-face' to `warning'.
16783 (ibuffer-deletion-face): Change default face from
16784 `font-lock-type-face' to `error'.
16785
16786 * battery.el (battery-update): Use the face `error' instead of
16787 `font-lock-warning-face' (bug#6117).
16788
16789 2011-08-24 Juri Linkov <juri@jurta.org>
16790
16791 * faces.el (success): Change face color from "Green3" to
16792 "ForestGreen" on light background (bug#9353).
16793
16794 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
16795
16796 * window.el (quit-window): Rename from quit-restore-window.
16797 Use same arglist as old quit-window.
16798 (frame-auto-delete): Doc fix.
16799
16800 * view.el (view-mode-exit): Use quit-window.
16801
16802 2011-08-24 Juri Linkov <juri@jurta.org>
16803
16804 * isearch.el (isearch-ring-adjust1): Start visiting previous
16805 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
16806 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
16807 for empty search string (when the last search string is reused
16808 automatically) to adjust the isearch ring to the last element and
16809 prepare the correct index for further M-p commands (bug#9185).
16810
16811 2011-08-24 Kenichi Handa <handa@m17n.org>
16812
16813 * international/ucs-normalize.el: If decomposition property of
16814 CHAR is the default one (i.e. a list of CHAR itself), treat it as
16815 nil.
16816 (nfd, nfkd): Likewise.
16817
16818 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
16819
16820 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
16821 from process filters aren't reliably transmitted to the surrounding
16822 accept-process-output.
16823 (mpc-proc-check): New function.
16824 (mpc-proc-sync): Use it (bug#8293)
16825
16826 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
16827
16828 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
16829 Add compatibility functions (bug#9313).
16830
16831 2011-08-23 Eli Zaretskii <eliz@gnu.org>
16832
16833 * cus-start.el (all): Add entry for bidi-paragraph-direction.
16834
16835 * international/uni-bidi.el: Regenerate.
16836
16837 2011-08-23 Kenichi Handa <handa@m17n.org>
16838
16839 * international/charprop.el:
16840 * international/uni-bidi.el:
16841 * international/uni-category.el:
16842 * international/uni-combining.el:
16843 * international/uni-comment.el:
16844 * international/uni-decimal.el:
16845 * international/uni-decomposition.el:
16846 * international/uni-digit.el:
16847 * international/uni-lowercase.el:
16848 * international/uni-mirrored.el:
16849 * international/uni-name.el:
16850 * international/uni-numeric.el:
16851 * international/uni-old-name.el:
16852 * international/uni-titlecase.el:
16853 * international/uni-uppercase.el: Regenerate.
16854
16855 2011-08-23 Martin Rudalics <rudalics@gmx.at>
16856
16857 * help.el (help-window-setup): Fix message displayed when other
16858 window is reused. (Bug#9341)
16859
16860 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
16861
16862 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
16863 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
16864
16865 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
16866 Mark obsolete.
16867 * shell.el (shell-parse-pcomplete-arguments): New function.
16868 (shell-completion-vars): Use it instead (bug#9160).
16869
16870 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
16871
16872 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
16873 strings and comments (bug#9333).
16874
16875 * emacs-lisp/debug.el (debug-arglist): New function.
16876 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
16877 (debug-on-entry-1): Handle interpreted closures (bug#9120).
16878
16879 2011-08-22 Juri Linkov <juri@jurta.org>
16880
16881 * progmodes/compile.el (compilation-mode-font-lock-keywords):
16882 Revert regexp that highlights output switches to its old
16883 pre-2010-10-28 value and remove one `?' from it (bug#9319).
16884
16885 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
16886 to check for empty output (bug#9226).
16887
16888 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
16889
16890 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
16891 symbol-constituent as the default, as that stops font-lock from
16892 working properly (Bug#8843).
16893
16894 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16895
16896 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
16897 `coding-system-for-*' around the process open call to avoid
16898 auth-source side effects.
16899 (smtpmail-try-auth-methods): Expand the secret password.
16900 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
16901 probe hangs.
16902
16903 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
16904
16905 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
16906
16907 * emacs-lisp/find-func.el (find-function-noselect): New arg
16908 lisp-only.
16909
16910 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
16911 signal an error for built-in functions (Bug#6664).
16912
16913 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16914
16915 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
16916 (smtpmail-try-auth-methods): Use it.
16917
16918 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
16919
16920 * font-lock.el (font-lock-fontify-region)
16921 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
16922 (font-lock-default-unfontify-buffer)
16923 (font-lock-default-fontify-region)
16924 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
16925
16926 * progmodes/compile.el (compilation-error-properties):
16927 Fix confusion between file struct and message struct (Bug#9319).
16928 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
16929 `ant' regexp.
16930
16931 * net/browse-url.el (browse-url-firefox): Don't call
16932 browse-url-firefox-sentinel unless using -remote (Bug#9328).
16933
16934 2011-08-20 Glenn Morris <rgm@gnu.org>
16935
16936 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
16937
16938 * tutorial.el (tutorial--default-keys): Update some default bindings.
16939
16940 * files.el (hack-local-variables): Fully ignore case for "mode:".
16941
16942 2011-08-20 Alan Mackenzie <acm@muc.de>
16943
16944 Resolve invalid use of a regexp in regexp-opt.
16945
16946 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
16947 detection for a java annotation.
16948
16949 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
16950 detection for a java annotation.
16951
16952 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
16953 handling for java.
16954 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
16955
16956 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
16957
16958 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
16959 (Bug#9274).
16960
16961 2011-08-20 Alan Mackenzie <acm@muc.de>
16962
16963 Fontify CPP expressions correctly when starting in the middle of
16964 such a construct. Mainly for when jit-lock etc. starts a chunk
16965 here.
16966
16967 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
16968 variable.
16969 (c-make-font-lock-search-form): New function, extracted from
16970 c-make-font-lock-search-function.
16971 (c-make-font-lock-search-function): Use the above function.
16972 (c-make-font-lock-context-search-function): New function.
16973 (c-cpp-matchers): Enhance the preprocessor expression case with
16974 the above function
16975 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
16976 which takes an expression.
16977
16978 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
16979
16980 2011-08-20 Martin Rudalics <rudalics@gmx.at>
16981
16982 * window.el (display-buffer-reuse-window)
16983 (display-buffer-pop-up-window): Don't reuse or split a side
16984 window.
16985
16986 2011-08-19 Glenn Morris <rgm@gnu.org>
16987
16988 * files.el (hack-local-variables-prop-line, hack-local-variables):
16989 Downcase "Mode:". (Bug#9331)
16990
16991 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
16992
16993 * international/characters.el: Add L and R categories.
16994
16995 * subr.el (bidi-string-mark-left-to-right): Rename from
16996 string-mark-left-to-right. Use category search.
16997
16998 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
16999
17000 2011-08-18 Juri Linkov <juri@jurta.org>
17001
17002 * faces.el (error, warning, success): New faces with definitions
17003 copied from old default values of `font-lock-warning-face',
17004 `compilation-warning', `compilation-info' (bug#6117).
17005
17006 * font-lock.el (font-lock-warning-face): Inherit from `error'.
17007
17008 * progmodes/compile.el (compilation-error): Inherit from `error'.
17009 (compilation-warning): Inherit from `warning'.
17010 (compilation-info): Inherit from `success'.
17011
17012 * dired.el (dired-marked): Inherit from `warning'.
17013 (dired-flagged): Inherit from `error'.
17014
17015 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
17016
17017 * mail/smtpmail.el (auth-source): Require to avoid problems with
17018 binding variables (bug#9298). Also clean up some unused
17019 autoloads.
17020
17021 * net/network-stream.el (network-stream-open-starttls):
17022 Support using starttls.el without using gnutls-cli.
17023
17024 2011-08-17 Juri Linkov <juri@jurta.org>
17025
17026 * progmodes/grep.el (rgrep): Handle the case when
17027 `grep-find-command' is a cons cell (bug#9278).
17028
17029 2011-08-17 Martin Rudalics <rudalics@gmx.at>
17030
17031 * window.el (display-buffer-pop-up-frame): Run frame creation
17032 function with BUFFER current (as special-display-popup-frame
17033 does). Reported by Drew Adams.
17034
17035 2011-08-17 Daiki Ueno <ueno@unixuser.org>
17036
17037 * epa-mail.el: Simplify GnuPG group expansion using
17038 epg-expand-group.
17039 (epa-mail-group-alist, epa-mail-group-modtime)
17040 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
17041 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
17042 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
17043 Remove.
17044
17045 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
17046
17047 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
17048
17049 2011-08-16 Alan Mackenzie <acm@muc.de>
17050
17051 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
17052 Correct, to avoid the inside of macros.
17053
17054 2011-08-16 Richard Stallman <rms@gnu.org>
17055
17056 * epa-mail.el: Handle GnuPG group definitions.
17057 (epa-mail-group-alist, epa-mail-group-modtime)
17058 (epa-mail-gnupg-conf-file): New variables.
17059 (epa-mail-parse-groups, epa-mail-sync-groups)
17060 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
17061 (epa-mail-expand-recipients): New functions.
17062 (epa-mail-encrypt): Call epa-mail-expand-recipients.
17063
17064 * mail/rmail.el (rmail-epa-decrypt): New command.
17065
17066 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
17067 Don't bind buffer-read-only, just inhibit-read-only.
17068 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
17069 (epa-decrypt-armor-in-region): Make error message clearer.
17070
17071 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
17072
17073 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
17074 and "a2b" to "ab" for `prefix'.
17075
17076 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
17077
17078 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
17079 filter groups.
17080 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
17081 Fourquet (Bug#8804).
17082
17083 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
17084
17085 * startup.el (argi): Declare as global variable (bug#9275).
17086
17087 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
17088
17089 * subr.el (string-mark-left-to-right): Search the entire string
17090 for RTL script, not just the terminating character. Doc fix.
17091
17092 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
17093
17094 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
17095 New function.
17096 (js--regexp-literal, js-syntax-propertize-function): Remove.
17097 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
17098 (js-mode-map): Don't rebind electric keys.
17099 (js-insert-and-indent): Remove.
17100 (js-mode): Setup electric-layout and electric-indent instead.
17101
17102 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
17103
17104 2011-08-12 Daiki Ueno <ueno@unixuser.org>
17105
17106 * epa.el (epa-progress-callback-function): Fix the logic of
17107 displaying progress.
17108 * epa-file.el (epa-file-insert-file-contents): Make progress
17109 display more user-friendly.
17110 (epa-file-write-region): Ditto.
17111
17112 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
17113
17114 * subr.el (string-mark-left-to-right): New function.
17115
17116 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
17117 Use string-mark-left-to-right.
17118 (list-buffers-noselect): Caller changed.
17119
17120 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
17121 Use string-mark-left-to-right.
17122 (tabulated-list-print): Recenter after moving point.
17123
17124 2011-08-10 Juri Linkov <juri@jurta.org>
17125
17126 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
17127 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
17128 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
17129
17130 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
17131
17132 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
17133 (Bug#7554).
17134
17135 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
17136
17137 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
17138 character. (Bug#6594)
17139
17140 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
17141
17142 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
17143 (image-dired--with-db-file): New macro.
17144 (image-dired-write-tags, image-dired-remove-tag)
17145 (image-dired-create-gallery-lists, image-dired-write-comments)
17146 (image-dired-get-comment, image-dired-mark-tagged-files)
17147 (image-dired-list-tags, image-dired-gallery-generate): Use it.
17148 (image-dired-gallery-generate): Use insert-file-contents.
17149
17150 * time.el (display-time-world-list, display-time-world-display):
17151 * time-stamp.el (time-stamp-string):
17152 * vc/add-log.el (add-change-log-entry): Use setenv instead of
17153 set-time-zone-rule (Bug#7337).
17154
17155 2011-08-08 Daiki Ueno <ueno@unixuser.org>
17156
17157 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
17158 (epg-error-to-string, epg-errors-to-string): New function.
17159 (epg-wait-for-completion): Reverse errors list.
17160 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
17161 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
17162 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
17163 (epg-sign-keys, epg-generate-key-from-file)
17164 (epg-generate-key-from-string): Format errors by using
17165 epg-errors-to-string (bug#9255).
17166 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
17167
17168 2011-08-07 Juri Linkov <juri@jurta.org>
17169
17170 * faces.el (list-faces-display): Remove extra angle bracket
17171 from `help-mode-map'.
17172
17173 * info.el (Info-history-toc-nodes): Doc fix.
17174
17175 * longlines.el (longlines-mode): Doc fix.
17176
17177 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
17178
17179 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
17180 of statements and in a few more cases (bug#9183).
17181
17182 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
17183 New functions.
17184 (cl-transform-lambda): Use them (bug#9239).
17185
17186 2011-08-05 Martin Rudalics <rudalics@gmx.at>
17187
17188 * window.el (display-buffer-same-window)
17189 (display-buffer-same-frame, display-buffer-other-window)
17190 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
17191 (pop-to-buffer-other-window)
17192 (pop-to-buffer-same-frame-other-window)
17193 (pop-to-buffer-other-frame): Make them defuns.
17194 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
17195
17196 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
17197
17198 * subr.el (make-composed-keymap): Move from C. Change calling
17199 convention, and improve docstring to bring attention to a subtle point.
17200 * minibuffer.el (completing-read-default): Adjust accordingly.
17201
17202 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
17203
17204 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
17205 (tramp-open-shell): Use `tramp-shell-quote-argument'.
17206
17207 * net/trampver.el: Update release number.
17208
17209 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
17210
17211 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
17212 "in" (bug#9190).
17213
17214 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17215
17216 * mail/sendmail.el (sendmail-query-once): Restore the current
17217 buffer after querying (bug#9074).
17218
17219 * dired.el (dired-flagged): Use different faces for marked and
17220 flagged files (bug#6117).
17221
17222 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
17223 (bug#4433).
17224
17225 * ido.el (ido-mode): Switch off the message if called
17226 non-interactively.
17227
17228 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
17229 before 587, since it appears that that's more likely to work for
17230 more people.
17231
17232 * cus-edit.el (custom-file): When running under emacs -q, always
17233 refuse to save the customizations, even if the .emacs file doesn't
17234 exist.
17235
17236 * info.el: Remove the `Info-beginning-of-buffer' function
17237 (bug#8325).
17238
17239 * net/network-stream.el (network-stream-open-starttls):
17240 Use `starttls-available-p' to see whether starttls.el can be used.
17241
17242 2011-08-01 Martin Rudalics <rudalics@gmx.at>
17243
17244 * window.el (display-buffer-in-window): Don't set dedicated status
17245 of window here (Bug#9215).
17246 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
17247 (display-buffer-pop-up-side-window)
17248 (display-buffer-in-side-window): Set dedicated status of window here.
17249
17250 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
17251
17252 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
17253 before binding generated-autoload-file.
17254
17255 2011-08-01 Deniz Dogan <deniz@dogan.se>
17256
17257 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
17258
17259 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
17260
17261 Sync with Tramp 2.2.2.
17262
17263 * net/trampver.el: Update release number.
17264
17265 2011-07-30 Juri Linkov <juri@jurta.org>
17266
17267 * dired-aux.el (dired-touch-initial): Remove function.
17268 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
17269 current time, and `default' to the last modification time of the
17270 current marked file (bug#6887).
17271
17272 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
17273
17274 * simple.el (goto-line): Use string-to-number to provide a
17275 numeric argument to read-number (bug#9163).
17276
17277 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
17278
17279 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
17280 connection process, it could be nil.
17281
17282 2011-07-27 Leo Liu <sdl.web@gmail.com>
17283
17284 Simplify url handling in rcirc-mode.
17285
17286 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
17287 (rcirc-browse-url-at-mouse): Remove.
17288 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
17289
17290 2011-07-26 Alan Mackenzie <acm@muc.de>
17291
17292 Fontify bitfield declarations properly.
17293
17294 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
17295 (c-symbol-chars): Now exported as a lang variable.
17296 (c-not-primitive-type-keywords): New lang variable.
17297
17298 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
17299 QT keyword "more" to prevent "more slots: ...." being spuriously
17300 parsed as a bitfield declaration.
17301
17302 * progmodes/cc-engine.el (c-beginning-of-statement-1):
17303 Refactor and enhance to handle bitfield declarations.
17304 (c-punctuation-in): New function.
17305 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
17306 declarations properly.
17307
17308 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
17309
17310 * calendar/icalendar.el (icalendar--all-events): Take care of
17311 multiple vcalendars in a single file.
17312 (icalendar--convert-float-to-ical): Checkdoc fixes.
17313
17314 2011-07-25 Deniz Dogan <deniz@dogan.se>
17315
17316 * image.el (insert-image): Clarifying docstring.
17317
17318 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
17319
17320 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
17321 `tramp-send-command-and-check' if there is no error.
17322 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
17323
17324 2011-07-22 Alan Mackenzie <acm@muc.de>
17325
17326 Prevent cc-langs.elc being loaded at run time.
17327
17328 * progmodes/cc-mode.el: Remove two autoload forms which loaded
17329 cc-langs.
17330
17331 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
17332 "(require 'cc-langs)". Quote a form so it will evaluate at
17333 (cc-mode's) compilation time.
17334
17335 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
17336
17337 * net/tramp.el (tramp-file-name-handler): Avoid recursive
17338 loading. (Bug#9114)
17339
17340 2011-07-21 Martin Rudalics <rudalics@gmx.at>
17341
17342 * window.el (display-buffer-pop-up-window)
17343 (display-buffer-pop-up-side-window)
17344 (display-buffer-in-side-window): Call display-buffer-set-height
17345 and display-buffer-set-width after setting the new window's
17346 buffer so `fit-window-to-buffer' and friends work on the right buffer.
17347
17348 2011-07-20 Sam Steingold <sds@gnu.org>
17349
17350 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
17351 (etags-tags-included-tables): Call `convert-standard-filename' on
17352 the file names contained in TAGS so that windows Emacs can handle
17353 TAGS files created by cygwin ctags.
17354
17355 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
17356
17357 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
17358 which apparently didn't work.
17359
17360 2011-07-19 Roland Winkler <winkler@gnu.org>
17361
17362 * proced.el (proced-send-signal): For *Marked Processes* buffer
17363 put point at beginning of buffer.
17364
17365 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
17366
17367 * proced.el (proced-format): Make header lines align with the text
17368 (bug#1779).
17369
17370 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
17371
17372 * view.el (view-buffer): Allow running in `special' modes if we're
17373 visiting a file (bug#8615).
17374
17375 2011-07-19 Martin Rudalics <rudalics@gmx.at>
17376
17377 * window.el (display-buffer-alist-of-strings-p)
17378 (display-buffer-alist-set-1, display-buffer-alist-set-2):
17379 New functions.
17380 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
17381 more accurately.
17382
17383 2011-07-18 Alan Mackenzie <acm@muc.de>
17384
17385 Fontify declarators properly when, e.g., a jit-lock chunk begins
17386 inside a declaration.
17387
17388 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
17389
17390 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
17391 New function.
17392 (c-complex-decl-matchers): Insert reference to
17393 c-font-lock-enclosing-decls.
17394
17395 * progmodes/cc-engine.el (c-backward-single-comment):
17396 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
17397 to nil around calls to (forward-comment -1).
17398
17399 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
17400
17401 * image.el (put-image): Doc typo fix.
17402
17403 * progmodes/etags.el (tags-search): Doc typo fix.
17404
17405 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
17406 password if we get errors 550 to 554.
17407
17408 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
17409
17410 * net/gnutls.el (gnutls-log-level): Remove.
17411
17412 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
17413 indentation character (bug#6380).
17414
17415 * files.el (buffer-offer-save): Made permanently local (bug#6241).
17416
17417 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
17418 to clarify what the problem is (bug#4291).
17419
17420 * simple.el (current-kill): Clarify what
17421 `interprogram-paste-function' does (bug#7500).
17422 (auto-fill-mode): Document `auto-fill-function' in relation to
17423 `auto-fill-mode' (bug#2470).
17424
17425 2011-07-16 Lawrence Mitchell <wence@gmx.li>
17426
17427 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
17428 method if slot is read-only (bug#9035).
17429
17430 2011-07-16 Martin Rudalics <rudalics@gmx.at>
17431
17432 * frame.el (select-frame-set-input-focus): New argument NORECORD.
17433 * window.el (pop-to-buffer): Select window used even if it was
17434 selected before, see discussion of (Bug#8615), (Bug#6954).
17435 Pass argument NORECORD on to select-frame-set-input-focus.
17436
17437 2011-07-15 Glenn Morris <rgm@gnu.org>
17438
17439 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
17440 Respect help-form.
17441
17442 2011-07-09 Lawrence Mitchell <wence@gmx.li>
17443
17444 * net/gnutls.el (gnutls-min-prime-bits): New variable.
17445 (gnutls-negotiate): Use it.
17446
17447 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
17448
17449 * net/gnutls.el (gnutls-negotiate):
17450 Upcase `gnutls-algorithm-priority'.
17451
17452 2011-07-15 Glenn Morris <rgm@gnu.org>
17453
17454 * jka-compr.el (jka-compr-verbose): Move from here...
17455 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
17456 Add missing :version tag.
17457 * info.el: No need to require jka-compr when compiling.
17458
17459 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
17460
17461 * net/gnutls.el (gnutls-algorithm-priority): New variable.
17462 (gnutls-negotiate): Use it.
17463
17464 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
17465
17466 * info.el (Info-beginning-of-buffer): New command.
17467 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
17468 announcing `b' as the key (bug#8325).
17469 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
17470
17471 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
17472
17473 * international/mule-cmds.el
17474 (describe-specified-language-support): Make the error message
17475 clearer (bug#8905).
17476
17477 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
17478
17479 * isearch.el (isearch-barrier): Add a doc string, since it's
17480 mentioned in a function doc string (bug#8678).
17481
17482 2011-07-15 Martin Rudalics <rudalics@gmx.at>
17483
17484 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
17485 buffer argument (Bug#9083) and self-identifying label argument.
17486
17487 2011-07-15 Glenn Morris <rgm@gnu.org>
17488
17489 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
17490
17491 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
17492
17493 * man.el (Man-fontify-manpage): Fix message when formatting the
17494 man page (bug#7929).
17495
17496 2011-07-14 Eli Zaretskii <eliz@gnu.org>
17497
17498 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
17499 argument LRM; if non-nil, append an invisible LRM character to the
17500 buffer name.
17501 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
17502 last argument non-nil, when formatting buffer names.
17503 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
17504 paragraph direction.
17505
17506 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
17507
17508 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
17509 the man page name (bug#7929).
17510
17511 * image.el (put-image): Mention the `put-image' overlay property
17512 (bug#7834).
17513
17514 * scroll-bar.el (set-scroll-bar-mode): Mention that
17515 `scroll-bar-mode' lists the values (bug#7772).
17516
17517 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
17518 command (bug#7729).
17519
17520 * rect.el (apply-on-rectangle): Return the point after the last
17521 operation.
17522 (string-rectangle): Go to the point after the last operation
17523 (bug#7522).
17524
17525 * printing.el (pr-toggle-region): Clarify the documentation
17526 slightly (bug#7493).
17527
17528 * time.el (display-time-update):
17529 Allow `display-time-mail-function' to return nil (bug#7158).
17530 Fix suggested by Detlev Zundel.
17531
17532 * vc/diff.el (diff): Clarify the order the file names are read
17533 (bug#7111).
17534
17535 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
17536 the doc string (bug#7015).
17537
17538 * font-lock.el (font-lock-maximum-decoration): Mention what
17539 numeric levels mean (bug#6935).
17540
17541 * startup.el (initial-buffer-choice): Don't mention the `none'
17542 selection, which is against policy.
17543
17544 2011-07-14 Martin Rudalics <rudalics@gmx.at>
17545
17546 * window.el (display-buffer-normalize-special):
17547 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
17548
17549 2011-07-14 Eli Zaretskii <eliz@gnu.org>
17550
17551 * subr.el (version<, version<=, version=): Mention "-CVS" and
17552 "-12345" alpha version numbers.
17553
17554 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
17555
17556 * bindings.el: Add advertised binding for set-mark-command
17557 (Bug#5772).
17558
17559 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
17560
17561 * bindings.el (mode-line-other-buffer):
17562 * bookmark.el (bookmark-bmenu-2-window):
17563 * bs.el (bs-cycle-next, bs-cycle-previous):
17564 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
17565 switch-to-buffer.
17566
17567 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
17568 Delete.
17569
17570 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
17571
17572 * follow.el (follow-debug-message, follow-redisplay):
17573 * jka-cmpr-hook.el (with-auto-compression-mode):
17574 Fix typos in docstrings.
17575
17576 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17577
17578 * subr.el (with-silent-modifications): Clarify somewhat what the
17579 macro inhibits (bug#6525).
17580
17581 * simple.el (eval-expression): Note what it does if called
17582 interactively (bug#6495).
17583
17584 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
17585
17586 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
17587 Use pop-to-buffer buffer-or-name if it is nil.
17588
17589 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17590 Remove switch-to-buffer.
17591
17592 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17593
17594 * files.el (make-directory): Clarify that an error will be raised
17595 if there's an error (bug#6397).
17596
17597 * startup.el (initial-buffer-choice): Add `none' as a choice
17598 (bug#6234).
17599
17600 * subr.el (add-hook): Clarify section about buffer-local hooks
17601 (bug#6218).
17602
17603 * dired.el (dired-flagged): Clarify doc string (bug#6117).
17604
17605 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
17606
17607 * tabify.el (untabify): Preserve the current column so that point
17608 doesn't move (bug#6032).
17609
17610 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17611
17612 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
17613 Rewrite to avoid awkward possessive "s" (bug#5986).
17614
17615 2011-07-13 Glenn Morris <rgm@gnu.org>
17616
17617 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
17618 (dired-insert-directory): Give a message the first time
17619 if ls is found not to support --dired.
17620
17621 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17622
17623 * simple.el (toggle-truncate-lines): Clarify what is toggled
17624 (bug#5580). Text by Drew Adams.
17625
17626 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
17627
17628 * simple.el (blink-matching-open): Make the error message from the
17629 last change less verbose.
17630
17631 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
17632
17633 * font-lock.el (font-lock-comment-face): Use the high contrast
17634 "yellow" color for font-lock-comment-face on low color terminals
17635 using a dark background color (bug#4221).
17636
17637 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17638
17639 * dired.el (dired-insert-set-properties): Make the doc string
17640 reflect what it does now (bug#5325).
17641
17642 * simple.el (blink-matching-open): Say that we were unable to find
17643 the match within the limit, if we're limited (bug#5122).
17644
17645 * international/mule-cmds.el (prefer-coding-system): Add an
17646 example (bug#4869).
17647
17648 * progmodes/etags.el (tags-search): Document `file-list-form'
17649 (bug#4731).
17650
17651 2011-07-13 Lawrence Mitchell <wence@gmx.li>
17652
17653 * net/browse-url.el (browse-url-default-browser)
17654 (browse-url-browser-function): Make the default browser choice a
17655 bit more logical (bug#4300). Also clean up the doc string.
17656
17657 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
17658
17659 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
17660 binary endings (bug#4440).
17661
17662 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17663
17664 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
17665 which can be pretty annoying (bug#8971).
17666
17667 * jka-compr.el (jka-compr-verbose): New variable, and use
17668 throughout (bug#8971).
17669
17670 * info.el (Info-find-file): Fall back on the installation
17671 directory if we can't find the info node anywhere else.
17672
17673 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
17674
17675 * vc/vc.el (vc-revert-file):
17676 Don't set file time-stamp in the past. (Bug#5181)
17677
17678 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
17679
17680 * files.el (after-find-file): Give a better error message when
17681 trying to find a symlink that points to a file that doesn't exist
17682 (bug#4398).
17683
17684 * progmodes/cc-vars.el: Remove (probably) misleading comment
17685 (bug#4396).
17686
17687 2011-07-12 Johan Bockgård <bojohan@gnu.org>
17688
17689 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
17690
17691 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
17692
17693 * mouse-sel.el: Hack restoring functionality, while keeping
17694 compatibility with 2010-07-03 changes to mouse selection.
17695 (mouse-sel-primary-overlay): New var.
17696 (mouse-sel-selection-alist): Use it.
17697 (mouse-sel-mode): Doc fix; remove points that are default features
17698 of mouse.el.
17699
17700 2011-07-12 Johan Bockgård <bojohan@gnu.org>
17701
17702 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17703 Fix previous fix (bug#2490).
17704
17705 2011-07-12 Roland Winkler <winkler@gnu.org>
17706
17707 * textmodes/bibtex.el (bibtex-initialize):
17708 Use pop-to-buffer-same-window.
17709 (bibtex-search-entries): Fix interactive call.
17710
17711 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
17712
17713 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17714 Fontise bytecomp Error lines more correctly (bug#2490).
17715 Fix suggested by Johan Bockgård.
17716
17717 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
17718
17719 * dired-x.el (dired-guess-default): Use `delete-dups'.
17720
17721 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
17722
17723 * dired.el (dired-mark-prompt):
17724 * dired-aux.el (dired-read-shell-command): Doc fix.
17725
17726 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17727
17728 * mail/sendmail.el (sendmail-query-once):
17729 Use `customize-save-variable' unconditionally, now that it works under
17730 emacs -Q.
17731
17732 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
17733
17734 * cus-edit.el (custom-file): Take an optional no-error variable.
17735 (customize-save-variable): Set the variable, and give a warning if
17736 running under "emacs -q".
17737
17738 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
17739
17740 * loadhist.el (unload-feature-special-hooks):
17741 Add `auto-coding-functions', `fill-nobreak-predicate' and
17742 `find-directory-functions' (bug#5327).
17743
17744 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17745
17746 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
17747
17748 * cus-edit.el (custom-guess-name-alist): -alist variables should
17749 use the `alist' type (bug#3120). Suggested by Drew Adams.
17750
17751 * printing.el: Add documentation to all the `pr-toggle-' commands.
17752
17753 2011-07-11 Leo Liu <sdl.web@gmail.com>
17754
17755 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
17756 backends where it makes sense (bug#2623).
17757
17758 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17759
17760 * dired-x.el (dired-guess-default): Remove duplicate shell command
17761 entries (bug#2028).
17762 (dired-guess-default): Fix grammar in doc string (bug#2028).
17763 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
17764
17765 * subr.el (remove-duplicates): New conveniency function.
17766
17767 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
17768
17769 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
17770 (bug#1526).
17771
17772 2011-07-10 Martin Rudalics <rudalics@gmx.at>
17773
17774 * window.el (display-buffer-normalize-default): Don't invert
17775 meaning of even-window-heights. Reported by Eli Zaretskii
17776 <eliz@gnu.org>.
17777
17778 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
17779
17780 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
17781
17782 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
17783
17784 * window.el (display-buffer): Fix arguments to
17785 display-buffer-reuse-window in last change.
17786
17787 * faces.el (link): Use a less saturated blue on light backgrounds.
17788
17789 * startup.el (fancy-startup-text, fancy-about-text)
17790 (fancy-startup-tail): Use font-lock faces, for background safety.
17791
17792 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
17793
17794 * emulation/viper-cmd.el (viper-change-state-to-vi):
17795 Limit triggering of abbrev expansion (Bug#9038).
17796
17797 2011-07-09 Martin Rudalics <rudalics@gmx.at>
17798
17799 * window.el (display-buffer-default-specifiers): Remove.
17800 (display-buffer-macro-specifiers): Remove default specifiers.
17801 (display-buffer-alist): Default to nil.
17802 (display-buffer-reuse-window): New optional argument other-window.
17803 (display-buffer-pop-up-window): Allow splitting internal
17804 windows. Check whether a live window was created.
17805 (display-buffer-other-window-means-other-frame)
17806 (display-buffer-normalize-arguments): Rename to
17807 display-buffer-normalize-argument and rewrite. Set the
17808 other-window specifier.
17809 (display-buffer-normalize-special): New function.
17810 (display-buffer-normalize-options): Rename to
17811 display-buffer-normalize-default and rewrite.
17812 (display-buffer-normalize-options-inhibit): Remove.
17813 (display-buffer-normalize-specifiers): Rewrite.
17814 (display-buffer): Process other-window specifier and call
17815 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
17816 more faithfully.
17817 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
17818 (display-buffer-alist-set): Don't handle 'unset default values.
17819 (display-buffer-in-window, display-buffer-alist-set):
17820 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
17821 <tassilo@member.fsf.org>.
17822
17823 2011-07-09 Leo Liu <sdl.web@gmail.com>
17824
17825 * register.el (insert-register): Restore accidental change on
17826 2011-06-26. (Bug#9028)
17827
17828 2011-07-09 Glenn Morris <rgm@gnu.org>
17829
17830 * subr.el (remq): Handle the empty list. (Bug#9024)
17831
17832 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
17833
17834 * mail/sendmail.el (send-mail-function): No longer delay custom
17835 initialization.
17836 * custom.el (custom-initialize-delay): Doc fix.
17837
17838 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
17839
17840 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
17841
17842 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
17843
17844 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
17845 human-friendly prompt.
17846
17847 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
17848
17849 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
17850 provided by a particular plugin.
17851
17852 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
17853
17854 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
17855 save customizations (with "emacs -Q"), just set the variable
17856 instead of erroring out.
17857
17858 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
17859
17860 2011-07-08 Juri Linkov <juri@jurta.org>
17861
17862 * arc-mode.el (archive-zip-expunge, archive-zip-update)
17863 (archive-zip-update-case): Use 7z if found by `executable-find'.
17864 The order of searching the available programs is the same as in
17865 `archive-zip-extract' (bug#8968).
17866
17867 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
17868
17869 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
17870 (menu-bar-options-menu): Tweak descriptions.
17871
17872 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
17873
17874 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
17875 menu items into verb phrases (bug#1421). Also refill to fit under
17876 80 columns.
17877
17878 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
17879
17880 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
17881 (Info-read-node-name): Doc fix (Bug#1084).
17882
17883 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
17884 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
17885 (end-of-sexp, beginning-of-sexp)
17886 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
17887 (forward-symbol, forward-same-syntax, word-at-point)
17888 (sentence-at-point): Doc fix (Bug#1144).
17889
17890 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
17891
17892 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
17893 should cover it (bug#1281).
17894
17895 * cus-edit.el (custom-show): Mark as obsolete.
17896
17897 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
17898 negotiation fails, then possibly try again with a non-encrypted
17899 connection (bug#9017).
17900
17901 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
17902 be used.
17903
17904 2011-07-07 Richard Stallman <rms@gnu.org>
17905
17906 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
17907 property, and handle its changed format.
17908 Look for the correct line number.
17909 Use file's line contents (but not past first =) to find
17910 correct line in message.
17911
17912 2011-07-07 Kenichi Handa <handa@m17n.org>
17913
17914 * international/characters.el (build-unicode-category-table):
17915 Delete it.
17916 (unicode-category-table): Set it by unicode-property-table-internal.
17917
17918 * international/mule-cmds.el (char-code-property-alist): Move to
17919 to src/chartab.c.
17920 (get-char-code-property): Call unicode-property-table-internal to
17921 load a file. Call get-unicode-property-internal where necessary.
17922 (put-char-code-property): Call unicode-property-table-internal to
17923 load a file. Call put-unicode-property-internal where necessary.
17924 put-unicode-property-internal where necessary.
17925 (char-code-property-description):
17926 Call unicode-property-table-internal to load a file.
17927
17928 * international/charprop.el:
17929 * international/uni-bidi.el:
17930 * international/uni-category.el:
17931 * international/uni-combining.el:
17932 * international/uni-comment.el:
17933 * international/uni-decimal.el:
17934 * international/uni-decomposition.el:
17935 * international/uni-digit.el:
17936 * international/uni-lowercase.el:
17937 * international/uni-mirrored.el:
17938 * international/uni-name.el:
17939 * international/uni-numeric.el:
17940 * international/uni-old-name.el:
17941 * international/uni-titlecase.el:
17942 * international/uni-uppercase.el: Regenerate.
17943
17944 * loadup.el: Load international/charprop.el before
17945 international/characters.
17946
17947 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
17948
17949 * window.el (next-buffer, previous-buffer): Signal an error if
17950 called from a minibuffer window.
17951
17952 * bindings.el: Revert 2011-07-04 change.
17953
17954 2011-07-06 Richard Stallman <rms@gnu.org>
17955
17956 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
17957 (rmail-mime-insert-bulk, rmail-mime-insert-text):
17958 Treat markers like ints.
17959 (rmail-mime-entity): Doc fix.
17960
17961 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
17962
17963 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
17964 defcustom again for backwards compatibility.
17965
17966 * simple.el (shell-command-on-region): Fill.
17967
17968 * dired-aux.el (dired-kill-line): Add a doc string.
17969
17970 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
17971 to "\\sw\\|\\s_" (bug#358).
17972
17973 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
17974 (dired-unmark-backward): Ditto.
17975 (dired-flag-backup-files): Ditto.
17976
17977 * dired-x.el (dired-mark-sexp): Ditto.
17978
17979 2011-07-06 Richard Stallman <rms@gnu.org>
17980
17981 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
17982 (rmail-mime-entity): New arg TRUNCATED.
17983 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
17984 New functions.
17985 (rmail-mime-save): Warn if entity is truncated.
17986 (rmail-mime-toggle-hidden): Likewise, for showing.
17987 (rmail-mime-process-multipart): Record when an entity is truncated.
17988
17989 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
17990 if ENTITY is a string.
17991
17992 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
17993
17994 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
17995 of faces when `M-C-x'-ing their definitions (bug#8378).
17996 Also clean up the code slightly.
17997
17998 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
17999 because that makes the colors go away.
18000
18001 * mail/sendmail.el (send-mail-function): Change the default to
18002 `sendmail-query-once'.
18003 (sendmail-query-once): Add an autoload cookie.
18004
18005 * net/network-stream.el (network-stream-open-starttls): Try using
18006 a plain connection even if the server offered STARTTLS, and we
18007 kinda wanted to use it, if Emacs doesn't have any STARTTLS
18008 capability. This should make smtpmail.el work in slightly more
18009 configurations.
18010
18011 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
18012
18013 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
18014 New defun.
18015 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
18016
18017 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
18018
18019 * progmodes/sql.el: Version 3.0
18020 (sql-product-alist): Add product :completion-object,
18021 :completion-column, and :statement attributes.
18022 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
18023 (sql-mode-syntax-table): Mark all punctuation.
18024 (sql-font-lock-keywords-builder): Temporarily remove fallback on
18025 ansi keywords.
18026 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
18027 (sql-mode-oracle-font-lock-keywords): Improve.
18028 (sql-oracle-show-reserved-words): New function for development.
18029 (sql-product-font-lock): Simplify for source code buffers.
18030 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
18031 New functions.
18032 (sql-highlight-product): Set product specific syntax table.
18033 (sql-mode-map): Add statement movement functions.
18034 (sql-ansi-statement-starters, sql-oracle-statement-starters):
18035 New variable.
18036 (sql-statement-regexp, sql-beginning-of-statement)
18037 (sql-end-of-statement, sql-signum): New functions.
18038 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
18039 (sql-show-sqli-buffer): Bug fix.
18040 (sql-interactive-mode): Store connection data as buffer local.
18041 (sql-connect): Add NEW-NAME parameter. Redesign interaction
18042 with sql-interactive-mode.
18043 (sql-save-connection): Save buffer local settings.
18044 (sql-connection-menu-filter): Change menu entry name.
18045 (sql-product-interactive): Bug fix.
18046 (sql-preoutput-hold): New variable.
18047 (sql-interactive-remove-continuation-prompt): Bug fixes.
18048 (sql-debug-redirect): New variable.
18049 (sql-str-literal): New function.
18050 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
18051 Redesign.
18052 (sql-oracle-save-settings, sql-oracle-restore-settings)
18053 (sql-oracle-list-all, sql-oracle-list-table): New functions.
18054 (sql-completion-object, sql-completion-column)
18055 (sql-completion-sqlbuf): New variables.
18056 (sql-build-completions-1, sql-build-completions)
18057 (sql-try-completion): New functions.
18058 (sql-read-table-name): Use them.
18059 (sql-contains-names): New buffer local variable.
18060 (sql-list-all, sql-list-table): Use it.
18061 (sql-oracle-completion-types): New variable.
18062 (sql-oracle-completion-object, sql-sqlite-completion-object)
18063 (sql-postgres-completion-object): New functions.
18064
18065 2011-07-06 Glenn Morris <rgm@gnu.org>
18066
18067 * window.el (pop-to-buffer): Doc fix.
18068
18069 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
18070
18071 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
18072
18073 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
18074
18075 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
18076
18077 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
18078
18079 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
18080
18081 * button.el (button): Inherit from link face. Suggested by Dan
18082 Nicolaescu.
18083
18084 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
18085
18086 * progmodes/gdb-mi.el: Fit in 80 columns.
18087 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
18088 switch-to-buffer.
18089
18090 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
18091 if imenu is simply not configured (bug#8941).
18092
18093 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
18094
18095 * allout.el (allout-post-undo-hook): New allout outline-change
18096 event hook to signal undo activity.
18097 (allout-post-command-business): Run allout-post-undo-hook if an
18098 undo just occurred.
18099 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
18100 * allout-widgets.el (allout-widgets-after-undo-function):
18101 Ensure the integrity of the current item's decoration after it has been
18102 in the vicinity of an undo.
18103 (allout-widgets-mode): Include allout-widgets-after-undo-function
18104 on the new allout-post-undo-hook.
18105
18106 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
18107
18108 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
18109 Let define-derived-mode define it.
18110 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
18111 cycles of abbrev-table inheritance (bug#8998).
18112
18113 2011-07-05 Roland Winkler <winkler@gnu.org>
18114
18115 * textmodes/bibtex.el: Add support for biblatex.
18116 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
18117 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
18118 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
18119 (bibtex-entry-alist, bibtex-field-alist): New variables.
18120 (bibtex-entry-field-alist): Obsolete alias for
18121 bibtex-BibTeX-entry-alist.
18122 (bibtex-entry-alist, bibtex-field-alist): New widgets.
18123 (bibtex-set-dialect): New command.
18124 (bibtex-entry-type, bibtex-entry-head)
18125 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
18126 Bind via bibtex-set-dialect.
18127 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
18128 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
18129 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
18130 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
18131 Define via bibtex-set-dialect.
18132 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
18133 Obey bibtex-no-opt-remove-re.
18134 (bibtex-vec-push, bibtex-vec-incr): New functions.
18135 (bibtex-format-entry, bibtex-field-list)
18136 (bibtex-print-help-message, bibtex-validate)
18137 (bibtex-search-entries): Use new format of bibtex-entry-alist.
18138
18139 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
18140
18141 * progmodes/compile.el (compilation-goto-locus):
18142 * net/tramp-cmds.el (tramp-append-tramp-buffers):
18143 * bs.el (bs-cycle-next, bs-cycle-previous):
18144 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
18145 * bindings.el (mode-line-other-buffer):
18146 * autoinsert.el (auto-insert):
18147 * arc-mode.el (archive-extract):
18148 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
18149
18150 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
18151
18152 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
18153 Fix check of `emacs-lock-unlockable-modes'.
18154 Coerce true values of `emacs-lock--try-unlocking' to t.
18155
18156 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
18157
18158 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
18159 * emacs-lock.el: New file.
18160
18161 2011-07-05 Julien Danjou <julien@danjou.info>
18162
18163 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
18164 than `boundp' to check if face is set.
18165
18166 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
18167
18168 * register.el (registerv-make):
18169 * window.el (window-min-height): Fix typos in docstrings.
18170
18171 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
18172
18173 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
18174 Update doc string.
18175
18176 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
18177
18178 * server.el (server-execute): Catch quit and call
18179 `server-return-error' to pass the error back to emacsclient and
18180 close the connection (bug#8942).
18181
18182 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
18183
18184 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
18185 insecure exception for current topic. Also note that auto-saves
18186 are handled differently.
18187
18188 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
18189 State variables for tracking auto-save inhibition situation.
18190
18191 (allout-write-contents-hook-handler): Rename from
18192 'allout-write-file-hook-handler', and describe how it depends on
18193 write-contents-functions sensitivity to non-nil value to prevent
18194 file write.
18195
18196 (allout-auto-save-hook-handler): Remove. auto-save does not check
18197 this in individual buffers, only in the starting buffer, so this
18198 is not the right way for us to inhibit auto-save in a buffer
18199 according to its condition.
18200
18201 (allout-mode): Use new allout-write-contents-hook-handler, and
18202 only with write-contents-functions. Remove auto-save provisions -
18203 they're implemented elsewhere.
18204
18205 (allout-before-change-handler): If undo is in progress, note that
18206 for attention of allout-post-command-business.
18207
18208 (allout-post-command-business): If the command we're following was
18209 an undo, check for change in the status of encrypted items and
18210 adjust auto-save inhibitions accordingly.
18211
18212 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
18213 according to whether there are or aren't any plain-text topics
18214 pending encryption.
18215
18216 (allout-inhibit-auto-save-info-for-decryption):
18217 Adjust buffer-saved-size and some allout state to inhibit auto-saves
18218 if there are plain-text topics pending encryption.
18219
18220 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
18221 buffer-saved-size and some allout state to not inhibit auto-saves
18222 if there are no longer any plain-text topics pending encryption.
18223
18224 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
18225 No longer provide for exemption of the current topic.
18226
18227 2011-07-04 Juri Linkov <juri@jurta.org>
18228
18229 Add 7z operations to delete and save changed members (bug#8968).
18230 * arc-mode.el (archive-7z-expunge, archive-7z-update):
18231 New defcustoms.
18232 (archive-7z-write-file-member): New function.
18233 (archive-7z-summarize): Fix the number of dashes in the
18234 listing output.
18235
18236 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
18237
18238 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
18239 (bug#8958).
18240
18241 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
18242
18243 * bindings.el: Ignore next-buffer and previous-buffer in
18244 minibuffer-local-map.
18245
18246 * font-lock.el (font-lock-builtin-face): Change light background
18247 color to dark slate blue (Bug#6693).
18248
18249 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
18250
18251 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
18252
18253 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
18254
18255 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
18256 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18257 Add switch-to-buffer.
18258
18259 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
18260
18261 * isearch.el (isearch-search-fun-function): Clarify further the
18262 meaning of the function returned.
18263
18264 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
18265
18266 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
18267
18268 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
18269 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
18270 Use it.
18271 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
18272 `tramp-default-remote-path' does not exist.
18273 (tramp-send-command-and-read): New optional argument NOERROR.
18274 (tramp-open-connection-setup-interactive-shell)
18275 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
18276 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
18277 (tramp-process-sentinel): Flush also process' connection property.
18278 (tramp-sh-handle-start-file-process): Do not set process
18279 sentinel. It is done now ...
18280 (tramp-maybe-open-connection): ... here. (Bug#8929)
18281
18282 2011-07-04 MON KEY <monkey@sandpframing.com>
18283
18284 * play/animate.el (animate-string): Doc fixes and allow changing
18285 the buffer name (bug#5417).
18286
18287 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
18288
18289 * play/animate.el (animation-buffer-name): Rename from *animate*.
18290
18291 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
18292
18293 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
18294 This is simpler and helps future-proof the code.
18295 (timer-until): Use time-subtract and float-time.
18296 (timer--time-less-p): Use time-less-p.
18297
18298 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
18299
18300 * type-break.el (timep): Use the value of `float-time' to avoid a
18301 byte-compiler warning.
18302
18303 * server.el (server-eval-and-print): Return any result, even nil.
18304
18305 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
18306
18307 * type-break.el: Accept time formats that the builtins accept.
18308 (timep, type-break-time-difference): Accept any format that
18309 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
18310 This is simpler and helps future-proof the code.
18311 (type-break-time-difference): Round rather than ignoring
18312 subseconds components.
18313
18314 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18315
18316 * info.el (Info-apropos-matches): Make non-interactive, since it
18317 doesn't seem to do anything useful as a command (bug#8829).
18318
18319 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
18320
18321 * frame.el (frame-background-mode, frame-set-background-mode):
18322 Move from faces.el.
18323 (frame-default-terminal-background): New function.
18324
18325 * custom.el (custom-push-theme): Don't record faces in `changed'
18326 theme; this doesn't work correctly for per-frame face settings.
18327 (disable-theme): Use face-set-after-frame-default to reset faces.
18328 (custom--frame-color-default): New function.
18329
18330 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18331
18332 * dired.el (dired-flagging-regexp): Remove unused variable
18333 (bug#8769).
18334
18335 2011-03-29 Kevin Ryde <user42@zip.com.au>
18336
18337 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18338 `perl-Test2' extend to match possible "fail #N" rep count
18339 (bug#8377).
18340
18341 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18342
18343 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
18344 `smtpmail-via-smtp' now returns the error instead of nil.
18345
18346 * isearch.el (isearch-search-fun-function): Clarify the doc string
18347 (bug#8101).
18348
18349 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
18350
18351 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
18352 unnecessary spaces (bug#8987).
18353
18354 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18355
18356 * net/network-stream.el (open-network-stream): Use the
18357 :end-of-capability command thoughout.
18358
18359 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
18360
18361 * net/network-stream.el (open-network-stream): Add the
18362 :end-of-capability command parameter, used by pop3.el.
18363
18364 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18365
18366 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
18367
18368 * fringe.el (fringe-query-style): Remove redundant text " (type ?
18369 for list)" (bug#6475).
18370
18371 * files.el (file-expand-wildcards): Ignore non-readable
18372 sub-directories while trying to find matches instead of signaling
18373 an error (bug#6297).
18374
18375 * man.el (Man-reference-regexp): Allow matching possible
18376 word-wrapped references (bug#6289).
18377
18378 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
18379 for consistency with the other vc buffers (bug#6197).
18380 (vc-checkin): Ditto.
18381
18382 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
18383
18384 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
18385
18386 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18387
18388 * custom.el (defcustom): Clarify that :set is only used in the
18389 Customize user interface (bug#6089).
18390
18391 * progmodes/flymake.el (flymake-mode): If the buffer isn't
18392 associated with a file, refuse to run instead of erroring out
18393 (bug#6084).
18394
18395 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
18396 the doc string, since it appears that using `fill-column' always
18397 controls the width (bug#7845).
18398
18399 * simple.el (shell-command-on-region): Say where the error output
18400 went if `shell-command-default-error-buffer' is set (bug#6857).
18401
18402 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
18403
18404 * allout.el (allout-yank-processing): Adjust cursor position for
18405 backwards-deleted space.
18406
18407 (allout-rebullet-heading): Register changes with
18408 allout-exposure-changed-hook, so the modified topic is properly
18409 decorated.
18410
18411 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18412
18413 * minibuffer.el (completion-in-region): Document PREDICATE
18414 (bug#7136).
18415
18416 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
18417 of keyword/argument pairs (bug#6904).
18418
18419 * replace.el (multi-occur):
18420 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
18421
18422 2011-07-02 Drew Adams <drew.adams@oracle.com>
18423
18424 * dired.el (dired-mark-if): Make the message about whether it's
18425 marking or unmarking clearer (bug#8523).
18426
18427 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18428
18429 * disp-table.el (display-table-print-array): New function.
18430 (describe-display-table): Use it to print the vectors more pretty
18431 (Bug#8859).
18432
18433 2011-07-02 Martin Rudalics <rudalics@gmx.at>
18434
18435 * window.el (window-state-get-1): Don't assign clone numbers.
18436 Add clone-of item to list of window parameters.
18437 (window-state-put-2): Don't process clone numbers.
18438 (display-buffer-alist): Fix doc-string.
18439
18440 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
18441
18442 * subr.el (remq): Don't allocate if it's not needed.
18443 (keymap--menu-item-binding, keymap--menu-item-with-binding)
18444 (keymap--merge-bindings): New functions.
18445 (keymap-canonicalize): Use them to refine the canonicalization.
18446 * minibuffer.el (minibuffer-local-completion-map)
18447 (minibuffer-local-must-match-map): Move initialization from C.
18448 (minibuffer-local-filename-completion-map): Move initialization from C;
18449 don't inherit from anything here.
18450 (minibuffer-local-filename-must-match-map): Make obsolete.
18451 (completing-read-default): Use make-composed-keymap to combine
18452 minibuffer-local-filename-completion-map with either
18453 minibuffer-local-must-match-map or
18454 minibuffer-local-filename-completion-map.
18455
18456 2011-07-01 Glenn Morris <rgm@gnu.org>
18457
18458 * type-break.el (type-break-time-sum): Use dolist.
18459
18460 * textmodes/flyspell.el (flyspell-word-search-backward):
18461 Replace CL function.
18462
18463 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
18464
18465 * mouse.el (mouse--strip-first-event): New function.
18466 (function-key-map): Use it to map fringe clicks to normal clicks
18467 by default.
18468
18469 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
18470 (vc-bzr-revision-completion-table): Add support for annotate and date.
18471
18472 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
18473 inherit from parent.
18474
18475 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
18476
18477 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
18478 (dired-show-file-type): Doc fixup (bug#8818).
18479
18480 * dired.el (dired-mode): Fix up the doc string as suggested by
18481 Drew Adams (bug#8817).
18482
18483 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
18484 cookie, since the manual says that it should be possible to add
18485 this function to `find-file-hook' (bug#8709).
18486
18487 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
18488
18489 * progmodes/cfengine.el: Moved all cfengine3.el functionality
18490 here. Noted Ted Zlatanov as the maintainer.
18491 (cfengine-common-settings, cfengine-common-syntax): New functions
18492 to set up common things between `cfengine-mode' and
18493 `cfengine3-mode'.
18494 (cfengine3-mode): New mode.
18495 (cfengine3-defuns cfengine3-defuns-regex
18496 (cfengine3-class-selector-regex cfengine3-category-regex)
18497 (cfengine3-vartypes cfengine3-font-lock-keywords)
18498 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
18499 (cfengine3-indent-line): Add from cfengine3.el.
18500
18501 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
18502
18503 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
18504
18505 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
18506
18507 2011-07-01 Martin Rudalics <rudalics@gmx.at>
18508
18509 * window.el (same-window-buffer-names, same-window-regexps)
18510 (same-window-p, special-display-frame-alist)
18511 (special-display-popup-frame, special-display-function)
18512 (special-display-buffer-names, special-display-regexps)
18513 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
18514 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18515 (split-window-preferred-function, split-height-threshold)
18516 (split-width-threshold, even-window-heights)
18517 (display-buffer-mark-dedicated, window-splittable-p)
18518 (split-window-sensibly, window-safely-shrinkable-p):
18519 Un-obsolete.
18520 (display-buffer): Don't spread args with function specifier
18521 because special-display-popup-frame won't like it.
18522
18523 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
18524
18525 Time-stamp simplifications and fixes.
18526 These improve accuracy slightly, and future-proof the code
18527 against some potential changes to current-time format.
18528
18529 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
18530 by using time-since and float-time.
18531
18532 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
18533 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
18534 + NNN microseconds".
18535
18536 * type-break.el (type-break-time-sum): Rewrite using time-add.
18537
18538 * play/hanoi.el (hanoi-current-time-float): Remove.
18539 All uses replaced by float-time.
18540
18541 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
18542 This yields a more-accurate answer.
18543 (rng-time-to-float): Remove; no longer needed.
18544
18545 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
18546
18547 * calendar/timeclock.el (timeclock-seconds-to-time):
18548 Defalias to seconds-to-time, since they're the same thing.
18549
18550 * emacs-lisp/elp.el (elp-elapsed-time):
18551 * emacs-lisp/benchmark.el (benchmark-elapse):
18552 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
18553
18554 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
18555
18556 * window.el (bury-buffer): Don't iconify the only frame.
18557 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
18558 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
18559
18560 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
18561
18562 * eshell/em-smart.el (eshell-smart-display-navigate-list):
18563 Add mouse-yank-primary.
18564
18565 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
18566
18567 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
18568
18569 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
18570
18571 * emacs-lisp/find-func.el (find-library--load-name): New fun.
18572 (find-library-name): Use it to find relative load names when provided
18573 absolute file name (bug#8803).
18574
18575 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
18576
18577 * textmodes/flyspell.el (flyspell-word): Consider words that
18578 differ only in case as potential doublons (bug#5687).
18579
18580 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
18581 Remove two rather uninteresting debugging-like messages to make
18582 debbugs.el more silent.
18583
18584 * comint.el (comint-password-prompt-regexp): Accept "Response" as
18585 a password-like phrase.
18586
18587 2011-06-30 Masatake YAMATO <yamato@redhat.com>
18588
18589 * progmodes/cc-guess.el: New file.
18590
18591 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
18592
18593 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
18594 derived from `c-basic-common-init'.
18595
18596 * progmodes/cc-mode.el (top-level): Require cc-guess.
18597 (c-basic-common-init): Use `cc-choose-style-for-mode'.
18598
18599 2011-06-30 Lawrence Mitchell <wence@gmx.li>
18600
18601 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
18602
18603 2011-06-30 Alan Mackenzie <acm@muc.de>
18604
18605 * progmodes/cc-engine.el (c-guess-continued-construct):
18606 Correct the handling of template-args-cont, particularly for when font
18607 lock is disabled. Name this case as "CASE G".
18608
18609 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
18610
18611 * allout.el (allout-yank-processing): Fix injection of extra space
18612 between bullet and non-whitespace character in first topic when
18613 pasting, ensuring that the actual spacing in the pasted topic
18614 following the bullet char is preserved. This extra space was
18615 causing pasted encrypted topics to get a decrypted status even
18616 when the content was actually still encrypted. Now the decryption
18617 status from before the paste is preserved.
18618
18619 (allout-flag-region): Set all allout overlays so they evaporate
18620 when reduced to zero length (evanescent), to prevent overlay
18621 leakage.
18622
18623 2011-06-30 Glenn Morris <rgm@gnu.org>
18624
18625 * w32-fns.el (w32-charset-info-alist): Declare.
18626
18627 * find-dired.el (find-grep-options): Simplify.
18628
18629 * term/ns-win.el (ns-set-resource): Declare.
18630
18631 * ses.el (row, col): Declare dynamic variables honestly.
18632
18633 * textmodes/reftex-parse.el (index-tags): Declare.
18634
18635 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
18636
18637 * cus-edit.el (customize-push-and-save): New function.
18638
18639 * files.el (hack-local-variables-confirm): Use it.
18640
18641 * custom.el (load-theme): New arg NO-CONFIRM.
18642 Use customize-push-and-save (Bug#8720).
18643 (custom-enabled-themes): Doc fix.
18644
18645 * cus-theme.el (customize-create-theme)
18646 (custom-theme-merge-theme): Callers to load-theme changed.
18647
18648 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
18649
18650 * thingatpt.el (thing-at-point-short-url-regexp): Require that
18651 short URLs have at least one dot in them (bug #7614).
18652
18653 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
18654 nil, because using a pty is apparently too slow (bug #895).
18655
18656 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
18657
18658 * mail/sendmail.el (sendmail-query-once): New function.
18659 (sendmail-query-once-function): New variable.
18660
18661 2011-06-29 Glenn Morris <rgm@gnu.org>
18662
18663 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
18664
18665 * ses.el (top-level): Require cl when compiling.
18666 (ses-set-localvars): Fix error statement.
18667 Call it at compile time to silence a storm of warnings.
18668
18669 2011-06-29 Martin Rudalics <rudalics@gmx.at>
18670
18671 * window.el (normalize-live-buffer): Rename to
18672 window-normalize-buffer.
18673 (normalize-live-frame): Rename to window-normalize-frame.
18674 (normalize-any-window): Rename to window-normalize-any-window.
18675 (normalize-live-window): Rename to window-normalize-live-window.
18676 (make-window-atom): Rename to window-make-atom.
18677 (window-resize-reset): Rename to window--resize-reset.
18678 (window-resize-reset-1): Rename to window--resize-reset-1.
18679 (resize-mini-window): Rename to window--resize-mini-window.
18680 (resize-subwindows-skip-p): Rename to
18681 window--resize-subwindows-skip-p.
18682 (resize-subwindows-normal): Rename to
18683 window--resize-subwindows-normal.
18684 (resize-subwindows): Rename to window--resize-subwindows.
18685 (resize-other-windows): Rename to window--resize-siblings.
18686 (resize-this-window): Rename to window--resize-this-window.
18687 (resize-root-window): Rename to window--resize-root-window.
18688 (resize-root-window-vertically): Rename to
18689 window--resize-root-window-vertically.
18690 (normalize-buffer-to-display): Rename to
18691 window-normalize-buffer-to-display.
18692 (normalize-buffer-to-switch-to): Rename to
18693 window-normalize-buffer-to-switch-to.
18694 Correspondingly update all callers of the functions listed
18695 above.
18696 (display-buffer-alist, display-buffer-normalize-arguments)
18697 (display-buffer-normalize-options, display-buffer)
18698 (display-buffer-alist-set): Use "function" instead of
18699 "fun-with-args".
18700
18701 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
18702
18703 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
18704 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
18705 debbugs.gnu.org. Mention acknowledgment email.
18706
18707 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
18708
18709 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
18710 buffer multibyteness, since it shouldn't matter.
18711
18712 2011-06-28 Martin Rudalics <rudalics@gmx.at>
18713
18714 * window.el (display-buffer-in-side-window): Handle dedicated
18715 windows as in display-buffer-reuse-window.
18716 (display-buffer-normalize-alist): Use value of override
18717 specifier.
18718 (display-buffer-normalize-specifiers): Use value of
18719 other-window-means-other-frame specifier.
18720 (display-buffer-alist): Rewrite some texts in widgets.
18721 (display-buffer): Spread arguments when calling function
18722 specified by fun-with-args.
18723
18724 2011-06-28 Deniz Dogan <deniz@dogan.se>
18725
18726 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
18727 Unnest `let'.
18728
18729 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
18730 selectors (Bug#5732).
18731 (css-proprietary-nmstart-re): Use `regexp-opt'.
18732
18733 2011-06-27 Jari Aalto <jari.aalto@cante.net>
18734
18735 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
18736 (eshell-ls-date-format): New defcustom.
18737 (eshell-ls-file): Use it.
18738
18739 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
18740
18741 * help-fns.el (describe-variable): Fix message for terminal-local vars.
18742
18743 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
18744
18745 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
18746 (ange-ftp-make-tmp-name): New arg.
18747 (ange-ftp-file-local-copy): Use it.
18748
18749 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
18750
18751 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
18752 no-conversion (Bug#8870).
18753
18754 2011-06-27 Martin Rudalics <rudalics@gmx.at>
18755
18756 * window.el (window-right, window-left, window-child)
18757 (window-child-count, window-last-child)
18758 (window-iso-combination-p, walk-window-tree-1)
18759 (window-atom-check-1, window-tree-1, delete-window)
18760 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
18761 new naming conventions - window-vchild, window-hchild,
18762 window-next and window-prev are now called window-top-child,
18763 window-left-child, window-next-sibling and window-prev-sibling
18764 respectively.
18765 (resize-window-reset): Rename to window-resize-reset.
18766 (resize-window-reset-1): Rename to window-resize-reset-1.
18767 (resize-window): Rename to window-resize.
18768 (window-min-height, window-min-width)
18769 (resize-mini-window, resize-this-window, resize-root-window)
18770 (resize-root-window-vertically, adjust-window-trailing-edge)
18771 (enlarge-window, shrink-window, maximize-window)
18772 (minimize-window, delete-window, quit-restore-window)
18773 (split-window, balance-windows, balance-windows-area-adjust)
18774 (balance-windows-area, window-state-put-2)
18775 (display-buffer-even-window-sizes, display-buffer-set-height)
18776 (display-buffer-set-width, set-window-text-height)
18777 (fit-window-to-buffer): Rename all "resize-window" prefixed
18778 calls to use the "window-resize" prefix convention.
18779 (display-buffer-alist): Fix symbol for label specifier.
18780 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
18781 corresponding specifier.
18782 Reported by Juanma Barranquero <lekktu@gmail.com>.
18783
18784 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
18785
18786 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
18787 convention.
18788 (ses-call-printer): Does not pass an empty string to formatter when the
18789 cell is empty to keep from barking printer Calc math-format-value.
18790
18791 2011-06-27 Richard Stallman <rms@gnu.org>
18792
18793 * battery.el (battery-mode-line-limit): New variable.
18794 (battery-update): Handle it.
18795
18796 * mail/rmailmm.el (rmail-mime-process-multipart):
18797 Handle truncated messages.
18798
18799 2011-06-27 Glenn Morris <rgm@gnu.org>
18800
18801 * progmodes/flymake.el (flymake-err-line-patterns):
18802 Allow for column numbers in the ant/javac pattern. (Bug#8866)
18803
18804 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
18805
18806 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
18807 (ses--clean-!, ses--clean-_): New functions.
18808 (ses-range): Add configurability of readout order, and conversion
18809 to Calc vector.
18810
18811 * ses.el (ses-repair-cell-reference-all): New function.
18812 (ses-cell-symbol): Set macro as safe, so that it can be used in
18813 formulas.
18814
18815 * ses.el: Update cycle detection algorithm.
18816 (ses-localvars): Add ses--Dijkstra-attempt-nb and
18817 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
18818 (ses-set-localvars): New function.
18819 (ses-make-cell): Add property-list as a cell element.
18820 (ses-cell-property-get-fun, ses-cell-property-get)
18821 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
18822 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
18823 New functions.
18824 (ses-cell-property-set, ses-cell-property-pop)
18825 (ses-cell-property-get-handle): New macro.
18826 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
18827 New aliases, used for code readability.
18828 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
18829 cycle detection.
18830 (ses-self-reference-early-detection): New defcustom.
18831 (ses-formula-references): Robustify against self-referring cells.
18832 (ses-mode): Use ses-set-localvars.
18833 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
18834 before lauching the update processing.
18835 (ses-initialize-Dijkstra-attempt): New function.
18836 (ses-recalculate-cell): Update for cycle detection based on
18837 Dijkstra algorithm.
18838
18839 * ses.el: Fix commenting and indenting convention.
18840
18841 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
18842
18843 * bs.el (bs-cycle-next): Complete last change.
18844
18845 2011-06-27 Drew Adams <drew.adams@oracle.com>
18846
18847 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
18848
18849 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
18850
18851 * net/network-stream.el (network-stream-open-starttls):
18852 Don't re-get capabilities unless we've reestablished connection.
18853 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
18854
18855 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
18856 to binary to possibly avoid line encoding issues on Windows (among
18857 other things).
18858
18859 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
18860
18861 * net/network-stream.el (open-network-stream): Return an :error
18862 saying what the problem was, if possible.
18863
18864 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
18865 server.
18866
18867 * net/network-stream.el (network-stream-open-starttls): If we
18868 wanted to use STARTTLS, and the server offered it, but we weren't
18869 able to because we had no STARTTLS support, then close the connection.
18870 (open-network-stream): Return an :error element, if present.
18871
18872 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
18873
18874 * hl-line.el (hl-line-sticky-flag): Doc fix.
18875 (global-hl-line-sticky-flag): New option (Bug#8323).
18876 (global-hl-line-highlight): Obey it.
18877
18878 * vc/vc.el (vc-revert-show-diff): Default to t.
18879
18880 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
18881
18882 * allout-widgets.el (allout-widgets-post-command-business):
18883 Stop decorating intermediate isearch matches. They're not being
18884 undecorated when an isearch is continued past, and isearch
18885 automatically collapses them. This leads to "widget leaks", where
18886 decorated items accumulate in collapsed areas. Lines with lots of
18887 hidden widgets can slow down cursor travel, substantially.
18888 Too much complicated machinery would be needed to ensure undecoration,
18889 so we're doing without this nicety.
18890
18891 (allout-widgets-tally-string): Don't try to do a hash-table-count
18892 of allout-widgets-tally when it's nil. This eliminates spurious "Error
18893 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
18894 *Messages* when allout-widgets-maintain-tally is t.
18895
18896 2011-06-26 Martin Rudalics <rudalics@gmx.at>
18897
18898 * window.el (display-buffer-normalize-argument): Rename to
18899 display-buffer-normalize-arguments. Handle special meaning of
18900 LABEL argument. Respect special-display-function when popping up
18901 a new frame. Fix code searching for a window showing the buffer
18902 on another frame.
18903 (display-buffer-normalize-specifiers):
18904 Call display-buffer-normalize-arguments.
18905 (display-buffer-in-window): Don't undedicate the window if its
18906 buffer remains the same.
18907 Reported by Drew Adams <drew.adams@oracle.com>.
18908 (display-buffer-alist): Add choice for same-window macro
18909 specfier.
18910 (display-buffer): Mention special meaning of LABEL argument in
18911 doc-string. Fix quoting. Don't pop up a new frame even as
18912 fallback.
18913
18914 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
18915
18916 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
18917 avoid deleting the current window in some cases (bug#8911).
18918
18919 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
18920
18921 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
18922 (Bug#8934)
18923
18924 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
18925
18926 * net/network-stream.el (network-stream-open-starttls):
18927 Use built-in TLS support if `gnutls-available-p' is true.
18928 (network-stream-open-tls): Ditto.
18929
18930 2011-06-26 Leo Liu <sdl.web@gmail.com>
18931
18932 * register.el (registerv): New struct.
18933 (registerv-make): New function.
18934 (jump-to-register, describe-register-1, insert-register):
18935 Support the jump-func, print-func and insert-func slot of a registerv
18936 struct. (Bug#8415)
18937
18938 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
18939
18940 * vc/vc.el (vc-revert-show-diff): New defcustom.
18941 (vc-diff-internal): New arg specifying diff buffer.
18942 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
18943 reuse an existing *vc-diff* buffer (Bug#8927).
18944
18945 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
18946
18947 2011-06-26 Glenn Morris <rgm@gnu.org>
18948
18949 * progmodes/f90.el (f90-critical-indent): New option.
18950 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
18951 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
18952 (f90-mode): Doc fix.
18953 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
18954 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
18955 (f90-beginning-of-block, f90-next-block, f90-indent-region)
18956 (f90-match-end): Handle block, critical.
18957
18958 2011-06-25 Glenn Morris <rgm@gnu.org>
18959
18960 * calendar/diary-lib.el (diary-included-files): Doc fix.
18961 (diary-include-files): New function, extracted from
18962 diary-include-other-diary-files and diary-mark-included-diary-files.
18963 (diary-include-other-diary-files, diary-mark-included-diary-files):
18964 Just call diary-include-files.
18965 (diary-mark-entries): Reset diary-included-files on first call.
18966
18967 * calendar/diary-lib.el (diary-mark-entries)
18968 (diary-mark-included-diary-files):
18969 Visit included diary-files in temp buffers.
18970
18971 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
18972 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
18973 (f90-start-block-re, f90-imenu-generic-expression)
18974 (f90-looking-at-program-block-start, f90-no-block-limit):
18975 Add support for submodules.
18976
18977 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
18978 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
18979
18980 2011-06-25 Eli Zaretskii <eliz@gnu.org>
18981
18982 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
18983 buffer-file-type before setting its value, to avoid disastrous
18984 global effects on decoding files for DOS/Windows systems. (Bug#8780)
18985
18986 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
18987
18988 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
18989
18990 * ses.el (ses-unload-function):
18991 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
18992
18993 * proced.el (proced-unload-function):
18994 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
18995
18996 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
18997
18998 * server.el (server-create-window-system-frame): Add parameters arg.
18999 (server-process-filter): Doc fix. Handle frame-parameters.
19000
19001 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
19002
19003 Fix bug#8730, bug#8781.
19004
19005 * loadhist.el (unload--set-major-mode): New function.
19006 (unload-feature): Use it.
19007
19008 * progmodes/python.el (python-after-info-look): Add autoload cookie.
19009 (python-unload-function): New function.
19010
19011 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
19012
19013 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
19014
19015 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
19016
19017 * net/browse-url.el (browse-url-firefox-program): Add icecat to
19018 the candidates list.
19019
19020 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
19021
19022 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
19023
19024 2011-06-23 Richard Stallman <rms@gnu.org>
19025
19026 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
19027 (rmail-variables): Set next-error-move-function.
19028 (rmail-what-message): Take argument POS.
19029 (rmail-next-error-move): New function.
19030
19031 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
19032
19033 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
19034 messages for adjacent non-terminals.
19035
19036 2011-06-23 Richard Stallman <rms@gnu.org>
19037
19038 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
19039 (rmail-show-message-1): Preserve buffer modified flag.
19040 (rmail-start-mail): Don't specify use of rmail-mail-return;
19041 that's done by mail-bury now.
19042 (rmail-mail-return): Handle arg NEWBUF.
19043
19044 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
19045
19046 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
19047 SIZE is a number.
19048
19049 2011-06-23 Martin Rudalics <rudalics@gmx.at>
19050
19051 * window.el (get-lru-window, get-mru-window)
19052 (get-largest-window): Never return a minibuffer window.
19053 (display-buffer-pop-up-window): Fix a bug that could lead to
19054 reusing the minibuffer window.
19055 (display-buffer): Pass original specifier argument to
19056 display-buffer-function instead of the normalized one.
19057 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
19058
19059 2011-06-22 Leo Liu <sdl.web@gmail.com>
19060
19061 * minibuffer.el (completing-read-function)
19062 (completing-read-default): Move from minibuf.c.
19063
19064 2011-06-22 Richard Stallman <rms@gnu.org>
19065
19066 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
19067 to Rmail even if not started by a special Rmail command.
19068
19069 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
19070 Copy the buffer currently showing just one message.
19071
19072 2011-06-22 Roland Winkler <winkler@gnu.org>
19073
19074 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
19075 (bibtex-clean-entry): First delete the old key so that a
19076 customized algorithm for generating the new key does not get
19077 confused by the old key.
19078 (bibtex-url): Obey regexp of first step.
19079 (bibtex-search-entries): Do not use add-to-list with local
19080 list-var.
19081
19082 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
19083
19084 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
19085 stored a user name, then query for the password first, instead of
19086 waiting for SMTP to give an error message and the trying again.
19087
19088 2011-06-22 Lawrence Mitchell <wence@gmx.li>
19089
19090 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
19091 BUFFER in call-process.
19092
19093 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
19094
19095 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
19096 QUIT twice.
19097 (smtpmail-try-auth-methods): Require user name and password from
19098 auth-source.
19099
19100 2011-06-22 Martin Rudalics <rudalics@gmx.at>
19101
19102 * window.el (display-buffer-default-specifiers)
19103 (display-buffer-alist): Remove entries for pop-up-frame-alist.
19104 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
19105 (split-window): Normalize SIDE argument (Bug#8916).
19106
19107 * frame.el (pop-up-frame-alist, pop-up-frame-function)
19108 (special-display-frame-alist, special-display-popup-frame):
19109 Remove duplicate declarations. These are now in window.el.
19110
19111 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19112
19113 * mail/smtpmail.el (smtpmail-via-smtp):
19114 Set :use-starttls-if-possible so that we always use STARTTLS if the
19115 server supports it. SMTP servers that support STARTTLS commonly
19116 require it.
19117
19118 * net/network-stream.el (network-stream-open-starttls): Support
19119 upgrading to STARTTLS always, even if we don't have built-in support.
19120 (open-network-stream): Add the :always-query-capabilities keyword.
19121
19122 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
19123 upgrades with `open-network-stream', and rely solely on
19124 auth-source for all credentials. Big changes throughout the file,
19125 but in particular:
19126 (smtpmail-auth-credentials): Remove.
19127 (smtpmail-starttls-credentials): Remove.
19128 (smtpmail-via-smtp): Check for servers saying they want AUTH after
19129 MAIL FROM, too.
19130
19131 * net/network-stream.el (network-stream-open-starttls):
19132 Provide support for client certificates both for external and built-in
19133 STARTTLS.
19134 (auth-source): Require.
19135 (open-network-stream): Document the :client-certificate keyword.
19136 (network-stream-certificate): Change cert-cert to cert and
19137 cert-key to key.
19138
19139 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
19140
19141 * net/tramp-cache.el (top): Don't load the persistency file when
19142 "emacs -Q" has been called.
19143
19144 2011-06-21 Tim Harper <timcharper@gmail.com>
19145
19146 * term/ns-win.el (ns-initialize-window-system):
19147 Set application-specific `ApplePressAndHoldEnabled' system
19148 resource to NO as it is not yet supported by the NS port.
19149
19150 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
19151
19152 * misc.el (list-dynamic-libraries--refresh): Compute header here...
19153 (list-dynamic-libraries): ...not here.
19154
19155 2011-06-21 Leo Liu <sdl.web@gmail.com>
19156
19157 * subr.el (sha1): Implement sha1 using secure-hash.
19158
19159 2011-06-21 Martin Rudalics <rudalics@gmx.at>
19160
19161 * window.el (display-buffer-alist): In default value do not
19162 enforce searching a window on any but the selected frame.
19163 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
19164 (display-buffer-select-window): Remove function.
19165 (display-buffer-in-window): When a window on another frame gets
19166 reused, do not select it any more but just raise its frame if
19167 necessary (Bug#8851) and (Bug#8856).
19168 (display-buffer-normalize-options): Handle pop-up-frames related
19169 options more faithfully.
19170 (pop-to-buffer): Don't rely on `display-buffer' selecting the
19171 window if it is on another frame.
19172 (display-buffer-alist, display-buffer-default-specifiers):
19173 Don't make new frame unsplittable by default.
19174 (display-buffer-normalize-argument): Fix doc-string typo and use
19175 'same-frame-other-window instead of 'other-window when associating
19176 with display-buffer-macro-specifiers.
19177
19178 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
19179
19180 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
19181 New functions.
19182 (5x5-mode-map, 5x5-mode-menu): Bind them.
19183 (5x5-draw-grid): Tweak the solver's rendering.
19184
19185 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
19186
19187 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
19188 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
19189
19190 2011-06-21 Drew Adams <drew.adams@oracle.com>
19191
19192 * menu-bar.el: Use function variable instead of switch-to-buffer.
19193 (menu-bar-select-buffer-function): New variable.
19194 (menu-bar-update-buffers): Use it (bug#8876).
19195
19196 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
19197
19198 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
19199 variable's status.
19200
19201 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
19202
19203 * x-dnd.el (x-dnd-version-from-flags)
19204 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
19205 and long as number (Bug#8899).
19206 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
19207
19208 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
19209
19210 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
19211 (completion-try-completion, completion-all-completions): Compute the
19212 metadata argument if it's missing; make it optional (bug#8795).
19213
19214 * wid-edit.el: Use lex-bind and move towards completion-at-point.
19215 (widget-complete): Use new :completion-function property.
19216 (widget-completions-at-point): New function.
19217 (default): Use :completion-function instead of :complete.
19218 (widget-default-completions): Rename from widget-default-complete;
19219 Rewrite.
19220 (widget-string-complete, widget-file-complete, widget-color-complete):
19221 Remove functions.
19222 (file, symbol, function, variable, coding-system, color):
19223 * international/mule-cmds.el (default-input-method, charset)
19224 (language-info-custom-alist):
19225 * cus-edit.el (face): Use new property :completions.
19226
19227 * progmodes/pascal.el (pascal-completions-at-point): New function.
19228 (pascal-mode): Use it.
19229 (pascal-mode-map): Use completion-at-point.
19230 (pascal-toggle-completions): Make obsolete.
19231 (pascal-complete-word, pascal-show-completions):
19232 * progmodes/octave-mod.el (octave-complete-symbol):
19233 Redefine as obsolete alias.
19234 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
19235 Signal absence of completion info for old Octave,
19236 (inferior-octave-complete): Redefine as obsolete alias.
19237 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
19238 (meta-completions-at-point): Rename from meta-complete-symbol and
19239 adapt it for use on completion-at-point-functions.
19240 (meta-common-mode): Use it.
19241 (meta-looking-at-backward, meta-match-buffer): Remove.
19242 (meta-complete-symbol): Redefine as obsolete alias.
19243 (meta-common-mode-map): Use completion-at-point.
19244 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
19245 (makefile-mode-map): Use completion-at-point.
19246 (makefile-completions-at-point): Rename from makefile-complete and
19247 adapt it for use on completion-at-point-functions.
19248 (makefile-mode): Use it.
19249 (makefile-complete): Redefine as obsolete alias.
19250
19251 2011-06-20 Deniz Dogan <deniz@dogan.se>
19252
19253 * net/rcirc.el: Delete trailing whitespaces once and for all.
19254
19255 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
19256
19257 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
19258
19259 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
19260
19261 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
19262
19263 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
19264
19265 2011-06-19 Martin Rudalics <rudalics@gmx.at>
19266
19267 * window.el (display-buffer-other-window-means-other-frame):
19268 Call display-buffer-normalize-alist.
19269 (display-buffer-normalize-specifiers-1): Rename to
19270 display-buffer-normalize-argument. New argument other-frame.
19271 Rewrite.
19272 (display-buffer-normalize-specifiers-2): Rename to
19273 display-buffer-normalize-options.
19274 (display-buffer-normalize-alist-1): New function.
19275 (display-buffer-normalize-specifiers-3): Rename to
19276 display-buffer-normalize-alist.
19277 Call display-buffer-normalize-alist-1.
19278 (display-buffer-normalize-options-inhibit): New variable.
19279 (display-buffer-normalize-specifiers): Rewrite calling
19280 display-buffer-normalize-alist,
19281 display-buffer-normalize-argument, and
19282 display-buffer-normalize-options. Don't call the latter if
19283 display-buffer-normalize-options-inhibit is non-nil.
19284 (frame-auto-delete): New option.
19285 (window-deletable-p): Use frame-auto-delete.
19286 (window-list-no-nils, window-state-ignored-parameters)
19287 (window-state-get-1, window-state-get, window-state-put-list)
19288 (window-state-put-1, window-state-put-2, window-state-put):
19289 New functions.
19290 (display-buffer-normalize-options): Move special-display-p group
19291 after pop-up-frame group (Bug#8851) and (Bug#8856).
19292
19293 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
19294
19295 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
19296 groups (Bug#8776).
19297 (rx-submatch-n): New function.
19298 (rx): Document it.
19299
19300 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
19301 (Bug#8768).
19302
19303 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
19304
19305 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
19306
19307 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
19308 anytime existing face settings are present (Bug#8889).
19309
19310 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
19311 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
19312 Remove unused argument.
19313
19314 2011-06-18 Martin Rudalics <rudalics@gmx.at>
19315
19316 * window.el (display-buffer-default-specifiers):
19317 Remove pop-up-frame. Add pop-up-window-min-height,
19318 pop-up-window-min-width, and another reuse-window specifier
19319 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
19320 (display-buffer-normalize-specifiers-2):
19321 Handle split-height-threshold and split-width-threshold also when
19322 pop-up-windows is unset. Add a reuse-window specifier for the
19323 case popping up a new window fails.
19324 (special-display-popup-frame): Remove double quoting.
19325 (display-buffer-normalize-specifiers-1): Fix thinko.
19326
19327 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
19328
19329 * shell.el (shell-completion-vars): Set pcomplete-termination-string
19330 according to comint-completion-addsuffix.
19331
19332 * pcomplete.el: Convert to lexical binding and fix bug#8819.
19333 (pcomplete-suffix-list): Mark as obsolete.
19334 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
19335 pcomplete-seen in the closure.
19336 (pcomplete-comint-setup): Setup completion-at-point as well.
19337 (pcomplete--entries): New function.
19338 (pcomplete--env-regexp): New var.
19339 (pcomplete-entries): Rewrite to work with partial-completion and
19340 without relying on pcomplete-suffix-list.
19341 (pcomplete-pare-list): Remove, unused.
19342
19343 2011-06-17 Martin Rudalics <rudalics@gmx.at>
19344
19345 * window.el (display-buffer-alist): Set pop-up-window-min-height
19346 and pop-up-window-min-width in default value. Reported by
19347 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
19348 other-window-means-other-frame.
19349 (display-buffer-macro-specifiers): Comment out entry for
19350 other-window specifier.
19351 (display-buffer-other-window-means-other-frame): New function.
19352 (display-buffer-normalize-specifiers-1): New arguments
19353 buffer-name and label. Treat other-window case specially.
19354 (display-buffer-normalize-specifiers-2): Treat other-window case
19355 specially.
19356 (display-buffer-normalize-specifiers-3): New function.
19357 (display-buffer-normalize-specifiers):
19358 Call display-buffer-normalize-specifiers-3.
19359
19360 2011-06-17 Martin Rudalics <rudalics@gmx.at>
19361
19362 * window.el (same-window-p): Fix two typos introduced when
19363 adding with-no-warnings.
19364 (display-buffer-normalize-specifiers-1): Don't check
19365 pop-up-frames for 'unset initialization.
19366 (display-buffer-normalize-specifiers-2): Major rewrite using
19367 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
19368 (pop-up-frames, display-buffer-reuse-frames)
19369 (display-buffer-mark-dedicated): Don't initialize to 'unset.
19370 Suggested by David Engster <deng@randomsample.de>.
19371 (even-window-heights): Initialize to 'unset.
19372 (display-buffer-alist-set): Handle new 'unset initializations.
19373 (display-buffer-macro-specifiers): Don't pop up a new frame in the
19374 other window case.
19375
19376 2011-06-16 Martin Rudalics <rudalics@gmx.at>
19377
19378 * window.el (display-buffer-normalize-specifiers-1):
19379 Respect current value of pop-up-frames for most reasonable values of
19380 second argument of display-buffer (Bug#8865).
19381 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
19382 (switch-to-buffer-other-window-same-frame)
19383 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
19384 Adams (Bug#8875).
19385 (display-buffer): Don't check noninteractive when calling
19386 display-buffer-pop-up-frame.
19387 (display-buffer-pop-up-frame): Never pop up a frame in
19388 noninteractive mode (Bug#8857).
19389 (enlarge-window, shrink-window): Don't report an error when the
19390 window can't be resized as requested (Bug#8862).
19391
19392 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
19393
19394 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
19395
19396 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
19397
19398 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
19399
19400 2011-06-15 Alan Mackenzie <acm@muc.de>
19401
19402 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
19403 for declarators, disable knr checking to speed up for normal files.
19404 2: Refactor, replacing a sequence of nested if forms by a cond form.
19405
19406 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
19407
19408 * net/network-stream.el (open-network-stream): Add the keyword
19409 :always-query-capabilities for the case where you want to force a
19410 `plain' network connection, but the protocol still requires the
19411 capabilitiy command (i.e., SMTP and EHLO).
19412
19413 * subr.el (process-live-p): Rename from `process-alive-p' for
19414 consistency with other `-live-p' functions.
19415
19416 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
19417
19418 * window.el (same-window-buffer-names, same-window-regexps)
19419 (special-display-frame-alist, special-display-popup-frame)
19420 (special-display-function, special-display-buffer-names)
19421 (special-display-regexps, pop-up-frame-alist)
19422 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
19423 (pop-up-windows, split-window-preferred-function)
19424 (split-height-threshold, split-width-threshold, even-window-heights)
19425 (display-buffer-mark-dedicated): Don't encourage the use of
19426 display-buffer-alist from Elisp code.
19427
19428 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
19429
19430 * progmodes/python.el (python-mode): Derive from prog-mode.
19431 * progmodes/ps-mode.el (ps-mode):
19432 * progmodes/mixal-mode.el (mixal-mode):
19433 * progmodes/cfengine.el (cfengine-mode):
19434 * progmodes/ld-script.el (ld-script-mode): Likewise.
19435
19436 2011-06-15 Martin Rudalics <rudalics@gmx.at>
19437
19438 * window.el (display-buffer-alist): Trim default value to avoid
19439 popping up a new frame (Bug#8857) or reusing an arbitrary window
19440 on another frame.
19441 (display-buffer): Do not fall back on popping up a new frame in
19442 batch mode (Bug#8857).
19443
19444 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
19445
19446 * cus-theme.el (describe-theme-1): Use custom-theme-p.
19447 (custom-theme-summary): New function.
19448 (customize-themes): Use it.
19449
19450 2011-06-13 Glenn Morris <rgm@gnu.org>
19451
19452 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
19453
19454 2011-06-13 Martin Rudalics <rudalics@gmx.at>
19455
19456 * help.el (help-window): Remove variable.
19457 (help-window-point-marker, temp-buffer-max-height)
19458 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
19459 (help-print-return-message): Don't set help-window.
19460 (resize-temp-buffer-window): Rewrite cod eand doc-string.
19461 (help-window-setup-finish): Remove.
19462 (help-window-display-message, help-window-setup)
19463 (with-help-window): Major rewrite based on new
19464 display-buffer-window variable.
19465
19466 * help-mode.el (help-mode-finish): Remove help-window related
19467 code.
19468
19469 * view.el (view-exits-all-viewing-windows): Remove reference to
19470 view-return-to-alist in doc-string.
19471 (view-return-to-alist): Make obsolete.
19472 (view-buffer): Call pop-to-buffer-same-window and remove
19473 undo-window code.
19474 (view-buffer-other-window): Call pop-to-buffer-other-window and
19475 simplify code. Ignore second argument.
19476 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
19477 simplify code. Ignore second argument.
19478 (view-return-to-alist-update): Make obsolete.
19479 (view-mode-enter): Rename second argument to QUIT-RESTORE.
19480 Rewrite using quit-restore window parameters.
19481 (view-mode-exit): Rename second argument to EXIT-ONLY.
19482 Rewrite using quit-restore-window.
19483 (View-exit, View-exit-and-edit, View-leave, View-quit)
19484 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
19485 appropriate arguments.
19486 (view-end-message): Use quit-restore window parameter.
19487
19488 * window.el (display-buffer-function): Rewrite doc-string.
19489 (display-buffer-window, display-buffer-alist): New variables.
19490 (display-buffer-split-specifiers)
19491 (display-buffer-side-specifiers)
19492 (display-buffer-macro-specifiers): New constants.
19493 (display-buffer-even-window-sizes, display-buffer-set-height)
19494 (display-buffer-set-width, display-buffer-select-window)
19495 (display-buffer-in-window, display-buffer-reuse-window)
19496 (display-buffer-split-window-1, display-buffer-split-window)
19497 (display-buffer-split-atom-window, display-buffer-pop-up-window)
19498 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
19499 (display-buffer-in-side-window, normalize-buffer-to-display)
19500 (display-buffer-normalize-specifiers-1)
19501 (display-buffer-normalize-specifiers-2)
19502 (display-buffer-normalize-specifiers, display-buffer-frame):
19503 New functions.
19504 (display-buffer): Major rewrite.
19505 (display-buffer-other-window, display-buffer-other-frame)
19506 (pop-to-buffer, switch-to-buffer-other-window)
19507 (switch-to-buffer-other-frame): Rewrite.
19508 (display-buffer-same-window, display-buffer-same-frame)
19509 (display-buffer-same-frame-other-window)
19510 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
19511 (pop-to-buffer-other-window)
19512 (pop-to-buffer-same-frame-other-window)
19513 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
19514 (switch-to-buffer-other-window-same-frame): New functions.
19515 (same-window-p, special-display-p): Rewrite disabling warnings.
19516 Make obsolete.
19517 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
19518 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
19519 Make obsolete
19520 (same-window-buffer-names, same-window-regexps)
19521 (special-display-frame-alist, special-display-popup-frame)
19522 (special-display-function, special-display-buffer-names)
19523 (special-display-regexps, pop-up-frame-alist)
19524 (pop-up-frame-function, split-window-preferred-function)
19525 (split-height-threshold, split-width-threshold)
19526 (even-window-heights): Make obsolete.
19527
19528 2011-06-12 Glenn Morris <rgm@gnu.org>
19529
19530 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
19531 Misc simplifications.
19532
19533 2011-06-12 Martin Rudalics <rudalics@gmx.at>
19534
19535 * window.el (window-safely-shrinkable-p): Restore function which
19536 was inadvertently removed in change from 2011-06-11. Declare as
19537 obsolete.
19538
19539 * calendar/calendar.el (calendar-generate-window):
19540 Use window-iso-combined-p instead of combination of one-window-p and
19541 window-safely-shrinkable-p.
19542
19543 2011-06-12 Glenn Morris <rgm@gnu.org>
19544
19545 * progmodes/fortran.el (fortran-mode-syntax-table):
19546 * progmodes/f90.el (f90-mode-syntax-table):
19547 Set % to punctuation. (Bug#8820)
19548 (f90-find-tag-default): Remove, no longer needed.
19549
19550 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
19551
19552 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
19553
19554 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
19555
19556 * image.el (image-animated-p): Return animation delay in seconds.
19557 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
19558 (image-animate-timeout): Remove DELAY argument. Don't assume
19559 every subimage has the same delay; get it from image-animated-p.
19560 (image-animate): Caller changed.
19561
19562 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
19563
19564 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
19565 to ignored backtrace functions.
19566
19567 2011-06-11 Glenn Morris <rgm@gnu.org>
19568
19569 * calendar/appt.el (appt-disp-window-function): Doc fix.
19570 (appt-check): Handle overlapping appointments. (Bug#8337)
19571
19572 2011-06-11 Martin Rudalics <rudalics@gmx.at>
19573
19574 * window.el (window-tree-1, window-tree): New functions, moving
19575 the latter to window.el.
19576 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
19577 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
19578 (bw-refresh-edges): Remove.
19579 (balance-windows-1, balance-windows-2): New functions.
19580 (balance-windows): Rewrite in terms of window tree functions,
19581 balance-windows-1 and balance-windows-2.
19582 (bw-adjust-window): Remove.
19583 (balance-windows-area-adjust): New function with functionality of
19584 bw-adjust-window but using resize-window.
19585 (set-window-text-height): Rewrite doc-string.
19586 Use normalize-live-window and resize-window.
19587 (enlarge-window-horizontally, shrink-window-horizontally):
19588 Rename argument to DELTA.
19589 (window-buffer-height): New function.
19590 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
19591 Rewrite using new window resize routines.
19592 (kill-buffer-and-window, mouse-autoselect-window-select):
19593 Use ignore-errors instead of condition-case.
19594 (quit-window): Call delete-frame instead of delete-windows-on
19595 for the only buffer on frame.
19596
19597 2011-06-10 Martin Rudalics <rudalics@gmx.at>
19598
19599 * loadup.el (top-level): Load window before files for the sake
19600 of replace-buffer-in-windows.
19601
19602 * files.el (read-buffer-to-switch)
19603 (switch-to-buffer-other-window)
19604 (switch-to-buffer-other-frame, display-buffer-other-frame):
19605 Move to window.el.
19606
19607 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
19608 (previous-buffer): Move to window.el.
19609
19610 * bindings.el (unbury-buffer): Move to window.el.
19611
19612 * window.el (delete-other-windows-vertically): Move after
19613 definition of delete-other-windows.
19614 (other-window, delete-windows-on, replace-buffer-in-windows):
19615 Move here from window.c.
19616 (record-window-buffer, unrecord-window-buffer)
19617 (set-window-buffer-start-and-point, switch-to-prev-buffer)
19618 (switch-to-next-buffer): New functions.
19619 (get-next-valid-buffer, last-buffer, next-buffer): Move here
19620 from simple.el. Call switch-to-next-buffer.
19621 (previous-buffer): Move here from simple.el.
19622 Call switch-to-prev-buffer.
19623 (bury-buffer): Move here from buffer.c. Switch to previous
19624 buffer when window cannot be deleted.
19625 (unbury-buffer): Move here from bindings.el.
19626 (ctl-x-map): Move binding for other-window from window.c to
19627 here.
19628 (read-buffer-to-switch, switch-to-buffer-other-window)
19629 (switch-to-buffer-other-frame): Move here from files.el.
19630 (normalize-buffer-to-switch-to): New functions.
19631 (switch-to-buffer): Move here from buffer.c.
19632 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
19633
19634 2011-06-10 Martin Rudalics <rudalics@gmx.at>
19635
19636 * window.el (window-min-height, window-min-width): Move here
19637 from window.c. Add defcustoms and rewrite doc-strings.
19638 (resize-mini-window, resize-window): New functions.
19639 (adjust-window-trailing-edge, enlarge-window, shrink-window):
19640 Move here from window.c.
19641 (maximize-window, minimize-window): New functions.
19642 (delete-window, delete-other-windows, split-window): Move here
19643 from window.c.
19644 (window-split-min-size): New function.
19645 (split-window-keep-point): Mention split-window-above-each-other
19646 instead of split-window-vertically.
19647 (split-window-above-each-other, split-window-vertically):
19648 Rename split-window-vertically to split-window-above-each-other
19649 and provide defalias for old definition.
19650 (split-window-side-by-side, split-window-horizontally):
19651 Rename split-window-horizontally to split-window-side-by-side
19652 and provide defalias for the old definition.
19653 (ctl-x-map): Move bindings for delete-window,
19654 delete-other-windows and enlarge-window here from window.c.
19655 Replace bindings for split-window-vertically and
19656 split-window-horizontally by bindings for
19657 split-window-above-each-other and split-window-side-by-side.
19658
19659 * cus-start.el (all): Remove entries for window-min-height and
19660 window-min-width. Add entries for window-splits and
19661 window-nest.
19662
19663 2011-06-09 Glenn Morris <rgm@gnu.org>
19664
19665 * calendar/appt.el (appt-mode-line): New function.
19666 (appt-check, appt-disp-window): Use it.
19667
19668 * files.el (hack-one-local-variable-eval-safep):
19669 Allow minor-modes with explicit +/-1 arguments.
19670
19671 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
19672
19673 * term/xterm.el (xterm): Add defgroup.
19674 (xterm-extra-capabilities): Add defcustom to supply known xterm
19675 capabilities, skip querying them, or query them (default).
19676 (terminal-init-xterm): Use it.
19677 (terminal-init-xterm-modify-other-keys): New function to set up
19678 modifyOtherKeys support to simplify `terminal-init-xterm'.
19679
19680 2011-06-09 Martin Rudalics <rudalics@gmx.at>
19681
19682 * window.el (resize-window-reset, resize-window-reset-1)
19683 (resize-subwindows-skip-p, resize-subwindows-normal)
19684 (resize-subwindows, resize-other-windows, resize-this-window)
19685 (resize-root-window, resize-root-window-vertically)
19686 (window-deletable-p, window-or-subwindow-p)
19687 (frame-root-window-p): New functions.
19688
19689 2011-06-09 Glenn Morris <rgm@gnu.org>
19690
19691 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
19692 (ange-ftp-get-files): Use it.
19693
19694 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
19695
19696 * mail/sendmail.el (mail-recover-1, mail-recover):
19697 * files.el (recover-file, recover-session):
19698 Handle dired-listing-switches not being just a single short option.
19699
19700 2011-06-09 Glenn Morris <rgm@gnu.org>
19701
19702 * calendar/appt.el (appt-display-message, appt-disp-window):
19703 Handle lists of appointments.
19704
19705 2011-06-08 Martin Rudalics <rudalics@gmx.at>
19706
19707 * window.el (one-window-p): Move down in code.
19708 Rewrite doc-string.
19709 (window-current-scroll-bars): Rewrite doc-string.
19710 Normalize live window argument.
19711 (walk-windows, get-window-with-predicate, count-windows):
19712 Rewrite doc-string. Use window-list-1.
19713 (window-in-direction-2, window-in-direction, get-mru-window):
19714 New functions.
19715
19716 2011-06-08 Reuben Thomas <rrt@sc3d.org>
19717
19718 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
19719 Doc fix (Bug#8713).
19720
19721 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
19722
19723 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
19724
19725 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
19726
19727 * loadhist.el (unload-feature-special-hooks):
19728 Add `comint-output-filter-functions'.
19729
19730 2011-06-08 Ivan Kanis <gnu@kanis.fr>
19731
19732 * calendar/appt.el (appt-check): Move some initializations into the let.
19733
19734 2011-06-08 Martin Rudalics <rudalics@gmx.at>
19735
19736 * window.el (window-height): Defalias to window-total-height.
19737 (window-width): Defalias to window-body-width.
19738
19739 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
19740
19741 * image-mode.el (image-toggle-animation): New command.
19742 (image-mode-map): Bind it to RET.
19743 (image-mode): Update message.
19744 (image-toggle-display-image): Avoid a spurious cache flush.
19745 (image-transform-rotation): Doc fix.
19746 (image-transform-properties): Return quickly in the normal case.
19747 (image-animate-loop): Rename from image-animate-max-time.
19748
19749 * image.el (image-animate-max-time): Move to image-mode.el.
19750 (create-animated-image): Remove unnecessary function.
19751 (image-animate): Rename from image-animate-start. New arg.
19752 (image-animate-stop): Remove; just use image-animate-timer.
19753 (image-animate-timer): Use car-safe.
19754 (image-animate-timeout): Rename argument.
19755
19756 2011-06-07 Martin Rudalics <rudalics@gmx.at>
19757
19758 * window.el (get-lru-window, get-largest-window): Move here from
19759 window.c. Rename first argument to ALL-FRAMES.
19760 Rephrase doc-strings.
19761 (get-buffer-window-list): Rewrite using window-list-1.
19762 Rephrase doc-string.
19763 (window-safe-min-height, window-safe-min-width): New constants.
19764 (window-size-ignore, window-min-size, window-min-size-1)
19765 (window-sizable, window-sizable-p, window-size-fixed-1)
19766 (window-size-fixed-p, window-min-delta-1, window-min-delta)
19767 (window-max-delta-1, window-max-delta, window-resizable)
19768 (window-resizable-p, window-total-height, window-total-width)
19769 (window-body-width): New functions.
19770 (window-full-height-p, window-full-width-p): Rewrite using
19771 window-total-size.
19772 (window-body-height): Rewrite using window-body-size.
19773
19774 2011-06-06 Martin Rudalics <rudalics@gmx.at>
19775
19776 * window.el (window-right, window-left, window-child)
19777 (window-child-count, window-last-child, window-any-p)
19778 (normalize-live-buffer, normalize-live-frame)
19779 (normalize-any-window, normalize-live-window)
19780 (window-iso-combination-p, window-iso-combined-p)
19781 (window-iso-combinations)
19782 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
19783 (windows-with-parameter, window-with-parameter)
19784 (window-atom-root, make-window-atom, window-atom-check-1)
19785 (window-atom-check, window-side-check, window-check):
19786 New functions.
19787 (ignore-window-parameters, window-sides, window-sides-vertical)
19788 (window-sides-slots): New variables.
19789 (window-size-fixed): Move down in code. Minor doc-string fix.
19790
19791 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
19792
19793 * comint.el (comint-dynamic-complete-as-filename)
19794 (comint-dynamic-complete-filename): Correctly call
19795 completion-in-region.
19796
19797 2011-06-05 Deniz Dogan <deniz@dogan.se>
19798
19799 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
19800 in last change.
19801
19802 2011-06-05 Deniz Dogan <deniz@dogan.se>
19803
19804 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
19805 (rcirc): Use it to prompt for encryption.
19806
19807 2011-06-05 Roland Winkler <winkler@gnu.org>
19808
19809 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
19810 (bibtex-search-entries): New command bound to C-c C-a.
19811 (bibtex-display-entries): New function.
19812
19813 2011-06-05 Roland Winkler <winkler@gnu.org>
19814
19815 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
19816 (bibtex-insert-kill): After yanking insert newline if necessary.
19817 (bibtex-initialize): Call bibtex-string-files-init only once.
19818 (bibtex-mode): Do not call easy-menu-add.
19819 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
19820 (bibtex-yank): Set arg properly if nil.
19821
19822 2011-06-05 Roland Winkler <winkler@gnu.org>
19823
19824 * textmodes/bibtex.el (bibtex-search-entry-globally):
19825 New variable.
19826 (bibtex-search-entry): Use it.
19827
19828 2011-06-05 Roland Winkler <winkler@gnu.org>
19829
19830 * textmodes/bibtex.el (bibtex-entry-format): New option
19831 sort-fields.
19832 (bibtex-format-entry, bibtex-reformat): Honor this option.
19833 (bibtex-parse-entry): Return fields in proper order.
19834
19835 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
19836
19837 * doc-view.el (doc-view-remove-if): Move computation of result out
19838 of `dolist' to silence misleading lexical-binding warning.
19839
19840 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
19841
19842 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
19843 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
19844
19845 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
19846
19847 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
19848 "SunOS 5.10".
19849
19850 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
19851
19852 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
19853 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
19854 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
19855 (tramp-parse-putty):
19856 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
19857 (tramp-completion-function-alist-ssh)
19858 (tramp-completion-function-alist-telnet)
19859 (tramp-completion-function-alist-su)
19860 (tramp-completion-function-alist-putty): Set `tramp-autoload'
19861 cookie.
19862
19863 * net/tramp-ftp.el:
19864 * net/tramp-sh.el:
19865 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
19866 load "tramp.el" `tramp-set-completion-function'.
19867
19868 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
19869
19870 * shell.el: Require and use pcomplete.
19871 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
19872 (shell-completion-vars): Set pcomplete-default-completion-function.
19873
19874 2011-06-04 Deniz Dogan <deniz@dogan.se>
19875
19876 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
19877 `memq' (Bug#8799).
19878
19879 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
19880
19881 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
19882
19883 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
19884
19885 * bs.el (bs--mark-unmark, bs--nth-wrapper):
19886 * mpc.el (mpc-select-extend, mpc-songpointer-context):
19887 * vc/log-view.el (log-view-beginning-of-defun):
19888 * vc/smerge-mode.el (smerge-apply-resolution-patch)
19889 (smerge-refine-forward, smerge-refine-chopup-region):
19890 Silence warning for unused `dotimes' counter variables.
19891
19892 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
19893
19894 * net/tramp.el (tramp-with-progress-reporter): Rename from
19895 with-progress-reporter. Use `declare'.
19896 * net/tramp-smb.el:
19897 * net/tramp-sh.el:
19898 * net/tramp-gvfs.el: Update all uses.
19899
19900 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
19901
19902 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
19903 buffer isn't killed before making it current.
19904
19905 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
19906
19907 Silence various byte-compiler warnings.
19908 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
19909 `access-type' and new obsolescence format.
19910 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
19911 new format.
19912 (byte-compile-check-variable): New `access-type' argument.
19913 Only warn if the access-type is obsolete.
19914 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
19915 (byte-compile-variable-set): Adjust callers.
19916 * help-fns.el (describe-variable): Adjust to new obsolescence format.
19917 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
19918 setting it as obsolete.
19919 * simple.el (minibuffer-completing-symbol):
19920 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
19921 access as obsolete.
19922 * minibuffer.el (minibuffer-completing-file-name): Don't make it
19923 obsolete yet.
19924 * international/quail.el (quail-mouse-choose-completion): Remove unused
19925 code referring to obsolete var.
19926 (quail-choose-completion-string): Remove.
19927 * server.el (server-clients-with, server-kill-buffer-query-function)
19928 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
19929 * proced.el (proced-send-signal):
19930 * emacs-lisp/lisp.el (lisp-complete-symbol):
19931 Replace completion-annotate-function with completion-extra-properties.
19932
19933 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
19934
19935 * simple.el (goto-line): Use read-number.
19936 (overriding-map-is-bound): Remove.
19937 (saved-overriding-map): Change default.
19938 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
19939 Take the map as argument.
19940 (universal-argument, negative-argument, digit-argument): Use it.
19941 (restore-overriding-map): Adjust.
19942 (do-auto-fill): Use fill-forward-paragraph.
19943 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
19944
19945 * minibuffer.el (minibuffer-inactive-mode-map): New var.
19946 (minibuffer-inactive-mode): New major mode.
19947 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
19948 the *Messages* buffer" hack.
19949 (mouse-popup-menubar): Don't burp if the event is a normal key.
19950
19951 Miscellaneous tweaks.
19952 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
19953 lexical scoping as in subr.el's dolist and dotimes.
19954 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
19955 Silence compiler warning.
19956 * thingatpt.el (forward-whitespace): Trivial coding style fix.
19957 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
19958 * international/ccl.el (ccl-compile): Trivial simplification.
19959 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
19960 * emacs-lisp/testcover.el (testcover-end): Remove spurious
19961 `printflag' argument.
19962 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
19963 Purecopy the whole obsolescence data.
19964
19965 2011-06-01 Leo Liu <sdl.web@gmail.com>
19966
19967 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
19968 improve doc-string as suggested by Marco Pessotto
19969 <melmothx@gmail.com>.
19970 (rcirc-print): Fix last change.
19971
19972 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
19973
19974 * minibuffer.el (complete-with-action): Return nil for the metadata and
19975 boundaries of non-functional tables.
19976 (completion-table-dynamic): Return nil for the metadata.
19977 (completion-table-with-terminator): Add default case, using
19978 complete-with-action.
19979 (completion--metadata): New function.
19980 (completion-all-sorted-completions, minibuffer-completion-help): Use it
19981 to try and avoid pathological performance problems.
19982 (completion--embedded-envvar-table): Return `category' metadata.
19983
19984 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
19985
19986 * subr.el (process-alive-p): New tiny convenience function.
19987
19988 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
19989
19990 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
19991 content but also its previous major mode.
19992
19993 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
19994
19995 * emacs-lisp/debug.el (debug): Restore the previous content of the
19996 *Backtrace* buffer when we exit with C-M-c.
19997
19998 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
19999
20000 * minibuffer.el: Add metadata method to completion tables.
20001 (completion-category-overrides): New defcustom.
20002 (completion-metadata, completion--field-metadata)
20003 (completion-metadata-get, completion--styles)
20004 (completion--cycle-threshold): New functions.
20005 (completion-try-completion, completion-all-completions):
20006 Add `metadata' argument to choose completion-styles.
20007 (completion--do-completion): Use metadata to choose cycling.
20008 (completion-all-sorted-completions): Use metadata for sorting.
20009 Remove :completion-cycle-penalty which is not needed any more.
20010 (completion--try-word-completion): Add `metadata' argument.
20011 (minibuffer-completion-help): Check metadata for annotation function
20012 and sorting.
20013 (completion-file-name-table): Return `category' metadata.
20014 (minibuffer-completing-file-name): Make obsolete.
20015 * simple.el (minibuffer-completing-symbol): Make obsolete.
20016 * icomplete.el (icomplete-completions): Pass new `metadata' param to
20017 completion-try-completion.
20018
20019 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
20020
20021 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
20022
20023 2011-05-30 Leo Liu <sdl.web@gmail.com>
20024
20025 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
20026 (rcirc-print): Decode all incoming messages (bug#8744).
20027 (rcirc-decode-coding-system): Allow value nil for automatic coding
20028 system detection.
20029
20030 2011-06-01 Glenn Morris <rgm@gnu.org>
20031
20032 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
20033
20034 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
20035
20036 * image.el (image-animate-max-time): Allow nil and t values.
20037 Default to nil.
20038 (create-animated-image): Doc fix.
20039 (image-animate-start): Remove second arg; just use
20040 image-animate-max-time.
20041 (image-animate-timeout): Doc fix. Args changed.
20042
20043 * image-mode.el (image-toggle-display-image): Ensure that the
20044 image spec passed to the animate timer is the same object as in
20045 the buffer's display property (Bug#6981).
20046 (image-transform-properties): Doc fix.
20047
20048 * image.el (image-animate-max-time): Default to nil.
20049
20050 2011-05-29 Martin Rudalics <rudalics@gmx.at>
20051
20052 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
20053 entire buffer list (Bug#8184).
20054
20055 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
20056
20057 * image.el (imagemagick-types-inhibit)
20058 (imagemagick-register-types): Doc fix.
20059
20060 2011-05-29 Deniz Dogan <deniz@dogan.se>
20061
20062 * net/rcirc.el (rcirc): Use the user's stored encryption method by
20063 default.
20064
20065 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
20066
20067 * select.el: Don't perform clipboard-manager saving in hooks;
20068 leave the hooks empty.
20069
20070 2011-05-28 Leo Liu <sdl.web@gmail.com>
20071
20072 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
20073 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
20074 (occur-edit-mode): New major mode (Bug#8463).
20075 (occur-after-change-function): New function.
20076 (occur-engine): Give Occur tags a read-only property.
20077
20078 2011-05-28 Kevin Ryde <user42@zip.com.au>
20079
20080 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
20081
20082 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
20083
20084 * bindings.el (help-echo): Make the initial non-indicator dash
20085 empty on graphical terminals (Bug#7295).
20086
20087 * files.el (auto-mode-alist): Move config rule after the
20088 in-stripping one (Bug#8547).
20089
20090 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
20091
20092 * startup.el (normal-splash-screen): Remove gratuitous mode-line
20093 setting (Bug#8740).
20094
20095 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
20096
20097 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
20098 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
20099 (Bug#8539).
20100
20101 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
20102
20103 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
20104
20105 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
20106
20107 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
20108 (hs-hide-block-at-point, hs-find-block-beginning)
20109 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
20110 (Bug#8279).
20111
20112 2011-05-28 Glenn Morris <rgm@gnu.org>
20113
20114 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
20115
20116 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
20117
20118 * help-fns.el (describe-function-1): If the function is a derived
20119 major mode, print the parent mode.
20120
20121 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
20122 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
20123
20124 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
20125
20126 * minibuffer.el (completion--capf-wrapper): Check applicability before
20127 returning non-nil for non-exclusive completion data.
20128 * progmodes/etags.el (tags-completion-at-point-function):
20129 * info-look.el (info-lookup-completions-at-point): Mark as
20130 non-exclusive.
20131 (info-complete): Adjust accordingly.
20132
20133 * info-look.el: Convert to lexical-binding and completion-at-point.
20134 (info-lookup-completions-at-point): New function.
20135 (info-complete): Use it and completion-in-region.
20136
20137 2011-05-28 Drew Adams <drew.adams@oracle.com>
20138
20139 * isearch.el: Let M-e start with point at the first mismatched char.
20140 (isearch-fail-pos): New function.
20141 (isearch-edit-string): Use it.
20142
20143 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
20144
20145 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
20146
20147 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
20148
20149 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
20150 traversal functions for avl-trees.
20151 (avl-tree--stack): New struct.
20152 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
20153 (avl-tree-enter): Add optional `updatefun' arg.
20154 (avl-tree--do-enter): Add optional `updatefun' arg.
20155 Change return value.
20156 (avl-tree-delete): Add optional `test' and `nilflag' args.
20157 (avl-tree--do-delete): Add `test' and `nilflag' args.
20158 Change return value.
20159 (avl-tree-member): Add optional `nilflag'
20160 (avl-tree-member-p): New function.
20161 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
20162 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
20163 (avl-tree-stack-empty-p): New functions.
20164
20165 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
20166 avl-tree--del-balance1 and make it work both ways.
20167 (avl-tree--del-balance2): Remove.
20168 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
20169 make it work both ways.
20170 (avl-tree--enter-balance2): Remove.
20171 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
20172 New macros.
20173 (avl-tree--mapc, avl-tree-map): Add direction argument.
20174
20175 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
20176
20177 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
20178
20179 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
20180
20181 * select.el: Support clipboard managers with built-in function
20182 x-clipboard-manager-save, via delete-frame-functions and
20183 kill-emacs-hook.
20184 (xselect-convert-to-targets): Add MULTIPLE target to list.
20185 (xselect-convert-to-save-targets): New function.
20186
20187 2011-05-27 Kenichi Handa <handa@m17n.org>
20188
20189 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
20190 let-binding rfc2047-encode-encoded-words to nil.
20191
20192 2011-05-27 Glenn Morris <rgm@gnu.org>
20193
20194 * mail/emacsbug.el: Don't require url-util.
20195
20196 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
20197
20198 * files.el (set-auto-mode):
20199 Also respect mode: entries at the end of the file. (Bug#8586)
20200
20201 2011-05-26 Glenn Morris <rgm@gnu.org>
20202
20203 * files.el (hack-local-variables-prop-line, hack-local-variables):
20204 Downcase mode names, as seems to be traditional.
20205 (hack-local-variables, hack-local-variables-apply): Doc fixes.
20206
20207 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
20208 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
20209
20210 2011-05-25 Julien Danjou <julien@danjou.info>
20211
20212 * textmodes/rst.el (rst-define-level-faces): Do not define face
20213 symbol if it is already defined.
20214
20215 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
20216
20217 * play/5x5.el (5x5-new-game, 5x5-randomize):
20218 Reset 5x5-solver-output to nil when a new grid is cast.
20219 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
20220 these debugging traces, as defmacro breaks the compiled code.
20221
20222 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
20223
20224 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
20225
20226 2011-05-24 Leo Liu <sdl.web@gmail.com>
20227
20228 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
20229 (vc-bzr-sha1): Adapt.
20230
20231 * sha1.el: Remove. Function `sha1' is now builtin.
20232
20233 * bindings.el: Provide sha1 feature.
20234
20235 2011-05-24 Kenichi Handa <handa@m17n.org>
20236
20237 * mail/sendmail.el: Require `rfc2047'.
20238 (mail-insert-from-field): Do not perform RFC2047 encoding.
20239 (mail-encode-header): New function.
20240 (sendmail-send-it): Set buffer-file-coding-system of the work
20241 buffer to the return value of select-message-coding-system.
20242 Call mail-encode-header.
20243
20244 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
20245
20246 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
20247
20248 * mail/supercite.el (sc-default-cite-frame):
20249 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
20250
20251 2011-05-24 Glenn Morris <rgm@gnu.org>
20252
20253 * progmodes/python.el (brm-menu): Declare.
20254
20255 * emulation/viper.el (viper-set-hooks): Declare.
20256
20257 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
20258 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
20259 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
20260 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
20261 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
20262 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
20263
20264 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
20265
20266 Add an :exit-function for completion-at-point.
20267
20268 * minibuffer.el (completion--done): New fun.
20269 (completion--do-completion): Use it. New arg `expect-exact'.
20270 (minibuffer-complete, minibuffer-complete-word): Don't output message,
20271 since completion--do-completion does it for us now.
20272 (minibuffer-force-complete): Use completion--done and
20273 completion--replace. Handle sole-completion case with more care.
20274 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
20275 (completion-extra-properties): New var.
20276 (completion-annotate-function): Make obsolete.
20277 (minibuffer-completion-help): Adjust accordingly.
20278 Use completion-list-insert-choice-function.
20279 (completion-at-point, completion-help-at-point):
20280 Bind completion-extra-properties.
20281 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
20282 * simple.el (completion-list-insert-choice-function): New var.
20283 (completion-setup-function): Preserve it.
20284 (choose-completion): Pay attention to it, shuffle the code a bit.
20285 (choose-completion-string): New arg `insert-function'.
20286
20287 * textmodes/bibtex.el: Convert to lexical binding.
20288 (bibtex-mode-map): Use completion-at-point.
20289 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
20290 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
20291 (bibtex-complete): Define as obsolete alias.
20292 (bibtex-complete-internal): Remove.
20293 (bibtex-format-entry): Remove unused sub-group in regexp.
20294 * shell.el (shell--command-completion-data)
20295 (shell-environment-variable-completion):
20296 * pcomplete.el (pcomplete-completions-at-point):
20297 * comint.el (comint--complete-file-name-data): Use :exit-function
20298 instead of completion-table-with-terminator so it also works for
20299 choose-completion.
20300
20301 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
20302
20303 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
20304
20305 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
20306 (bug#8710).
20307
20308 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
20309
20310 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
20311
20312 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
20313 customization variable and implement: If non-nil, auto-fill will
20314 be inhibited while on topic's header line.
20315
20316 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
20317
20318 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
20319 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
20320 always have a solution in grid size = 5 cases.
20321 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
20322 (5x5-solver-output, 5x5-log-buffer): New vars.
20323 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
20324 Make these variables buffer local to achieve 5x5 multi-session-ness.
20325 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
20326 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
20327 (5x5-solve-suggest): New funs.
20328 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
20329 randomize a grid so that we ensure that there is always a solution.
20330 (5x5-make-random-grid): Allow other movement than flipping.
20331
20332 2011-05-23 Kevin Ryde <user42@zip.com.au>
20333
20334 * emacs-lisp/advice.el (ad-read-advised-function):
20335 Use `function-called-at-point' as the default, if it has
20336 advice and passes PREDICATE.
20337
20338 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
20339
20340 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
20341 byte-compile-lambda if it's actually a lambda.
20342
20343 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
20344 Fix function quoting. Use backquote better.
20345
20346 2011-05-22 Yuanle Song <sylecn@gmail.com>
20347
20348 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
20349 matching (Bug#8516).
20350
20351 2011-01-22 Jari Aalto <jari.aalto@cante.net>
20352
20353 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
20354 different face (Bug#8178).
20355
20356 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
20357
20358 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
20359 defface (Bug#8144).
20360
20361 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
20362
20363 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
20364 funcall as well (bug#8712). Warn when performing those conversions.
20365 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
20366
20367 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
20368
20369 2011-05-22 Glenn Morris <rgm@gnu.org>
20370
20371 * files.el (hack-local-variables-prop-line): Small simplifications.
20372 (hack-local-variables, hack-local-variables-prop-line):
20373 If MODE-ONLY, return the mode, rather than just `t'.
20374
20375 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
20376
20377 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
20378
20379 2011-05-21 Glenn Morris <rgm@gnu.org>
20380
20381 * files.el (hack-local-variables-prop-line, hack-local-variables):
20382 If only interested in the mode, don't bother doing the other stuff.
20383
20384 * image-mode.el (image-after-revert-hook):
20385 Redraw all frames on which the image is visible. (Bug#8567)
20386
20387 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
20388
20389 * wid-edit.el (widget-checklist-match-inline):
20390 Fix 2011-04-19 change. (Bug#8649)
20391
20392 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
20393
20394 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
20395 Also allow singlespace after single-letter capitals followed by a dot.
20396
20397 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
20398 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
20399
20400 2011-05-20 Nix <nix@esperi.org.uk>
20401
20402 * files.el (basic-save-buffer-2):
20403 Fix handling of break-hardlink-on-save with non-existent files.
20404
20405 2011-05-19 Deniz Dogan <deniz@dogan.se>
20406
20407 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
20408 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
20409
20410 2011-05-19 Glenn Morris <rgm@gnu.org>
20411
20412 * progmodes/f90.el (f90-type-def-re):
20413 Handle "type, bind(c)". (Bug#8691)
20414
20415 * emacs-lisp/autoload.el (batch-update-autoloads):
20416 Set autoload-excludes by parsing loadup.el rather than Makefiles.
20417
20418 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
20419
20420 * net/tramp.el (tramp-process-actions): Set "first-password-request"
20421 property for the correct connection in case of multihops.
20422
20423 2011-05-18 Glenn Morris <rgm@gnu.org>
20424
20425 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
20426 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
20427
20428 Rationalize calendar handling of day and month abbrev-arrays.
20429 * calendar/calendar.el (calendar-customized-p): New function.
20430 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
20431 (calendar-day-name-array, calendar-month-name-array): Doc fix.
20432 Add :set function.
20433 (calendar-abbrev-length, calendar-day-abbrev-array)
20434 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
20435 (calendar-day-abbrev-array, calendar-month-abbrev-array):
20436 Elements may no longer be nil.
20437 (calendar-day-name, calendar-month-name):
20438 Update for changed nature of abbrev arrays.
20439 * calendar/diary-lib.el (diary-name-pattern):
20440 Update for changed nature of abbrev arrays.
20441 (diary-mark-entries-1): Update calendar-make-alist calls.
20442 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
20443 * calendar/cal-html.el (cal-html-day-abbrev-array):
20444 Simply inherit from calendar-day-abbrev-array.
20445
20446 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
20447
20448 * progmodes/grep.el (grep-mode): Disable default
20449 compilation-directory-matcher setting (bug#8684).
20450
20451 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
20452
20453 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
20454 instead of "head" and "tail". There were problems with SunOS 5.9,
20455 and it performs better.
20456
20457 2011-05-17 Glenn Morris <rgm@gnu.org>
20458
20459 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
20460
20461 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
20462 Replace obsolete function.
20463
20464 * shell.el (pcomplete-parse-arguments-function): Declare.
20465
20466 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
20467 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
20468 (appt-check): Doc fixes.
20469 (appt-disp-window-function, appt-delete-window-function):
20470 Remove needless special case in custom :type.
20471 (appt-display-count): Default to 0, not nil.
20472 (appt-check): Reset appt-display-count to 0, not nil.
20473
20474 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
20475
20476 * progmodes/python.el (python-font-lock-keywords):
20477 Add the Python 3.X keyword "nonlocal" (bug#8639).
20478
20479 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
20480
20481 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
20482
20483 2011-05-16 Kevin Ryde <user42@zip.com.au>
20484
20485 * info-look.el (makefile-automake-mode): New setups, looking in
20486 automake manual, then makefile-mode.
20487 (makefile-mode): Remove automake manual, have it just in
20488 makefile-automake-mode since there's various things different or
20489 not relevant to plain make.
20490 (makefile-mode): Remove "other-modes" non-existent automake-mode,
20491 believe a hypothetical automake-mode would go to makefile-mode,
20492 not the other way around.
20493
20494 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
20495
20496 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
20497 hunk-end tags (Bug#8672).
20498
20499 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
20500 vc-annotate-show-diff-revision-at-line (Bug#8671).
20501
20502 2011-05-14 Glenn Morris <rgm@gnu.org>
20503
20504 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
20505 in the middle of an existing one with multiple authors. (Bug#8645)
20506 (change-log-font-lock-keywords): Also handle multiple author lines
20507 with leading tabs. (Bug#8644)
20508
20509 * calendar/appt.el (appt-check): Rename some local variables.
20510 Some simplification/reordering.
20511
20512 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
20513 (feedmail-sendmail-f-doesnt-sell-me-out)
20514 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
20515 (feedmail-debug-sit-for, feedmail-queue-express-hook)
20516 (feedmail-queue-runner-message-sender): Set :version.
20517 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
20518 (bbdb-dwim-net-address, vm-mail): Declare.
20519 (feedmail-binmail-gnulinuxish-template):
20520 Rename from feedmail-binmail-linuxish-template.
20521 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
20522 Use insert-buffer-substring.
20523
20524 2011-05-14 Bill Carpenter <bill@carpenter.org>
20525
20526 * mail/feedmail.el (feedmail-patch-level): Increase.
20527 (feedmail-debug): New custom group.
20528 (feedmail-confirm-outgoing-timeout)
20529 (feedmail-sendmail-f-doesnt-sell-me-out)
20530 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
20531 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
20532 (feedmail-sender-line, feedmail-from-line)
20533 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
20534 (feedmail-spray-this-address)
20535 (feedmail-spray-address-fiddle-plex-list)
20536 (feedmail-queue-use-send-time-for-date)
20537 (feedmail-queue-use-send-time-for-message-id)
20538 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
20539 (feedmail-buffer-eating-function):
20540 Doc fixes.
20541 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
20542 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
20543 (feedmail-message-action-scroll-down): New functions.
20544 (feedmail-queue-directory, feedmail-queue-draft-directory):
20545 Use expand-file-name.
20546 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
20547 Remove C-v help entry.
20548 (feedmail-queue-buffer-file-name): New variable.
20549 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
20550 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
20551 (feedmail-message-action-send-strong, feedmail-message-action-edit)
20552 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
20553 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
20554 (feedmail-message-action-toggle-spray)
20555 (feedmail-run-the-queue-no-prompts)
20556 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
20557 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
20558 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
20559 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
20560 (feedmail-envelope-deducer, feedmail-fiddle-from)
20561 (feedmail-fiddle-sender, feedmail-default-date-generator)
20562 (feedmail-fiddle-date, feedmail-fiddle-message-id)
20563 (feedmail-fiddle-spray-address)
20564 (feedmail-fiddle-list-of-spray-fiddle-plexes)
20565 (feedmail-fiddle-list-of-fiddle-plexes)
20566 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
20567 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
20568 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
20569 Change default. Doc fix.
20570 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
20571 (feedmail-binmail-linuxish-template): New constant.
20572 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
20573 Respect feedmail-sendmail-f-doesnt-sell-me-out.
20574 (feedmail-send-it): Add debug call.
20575 Use feedmail-queue-buffer-file-name, and
20576 feedmail-send-it-immediately-wrapper.
20577 (feedmail-message-action-send): Add debug call.
20578 Use feedmail-send-it-immediately-wrapper.
20579 (feedmail-queue-express-to-queue): Add debug call.
20580 Run feedmail-queue-express-hook.
20581 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
20582 (feedmail-message-action-help-blat):
20583 Rename from feedmail-queue-send-edit-prompt-help-first.
20584 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
20585 Check line-endings. Handle errors better.
20586 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
20587 Doc fix. Add debug call.
20588 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
20589 Use feedmail-queue-send-edit-prompt-inner.
20590 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
20591 (feedmail-queue-send-edit-prompt-inner): New function, extracted
20592 from feedmail-queue-send-edit-prompt.
20593 (feedmail-queue-send-edit-prompt-help)
20594 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
20595 (feedmail-tidy-up-slug): Add debug call.
20596 Respect feedmail-queue-slug-suspect-regexp.
20597 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
20598 (feedmail-dump-message-to-queue): Add debug call.
20599 Expand queue-directory.
20600 (feedmail-dump-message-to-queue): Change message slightly.
20601 Use feedmail-say-chatter.
20602 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
20603 (feedmail-send-it-immediately-wrapper): New function.
20604 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
20605 Insert empty string rather than newline. Handle full-frame case.
20606 Use catch/throw. Use feedmail-say-chatter.
20607 (feedmail-fiddle-from): Try mail-host-address.
20608 (feedmail-default-message-id-generator): Doc fix.
20609 Bind system-time-locale. Handle missing end.
20610 (feedmail-fiddle-x-mailer): Add debug call.
20611 Handle feedmail-x-mailer-line being nil.
20612 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
20613 Add debug call. Use buffer-substring-no-properties.
20614 (feedmail-say-debug, feedmail-say-chatter): New functions.
20615 (feedmail-find-eoh): Give an explicit error.
20616
20617 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
20618
20619 * net/newst-treeview.el (newsticker-treeview-face): Change default
20620 family from helvetica to sans.
20621 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
20622 etc/images/newsticker.
20623
20624 * net/newst-reader.el (newsticker-feed-face): Change default
20625 family from helvetica to sans.
20626
20627 * net/newst-plainview.el (newsticker-new-item-face)
20628 (newsticker-old-item-face, newsticker-immortal-item-face)
20629 (newsticker-obsolete-item-face, newsticker-date-face)
20630 (newsticker-statistics-face): Change default family from
20631 helvetica to sans.
20632 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
20633 etc/images/newsticker.
20634
20635 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
20636 (newsticker--process-auto-mark-filter-match): Tell user about
20637 auto-marking.
20638
20639 2011-05-13 Didier Verna <didier@xemacs.org>
20640
20641 Common Lisp indentation improvements on defmethod and lambda-lists.
20642 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
20643 TODO entries.
20644 (lisp-lambda-list-keyword-parameter-indentation)
20645 (lisp-lambda-list-keyword-parameter-alignment)
20646 (lisp-lambda-list-keyword-alignment): New customizable user options.
20647 (lisp-indent-defun-method): Improve docstring.
20648 (extended-loop-p): Fix comment.
20649 (lisp-indent-lambda-list-keywords-regexp): New variable.
20650 (lisp-indent-lambda-list): New function.
20651 (lisp-indent-259): Use it.
20652 (lisp-indent-defmethod): Support for more than one
20653 method qualifier and properly indent methods lambda-lists.
20654 (defgeneric): Provide a missing common-lisp-indent-function property.
20655
20656 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
20657
20658 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
20659 bounds for the empty string (bug#8667).
20660
20661 2011-05-13 Glenn Morris <rgm@gnu.org>
20662
20663 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
20664
20665 * mail/sendmail.el (sendmail-program): Try executable-find first.
20666 (sendmail-send-it): `sendmail-program' cannot be unbound.
20667
20668 * calendar/appt.el (appt-make-list): Simplify.
20669 (appt-time-msg-list): Doc fix.
20670 (appt-check): Change mode-line message at the time of the appointment.
20671
20672 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
20673
20674 * progmodes/ld-script.el (ld-script-keywords)
20675 (ld-script-builtins): Update keywords list.
20676
20677 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
20678
20679 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
20680
20681 * shell.el (shell-completion-vars): New function.
20682 (shell-mode):
20683 * simple.el (read-shell-command): Use it.
20684 (blink-matching-open): No need for " [...]" in minibuffer-message.
20685
20686 2011-05-12 Glenn Morris <rgm@gnu.org>
20687
20688 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
20689 (appt-check): Simplify.
20690
20691 2011-05-12 Eli Zaretskii <eliz@gnu.org>
20692
20693 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
20694 literal "/dev/null".
20695
20696 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
20697
20698 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
20699 Fix typo.
20700
20701 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
20702
20703 * progmodes/which-func.el (which-function):
20704 Use add-log-current-defun instead of add-log-current-defun-function,
20705 which might not be defined (Bug#8260).
20706
20707 2011-05-12 Glenn Morris <rgm@gnu.org>
20708
20709 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
20710 Let byte-compile-initial-macro-environment always take precedence.
20711
20712 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
20713
20714 * net/rcirc.el: Add support for SSL/TLS connections.
20715 (rcirc-server-alist): New field `encryption'.
20716 (rcirc): Check `encryption' settings.
20717 (rcirc-connect): New arg `encryption'. Use open-network-stream.
20718 Merge make-local-variable into `set'.
20719 (rcirc--connection-open-p): New function.
20720 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
20721 the process is not a network process (e.g. running gnutls-cli).
20722 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
20723 Make rcirc-(en|de)code-coding-system local here.
20724 (rcirc-mode): Merge make-local-variable into `set'.
20725 (rcirc-parent-buffer): Make permanent buffer-local.
20726 (rcirc-multiline-minor-mode): Don't do it here.
20727 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
20728 there's no server buffer.
20729
20730 2011-05-11 Glenn Morris <rgm@gnu.org>
20731
20732 * newcomment.el (comment-kill): Prefix "unused" local.
20733
20734 * term/w32console.el (get-screen-color): Declare.
20735
20736 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
20737 Handle symbol elements of byte-compile-initial-macro-environment.
20738
20739 2011-05-10 Leo Liu <sdl.web@gmail.com>
20740
20741 * bookmark.el (bookmark-bmenu-mode-map):
20742 Bind bookmark-bmenu-search to `/'.
20743
20744 * mail/footnote.el: Convert to utf-8 encoding.
20745 (footnote-unicode-string, footnote-unicode-regexp): New variable.
20746 (Footnote-unicode): New function.
20747 (footnote-style-alist): Add unicode style to the list.
20748 (footnote-style): Doc fix.
20749
20750 2011-05-10 Jim Meyering <meyering@redhat.com>
20751
20752 Fix doubled-word typos.
20753 * international/quail.el (quail-insert-kbd-layout): and and -> and
20754 * kermit.el: and and -> and
20755 * net/ldap.el (ldap-search-internal): to to -> to
20756 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
20757 * progmodes/js.el (js-mode): and and -> and
20758 * textmodes/artist.el (artist-move-to-xy): at at -> at
20759 (artist-draw-region-trim-line-endings): if if -> if
20760 And Safetyc -> Safety.
20761 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
20762
20763 2011-05-10 Glenn Morris <rgm@gnu.org>
20764 Stefan Monnier <monnier@iro.umontreal.ca>
20765
20766 * files.el (hack-one-local-variable-eval-safep):
20767 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
20768
20769 2011-05-10 Glenn Morris <rgm@gnu.org>
20770
20771 * calendar/diary-lib.el (diary-list-entries-hook)
20772 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
20773 (diary-nongregorian-marking-hook, diary-list-entries)
20774 (diary-include-other-diary-files, diary-mark-entries)
20775 (diary-mark-included-diary-files): Doc fixes.
20776
20777 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
20778
20779 * misc.el: Require tabulated-list.el during compilation.
20780
20781 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
20782
20783 * progmodes/compile.el (compilation-start):
20784 Run compilation-filter-hook for the async case too.
20785 (compilation-filter-hook): Doc fix.
20786
20787 2011-05-09 Deniz Dogan <deniz@dogan.se>
20788
20789 * wdired.el: Remove outdated installation comment. Fix usage
20790 comment.
20791
20792 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
20793
20794 * misc.el: Implement new command `list-dynamic-libraries'.
20795 (list-dynamic-libraries--loaded-only-p): New variable.
20796 (list-dynamic-libraries--refresh): New function.
20797 (list-dynamic-libraries): New command.
20798
20799 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
20800
20801 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20802 Fix the ant regexp to handle end-line and end-column info from jikes.
20803 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
20804 higher priority to avoid clobbering by gnu.
20805
20806 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
20807
20808 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
20809 if the face has existing theme settings (Bug#8454).
20810
20811 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
20812
20813 * progmodes/perl-mode.el (perl-imenu-generic-expression):
20814 Only match variables declared via `my' or `our' (Bug#8261).
20815
20816 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
20817 special file names `.' and `..' (Bug#8259).
20818
20819 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
20820
20821 * progmodes/grep.el (grep-mode-font-lock-keywords):
20822 Remove buffer-changing entries.
20823 (grep-filter): New function.
20824 (grep-mode): Add it to compilation-filter-hook.
20825
20826 * progmodes/compile.el (compilation-filter-hook)
20827 (compilation-filter-start): New defvars.
20828 (compilation-filter): Call compilation-filter-hook prior to
20829 updating the process mark.
20830
20831 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
20832
20833 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
20834
20835 2011-05-07 Eli Zaretskii <eliz@gnu.org>
20836
20837 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
20838 mailclient-send-it even if window-system is nil. (Bug#8595)
20839
20840 * term/w32console.el (terminal-init-w32console):
20841 Call get-screen-color and use its output to set the frame
20842 background-mode. (Bug#8597)
20843
20844 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
20845
20846 Make bytecomp.el understand that defmethod defines funs (bug#8631).
20847 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
20848 New functions.
20849 (defgeneric, eieio--defmethod): Use them.
20850 (eieio-defgeneric): Remove.
20851 (defmethod): Call defgeneric in a way visible to the byte-compiler.
20852
20853 2011-05-07 Glenn Morris <rgm@gnu.org>
20854
20855 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
20856 Use let rather than let*.
20857 (timeclock-find-discrep): Remove unused local.
20858
20859 * calendar/diary-lib.el (diary-comment-start): Doc fix.
20860
20861 * calendar/appt.el (appt-time-msg-list): Doc fix.
20862
20863 2011-05-06 Noah Friedman <friedman@splode.com>
20864
20865 * apropos.el (apropos-print-doc): Only use
20866 emacs-lisp-docstring-fill-column when it is bound to an integer,
20867 per that variable's documentation.
20868
20869 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
20870
20871 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
20872 and warnings are not silently discarded (e.g. use -d instead of -P).
20873
20874 2011-05-06 Glenn Morris <rgm@gnu.org>
20875
20876 * calendar/appt.el (appt-message-warning-time): Doc fix.
20877 (appt-warning-time-regexp): New option.
20878 (appt-make-list): Respect appt-message-warning-time.
20879
20880 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
20881 New options.
20882 (diary-add-to-list): Strip comments from the displayed string.
20883 (diary-mode): Set comment-start and comment-end.
20884
20885 * vc/diff-mode.el (smerge-refine-subst): Declare.
20886 (diff-refine-hunk): Don't require smerge-mode when compiling.
20887
20888 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
20889
20890 * simple.el (list-processes): Return nil as the docstring says.
20891
20892 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
20893
20894 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
20895 to "".
20896 (ange-ftp-write-region, ange-ftp-insert-file-contents)
20897 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
20898 determining of binary transfer. (Bug#7383)
20899
20900 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
20901
20902 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20903 Fix port computation bug. (Bug#8618)
20904
20905 2011-05-05 Glenn Morris <rgm@gnu.org>
20906
20907 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
20908
20909 * simple.el (shell-dynamic-complete-functions)
20910 (comint-dynamic-complete-functions): Declare.
20911
20912 * net/network-stream.el (gnutls-negotiate):
20913 * simple.el (tabulated-list-print): Fix declarations.
20914
20915 * progmodes/gud.el (syntax-symbol, syntax-point):
20916 Remove unnecessary and incorrect declarations.
20917
20918 * emacs-lisp/check-declare.el (check-declare-scan):
20919 Handle byte-compile-initial-macro-environment in bytecomp.el.
20920
20921 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
20922
20923 Fix earlier half-done eieio-defmethod change (bug#8338).
20924 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
20925 Streamline and change calling convention.
20926 (defmethod): Adjust accordingly and simplify.
20927 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
20928 new eieio--defmethod.
20929 (slot-boundp): Minor CSE simplification.
20930
20931 2011-05-05 Milan Zamazal <pdm@zamazal.org>
20932
20933 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
20934 (glasses-make-readable): Use glasses-separate-capital-groups.
20935
20936 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
20937
20938 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
20939 (warning-series): Doc fix.
20940 (display-warning): Don't try to create the buffer if we just found it.
20941
20942 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
20943
20944 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
20945 (autoload-find-generated-file): New function.
20946 (generate-file-autoloads): Bind generated-autoload-file to
20947 buffer-file-name.
20948 (update-file-autoloads, update-directory-autoloads):
20949 Use autoload-find-generated-file. If called interactively, prompt for
20950 output file (Bug#7989).
20951 (batch-update-autoloads): Doc fix.
20952
20953 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
20954
20955 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
20956
20957 2011-05-04 Glenn Morris <rgm@gnu.org>
20958
20959 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
20960 function, so it follows changes in calendar-date-style.
20961 (diary-fancy-date-matcher): New function.
20962 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
20963 (diary-fancy-font-lock-fontify-region-function):
20964 Use diary-fancy-date-pattern as a function.
20965
20966 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
20967 non-numbers for `year' etc pseudo-variables. (Bug#8583)
20968
20969 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
20970
20971 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
20972 instead of positional arguments. Allow :keylist and :crlfiles
20973 arguments.
20974 (open-gnutls-stream): Call it.
20975
20976 * net/network-stream.el (network-stream-open-starttls): Adjust to
20977 call `gnutls-negotiate' with :process and :hostname arguments.
20978
20979 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
20980
20981 * minibuffer.el (completion--message): New function.
20982 (completion--do-completion, minibuffer-complete)
20983 (minibuffer-force-complete, minibuffer-complete-word): Use it.
20984 (completion--do-completion): Don't ignore completion-auto-help when in
20985 icomplete-mode.
20986
20987 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
20988 internal encoding (e.g. tibetan zero is not whitespace).
20989 (global-whitespace-mode): Prefer save-current-buffer.
20990 (whitespace-trailing-regexp): Remove useless save-match-data.
20991 (whitespace-empty-at-bob-regexp): Minor simplification.
20992
20993 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
20994
20995 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
20996
20997 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
20998
20999 * textmodes/ispell.el (ispell-add-per-file-word-list):
21000 Use `concat' to create string for insertion.
21001
21002 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
21003
21004 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
21005 Avoid open-line which runs post-self-insert-hook.
21006 (bibtex-fill-entry): Remove unused `end' var.
21007
21008 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
21009
21010 * textmodes/ispell.el (ispell-add-per-file-word-list):
21011 Protect against `nil' value of `comment-start' (Bug#8579).
21012
21013 2011-05-03 Leo Liu <sdl.web@gmail.com>
21014
21015 * isearch.el (isearch-yank-pop): New command.
21016 (isearch-mode-map): Bind it to `M-y'.
21017 (isearch-forward): Mention it.
21018
21019 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
21020
21021 * simple.el (minibuffer-complete-shell-command): Remove.
21022 (minibuffer-local-shell-command-map): Use completion-at-point.
21023 (read-shell-command): Setup completion vars here instead.
21024 (read-expression-map): Bind TAB to symbol completion.
21025
21026 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
21027 error directly rather via storing it into `results'.
21028
21029 2011-05-02 Leo Liu <sdl.web@gmail.com>
21030
21031 * vc/diff.el: Fix description.
21032
21033 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21034
21035 * server.el (server-eval-at): New function.
21036
21037 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
21038
21039 * net/network-stream.el (open-network-stream): Take a :nowait
21040 parameter and pass it on to `make-network-process'.
21041 (network-stream-open-plain): Ditto.
21042
21043 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
21044
21045 * faces.el (face-spec-set-match-display): Don't match toolkit
21046 options on terminal frames.
21047
21048 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
21049
21050 * progmodes/pascal.el: Use lexical binding.
21051 (pascal-mode-map): Remove author preferences.
21052
21053 * pcomplete.el (pcomplete-std-complete): Don't abuse
21054 completion-at-point.
21055
21056 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
21057
21058 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
21059 removing code that has been dead since 1991 or so.
21060
21061 * startup.el (command-line): When warning about "_emacs", use a
21062 delayed warning to allow the user to filter it out.
21063
21064 2011-04-28 Deniz Dogan <deniz@dogan.se>
21065
21066 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
21067 user has not joined.
21068
21069 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
21070
21071 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
21072 aren't any completions at point.
21073
21074 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
21075
21076 * subr.el (display-delayed-warnings): New function.
21077 (delayed-warnings-hook): New variable.
21078
21079 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
21080
21081 * minibuffer.el (completion-at-point, completion-help-at-point):
21082 Don't presume that a given completion-at-point-function will always
21083 use the same calling convention.
21084
21085 * pcomplete.el (pcomplete-completions-at-point):
21086 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
21087 pcomplete-seen is non-nil.
21088 (pcomplete-comint-setup): Also recognize the new comint/shell
21089 completion functions.
21090 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
21091 pcomplete-seen is non-nil.
21092
21093 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
21094
21095 * calendar/icalendar.el (diary-lib): Add require statement.
21096 (icalendar--create-uid): Read out a uid from a text-property on
21097 the first character in the entry. This allows for code to add its
21098 own uid to the entry.
21099 (icalendar--convert-float-to-ical): Add export of
21100 `diary-float'-entries save for those with the optional DAY
21101 argument.
21102
21103 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
21104
21105 * subr.el (shell-quote-argument): Use alternate escaping strategy
21106 when we spot a variable reference in a string.
21107
21108 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
21109
21110 * cus-start.el (all): Define customization for debug-on-event.
21111
21112 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
21113
21114 * subr.el (shell-quote-argument): Escape correctly under Windows.
21115
21116 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
21117
21118 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
21119
21120 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
21121
21122 * net/tramp.el (tramp-process-actions): Add POS argument.
21123 Delete region between POS and (pos).
21124
21125 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
21126 Use `nil' position in `tramp-process-actions' call.
21127 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
21128
21129 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
21130 position in `tramp-process-actions' call.
21131
21132 * net/trampver.el: Update release number.
21133
21134 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
21135
21136 * custom.el (defcustom): Obey lexical-binding.
21137
21138 Fix octave-inf completion problems reported by Alexander Klimov.
21139 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
21140 Inherit from octave-mode-syntax-table.
21141 (inferior-octave-mode): Set info-lookup-mode.
21142 (inferior-octave-completion-at-point): New function.
21143 (inferior-octave-complete): Use it and completion-in-region.
21144 (inferior-octave-dynamic-complete-functions): Use it as well, and use
21145 comint-filename-completion.
21146 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
21147 symbol elements which shouldn't be word elements.
21148 (octave-font-lock-keywords, octave-beginning-of-defun)
21149 (octave-function-header-regexp): Adjust regexps accordingly.
21150 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
21151
21152 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
21153
21154 * net/gnutls.el (gnutls-errorp): Declare before first use.
21155
21156 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
21157
21158 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
21159 verify-error, and verify-hostname-error parameters. Check whether
21160 default trustfile exists before going to use it. Add missing
21161 argument to gnutls-message-maybe call. Return value.
21162 Reported by Claudio Bley <claudio.bley@gmail.com>.
21163 (open-gnutls-stream): Add usage example.
21164
21165 * net/network-stream.el (network-stream-open-starttls): Give host
21166 parameter to `gnutls-negotiate'.
21167 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
21168 * subr.el (shell-quote-argument): Escape correctly under Windows.
21169
21170 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
21171
21172 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
21173 Use correct match group (bug#8438).
21174
21175 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
21176
21177 * emacs-lisp/package.el (package-built-in-p): Fix typo.
21178 (package-menu--generate): New arg specifying packages to show.
21179 (package-menu-refresh, package-menu-execute, list-packages):
21180 Callers changed.
21181 (package-show-package-list): New function, replacing deleted
21182 package--list-packages (renamed because it is non-internal).
21183
21184 * finder.el (finder-list-matches): Use package-show-package-list
21185 instead of deleted package--list-packages.
21186
21187 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
21188 Based on a previous implementation by Juanma Barranquero (Bug#8366).
21189 (vc-annotate-mode-map): Bind it to RET.
21190
21191 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
21192
21193 * progmodes/etags.el (next-file): Don't use set-buffer to change
21194 buffers (Bug#8478).
21195
21196 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
21197
21198 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
21199
21200 * apropos.el (apropos-label-face): Avoid variable-pitch face.
21201 (apropos-accumulator): Doc fix.
21202 (apropos-function, apropos-macro, apropos-command)
21203 (apropos-variable, apropos-face, apropos-group, apropos-widget)
21204 (apropos-plist): Add face property.
21205 (apropos-symbols-internal): Fix indentation.
21206 (apropos-print): Simplify help, and recognize apropos-multi-type.
21207 (apropos-print-doc): Use button-type-get to extract the button's
21208 face property. Fill docstring (Bug#8352).
21209
21210 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
21211
21212 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
21213
21214 * play/mpuz.el (mpuz-silent): Doc fix.
21215 (mpuz-mode-map): Use mapc.
21216 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
21217 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
21218 Fix typos in docstrings.
21219
21220 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
21221 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
21222
21223 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
21224
21225 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
21226
21227 * minibuffer.el (completion--do-completion): Avoid the "Next char
21228 not unique" prompt if icomplete-mode is enabled (Bug#5849).
21229
21230 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
21231 mouse-2 into unread-command-events, it is interpreted correctly.
21232
21233 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
21234 (image-toggle-display): Doc fix.
21235
21236 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
21237
21238 * textmodes/page.el (what-page): Use line-number-at-pos to
21239 calculate line number (Bug#6825).
21240
21241 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
21242
21243 * eshell/esh-mode.el (find-tag-interactive): Declare function.
21244 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
21245 Pass argument NO-DEFAULT to `find-tag-interactive'.
21246
21247 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
21248
21249 Lexical-binding cleanup.
21250
21251 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
21252 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
21253 * progmodes/ada-prj.el (ada-prj-initialize-values)
21254 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
21255 (ada-prj-show-value):
21256 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
21257 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
21258 (antlr-invalidate-context-cache, antlr-options-menu-filter)
21259 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
21260 * progmodes/bug-reference.el (bug-reference-push-button):
21261 * progmodes/fortran.el (fortran-line-length):
21262 * progmodes/glasses.el (glasses-change):
21263 * progmodes/octave-mod.el (octave-fill-paragraph):
21264 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
21265 (python-pdbtrack-grub-for-buffer, python-sentinel):
21266 * progmodes/sql.el (sql-save-connection):
21267 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
21268 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
21269 Mark unused parameters.
21270
21271 * progmodes/compile.el (compilation--flush-directory-cache)
21272 (compilation--flush-parse, compile-internal): Mark unused parameters.
21273 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
21274 (compilation-next-error-function): Remove unused variable `timestamp'.
21275
21276 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
21277 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
21278
21279 * progmodes/dcl-mode.el (dcl-end-of-command):
21280 Remove unused variable `start'.
21281 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
21282 (dcl-option-value-basic, dcl-option-value-offset)
21283 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
21284 Mark unused parameters.
21285 (dcl-save-local-variable): Remove unused variable `val'.
21286 (mode): Declare.
21287
21288 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
21289 Mark unused parameters.
21290 (delphi-ignore-changes): Move before first use.
21291 (delphi-charset-token-at): Remove unused variable `start'.
21292 (delphi-else-start): Remove unused variable `if-count'.
21293 (delphi-comment-block-start, delphi-comment-block-end):
21294 Remove unused variable `kind'.
21295 (delphi-indent-line): Remove unused variable `new-point'.
21296
21297 * progmodes/ebrowse.el (ebrowse-files-list)
21298 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
21299 Mark unused parameters. Don't quote `lambda'.
21300 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
21301 Don't quote `lambda'.
21302 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
21303 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
21304 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
21305 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
21306 Use `ignore-errors'.
21307 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
21308 (ebrowse-view/find-file-and-search-pattern)
21309 (ebrowse-view/find-member-declaration/definition):
21310 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
21311 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
21312 Rename parameter PREFIX-ARG to PREFIX.
21313 (ebrowse-tags-read-name): Remove unused variables `start' and
21314 `member-info'.
21315 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
21316 to `tags-file'.
21317
21318 * progmodes/etags.el (local-find-tag-hook): Declare.
21319 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
21320 Mark unused parameters.
21321
21322 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
21323 (executable-interpret): Mark unused parameter.
21324
21325 * progmodes/flymake.el (flymake-process-sentinel)
21326 (flymake-after-change-function)
21327 (flymake-create-temp-with-folder-structure)
21328 (flymake-get-include-dirs-dot): Mark unused parameters.
21329 (flymake-safe-delete-directory): Remove unused variable `err'.
21330
21331 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
21332 (speedbar-timer-fn, speedbar-line-text)
21333 (speedbar-change-expand-button-char, speedbar-delete-subblock)
21334 (speedbar-center-buffer-smartly): Declare functions.
21335 (gdb-find-watch-expression): Remove unused variable `array'.
21336 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
21337 (gdb-starting): Mark unused parameters.
21338 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
21339 (gdb-table-string): Remove unused variable `res'.
21340 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
21341 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
21342 (gdb-display-buffer): Remove unused variable `cur-size'.
21343
21344 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
21345 allow lexical-binding compilation.
21346 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
21347 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
21348 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
21349 Mark unused parameters.
21350 (gud-gdb-marker-filter): Remove unused variable `match'.
21351 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
21352 lambda expressions and funcall them, instead of using `fset'.
21353
21354 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
21355 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
21356
21357 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
21358 variable `header-beg'; use `let'.
21359
21360 * progmodes/icon.el (indent-icon-exp): Remove unused variables
21361 `restart', `last-sexp' and `at-do'.
21362
21363 * progmodes/js.el (js--debug): Mark unused parameter.
21364 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
21365 (js--splice-into-items): Remove unused variable `item'.
21366 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
21367
21368 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
21369 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
21370 (makefile-complete): Remove unused variable `try'.
21371 (makefile-fill-paragraph, makefile-match-function-end):
21372 Mark unused parameters.
21373
21374 * progmodes/octave-inf.el (inferior-octave-complete):
21375 Remove unused variable `proc'.
21376 (inferior-octave-output-digest): Mark unused parameter.
21377
21378 * progmodes/perl-mode.el (perl-calculate-indent):
21379 Remove unused variable `err'.
21380
21381 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
21382 (prolog-indent-line): Mark unused parameters.
21383 (prolog-indent-line): Remove unused variable `beg'.
21384
21385 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
21386 (reporter-dont-compact-list): Declare.
21387
21388 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
21389 Remove unused variable `char'.
21390 (sh-debug): Mark unused parameter.
21391 (sh-get-indent-info): Remove unused variable `start'.
21392 (sh-calculate-indent): Remove unused variable `var'.
21393
21394 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
21395 (simula-electric-keyword): Remove unused variable `null'.
21396 (simula-search-backward, simula-search-forward): Remove unused
21397 variables `begin' and `end'.
21398
21399 * progmodes/vera-mode.el (vera-guess-basic-syntax):
21400 Remove unused variable `pos'.
21401 (vera-electric-tab, vera-comment-uncomment-region):
21402 Mark unused parameters.
21403 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
21404
21405 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
21406
21407 * emacs-lisp/package.el (package--builtins, package-alist)
21408 (package-load-descriptor, package-built-in-p, package-activate)
21409 (define-package, package-installed-p)
21410 (package-compute-transaction, package-buffer-info)
21411 (package--push): Doc fix. Distinguish more clearly between
21412 version strings and version lists.
21413
21414 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
21415
21416 Lexical-binding cleanup.
21417
21418 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
21419 (5x5-make-mutate-best):
21420 * play/fortune.el (fortune-in-buffer):
21421 * play/gomoku.el (gomoku-init-display):
21422 * play/solitaire.el (solitaire, solitaire-do-check):
21423 * play/tetris.el (tetris-default-update-speed-function):
21424 Mark unused parameters.
21425
21426 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
21427 (bubbles--shift): Remove unused variable `char-org'.
21428 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
21429 (bubbles--show-images): Remove unused variable `char'.
21430
21431 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
21432 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
21433 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
21434 (decipher-analyze-buffer): Use ?\s.
21435 (decipher-make-checkpoint): Remove unused variable `mapping'.
21436
21437 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
21438
21439 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
21440 Remove unused variable `result'; use `let'.
21441
21442 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
21443 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
21444 (gametree-children-shown-p, gametree-compute-reduced-score):
21445 Use `ignore-errors'.
21446
21447 * play/handwrite.el (ps-lpr-switches): Declare.
21448 (handwrite): Remove unused variables `pmin' and `lastp'.
21449
21450 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
21451
21452 * play/landmark.el (landmark-init-display)
21453 (landmark-update-naught-weights): Mark unused parameters.
21454 (landmark-y): Remove unused variable `noise'. Simplify.
21455 (landmark-human-plays): Remove unused variable `score'.
21456
21457 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
21458 (mpuz-try-proposal): Remove unused variable `game'.
21459
21460 * play/zone.el (life-patterns): Declare.
21461
21462 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
21463
21464 * vc/vc.el (ediff-vc-internal): Declare function.
21465
21466 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
21467
21468 * shell.el: Use lexical-binding and std completion UI.
21469 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
21470 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
21471 comint-preoutput-filter-functions rather than on
21472 comint-output-filter-functions.
21473 (shell-command-completion, shell--command-completion-data)
21474 (shell-filename-completion, shell-environment-variable-completion)
21475 (shell-c-a-p-replace-by-expanded-directory): New functions.
21476 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
21477 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
21478 (shell-dynamic-complete-environment-variable): Use them.
21479 (shell-dynamic-complete-as-environment-variable)
21480 (shell-dynamic-complete-as-command): Remove.
21481 (shell-match-partial-variable): Match past point.
21482 * comint.el: Clean up use of completion-at-point-functions.
21483 (comint-completion-at-point): New function.
21484 (comint-mode): Use it completion-at-point-functions.
21485 (comint-dynamic-complete): Make it obsolete.
21486 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
21487 (comint-c-a-p-replace-by-expanded-history): New function.
21488 (comint-dynamic-complete-functions)
21489 (comint-replace-by-expanded-history): Use it.
21490 * minibuffer.el (completion-table-with-terminator): Allow dynamic
21491 termination strings. Try harder to avoid second try-completion.
21492 (completion-in-region-mode-map): Disable bindings that don't work yet.
21493
21494 * comint.el: Use lexical-binding. Require CL.
21495 (comint-dynamic-complete-functions): Use comint-filename-completion.
21496 (comint-completion-addsuffix): Tweak custom type.
21497 (comint-filename-completion, comint--common-suffix)
21498 (comint--common-quoted-suffix, comint--table-subvert)
21499 (comint--complete-file-name-data): New functions.
21500 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
21501 (comint-dynamic-list-filename-completions): Use them.
21502 (comint-dynamic-simple-complete): Make obsolete.
21503
21504 * minibuffer.el (completion-in-region-mode):
21505 Keep completion-in-region-mode--predicate global.
21506 (completion-in-region--postch):
21507 Assume completion-in-region-mode--predicate is not null.
21508
21509 * progmodes/flymake.el (flymake-start-syntax-check-process):
21510 Obey `dir'. Simplify.
21511
21512 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
21513 we're in VC after all.
21514
21515 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
21516
21517 * vc/vc.el (vc-diff-build-argument-list-internal)
21518 (vc-version-ediff, vc-ediff): New commands.
21519 (vc-version-diff): Use vc-diff-build-argument-list-internal.
21520
21521 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
21522
21523 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
21524 add sanity check.
21525
21526 * obsolete/erc-hecomplete.el: Make obsolete.
21527 * obsolete/: Standardize obsolescence info in the header.
21528
21529 2011-04-20 Glenn Morris <rgm@gnu.org>
21530
21531 * calendar/solar.el (solar-horizontal-coordinates):
21532 Use the longitude argument rather than `calendar-longitude'.
21533 (solar-date-next-longitude): Remove unused locals.
21534
21535 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
21536
21537 * whitespace.el: New version 13.2.1.
21538
21539 2011-04-20 felix <EmacsWiki> (tiny change)
21540
21541 * whitespace.el (global-whitespace-mode): Keep highlight when
21542 switching between major modes on a file.
21543
21544 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
21545
21546 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
21547 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
21548 multi-line comments as well.
21549
21550 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
21551
21552 Lexical-binding cleanup.
21553
21554 * arc-mode.el (archive-mode-revert):
21555 * cmuscheme.el (scheme-interactively-start-process):
21556 * custom.el (custom-initialize-delay):
21557 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
21558 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
21559 * emacs-lock.el (emacs-lock-clear-sentinel):
21560 * ezimage.el (defezimage):
21561 * follow.el (follow-avoid-tail-recenter):
21562 * fringe.el (set-fringe-mode-1):
21563 * generic-x.el (bat-generic-mode-compile):
21564 * help-mode.el (help-info-variable, help-do-xref)
21565 (help-mode-revert-buffer):
21566 * help.el (view-emacs-todo):
21567 * iswitchb.el (iswitchb-completion-help):
21568 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
21569 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
21570 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
21571 * locate.el (locate-update):
21572 * longlines.el (longlines-encode-region)
21573 (longlines-after-change-function):
21574 * outline.el (outline-isearch-open-invisible):
21575 * ps-def.el (declare-function, charset-dimension, char-width)
21576 (encode-char):
21577 * ps-mule.el (ps-mule-plot-string):
21578 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
21579 (recentf-edit-list-select, recentf-edit-list-validate)
21580 (recentf-open-files-action):
21581 * rect.el (delete-whitespace-rectangle-line)
21582 (rectangle-number-line-callback):
21583 * register.el (window-configuration-to-register)
21584 (frame-configuration-to-register):
21585 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
21586 * select.el (xselect-convert-to-string, xselect-convert-to-length)
21587 (xselect-convert-to-targets, xselect-convert-to-delete)
21588 (xselect-convert-to-filename, xselect-convert-to-charpos)
21589 (xselect-convert-to-lineno, xselect-convert-to-colno)
21590 (xselect-convert-to-os, xselect-convert-to-host)
21591 (xselect-convert-to-user, xselect-convert-to-class)
21592 (xselect-convert-to-name, xselect-convert-to-integer)
21593 (xselect-convert-to-atom, xselect-convert-to-identity):
21594 * subr.el (declare, ignore, process-kill-without-query)
21595 (text-clone-maintain):
21596 * terminal.el (te-get-char, te-tic-sentinel):
21597 * tool-bar.el (tool-bar-make-keymap):
21598 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
21599 * type-break.el (type-break-mode, type-break-noninteractive-query):
21600 * view.el (View-back-to-mark):
21601 * wid-browse.el (widget-browse-action, widget-browse-widget)
21602 (widget-browse-widgets, widget-browse-sexp):
21603 * widget.el (define-widget-keywords):
21604 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
21605 Mark unused parameters.
21606
21607 * align.el (align-adjust-col-for-rule): Mark unused parameter.
21608 (align-areas): Remove unused variable `look'.
21609 (align-region): Remove unused variables `real-end' and `pos-list'.
21610
21611 * apropos.el (apropos-score-doc): Remove unused variable `i'.
21612
21613 * bindings.el (mode-line-modified, mode-line-remote):
21614 Mark unused parameters.
21615 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
21616
21617 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
21618 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
21619
21620 * comint.el (comint-history-isearch-pop-state)
21621 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
21622 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
21623 (comint-substitute-in-file-name): Doc fix.
21624
21625 * completion.el (cmpl-statistics-block): Mark unused parameter.
21626 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
21627 (save-completions-to-file, load-completions-from-file):
21628 Remove unused local variable `e'.
21629
21630 * composite.el (compose-chars): Remove unused variable `len'.
21631 (lgstring-insert-glyph): Remove unused variable `g'.
21632 (compose-glyph-string): Remove unused variables `ascent',
21633 `descent', `lbearing' and `rbearing'.
21634 (compose-glyph-string-relative): Remove unused variables
21635 `lbearing', `rbearing' and `wadjust'.
21636 (compose-gstring-for-graphic): Remove unused variables `header',
21637 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
21638 (compose-gstring-for-terminal): Remove unused variables `header'
21639 and `nchars'. Use `let', not `let*'.
21640
21641 * cus-edit.el (Custom-set, Custom-save, custom-reset)
21642 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
21643 (Custom-buffer-done, custom-buffer-create-internal)
21644 (custom-browse-visibility-action, custom-browse-group-tag-action)
21645 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
21646 (widget-magic-mouse-down-action, custom-toggle-parent)
21647 (custom-add-parent-links, custom-toggle-hide-variable)
21648 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
21649 (custom-toggle-hide-face, face, hook, custom-group-link-action)
21650 (custom-face-menu-create, custom-variable-menu-create, get)
21651 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
21652 (custom-reset-standard-save-and-update): Remove unused variable `value'.
21653 (customize-apropos): Remove unused variable `tests'.
21654 (custom-group-value-create): Remove unused variable `hidden-p'.
21655 (sort-fold-case): Declare.
21656
21657 * cus-theme.el (custom-reset-standard-faces-list)
21658 (custom-reset-standard-variables-list): Declare.
21659 (customize-create-theme, custom-theme-revert, custom-theme-write)
21660 (custom-theme-choose-mode, customize-themes, custom-theme-save):
21661 Mark unused parameters.
21662
21663 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
21664
21665 * delim-col.el (delimit-columns-max): Move defvar before first use.
21666
21667 * descr-text.el (describe-char-categories): Don't quote `lambda'.
21668 (describe-char): Don't quote `lambda'. Mark unused parameter.
21669
21670 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
21671 (auto-insert): Declare.
21672 (desktop-restore-file-buffer): Rename desktop-* parameters;
21673 mark unused ones.
21674 (desktop-create-buffer): Rename desktop-* parameters and bind them.
21675 (desktop-buffer): Rename desktop-* parameters.
21676
21677 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
21678 (dframe-reposition-frame-xemacs, dframe-help-echo)
21679 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
21680 Mark unused parameters.
21681
21682 * dired-aux.el (backup-extract-version-start, overwrite-query)
21683 (overwrite-backup-query, rename-regexp-query)
21684 (rename-non-directory-query): Declare.
21685 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
21686 (dired-add-entry): Remove unused variable `orig-file-name'.
21687 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
21688 Use parameter PRESERVE-TIME instead of accessing dynamic variable
21689 `dired-copy-preserve-time' directly.
21690 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
21691 (dired-insert-subdir-newpos): Rename unused variable `pos'.
21692
21693 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
21694 (dired-virtual-revert, dired-make-relative-symlink):
21695 Mark unused parameters.
21696 (manual-program): Declare.
21697 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
21698 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
21699 wrapped in `with-no-warnings' to avoid replacing one warning by another.
21700
21701 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
21702
21703 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
21704
21705 * echistory.el (electric-history-in-progress, Helper-return-blurb):
21706 Declare.
21707
21708 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
21709
21710 * electric.el (Electric-command-loop): Rename parameter
21711 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
21712
21713 * expand.el (expand-in-literal): Remove unused variable `here'.
21714
21715 * facemenu.el (facemenu-add-new-color):
21716 Remove unused variable `docstring'.
21717
21718 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
21719 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
21720 (face-attr-construct): Mark unused parameter. Doc fix.
21721 (read-color): Remove unused variable `hex-string'.
21722
21723 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
21724 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
21725 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
21726 (display-buffer-other-frame): Remove unused variable `old-window'.
21727 (kill-buffer-hook): Declare.
21728 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
21729 Mark unused parameters.
21730 (after-find-file): Pass 1 to `auto-save-mode', not t.
21731
21732 * files-x.el (auto-insert): Declare.
21733 (modify-file-local-variable-prop-line): Remove unused variable `val'.
21734
21735 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
21736 variable `buf'. Mark unused parameter.
21737 (find-lisp-insert-directory): Mark unused parameter.
21738
21739 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
21740 (format-encode-region): Remove unused variables `cur-buf' and `result'.
21741 (format-common-tail): Remove, unused.
21742 (format-deannotate-region): Remove unused variable `loc'.
21743 (format-annotate-region): Remove unused variable `p'.
21744 (format-annotate-single-property-change): Remove unused variables
21745 `default' and `tail'.
21746
21747 * forms.el (read-file-filter): Declare.
21748 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
21749
21750 * frame.el (frame-creation-function-alist): Mark unused parameter.
21751 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
21752
21753 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
21754 Remove unused parameters.
21755 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
21756 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
21757
21758 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
21759 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
21760 (hfy-prepare-tag-map): Mark unused parameters.
21761 (htmlfontify-buffer): Use `called-interactively-p'.
21762
21763 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
21764 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
21765 (ibuffer-do-occur): Mark unused parameters.
21766 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
21767 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
21768
21769 * ibuffer.el: Don't quote `lambda'.
21770 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
21771 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
21772 Mark unused parameters.
21773
21774 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
21775 (ido-completing-read): Mark unused parameters.
21776 (ido-copy-current-word): Mark unused parameters;
21777 remove unused variable `name'.
21778 (ido-sort-merged-list): Remove unused parameter `dirs'.
21779
21780 * ielm.el (ielm-input-sender): Mark unused parameter.
21781 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
21782 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
21783 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
21784 `ielm-string' as a dynamic variable accessible from the IELM prompt.
21785 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
21786
21787 * image-dired.el (image-dired-display-thumbs): Remove unused
21788 variables `curr-file' and `count'.
21789 (image-dired-remove-tag): Remove unused variable `start'.
21790 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
21791 variable `curr-file'
21792 (image-dired-rotate-original): Remove unused variable `temp-file'.
21793 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
21794 Remove unused variable `file'.
21795 (image-dired-gallery-generate): Remove unused variable `curr'.
21796 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
21797
21798 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
21799
21800 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
21801
21802 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
21803
21804 * isearch.el (minibuffer-history-symbol): Declare.
21805 (isearch-edit-string): Remove unused variable `err'.
21806 (isearch-message-prefix, isearch-message-suffix):
21807 Mark unused parameters.
21808
21809 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
21810
21811 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
21812
21813 * makesum.el (double-column): Remove unused variable `cnt'.
21814
21815 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
21816 (ido-ignore-item-temp-list): Declare.
21817
21818 * mouse-drag.el (mouse-drag-throw): Remove unused variables
21819 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
21820 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
21821 (mouse-drag-drag): Remove unused variables `mouse-delta' and
21822 `mouse-col-delta'.
21823
21824 * mouse-sel.el (mouse-extend-internal):
21825 Remove unused variable `orig-window-frame'.
21826
21827 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
21828 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
21829 Move declarations before first use.
21830 (pcomplete-opt): Mark unused parameters; doc fix.
21831
21832 * proced.el (proced-revert): Mark unused parameter.
21833 (proced-send-signal): Remove unused variable `err'.
21834
21835 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
21836 Rename parameter PREFIX-ARG to ARG.
21837 (ps-basic-plot-string, ps-basic-plot-whitespace):
21838 Mark unused parameters.
21839
21840 * replace.el (replace-count): Define.
21841 (occur-revert-function): Mark unused parameters.
21842 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
21843 (isearch-case-fold-search, isearch-string): Declare.
21844 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
21845 bind `case-fold-search'. Remove unused variables `beg' and `end',
21846 and simplify.
21847 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
21848 COUNT and bind `replace-count'.
21849 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
21850 to COUNT.
21851
21852 * savehist.el (print-readably, print-string-length): Declare.
21853
21854 * shadowfile.el (shadow-expand-cluster-in-file-name):
21855 Remove unused variable `cluster'.
21856 (shadow-copy-file): Remove unused variable `i'.
21857 (shadow-noquery, shadow-clusters, shadow-site-cluster)
21858 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
21859 (shadow-define-literal-group, shadow-define-regexp-group)
21860 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
21861
21862 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
21863 (shell): Use `called-interactively-p'.
21864 (shell-directory-tracker): Remove unused variable `chdir-failure'.
21865
21866 * simple.el (compilation-context-lines, comint-file-name-quote-list)
21867 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
21868 (delete-backward-char): Remove unused variable `ocol'.
21869 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
21870 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
21871 (event-apply-hyper-modifier, event-apply-shift-modifier)
21872 (event-apply-control-modifier, event-apply-meta-modifier):
21873 Mark unused parameters.
21874 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
21875 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
21876
21877 * speedbar.el (speedbar-ignored-directory-expressions)
21878 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
21879 (speedbar-find-file, speedbar-dir-follow)
21880 (speedbar-directory-buttons-follow, speedbar-tag-find)
21881 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
21882 (speedbar-buffers-line-directory, speedbar-buffer-click):
21883 Mark unused parameters.
21884 (speedbar-tag-file): Remove unused variable `mode'.
21885 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
21886
21887 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
21888
21889 * talk.el (talk): Remove unused variable `display'.
21890
21891 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
21892 (tar-write-region-annotate): Mark unused parameter.
21893
21894 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
21895 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
21896 Declare them, wrapped in `with-no-warnings' to avoid replacing one
21897 warning by another.
21898
21899 * time-stamp.el (time-stamp-string-preprocess):
21900 Remove unused variable `require-padding'.
21901
21902 * tree-widget.el (widget-glyph-enable): Declare.
21903 (tree-widget-action): Mark unused parameter.
21904
21905 * w32-fns.el (x-get-selection): Mark unused parameter.
21906 (autoload-make-program, generated-autoload-file): Declare.
21907
21908 * wdired.el (wdired-revert): Mark unused parameters.
21909 (wdired-xcase-word): Remove unused variable `err'.
21910
21911 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
21912 (whitespace-help-scroll): Remove unused variable `data-help'.
21913
21914 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
21915 (widget-image-insert, widget-after-change, default)
21916 (widget-default-format-handler, widget-default-notify)
21917 (widget-default-prompt-value, widget-info-link-action)
21918 (widget-url-link-action, widget-function-link-action)
21919 (widget-variable-link-action, widget-file-link-action)
21920 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
21921 (widget-field-prompt-internal, widget-field-action, widget-field-match)
21922 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
21923 (widget-insert-button-action, widget-delete-button-action, visibility)
21924 (widget-documentation-link-action, widget-documentation-string-action)
21925 (widget-const-prompt-value, widget-regexp-match, symbol)
21926 (widget-coding-system-prompt-value)
21927 (widget-key-sequence-value-to-external, sexp)
21928 (widget-sexp-value-to-internal, character, vector, cons)
21929 (widget-choice-prompt-value, widget-boolean-prompt-value)
21930 (widget-color--choose-action): Mark unused parameters.
21931 (widget-item-match-inline, widget-choice-match-inline)
21932 (widget-checklist-match, widget-checklist-match-inline)
21933 (widget-group-match): Rename parameter VALUES to VALS.
21934 (widget-field-value-set): Remove unused variable `size'.
21935 (widget-color-action): Remove unused variables `value' and `start'.
21936
21937 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
21938 variable `dir'. Doc fix.
21939 (windmove-find-other-window): Don't pass it.
21940
21941 * window.el (count-windows): Mark unused parameter.
21942 (bw-adjust-window): Remove unused variable `err'.
21943
21944 * woman.el (woman-file-name): Remove unused variable `default'.
21945 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
21946 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
21947 (global-font-lock-mode): Declare.
21948 (woman-decode-region): Mark unused parameter.
21949 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
21950
21951 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
21952 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
21953 (x-dnd-handle-moz-url): Remove unused variable `title'.
21954 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
21955
21956 * xml.el (xml-parse-tag, xml-parse-attlist):
21957 Remove unused variable `pos'.
21958
21959 2011-04-19 Glenn Morris <rgm@gnu.org>
21960
21961 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
21962 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
21963 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
21964 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
21965 * calendar/cal-html.el (cal-html-insert-minical):
21966 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
21967 (calendar-mark-date-pattern):
21968 Prefix "unused" locals.
21969
21970 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
21971 optional argument `style'.
21972
21973 * calendar/appt.el (appt-make-list):
21974 * calendar/cal-china.el (calendar-chinese-date-string):
21975 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
21976 (diary-hebrew-yahrzeit):
21977 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
21978 * calendar/calendar.el (calendar-generate-window):
21979 * calendar/time-date.el (time-to-days):
21980 Remove unused local variables.
21981
21982 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
21983
21984 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
21985 glyphless-char-display table.
21986 (tabulated-list-glyphless-char-display): New var.
21987
21988 2011-04-18 Sam Steingold <sds@gnu.org>
21989
21990 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
21991 to acknowledgments.
21992
21993 2011-04-17 Glenn Morris <rgm@gnu.org>
21994
21995 * calendar/diary-lib.el (diary-sexp-entry):
21996 * calendar/holidays.el (holiday-sexp):
21997 Set debug-on-error rather than the removed stack-trace-on-error.
21998
21999 2011-04-16 Glenn Morris <rgm@gnu.org>
22000
22001 * progmodes/f90.el: Use lexical-binding.
22002 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
22003
22004 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
22005
22006 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
22007 (mail-mode): Setup mailalias completion here instead.
22008 * mail/mailalias.el: Use lexical-binding.
22009 (pattern, mailalias-done): Declare dynamic.
22010 (mail-completion-at-point-function): New function, from mail-complete.
22011 (mail-complete): Use it.
22012 (mail-completion-expand): New function.
22013 (mail-get-names): Use it.
22014 (mail-directory, mail-directory-process, mail-directory-stream):
22015 Don't use `pattern' for lexically bound arg.
22016
22017 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
22018
22019 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
22020 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
22021 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
22022
22023 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
22024 (byte-save-window-excursion, byte-temp-output-buffer-setup)
22025 (byte-interactive-p): Define them again, for use when inlining
22026 old code.
22027
22028 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
22029
22030 * loadup.el: Use `string-to-number', not `string-to-int'.
22031
22032 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
22033
22034 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
22035 gud-gdb-complete-command.
22036 (gud-gdb-completions): New function, from gud-gdb-complete-command.
22037 (gud-gdb-completion-at-point): New function.
22038 (gud-gdb-completions): Remove.
22039
22040 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
22041
22042 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
22043 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
22044 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
22045 whether `executable-find' is bound.
22046
22047 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
22048
22049 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
22050
22051 * minibuffer.el (completion-in-region-mode-predicate)
22052 (completion-in-region-mode--predicate): New vars.
22053 (completion-in-region, completion-in-region--postch)
22054 (completion-in-region-mode): Use them.
22055 (completion--capf-wrapper): Also return the hook function.
22056 (completion-at-point, completion-help-at-point):
22057 Adjust and provide a predicate.
22058
22059 Preserve arg names for advice of subr and lexical functions (bug#8457).
22060 * help-fns.el (help-function-arglist): Consolidate the subr and
22061 new-byte-code cases. Add argument `preserve-names' to extract names
22062 from the docstring when needed.
22063 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
22064 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
22065 (ad-arglist): Use help-function-arglist's new arg.
22066 (ad-definition-type): Use cond.
22067
22068 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
22069
22070 * autorevert.el (auto-revert-handler):
22071 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
22072 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
22073 Don't quote lambda.
22074
22075 * image-mode.el (image-transform-set-scale):
22076 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
22077
22078 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
22079
22080 * net/network-stream.el (network-stream-open-starttls): Only do
22081 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
22082 Upgrades via gnutls-cli are too slow to be done opportunistically.
22083
22084 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
22085
22086 * dframe.el (dframe-current-frame): Remove spurious quote.
22087
22088 2011-04-12 Glenn Morris <rgm@gnu.org>
22089
22090 * calendar/cal-tex.el (cal-tex-end-document):
22091 Try to automatically use latin1 input if needed.
22092
22093 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
22094 Don't try to cons a mark onto an empty element.
22095
22096 2011-04-11 Leo Liu <sdl.web@gmail.com>
22097
22098 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
22099 buffers.
22100 (ido-kill-buffer-at-head): Support killing virtual buffers.
22101
22102 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
22103
22104 * minibuffer.el (completion-show-inline-help): New var.
22105 (completion--do-completion, minibuffer-complete)
22106 (minibuffer-force-complete, minibuffer-complete-word):
22107 Inhibit minibuffer messages if completion-show-inline-help is nil.
22108
22109 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
22110 to avoid interference from inline help (Bug#5849).
22111
22112 2011-04-10 Leo Liu <sdl.web@gmail.com>
22113
22114 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
22115 Fix typo.
22116
22117 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
22118
22119 * image-mode.el (image-toggle-display-image): Signal an error if
22120 not in Image mode.
22121 (image-transform-mode, image-transform-resize)
22122 (image-transform-set-rotation): Doc fix.
22123 (image-transform-set-resize): Delete.
22124 (image-transform-set-scale, image-transform-fit-to-height)
22125 (image-transform-fit-to-width): Handle image-toggle-display-image
22126 and image-transform-resize directly.
22127
22128 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
22129
22130 * doc-view.el (doc-view-fit-width-to-window)
22131 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
22132 New functions for fitting the shown image to the Emacs window size.
22133 (doc-view-mode-map): Add bindings for the new functions.
22134
22135 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
22136
22137 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
22138 Fix typo in docstring.
22139
22140 2011-04-08 Eli Zaretskii <eliz@gnu.org>
22141
22142 * files.el (file-size-human-readable): Produce one digit after
22143 decimal, like "ls -lh" does.
22144
22145 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
22146 the file size representation.
22147
22148 * simple.el (list-processes): If async subprocesses are not
22149 available, error out with a clear error message.
22150
22151 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
22152
22153 * help.el (help-form-show): New function, to be called from C.
22154 Put help-form output in a buffer named differently than *Help*.
22155
22156 2011-04-08 Eli Zaretskii <eliz@gnu.org>
22157
22158 * files.el (file-size-human-readable): New function.
22159
22160 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
22161 computing the representation inline. Don't require `cl'.
22162
22163 2011-04-08 Glenn Morris <rgm@gnu.org>
22164
22165 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
22166
22167 * net/browse-url.el (browse-url-firefox):
22168 Test system-type, not system-configuration.
22169
22170 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
22171 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
22172 Use log-edit-empty-buffer-p. (Bug#7598)
22173
22174 * net/rlogin.el (rlogin-process-connection-type): Simplify.
22175 (rlogin-mode-map): Initialize in the defvar.
22176 (rlogin): Use ignore-errors.
22177
22178 * replace.el (occur-mode-map): Some fixes for menu items.
22179
22180 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
22181
22182 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
22183
22184 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
22185
22186 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
22187 issuing unused warnings.
22188
22189 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
22190 macro directly.
22191
22192 * simple.el: Lisp reimplement of list-processes. Based on an
22193 earlier reimplementation by Leo Liu, but using tabulated-list.el.
22194 (process-menu-mode): New major mode.
22195 (list-processes--refresh, list-processes):
22196 (process-menu-visit-buffer): New functions.
22197
22198 * files.el (save-buffers-kill-emacs): Don't assume any return
22199 value of list-processes, which is undocumented anyway.
22200
22201 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
22202
22203 * emacs-lisp/tabulated-list.el: New file.
22204
22205 * emacs-lisp/package.el: Use Tabulated List mode.
22206 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
22207 (package-menu-mode): Derive from tabulated-list-mode. Set up the
22208 table format using Tabulated List mode variables.
22209 (package--push): New macro, replacing package-list-maybe-add.
22210 (package-menu--generate): Use package--push. Renamed from
22211 package--generate-package-list.
22212 (package-menu-refresh, list-packages): Use it.
22213 (package-menu--print-info): Rename from package-print-package.
22214 Return insertion data instead of inserting it directly.
22215 (package-menu-describe-package, package-menu-execute):
22216 Use tabulated-list-get-id.
22217 (package-menu-mark-delete, package-menu-mark-install)
22218 (package-menu-mark-unmark, package-menu-backup-unmark)
22219 (package-menu-mark-obsolete-for-deletion):
22220 Use tabulated-list-put-tag.
22221 (package--list-packages, package-menu-revert)
22222 (package-menu-get-package, package-menu-get-version)
22223 (package-menu-sort-by-column): Functions deleted.
22224 (package-menu-package-list, package-menu-sort-key): Vars deleted.
22225 (package-menu--status-predicate, package-menu--version-predicate)
22226 (package-menu--name-predicate)
22227 (package-menu--description-predicate): Handle arguments in the
22228 Tabulated List format.
22229 (package-list-packages-no-fetch): Call list-packages.
22230
22231 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
22232
22233 * files.el (after-find-file-from-revert-buffer): Remove variable.
22234 (after-find-file): Don't bind it.
22235 (revert-buffer-in-progress-p): New variable.
22236 (revert-buffer): Bind it.
22237 Pass nil for `after-find-file-from-revert-buffer'.
22238
22239 * saveplace.el (save-place-find-file-hook): Use new variable
22240 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
22241
22242 2011-04-06 Glenn Morris <rgm@gnu.org>
22243
22244 * Makefile.in (AUTOGEN_VCS): New variable.
22245 (autoloads): Use $AUTOGEN_VCS.
22246
22247 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
22248 * calendar/calendar.el (calendar-mode-map):
22249 Check for toolkit scroll bars. (Bug#8305)
22250
22251 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
22252
22253 * minibuffer.el (completion-in-region--postch)
22254 (completion-in-region-mode): Remove unnecessary messages.
22255
22256 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
22257
22258 * font-lock.el (font-lock-refresh-defaults):
22259 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
22260 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
22261
22262 * info.el (Info-directory-list, Info-read-node-name-2)
22263 (Info-split-parameter-string): Doc fixes.
22264 (Info-virtual-nodes): Reflow docstring.
22265 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
22266 (Info-apropos-toc-nodes, info-finder, Info-get-token)
22267 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
22268 Fix typos in docstrings.
22269 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
22270 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
22271 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
22272 (Info-restore-desktop-buffer): Mark unused parameters.
22273 (Info-directory-find-file, Info-directory-find-node)
22274 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
22275 (Info-virtual-index-find-node, Info-apropos-find-file)
22276 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
22277 Mark unused parameters; fix typos in docstrings.
22278 (Info-virtual-index): Remove unused local variable `nodename'.
22279
22280 2011-04-05 Deniz Dogan <deniz@dogan.se>
22281
22282 * net/rcirc.el: Update my e-mail address.
22283 (rcirc-mode-map): Remove M-o binding.
22284
22285 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
22286
22287 * startup.el (command-line): Save the cursor's theme-face
22288 directly, instead of using face-override-spec.
22289
22290 * custom.el (load-theme): Minor optimization in assigning faces.
22291
22292 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
22293
22294 * help-fns.el (describe-variable): Complete all variables having
22295 documentation, including keywords.
22296 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
22297
22298 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
22299
22300 Convert to lexical-binding.
22301
22302 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
22303 (bs--get-marked-string, bs--get-modified-string)
22304 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
22305 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
22306 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
22307
22308 * ehelp.el (electric-help-execute-extended)
22309 (electric-help-ctrl-x-prefix):
22310 * hexl.el (hexl-revert-buffer-function):
22311 * linum.el (linum-after-change, linum-after-scroll):
22312 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
22313
22314 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
22315
22316 2011-04-04 Daiki Ueno <ueno@unixuser.org>
22317
22318 * epa-dired.el:
22319 * epa-mail.el:
22320 * epa-hook.el:
22321 * epa-file.el:
22322 * epa.el:
22323 * epg.el: Use lexical binding.
22324
22325 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
22326
22327 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
22328
22329 * textmodes/flyspell.el (flyspell-word): Recognize default
22330 dictionary case for flyspell-mark-duplications-exceptions.
22331 Use regexp matching for languages.
22332 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
22333 default dictionary (Bug#7926).
22334
22335 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
22336
22337 * emacs-lisp/package.el (package--with-work-buffer):
22338 Recognize https URLs.
22339
22340 * net/network-stream.el: Move from gnus/proto-stream.el.
22341 Change prefix to network-stream throughout.
22342 (open-protocol-stream): Merge into open-network-stream, leaving
22343 open-protocol-stream as an alias. Handle nil BUFFER args.
22344
22345 * subr.el (open-network-stream): Move to net/network-stream.el.
22346
22347 2011-04-02 Glenn Morris <rgm@gnu.org>
22348
22349 * find-dired.el (find-exec-terminator): New option.
22350 (find-ls-option): Test for -ls support.
22351 (find-ls-subdir-switches): Test for -b in find-ls-option.
22352 (find-dired, find-grep-dired): Doc fixes.
22353 (find-dired): Use find-exec-terminator.
22354
22355 * find-dired.el (find-ls-option, find-ls-subdir-switches)
22356 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
22357 (find-name-arg): Remove purecopy.
22358
22359 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
22360 (grep-compute-defaults): Check for `-exec COMMAND +' support.
22361 Set grep-find-use-xargs, grep-find-command, and grep-find-template
22362 accordingly. Don't add the null-device if not needed.
22363
22364 * files.el (save-some-buffers): Doc fix.
22365
22366 2011-04-02 Eli Zaretskii <eliz@gnu.org>
22367
22368 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
22369
22370 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
22371
22372 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
22373 Use `dolist' rather than `mapcar'.
22374
22375 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
22376
22377 Add lexical binding.
22378
22379 * subr.el (apply-partially): Use new closures rather than CL.
22380 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
22381 (dolist, dotimes): Use slightly different expansion for lexical code.
22382 (functionp): Move to C.
22383 (letrec): New macro.
22384 (with-wrapper-hook): Use it and apply-partially instead of CL.
22385 (eval-after-load): Preserve lexical-binding.
22386 (save-window-excursion, with-output-to-temp-buffer): Turn them
22387 into macros.
22388
22389 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
22390
22391 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
22392 than the arglist.
22393 (help-add-fundoc-usage): Don't add `Not documented'.
22394 (help-function-arglist): Handle closures, subroutines, and new
22395 byte-code-functions.
22396 (help-make-usage): Remove leading underscores.
22397 (describe-function-1): Handle closures.
22398 (describe-variable): Use special-variable-p for completion.
22399
22400 * files.el (lexical-binding): Declare safe.
22401
22402 * emacs-lisp/pcase.el: Don't use destructuring-bind.
22403 (pcase--memoize): Rename from pcase-memoize. Change weakness.
22404 (pcase): Add `let' pattern.
22405 Change memoization so it actually works.
22406 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
22407 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
22408 <let>: New case.
22409
22410 * emacs-lisp/macroexp.el: Use lexical binding.
22411 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
22412 Don't convert ' to #' without checking that it's indeed quoting
22413 a lambda.
22414
22415 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
22416 Use eval-sexp-add-defvars.
22417 (eval-sexp-add-defvars): New fun.
22418
22419 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
22420
22421 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
22422 Don't autoload.
22423 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
22424 than the internal `byte-compile-lambda'.
22425 (defmethod): Don't hide code under quotes.
22426 (eieio-defmethod): New `code' argument.
22427
22428 * emacs-lisp/eieio-comp.el: Remove.
22429
22430 * emacs-lisp/edebug.el (edebug-eval-defun)
22431 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
22432 (edebug-toggle): Avoid `eval'.
22433
22434 * emacs-lisp/disass.el (disassemble-internal): Handle new
22435 `closure' objects.
22436 (disassemble-1): Handle new byte codes.
22437
22438 * emacs-lisp/cl.el (pushnew): Silence warning.
22439
22440 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
22441 (cl-byte-compile-throw): Remove.
22442 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
22443
22444 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
22445 closures.
22446
22447 * emacs-lisp/cconv.el: New file.
22448
22449 * emacs-lisp/bytecomp.el: Use lexical binding instead of
22450 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
22451 (byte-compile-initial-macro-environment):
22452 Handle declare-function here.
22453 (byte-compile--lexical-environment): New var.
22454 (byte-stack-ref, byte-stack-set, byte-discardN)
22455 (byte-discardN-preserve-tos): New lap codes.
22456 (byte-interactive-p): Don't use any more.
22457 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
22458 New macros.
22459 (byte-compile-lapcode): Use them and handle new lap codes.
22460 (byte-compile-obsolete): Remove.
22461 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
22462 (byte-compile-arglist-warn): Check late def of inlinable funs.
22463 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
22464 since they should have been expanded by now.
22465 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
22466 (byte-compile-from-buffer): Remove unused second arg.
22467 (byte-compile-preprocess): New function.
22468 (byte-compile-toplevel-file-form): New function to distinguish
22469 file-form calls from outside from file-form calls from hunk-handlers.
22470 (byte-compile-file-form): Simplify.
22471 (byte-compile-file-form-defsubst): Remove.
22472 (byte-compile-file-form-defmumble): Simplify now that
22473 byte-compile-lambda always returns a byte-code-function.
22474 (byte-compile): Preprocess.
22475 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
22476 Remove, not used any more.
22477 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
22478 (byte-compile-make-args-desc): New funs.
22479 (byte-compile-lambda): Handle lexical functions. Always return
22480 a byte-code-function.
22481 (byte-compile-reserved-constants): New var, to make up room for
22482 closed-over variables.
22483 (byte-compile-constants-vector): Obey it.
22484 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
22485 (byte-compile-macroexpand-declare-function): New function.
22486 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
22487 byte-code-functions.
22488 (byte-compile-form): Check obsolescence here.
22489 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
22490 (byte-compile-variable-ref): Remove.
22491 (byte-compile-dynamic-variable-op): New fun.
22492 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
22493 (byte-compile-variable-set): New funs.
22494 (byte-compile-discard): Add 2 args.
22495 (byte-compile-stack-ref, byte-compile-stack-set)
22496 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
22497 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
22498 macroexpand-all instead.
22499 (byte-compile-quote-form): Remove.
22500 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
22501 (byte-compile-bind, byte-compile-unbind): New funs.
22502 (byte-compile-let): Handle let* and lexical binding.
22503 (byte-compile-let*): Remove.
22504 (byte-compile-catch, byte-compile-unwind-protect)
22505 (byte-compile-track-mouse, byte-compile-condition-case):
22506 Handle a new :fun-body form, used for lexical scoping.
22507 (byte-compile-save-window-excursion)
22508 (byte-compile-with-output-to-temp-buffer): Remove.
22509 (byte-compile-defun): Simplify.
22510 (byte-compile-stack-adjustment): New fun.
22511 (byte-compile-out): Use it.
22512 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
22513
22514 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
22515 handler any more.
22516
22517 * emacs-lisp/byte-opt.el: Use lexical binding.
22518 (byte-inline-lapcode): Remove (to bytecomp).
22519 (byte-compile-inline-expand): Pay attention to inlining to/from
22520 lexically bound code.
22521 (byte-compile-unfold-lambda): Don't handle byte-code-functions
22522 any more.
22523 (byte-optimize-form-code-walker): Don't handle save-window-excursion
22524 any more and don't call compiler-macros.
22525 (byte-compile-splice-in-already-compiled-code): Remove.
22526 (byte-code): Don't inline any more.
22527 (disassemble-offset): Receive `bytes' as argument rather than via
22528 dynamic scoping.
22529 (byte-compile-tag-number): Declare before first use.
22530 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
22531 `return' even if make-spliceable.
22532 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
22533 obsolete interactive-p.
22534 (byte-optimize-lapcode): Optimize new lap-codes.
22535 Don't trip up on new form of `byte-constant' lap code.
22536
22537 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
22538
22539 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
22540
22541 * custom.el (custom-initialize-default, custom-declare-variable):
22542 Use `defvar'.
22543
22544 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
22545 New variables.
22546 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
22547 (COMPILE_FIRST): Add macroexp and cconv.
22548 * makefile.w32-in: Mirror changes in Makefile.in.
22549
22550 * vc/cvs-status.el:
22551 * vc/diff-mode.el:
22552 * vc/log-edit.el:
22553 * vc/log-view.el:
22554 * vc/smerge-mode.el:
22555 * textmodes/bibtex-style.el:
22556 * textmodes/css-mode.el:
22557 * startup.el:
22558 * uniquify.el:
22559 * minibuffer.el:
22560 * newcomment.el:
22561 * reveal.el:
22562 * server.el:
22563 * mpc.el:
22564 * emacs-lisp/smie.el:
22565 * doc-view.el:
22566 * dired.el:
22567 * abbrev.el: Use lexical binding.
22568
22569 2011-04-01 Eli Zaretskii <eliz@gnu.org>
22570
22571 * info.el (info-display-manual): New function.
22572
22573 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
22574
22575 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
22576
22577 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
22578
22579 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
22580 an entry for that server in rcirc-authinfo. (Bug#8385)
22581
22582 2011-03-31 Glenn Morris <rgm@gnu.org>
22583
22584 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
22585
22586 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
22587
22588 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
22589
22590 * progmodes/python.el (python-default-interpreter)
22591 (python-python-command-args, python-jython-command-args)
22592 (python-which-shell, python-which-args, python-which-bufname)
22593 (python-file-queue, python-comint-output-filter-function)
22594 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
22595 variables and functions.
22596
22597 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
22598
22599 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
22600 (completion-in-region-mode): New minor mode.
22601 (completion-in-region): Use it.
22602 (completion-in-region--data, completion-in-region-mode-map): New vars.
22603 (completion-in-region--postch): New function.
22604 (completion--capf-misbehave-funs, completion--capf-safe-funs):
22605 New vars.
22606 (completion--capf-wrapper): New function.
22607 (completion-at-point): Use it to track well-behavedness of
22608 hook functions.
22609 (completion-help-at-point): New command.
22610
22611 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
22612
22613 * vc/add-log.el (add-change-log-entry): Don't use whitespace
22614 syntax class to search for whitespace on a single line
22615 (Message-ID: <4D938140.4030905@redhat.com>).
22616
22617 2011-03-30 Leo Liu <sdl.web@gmail.com>
22618
22619 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
22620 New commands.
22621 (edit-abbrevs-map): Bind them here.
22622 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
22623
22624 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
22625
22626 * allout.el (allout-hide-by-annotation, allout-flag-region):
22627 Reduce possibility of overlay leakage by making them volatile.
22628
22629 * allout-widgets.el (allout-widgets-tally): Define as nil so the
22630 hash is not shared between buffers. Mode initialization is
22631 responsible for giving it a useful starting value.
22632 (allout-item-span): Reduce possibility of overlay leakage by
22633 making them volatile.
22634 (allout-widgets-count-buttons-in-region): Add diagnostic function
22635 for tracking down button overlay leaks.
22636
22637 2011-03-29 Leo Liu <sdl.web@gmail.com>
22638
22639 * ido.el (ido-read-internal): Use the default history var
22640 minibuffer-history if no HISTORY is specified.
22641
22642 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
22643
22644 * net/imap.el (imap-shell-open, imap-process-connection-type):
22645 Use imap-process-connection-type for 'shell' streams as well as
22646 Kerberos, SSL, other subprocesses.
22647
22648 2011-03-28 Leo Liu <sdl.web@gmail.com>
22649
22650 * abbrev.el (abbrev-table-empty-p): New function.
22651 (prepare-abbrev-list-buffer): Place empty abbrev tables after
22652 nonempty ones. (Bug#5937)
22653
22654 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
22655
22656 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
22657
22658 2011-03-27 Leo Liu <sdl.web@gmail.com>
22659
22660 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
22661 for foreground and background colors.
22662 (ansi-color-make-color-map): Adapt.
22663
22664 2011-03-25 Leo Liu <sdl.web@gmail.com>
22665
22666 * midnight.el (midnight-time-float): Remove. Note it calculates
22667 the microsecond component incorrectly and seconds-to-time does the
22668 same job.
22669 Remove redundant (require 'timer).
22670
22671 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
22672 (ido-completions): Remove unused arguments. (Bug#8329)
22673
22674 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
22675
22676 * minibuffer.el (completion--flush-all-sorted-completions):
22677 Remove itself from hook.
22678 (completion-at-point): Let the functions perform the completion
22679 immediately and return nil or t.
22680 * comint.el (comint-dynamic-complete-functions): Now identical to
22681 completion-at-point-functions.
22682 (comint-dynamic-list-input-ring): Remove unused var `index'.
22683 (comint--match-partial-filename, comint--unquote&expand-filename):
22684 New funs, split from comint-match-partial-filename.
22685 (comint-dynamic-complete): Use completion-at-point.
22686 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
22687
22688 2011-03-24 Drew Adams <drew.adams@oracle.com>
22689
22690 * thingatpt.el: Support `defun'.
22691
22692 2011-03-23 Leo Liu <sdl.web@gmail.com>
22693
22694 * abbrevlist.el: Move to obsolete/abbrevlist.el.
22695
22696 * help-mode.el (help-mode-finish): Tweak regexp.
22697
22698 2011-03-23 Glenn Morris <rgm@gnu.org>
22699
22700 * eshell/esh-opt.el (eshell-eval-using-options):
22701 Do not bind unused local variable `eshell-option-stub'.
22702
22703 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
22704
22705 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
22706
22707 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
22708 keymap variable in `with-no-warnings' to avoid a warning when the
22709 keymap has been already `defconst'ed.
22710
22711 2011-03-22 Leo Liu <sdl.web@gmail.com>
22712
22713 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
22714 encode all chars in abbrevs; otherwise use emacs-mule or
22715 utf-8-emacs. (Bug#8308)
22716
22717 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
22718
22719 * simple.el (backward-delete-char-untabify):
22720 Avoid warning about using `delete-backward-char'.
22721
22722 * image.el (image-type-file-name-regexps): Make it variable.
22723 `imagemagick-register-types' modifies it, and the user may want
22724 to add new extensions for known image types.
22725 (imagemagick-register-types): Throw error if not using ImageMagick.
22726
22727 2011-03-22 Leo Liu <sdl.web@gmail.com>
22728
22729 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
22730 located before rcirc-prompt-end-marker.
22731 (rcirc-complete): Error if point is not after rcirc prompt.
22732 Handle the case when table is nil.
22733 (rcirc-user-authenticated): Define to fix compiler warning.
22734
22735 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
22736
22737 * custom.el (custom--inhibit-theme-enable): Make it affect only
22738 custom-theme-set-variables and custom-theme-set-faces.
22739 (provide-theme): Ignore custom--inhibit-theme-enable.
22740 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
22741 (custom-enabling-themes): Delete variable.
22742 (enable-theme): Accept only loaded themes as arguments.
22743 Ignore the special custom-enabled-themes variable.
22744 (custom-enabled-themes): Forbid themes from setting this.
22745 Eliminate use of custom-enabling-themes.
22746 (custom-push-theme): Quote "changed" custom var entry.
22747
22748 2011-03-21 Leo Liu <sdl.web@gmail.com>
22749
22750 * ido.el (ido-read-internal): Add ido-selected to history instead
22751 of user input.
22752
22753 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
22754
22755 * subr.el (deferred-action-list, deferred-action-function):
22756 Mark obsolete.
22757
22758 2011-03-21 Leo Liu <sdl.web@gmail.com>
22759
22760 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
22761 change on 2011-02-13 (bug#8309).
22762
22763 * minibuffer.el (read-file-name-function): Change default value.
22764 (read-file-name--defaults): Rename from read-file-name-defaults.
22765 (read-file-name-default): Rename from read-file-name.
22766 (read-file-name): Call read-file-name-function.
22767
22768 2011-03-21 Glenn Morris <rgm@gnu.org>
22769
22770 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
22771 Doc fixes.
22772
22773 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
22774
22775 * cus-theme.el: Add missing provide statement.
22776 (customize-create-theme): Extract theme value correctly.
22777 (custom-theme-visit-theme): Autoload.
22778 (customize-create-theme): Prompt before inserting default faces.
22779
22780 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
22781
22782 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
22783 units and musical notes.
22784
22785 2011-03-20 Leo Liu <sdl.web@gmail.com>
22786
22787 * ido.el (ido-read-internal): Use completing-read-default.
22788 (ido-completing-read): Fix compatibility with completing-read.
22789
22790 2011-03-20 Christian Ohler <ohler@gnu.org>
22791
22792 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
22793 (ert-delete-all-tests): Use `called-interactively-p' rather than
22794 `interactive-p'.
22795 (ert--make-xrefs-region): Respect END.
22796
22797 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
22798
22799 * dired-aux.el (dired-create-directory): Signal an error if the
22800 directory already exists (Bug#8246).
22801
22802 * facemenu.el (list-colors-display): Call list-faces-display
22803 inside with-help-window.
22804 (list-colors-print): Use display property to align the final
22805 column, instead of checking window-width.
22806
22807 2011-03-19 Eli Zaretskii <eliz@gnu.org>
22808
22809 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
22810 windows-nt systems.
22811 (emerge-protect-metachars): Quote correctly for ms-dos and
22812 windows-nt systems.
22813
22814 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
22815
22816 * info.el (info-initialize): Replace all uses of `:' with
22817 path-separator for compatibility with non-Unix systems.
22818 Cache quoting of path-separator. (Bug#8258)
22819
22820 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
22821
22822 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
22823 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
22824 (mouse-avoidance-mode): Fix typos in docstrings.
22825
22826 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
22827
22828 * startup.el (package-subdirectory-regexp): Move from package.el.
22829 Omit \\` and \\', and let callers add them.
22830
22831 * emacs-lisp/package.el (package-strip-version)
22832 (package-load-all-descriptors): Add \\` and \\' to
22833 package-subdirectory-regexp before using it.
22834 (package-untar-buffer): New arg DIR; ensure that file untars only
22835 into this expected directory. Remove superfluous delete-region.
22836 (package-unpack): Caller changed.
22837 (package-tar-file-info): Use package-subdirectory-regexp.
22838
22839 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
22840
22841 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
22842 diff-mode-shared-map (bug#8284).
22843 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
22844
22845 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
22846
22847 * calendar/time-date.el (format-seconds): Use assoc instead of
22848 assoc-string, since assoc-string doesn't exist in XEmacs.
22849
22850 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
22851
22852 * custom.el (custom-known-themes): Reflow docstring.
22853 (custom-theme-load-path): Fix typo in docstring.
22854 (load-theme): Fix typo in error message.
22855 (custom-available-themes, custom-variable-theme-value):
22856 Use `let', not `let*'.
22857
22858 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
22859
22860 * calc/README: Mention inclusion of musical notes.
22861
22862 * calc/calc-units.el (calc-lu-quant): Rename from
22863 `calc-logunits-quantity'.
22864 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
22865 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
22866 (calc-db): Rename from `calc-dblevel'.
22867 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
22868 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
22869 (calc-np): Rename from `calc-nplevel'.
22870 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
22871 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
22872 (calc-lu-plus): Rename from `calc-logunits-add'.
22873 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
22874 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
22875 (calc-lu-minus): Rename from `calc-logunits-sub'.
22876 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
22877 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
22878 (calc-lu-times): Rename from `calc-logunits-mul'.
22879 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
22880 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
22881 (calc-lu-divide): Rename from `calc-logunits-div'.
22882 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
22883 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
22884
22885 * calc/calc-ext.el (calc-init-extensions): Update the names of the
22886 functions being autoloaded.
22887
22888 * calc/calc.el (calc-lu-power-reference): Rename from
22889 `calc-logunits-power-reference'.
22890 (calc-lu-field-reference): Rename from
22891 `calc-logunits-field-reference'.
22892
22893 * calc/calc-help.el (calc-l-prefix-help):
22894 Mention musical note functions.
22895
22896 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
22897
22898 * minibuffer.el (completion-all-sorted-completions):
22899 Use :completion-cycle-penalty text property if present.
22900
22901 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
22902
22903 * allout.el (allout-yank-processing): Adjust for new rebulleting
22904 regime so bullet being yanked is used without prompting the user
22905 for a choice.
22906
22907 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
22908
22909 * startup.el (command-line): Warn the user that _emacs is deprecated.
22910
22911 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
22912
22913 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
22914 (delphi-verbose, delphi-comment-face, delphi-string-face)
22915 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
22916 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
22917 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
22918 (delphi-new-comment-line, delphi-font-lock-defaults)
22919 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
22920 Fix typos in docstrings.
22921
22922 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
22923
22924 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
22925 Invert the roles of character and string values for INSTEAD, so a
22926 string is used for the more common case of a defaulting prompt.
22927
22928 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
22929
22930 * progmodes/ruby-mode.el (ruby-backward-sexp):
22931 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
22932 * play/gamegrid.el (gamegrid-make-face):
22933 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
22934 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
22935 * notifications.el (notifications-notify):
22936 * net/xesam.el (xesam-search-engines):
22937 * net/quickurl.el (quickurl-list-insert):
22938 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
22939
22940 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
22941
22942 * startup.el (command-line): Update package subdirectory regexp.
22943
22944 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
22945
22946 * allout.el (allout-abbreviate-flattened-numbering)
22947 (allout-mode-deactivate-hook): Fix up obsolescence "date".
22948
22949 * subr.el (read-char-choice): Only show the cursor after the prompt,
22950 not after the answer.
22951
22952 2011-03-15 Kevin Ryde <user42@zip.com.au>
22953
22954 * help-fns.el (variable-at-point): Skip leading quotes, if any
22955 (bug#8253).
22956
22957 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
22958
22959 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
22960 warning message.
22961
22962 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
22963
22964 * shell.el (shell): When called interactively, offer to change the
22965 shell file name on remote hosts.
22966
22967 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
22968
22969 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
22970 integration for LDAP parameters. The host, base, user or binddn,
22971 and secret tokens can be specified in a netrc file, for instance.
22972 This is optional because an `auth-source' parameter must be
22973 specified in the search attributes.
22974
22975 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
22976
22977 * help.el (describe-mode): Link to the mode's definition (bug#8185).
22978
22979 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
22980
22981 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
22982 into declaration. Remove redundant and harmful binding.
22983
22984 2011-03-12 Eli Zaretskii <eliz@gnu.org>
22985
22986 * files.el (file-ownership-preserved-p): Pass `integer' as an
22987 explicit 2nd argument to `file-attributes'. If the file's owner
22988 is the Administrators group on Windows, and the current user is
22989 Administrator, consider that a match.
22990
22991 * server.el (server-ensure-safe-dir): Consider server directory
22992 safe on MS-Windows if its owner is the Administrators group while
22993 the current Emacs user is Administrator. Use `=' to compare
22994 numerical UIDs, since they could be integers or floats.
22995
22996 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
22997
22998 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
22999
23000 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
23001
23002 Sync with Tramp 2.2.1.
23003
23004 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
23005
23006 * net/trampver.el: Update release number.
23007
23008 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
23009
23010 * progmodes/compile.el (compilation--previous-directory): Fix up
23011 various nil/dead-marker mismatches (bug#8014).
23012 (compilation-directory-properties, compilation-error-properties):
23013 Don't call it at a position past the one we're about to change.
23014
23015 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
23016 Disable obsolescence warnings in the file that declares it.
23017
23018 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
23019
23020 * allout-widgets.el (allout-widgets-tally):
23021 Initialize allout-widgets-tally as a hash table rather than nil to
23022 prevent mode-line redisplay warnings. Also, clarify the module
23023 description and fix a comment typo.
23024
23025 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
23026
23027 * help-fns.el (describe-variable): Don't complete keywords.
23028 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
23029
23030 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
23031
23032 * emacs-lisp/package.el (package-version-join): Impose a standard
23033 string representation for pre/alpha/beta version lists.
23034 (package-unpack-single): Standardize the directory name by passing
23035 it through package-version-join.
23036 (package-strip-rcs-id): Accept any version string that does not
23037 signal an error in version-to-list.
23038
23039 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
23040
23041 * simple.el (delete-trailing-whitespace): Return nil for the
23042 benefit of `write-file-functions'.
23043
23044 2011-03-10 Glenn Morris <rgm@gnu.org>
23045
23046 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
23047
23048 * vc/vc-git.el (vc-git-program): New option.
23049 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
23050 (vc-git--call): Use it.
23051
23052 * eshell/esh-util.el (eshell-condition-case): Doc fix.
23053
23054 * cus-edit.el (Custom-newline): If no button at point, look
23055 for a subgroup button at start-of-line. (Bug#2298)
23056
23057 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
23058
23059 2011-03-10 Julien Danjou <julien@danjou.info>
23060
23061 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
23062 `cursor-type' is nil.
23063
23064 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
23065
23066 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
23067
23068 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
23069
23070 * allout.el: Change so yank of distinctive-bullet items
23071 preserves the existing header prefix, rebulleting it if necessary,
23072 rather than replacing it. This is necessary for proper operation
23073 of cooperative addons like allout-widgets.
23074 (allout-make-topic-prefix, allout-rebullet-heading):
23075 Change SOLICIT arg to INSTEAD, and interpret additionally a string
23076 value as alternate bullet to be used, instead of prompting the user
23077 for a bullet character.
23078
23079 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
23080
23081 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23082 Do not use `tramp-file-name-port', because this returns also
23083 `tramp-default-port'.
23084
23085 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
23086
23087 * net/rcirc.el (rcirc-handler-001): Remove useless
23088 with-rcirc-process-buffer.
23089 (rcirc-check-auth-status): Swap arguments to string-match.
23090
23091 2011-03-09 Glenn Morris <rgm@gnu.org>
23092
23093 * shell.el (shell-mode):
23094 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
23095
23096 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
23097 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
23098
23099 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
23100
23101 * emacs-lisp/package.el (package-refresh-contents)
23102 (package-menu-execute): Use condition-case-no-debug.
23103
23104 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
23105
23106 * simple.el (shell-command-to-string): Use `process-file'.
23107
23108 * emacs-lisp/package.el (package-tar-file-info): Handle also
23109 remote files.
23110
23111 * emacs-lisp/package-x.el (package-upload-buffer-internal):
23112 Use `equal' for upload base check.
23113
23114 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
23115
23116 * textmodes/texinfo.el (texinfo-environments):
23117 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
23118
23119 2011-03-08 Glenn Morris <rgm@gnu.org>
23120
23121 * cus-start.el (cursor-in-non-selected-windows):
23122 Fix :set quoting oddness. (Bug#8192)
23123
23124 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
23125 in some setf expressions. (Bug#2159)
23126
23127 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
23128
23129 * custom.el (custom-available-themes): Return themes in
23130 alphabetical order.
23131
23132 See ChangeLog.15 for earlier changes.
23133
23134 ;; Local Variables:
23135 ;; coding: utf-8
23136 ;; End:
23137
23138 Copyright (C) 2011-2013 Free Software Foundation, Inc.
23139
23140 This file is part of GNU Emacs.
23141
23142 GNU Emacs is free software: you can redistribute it and/or modify
23143 it under the terms of the GNU General Public License as published by
23144 the Free Software Foundation, either version 3 of the License, or
23145 (at your option) any later version.
23146
23147 GNU Emacs is distributed in the hope that it will be useful,
23148 but WITHOUT ANY WARRANTY; without even the implied warranty of
23149 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23150 GNU General Public License for more details.
23151
23152 You should have received a copy of the GNU General Public License
23153 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.