* net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
[bpt/emacs.git] / lisp / ChangeLog
1 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
2
3 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
4 Handle filename correctly, when parsing "source -> target" symlink
5 output.
6 (tramp-adb-handle-set-file-times): New defun.
7
8 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
9
10 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
11 advice list when the interactive-spec of ad-Advice-* changes.
12
13 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
14
15 * wid-edit.el (widget-default-get): Work for inlined elements.
16 (Bug#12670)
17
18 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
19
20 * net/tramp.el (tramp-default-host-alist): New defcustom.
21 (tramp-find-host): Use it.
22 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
23 `eshell-directory-change-hook'.
24
25 * net/tramp-adb.el (top): Add adb specific entry in
26 `tramp-default-host-alist'.
27 (tramp-adb-file-name-host): Remove function.
28 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
29 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
30
31 * net/tramp-sh.el: Move eshell integration code to tramp.el.
32
33 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
34
35 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
36
37 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
38
39 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
40 consist of more than one digit.
41 (tramp-adb-file-name-handler-alist):
42 Use `tramp-handle-file-exists-p' consistently.
43 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
44 (tramp-adb-handle-file-exists-p): Remove function.
45 (tramp-adb-file-name-host): New defun.
46 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
47 Use it.
48 (tramp-adb-maybe-open-connection): Set "remote-path" property.
49
50 2013-01-06 Chong Yidong <cyd@gnu.org>
51
52 * vc/vc.el (vc-next-action): Detect buffer modifications
53 conflicting with locking VCS operation (Bug#11490).
54
55 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
56
57 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
58
59 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
60 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
61
62 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
63
64 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
65 parsing of ls output using regular expression (handle filenames
66 with spaces). Use virtual device number.
67 (tramp-do-parse-file-attributes-with-ls): New defun (Code
68 cleanup).
69
70 2013-01-04 Daiki Ueno <ueno@gnu.org>
71
72 * epg.el: Silence byte-compiler warnings.
73 (epg--start): Use delete-char instead of delete-backward-char.
74 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
75
76 2013-01-04 Daiki Ueno <ueno@gnu.org>
77
78 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
79 Suggested by Eli Zaretskii <eliz@gnu.org>.
80
81 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
82
83 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
84 non-negative integers. Otherwise, the default values are used.
85 (tramp-convert-file-attributes): Convert uid and gid to integers.
86
87 2013-01-04 Glenn Morris <rgm@gnu.org>
88
89 * term.el (term-handle-colors-array): Ensure face attributes
90 are fully specified, not nil. (Bug#13337)
91
92 * term.el (term-default-fg-color, term-default-bg-color):
93 Fix custom type.
94
95 * progmodes/etags.el (tags-compression-info-list): Doc fix.
96 (tag-find-file-of-tag-noselect): Check auto-compression-mode
97 rather than 'jka-compr being loaded. (Bug#13338)
98
99 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
100
101 * icomplete.el (icomplete-completions):
102 Honor icomplete-prospects-height once more following
103 2012-11-29 changes. (Bug#13224)
104
105 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
106
107 * subr.el (internal--called-interactively-p--get-frame): Find aliases
108 of called-interactively-p as well (bug#13237).
109
110 * view.el (view--enable, view--disable): Rename from view-mode-enable
111 and view-mode-disable and assume it's called from view-mode.
112 (view-mode-enable, view-mode-disable): Redefine as obsolete
113 compatibility layer above view-mode.
114 (view-mode-enter): Call `view-mode'.
115
116 * files.el (after-find-file): Call `view-mode'.
117
118 * doc-view.el (doc-view-scale-internally): New var.
119 (doc-view-enlarge, doc-view-insert-image): Obey it.
120
121 2013-01-03 Daiki Ueno <ueno@gnu.org>
122
123 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
124 exist. (Bug#13344)
125
126 2013-01-03 Glenn Morris <rgm@gnu.org>
127
128 * mail/rmail.el (rmail-set-header-1): Ignore case.
129 Handle multi-line headers. (Bug#13330)
130
131 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
132 Handle paragraph starting at beginning of buffer.
133
134 * subr.el (eval-after-load): Don't purecopy the form, so that it
135 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
136
137 * emacs-lisp/byte-run.el (defun): Place cl declarations
138 after any interactive spec. (Bug#13265)
139
140 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
141
142 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
143 defun. Don't check for DECL if DOCSTRING isn't a string.
144 (defun): Likewise.
145
146 2013-01-02 Glenn Morris <rgm@gnu.org>
147
148 * eshell/em-cmpl.el (eshell-pcomplete):
149 More thoroughly imitate pcomplete. (Bug#13293)
150
151 * files.el (parse-colon-path): Doc fix. (Bug#12351)
152 Return nil for empty path elements. (Bug#13296)
153
154 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
155
156 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
157 order to improve efficiency (Based on Daniel Colascione's
158 <dancol@dancol.org> patch). (Bug#13182)
159
160 2013-01-02 Glenn Morris <rgm@gnu.org>
161
162 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
163
164 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
165
166 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
167 neither DOCSTRING nor DECL was given. (Bug#13316)
168
169 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
170
171 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
172 `error' call.
173 (tramp-do-copy-or-rename-file): Ignore errors when calling
174 `set-file-extended-attributes'.
175
176 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
177 Add handler for `file-acl'.
178 (tramp-smb-handle-file-acl): New defun.
179
180 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
181
182 * calc/README: Mention ISO 8601 week-numbering dates.
183
184 2013-01-01 Martin Rudalics <rudalics@gmx.at>
185
186 * view.el (view-mode-enable): New argument run-view-mode-hook.
187 Run view-mode-hook only when it's non-nil (Bug#13315).
188 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
189 argument t.
190
191 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
192
193 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
194 (No device connected, invalid device name). (Bug #13299)
195
196 2012-12-31 Martin Rudalics <rudalics@gmx.at>
197
198 * window.el (window-resizable--p): Rename to window-resizable-p.
199 (window-resize-no-error): New function.
200
201 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
202 broken in fix from 2012-12-28.
203
204 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
205
206 * subr.el (special-form-p): Don't signal errors on undef aliases.
207
208 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
209
210 * calc/calc-forms.el (math-parse-date): Try using
211 `math-parse-iso-date' when it looks like it might be needed.
212 Allow times of 24:00.
213 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
214 of 24:00.
215
216 2012-12-30 Glenn Morris <rgm@gnu.org>
217
218 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
219 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
220 (rmail-summary-displayed, rmail-summary): Declare.
221 (mairix-rmail-display): Just require rmail.
222
223 2012-12-30 Chong Yidong <cyd@gnu.org>
224
225 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
226 check for the tarball contents.
227
228 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
229
230 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
231 tarfile content listings (Bug#13136).
232
233 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
234
235 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
236 Insert the undecoded text of the message being forwarded. (Bug#9521)
237
238 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
239
240 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
241 integers, if they are real numbers. (Bug#13282)
242
243 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
244 Return `t' on success.
245
246 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
247 Add handler for `set-file-selinux-context'.
248
249 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
250
251 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
252 (tramp-sh-handle-set-file-acl): Return `t' on success.
253
254 2012-12-29 Eli Zaretskii <eliz@gnu.org>
255
256 * files.el (backup-buffer-copy, basic-save-buffer-2):
257 If set-file-extended-attributes fails, fall back on set-file-modes
258 instead of signaling an error. (Bug#13298)
259 (basic-save-buffer): Likewise.
260
261 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
262
263 * progmodes/python.el: Support other commands triggering
264 python-indent-line so indentation cycling continues to work.
265 (python-indent-trigger-commands): New defcustom.
266 (python-indent-line): Use it.
267
268 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
269
270 * progmodes/python.el (python-shell-send-region): Add blank lines
271 for non sent code so backtraces remain correct.
272
273 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
274
275 * progmodes/python.el: Remove cl dependency.
276 (python-syntax-count-quotes): Replace incf call.
277 (python-fill-string): Replace setf call.
278
279 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
280
281 * info.el (info-other-window): New arg, for consistency with info.
282
283 2012-12-28 Martin Rudalics <rudalics@gmx.at>
284
285 * mail/rmail.el (rmail-maybe-display-summary):
286 Rewrite (Bug#13066).
287
288 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
289
290 * epg.el (epg--start): Modify process-environment locally.
291
292 2012-12-28 Daiki Ueno <ueno@gnu.org>
293
294 * epg.el: Support pinentry-curses.
295 Suggested by Werner Koch in
296 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
297 (epg-agent-file, epg-agent-mtime): New variable.
298 (epg--start): Record the modified time of gpg-agent socket file,
299 to restore Emacs frame after pinentry-curses termination.
300 (epg-wait-for-completion): Restore Emacs frame here.
301
302 2012-12-27 Juri Linkov <juri@jurta.org>
303
304 * info.el (Info-file-completions): New variable.
305 (Info-read-node-name-1): Complete node names in the Info file
306 when a file name is given. Call `Info-build-node-completions'
307 with a file name.
308 (Info-build-node-completions): Add new arg `file'. When it is
309 non-nil, visit it in a temporary buffer and cache its completions in
310 `Info-current-file-completions'. Move most of the function body to
311 `Info-build-node-completions-1'.
312 (Info-build-node-completions-1): New function with the body from
313 `Info-build-node-completions'. (Bug#12456)
314
315 2012-12-27 Juri Linkov <juri@jurta.org>
316
317 * frame.el (frame-maximization-style): Remove user option.
318 (cycle-frame-maximized): Remove function.
319 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
320 (toggle-frame-fullscreen): New command bound to <f11> instead of
321 `toggle-frame-maximized'.
322 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
323
324 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
325
326 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
327
328 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
329 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
330 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
331 for `file-accessible-directory-p'. (Bug#13275)
332
333 2012-12-27 Sam Steingold <sds@gnu.org>
334
335 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
336 continuations, see <http://stackoverflow.com/questions/3582436>.
337
338 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
339
340 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
341 "module" and "def" to have indentation before them.
342 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
343
344 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
345
346 2012-12-27 Alan Mackenzie <acm@muc.de>
347
348 Speed up fontification where there's large brace blocks.
349 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
350 to a call of c-beginning-of-decl-1.
351
352 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
353
354 * comint.el (comint-adjust-window-point): New function.
355 (comint-postoutput-scroll-to-bottom):
356 Call comint-adjust-window-point (Bug#13248).
357
358 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
359
360 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
361 Rakefile regexp.
362 (auto-mode-alist): Associate .gemspec files with ruby-mode
363 (https://bugs.ruby-lang.org/issues/5453).
364
365 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
366
367 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
368 Suppress coloring, if possible (required for BusyBox based systems like
369 CynagenMod).
370 (tramp-adb-handle-file-attributes)
371 (tramp-adb-handle-insert-directory)
372 (tramp-adb-handle-file-name-all-completions): Use it.
373 (tramp-adb-get-toolbox): New defun. Check for remote shell
374 implementation (BusyBox or Toolbox).
375
376 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
377
378 * startup.el (initial-buffer-choice): Allow function as value
379 (Bug#13251).
380 (command-line-1): Handle case where initial-buffer-choice
381 specifies a function.
382 * server.el (server-execute): Handle case where
383 initial-buffer-choice specifies a function.
384
385 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
386
387 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
388 its own function.
389 (smtpmail-try-auth-methods): Forget the user name/password if the
390 login is unsuccessful (bug#12424).
391
392 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
393
394 * notifications.el (notifications-notify): Protect body with
395 `with-demoted-errors'.
396
397 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
398 Check properties of remote device. Restart connection, if there is a
399 change.
400
401 2012-12-21 Chong Yidong <cyd@gnu.org>
402
403 * sort.el (sort-subr): Doc fix (Bug#13056).
404
405 2012-12-21 Bastien Guerry <bzg@gnu.org>
406
407 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
408
409 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
410
411 * simple.el (process-file): Overwrite stderr file, if exists.
412
413 2012-12-21 Daiki Ueno <ueno@gnu.org>
414
415 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
416 (epg-error): Set `error-message' property.
417
418 2012-12-21 Chong Yidong <cyd@gnu.org>
419
420 * international/mule-cmds.el (read-char-by-name): Signal an error
421 if the user does not supply a valid character (Bug#13177).
422
423 * simple.el (transpose-subr-1): Preserve marker positions by
424 changing the insertion sequence (Bug#13122).
425
426 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
427
428 * simple.el (kill-region): Deactivate mark even for empty regions
429 (Bug#13169).
430
431 2012-12-21 Chong Yidong <cyd@gnu.org>
432
433 * help-fns.el (describe-variable): Make sure we get the right
434 buffer name (Bug#13105). Suggested by Kelly Dean.
435
436 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
437
438 * comint.el (comint-redirect-previous-input-string): New variable.
439 (comint-redirect-setup, comint-redirect-cleanup)
440 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
441 (comint-redirect-preoutput-filter): Fix verbose message.
442
443 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
444
445 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
446 is too long for Tramp. See discussion in
447 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
448
449 * progmodes/compile.el (compilation-start): Remove line escape
450 template.
451
452 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
453
454 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
455 Adjust comment.
456
457 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
458
459 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
460 following non-comment text (bug#13207).
461 (lm-header-multiline): Continuation lines need to be indented more than
462 the first line.
463 (lm-homepage): New function.
464 (lm-with-file): Don't be confused if narrowing is in effect.
465
466 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
467
468 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
469 very beginning of a hunk (e.g. killing the first line).
470
471 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
472
473 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
474 and text properties from returned ACL string.
475 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
476 for "setfacl" command.
477
478 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
479
480 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
481 `tramp-cleanup-this-connection', when the process has died.
482 (Bug#13151)
483
484 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
485
486 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
487
488 2012-12-17 Kevin Ryde <user42@zip.com.au>
489
490 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
491
492 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
493
494 Add support for preserving ACL entries of files.
495
496 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
497 `set-file-acl' handlers.
498
499 * net/tramp-adb.el (tramp-adb-handle-copy-file):
500 Handle PRESERVE-EXTENDED-ATTRIBUTES.
501
502 * net/tramp-compat.el (tramp-compat-copy-file):
503 Handle PRESERVE-EXTENDED-ATTRIBUTES.
504
505 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
506 Add `file-acl' and `set-file-acl' handlers.
507 (tramp-gvfs-handle-copy-file):
508 Handle PRESERVE-EXTENDED-ATTRIBUTES.
509 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
510 New defuns.
511
512 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
513 Add `file-acl' and `set-file-acl' handlers.
514 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
515 (tramp-sh-handle-set-file-acl): New defuns.
516 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
517 Handle PRESERVE-EXTENDED-ATTRIBUTES.
518
519 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
520 Add `file-acl' and `set-file-acl' handlers.
521 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
522
523 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
524
525 * help-macro.el (make-help-screen): Instead of switch-to-buffer
526 use pop-to-buffer with NORECORD argument t. As buffer name, use
527 *Metahelp* with a leading space (Bug#13190).
528
529 2012-12-16 Romain Francoise <romain@orebokech.com>
530
531 * files.el (file-extended-attributes)
532 (set-file-extended-attributes): New functions.
533 (backup-buffer): Use them to handle both SELinux context and ACL
534 entries.
535 (backup-buffer-copy): Work with an alist of extended attributes,
536 rather than an SELinux context.
537 (basic-save-buffer-2): Ditto.
538
539 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
540
541 * battery.el (battery-bsd-apm): New function.
542
543 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
544
545 * calc/calc.el (calc-standard-date-formats): Adjust one of the
546 standard date formats.
547
548 2012-12-15 Juri Linkov <juri@jurta.org>
549
550 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
551 `isearch-insert-char-by-name'.
552 (with-isearch-suspended): New defmacro with body mostly from
553 `isearch-edit-string' except the part that sets
554 `isearch-new-string' and `isearch-new-message'.
555 (isearch-edit-string): Use new macro `with-isearch-suspended' with
556 body that sets `isearch-new-string' and `isearch-new-message'.
557 (isearch-insert-char-by-name): New command.
558 * international/mule-cmds.el (read-char-by-name): Let-bind
559 `enable-recursive-minibuffers' to t.
560 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
561
562 2012-12-15 Juri Linkov <juri@jurta.org>
563
564 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
565 (Bug#13175)
566
567 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
568
569 * dired-x.el (dired-guess-shell-command): Put colon at the end of
570 the prompt. (Bug#13045)
571
572 2012-12-14 Glenn Morris <rgm@gnu.org>
573
574 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
575 Try to include filename in non-bytecomp warning. (Bug#13132)
576
577 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
578
579 Fix permissions bugs with setgid directories etc. (Bug#13125)
580 * files.el (backup-buffer): Don't rely on 9th output of
581 file-attributes, as it's now a placeholder. Instead, use the new
582 optional arg of file-ownership-preserved-p.
583 (file-ownership-preserved-p): New optional arg GROUP.
584 Fix mishandling of setuid directories that would cause this
585 function to return t when it should have returned nil.
586 Document what happens if the file does not exist, and when
587 it's not known whether the ownership will be preserved.
588 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
589 Likewise.
590 (tramp-get-local-gid): Use group-gid for integer, as that's
591 faster and more reliable.
592
593 2012-12-14 Julien Danjou <julien@danjou.info>
594
595 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
596 Update keywords list, data type and PL/pgSQL.
597
598 2012-12-14 Dave Abrahams <dave@boostpro.com>
599
600 * vc/ediff-util.el (ediff-buffer-type): New function.
601 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
602 rather than taking it as as argument.
603 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
604
605 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
606
607 * json.el: Add pretty-print option (bug#12634).
608 (json-encoding-separator, json-encoding-default-indentation)
609 (json--encoding-current-indentation, json-encoding-pretty-print)
610 (json-encoding-lisp-style-closings): New vars.
611 (json--with-indentation): New macro.
612 (json-encode-hash-table, json-encode-alist, json-encode-plist)
613 (json-encode-array): Use it to obey json-encoding-pretty-print.
614 (json-pretty-print-buffer, json-pretty-print): New commands.
615
616 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
617
618 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
619 Extract `ruby-syntax-propertize-expansions'.
620 (ruby-syntax-propertize-expansions): Only change syntax on
621 certain string delimiters, to punctuation. This way the common
622 functions like forward-word and thing-at-point still work.
623 (ruby-match-expression-expansion): Improve readability.
624 (ruby-block-contains-point): New function.
625 (ruby-add-log-current-method): Handle several edge cases.
626
627 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
628
629 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
630 unload-feature finishes even when aborting an ongoing edebug session.
631 Also, do not worry about edebug-mode, unload-feature takes care of it.
632
633 2012-12-13 Andreas Schwab <schwab@suse.de>
634
635 * net/tls.el (tls-program): Update customize type.
636
637 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
638
639 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
640 (edebug-setup-hook, cl-read-load-hooks): Use it.
641 (edebug-unload-function): New function. (Bug#13163)
642
643 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
644
645 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
646 Otherwise, there could be errors in autoloading. (Bug#13151)
647
648 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
649
650 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
651 sequences.
652
653 2012-12-13 Alan Mackenzie <acm@muc.de>
654
655 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
656 * progmodes/cc-engine.el (c-backward-comments): Add code to work
657 around `forward-comment' not recognizing ^M as whitespace.
658
659 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
660
661 * progmodes/python.el (python-skeleton-class)
662 (python-skeleton-def): Do not add space after defun name.
663
664 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
665
666 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
667 (cl--symbol-function): Remove (now that funbound is like nil).
668
669 2012-12-12 Glenn Morris <rgm@gnu.org>
670
671 * button.el (button--area-button-p): Fix typo.
672
673 2012-12-12 Sam Steingold <sds@gnu.org>
674
675 * frame.el (frame-maximization-style): New user option.
676 (toggle-frame-maximized): Toggle frame maximization according to
677 `frame-maximization-style', bound to <f11>.
678 (cycle-frame-maximized): Cycle between all maximization styles and
679 non-maximized frame, bound to shift-<f11>.
680
681 2012-12-12 David Cadé <codename68@gmail.com>
682
683 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
684
685 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
686
687 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
688 (eieio-override-prin1): Don't quote kewords and booleans.
689 (object-write) <eieio-default-superclass>: Don't put closing parens
690 on new line, avoid needless empty lines, align values that are objects
691 with the slot keyword (instead of beginning on the same line).
692 (eieio-list-prin1): Align value with slot keyword; increase
693 eieio-print-depth before printing members of the list.
694
695 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
696
697 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
698 a display text-property.
699 (report-emacs-bug-hook): Don't bother deleting it any more.
700
701 * hilit-chg.el (highlight-save-buffer-state): Delete.
702 Use with-silent-modifications instead.
703 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
704
705 * button.el: Handle buttons in display text-properties.
706 (button--area-button-p, button--area-button-string):
707 Use (STRING . STRING-POS) representation instead of just STRING.
708
709 2012-12-11 Eli Zaretskii <eliz@gnu.org>
710
711 * makefile.w32-in (compile4-SH): Fix a typo that caused term
712 subdirectory be skipped.
713
714 2012-12-11 Glenn Morris <rgm@gnu.org>
715
716 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
717
718 * progmodes/f90.el (f90-line-continued, f90-indent-region):
719 Treat preprocessor lines embedded in continuations like comments.
720 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
721
722 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
723
724 * calc/calc.el (calc-standard-date-formats): Add more date
725 formats.
726 * calc/calc-forms.el (math-parse-iso-date): New function.
727 (math-parse-date): Use `math-parse-iso-date' when appropriate.
728 (math-parse-iso-date-validate): Add extra error checking.
729 (calc-date-notation): Add ability to access new date formats.
730
731 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
732
733 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
734 font-lock as well as when there's no text-property.
735
736 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
737
738 * hi-lock.el: Refine the choice of default face.
739 (hi-lock-keyword->face): New function. Use it wherever we used
740 cadadadr instead.
741 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
742 (hi-lock--last-face): Remove var.
743 (hi-lock--unused-faces): New var to replace it.
744 (hi-lock-read-face-name): Use/maintain it.
745 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
746 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
747 if it has another face.
748
749 2012-12-10 Eli Zaretskii <eliz@gnu.org>
750
751 * subr.el (w32notify-handle-event): New function.
752 (inotify-handle-event): Doc fix.
753
754 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
755
756 * subr.el (inotify-event-p, inotify-handle-event): New functions.
757
758 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
759
760 * simple.el (just-one-space): Doc fix.
761
762 2012-12-10 Eli Zaretskii <eliz@gnu.org>
763
764 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
765
766 2012-12-10 Le Wang <l26wang@gmail.com>
767
768 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
769 narrowed buffer (bug#12361).
770
771 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
772
773 * vc/vc-hooks.el (vc-state): Doc fix.
774
775 2012-12-10 Glenn Morris <rgm@gnu.org>
776
777 * mail/rmail.el (rmail-maybe-display-summary):
778 Preserve buffer, in case select-window changes it. (Bug#13066)
779
780 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
781
782 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
783 cl-load-hook where they belong.
784
785 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
786
787 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
788
789 2012-12-09 Eli Zaretskii <eliz@gnu.org>
790
791 Parallelize byte compilation on MS-Windows.
792 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
793 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
794 (WINS_BASIC): Define as concatenation of the above.
795 (compile): Subdivide into 4 separate and independent jobs that can
796 be run in parallel.
797 (compile0-CMD, compile0-SH): New targets for compiling
798 COMPILE_FIRST files, which are prerequisites for the rest of the
799 byte-compilation.
800 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
801 New targets for parallel compilation with cmd.exe.
802 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
803 compiling under a Unixy shell.
804
805 2012-12-09 Chong Yidong <cyd@gnu.org>
806
807 * simple.el (set-mark-default-inactive): Delete this
808 accidentally-introduced option.
809 (set-mark-command, exchange-point-and-mark): Remove calls.
810
811 2012-12-09 Glenn Morris <rgm@gnu.org>
812
813 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
814 Respect a defcustom's :set function, if appropriate. (Bug#109)
815 (eval-defun): Doc fix.
816
817 2012-12-08 Juri Linkov <juri@jurta.org>
818
819 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
820 (Info-fontify-node, Info-bookmark-make-record): Remove the
821 file extension from Info-current-file (Bug#13016).
822
823 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
824
825 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
826 point, still provide some default.
827 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
828 names, since we don't use it right now. Actually return the list.
829 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
830
831 2012-12-07 Chong Yidong <cyd@gnu.org>
832
833 * novice.el (disabled-command-function): Remove a spurious help
834 xref (Bug#13043). Suggested by Kelly Dean.
835
836 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
837 syntax is specified (Bug#13025).
838
839 * info.el (Info-set-mode-line): Remove the file extension from
840 Info-current-file if there is one (Bug#13016).
841
842 2012-12-07 Glenn Morris <rgm@gnu.org>
843
844 * mail/rmail.el (rmail-mime-decoded): New permanent local.
845 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
846 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
847 and rmail-mime-decoded. (Bug#9841)
848
849 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
850 (batch-unrmail, unrmail): Doc fixes.
851 (unrmail): Respect unrmail-mbox-format.
852 * mail/rmail.el (rmail-mbox-format): New option.
853 (rmail-show-message-1): Respect rmail-mbox-format.
854
855 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
856
857 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
858
859 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
860
861 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
862 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
863 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
864 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
865 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
866 (cl-progv): Don't rely on dynamic scoping to find the body.
867 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
868 (cl--proclaims-deferred): Rename from the "cl-" prefix.
869 (cl-declaim): Use backquotes.
870 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
871 Use "cl--" prefix for the object's tag.
872
873 * ses.el: Use advice-add/remove.
874 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
875 (copy-region-as-kill, yank): Use advice-add.
876 (ses-unload-function): Use advice-remove.
877
878 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
879
880 * button.el: Make them work in header-lines (bug#12817).
881 (button-map): Add bindings for header-line and mode-line use.
882 (button-get, button-put, button-label): `button' may now be a string.
883 (button-activate): Don't make it a defsubst.
884 (button--area-button-p, button--area-button-string): New functions.
885 (make-text-button): Fix the return value when `beg' was a string.
886 (push-button): Handle the mode-line case.
887
888 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
889
890 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
891 (sql-signum): Remove. Use `cl-signum' instead.
892 (sql-read-passwd): Remove; use read-passwd instread.
893 (sql-get-login-ext): Use read-string.
894 (sql-get-login): Use dolist and pcase.
895 (sql--completion-table): Rename from sql-try-completion.
896 Use complete-with-action.
897 (sql-mode): Don't change abbrev-all-caps globally.
898 (sql-connect): Don't rely on dynamic scoping for `new-name'.
899 (sql-postgres-completion-object): Initialize vars in their `let'.
900 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
901 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
902 (sql-comint-interbase): Use a single append, without setq.
903 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
904
905 * hi-lock.el: Rework the default face and the serialize regexp code.
906 (hi-lock--auto-select-face-defaults): Remove.
907 (hi-lock-string-serialize-serial): Remove.
908 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
909 make weak.
910 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
911 equal string.
912 (hi-lock-set-pattern): Adjust accordingly.
913 (hi-lock--regexps-at-point): Simplify accordingly.
914 (hi-lock--auto-select-face-defaults): Remove.
915 (hi-lock--last-face): New var to replace it.
916 (hi-lock-read-face-name): Rewrite (bug#11095).
917 (hi-lock-unface-buffer): Arrange for the face to be the next default.
918
919 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
920
921 * net/tramp.el (tramp-replace-environment-variables):
922 Hide compiler warning.
923 (tramp-file-name-for-operation): Remove `executable-find',
924 `start-process', `call-process' and `call-process-region'.
925
926 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
927
928 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
929 compatibility.
930
931 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
932
933 2012-12-06 Chong Yidong <cyd@gnu.org>
934
935 * ffap.el (ffap-replace-file-component): Fix typo.
936
937 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
938
939 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
940 fix open-paren-like token test (bug#12785).
941
942 2012-12-06 Glenn Morris <rgm@gnu.org>
943
944 * mail/rmailsum.el (rmail-new-summary): Tweak for
945 rmail-maybe-display-summary changing buffer. (Bug#13066)
946
947 2012-12-06 Juri Linkov <juri@jurta.org>
948
949 * info.el (Info-fontify-node): Don't hide the last newline.
950 (Bug#12272)
951
952 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
953
954 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
955 so as to enable message-read-from-minibuffer to expand mail aliases.
956
957 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
958
959 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
960 the `intangible' property.
961 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
962
963 2012-12-05 Deniz Dogan <deniz@dogan.se>
964
965 * net/rcirc.el (rcirc-urls): Update documentation.
966 (rcirc-condition-filter): New function.
967 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
968 and exclude consecutive duplicate URLs (Bug#6082).
969
970 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
971
972 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
973 Check return code of copy command.
974
975 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
976 Use group `tramp'. Add version.
977
978 2012-12-05 Chong Yidong <cyd@gnu.org>
979
980 * ffap.el (ffap-url-regexp): Don't require matching at front of
981 string (Bug#4952).
982 (ffap-url-p): If only a substring matches, return that.
983 (ffap-url-at-point): Use the return value of ffap-url-p.
984 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
985 (find-file-at-point, dired-at-point, dired-at-point-prompter)
986 (ffap-guess-file-name-at-point): Likewise.
987 (ffap-replace-file-component): Fix typo.
988
989 * info.el (info-display-manual): Add existing Info buffers, whose
990 files may not be in Info-directory-list, to the completion.
991 (info--manual-names): New helper function.
992
993 2012-12-05 Glenn Morris <rgm@gnu.org>
994
995 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
996 New functions, for detecting and resolving conflicts. (Bug#10709)
997
998 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
999
1000 * hi-lock.el (hi-lock-auto-select-face): New user variable.
1001 (hi-lock-auto-select-face-defaults): New buffer local variable.
1002 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
1003 (hi-lock-unface-buffer): Prompt user with useful defaults.
1004 With prefix arg, unhighlight all hi-lock patterns in buffer.
1005
1006 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1007
1008 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
1009
1010 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
1011
1012 * Makefile.in (TRAMP_SRC):
1013 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
1014
1015 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
1016
1017 * net/tramp-adb.el: New package.
1018
1019 2012-12-04 Chong Yidong <cyd@gnu.org>
1020
1021 * terminal.el: Move to obsolete/.
1022
1023 * longlines.el: Move to obsolete/.
1024
1025 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
1026 Remove code referring to longlines mode.
1027
1028 2012-12-03 Juri Linkov <juri@jurta.org>
1029
1030 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
1031
1032 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1033
1034 * textmodes/ispell.el (ispell-init-process)
1035 (ispell-start-process, ispell-internal-change-dictionary):
1036 Make sure personal dictionary name is expanded after initial
1037 `default-directory' value. Use expanded strings for
1038 keep/restart checks and for value (Bug#13019).
1039
1040 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
1041
1042 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
1043
1044 2012-12-03 Leo Liu <sdl.web@gmail.com>
1045
1046 * files.el (dir-locals-read-from-file): Check file non-empty
1047 before reading. (Bug#13038)
1048
1049 2012-12-03 Glenn Morris <rgm@gnu.org>
1050
1051 * jka-cmpr-hook.el (jka-compr-get-compression-info):
1052 Remove any version extension before checking filename. (Bug#13006)
1053 (jka-compr-compression-info-list): Belated :version bump.
1054
1055 2012-12-03 Chong Yidong <cyd@gnu.org>
1056
1057 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
1058
1059 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
1060 (buffer-menu): Doc fix (Bug#12294).
1061
1062 2012-12-03 Roland Winkler <winkler@gnu.org>
1063
1064 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
1065 of diary-show-all-entries in the diary buffer (Bug#12994).
1066
1067 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
1068
1069 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
1070 "<STDIN>". This is binary safe.
1071
1072 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
1073
1074 * calc/calc-forms.el (math-absolute-from-iso-dt)
1075 (math-date-to-iso-dt, math-parse-iso-date-validate)
1076 (math-iso-dt-to-date): New functions.
1077 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
1078 (math-fd-isoweekday): New variables.
1079 (calc-date-notation, math-parse-standard-date, math-format-date)
1080 (math-format-date-part): Add support for more formatting codes.
1081
1082 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
1083
1084 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
1085 current buffer's file name when called interactively (Bug#12488).
1086
1087 2012-12-02 Juri Linkov <juri@jurta.org>
1088
1089 * info.el (info-display-manual): Don't clobber an existing Info
1090 buffer (Bug#10770). Add completion (Bug#10771).
1091
1092 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
1093
1094 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
1095 before using it for comparison (Bug#5297).
1096
1097 2012-12-01 Jari Aalto <jari.aalto@cante.net>
1098
1099 * textmodes/css-mode.el (css-current-defun-name): New function.
1100 (css-mode): Use it.
1101
1102 * textmodes/sgml-mode.el (html-current-defun-name): New function.
1103 (html-mode): Use it.
1104
1105 2012-12-01 Chong Yidong <cyd@gnu.org>
1106
1107 Modularize add-log-current-defun (Bug#2224).
1108 Suggested by Jari Aalto.
1109
1110 * vc/add-log.el (add-log-current-defun-function): Doc fix.
1111 (add-log-current-defun): Move mode-specific code to other files.
1112 (add-log-lisp-like-modes, add-log-c-like-modes)
1113 (add-log-tex-like-modes): Variables deleted.
1114
1115 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
1116 (lisp-mode-variables): Use it.
1117
1118 * progmodes/cc-mode.el (c-common-init):
1119 * progmodes/cperl-mode.el (cperl-mode): Set a value for
1120 add-log-current-defun-function.
1121
1122 * progmodes/m4-mode.el (m4-current-defun-name): New function.
1123 (m4-mode): Use it.
1124
1125 * progmodes/perl-mode.el (perl-current-defun-name): New.
1126 (perl-mode): Use it.
1127
1128 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
1129 Use lisp-current-defun-name.
1130
1131 * textmodes/tex-mode.el (tex-current-defun-name): New.
1132 (tex-common-initialization): Use it.
1133
1134 * textmodes/texinfo.el (texinfo-current-defun-name): New.
1135 (texinfo-mode): Use it.
1136
1137 2012-12-01 Chong Yidong <cyd@gnu.org>
1138
1139 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
1140 * progmodes/autoconf.el (autoconf-mode):
1141 * progmodes/js.el (js-mode):
1142 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
1143 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
1144 * progmodes/perl-mode.el (perl-mode):
1145 * progmodes/sh-script.el (sh-mode, sh-set-shell):
1146 * textmodes/css-mode.el (css-mode):
1147 * textmodes/sgml-mode.el (html-mode, sgml-mode)
1148 (sgml-tags-invisible, sgml-guess-indent):
1149 * textmodes/tex-mode.el (tex-common-initialization)
1150 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
1151 (doctex-mode, plain-tex-mode, latex-mode):
1152 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
1153
1154 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
1155
1156 * vc/vc-hg.el (vc-hg-next-revision):
1157 Ensure use of default "tip" output format. (Bug#6968)
1158
1159 2012-12-01 Kim F. Storm <storm@cua.dk>
1160
1161 * startup.el (fancy-startup-tail): Add a clickable link
1162 (Bug#2176).
1163
1164 2012-12-01 Chong Yidong <cyd@gnu.org>
1165
1166 * startup.el (fancy-startup-tail): Improve the message about
1167 auto-save files (Bug#2176).
1168
1169 * files.el (recover-session): Improve the descriptive message, and
1170 use substitute-command-keys.
1171
1172 2012-12-01 Glenn Morris <rgm@gnu.org>
1173
1174 * ido.el (ido-file-internal):
1175 Handle other-window, other-frame for dired. (Bug#13036)
1176
1177 2012-11-30 Glenn Morris <rgm@gnu.org>
1178
1179 * icomplete.el (icomplete-separator): Fix :version.
1180
1181 2012-11-30 Chong Yidong <cyd@gnu.org>
1182
1183 * shell.el (shell): For C-u M-x shell, use an inactive shell
1184 buffer as the default (Bug#1975).
1185 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
1186 (shell-mode): Use them to reapply ansi colorization if Shell mode
1187 is re-enabled.
1188
1189 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
1190
1191 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
1192
1193 2012-11-30 Samuel Bronson <naesten@gmail.com>
1194
1195 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
1196 flag to xargs, for compatibility with BSD xargs (Bug#11703).
1197
1198 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
1199
1200 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
1201 by move-to-column (Bug#3234).
1202
1203 2012-11-30 Chong Yidong <cyd@gnu.org>
1204
1205 * longlines.el (longlines-wrap-line, longlines-encode-region):
1206 Preserve text properties (Bug#1425).
1207
1208 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
1209
1210 * vc/vc.el (vc-register): Allow registering a file which is
1211 already registered with a different backend (Bug#10589).
1212
1213 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
1214 Stefan Monnier <monnier@iro.umontreal.ca>
1215
1216 * icomplete.el: Change separator; add ido-style commands.
1217 (icomplete-show-key-bindings): Remove custom var.
1218 (icomplete-get-keys): Remove function.
1219 (icomplete-forward-completions, icomplete-backward-completions):
1220 New commands.
1221 (icomplete-minibuffer-map): New var.
1222 (icomplete-minibuffer-setup): Use it.
1223 (icomplete-exhibit): Don't delay if the list of completions is known.
1224 (icomplete-separator): New custom.
1225 (icomplete-completions): Use it.
1226 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
1227 (minibuffer-force-complete-and-exit): New command.
1228 (minibuffer--complete-and-exit): New function extracted from
1229 minibuffer-complete-and-exit.
1230 (minibuffer-complete-and-exit): Use it.
1231
1232 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
1233 error message when the file doesn't exist (bug#12974).
1234
1235 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1236
1237 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
1238
1239 2012-11-29 Glenn Morris <rgm@gnu.org>
1240
1241 * files.el (hack-dir-local-variables): Warn if try to set
1242 coding via dir-locals, since it doesn't work. (Bug#7169)
1243
1244 Add desktop support for restoring vc-dir buffers. (Bug#10606)
1245 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
1246 Set buffer-local value of desktop-save-buffer.
1247 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
1248 New functions.
1249 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
1250 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
1251
1252 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
1253 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
1254 Doc fix.
1255 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
1256 Doc fixes.
1257
1258 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
1259
1260 * calc/calc-forms.el (calc-date-notation): Fix regexp
1261 used to find time codes. Fix symbol for seconds.
1262
1263 2012-11-27 Glenn Morris <rgm@gnu.org>
1264
1265 * emacs-lisp/derived.el (derived-mode-make-docstring):
1266 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
1267
1268 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1269
1270 * textmodes/table.el (table-insert): Don't use `symbol-name' on
1271 lexically scoped variables (bug#13005).
1272
1273 2012-11-27 Glenn Morris <rgm@gnu.org>
1274
1275 * vc/vc-hooks.el (vc-mistrust-permissions):
1276 Default to t, to avoid data-loss. (Bug#11490)
1277
1278 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
1279
1280 * progmodes/python.el (python-indent-guess-indent-offset):
1281 If indentation is guessed make python-indent-offset buffer-local.
1282
1283 Fix Imenu regression.
1284 * progmodes/python.el (python-nav-beginning-of-defun):
1285 Fix forward movement when statement(s) separates point from defun.
1286 (python-imenu-prev-index-position): New function.
1287
1288 2012-11-27 Eli Zaretskii <eliz@gnu.org>
1289
1290 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
1291
1292 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
1293 Don't set buffer-file-type. Return nil. (Bug#12989)
1294
1295 2012-11-27 Glenn Morris <rgm@gnu.org>
1296
1297 * hippie-exp.el (hippie-expand-try-functions-list):
1298 Re-autoload it. (Bug#12982)
1299
1300 2012-11-27 Eli Zaretskii <eliz@gnu.org>
1301
1302 * descr-text.el (describe-char-padded-string):
1303 Call internal-char-font only on GUI frames. (Bug#11964)
1304
1305 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
1306
1307 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
1308 and obsoletion message.
1309
1310 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1311
1312 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
1313 the constructs to keep outside of the `cl-block' (bug#12977).
1314
1315 2012-11-27 Chong Yidong <cyd@gnu.org>
1316
1317 * mouse.el (mouse-drag-line): Even if the line is not draggable,
1318 keep reading until we get the up-event anyway, in order to process
1319 the up-event for mouse-1-click-follows-link (Bug#12971).
1320
1321 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
1322
1323 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
1324 base function is not yet defined (bug#12965).
1325 (ad-activate-advised-definition): Use ad-compile-function.
1326 (ad-activate): Use cond.
1327
1328 2012-11-25 Leo Liu <sdl.web@gmail.com>
1329
1330 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
1331 (Bug#12979)
1332
1333 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
1334
1335 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
1336 reftex-section-info-function in order to be compatible with
1337 Texinfo integration.
1338
1339 * textmodes/reftex.el (reftex-section-pre-regexp)
1340 (reftex-section-post-regexp, reftex-section-info-function):
1341 New variable.
1342 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
1343 reftex-section-post-regexp, and reftex-section-info-function in order
1344 to be compatible with Texinfo integration.
1345
1346 * textmodes/reftex-toc.el (reftex-toc-promote-action):
1347 use reftex-section-pre-regexp variable in order to be compatible with
1348 Texinfo integration.
1349
1350 2012-11-25 Chong Yidong <cyd@gnu.org>
1351
1352 * faces.el: Make face-spec-set more analogous to setq.
1353 (face-spec-set): Change the third arg to specify whether this
1354 function is being called via defface, customize, or a third party.
1355 Set the appropriate symbol properties. Clear the override spec if
1356 setting via Custom. Initialize face if necessary. (Bug#4988)
1357 (face-spec-recalc): Allow theme faces to completely replace the
1358 defface spec, in the same way as custom faces (Bug#8454).
1359
1360 * cus-face.el (custom-declare-face): Move face initialization to
1361 face-spec-set.
1362 (custom-theme-set-faces): Don't initialize the face name here, as
1363 that is now done in face-spec-set.
1364
1365 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
1366 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
1367 Simplify by using the new arg to face-spec-set.
1368
1369 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
1370 reset face-override-spec too, and use custom-declare-face.
1371
1372 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
1373
1374 * term/ns-win.el (ns-initialize-window-system): Move creation of
1375 fontsets here (Bug#11964).
1376
1377 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
1378
1379 * ses.el (ses-rename-cell): Correct bug on mode-line update after
1380 cell renaming.
1381
1382 2012-11-24 Chong Yidong <cyd@gnu.org>
1383
1384 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
1385 obsolete.
1386
1387 * custom.el (custom-theme-set-variables): Use a topological sort
1388 for ordering by custom dependencies (Bug#12952).
1389 (custom--sort-vars, custom--sort-vars-1): New functions.
1390
1391 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
1392
1393 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
1394 lexical-binding (bug#12938).
1395
1396 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
1397
1398 * image-mode.el (image-transform-check-size): Use assertions only
1399 for images of type imagemagick.
1400
1401 Otherwise no error, image-transform-fit-to-{width,height} is
1402 silently ignored, as before. Doc fix.
1403
1404 2012-11-24 Chong Yidong <cyd@gnu.org>
1405
1406 * faces.el (color-defined-p): Doc fix (Bug#12853).
1407
1408 2012-11-24 Juri Linkov <juri@jurta.org>
1409
1410 * dired.el (dired-mark): Add optional arg `interactive'.
1411 Check for `use-region-p' if `interactive' is non-nil.
1412 (dired-unmark, dired-flag-file-deletion): Add optional arg
1413 `interactive'. Call `dired-mark' with the arg `interactive'.
1414 (Bug#10624)
1415
1416 * wdired.el: Revert 2012-10-17 change partly and replace it with
1417 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
1418 (wdired-finish-edit): Add marks for new file names to
1419 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
1420 after `revert-buffer'.
1421 (wdired-do-renames): Remove calls to `dired-remove-file',
1422 `dired-add-file', `dired-add-entry'. (Bug#11795)
1423
1424 2012-11-24 Alan Mackenzie <acm@muc.de>
1425
1426 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
1427
1428 Fix bugs in the state cache. Enhance a debugging mechanism.
1429 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
1430 "brace at column zero" strategy for C++.
1431 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
1432 (c-parse-state-point): New variable.
1433 (c-record-parse-state-state): Record old parse state with
1434 `copy-tree'. Record previous value of point.
1435 (c-debug-parse-state-double-cons): New debugging function.
1436 (c-debug-parse-state): Call the above new function.
1437 (c-toggle-parse-state-debug): Output a confirmatory message.
1438
1439 * progmodes/cc-mode.el (c-before-change, c-after-change):
1440 Call c-invalidate-state-cache from `c-before-change' instead of
1441 `c-after-change'.
1442
1443 2012-11-23 Chong Yidong <cyd@gnu.org>
1444
1445 * find-cmd.el (find-constituents): Add executable, ipath,
1446 readable, samefile, writable, daystart, regextype (Bug#12856).
1447
1448 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
1449
1450 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
1451
1452 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
1453
1454 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
1455 definition. This fixes a bootstrap failure.
1456 (calc-gregorian-switch): In menu, put dates before regions.
1457 This is easier to follow, lines up better in the menu, and lets us
1458 coalesce regions that switch at the same time. Give country
1459 names, not "Vatican", as that's better for non-expert users.
1460 Use names that are stable between the date of switch and now, e.g.,
1461 Bohemia and Moravia (which existed then and now) and not
1462 Czechoslovakia (which didn't exist then and doesn't exist now).
1463 What is now the U.S. mostly did not switch at the same time as
1464 Britain, so omit the U.S. Correct spelling of "Britain".
1465 Catholic Switzerland was too much of a mess, so omit it.
1466
1467 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
1468
1469 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
1470 after the variable is changed.
1471
1472 2012-11-21 Daniel Colascione <dancol@dancol.org>
1473
1474 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
1475 in SQL declarations for font-lock.
1476 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
1477
1478 2012-11-21 Glenn Morris <rgm@gnu.org>
1479
1480 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
1481 (face-italic-p): Add optional argument "inherit".
1482
1483 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
1484 Remove -p suffix from names, for consistency with other set-face-*.
1485 (set-face-inverse-video): Fix interactive spec.
1486 * play/gamegrid.el (gamegrid-make-mono-tty-face):
1487 * textmodes/table.el (table--update-cell-face):
1488 Use set-face-inverse-video rather than now obsolete alias.
1489
1490 2012-11-21 Eli Zaretskii <eliz@gnu.org>
1491
1492 * simple.el (line-move): Don't call line-move-partial if
1493 scroll-conservatively is in effect. (Bug#12927)
1494
1495 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1496
1497 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
1498 Fallback on completion-at-point rather than
1499 pcomplete-expand-and-complete, and only if pcomplete actually failed.
1500 (eshell-cmpl-initialize): Setup completion-at-point.
1501
1502 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
1503
1504 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
1505
1506 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
1507
1508 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
1509 are remote, check out-of-band property for both.
1510
1511 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1512
1513 * window.el (switch-to-buffer): Re-add the warning that was lost in the
1514 code rewrite.
1515
1516 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
1517
1518 More minor time fixes.
1519 * calendar/time-date.el: Commentary fix.
1520 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
1521 too much other code depends on (0 0) time stamps.
1522 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
1523 Add a couple of FIXME comments.
1524
1525 Minor cleanup for times as lists of four integers.
1526 * files.el (dir-locals-directory-cache):
1527 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
1528 Doc fixes.
1529 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
1530 * ps-bdf.el (bdf-file-newer-than-time):
1531 Process four-integers time stamps, not two. Doc fixes.
1532
1533 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
1534
1535 * uniquify.el (uniquify-managed): Use defvar-local.
1536 (rename-buffer, create-file-buffer): Advise with advice-add.
1537 (uniquify-unload-function): Unadvise accordingly.
1538
1539 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
1540 (trace-buffer): Don't purecopy.
1541 (trace-entry-message, trace-exit-message): Add `context' arg.
1542 (trace--timer): New var.
1543 (trace-make-advice): Adjust for use in nadvice.
1544 Add `context' argument. Delay `display-buffer' via a timer.
1545 (trace-function-internal): Use advice-add.
1546 (trace--read-args): New function.
1547 (trace-function-foreground, trace-function-background): Use it.
1548 (trace-function): Rename to trace-function-foreground and redefine as
1549 an alias to that new name.
1550 (untrace-function, untrace-all): Adjust to the use of nadvice.
1551
1552 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
1553
1554 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
1555
1556 * subr.el (called-interactively-p-functions): New var.
1557 (internal--called-interactively-p--get-frame): New macro.
1558 (called-interactively-p, interactive-p): Rewrite in Lisp.
1559 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
1560 (called-interactively-p-functions): Use it.
1561 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
1562 (called-interactively-p-functions): Use it.
1563 * allout.el (allout-called-interactively-p): Don't assume
1564 called-interactively-p is a subr.
1565
1566 2012-11-20 Glenn Morris <rgm@gnu.org>
1567
1568 * profiler.el (profiler-report-mode-map): Add a menu.
1569 No need to bind `q' because we derive from special-mode.
1570 (profiler-report-find-entry): Handle calls from the menu-bar.
1571
1572 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
1573
1574 * emacs-lisp/byte-run.el (defun-declarations-alist):
1575 Allow a compiler-macro to be a lambda expression.
1576
1577 * progmodes/python.el: Use cl-lib. Move var declarations outside of
1578 eval-when-compile.
1579 (python-syntax-context): Add compiler-macro.
1580 (python-font-lock-keywords): Simplify with De Morgan.
1581
1582 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
1583
1584 * files.el (load-file): Require match in minibuffer selection, as was
1585 the case in Emacs-20 before we changed the spec to allow .elc files
1586 (bug#12935).
1587
1588 * json.el: Don't require cl since we don't use it.
1589 * color.el: Don't require cl.
1590 (color-complement): `caddr' -> `nth 2'.
1591
1592 * calendar/time-date.el (time-to-seconds): De-obsolete.
1593
1594 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
1595
1596 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
1597 year numbers.
1598 (math-date-to-julian-dt): Adjust the initial approximation for the
1599 year to deal with the new definition of the DATE.
1600
1601 2012-11-19 Daniel Colascione <dancol@dancol.org>
1602
1603 * term/w32-win.el (cygwin-convert-path-from-windows):
1604 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
1605
1606 2012-11-18 Chong Yidong <cyd@gnu.org>
1607
1608 * filecache.el (file-cache--read-list): New function.
1609 (file-cache-add-directory-list, file-cache-add-file-list)
1610 (file-cache-delete-file-list, file-cache-delete-directory-list):
1611 Use it to read a list of files or directories (Bug#12846).
1612 (file-cache-add-file, file-cache-add-directory)
1613 (file-cache-delete-file-list, file-cache-delete-file-regexp)
1614 (file-cache-delete-directory): Print an message.
1615
1616 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
1617
1618 * calc/calc-forms.el (math-date-to-dt): Use integer date when
1619 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
1620
1621 2012-11-18 Glenn Morris <rgm@gnu.org>
1622
1623 * image.el (insert-image, insert-sliced-image): Doc fix.
1624
1625 2012-11-18 Chong Yidong <cyd@gnu.org>
1626
1627 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
1628 (Bug#12810).
1629
1630 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
1631
1632 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
1633 response when the target file is in a subdirectory (Bug#12757).
1634
1635 2012-11-18 Chong Yidong <cyd@gnu.org>
1636
1637 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
1638
1639 2012-11-18 Glenn Morris <rgm@gnu.org>
1640
1641 * emacs-lisp/cl-lib.el (face-underline-p):
1642 Use set-face-underline rather than the alias set-face-underline-p.
1643
1644 * window.el (with-temp-buffer-window): Doc fix.
1645 * subr.el (with-output-to-temp-buffer):
1646 Add doc xref to with-temp-buffer-window.
1647
1648 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
1649
1650 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
1651 * calc/calc.el (math-format-date-cache): Declare.
1652
1653 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
1654
1655 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
1656 It also uses January 1, 1 AD as its day number 1.
1657 * calc/calc-forms.el (math-julian-date-beginning)
1658 (math-julian-date-beginning-int): Implement this.
1659
1660 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
1661
1662 * descr-text.el (quail-find-key):
1663 * dired.el (desktop-file-name):
1664 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
1665 * generic-x.el (comint-mode, comint-exec):
1666 * image-dired.el (widget-forward):
1667 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
1668 (speedbar-change-expand-button-char)
1669 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
1670 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
1671 * printing.el (easy-menu-add-item, easy-menu-remove-item)
1672 (widget-field-action, widget-value-set):
1673 * speedbar.el (imenu--make-index-alist):
1674 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
1675 (ring-length, ring-insert):
1676 * vcursor.el (compare-windows-skip-whitespace):
1677 * woman.el (dired-get-filename):
1678 Declare functions.
1679
1680 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
1681
1682 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1683
1684 * calc/calc.el (calc-gregorian-switch): New variable.
1685
1686 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
1687 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
1688 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
1689 (math-leap-year-p): Add option to distinguish between Julian
1690 and Gregorian calendars.
1691 (math-day-number): Use `math-day-in-year' to do the computations.
1692 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
1693 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
1694 to do the computations.
1695 (math-date-to-dt): Use `math-date-to-julian-dt' and
1696 `math-date-to-gregorian-dt' to do the computations.
1697 (calcFunc-weekday, math-format-date-part): Use the new version of
1698 the DATE to determine the weekday.
1699 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
1700 when necessary.
1701
1702 2012-11-17 Eli Zaretskii <eliz@gnu.org>
1703
1704 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
1705 Cygwin; otherwise use 'file:'. (Bug#12914)
1706 (cygwin-convert-path-from-windows): Declare, to avoid
1707 byte-compiler warnings.
1708
1709 2012-11-17 Andreas Politz <politza@fh-trier.de>
1710
1711 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
1712 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
1713 prefix and negative numeric prefix args (Bug#12795).
1714
1715 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
1716
1717 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
1718 Don't signal an error with a score that is too low to add to the
1719 list of top scores. (Bug#12779)
1720
1721 2012-11-17 Chong Yidong <cyd@gnu.org>
1722
1723 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
1724
1725 * filecache.el (file-cache-add-file): Handle relative file name in
1726 the argument (Bug#12694).
1727
1728 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
1729
1730 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
1731
1732 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
1733
1734 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
1735
1736 * emacs-lisp/cl-lib.el: Set more meaningful version number.
1737
1738 2012-11-16 Martin Rudalics <rudalics@gmx.at>
1739
1740 * window.el (enlarge-window, shrink-window): Don't mention return
1741 value in doc-string (Bug#12896).
1742 (window--display-buffer): Don't resize frames - it won't work
1743 with all window managers and defeat pop-up-frame-alist.
1744 (display-buffer-alist): In doc-string explain that CONDITION can
1745 be a function and which arguments are passed to it (Bug#12854).
1746 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
1747 expressions (Bug#12854).
1748 (display-buffer): Pass ACTION argument to
1749 display-buffer-assq-regexp.
1750
1751 2012-11-16 Glenn Morris <rgm@gnu.org>
1752
1753 * window.el (fit-frame-to-buffer-bottom-margin)
1754 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
1755
1756 * faces.el (face-underline-p): Use face-attribute-specified-or.
1757
1758 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
1759
1760 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
1761
1762 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
1763
1764 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
1765
1766 2012-11-16 Glenn Morris <rgm@gnu.org>
1767
1768 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
1769 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
1770
1771 * faces.el (face-underline-p): Doc fix. Handle :underline being
1772 things other than `t' (a string, a list).
1773 (face-inverse-video-p): Doc fix.
1774 (set-face-underline): Rename it back from set-face-underline-p.
1775 Doc fix. Allow interactive input of values other than t.
1776 (read-face-attribute): Apply formatting to :underline,
1777 since like :box and :stipple it can take list values.
1778
1779 * term.el (ansi-term): Don't let C-x escape-char binding
1780 clobber the more standard C-c binding. (Bug#12842)
1781
1782 * subr.el (set-temporary-overlay-map): Doc fix.
1783
1784 2012-11-16 Martin Rudalics <rudalics@gmx.at>
1785
1786 * window.el (record-window-buffer)
1787 (display-buffer-record-window): When copying the markers to
1788 window-point preserve window-point-insertion-type. (Bug#12588)
1789
1790 2012-11-16 Glenn Morris <rgm@gnu.org>
1791
1792 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
1793 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
1794 Use new names for hooks rather than obsolete aliases.
1795
1796 2012-11-15 Daniel Colascione <dancol@dancol.org>
1797
1798 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
1799 prefix instead of "file:" so that when FILE-NAME begins with "//",
1800 as it does when the target file is on a network share, url-handler
1801 isn't confused.
1802
1803 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1804
1805 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
1806 a preactivated advice from an old advice.el; they're not compatible!
1807
1808 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
1809
1810 * emacs-lisp/nadvice.el (advice--make-interactive-form):
1811 Fix string-spec case.
1812
1813 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
1814
1815 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1816
1817 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
1818 (advice--buffer-local-function-sample): New var.
1819 (advice--set-buffer-local, advice--buffer-local): New functions.
1820 (add-function, remove-function): Use them.
1821
1822 2012-11-15 Drew Adams <drew.adams@oracle.com>
1823
1824 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
1825
1826 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1827
1828 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
1829 potential binding of print-gensym to t, and prettify (back)quotes in
1830 case they appear in args's default values (bug#12884).
1831
1832 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1833
1834 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
1835 (advice-eval-interactive-spec): New function.
1836 (advice--make-interactive-form): Support around advice (bug#12844).
1837
1838 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
1839
1840 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
1841 more strict. Add docstring.
1842 (ruby-expression-expansion-re): Extract from
1843 `ruby-match-expression-expansion'.
1844 (ruby-syntax-propertize-function): After everything else, search
1845 for expansions in string literals, mark their insides as
1846 whitespace syntax and save match data for font-lock.
1847 (ruby-font-lock-keywords): Use the 2nd group from expression
1848 expansion matches.
1849 (ruby-match-expression-expansion): Use the match data saved to the
1850 text property in ruby-syntax-propertize-function.
1851
1852 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1853
1854 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
1855 (bug#12879).
1856
1857 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
1858
1859 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
1860 start/end keyword a bit harder. Works with different values of N.
1861 Add more comments.
1862 (ruby-end-of-block): Update accordingly.
1863
1864 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
1865
1866 * woman.el (woman-file-name): Don't mess with unread-command-events
1867 (bug#12861).
1868
1869 * emacs-lisp/advice.el: Layer on top of nadvice.el.
1870 Remove out of date self-require hack.
1871 (ad-do-advised-functions): Use simple `dolist'.
1872 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
1873 (ad-advice-definition): Redefine as functions.
1874 (ad-advice-classes): Move before first use.
1875 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
1876 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
1877 (ad--defalias-fset): Remove functions.
1878 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
1879 (ad-get-orig-definition): Rewrite.
1880 (ad-make-advised-definition-docstring): Change base docstring.
1881 (ad-real-orig-definition): Rewrite.
1882 (ad-map-arglists): Change name of called function.
1883 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
1884 (ad-make-advised-definition): Simplify.
1885 (ad-assemble-advised-definition): Tweak for new calling context.
1886 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
1887 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
1888 function and call ad-activate if needed.
1889 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
1890 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
1891 (ad-compile-function): Compile ad-Advice-*.
1892 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
1893 (ad-start-advice, ad-stop-advice): Remove.
1894
1895 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
1896
1897 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
1898 period before class method names, not after. Remove handling of
1899 one impossible case. Add comments.
1900
1901 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
1902
1903 * emacs-lisp/advice.el: Remove support for freezing.
1904 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
1905 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
1906 Remove support for `freeze'.
1907
1908 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
1909 override the default.
1910 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
1911 cl--dotimes/dolist.
1912 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
1913 `cl' is loaded.
1914
1915 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
1916 from add-advice.
1917 (advice--strip-macro): New function.
1918 (advice--defalias-fset): Use them to handle macros.
1919 (advice-add): Use them.
1920 (advice-member-p): Correctly handle macros.
1921
1922 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
1923
1924 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1925 Never font-lock the beginning of singleton class as heredoc.
1926
1927 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
1928
1929 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
1930
1931 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
1932
1933 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
1934 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
1935 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
1936
1937 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
1938
1939 Fix end-of-defun misbehavior.
1940 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
1941 python-beginning-of-defun-function. Handle nested defuns
1942 correctly.
1943 (python-nav-end-of-defun): Rename from
1944 python-end-of-defun-function. Ensure forward movement.
1945 (python-info-current-defun): Reimplement to work as intended
1946 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
1947 parent defuns as soon as possible.
1948
1949 2012-11-13 Glenn Morris <rgm@gnu.org>
1950
1951 * progmodes/flymake.el (flymake-error-bitmap)
1952 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
1953 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
1954
1955 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
1956
1957 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
1958 backward, always stop at indentation. Reverts the change from
1959 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
1960
1961 2012-11-13 Glenn Morris <rgm@gnu.org>
1962
1963 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
1964 Add ibuffer-filter-by-derived-mode.
1965
1966 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
1967 the same name shadowing each other.
1968
1969 * window.el (with-temp-buffer-window): Doc tweak.
1970
1971 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
1972
1973 * help.el (temp-buffer-max-height):
1974 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
1975 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
1976
1977 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
1978
1979 * emacs-lisp/nadvice.el: New package.
1980 * subr.el (special-form-p): New function.
1981 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
1982 (elp-all-instrumented-list): Remove var.
1983 (elp-not-profilable): Remove elp-wrapper.
1984 (elp-profilable-p): Use autoloadp and special-form-p.
1985 (elp--advice-name): New const.
1986 (elp-instrument-function): Use advice-add.
1987 (elp--instrumented-p): New predicate.
1988 (elp-restore-function): Use advice-remove.
1989 (elp-restore-all, elp-reset-all): Use mapatoms.
1990 (elp-set-master): Use elp--instrumented-p.
1991 (elp--make-wrapper): Rename from elp-wrapper, return a function
1992 suitable for advice-add. Use cl-inf.
1993 (elp-results): Use mapatoms+elp--instrumented-p.
1994 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
1995 (debug-function-list): Remove var.
1996 (debug): Rename arg, and then let-bind it explicitly inside.
1997 (debugger-setup-buffer): Rename arg.
1998 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
1999 (debugger-frame-number): Adjust to new debug-on-entry setup.
2000 (debug--implement-debug-on-entry): Rename from
2001 implement-debug-on-entry, add argument.
2002 (debugger-special-form-p): Remove, use special-form-p instead.
2003 (debug-on-entry): Use advice-add.
2004 (debug--function-list): New function.
2005 (cancel-debug-on-entry): Use it, along with advice-remove.
2006 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
2007 (debugger-list-functions): Use debug--function-list instead of
2008 debug-function-list.
2009 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
2010 (ad-special-form-p): Remove, use special-form-p instead.
2011 (ad-set-advice-info): Use add-function and remove-function.
2012 (ad--defalias-fset): Adjust accordingly.
2013
2014 2012-11-10 Glenn Morris <rgm@gnu.org>
2015
2016 * mail/emacsbug.el (report-emacs-bug-tracker-url)
2017 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
2018 (report-emacs-bug-create-existing-bugs-buffer)
2019 (report-emacs-bug-parse-query-results)
2020 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
2021
2022 * term.el (term-default-fg-color, term-default-bg-color):
2023 Make obsolete, rather than just saying "deprecated" in the doc.
2024
2025 * term.el (term): Rename from `term-face'.
2026 (term-current-face, ansi-term-color-vector)
2027 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
2028 Update all users.
2029
2030 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
2031
2032 * server.el (server-create-window-system-frame): Handle Nextstep
2033 specially (Bug#12780).
2034
2035 2012-11-10 Glenn Morris <rgm@gnu.org>
2036
2037 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
2038 Unautoload, and make obsolete. (Bug#7449)
2039
2040 2012-11-10 Chong Yidong <cyd@gnu.org>
2041
2042 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
2043 rename from diff-remove-trailing-whitespace (Bug#12831).
2044
2045 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
2046
2047 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
2048 miscompilation of trace.el.
2049
2050 2012-11-10 Glenn Morris <rgm@gnu.org>
2051
2052 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
2053
2054 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
2055
2056 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
2057 (bug#12812).
2058
2059 2012-11-10 Chong Yidong <cyd@gnu.org>
2060
2061 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
2062 a defcustom with an appropriate :set function.
2063 (minibuffer-default--in-prompt-regexps): New function.
2064
2065 2012-11-10 Glenn Morris <rgm@gnu.org>
2066
2067 * emacs-lisp/cl.el (define-setf-expander, defsetf)
2068 (define-modify-macro): Doc fixes.
2069
2070 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
2071 (gv-define-simple-setter): Update doc of `fix-return'.
2072
2073 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
2074
2075 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
2076 twice when `fix-return' is set (bug#12813).
2077
2078 * emacs-lisp/cl.el (defsetf): Pass the third arg to
2079 gv-define-simple-setter (bug#12812).
2080
2081 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
2082 (bug#12756).
2083
2084 2012-11-10 Glenn Morris <rgm@gnu.org>
2085
2086 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
2087
2088 * emacs-lisp/cl-extra.el (cl-prettyexpand):
2089 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
2090 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
2091 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
2092
2093 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
2094
2095 2012-11-10 Leo Liu <sdl.web@gmail.com>
2096
2097 * ido.el (ido-set-matches-1): Improve flex matching performance by
2098 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
2099
2100 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2101
2102 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
2103 (ad--defalias-fset): New function.
2104 (ad-safe-fset): Remove.
2105 (ad-make-freeze-definition): Use cl-letf*.
2106
2107 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2108
2109 * subr.el (dolist): Don't bind VAR in RESULT.
2110
2111 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
2112 (fset, documentation): Don't save real def since we don't advise.
2113 (ad-do-advised-functions): Remove problematic `result-form'.
2114 (ad-safe-fset): `ad-real-fset' => `fset'.
2115 (ad-read-advised-function): Don't assume that ad-do-advised-functions
2116 uses CL's dolist internally.
2117 (ad-arglist): Remove unused arg `name'.
2118 (ad-docstring, ad-make-advised-docstring):
2119 `ad-real-documentation' => `documentation'.
2120 (warning-suppress-types): Declare.
2121 (ad-set-arguments): Simple CSE.
2122 (ad-recover-normality): Sanity check.
2123
2124 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
2125 (funcall '(lambda ..) ..) into ((lambda ..) ..).
2126
2127 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
2128
2129 * ses.el: symbol to coordinate mapping is made by symbol property
2130 `ses-cell'. This means that the same mapping is done for all SES
2131 sheets. That is good enough for cells with standard A1 names, but
2132 not for named cell. So a hash map is added for the latter.
2133 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
2134 (ses-sym-rowcol): Use hashmap for named cell.
2135 (ses-is-cell-sym-p): New defun.
2136 (ses-decode-cell-symbol): New defun.
2137 (ses-create-cell-variable): Add cell to hashmap when name is not
2138 A1-like.
2139 (ses-rename-cell): Check that cell new name is not already in
2140 spreadsheet with the use of ses-is-cell-sym-p
2141 (ses-rename-cell): Use hash map for named cells, but accept also
2142 renaming back to A1-like.
2143
2144 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2145
2146 * emacs-lisp/advice.el: Use new dynamic docstrings.
2147 (ad-make-advised-definition-docstring, ad-advised-definition-p):
2148 Use dynamic-docstring-function instead of ad-advice-info.
2149 (ad--make-advised-docstring): New function extracted from
2150 ad-make-advised-docstring.
2151 (ad-make-advised-docstring): Use it.
2152 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
2153 from sql-help.
2154 (sql-help): Use it with dynamic-docstring-function.
2155
2156 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
2157
2158 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2159
2160 * files.el (hack-one-local-variable--obsolete): New function.
2161 (hack-one-local-variable): Use it for obsolete settings.
2162
2163 * subr.el (locate-user-emacs-file): If both old and new name exist, use
2164 the new name.
2165
2166 * progmodes/js.el (js--filling-paragraph): New var.
2167 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
2168 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
2169 less sneaky.
2170
2171 2012-11-08 Julien Danjou <julien@danjou.info>
2172
2173 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
2174 `auto-mode-alist' (Bug#12835).
2175
2176 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2177
2178 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
2179 (perl--prettify-symbols-alist): New const.
2180 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
2181 New functions.
2182 (perl-font-lock-keywords-2): Use them.
2183 (perl-electric-noindent-p): New function.
2184 (perl-mode): Use it to set up electric-indent-mode.
2185 (perl-electric-terminator, perl-indent-command): Mark obsolete.
2186 (perl-mode-map): Remove bindings for them.
2187 (perl-imenu-generic-expression, perl-outline-level):
2188 Match functions&packages in column>0.
2189
2190 * env.el (env--substitute-vars-regexp): New const.
2191 (substitute-env-vars): Use it. Add `only-defined' arg.
2192 * net/tramp.el (tramp-replace-environment-variables): Use it.
2193
2194 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
2195 Byte-compile *before* eval in eval-and-compile.
2196 (byte-compile-log-warning): Remove redundant inhibit-read-only.
2197 (byte-compile-file-form-autoload): Don't hide actual definition.
2198 (byte-compile-maybe-guarded): Accept `functionp' as well.
2199
2200 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
2201
2202 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
2203
2204 * notifications.el (notifications-get-server-information-method):
2205 New defconst.
2206 (notifications-get-capabilities): Fix docstring.
2207 (notifications-get-server-information): New defun.
2208
2209 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2210
2211 * textmodes/ispell.el (ispell-region): Standard re-indent for better
2212 readability.
2213
2214 * textmodes/ispell.el: Experimental support for support debugging.
2215 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
2216 buffer for ispell.
2217 (ispell-print-if-debug): New function to print stuff to
2218 `ispell-debug-buffer' if debugging is enabled.
2219 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
2220 show some debugging info.
2221 (ispell-buffer-with-debug): New function that creates a debugging
2222 buffer and calls `ispell-buffer' with debugging enabled.
2223
2224 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
2225 comment in autoconf mode. (Bug#12768)
2226
2227 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
2228
2229 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
2230 frame-first-window, frame-root-window, frame-selected-window,
2231 minibuffer-selected-window, minibuffer-window,
2232 window-absolute-pixel-edges, window-at, window-body-height,
2233 window-body-width, window-display-table, window-combination-limit,
2234 window-frame, window-fringes, window-inside-absolute-pixel-edges,
2235 window-inside-edges, window-inside-pixel-edges, window-left-child,
2236 window-left-column, window-margins, window-next-buffers,
2237 window-next-sibling, window-new-normal, window-new-total,
2238 window-normal-size, window-parameter, window-parameters, window-parent,
2239 window-pixel-edges, window-point, window-prev-buffers,
2240 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
2241 window-start, window-text-height, window-top-child, window-top-line,
2242 window-total-height, window-total-width and window-use-time to the list
2243 of functions without side-effects.
2244 (toplevel): Add window-valid-p to the list of error-free functions
2245 without side-effects.
2246
2247 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2248
2249 * textmodes/ispell.el (ispell-program-name):
2250 Update spellchecker parameters when customized.
2251
2252 2012-11-04 Glenn Morris <rgm@gnu.org>
2253
2254 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
2255
2256 2012-11-04 Chong Yidong <cyd@gnu.org>
2257
2258 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
2259 same-window-* variables.
2260
2261 2012-11-04 Juri Linkov <juri@jurta.org>
2262
2263 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
2264 (isearch-describe-key, isearch-describe-mode): Use a display
2265 action instead of binding same-window-* variables (Bug#10040).
2266
2267 2012-11-03 Glenn Morris <rgm@gnu.org>
2268
2269 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
2270 Rename handler properties back from cl-- to cl-. (Bug#12788)
2271
2272 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
2273
2274 2012-11-03 Eli Zaretskii <eliz@gnu.org>
2275
2276 * term/pc-win.el: Don't load term/internal from here.
2277
2278 * loadup.el: Load term/internal from here.
2279
2280 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
2281
2282 * progmodes/python.el (inferior-python-mode): Fix hang in
2283 jit-lock (Bug#12645).
2284
2285 2012-11-03 Martin Rudalics <rudalics@gmx.at>
2286
2287 * window.el (switch-to-visible-buffer)
2288 (switch-to-buffer-preserve-window-point): Fix doc-strings.
2289
2290 2012-11-03 Glenn Morris <rgm@gnu.org>
2291
2292 * emacs-lisp/cl-lib.el (cl--random-time):
2293 Rename from cl-random-time. (Bug#12773)
2294 (cl--gensym-counter, cl--random-state): Update callers.
2295 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
2296
2297 2012-11-03 Chong Yidong <cyd@gnu.org>
2298
2299 * cus-start.el: Make cursor-type customizable (Bug#11633).
2300
2301 2012-11-02 Glenn Morris <rgm@gnu.org>
2302
2303 * filecache.el: No need to load find-lisp when compiling.
2304 (find-lisp-find-files): Autoload it.
2305 (file-cache-add-directory-recursively): Don't require find-lisp.
2306
2307 * image.el (image-type-from-file-name): Trivial simplification.
2308
2309 * emacs-lisp/bytecomp.el (byte-compile-eval):
2310 Decouple "noruntime" and "cl-functions" warnings.
2311
2312 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
2313
2314 * play/gomoku.el (gomoku-display-statistics): Update mode line
2315 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
2316
2317 2012-10-31 Martin Rudalics <rudalics@gmx.at>
2318
2319 * window.el (quit-restore-window): If the window has been
2320 created on an existing frame and ended up as the sole window on
2321 that frame, do not delete it (Bug#12764).
2322
2323 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
2324
2325 * progmodes/sh-script.el (sh--inside-noncommand-expression):
2326 Rename from sh--inside-arithmetic-expression, handle more cases
2327 (bug#11263).
2328
2329 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
2330 (sh-font-lock-open-heredoc): Use it (bug#12770).
2331
2332 2012-10-30 Glenn Morris <rgm@gnu.org>
2333
2334 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
2335
2336 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
2337
2338 2012-10-29 Chong Yidong <cyd@gnu.org>
2339
2340 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
2341 function key is stored in a keyboard macro (Bug#4894).
2342
2343 * thingatpt.el (number-at-point): Apply a thing-at-point property.
2344
2345 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2346
2347 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
2348 header comments".
2349 (diff-unified->context, diff-context->unified)
2350 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
2351
2352 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
2353
2354 * files.el (find-alternate-file): Only ask one question (bug#12487).
2355
2356 2012-10-29 Chong Yidong <cyd@gnu.org>
2357
2358 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
2359 Suggested by Dan Nicolaescu (Bug#6326).
2360
2361 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
2362
2363 * startup.el (fancy-about-screen): Don't message (Bug#12680).
2364
2365 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
2366
2367 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
2368
2369 * face-remap.el (face-remap-add-relative): Handle the case where a
2370 face-remapping-alist entry is a cons cell (Bug#12762).
2371
2372 2012-10-29 Kevin Ryde <user42@zip.com.au>
2373
2374 * woman.el (woman-parse-numeric-value): Handle picas correctly
2375 (Bug#12639).
2376
2377 2012-10-29 Glenn Morris <rgm@gnu.org>
2378
2379 * emacs-lisp/cl.el (defsetf): Doc fix.
2380
2381 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2382
2383 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
2384 syntax to the matching opener, if any (bug#12547).
2385 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
2386 matching open as a "case-(".
2387 (sh-smie-rc-grammar): Add a corresponding rule for it.
2388
2389 2012-10-28 Daniel Hackney <dan@haxney.org>
2390
2391 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
2392 "PKGNAME-autoloads.el" in case we created it.
2393
2394 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2395
2396 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
2397 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
2398 (completion--twq-all): Disable too-strict assertions.
2399
2400 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
2401
2402 2012-10-27 Eli Zaretskii <eliz@gnu.org>
2403
2404 * profiler.el (profiler-report-make-entry-part): Fix help-echo
2405 text to match the real keybindings.
2406
2407 2012-10-27 Juri Linkov <juri@jurta.org>
2408
2409 * wdired.el (wdired-keep-marker-rename): New defcustom.
2410 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
2411 (Bug#11795)
2412
2413 * dired.el (dired-keep-marker-rename): Add reference to
2414 `wdired-keep-marker-rename' in the docstring.
2415 Add default character value ?R to display initially in
2416 Customization UI instead of ?@.
2417
2418 2012-10-27 Martin Rudalics <rudalics@gmx.at>
2419
2420 * window.el (display-buffer): In doc-string describe
2421 window-height and window-width alist entries.
2422
2423 * time.el (display-time-world): Restore fit-window-to-buffer
2424 behavior.
2425
2426 2012-10-27 Chong Yidong <cyd@gnu.org>
2427
2428 * subr.el (insert-buffer-substring-as-yank): Doc fix.
2429
2430 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
2431
2432 * minibuffer.el (completion-category-overrides): New completion
2433 category `bookmark' (bug#11131).
2434
2435 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
2436
2437 * emacs-lisp/advice.el (ad-assemble-advised-definition):
2438 Silence bogus compiler warnings for ad-do-it.
2439
2440 * bookmark.el (bookmark-completing-read): Set the completion category
2441 to `bookmark' (bug#11131).
2442
2443 2012-10-26 Bastien <bzg@altern.org>
2444 Stefan Monnier <monnier@iro.umontreal.ca>
2445
2446 * face-remap.el: Use lexical-binding.
2447 (text-scale-adjust): Improve docstring. Use itself for the temporary
2448 overlay-map bindings, so as to repeat the "Use..." message each time.
2449
2450 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
2451
2452 * emacs-lisp/macroexp.el (macroexp--expand-all):
2453 Obey byte-compile-warning-enabled-p (bug#12486).
2454
2455 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
2456 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
2457
2458 2012-10-26 Martin Rudalics <rudalics@gmx.at>
2459
2460 * mouse.el (mouse-drag-line): Move last form into preceding when
2461 clause (Bug#12731).
2462
2463 * help.el (resize-temp-buffer-window): Fix doc-string.
2464
2465 2012-10-25 David Engster <deng@randomsample.de>
2466
2467 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
2468 Remove. This feature is already integrated in imenu.
2469
2470 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
2471 always loaded. Require `speedbar' unconditionally.
2472
2473 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2474
2475 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
2476
2477 * minibuffer.el (minibuffer-force-complete): Fix thinko.
2478
2479 * net/ldap.el (ldap-search-internal): The official ldif format starts
2480 with a "version: 1" header (bug#12724).
2481
2482 * emacs-lisp/package.el (package-installed-p): Warn if not ready
2483 (bug#12721).
2484
2485 2012-10-25 Glenn Morris <rgm@gnu.org>
2486
2487 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
2488
2489 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2490
2491 * minibuffer.el (minibuffer-force-complete): Use one more marker
2492 for the temporary-overlay-map command (bug#12619).
2493
2494 2012-10-24 Chong Yidong <cyd@gnu.org>
2495
2496 * time.el (display-time-world-mode): Derive from special-mode.
2497 (display-time-world): Use display-buffer (Bug#12708).
2498 (display-time-world-mode-map): Variable deleted.
2499 (display-time-world-display): Wrap the final delete-char inside
2500 inhibit-read-only.
2501
2502 2012-10-24 Chong Yidong <cyd@gnu.org>
2503
2504 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
2505 Doc fix.
2506
2507 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
2508
2509 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2510
2511 * minibuffer.el (completion--all-sorted-completions-location): New var.
2512 (completion--cache-all-sorted-completions)
2513 (completion--flush-all-sorted-completions): Use it.
2514 (completion-in-region, completion-in-region--postch)
2515 (completion-at-point, completion-help-at-point): Use markers in
2516 completion-in-region--data (bug#12619).
2517
2518 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2519
2520 * progmodes/compile.el (compilation-start): Try to handle common
2521 quoting of `cd' argument (bug#12640).
2522
2523 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
2524 (bug#12671).
2525
2526 2012-10-23 Glenn Morris <rgm@gnu.org>
2527
2528 * progmodes/gud.el (gud-menu-map):
2529 Check gdb-active-process is bound. (Bug#12358)
2530
2531 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2532
2533 * repeat.el (repeat): Set real-this-command (bug#12232).
2534
2535 * htmlfontify.el (hfy-post-html-hook):
2536 * filesets.el (filesets-cache-fill-content-hook):
2537 * arc-mode.el (archive-extract-hook):
2538 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
2539 * net/rcirc.el (rcirc-sentinel-functions)
2540 (rcirc-receive-message-functions, rcirc-activity-functions)
2541 (rcirc-print-functions):
2542 * net/dbus.el (dbus-event-error-functions):
2543 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
2544 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
2545 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
2546 * term/sun.el (sun-raw-prefix-hooks):
2547 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
2548
2549 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
2550
2551 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2552 Set `tramp-chunksize' to 1. This improves the performance.
2553 (tramp-smb-wait-for-output): Add timeout to
2554 `tramp-accept-process-output' calls.
2555
2556 2012-10-23 Chong Yidong <cyd@gnu.org>
2557
2558 * faces.el (font-list-limit): Define as an obsolete variable.
2559
2560 * startup.el (command-line):
2561 * cus-start.el: Don't refer to font-list-limit.
2562
2563 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
2564
2565 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2566
2567 * subr.el (internal-temp-output-buffer-show): Rename from
2568 temp-output-buffer-show, since previously compiled files expect this name.
2569
2570 2012-10-23 Glenn Morris <rgm@gnu.org>
2571
2572 * image.el (image-type-from-file-name): If multiple types match,
2573 return the first one that is supported. (Bug#9045)
2574
2575 2012-10-22 Glenn Morris <rgm@gnu.org>
2576
2577 * image.el (imagemagick-enabled-types): Doc fix.
2578
2579 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
2580
2581 * progmodes/which-func.el (which-func-current): The hash-table may have
2582 an explicit nil (bug#12338).
2583
2584 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2585
2586 * electric.el (electric-pair-delete-selection-self-insert-function):
2587 Rename to electric-pair-will-use-region, return a boolean.
2588 (electric-pair-mode): Adjust accordingly. Don't require delsel.
2589
2590 * delsel.el (delete-selection-helper): Use a function instead of a hook.
2591 (delete-selection-pre-hook): Use use-region-p.
2592 (delete-selection-self-insert-function): Remove.
2593 (self-insert-command): Obey self-insert-uses-region-functions.
2594 (self-insert-iso): Revert to previous setting, since we don't actually
2595 know what that command does.
2596 (delete-selection-self-insert-hooks): Remove.
2597
2598 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
2599
2600 * delsel.el (delete-selection-helper): New function, extracted from
2601 delete-selection-pre-hook.
2602 (delete-selection-pre-hook): Use it.
2603 (delete-selection-self-insert-function): New function.
2604 (delete-selection-self-insert-hooks): New hook.
2605 (self-insert-command, self-insert-iso): Use it.
2606 * electric.el (electric-pair-syntax): New function, extracted from
2607 electric-pair-post-self-insert-function.
2608 (electric-pair-post-self-insert-function): Use it.
2609 (electric-pair-delete-selection-self-insert-function): New function.
2610 (electric-pair-mode): Require delsel and setup
2611 delete-selection-self-insert-hooks (bug#11520).
2612
2613 2012-10-20 Chong Yidong <cyd@gnu.org>
2614
2615 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
2616 no changes to show (Bug#12586).
2617
2618 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
2619 list explicitly (Bug#12571).
2620
2621 2012-10-20 Arne Jørgensen <arne@arnested.dk>
2622
2623 * progmodes/flymake.el (flymake-create-temp-inplace):
2624 Use file-truename.
2625
2626 2012-10-20 Eli Zaretskii <eliz@gnu.org>
2627
2628 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
2629
2630 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
2631
2632 * calc/calc-units.el (math-extract-units): Properly extract powers
2633 of units.
2634
2635 2012-10-20 Daniel Colascione <dancol@dancol.org>
2636
2637 * frame.el (make-frame): Set x-display-name as we used to in order
2638 to unbreak creating an X11 frame from an Emacs daemon started
2639 without a display.
2640
2641 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2642
2643 * minibuffer.el (minibuffer-force-complete): Make the next completion use
2644 the same completion-field (bug#12221).
2645
2646 2012-10-19 Martin Rudalics <rudalics@gmx.at>
2647
2648 * emacs-lisp/debug.el (debug): Record height of debugger window
2649 also when debugger will be back (Bug#8789).
2650
2651 2012-10-18 Chong Yidong <cyd@gnu.org>
2652
2653 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
2654 Convert to defcustom.
2655 (gdb-get-source-file): Don't bind pop-up-windows.
2656
2657 * progmodes/gud.el (gud-display-line): Don't specially re-use
2658 other frames for the gdb-mi case (Bug#12648).
2659
2660 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
2661
2662 * emacs-lisp/advice.el: Clean up commentary a bit.
2663 (ad-do-advised-functions, ad-with-originals): Use `declare'.
2664 (byte-code-function-p): Never redefine.
2665
2666 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
2667
2668 2012-10-18 Glenn Morris <rgm@gnu.org>
2669
2670 * dired.el (dired-sort-toggle): Some ls implementations only allow
2671 a single option string. (Bug#12666)
2672
2673 * minibuffer.el (completion-cycle-threshold): Doc fix.
2674
2675 2012-10-17 Kenichi Handa <handa@gnu.org>
2676
2677 * international/mule.el (set-keyboard-coding-system):
2678 Recover input meta mode when the new coding system doesn not use 8-bit.
2679 Supply TERMINAL arg to set-input-meta-mode.
2680
2681 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
2682
2683 * wdired.el (wdired-old-marks): New variable.
2684 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
2685 (wdired-do-renames): Move point with renamed file and don't lose
2686 mark status (Bug#11795).
2687
2688 2012-10-16 Juri Linkov <juri@jurta.org>
2689
2690 * replace.el (query-replace-help): Mention multi-buffer replacement
2691 keys in the Help message. (Bug#12655)
2692
2693 2012-10-15 Chong Yidong <cyd@gnu.org>
2694
2695 * emacs-lisp/byte-run.el (defsubst): Doc fix.
2696
2697 2012-10-14 Eli Zaretskii <eliz@gnu.org>
2698
2699 * window.el (display-buffer): Doc fix.
2700
2701 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2702 Adjust the msft regexp to the output of Studio 2010, and move msft
2703 before edg-1. See the discussion on emacs-devel,
2704 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
2705 for the details.
2706
2707 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
2708
2709 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
2710 (oset): Move uses of object-class-fast macro after its definition.
2711
2712 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
2713
2714 2012-10-13 Chong Yidong <cyd@gnu.org>
2715
2716 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
2717 enabled, re-enable it (Bug#11963).
2718
2719 2012-10-13 Martin Rudalics <rudalics@gmx.at>
2720
2721 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
2722 non-nil, restore window configuration (Bug#12623).
2723
2724 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2725
2726 * help-fns.el (describe-variable, describe-function-1):
2727 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
2728
2729 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
2730
2731 2012-10-12 Glenn Morris <rgm@gnu.org>
2732
2733 * mail/rmailsum.el (rmail-header-summary):
2734 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
2735
2736 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
2737
2738 * progmodes/python.el (python-mode-map):
2739 Replace subtitute-key-definition with proper command remapping.
2740 (python-nav--up-list): Fix behavior for blocks on the same level.
2741
2742 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2743
2744 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
2745
2746 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
2747 changes to the format of load-history.
2748
2749 * international/mule-cmds.el (read-char-by-name): Move let-binding of
2750 completion-ignore-case in case that var is buffer-local (bug#12615).
2751
2752 2012-10-11 Kenichi Handa <handa@gnu.org>
2753
2754 * international/eucjp-ms.el: Re-generated.
2755
2756 2012-10-10 Kenichi Handa <handa@gnu.org>
2757
2758 * select.el (xselect--encode-string): If a coding is specified for
2759 selection, and that is compatible with COMPOUND_TEXT, use it.
2760
2761 2012-10-10 Martin Rudalics <rudalics@gmx.at>
2762
2763 * window.el (switch-to-buffer-preserve-window-point): New option.
2764 (switch-to-buffer):
2765 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
2766
2767 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2768
2769 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
2770 Don't document nil as a useful value (bug#12583).
2771
2772 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
2773
2774 * net/tramp.el (tramp-debug-message):
2775 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
2776 (with-tramp-progress-reporter): Rename from
2777 `tramp-with-progress-reporter'.
2778 (with-tramp-file-property, with-tramp-connection-property):
2779 Move from tramp-cache.el, rename from `with-file-property' and
2780 `with-connection-property', respectively.
2781
2782 * net/tramp-cache.el: Remove `with-file-property' and
2783 `with-connection-property'.
2784
2785 * net/tramp.el:
2786 * net/tramp-gvfs.el:
2787 * net/tramp-sh.el:
2788 * net/tramp-smb.el: Adapt callees.
2789
2790 * net/trampver.el: Update release number.
2791
2792 2012-10-09 Glenn Morris <rgm@gnu.org>
2793
2794 * w32-fns.el (set-message-beep):
2795 * term/w32-win.el (set-message-beep): Update declarations.
2796
2797 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2798
2799 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
2800 (mode-line-widen, mode-line-input-method-map)
2801 (mode-line-coding-system-map, mode-line-remote)
2802 (mode-line-unbury-buffer, mode-line-bury-buffer)
2803 (mode-line-next-buffer, mode-line-previous-buffer):
2804 Replace save-selected-window+select-window => with-selected-window.
2805
2806 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
2807 * progmodes/cc-vars.el (bq-process): Remove, unused.
2808
2809 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
2810
2811 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
2812
2813 Implemented `backward-up-list'-like navigation.
2814 * progmodes/python.el (python-nav-up-list)
2815 (python-nav-backward-up-list): New functions.
2816 (python-mode-map): Define substitute key for backward-up-list to
2817 python-nav-backward-up-list.
2818
2819 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
2820
2821 * progmodes/python.el (python-fill-paragraph): Rename from
2822 python-fill-paragraph-function. Fixed fill-paragraph for
2823 decorators (Bug#12605).
2824
2825 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
2826
2827 * progmodes/python.el (python-shell-output-filter): Handle extra
2828 carriage return in OSX (Bug#12409).
2829
2830 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
2831
2832 Fix shell handling of unbalanced quotes and parens in output.
2833 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
2834 (python-syntax-propertize-function): Use it.
2835 (python-shell-output-syntax-table): New var.
2836 (inferior-python-mode): Prevent unbalanced parens/quotes from
2837 previous output mess with current input context.
2838
2839 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
2840
2841 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
2842 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
2843
2844 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
2845
2846 * ffap.el (ffap-replace-file-component): Support Tramp file name
2847 syntax, not only ange-ftp's one.
2848
2849 2012-10-08 Glenn Morris <rgm@gnu.org>
2850
2851 * cus-start.el (message-log-max): Set :version.
2852
2853 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
2854
2855 2012-10-08 Martin Rudalics <rudalics@gmx.at>
2856
2857 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
2858 the minibuffer window (Bug#10851).
2859
2860 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
2861
2862 Enhancements on forward-sexp movement.
2863 * progmodes/python.el (python-nav-beginning-of-statement)
2864 (python-nav-end-of-statement): Return point-marker.
2865 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
2866 (python-info-current-symbol)
2867 (python-info-statement-starts-block-p): Rename from
2868 python-info-beginning-of-block-p.
2869 (python-info-statement-ends-block-p): Rename from
2870 python-info-end-of-block-p.
2871 (python-info-beginning-of-statement-p)
2872 (python-info-end-of-statement-p)
2873 (python-info-beginning-of-block-p, python-info-end-of-block-p):
2874 New functions.
2875
2876 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2877
2878 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
2879 frame-selected-windows.
2880
2881 2012-10-08 Daniel Colascione <dancol@dancol.org>
2882
2883 * battery.el (battery-status-function): Check for
2884 w32-battery-status itself, not system-time windows-nt.
2885
2886 * frame.el: Require cl-lib.
2887 (display-format-alist): New variable mapping frame types to
2888 functions that initialize them.
2889 (window-system-for-display): New function: interprets
2890 display-format-alist.
2891 (make-frame-on-display): Remove existing display-selection logic
2892 and just forward to make-frame, which will now DTRT.
2893 (make-frame): Restructure to use window-system-for-display to
2894 figure out how to create a frame on a given display.
2895 (display-mouse-p): Look for frame-type w32, not a particular
2896 system-type.
2897
2898 * loadup.el: Load w32 lisp code when we have the w32 feature.
2899
2900 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
2901 system-type windows-nt.
2902
2903 * server.el (server-create-window-system-frame): Look for window
2904 type.
2905 (server-proces-filter): Only force a window system when windows-nt
2906 _and_ w32. Explain why.
2907
2908 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
2909 of window systems we configure for the mode.
2910
2911 * startup.el (command-line): Mark window system is initialized
2912 after we've done it.
2913
2914 * common-win.el (x-select-text): Look for w32, not windows-nt.
2915
2916 * ns-win.el: Require cl-lib. Add ourselves to
2917 display-format-alist.
2918 (ns-initialize-window-system): Assert we're not initialized twice.
2919
2920 * w32-win.el: Enable lexical binding; require cl-lib; add
2921 ourselves to display-format-alist.
2922 (w32-handle-dropped-file): Convert incoming dropped files from
2923 Windows paths to Cygwin ones before passing them on to the rest of
2924 Emacs.
2925 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
2926 (w32-initialize-window-system): Assert we're not initialized twice.
2927
2928 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
2929 (x-initialize-window-system): Assert we're not initialized twice.
2930
2931 * w32-common-fns.el: New File.
2932 (w32-version, w32-using-nt, w32-get-clipboard-data)
2933 (w32-set-clipboard-data, x-set-selection, x-get-selection)
2934 (w32-charset-info-alist, x-last-selected, text)
2935 (x-get-selection-value, x-selection-value): Move here.
2936
2937 * w32-fns.el: Require w32-common-fns.
2938 (w32-version, w32-using-nt, w32-get-clipboard-data)
2939 (w32-set-clipboard-data, x-set-selection, x-get-selection)
2940 (w32-charset-info-alist, x-last-selected, text)
2941 (x-get-selection-value, x-selection-value): Move to
2942 w32-common-fns.
2943
2944 * w32-vars.el:
2945 (w32-allow-system-shell, w32-system-shells): Define only in
2946 non-cygwin case.
2947
2948 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2949
2950 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
2951 (read-passwd): Remove a few more potential sources of leaks.
2952
2953 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
2954
2955 * progmodes/python.el (inferior-python-mode)
2956 (python-shell-make-comint): Fix initialization of local
2957 variables copied from parent buffer.
2958
2959 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
2960
2961 * term/ns-win.el (ns-read-file-name): Update declaration to match
2962 nsfns.m.
2963 (ns-respond-to-change-font): Change fontsize separatly so we are sure
2964 it is set when font is acted upon.
2965
2966 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
2967
2968 Enhancements to indentation.
2969 * progmodes/python.el (python-indent-context): Give priority to
2970 inside-string context. Make comments indentation markers.
2971 (python-indent-region): Do not mess with strings, unless it's the
2972 enclosing set of quotes.
2973
2974 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2975
2976 * window.el (internal--before-save-selected-window)
2977 (internal--after-save-selected-window): New functions extracted from
2978 save-selected-window. Make sure we return the `alist' we construct.
2979 (save-selected-window): Use them.
2980
2981 * textmodes/tex-mode.el (tex-recenter-output-buffer):
2982 Use with-selected-window.
2983
2984 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
2985 forms that define macros (bug#12593).
2986
2987 2012-10-07 Kenichi Handa <handa@gnu.org>
2988
2989 * international/mule-conf.el (compound-text-with-extensions):
2990 Add :mime-charset property as x-ctext.
2991
2992 2012-10-07 Stefan Merten <smerten@oekonux.de>
2993
2994 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
2995 (rst-indent-literal-normal, rst-indent-literal-minimized)
2996 (rst-indent-comment): Correct :version tag.
2997 (rst-official-cvs-rev): Correct version string.
2998
2999 2012-10-07 Glenn Morris <rgm@gnu.org>
3000
3001 * mail/rmailmm.el (rmail-mime-process-multipart):
3002 Do not confuse a multipart message with an epilogue
3003 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
3004
3005 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
3006
3007 Fix shell output retrieval and comint-prompt-regexp init.
3008 * progmodes/python.el (inferior-python-mode):
3009 (python-shell-make-comint): Fix initialization of
3010 comint-prompt-regexp from copied file local variables.
3011 (python-shell-fetched-lines): Remove var.
3012 (python-shell-output-filter-in-progress): Rename from
3013 python-shell-fetch-lines-in-progress.
3014 (python-shell-output-filter-buffer): Rename from
3015 python-shell-fetch-lines-string.
3016 (python-shell-fetch-lines-filter): Delete function.
3017 (python-shell-output-filter): New function.
3018 (python-shell-send-string-no-output): Use them.
3019
3020 2012-10-07 Glenn Morris <rgm@gnu.org>
3021
3022 * hi-lock.el (hi-lock-process-phrase):
3023 Try to make it less fragile. (Bug#7161)
3024
3025 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
3026
3027 2012-10-06 Glenn Morris <rgm@gnu.org>
3028
3029 * ehelp.el (electric-help-mode): Use help-mode rather than
3030 non-existent mode `help'.
3031 (electric-help-map): Use button-buffer-map. (Bug#10917)
3032
3033 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
3034 (reftex-create-bibtex-footer): Fix custom types.
3035
3036 * progmodes/sh-script.el (sh-indent-after-continuation):
3037 Add explicit :group.
3038
3039 * textmodes/rst.el (rst-preferred-decorations)
3040 (rst-shift-basic-offset): Clarify obsolescence versions.
3041
3042 * profiler.el (profiler): Add missing group :version tag.
3043 * avoid.el (mouse-avoidance-banish-position):
3044 * proced.el (proced-renice-command):
3045 * calc/calc.el (calc-ensure-consistent-units):
3046 * calendar/icalendar.el (icalendar-import-format-uid):
3047 * net/tramp.el (tramp-save-ad-hoc-proxies):
3048 * progmodes/bug-reference.el (bug-reference-bug-regexp):
3049 * progmodes/flymake.el (flymake-error-bitmap)
3050 (flymake-warning-bitmap, flymake-fringe-indicator-position):
3051 * progmodes/sh-script.el (sh-indent-after-continuation):
3052 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
3053 (verilog-before-save-font-hook, verilog-after-save-font-hook):
3054 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
3055 (vhdl-array-index-record-field-in-sensitivity-list)
3056 (vhdl-indent-comment-like-next-code-line):
3057 * textmodes/reftex-vars.el (reftex-ref-style-alist)
3058 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
3059 (reftex-cite-key-separator, reftex-create-bibtex-header)
3060 (reftex-create-bibtex-footer):
3061 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
3062 (rst-indent-literal-normal, rst-indent-literal-minimized)
3063 (rst-indent-comment): Add missing custom :version tags.
3064
3065 * calendar/timeclock.el (timeclock-modeline-display):
3066 Add missing obsolete alias for renamed user option.
3067
3068 * strokes.el (strokes-modeline-string):
3069 * emulation/crisp.el (crisp-mode-modeline-string):
3070 * eshell/esh-mode.el (eshell-status-in-modeline):
3071 Aliases to defcustoms must come before the defcustom.
3072
3073 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
3074 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
3075 (cal-tex-cursor-week-monday): Doc fixes.
3076 (cal-tex-cursor-week2-summary): Doc fix.
3077 Rename from cal-tex-cursor-week-at-a-glance.
3078
3079 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
3080 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
3081
3082 * calendar/calendar.el (calendar-mode-map):
3083 Add cal-tex-cursor-week2-summary.
3084
3085 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
3086
3087 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
3088
3089 * subr.el (read-passwd-map): New var.
3090 (read-passwd): Use `read-string' again.
3091 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
3092
3093 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
3094
3095 * register.el (append-to-register, prepend-to-register):
3096 Deactivate mark, as does `copy-to-register' (bug#12389).
3097
3098 2012-10-06 Chong Yidong <cyd@gnu.org>
3099
3100 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
3101
3102 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
3103
3104 * international/characters.el: Fix simple mistake ((car chars) ->
3105 elt), delete duplicated code.
3106
3107 2012-10-06 Glenn Morris <rgm@gnu.org>
3108
3109 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
3110
3111 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
3112
3113 * color.el (color-hsl-to-rgb): Fix incorrect results for
3114 small and large hue values. (Bug#12559)
3115
3116 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
3117
3118 Enhancements to docstring formatting when filling paragraphs.
3119 * progmodes/python.el (python-fill-docstring-style): Rename from
3120 python-fill-string-style. Added new style.
3121 (python-fill-string): Use new style. Better checks for
3122 docstrings.
3123
3124 2012-10-05 Glenn Morris <rgm@gnu.org>
3125
3126 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
3127
3128 * color.el (color-name-to-rgb, color-rgb-to-hex)
3129 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
3130 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
3131 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
3132 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
3133
3134 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
3135
3136 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
3137
3138 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
3139 to get the correct size across symlinks.
3140
3141 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
3142
3143 2012-10-04 Juri Linkov <juri@jurta.org>
3144
3145 * replace.el (query-replace-interactive): Declare obsolete.
3146 (query-replace-read-from): Add the last incremental search string
3147 to the list of default values accessible via M-n.
3148 (map-query-replace-regexp): Use `read-regexp'.
3149 (query-replace, query-replace-regexp, query-replace-regexp-eval)
3150 (map-query-replace-regexp, replace-string, replace-regexp):
3151 Fix docstrings to replace mentions of `query-replace-interactive'
3152 with alternatives. (Bug#12526)
3153
3154 2012-10-04 Juri Linkov <juri@jurta.org>
3155
3156 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
3157 (dired-pop-to-buffer): Declare obsolete.
3158 (dired-mark-pop-up): Doc fix.
3159
3160 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
3161
3162 Allow user to set docstring style for fill-paragraph.
3163 * progmodes/python.el
3164 (python-fill-comment-function, python-fill-string-function)
3165 (python-fill-decorator-function, python-fill-paren-function):
3166 Remove :safe for defcustoms.
3167 (python-fill-string-style): New defcustom
3168 (python-fill-paragraph-function): Enhance context detection.
3169 (python-fill-string): Honor python-fill-string-style settings.
3170
3171 2012-10-04 Martin Rudalics <rudalics@gmx.at>
3172
3173 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
3174 after setting its buffer (Bug#10805).
3175
3176 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
3177
3178 Fix cornercase for string syntax.
3179 * progmodes/python.el (python-syntax-propertize-function):
3180 Simplify and enhance the regexp for unescaped quotes. Now it also
3181 matches quotes in weird situations like the single quote in
3182 "something\"'".
3183 (python-syntax-stringify): Simplify num-quotes detecting code.
3184
3185 2012-10-03 Glenn Morris <rgm@gnu.org>
3186
3187 * help-macro.el (three-step-help):
3188 Revert 2012-09-29 change. (Bug#12567)
3189
3190 2012-10-03 Martin Rudalics <rudalics@gmx.at>
3191
3192 * menu-bar.el (kill-this-buffer): Don't do anything when
3193 `menu-frame' is not alive or visible (Bug#8184).
3194
3195 * emacs-lisp/debug.el (debug): When quitting the debugger window
3196 restore current buffer (Bug#12502).
3197
3198 2012-10-02 Chong Yidong <cyd@gnu.org>
3199
3200 * progmodes/hideif.el (hif-lookup, hif-defined):
3201 Handle semantic-c-takeover-hideif.
3202
3203 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
3204
3205 Change sampling interval units from ms to ns.
3206 * profiler.el (profiler-sampling-interval): Change units
3207 from ms to ns, multiplying the default by 1000000 so that
3208 it remains 1 ms.
3209 (profiler-report-cpu-line-format): Give enough room for
3210 the maximum counters on 64-bit hosts.
3211 (profiler-report-render-calltree-1): Call them "CPU samples",
3212 not "Time (ms)", since they are not milliseconds now (and
3213 never really were).
3214
3215 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
3216
3217 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
3218 Fix querying BBDB for entries without a last name (Bug#11580).
3219
3220 2012-10-02 Chong Yidong <cyd@gnu.org>
3221
3222 * emacs-lisp/eieio.el: Restore Version header.
3223
3224 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
3225
3226 * vc/diff-mode.el (diff--auto-refine-data): New var.
3227 (diff-hunk): Use it to delay refinement.
3228 (diff-mode): Remove overlays when we turn off font-lock.
3229
3230 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
3231 (table-initialize-table-fixed-width-mode)
3232 (table-set-table-fixed-width-mode): Remove functions.
3233 (table-command-list): Move initialization into declaration.
3234 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
3235 (table-with-cache-buffer): Use `declare'.
3236 (table-span-cell): Simplify via CSE.
3237 (table-fixed-width-mode): Use define-minor-mode.
3238 (table-call-interactively, table-funcall, table-apply): Remove.
3239 (table-function): New function, to replace them.
3240
3241 * bookmark.el (bookmark-search-pattern): Remove var.
3242 (bookmark-read-search-input): Remove function.
3243 (bookmark-bmenu-search): Reimplement using a minibuffer.
3244
3245 * faces.el (modeline): Remove obsolete face name.
3246
3247 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
3248 and give a non-nil default value.
3249 (add-change-log-entry): Simplify accordingly.
3250
3251 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
3252
3253 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
3254 (vc-git-log-edit-toggle-amend): New function.
3255 (vc-git-log-edit-toggle-signoff): New function.
3256 (vc-git-log-edit-mode): New major mode.
3257 (vc-git-log-edit-mode-map): Keymap for it.
3258 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
3259
3260 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
3261 header names.
3262 (log-edit-toggle-header): New function.
3263 (log-edit-extract-headers): Accept function values in HEADERS alist.
3264
3265 2012-10-01 David Engster <deng@randomsample.de>
3266
3267 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
3268 from symbol property and change message to be more consistent with
3269 Emacs proper.
3270 (eieio-describe-generic): Add filename for each implementation.
3271 Fix indices for generic and normal methods.
3272 (eieio-method-def, eieio-class-def): New buttons.
3273 (eieio-help-find-method-definition)
3274 (eieio-help-find-class-definition): New functions.
3275 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
3276 class, constructor and method definitions.
3277
3278 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
3279 information in symbol property.
3280 (scoped-class): Remove.
3281 (eieio-slot-name-index, call-next-method): Check if it is bound.
3282
3283 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
3284
3285 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
3286 (eieio-custom-mode): New major mode.
3287 (eieio-customize-object): Use it.
3288
3289 2012-10-01 Eric Ludlam <zappo@gnu.org>
3290
3291 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
3292 specifying the expected class, and whether subclassing is allowed.
3293 (eieio-persistent-convert-list-to-object):
3294 (eieio-persistent-validate/fix-slot-value)
3295 (eieio-persistent-slot-type-is-class-p): New functions.
3296 (eieio-named::slot-missing): Doc fix.
3297
3298 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
3299 Stop using unused publd variable.
3300
3301 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
3302 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
3303 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
3304 (eieio-speedbar-handle-click): Do not specify a class for the
3305 method. Fixes method invocation order problems with EDE.
3306
3307 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3308
3309 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
3310 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
3311
3312 2012-10-01 Karl Fogel <kfogel@red-bean.com>
3313
3314 * bookmark.el (bookmark-version-control): Give tags in the
3315 :type choices (Bug#12309), and improve doc string.
3316 (bookmark-write-file): Bind `print-circle' to `t' to allow
3317 circular custom bookmark types. (Bug#12503)
3318
3319 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
3320
3321 Revert the FOLLOW-SYMLINKS change for file-attributes.
3322 * files.el (remote-file-name-inhibit-cache, after-find-file):
3323 * time.el (display-time-file-nonempty-p): Undo last change.
3324
3325 * profiler.el (profiler-sampling-interval): Change default back to 1.
3326 See Stefan Monnier in
3327 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
3328
3329 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
3330
3331 Shell output catching a la gud-gdb.
3332 * progmodes/python.el (python-shell-fetch-lines-in-progress)
3333 (python-shell-fetch-lines-string, python-shell-fetched-lines):
3334 New Vars.
3335 (python-shell-fetch-lines-filter): New function.
3336 (python-shell-send-string-no-output): Use them.
3337
3338 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
3339
3340 * profiler.el (profiler-sampling-interval): Rename from
3341 profiler-sample-interval.
3342 (profiler-sampling-interval): Default to 10.
3343 (profiler-find-profile): New command (was profiler-find-log).
3344 (profiler-find-profile-other-window): New command.
3345 (profiler-find-profile-other-frame): New command.
3346 (profiler-profile): Introduce API-level data structure.
3347
3348 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
3349
3350 file-attributes has a new optional arg FOLLOW-SYMLINKS.
3351 * files.el (remote-file-name-inhibit-cache):
3352 * time.el (display-time-file-nonempty-p): Use it.
3353 * files.el (after-find-file): Don't chase links before calling
3354 file-exists-p, as file-exists-p already does the right thing.
3355
3356 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
3357
3358 Merge from standalone RefTeX repository.
3359
3360 The following ChangeLog entries are shortened versions of the
3361 original ones with file paths adapted. A not so strongly edited
3362 version of the original ChangeLog can be found in the commit log.
3363
3364 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
3365 (reftex-arg-cite): Use `reftex-cite-key-separator'.
3366 Correctly handle new value type returned by `reftex-citation'.
3367
3368 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
3369 that entries with whitespace at various places are found.
3370 Doc fix. Include entries that are cross-referenced from cited entries.
3371 Include @String definitions in the resulting bib file. Add header
3372 and footer defined in `reftex-create-bibtex-header' and
3373 `reftex-create-bibtex-footer'.
3374 (reftex-do-citation): Make it possible again to insert
3375 non-existent entries. Save match data when asking for optional
3376 arguments. Return all keys, not just the first one.
3377 (reftex-all-used-citation-keys): Fix regexp to correctly extract
3378 all citations in the same line.
3379 (reftex-parse-bibtex-entry): Accept additional optional argument
3380 `raw' and keep quotes or braces if it is non-nil. Match fields
3381 containing hyphens besides word constituents.
3382 (reftex-get-string-refs): New function.
3383 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
3384 and ask if it should be reread in case it did.
3385 (reftex-pop-to-bibtex-entry)
3386 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
3387 entries with spaces or tabs in front of arguments.
3388 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
3389 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
3390 Match entries containing numbers and symbol constituents.
3391 (reftex-do-citation, reftex-figure-out-cite-format):
3392 Use `reftex-cite-key-separator'.
3393
3394 * textmodes/reftex-dcr.el: Move provide statement to end of file.
3395 (reftex-mouse-view-crossref): Explain why point is set.
3396
3397 * textmodes/reftex-global.el: Whitespace changes.
3398
3399 * textmodes/reftex-index.el: Move provide statement to end of
3400 file.
3401 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
3402 (reftex-index-visit-phrases-buffer): Set marker when visiting
3403 buffer. This allows for returning from the phrases file to the
3404 file one was just editing instead of the file where the last
3405 phrases was added from.
3406 (reftex-index-phrases-syntax-table): New variable. Give ?\"
3407 punctuation syntax as it usually is not used as string quote in
3408 TeX-related modes and may occur unmatched. The change also
3409 prevents fontification of quoted content.
3410 (reftex-index-phrases-mode): Use it.
3411
3412 * textmodes/reftex-parse.el (reftex-parse-from-file):
3413 Move backward one char if a `\' was matched after a section macro.
3414 (reftex-parse-from-file): Use beginning of match instead of end as
3415 bound.
3416
3417 * textmodes/reftex-ref.el: Adapt creation of
3418 `reftex-<package>-<macro>' functions to new structure of
3419 `reftex-ref-style-alist'.
3420 (reftex-reference): Use `reftex-ref-style-list' function.
3421 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
3422 reference macro if `reftex-ref-macro-prompt' is non-nil.
3423 (reftex-reference): Pass refstyle to `reftex-format-special'.
3424 Determine reference macro by looking at
3425 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
3426 Use only one special format function.
3427 (reftex-varioref-vref, reftex-fancyref-fref)
3428 (reftex-fancyref-Fref): Remove definitions. The functions are now
3429 generated from `reftex-ref-style-alist'.
3430 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
3431 Remove.
3432 (reftex-format-special): New function.
3433
3434 * textmodes/reftex-sel.el
3435 (reftex-select-cycle-ref-style-internal): Adapt to new structure
3436 of `reftex-ref-style-alist'. Remove code for testing macro type.
3437 (reftex-select-toggle-varioref)
3438 (reftex-select-toggle-fancyref): Remove.
3439 (reftex-select-cycle-ref-style-internal)
3440 (reftex-select-cycle-ref-style-forward)
3441 (reftex-select-cycle-ref-style-backward): New functions.
3442 (reftex-select-label-map): Use `v' and `V' for general cycling
3443 through reference styles. Add `p' for switching between number
3444 and page reference types.
3445
3446 * textmodes/reftex-toc.el (reftex-re-enlarge):
3447 Call `enlarge-window' only if there is something to do because in Emacs
3448 the horizontal version throws an error even if the parameter is 0.
3449
3450 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
3451 (reftex-plug-into-AUCTeX): Doc fix.
3452 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
3453 string. Adapt to new name.
3454 (reftex-ref-style-alist): Change structure so that it is not
3455 possible to use multiple different package names within a style.
3456 Remove the symbols for symbols for macro type distinction.
3457 Add characters for macro selection.
3458 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
3459 (reftex-create-bibtex-footer): New variables.
3460 (reftex-format-ref-function): Mention third argument of special
3461 format function.
3462 (reftex-ref-style-alist, reftex-ref-style-default-list):
3463 New variables.
3464 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
3465 to new implementation. Mark as obsolete. Add compatibility code
3466 for honoring the variable values in case they are set.
3467 (reftex-cite-format-builtin, reftex-bibliography-commands):
3468 Add support for ConTeXt.
3469 (reftex-format-ref-function, reftex-format-cite-function):
3470 Fix custom type.
3471 (reftex-cite-key-separator): New variable.
3472
3473 * textmodes/reftex.el (reftex-syntax-table-for-bib)
3474 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
3475 `reftex-syntax-table' because parens have to retain their paren
3476 syntax in order for parsing of BibTeX entries like @book(...) to
3477 work.
3478 (reftex-in-comment): Do not error out if `comment-start-skip' is
3479 not set. Deal correctly with escaped comment characters.
3480 (reftex-tie-multifile-symbols): Add doc string.
3481 Initialize `reftex-ref-style-list'.
3482 (reftex-untie-multifile-symbols): Add doc string.
3483 (reftex-add-index-macros): Doc fix.
3484 (reftex-ref-style-activate, reftex-ref-style-toggle)
3485 (reftex-ref-style-list): New functions.
3486 (reftex-mode-menu): Use them. Adapt to new structure of
3487 `reftex-ref-style-alist'.
3488 (reftex-select-with-char): Kill the RefTeX Select buffer when
3489 done.
3490 (reftex-remove-if): New function.
3491 (reftex-erase-all-selection-and-index-buffers)
3492 (reftex-mode-menu): Reference styles are now computed from
3493 `reftex-ref-style-alist'. Fix typo.
3494 (reftex-report-bug): New function.
3495 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
3496 algorithms with O(n log n). Introduce optional argument SORT (not
3497 yet used).
3498
3499 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
3500
3501 Enhancements for triple-quote string syntax.
3502 * progmodes/python.el (python-syntax-propertize-function):
3503 Match both quote cases in one regexp.
3504 (python-syntax-stringify): Handle matches properly.
3505
3506 2012-09-30 Juri Linkov <juri@jurta.org>
3507
3508 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
3509 to nil around the call to `insert' to prevent
3510 directory time modification by lock_file. (Bug#2295)
3511 * tar-mode.el (tar-summarize-buffer): Idem.
3512
3513 2012-09-30 Juri Linkov <juri@jurta.org>
3514
3515 * facemenu.el (list-colors-sort): Add option "Luminance".
3516 (list-colors-sort-key): Implement it.
3517
3518 * vc/diff-mode.el (diff-refine-removed):
3519 * vc/ediff-init.el (ediff-fine-diff-A):
3520 * vc/smerge-mode.el (smerge-refined-removed):
3521 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
3522
3523 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
3524
3525 * term/ns-win.el (x-file-dialog): New function.
3526
3527 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
3528
3529 * ido.el (ido-max-directory-size): Default to nil; the current
3530 default is small for POSIX systems, and impractical on Windows 7
3531 now that lstat returns directory sizes for NTFS.
3532
3533 2012-09-30 Martin Rudalics <rudalics@gmx.at>
3534
3535 In buffer display functions handle window-height/window-width
3536 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
3537 * window.el (window--display-buffer): New argument ALIST.
3538 Obey window-height and window-width alist entries.
3539 (window--try-to-split-window): New argument ALIST.
3540 Bind window-combination-limit to t when the window's size shall be
3541 changed and window-combination-limit equals `window-size'.
3542 (display-buffer-in-atom-window)
3543 (display-buffer-in-major-side-window)
3544 (display-buffer-in-side-window, display-buffer-same-window)
3545 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3546 (display-buffer-pop-up-window, display-buffer-below-selected)
3547 (display-buffer-at-bottom, display-buffer-in-previous-window)
3548 (display-buffer-use-some-window): Adjust all callers of
3549 window--display-buffer and window--try-to-split-window.
3550 (fit-frame-to-buffer): New option.
3551 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
3552 is non-nil.
3553 (display-buffer-in-major-side-window): Evaluate window-height /
3554 window-width alist entries.
3555
3556 * help.el (temp-buffer-resize-frames)
3557 (temp-buffer-resize-regexps): Remove options.
3558 (temp-buffer-resize-mode): Adjust doc-string.
3559 (resize-temp-buffer-window): Don't consult
3560 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
3561 temp-buffer-resize-frames.
3562
3563 * dired.el (dired-mark-pop-up):
3564 Call display-buffer-below-selected with a fit-window-to-buffer alist
3565 entry.
3566
3567 2012-09-30 Chong Yidong <cyd@gnu.org>
3568
3569 * server.el (server-host): Document the security implications.
3570 (server-auth-key): Doc fix.
3571
3572 * startup.el (initial-buffer-choice): Doc fix.
3573
3574 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
3575
3576 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
3577 restriction change.
3578
3579 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
3580
3581 * help-fns.el (help-fns--obsolete): Fix last change.
3582
3583 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
3584
3585 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
3586 (minor-mode-map-alist): Remove redundant code.
3587
3588 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
3589 visited in a buffer.
3590 (cvs-insert-visited-file): New function.
3591 (find-file-hook): Use it.
3592
3593 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
3594
3595 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
3596 chose face.
3597 (log-edit-empty-buffer-p): Don't require a space after a header.
3598
3599 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
3600
3601 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
3602
3603 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
3604 a proper minor-mode.
3605
3606 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
3607
3608 2012-09-29 Glenn Morris <rgm@gnu.org>
3609
3610 * winner.el (winner-mode): Remove variable (let define-minor-mode
3611 handle it).
3612 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
3613 Doc fixes.
3614 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
3615 (winner-mode): Use define-minor-mode.
3616
3617 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
3618 the full definition in loaddefs, rather than duplicating it.
3619
3620 * help-macro.el (three-step-help): No need to autoload defcustom.
3621
3622 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
3623 (inferior-lisp-program, inferior-lisp-load-command)
3624 (inferior-lisp-prompt, inferior-lisp-mode-hook):
3625 No need to autoload defcustoms.
3626
3627 * hippie-exp.el (hippie-expand-try-functions-list)
3628 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
3629 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
3630 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
3631 (hippie-expand-only-buffers): No need to autoload defcustoms.
3632 * progmodes/vhdl-mode.el (vhdl-line-expand):
3633 Explicitly load hippie-exp, so it does not get autoloaded
3634 while hippie-expand-try-functions-list is let-bound.
3635
3636 2012-09-28 Glenn Morris <rgm@gnu.org>
3637
3638 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
3639
3640 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
3641 Only "cl.el" counts as cl these days.
3642
3643 2012-09-28 Juri Linkov <juri@jurta.org>
3644
3645 Display archive errors in the echo area instead of inserting
3646 to the file buffer.
3647
3648 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
3649 to STDERR-TEST that can be a regexp matching a successful output.
3650 Create a temporary file and redirect stderr to it. Search for
3651 STDERR-TEST in the stderr output and display it in the echo area
3652 if no match is found.
3653 (archive-extract-by-file): New function like
3654 `archive-extract-by-stdout' but extracting archives to files
3655 and looking for successful matches in stdout. Function body is
3656 mostly copied from `archive-rar-extract'.
3657 (archive-rar-extract): Use `archive-extract-by-file'.
3658 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
3659
3660 2012-09-28 Leo Liu <sdl.web@gmail.com>
3661
3662 * pcomplete.el (pcomplete-show-completions):
3663 Use minibuffer-message to make pcomplete usable in minibuffer.
3664
3665 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
3666
3667 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3668
3669 * type-break.el: Use lexical-binding.
3670 (type-break-mode): Use define-minor-mode.
3671
3672 * emacs-lisp/pcase.el (pcase--mark-used): New.
3673 (pcase--u1): Use it (bug#12512).
3674
3675 * custom.el (load-theme): Set buffer-file-name so the load is recorded
3676 in load-history with the right file name.
3677
3678 2012-09-28 Tassilo Horn <tsdh@gnu.org>
3679
3680 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
3681 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
3682 (doc-view-get-bounding-box): Make bounding box slicing work for
3683 ODF and DVI documents.
3684
3685 2012-09-28 Glenn Morris <rgm@gnu.org>
3686
3687 * type-break.el (type-break-mode, type-break-interval)
3688 (type-break-good-rest-interval, type-break-keystroke-threshold):
3689 No need to autoload.
3690 (type-break-good-rest-interval, type-break-keystroke-threshold):
3691 Add :set-after.
3692
3693 2012-09-28 Chong Yidong <cyd@gnu.org>
3694
3695 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
3696 Add :version tag.
3697
3698 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
3699
3700 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
3701
3702 2012-09-27 Glenn Morris <rgm@gnu.org>
3703
3704 * faces.el (x-display-name): Declare (for without-x builds).
3705
3706 * linum.el (linum-format): Don't autoload it. Improve :type.
3707
3708 * progmodes/tcl.el: Don't require outline when compiling.
3709 (outline-regexp, outline-level): Declare.
3710 * textmodes/sgml-mode.el: Don't require outline when compiling.
3711 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
3712
3713 * term.el (term-ansi-reset):
3714 Try setting term-ansi-face-already-done to nil. (Bug#11785)
3715
3716 * vc/vc.el (vc-next-action): Only gripe about committing read-only
3717 files for RCS and SCCS. (Bug#9781)
3718
3719 2012-09-27 Chong Yidong <cyd@gnu.org>
3720
3721 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
3722 change; value should be t.
3723
3724 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
3725
3726 * image-mode.el: Use lexical-binding.
3727 (image-mode-winprops): Use t to stand for the window of
3728 a buffer that's not displayed.
3729 * doc-view.el (doc-view-new-window-function): Handle the new
3730 t in winprops.
3731 (doc-view-enlarge): Make it a real nop if the size is not changed.
3732 (doc-view-display): Handle the case where the buffer is not (yet?)
3733 displayed in any window.
3734 (doc-view-saved-settings): New var.
3735 (doc-view-mode): Use it.
3736 (doc-view-fallback-mode): Set it.
3737
3738 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
3739 Set lexical-binding.
3740 (minibuffer-eldef-shorten-default): New var.
3741 (minibuffer-default-in-prompt-regexps): Use it for new default.
3742 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
3743
3744 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
3745
3746 * international/uni-bidi.el:
3747 * international/uni-category.el:
3748 * international/uni-name.el:
3749 * international/uni-numeric.el: Regenerate.
3750
3751 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
3752 Stefan Monnier <monnier@iro.umontreal.ca>
3753
3754 * profiler.el: New file.
3755
3756 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
3757
3758 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
3759 (testcover-reinstrument): Simplify with CSE.
3760
3761 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
3762
3763 * window.el (temp-buffer-window-setup): Fix typo in docstring.
3764
3765 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
3766
3767 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
3768 (verilog-auto-input, verilog-auto-insert-lisp)
3769 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
3770 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
3771 (verilog-auto-unused, verilog-auto-wire)
3772 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
3773 newline. Reported by Andrew Jones.
3774 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
3775 Reported by Brad Dobbie.
3776 (verilog-batch-delete-trailing-whitespace):
3777 Create verilog-batch-delete-trailing-whitespace.
3778 Reported by Brad Dobbie.
3779 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
3780 parameters from another module. Reported by Dan Katz.
3781 (verilog-auto, verilog-auto-assign-modport)
3782 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
3783 AUTOINOUTMODPORT for UVM interface module shell generation.
3784 Reported by Brad Dobbie.
3785 (verilog-auto-inst-interfaced-ports): Make default nil, as more
3786 standard behavior.
3787 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
3788 Reported by Matt Martin.
3789
3790 2012-09-25 Martin Rudalics <rudalics@gmx.at>
3791
3792 * window.el (window--resize-child-windows): When resizing child
3793 windows proportionally, process them in reverse order to
3794 preserve the "when splitting a window the new one gets the odd
3795 line" behavior.
3796 (window--resize-root-window-vertically): When resizing the
3797 minibuffer window try to affect only windows at the bottom of the
3798 frame. (Bug#12419)
3799
3800 2012-09-25 Chong Yidong <cyd@gnu.org>
3801
3802 * subr.el (declare): Doc fix.
3803
3804 * help-fns.el (help-fns--obsolete): Handle macros properly.
3805
3806 2012-09-25 Chong Yidong <cyd@gnu.org>
3807
3808 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
3809 this function obsolete.
3810
3811 * calendar/cal-x.el (calendar-two-frame-setup)
3812 (calendar-only-one-frame-setup, calendar-one-frame-setup):
3813 * calendar/calendar.el (american-calendar, european-calendar)
3814 (calendar-for-loop):
3815 * comint.el (comint-dynamic-simple-complete)
3816 (comint-dynamic-complete-as-filename, comint-unquote-filename):
3817 * desktop.el (desktop-load-default):
3818 * dired-x.el (dired-omit-here-always)
3819 (dired-hack-local-variables, dired-default-directory):
3820 * emacs-lisp/derived.el (derived-mode-class):
3821 * emacs-lisp/timer.el (timer-set-time-with-usecs):
3822 * emacs-lock.el (toggle-emacs-lock):
3823 * epa.el (epa-display-verify-result):
3824 * epg.el (epg-sign-keys, epg-start-sign-keys)
3825 (epg-passphrase-callback-function):
3826 * eshell/esh-util.el (eshell-for):
3827 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
3828 (eshell-add-to-window-buffer-names):
3829 * files.el (locate-file-completion):
3830 * imenu.el (imenu-example--create-c-index)
3831 (imenu-example--create-lisp-index)
3832 (imenu-example--lisp-extract-index-name)
3833 (imenu-example--name-and-position):
3834 * international/mule-cmds.el (princ-list):
3835 * international/mule-diag.el (decode-codepage-char):
3836 * international/mule-util.el (detect-coding-with-priority):
3837 * iswitchb.el (iswitchb-read-buffer):
3838 * mail/mailalias.el (mail-complete):
3839 * mail/sendmail.el (mail-sent-via):
3840 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
3841 (mouse-major-mode-menu):
3842 * password-cache.el (password-read-and-add):
3843 * pcomplete.el (pcomplete-parse-comint-arguments):
3844 * progmodes/sh-script.el (sh-maybe-here-document):
3845 * replace.el (query-replace-regexp-eval):
3846 * savehist.el (savehist-load):
3847 * simple.el (choose-completion-delete-max-match):
3848 * term.el (term-dynamic-simple-complete):
3849 * vc/ediff-init.el (ediff-check-version):
3850 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
3851 * vc/vc.el (vc-diff-switches-list):
3852 * view.el (view-return-to-alist-update): Likewise.
3853
3854 * subr.el (eval-next-after-load, makehash, insert-string)
3855 (assoc-ignore-representation, assoc-ignore-case): Use declare to
3856 mark obsolete.
3857 (mode-line-inverse-video): Variable deleted.
3858
3859 * international/mule-util.el (string-to-sequence): Remove.
3860
3861 * calendar/calendar.el (calendar-version):
3862 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
3863 (icalendar-convert-diary-to-ical):
3864 * cus-edit.el (custom-mode):
3865 * ansi-color.el (ansi-color-unfontify-region):
3866 * international/latin1-disp.el (latin1-char-displayable-p):
3867 * progmodes/cwarn.el (turn-on-cwarn-mode):
3868 * progmodes/which-func.el (which-func-update-1):
3869 Use define-obsolete-function-alias.
3870
3871 * net/newst-backend.el (newsticker-cache-filename):
3872 * net/newst-treeview.el (newsticker-groups-filename):
3873 Fix incorrect obsolescence declaration.
3874
3875 * allout.el (allout-passphrase-hint-string): Likewise.
3876 (allout-init): Use a declare form to mark obsolete.
3877
3878 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
3879 this applies to functions.
3880
3881 * iswitchb.el (iswitchb-read-buffer): Move code of
3882 iswitchb-define-mode-map here, and delete that obsolete function.
3883
3884 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
3885 font-lock-reference-face.
3886
3887 2012-09-25 Glenn Morris <rgm@gnu.org>
3888
3889 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
3890 Doc fixes.
3891
3892 * eshell/em-term.el (eshell-term-name):
3893 Default to term-term-name. (Bug#12485)
3894
3895 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
3896
3897 * progmodes/python.el (python-shell-send-buffer): Better handling
3898 of "if __name__ == '__main__':" conditionals when sending the buffer.
3899
3900 2012-09-24 Glenn Morris <rgm@gnu.org>
3901
3902 * eshell/esh-cmd.el (eshell-find-alias-function):
3903 Tighten up file-name regexp. (Bug#12499)
3904
3905 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
3906
3907 Enhancements for triple-quote string syntax.
3908 * progmodes/python.el (python-quote-syntax): Remove.
3909 (python-syntax-propertize-function): New value.
3910 (python-syntax-count-quotes, python-syntax-stringify):
3911 New functions.
3912
3913 2012-09-24 Chong Yidong <cyd@gnu.org>
3914
3915 * mail/supercite.el (sc-version): Remove obsolete function.
3916 (sc-describe): Don't mark as obsolete, since it is bound.
3917 (sc-submit-bug-report): Remove.
3918
3919 * vc/log-edit.el (cvs-changelog-full-paragraphs)
3920 (cvs-commit-buffer-require-final-newline): Remove.
3921 (log-edit-require-final-newline)
3922 (log-edit-changelog-full-paragraphs): Default to t.
3923
3924 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
3925 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
3926 * vc/vc.el (vc-checkout-carefully): Likewise.
3927
3928 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
3929 (emerge-version): Remove.
3930
3931 * progmodes/compile.el (compile-internal): Remove.
3932 (compilation-parse-errors-function): Fix typo.
3933
3934 * international/mule.el (set-char-table-default): Remove.
3935 (set-coding-priority, make-coding-system, generic-char-p)
3936 (charset-list, charset-bytes, charset-id): Use declare to mark
3937 functions as obsolete.
3938
3939 * vc/pcvs-defs.el (cvs-buffer-name-alist)
3940 (cvs-invert-ignore-marks): Remove references to obsolete vars.
3941 * vc/vc-hooks.el (vc-default-registered): Don't use
3942 vc-master-templates.
3943
3944 * font-lock.el (font-lock-reference-face):
3945 Use define-obsolete-variable-alias.
3946
3947 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
3948 * calendar/calendar.el (calendar-font-lock-keywords):
3949 * calendar/diary-lib.el (diary-font-lock-keywords)
3950 (diary-fancy-font-lock-keywords):
3951 * textmodes/reftex-sel.el (reftex-insert-docstruct):
3952 * textmodes/reftex-index.el (reftex-insert-index):
3953 * textmodes/reftex-cite.el (reftex-format-bib-entry):
3954 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3955 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
3956 * progmodes/prolog.el (prolog-font-lock-keywords):
3957 * progmodes/idlwave.el (idlwave-idl-keywords):
3958 * progmodes/ada-mode.el (ada-font-lock-keywords):
3959 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
3960
3961 2012-09-24 Glenn Morris <rgm@gnu.org>
3962
3963 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
3964
3965 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
3966
3967 * progmodes/python.el (python-indent-line): More consistent cursor
3968 movement behavior.
3969
3970 2012-09-23 Stefan Merten <smerten@oekonux.de>
3971
3972 * textmodes/rst.el: Fix compiler warning.
3973
3974 2012-09-23 Roland Winkler <winkler@gnu.org>
3975
3976 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
3977 Transcribe also LaTeX hyphenation.
3978 (bibtex-reformat): Bug fix. Do not quote twice the elements of
3979 bibtex-reformat-previous-options.
3980
3981 2012-09-23 Roland Winkler <winkler@gnu.org>
3982
3983 * proced.el (proced-renice-command): New variable.
3984 (proced-marked-processes): New function.
3985 (proced-with-processes-buffer): New macro.
3986 (proced-send-signal): Use them.
3987 (proced-renice): New command bound to r.
3988
3989 2012-09-23 Roland Winkler <winkler@gnu.org>
3990
3991 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
3992 ibuffer-saved-filter-groups has one element, shortcut the call of
3993 completing-read. (Bug#12331)
3994
3995 2012-09-23 Chong Yidong <cyd@gnu.org>
3996
3997 * bindings.el (mode-line-toggle-read-only):
3998 * bs.el (bs-toggle-readonly):
3999 * buff-menu.el (Buffer-menu-toggle-read-only):
4000 * dired.el (dired-toggle-read-only):
4001 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
4002
4003 2012-09-23 Chong Yidong <cyd@gnu.org>
4004
4005 * image.el (image-type-available-p): Adapt to init-image-library
4006 argument changes.
4007
4008 2012-09-22 Juri Linkov <juri@jurta.org>
4009
4010 * dired.el (dired-mode-map): Add [remap read-only-mode] for
4011 `dired-toggle-read-only'. (Bug#12462)
4012
4013 2012-09-22 Martin Rudalics <rudalics@gmx.at>
4014
4015 * subr.el (temp-output-buffer-show): New function.
4016 (with-output-to-temp-buffer): Call temp-output-buffer-show
4017 instead of internal-temp-output-buffer-show.
4018
4019 2012-09-22 Chong Yidong <cyd@gnu.org>
4020
4021 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
4022 (Bug#12462).
4023
4024 * repeat.el (repeat): Doc fix (Bug#12348).
4025
4026 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
4027 (Bug#10909).
4028
4029 * simple.el (shell-command-on-region): Doc fix.
4030 (read-only-mode): Doc fix.
4031
4032 2012-09-22 Eli Zaretskii <eliz@gnu.org>
4033
4034 * emacs-lisp/timer.el (run-with-idle-timer)
4035 (timer-activate-when-idle): Warn against reinvoking an idle timer
4036 from within its own timer action. (Bug#12447)
4037
4038 2012-09-22 Martin Rudalics <rudalics@gmx.at>
4039
4040 * cus-start.el (window-combination-limit): Add new optional
4041 values.
4042 * window.el (temp-buffer-window-show)
4043 (window--try-to-split-window): Handle new values of
4044 window-combination-limit (Bug#1806).
4045 (split-window): Test window-combination-limit for t instead of
4046 non-nil.
4047 (display-buffer-at-bottom): New buffer display action function.
4048 * help.el (temp-buffer-resize-regexps): New option.
4049 (temp-buffer-resize-mode): Rewrite doc-string.
4050 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
4051 Don't resize reused window. Suggested by Glenn Morris.
4052
4053 2012-09-22 Stefan Merten <smerten@oekonux.de>
4054
4055 * textmodes/rst.el: Revamp section title faces.
4056 (rst-official-version)
4057 (rst-package-emacs-version-alist): Sync with official version
4058 V1.4.0.
4059 (rst-faces-defaults, rst-set-level-default)
4060 (rst-level-face-max, rst-level-face-base-color)
4061 (rst-level-face-base-light, rst-level-face-format-light)
4062 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
4063 (rst-adornment-faces-alist): Match new setup.
4064 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
4065 (rst-level-5, rst-level-6): New faces.
4066
4067 2012-09-22 Chong Yidong <cyd@gnu.org>
4068
4069 * simple.el (undo): Handle indirect buffers (Bug#8207).
4070
4071 2012-09-21 Leo Liu <sdl.web@gmail.com>
4072
4073 IDO: Disable match re-ordering for buffer switching.
4074 * ido.el (ido-buffer-disable-smart-matches): New variable.
4075 (ido-set-matches-1): Use it. (Bug#2042)
4076
4077 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
4078
4079 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
4080 Fix 2011-05-17 change. (Bug#12418)
4081
4082 2012-09-21 Leo Liu <sdl.web@gmail.com>
4083
4084 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
4085
4086 2012-09-21 Glenn Morris <rgm@gnu.org>
4087
4088 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
4089 Be more robust about locating simple.el.
4090
4091 2012-09-21 Glenn Morris <rgm@gnu.org>
4092
4093 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
4094
4095 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
4096
4097 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
4098
4099 2012-09-20 Juri Linkov <juri@jurta.org>
4100
4101 * replace.el (query-replace-read-from): Use `read-regexp' instead
4102 of `read-from-minibuffer' when `regexp-flag' is non-nil.
4103 (occur-read-primary-args): Use `read-regexp' instead of
4104 `read-string'.
4105 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
4106 `read-from-minibuffer'.
4107 * isearch.el (isearch-occur): Use `read-regexp' instead of
4108 `read-string'.
4109 * dired.el (dired-read-regexp): Use `read-regexp' instead of
4110 `read-from-minibuffer'.
4111 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
4112 of `read-string'. (Bug#7567)
4113
4114 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
4115 and allow accepting a list of strings prepended to a list of
4116 standard default values. Doc fix. (Bug#12321)
4117
4118 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
4119
4120 * replace.el (read-regexp): Don't add ": " when PROMPT already
4121 ends with a colon and space. (Bug#12321)
4122
4123 2012-09-20 Tassilo Horn <tsdh@gnu.org>
4124
4125 * doc-view.el (doc-view-display): Better fix for the cl-assertion
4126 error.
4127
4128 2012-09-20 Stefan Merten <smerten@oekonux.de>
4129
4130 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
4131 Fixes feature request bug#11711.
4132 (rst-mode): Create `imenu-create-index-function'.
4133 (rst-get-stripped-line): Delete after refactoring.
4134 (rst-section-tree, rst-section-tree-rec)
4135 (rst-section-tree-point): Refactor and document properly.
4136 (rst-imenu-find-adornments-for-position)
4137 (rst-imenu-convert-cell, rst-imenu-create-index):
4138 New function.
4139
4140 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4141
4142 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
4143 (macroexp--expand-all): Use it.
4144 (macroexp--funcall-and-return): Remove by folding it into its sole
4145 caller (macroexp--warn-and-return).
4146 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
4147 Use macroexp--obsolete-warning.
4148
4149 * calc/calc.el: Fix last change by removing the whole chunk, since it
4150 was only needed back when Calc was not bundled.
4151
4152 2012-09-20 Martin Rudalics <rudalics@gmx.at>
4153
4154 * emacs-lisp/debug.el (debug): Restore assignment to
4155 debugger-old-buffer removed on 2012-09-08.
4156
4157 2012-09-20 Juri Linkov <juri@jurta.org>
4158
4159 * dired-aux.el (dired-diff): Remove (require 'diff) since
4160 `diff-latest-backup-file' is now autoloaded.
4161
4162 2012-09-20 Chong Yidong <cyd@gnu.org>
4163
4164 * vc/diff.el (diff-latest-backup-file): Autoload.
4165
4166 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4167
4168 * calc/calc.el: Remove redundant autoload shape check.
4169 (sel-mode): Don't defvar.
4170 (calc-get-stack-element): Add `sel-mode' arg instead.
4171 (calc-top, calc-top-list): Pass it this additional argument.
4172 * calc/calc-store.el (calc-store-map):
4173 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
4174 (calc-map-equation, calc-outer-product, calc-inner-product):
4175 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
4176
4177 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
4178
4179 2012-09-19 Juri Linkov <juri@jurta.org>
4180
4181 * dired-aux.el (dired-diff): Add (require 'diff) because
4182 `diff-latest-backup-file' is not autoloaded.
4183 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
4184 of `dired-get-filename' to t to not report error when there is
4185 no default file on the current line.
4186
4187 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4188
4189 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
4190 macroexp--eval-if-compile.
4191 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
4192 (macroexp--expand-all): Use them (bug#12371).
4193
4194 * doc-view.el (doc-view-guess-paper-size)
4195 (doc-view-scale-bounding-box): Fix unbound `caddr'.
4196
4197 2012-09-19 Tassilo Horn <tsdh@gnu.org>
4198
4199 New feature: set optimal slice from BoundingBox information.
4200 * doc-view.el (doc-view-mode-map): Add keybinding.
4201 (doc-view-menu): Add menu entry.
4202 (doc-view-set-slice): Adapt docstring.
4203 (doc-view-get-bounding-box, doc-view-guess-paper-size)
4204 (doc-view-scale-bounding-box)
4205 (doc-view-set-slice-from-bounding-box): New functions.
4206 (doc-view-paper-sizes): New defvar.
4207
4208 2012-09-19 Glenn Morris <rgm@gnu.org>
4209
4210 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
4211 (byte-compile-log-warning): Autoload. (Bug#12371)
4212
4213 * calendar/calendar.el (calendar-american-month-header)
4214 (calendar-european-month-header, calendar-iso-month-header)
4215 (calendar-month-header): New options.
4216 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
4217 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
4218
4219 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
4220
4221 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
4222
4223 2012-09-18 Juri Linkov <juri@jurta.org>
4224
4225 * dired-aux.el (dired-diff): Restore original functionality of
4226 getting the default value, but keep new feature of using the
4227 latest existing backup file (`diff-latest-backup-file').
4228
4229 2012-09-18 Juri Linkov <juri@jurta.org>
4230
4231 * dired.el (dired-mark): If the region is active in Transient Mark
4232 mode, mark all files in the active region. Doc fix.
4233 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
4234 Doc fix. (Bug#10624)
4235
4236 2012-09-18 Juri Linkov <juri@jurta.org>
4237
4238 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
4239 attributes for M-n are pulled from the file at point.
4240 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
4241 Suggested by Drew Adams. (Bug#10624)
4242
4243 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
4244
4245 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
4246 whitespace after "end".
4247 (ruby-do-end-to-brace): Collapse block to one line if it fits
4248 within fill-column.
4249
4250 2012-09-18 Martin Rudalics <rudalics@gmx.at>
4251
4252 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
4253 value.
4254 (debug): Don't remove debugger window when debugger is expected
4255 to be back.
4256
4257 2012-09-18 Chong Yidong <cyd@gnu.org>
4258
4259 * custom.el (defface): Doc fix.
4260
4261 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
4262
4263 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
4264
4265 * progmodes/compile.el (compilation-start): Use compilation-always-kill
4266 to initialize query-on-exit; then test that instead (bug#12288).
4267
4268 2012-09-17 Stefan Merten <smerten@oekonux.de>
4269
4270 * textmodes/rst.el: Add support for `testcover'.
4271 (rst-defcustom-testcover, rst-testcover-add-compose)
4272 (rst-testcover-add-1value): New functions.
4273 (rst-portable-mark-active-p): Replace by `use-region-p'.
4274 (rst-update-section, rst-classify-adornment)
4275 (rst-find-title-line): Mark `1value' forms.
4276 (rst-classify-adornment): Remove superfluous form.
4277 (rst-update-section, rst-get-adornments-around)
4278 (rst-adornment-complete-p, rst-get-next-adornment)
4279 (rst-adjust, rst-promote-region)
4280 (rst-display-adornments-hierarchy, rst-straighten-adornments)
4281 (rst-find-pfx-in-region, rst-section-tree-rec)
4282 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
4283 (rst-toc-node, rst-toc, rst-forward-section)
4284 (rst-iterate-leftmost-paragraphs)
4285 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
4286 (rst-bullet-list-region)
4287 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
4288 (rst-compile-find-conf, rst-compile)
4289 (rst-repeat-last-character): Fix style.
4290
4291 2012-09-17 Chong Yidong <cyd@gnu.org>
4292
4293 * comint.el (comint--complete-file-name-data): Don't add a space
4294 if the status is `sole'; that adds a gratuitous space in the
4295 completion-cycling case (Bug#12092).
4296
4297 * pcomplete.el (pcomplete-completions-at-point): Likewise.
4298
4299 2012-09-17 Richard Stallman <rms@gnu.org>
4300
4301 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
4302 only in the mime-shown mode, not in raw mode.
4303 (rmail-mime): Toggle off mime by displaying the message without
4304 mime processing. (Bug#12305)
4305
4306 * mail/rmail.el (rmail-retry-failure):
4307 Turn off mime processing first. (Bug#12037)
4308
4309 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
4310
4311 2012-09-17 Chong Yidong <cyd@gnu.org>
4312
4313 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
4314 (shell-dynamic-complete-functions): Convert to defcustom.
4315 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
4316
4317 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
4318 * comint.el (comint-prompt-read-only):
4319 * custom.el (defcustom):
4320 * hi-lock.el (hi-lock-mode):
4321 * ibuffer.el (ibuffer-formats):
4322 * ielm.el (ielm-prompt-read-only):
4323 * novice.el (disable-command):
4324 * saveplace.el (toggle-save-place):
4325 * speedbar.el (speedbar-supported-extension-expressions):
4326 * startup.el (auto-save-list-file-prefix, init-file-user)
4327 (after-init-hook, inhibit-startup-echo-area-message):
4328 * strokes.el (strokes-help):
4329 * time-stamp.el (time-stamp):
4330 * calendar/calendar.el (calendar, diary-file):
4331 * calendar/diary-lib.el (diary-mail-entries, diary)
4332 (diary-list-entries-hook):
4333 * calendar/holidays.el (holidays, calendar-holidays):
4334 * calendar/lunar.el (lunar-phases):
4335 * calendar/solar.el (sunrise-sunset):
4336 * emulation/edt.el (edt-load-keys):
4337 * emulation/viper.el (viper-mode):
4338 * eshell/em-alias.el (eshell-command-aliases-list):
4339 * eshell/esh-util.el (eshell-convert-numeric-arguments):
4340 * international/ogonek.el (ogonek-information):
4341 * net/tramp-cmds.el (tramp-bug):
4342 * net/quickurl.el (quickurl-reread-hook-postfix):
4343 * play/decipher.el (decipher-font-lock-keywords):
4344 * progmodes/cc-styles.el (c-set-style):
4345 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
4346 * progmodes/inf-lisp.el (inferior-lisp-prompt):
4347 * progmodes/octave-mod.el (octave-mode):
4348 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
4349 * progmodes/verilog-mode.el (verilog-read-defines):
4350 * textmodes/two-column.el (2C-mode): Likewise.
4351
4352 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
4353
4354 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
4355 that holds many addresses.
4356
4357 2012-09-16 Chong Yidong <cyd@gnu.org>
4358
4359 * align.el (align-areas): Call the indication function with
4360 positions instead of markers for arguments (Bug#12343).
4361
4362 * files.el (parse-colon-path): Use split-string (Bug#12351).
4363
4364 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4365 (display-buffer-function): Mark as obsolete.
4366
4367 * progmodes/compile.el (compilation-parse-errors): Accept list
4368 values similar to font-lock-keywords (Bug#12136).
4369 Suggested by Oleksandr Manzyuk.
4370 (compilation-error-regexp-alist): Doc fix.
4371
4372 2012-09-15 Glenn Morris <rgm@gnu.org>
4373
4374 * version.el (emacs-bzr-version-bzr): New function.
4375 (emacs-bzr-get-version): Add optional EXTERNAL argument.
4376
4377 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
4378 checkouts, check the parent dirstate matches the branch.
4379 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
4380 empty string.
4381
4382 * version.el (emacs-bzr-version): Doc fix.
4383 (emacs-bzr-version-dirstate): New function.
4384 (emacs-bzr-get-version): For lightweight checkouts, if the parent
4385 is local try and check that it matches the branch. If not, just
4386 use dirstate information. (Bug#12441)
4387
4388 2012-09-14 Juri Linkov <juri@jurta.org>
4389
4390 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
4391 (Bug#12399)
4392
4393 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4394
4395 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
4396
4397 * emacs-lisp/edebug.el: Miscellaneous cleanup.
4398 Remove obsolete byte-compiler hack that tried to silence some warnings.
4399 (edebug-submit-bug-report): Remove.
4400 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
4401 Remove aliases, use the un-prefixed name instead.
4402 (edebug-pop-to-buffer): Consider other frames.
4403 (edebug-original-read):: Make it more obvious that it's always defined.
4404 (edebug--make-form-data-entry, edebug--form-data-name)
4405 (edebug--form-data-begin, edebug--form-data-end): Rename from the
4406 single-dashed name, and implement with cl-defstruct.
4407 (edebug-set-form-data-entry): Use the standard accessors.
4408 (edebug-make-top-form-data-entry): Use push.
4409 (edebug-no-match): Drop useless `funcall'.
4410 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
4411 to functions.
4412 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
4413 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
4414 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
4415 (easy-menu-define, with-custom-print): Remove redundant specs.
4416 (edebug-outside-overriding-local-map)
4417 (edebug-outside-overriding-terminal-local-map): Remove, unused.
4418 (edebug--display): Bind unread-command-events directly to nil rather
4419 than binding it to unread-command-events and later setting it to nil.
4420 (edebug--display): Kill edebug-eval-buffer here...
4421 (edebug--recursive-edit): ...rather than here.
4422 Bind standard-output and standard-input.
4423 (edebug-eval): Check cl-macroexpand-all is fboundp.
4424 (edebug-temp-display-freq-count): Fix last change.
4425
4426 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
4427 * subr.el (noreturn, 1value): Add `debug' spec.
4428 * emacs-lisp/advice.el: Require cl-lib.
4429 (ad-copy-tree): Remove, use copy-tree instead.
4430 (ad-dolist): Remove use dolist or cl-dolist instead.
4431 (ad-do-return): Remove, use cl-return instead.
4432 (defadvice): Add `debug' spec.
4433
4434 2012-09-13 Juri Linkov <juri@jurta.org>
4435
4436 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
4437 (Bug#12399)
4438
4439 2012-09-13 Glenn Morris <rgm@gnu.org>
4440
4441 * calc/calc.el (math-compose-expr):
4442 * calc/calc-ext.el (math-compose-expr):
4443 * progmodes/cc-defs.el (cl-macroexpand-all):
4444 * progmodes/cc-langs.el (delete-duplicates, mapcan)
4445 (cl-macroexpand-all): Update declarations.
4446
4447 * vc/vc.el: No need to require ediff.
4448 (ediff-load-version-control): Declare.
4449 (ediff-vc-internal): Fix declaration.
4450 (vc-version-ediff): Require ediff.
4451
4452 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
4453
4454 Use a more backwards-compatible timer format (Bug#12430).
4455 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
4456 being right after USECS, as that better supports old code that
4457 inadvisedly looked directly at the timer vector.
4458
4459 2012-09-13 Kenichi Handa <handa@gnu.org>
4460
4461 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
4462 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
4463 `coding-priority' property of these language environment.
4464
4465 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
4466
4467 Fix glitches caused by addition of psec to timers (Bug#12430).
4468 * image.el (image-animate-timer):
4469 * time.el (display-time-world-timer):
4470 Use timer--function and timer--args rather than raw access to
4471 timer vector.
4472
4473 2012-09-13 Glenn Morris <rgm@gnu.org>
4474
4475 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
4476 If not compiling a file, try using load-file-name.
4477
4478 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4479
4480 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
4481 Fix last change.
4482 (edebug-update-eval-list): Use `push'.
4483
4484 * emacs-lisp/edebug.el: Use lexical-binding.
4485 Remove the "edebug-" prefix from non-dynamically-scoped variables.
4486 Mark unused args with underscore.
4487 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
4488 (edebug-form-data): Use defvar-local.
4489 (edebug-make-before-and-after-form, edebug-make-after-form):
4490 Use backquote.
4491 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
4492 Not dynamically scoped any more.
4493 (edebug--enter-trace): Add arguments `function' and `args'.
4494 Rename from edebug-enter-trace.
4495 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
4496 (edebug--update-coverage): Add `after-index' and `value' args.
4497 Rename from edebug-update-coverage.
4498 (edebug-slow-after): Call it accordingly.
4499 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
4500 edebug-recursive-edit.
4501 (edebug--display): Call it accordingly. Add args `value',
4502 `offset-index', and `arg-mode'. Rename from edebug-display.
4503 (edebug-debugger, edebug): Call it accordingly.
4504 (edebug-eval-display-list): Use dolist.
4505
4506 2012-09-12 Juri Linkov <juri@jurta.org>
4507
4508 * info.el (Info-search): Don't check for isearch-mode and
4509 isearch-regexp before let-binding search-spaces-regexp to
4510 Info-search-whitespace-regexp.
4511 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
4512 search-whitespace-regexp if isearch-lax-whitespace or
4513 isearch-regexp-lax-whitespace is non-nil.
4514 (Info-mode): Don't set local variable search-whitespace-regexp.
4515 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
4516
4517 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4518
4519 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
4520 (debugger-env-macro): Remove support for unread-command-char.
4521
4522 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
4523 the temporary map re-appearing on emulation-mode-map-alists.
4524
4525 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
4526 since 22.1.
4527
4528 * ehelp.el (with-electric-help): Accept functions in
4529 electric-help-form-to-execute.
4530 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
4531 And replace unread-command-char -> unread-command-events.
4532
4533 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
4534
4535 Sync with Tramp 2.2.6.
4536
4537 * net/tramp.el (tramp-accept-process-output): Don't use
4538 JUST-THIS-ONE in the XEmacs case.
4539
4540 * net/trampver.el: Update release number.
4541
4542 2012-09-12 Martin Rudalics <rudalics@gmx.at>
4543
4544 * emacs-lisp/debug.el (debugger-previous-window-height):
4545 New variable.
4546 (debug): When debugger-jumping-flag is non-nil try to restore
4547 height of debugger window. (Bug#8789)
4548
4549 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4550
4551 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
4552 overriding-local-map and pre/post-command-hook here.
4553 (edebug-recursive-edit): Do it here instead (bug#12345).
4554 (edebug-outside-unread-command-char): Remove all uses of
4555 unread-command-char.
4556
4557 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
4558 inhibit-debugger is bound instead.
4559
4560 2012-09-11 Bastien Guerry <bzg@gnu.org>
4561
4562 * subr.el (set-temporary-overlay-map): Add a docstring.
4563 (Bug#12346)
4564
4565 2012-09-11 Bastien Guerry <bzg@gnu.org>
4566
4567 * minibuffer.el (completion-table-subvert): Fix docstring.
4568 (Bug#12347)
4569
4570 2012-09-11 Bastien Guerry <bzg@gnu.org>
4571
4572 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
4573
4574 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
4575
4576 * progmodes/sql.el: Version 3.1
4577 (sql-db2-escape-newlines): New variable.
4578 (sql-escape-newlines-filter): Use it.
4579
4580 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
4581
4582 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
4583
4584 2012-09-10 Dan Nicolaescu <dann@gnu.org>
4585
4586 * vc/diff-mode.el (diff-mode-menu):
4587 Bind diff-remove-trailing-whitespace.
4588
4589 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4590
4591 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
4592 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
4593 (emacs-lisp-byte-code-mode): New functions.
4594 (eval-sexp-add-defvars): Don't skip defvars in column >0.
4595 (eval-defun-2): Remove bogus interactive spec.
4596 (lisp-indent-line): Remove redundant whole-exp code, now done in
4597 indent-according-to-mode.
4598 (save-match-data): Remove redundant indent data.
4599
4600 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
4601 Use `declare'.
4602
4603 2012-09-09 Juri Linkov <juri@jurta.org>
4604
4605 * replace.el (replace-regexp-lax-whitespace): New defcustom.
4606 (replace-lax-whitespace, query-replace-regexp)
4607 (query-replace-regexp-eval, replace-regexp): Doc fix.
4608 (perform-replace, replace-highlight): Let-bind
4609 isearch-lax-whitespace to replace-lax-whitespace and
4610 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
4611
4612 * isearch.el (isearch-query-replace): Let-bind
4613 replace-lax-whitespace to isearch-lax-whitespace and
4614 replace-regexp-lax-whitespace to
4615 isearch-regexp-lax-whitespace. (Bug#10885)
4616
4617 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
4618
4619 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
4620
4621 2012-09-09 Alan Mackenzie <acm@muc.de>
4622
4623 * progmodes/cc-engine.el (c-state-cache-init):
4624 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
4625 (c-record-parse-state-state):
4626 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
4627
4628 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
4629
4630 * register.el (register-separator): Rename from
4631 separator-register. All uses changed. Doc fix.
4632 (register): Fix version.
4633
4634 2012-09-09 Chong Yidong <cyd@gnu.org>
4635
4636 * replace.el (query-replace-map): Bind four new symbols for
4637 requesting window scrolling.
4638
4639 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
4640 query-replace-map (Bug#8948).
4641
4642 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
4643
4644 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
4645 since they are now in query-replace-map.
4646
4647 * window.el (scroll-other-window-down): Make the arg optional.
4648
4649 2012-09-09 Chong Yidong <cyd@gnu.org>
4650
4651 * files.el (hack-local-variables-confirm): Use quit-window to kill
4652 the *Local Variables* buffer.
4653
4654 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
4655
4656 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
4657 not just expect to be at its beginning. Adjust callees.
4658 Succeed when do-end block has no space before the pipe character.
4659 (ruby-brace-to-do-end): When the original block is one-liner,
4660 convert to multiline. Reindent the result.
4661
4662 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
4663
4664 * register.el (register): New group.
4665 (separator-register): New user option.
4666 (increment-register): Route it to `append-to-register', if
4667 register contains text. Implication is that `C-x r +' can now be
4668 used for appending to a text register (bug#12217).
4669 (append-to-register, prepend-to-register): Add separator based on
4670 `separator-register'.
4671
4672 2012-09-08 Alan Mackenzie <acm@muc.de>
4673
4674 AWK Mode: make auto-newline work when there's "==" in the pattern.
4675 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
4676 correctly.
4677 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
4678 Test more rigorously for "=" token.
4679
4680 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
4681
4682 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
4683 Only fail when reached LIMIT.
4684
4685 2012-09-08 Chong Yidong <cyd@gnu.org>
4686
4687 * dired.el (dired-mode-map): Don't bind M-=.
4688
4689 * dired-aux.el (dired-diff): Use backup file as default.
4690
4691 2012-09-08 Drew Adams <drew.adams@oracle.com>
4692
4693 * subr.el (add-to-history): Fix delete usage (Bug#12314).
4694
4695 2012-09-08 Chong Yidong <cyd@gnu.org>
4696
4697 * subr.el (syntax-after, syntax-class): Doc fix.
4698
4699 2012-09-08 Martin Rudalics <rudalics@gmx.at>
4700
4701 * window.el (display-buffer-in-previous-window): New buffer
4702 display action function.
4703
4704 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
4705 (debugger-previous-window): New variable.
4706 (debug): Rewrite using display-buffer-in-previous-window,
4707 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
4708
4709 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
4710
4711 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
4712
4713 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
4714
4715 * progmodes/python.el (python-shell-send-string):
4716 When default-directory is remote, create temp file on remote
4717 filesystem.
4718 (python-shell-send-file): When file is remote, pass local view of
4719 file paths to remote Python interpreter. (Bug#12340)
4720
4721 2012-09-07 Chong Yidong <cyd@gnu.org>
4722
4723 * window.el (switch-to-buffer): Doc fix (Bug#12181).
4724
4725 * files.el (after-find-file): Don't fail on a read-only buffer if
4726 require-final-newline is `visit' or `visit-save' (Bug#11156).
4727
4728 * subr.el (read-char-choice): Allow quitting via ESC ESC.
4729
4730 * userlock.el (ask-user-about-supersession-threat):
4731 Use read-char-choice (Bug#12093).
4732
4733 2012-09-07 Chong Yidong <cyd@gnu.org>
4734
4735 * subr.el (buffer-narrowed-p): New function.
4736
4737 * ses.el (ses-widen):
4738 * simple.el (count-words--buffer-message):
4739 * net/browse-url.el (browse-url-of-buffer): Use it.
4740
4741 * simple.el (count-words-region): Don't signal an error if there
4742 is a non-nil prefix arg and the mark is not set.
4743
4744 * help.el (describe-key-briefly): Allow the message to be seen
4745 when invoked from the minibuffer (Bug#7014).
4746
4747 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
4748
4749 * progmodes/ruby-mode.el (ruby-end-of-defun)
4750 (ruby-beginning-of-defun): Simplify, allow indentation before
4751 block beginning and end keywords.
4752 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
4753 (ruby-end-of-defun): Expect that the point is at the beginning of
4754 the defun.
4755
4756 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4757
4758 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
4759 (bug#12367).
4760 (cl--make-usage-args): Strip _ from argument names.
4761
4762 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4763
4764 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
4765 obsolete alias speedbar-key-map.
4766 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
4767 (vhdl-index-menu-init): Don't use obsolete variable
4768 font-lock-maximum-size.
4769
4770 2012-09-06 Chong Yidong <cyd@gnu.org>
4771
4772 * frame.el (window-system-version): Mark as obsolete.
4773
4774 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
4775 of obsolete variable speedbar-key-map.
4776
4777 2012-09-06 Juri Linkov <juri@jurta.org>
4778
4779 * replace.el (replace-lax-whitespace): New defcustom.
4780 (query-replace, query-replace-regexp, query-replace-regexp-eval)
4781 (replace-string, replace-regexp): Mention it in docstrings.
4782 (perform-replace, replace-highlight): Let-bind
4783 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
4784 to the values of replace-lax-whitespace and regexp-flag.
4785 Don't let-bind search-whitespace-regexp. (Bug#10885)
4786
4787 * isearch.el (isearch-query-replace): Let-bind
4788 replace-lax-whitespace instead of let-binding
4789 replace-search-function and replace-re-search-function.
4790 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
4791 and isearch-regexp-lax-whitespace to lazy-highlight variables.
4792 (isearch-toggle-symbol): Set isearch-regexp to nil
4793 in isearch-word mode (like in isearch-toggle-word).
4794
4795 2012-09-06 Juri Linkov <juri@jurta.org>
4796
4797 * replace.el (replace-search-function)
4798 (replace-re-search-function): Set default values to nil.
4799 (perform-replace): Let-bind isearch-related variables based on
4800 replace-related values, call `isearch-search-fun' and let-bind
4801 the result to `search-function'. Remove code that sets
4802 `search-function' and `search-string' separately for
4803 `delimited-flag'.
4804 (replace-highlight): Add new argument `delimited-flag' and
4805 rename other arguments to the names used in `perform-replace'.
4806 Let-bind `isearch-word' to the argument `delimited-flag'.
4807 (Bug#10885, bug#10887)
4808
4809 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
4810
4811 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
4812 ruby-beginning-of-indent, simplify, allow all keywords to have
4813 indentation before them.
4814 (ruby-beginning-of-indent): Adjust for above. Search until the
4815 found point is not inside a string or comment.
4816 (ruby-font-lock-keywords): Allow symbols to start with "@"
4817 character, give them higher priority than variables.
4818 (ruby-syntax-propertize-function)
4819 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
4820 matchers. Expression expansions are not comments when inside a
4821 string, and there comment syntax status is irrelevant.
4822 (ruby-match-expression-expansion): New function. Check that
4823 expression expansion is inside a string, and it's not escaped.
4824 (ruby-font-lock-keywords): Use it.
4825
4826 2012-09-05 Martin Rudalics <rudalics@gmx.at>
4827
4828 * help.el (temp-buffer-max-height): New default value.
4829 (temp-buffer-resize-frames): New option.
4830 (resize-temp-buffer-window): Optionally resize frame.
4831
4832 * window.el (fit-frame-to-buffer-bottom-margin): New option.
4833 (fit-frame-to-buffer): New function.
4834
4835 2012-09-05 Glenn Morris <rgm@gnu.org>
4836
4837 * emulation/cua-rect.el (cua--init-rectangles):
4838 * textmodes/picture.el (picture-mode-map):
4839 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
4840 like forward-char and backward-char. (Bug#12317)
4841
4842 2012-09-05 Leo Liu <sdl.web@gmail.com>
4843
4844 * progmodes/flymake.el (flymake-warning-re): New variable.
4845 (flymake-parse-line): Use it.
4846
4847 2012-09-05 Glenn Morris <rgm@gnu.org>
4848
4849 * calendar/holidays.el (holiday-christian-holidays):
4850 Rename an entry. (Bug#12289)
4851
4852 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4853
4854 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
4855 (bug#12222).
4856
4857 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4858
4859 * loadup.el: Load macroexp. Remove hack.
4860 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
4861 (macroexp--expand-all): Use it to get better warnings.
4862 (macroexp--backtrace, macroexp--trim-backtrace-frame)
4863 (internal-macroexpand-for-load): New functions.
4864 (macroexp--pending-eager-loads): New var.
4865 (emacs-startup-hook): New hack to replace one in loadup.el.
4866 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
4867 (cl--compiler-macro-cXXr): Move to top, before they can be used.
4868 (cl-psetf): Simplify.
4869 (cl-defstruct): Add indent rule.
4870
4871 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
4872
4873 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
4874 over `user-mail-address' for the SMTP MAIL FROM envelope.
4875 (smtpmail-via-smtp): Ditto.
4876
4877 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
4878
4879 * progmodes/ruby-mode.el: Clean up keybindings.
4880 (ruby-mode-map): Don't bind ruby-electric-brace,
4881 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
4882 backward-kill-word, reindent-then-newline-and-indent.
4883 (ruby-mark-defun): Remove.
4884 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
4885 (ruby-mode): Set local beginning-of-defun-function and
4886 end-of-defun-function values.
4887
4888 2012-09-03 Martin Rudalics <rudalics@gmx.at>
4889
4890 * window.el (temp-buffer-window-setup-hook)
4891 (temp-buffer-window-show-hook): New hooks.
4892 (temp-buffer-window-setup, temp-buffer-window-show)
4893 (with-temp-buffer-window): New functions.
4894 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
4895 (special-display-popup-frame): Make sure the window used shows BUFFER.
4896
4897 * help.el (temp-buffer-resize-mode): Fix doc-string.
4898 (resize-temp-buffer-window): New optional argument WINDOW.
4899
4900 * files.el (recover-file, save-buffers-kill-emacs):
4901 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
4902
4903 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
4904
4905 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
4906 remote definition of `default-directory', ensure we can connect.
4907
4908 2012-09-02 Juri Linkov <juri@jurta.org>
4909
4910 Toggle whitespace matching mode with M-s SPC.
4911 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
4912
4913 * isearch.el (search-whitespace-regexp): Doc fix.
4914 Remove cons cell customization.
4915 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
4916 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
4917 New variables.
4918 (isearch-forward, isearch-forward-regexp): Doc fix.
4919 (isearch-toggle-lax-whitespace): New command.
4920 (search-forward-lax-whitespace, search-backward-lax-whitespace)
4921 (re-search-forward-lax-whitespace)
4922 (re-search-backward-lax-whitespace): New functions.
4923 (isearch-whitespace-regexp): Remove function.
4924 (isearch-query-replace): Let-bind replace-search-function and
4925 replace-re-search-function.
4926 (isearch-occur): Let-bind search-spaces-regexp according to the
4927 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
4928 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
4929 condition for C-q SPC.
4930 (isearch-search-fun-default): Use new functions mentioned above.
4931 (isearch-search-forward, isearch-search-backward): Remove functions.
4932 (isearch-search): Don't let-bind search-spaces-regexp.
4933 (isearch-lazy-highlight-space-regexp): Remove variable.
4934 (isearch-lazy-highlight-lax-whitespace)
4935 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
4936 (isearch-lazy-highlight-new-loop): Use them.
4937 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
4938
4939 2012-09-02 Chong Yidong <cyd@gnu.org>
4940
4941 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
4942
4943 2012-09-02 Glenn Morris <rgm@gnu.org>
4944
4945 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
4946
4947 2012-09-01 Glenn Morris <rgm@gnu.org>
4948
4949 * term.el: Tidy up menu definitions.
4950 (term-mode-map): Use easymenu for In/Out, Complete menus.
4951 (term-pager-break-map): Initialize in the defvar.
4952 (term-terminal-menu, term-signals-menu): Define with easymenu.
4953 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
4954 (term-pager-menu): New, extracted from term-process-pager.
4955 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
4956 (term-update-mode-line): Propertize line/char and page items.
4957 (term-process-pager): Move keymap initialization elsewhere.
4958
4959 2012-09-01 Martin Rudalics <rudalics@gmx.at>
4960
4961 * window.el (switch-to-prev-buffer): Handle additional values of
4962 BURY-OR-KILL argument. Don't switch in minibuffer window.
4963 (switch-to-next-buffer): Don't switch in minibuffer window.
4964 (quit-restore-window): New function based on quit-window.
4965 Handle additional values of former KILL argument.
4966 (quit-window): Call quit-restore-window with appropriate
4967 interpretation of KILL argument.
4968 (display-buffer-below-selected): New buffer display action
4969 function.
4970
4971 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
4972
4973 * minibuffer.el (completion-at-point-functions): Complete docstring
4974 (bug#12254).
4975
4976 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
4977
4978 Better seed support for (random).
4979 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
4980 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
4981 * play/mpuz.el, play/tetris.el, play/zone.el:
4982 * calc/calc-comb.el (math-init-random-base):
4983 * play/blackbox.el (bb-init-board):
4984 * play/life.el (life):
4985 * server.el (server-use-tcp):
4986 * type-break.el (type-break):
4987 Remove unnecessary call to (random t).
4988 * net/sasl.el (sasl-unique-id-function):
4989 Change (random t) to (random), now that the latter is more random.
4990 * play/life.el (life-initialized): Remove no-longer-needed var.
4991
4992 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
4993
4994 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
4995 Consider frame's buffer predicate when choosing the buffer.
4996 (Bug#12081)
4997
4998 2012-08-30 Richard Stallman <rms@gnu.org>
4999
5000 * simple.el (special-mode-map): Delete binding for `z'.
5001
5002 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
5003
5004 * progmodes/compile.el (compilation-always-kill): Doc fix.
5005
5006 2012-08-30 Chong Yidong <cyd@gnu.org>
5007
5008 * window.el (display-buffer-reuse-frames): Make the obsolescence
5009 message more informative.
5010
5011 2012-08-30 Glenn Morris <rgm@gnu.org>
5012
5013 * paren.el (show-paren-delay):
5014 Add a :set function. Doc fix. (Bug#12297)
5015
5016 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
5017
5018 * progmodes/compile.el (compilation-always-kill): New var.
5019 (compilation-start): Use it.
5020
5021 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5022
5023 * simple.el (read-only-mode): Move from files.el for bootstrapping.
5024 * files.el (read-only-mode): Move to simple.el.
5025
5026 * files.el (read-only-mode): New minor mode.
5027 (toggle-read-only): Use it and mark obsolete.
5028 (find-file--read-only):
5029 * vc/vc.el (vc-next-action, vc-checkout):
5030 * vc/vc-cvs.el (vc-cvs-checkout):
5031 * obsolete/vc-mcvs.el (vc-mcvs-update):
5032 * ffap.el (ffap--toggle-read-only): Update callers.
5033
5034 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
5035
5036 * eshell/esh-ext.el (eshell-external-command): Do not examine
5037 remote shell scripts.
5038 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
5039
5040 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
5041 "/usr/local/sbin".
5042
5043 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5044
5045 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
5046
5047 2012-08-28 Leo Liu <sdl.web@gmail.com>
5048
5049 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
5050 completion-at-point. (Bug#12220)
5051
5052 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
5053
5054 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
5055
5056 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5057
5058 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
5059 be buffer-local; add delete-trailing-whitespace (bug#12259).
5060
5061 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
5062
5063 * progmodes/hideif.el (hif-compress-define-list):
5064 Fix typo. (Bug#11951)
5065
5066 2012-08-28 Dan Nicolaescu <dann@gnu.org>
5067
5068 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
5069 buffer local setting.
5070
5071 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
5072 rcirc-encode-coding-system.
5073
5074 2012-08-28 Leo Liu <sdl.web@gmail.com>
5075
5076 * net/rcirc.el (rcirc-split-message): New function.
5077 (rcirc-send-message): Use it. (Bug#12051)
5078
5079 2012-08-28 Juri Linkov <juri@jurta.org>
5080
5081 * info.el (Info-fontify-node): Hide empty lines at the end of
5082 the node. (Bug#12272)
5083
5084 2012-08-27 Drew Adams <drew.adams@oracle.com>
5085
5086 * dired.el (dired-pop-to-buffer): Make window start at beginning
5087 of buffer (Bug#12281).
5088
5089 2012-08-26 Chong Yidong <cyd@gnu.org>
5090
5091 * window.el (special-display-regexps, special-display-frame-alist)
5092 (special-display-buffer-names, special-display-function)
5093 (display-buffer-reuse-frames): Mark as obsolete.
5094
5095 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
5096
5097 * help.el (help-print-return-message): Don't treat
5098 display-buffer-reuse-frames specially.
5099
5100 2012-08-26 Chong Yidong <cyd@gnu.org>
5101
5102 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
5103 New variable, replacing gdb-frame-parameters.
5104 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
5105 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
5106 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
5107 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
5108 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
5109 the functions directly with gdb-display-buffer-other-frame-action.
5110 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
5111 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
5112 (gdb-display-stack-buffer, gdb-display-locals-buffer)
5113 (gdb-display-registers-buffer): Define directly.
5114 (def-gdb-display-buffer): Macro deleted.
5115 (gdb-display-buffer): Remove second and third args, callers don't
5116 use them. Defer to the default display-buffer behavior, apart
5117 from making windows dedicated.
5118 (gdb-setup-windows): Don't call display-buffer unnecessarily.
5119
5120 * progmodes/gud.el (gud-display-line): Just use display-buffer.
5121
5122 * window.el (display-buffer-pop-up-frame): Handle a
5123 pop-up-frame-parameters alist entry.
5124 (display-buffer): Document it.
5125
5126 2012-08-26 Chong Yidong <cyd@gnu.org>
5127
5128 * isearch.el (search-whitespace-regexp): Make string and nil
5129 values apply to both ordinary and regexp search. Allow a cons
5130 cell value to distinguish between the two.
5131 (isearch-whitespace-regexp, isearch-search-forward)
5132 (isearch-search-backward): New functions.
5133 (isearch-occur, isearch-search-fun-default, isearch-search)
5134 (isearch-lazy-highlight-new-loop): Use them.
5135 (isearch-forward, isearch-forward-regexp): Doc fix.
5136
5137 2012-08-26 Chong Yidong <cyd@gnu.org>
5138
5139 * faces.el (help-argument-name): Always inherit from italic
5140 (Bug#12213).
5141
5142 2012-08-25 Martin Rudalics <rudalics@gmx.at>
5143
5144 * window.el (window--even-window-heights): Even heights when
5145 WINDOW and the selected window form a vertical combination.
5146 (display-buffer-use-some-window): Provide that window used gets
5147 sized back by quit-window. (Bug#11880) and (Bug#12091)
5148
5149 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
5150
5151 Fix file time stamp problem with bzr and CVS (Bug#12001).
5152 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
5153 in the file's time stamp, since the version control system loses
5154 that information.
5155
5156 2012-08-22 Juri Linkov <juri@jurta.org>
5157
5158 * info.el (Info-fontify-node): Hide the suffix of the
5159 Info file name in the header line. (Bug#12187)
5160
5161 2012-08-22 Glenn Morris <rgm@gnu.org>
5162
5163 * calendar/cal-tex.el (cal-tex-weekly-common):
5164 Restore leading blank page.
5165
5166 2012-08-22 Le Wang <l26wang@gmail.com>
5167
5168 * misc.el (forward-to-word, backward-to-word): Activate or extend
5169 the region under `shift-select-mode'. (Bug#12231)
5170
5171 2012-08-22 Bastien Guerry <bzg@gnu.org>
5172
5173 * progmodes/executable.el (executable-prefix): Set to "#!" instead
5174 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
5175 gives details on why the space is never needed.
5176
5177 2012-08-22 Martin Rudalics <rudalics@gmx.at>
5178
5179 * window.el (walk-window-tree, window-with-parameter):
5180 New optional argument MINIBUF to control whether these functions
5181 should run on the minibuffer window.
5182 (window-at-side-list): Don't operate on minibuffer window.
5183 (window-in-direction): Simplify and rewrite doc-string.
5184 (window--size-ignore): Rename to window--size-ignore-p.
5185 Update callers.
5186 (display-buffer-in-atom-window, window--major-non-side-window)
5187 (window--major-side-window, display-buffer-in-major-side-window)
5188 (delete-side-window, display-buffer-in-side-window):
5189 New functions.
5190 (window--side-check, window-deletable-p, delete-window)
5191 (delete-other-windows, split-window): Handle side windows and
5192 atomic windows appropriately.
5193 (window--display-buffer): Call display-buffer-record-window also
5194 when the window buffer did not change.
5195
5196 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
5197
5198 * help-fns.el (help-fns--key-bindings):
5199 Abbreviate non-symbol remap targets. (Bug#12174)
5200
5201 2012-08-22 Martin Rudalics <rudalics@gmx.at>
5202
5203 * dired.el (dired-mark-remembered): Don't clobber point.
5204 (Bug#11795)
5205
5206 2012-08-22 Glenn Morris <rgm@gnu.org>
5207
5208 * progmodes/bug-reference.el (bug-reference): New custom group.
5209 (bug-reference-bug-regexp): Make it a defcustom.
5210
5211 2012-08-22 Daiki Ueno <ueno@unixuser.org>
5212
5213 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
5214 (js-paren-indent-offset, js-square-indent-offset)
5215 (js-curly-indent-offset): Add :safe (Bug#12257).
5216
5217 2012-08-22 Edward O'Connor <hober0@gmail.com>
5218
5219 * json.el (json-key-format): Add error properties.
5220 (json-encode-key): New function.
5221 (json-encode-hash-table, json-encode-alist, json-encode-plist):
5222 Use json-encode-key.
5223
5224 2012-08-22 Glenn Morris <rgm@gnu.org>
5225
5226 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
5227 (cal-tex-leftday, cal-tex-rightday): Remove functions.
5228 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
5229 Update for above change.
5230
5231 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
5232
5233 * cus-face.el (custom-face-attributes): Fix customize type for the
5234 :underline attribute. (Bug#11805)
5235
5236 2012-08-21 Martin Rudalics <rudalics@gmx.at>
5237
5238 * window.el (window-point-1, set-window-point-1): Remove.
5239 (window-in-direction, record-window-buffer)
5240 (set-window-buffer-start-and-point, split-window-below)
5241 (window--state-get-1, display-buffer-record-window):
5242 Replace calls to window-point-1 and set-window-point-1 by calls to
5243 window-point and set-window-point respectively.
5244
5245 2012-08-21 Glenn Morris <rgm@gnu.org>
5246
5247 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
5248 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
5249 Use it.
5250
5251 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
5252 (cal-tex-shortday): New function.
5253 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
5254 (cal-tex-cursor-filofax-daily): Use the above.
5255
5256 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
5257 New functions.
5258 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
5259 (cal-tex-cursor-filofax-week): Use them.
5260
5261 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
5262 New constants.
5263 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
5264 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
5265
5266 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
5267 (cal-tex-end-document): Don't rely on buffer name.
5268
5269 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
5270 Use cal-tex-vspace.
5271 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
5272 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
5273 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
5274 Use cal-tex-arg.
5275
5276 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
5277 (cal-tex-cursor-week, cal-tex-cursor-week2)
5278 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
5279 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
5280 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
5281 (cal-tex-insert-preamble, cal-tex-b-document)
5282 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
5283 Improve cal-tex-cmd usage.
5284
5285 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
5286 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
5287 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
5288 (cal-tex-weekly-paper): New function.
5289 (cal-tex-cursor-week, cal-tex-cursor-week2)
5290 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
5291 (cal-tex-cursor-day): Use it.
5292
5293 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
5294 (cal-tex-cursor-filofax-week): Remove leading blank page.
5295
5296 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
5297 Add autoload cookie. For now at least, don't use color, since
5298 no other cal-tex function does.
5299
5300 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
5301 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
5302 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
5303
5304 2012-08-21 Juri Linkov <juri@jurta.org>
5305
5306 * info.el (Info-file-attributes): New variable.
5307 (info-insert-file-contents): Add file attributes to
5308 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
5309 `Info-toc-nodes' when previous modtime of the Info file is less
5310 than new modtime.
5311 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
5312 of info.el. (Bug#12230)
5313
5314 2012-08-20 Glenn Morris <rgm@gnu.org>
5315
5316 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
5317 * calendar/holidays.el (calendar-holiday-list):
5318 Report errors with display-warning rather than beep'n'sleep.
5319
5320 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
5321
5322 * net/tramp.el (tramp-accept-process-output): Accept only output
5323 from PROC. Otherwise, process filters and sentinels might be
5324 confused. (Bug#12145)
5325
5326 2012-08-20 Chong Yidong <cyd@gnu.org>
5327
5328 * descr-text.el (describe-text-properties-1): Use overlays-in to
5329 report on empty overlays (Bug#3322).
5330
5331 2012-08-20 Glenn Morris <rgm@gnu.org>
5332
5333 * mail/rmailout.el (rmail-output-read-file-name):
5334 Trap and report errors in rmail-output-file-alist elements.
5335
5336 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
5337 since most non-font-lock faces are not also variables).
5338
5339 2012-08-20 Edward Reingold <reingold@iit.edu>
5340
5341 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
5342 New function. (Bug12160)
5343
5344 2012-08-19 Glenn Morris <rgm@gnu.org>
5345
5346 * mail/rmailout.el (rmail-output-read-file-name):
5347 Fix previous change (when the alist is nil or does not match).
5348
5349 2012-08-19 Chong Yidong <cyd@gnu.org>
5350
5351 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
5352 (Bug#12228).
5353
5354 2012-08-18 Chong Yidong <cyd@gnu.org>
5355
5356 * simple.el (yank-handled-properties): New defcustom.
5357 (yank-excluded-properties): Add font-lock-face and category.
5358 (yank): Doc fix.
5359
5360 * subr.el (remove-yank-excluded-properties):
5361 Obey yank-handled-properties. The special handling of font-lock-face
5362 and category is now done this way, instead of being hard-coded.
5363 (insert-for-yank-1): Remove font-lock-face handling.
5364 (yank-handle-font-lock-face-property)
5365 (yank-handle-category-property): New function.
5366
5367 2012-08-17 Glenn Morris <rgm@gnu.org>
5368
5369 * mail/rmailout.el (rmail-output-read-file-name):
5370 Check rmail-output-file-alist against the full message body
5371 in the correct rmail buffer. (Bug#12214)
5372
5373 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
5374
5375 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
5376 Eliminate superfluous prompt. (Bug#12203)
5377
5378 2012-08-17 Chong Yidong <cyd@gnu.org>
5379
5380 * mouse.el (mouse-appearance-menu): If x-select-font returns a
5381 font spec, set the font directly (Bug#3228).
5382
5383 2012-08-17 Martin Rudalics <rudalics@gmx.at>
5384
5385 * window.el (delete-window): Fix last fix.
5386
5387 2012-08-16 Martin Rudalics <rudalics@gmx.at>
5388
5389 * window.el (window-valid-p): Move to window.c.
5390 (window-child, window-child-count, window-last-child)
5391 (window-normalize-window, window-combined-p)
5392 (window-combinations, window-atom-root, window-min-size)
5393 (window-sizable, window-sizable-p, window-size-fixed-p)
5394 (window-min-delta, window-max-delta, window--resizable)
5395 (window--resizable-p, window-resizable, window-total-size)
5396 (window-full-height-p, window-full-width-p, window-body-size)
5397 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
5398 (minimize-window, window-deletable-p, delete-window)
5399 (delete-other-windows, set-window-buffer-start-and-point)
5400 (next-buffer, previous-buffer, split-window, balance-windows-2)
5401 (set-window-text-height, window-buffer-height)
5402 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
5403 (truncated-partial-width-window-p): Minor code adjustments.
5404 In doc-strings state whether the argument window has to denote a
5405 live, valid or any window.
5406
5407 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
5408
5409 * progmodes/subword.el (subword-forward-function)
5410 (subword-backward-function, subword-forward-regexp)
5411 (subword-backward-regexp): New variables.
5412 (subword-forward, subword-forward-internal, subword-backward-internal):
5413 Use new variables, eg so that different "word" definitions
5414 can be easily used. (Bug#11411)
5415
5416 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5417
5418 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
5419 for composite selectors.
5420 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
5421 operation just because we can't find a previous revision.
5422
5423 2012-08-15 Chong Yidong <cyd@gnu.org>
5424
5425 * frame.el (set-frame-font): Accept font objects.
5426
5427 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5428
5429 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
5430
5431 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
5432
5433 * man.el (Man-overstrike-face, Man-underline-face)
5434 (Man-reverse-face): Remove variables.
5435 (Man-overstrike, Man-underline, Man-reverse): New faces.
5436 (Man-fontify-manpage): Use them instead of the variables.
5437 (Man-cleanup-manpage): Comment change.
5438 (Man-ansi-color-map): New variable.
5439 (Man-fontify-manpage): Use it.
5440 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
5441
5442 Implement ANSI SGR parameters 22-27 (bug#12146).
5443 * ansi-color.el (ansi-colors): Doc fix.
5444 (ansi-color-context, ansi-color-context-region): Doc fix.
5445 (ansi-color--find-face): New function.
5446 (ansi-color-apply, ansi-color-apply-on-region): Use it.
5447 Rename the local variable `face' to `codes' since it is now a list of
5448 ansi codes. Doc fix.
5449 (ansi-color-get-face): Remove.
5450 (ansi-color-parse-sequence): New function, derived from
5451 ansi-color-get-face.
5452 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
5453 codes 22-27.
5454
5455 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
5456
5457 * subr.el (read-passwd): Allow use from a minibuffer.
5458
5459 2012-08-14 Eli Zaretskii <eliz@gnu.org>
5460
5461 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
5462 inside comments and strings as identifiers.
5463
5464 * progmodes/gud.el (gud-tooltip-print-command): Quote the
5465 expression to evaluate. This allows to evaluate expressions with
5466 embedded whitespace.
5467 (gud-tooltip-tips): Add a blank before the newline in the
5468 message-box text, for the benefit of message-box emulation on
5469 MS-Windows.
5470
5471 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
5472 messages from GDB, pop them up in a tooltip to give feedback to
5473 user.
5474 (gdb-tooltip-print-1): Quote the expression to evaluate.
5475 This allows to evaluate expressions with embedded whitespace.
5476 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
5477 if the TTY name is nil or empty (which happens when communicating
5478 with the inferior via pipes, e.g. on MS-Windows).
5479 (gdb-internals): If GDB sends a "&\n" empty debugging message,
5480 don't send that to the GUD buffer.
5481
5482 2012-08-14 Glenn Morris <rgm@gnu.org>
5483
5484 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
5485 Optimize away setq-default with no args, as for setq. (Bug#12195)
5486
5487 2012-08-14 Chong Yidong <cyd@gnu.org>
5488
5489 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
5490
5491 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
5492 (Bug#12085).
5493
5494 2012-08-14 Glenn Morris <rgm@gnu.org>
5495
5496 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
5497
5498 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
5499
5500 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
5501 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5502 Use cached shell name.
5503
5504 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
5505
5506 * progmodes/python.el (python-shell-send-string):
5507 (python-shell-send-setup-code): Do not use `format' with `message'.
5508
5509 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
5510
5511 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
5512 (ruby-percent-literal-beg-re): New constant.
5513 (ruby-syntax-general-delimiters-goto-beg): Rename to
5514 `ruby-syntax-enclosing-percent-literal', improve literal type check.
5515 (ruby-syntax-propertize-general-delimiters): Rename to
5516 `ruby-syntax-propertize-percent-literal', it's a shorter and more
5517 popular term. Adjust comments everywhere.
5518 (ruby-syntax-propertize-percent-literal): Only propertize when not
5519 inside a simple string or comment. When the literal is unclosed,
5520 leave the text after it unpropertized.
5521 (ruby-syntax-methods-before-regexp): New constant.
5522 (ruby-syntax-propertize-function): Use it to recognize regexps.
5523 Don't look at the text after regexp, just use the whitelist.
5524
5525 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
5526
5527 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
5528 non-nil always load the compiled file if it exists. (Bug#12197)
5529
5530 2012-08-14 Chong Yidong <cyd@gnu.org>
5531
5532 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
5533 (hi-lock-set-pattern): When deciding whether to use font lock or
5534 overlays, look at font-lock-mode instead of font-lock-fontified
5535 (Bug#12168).
5536 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
5537 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
5538
5539 2012-08-14 Daiki Ueno <ueno@unixuser.org>
5540
5541 * subr.el (internal--after-with-selected-window): Fix typo
5542 (Bug#12193).
5543
5544 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
5545
5546 Use `completion-table-dynamic' for completion functions.
5547 * progmodes/python.el
5548 (python-shell-completion--do-completion-at-point)
5549 (python-shell-completion--get-completions):
5550 Remove functions.
5551 (python-shell-completion-complete-at-point): New function.
5552 (python-completion-complete-at-point): Use it.
5553
5554 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
5555
5556 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
5557 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
5558
5559 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5560
5561 * subr.el (function-get): Refine `autoload' arg so it can also
5562 autoload functions for gv.el (bug#12191).
5563 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
5564 autoloads macros.
5565
5566 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
5567 Prefer pcase-let over destructuring-bind.
5568 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
5569 Also, remove whitespace as we go, rather than after accumulating the
5570 various places.
5571
5572 * subr.el (internal--before-with-selected-window)
5573 (internal--after-with-selected-window): Fix typo seleted->selected.
5574 (with-selected-window): Adjust callers.
5575 Reported by Dmitry Gutov <dgutov@yandex.ru>.
5576
5577 2012-08-13 Bastien Guerry <bzg@gnu.org>
5578
5579 * window.el (special-display-popup-frame): Minor docstring
5580 enhancement. (Bug#12172)
5581
5582 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
5583
5584 * tar-mode.el (tar-header-data-end): Only ignore size for files of
5585 type 1-6.
5586 (tar-header-block-summarize, tar-get-descriptor): Handle pax
5587 extended headers.
5588
5589 * files.el (hack-local-variables-filter): Remove useless eval.
5590
5591 2012-08-13 Martin Rudalics <rudalics@gmx.at>
5592
5593 * subr.el (with-selected-window): Fix last change.
5594
5595 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5596
5597 * subr.el (internal--before-with-seleted-window)
5598 (internal--after-with-seleted-window): New functions.
5599 (with-selected-window): Use them, to replace dependency on
5600 tty-top-frame.
5601
5602 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
5603
5604 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
5605 binding for `newline'.
5606 (ruby-move-to-block): When moving backward, stop at block opening,
5607 not indentation.
5608 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
5609 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
5610 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
5611 `ruby-toggle-block'.
5612
5613 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5614
5615 * ibuffer.el (ibuffer-do-toggle-read-only):
5616 * dired.el (dired-toggle-read-only):
5617 * buff-menu.el (Buffer-menu-toggle-read-only):
5618 * bindings.el (mode-line-toggle-read-only):
5619 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
5620
5621 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
5622
5623 * descr-text.el (describe-char): Put the overlays over the
5624 "displayed as" character.
5625
5626 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
5627
5628 * calc/calc-units.el (math-default-units-table): Give an
5629 initial value.
5630 (math-put-default-units): Add options to put composite units and
5631 unit systems in the default units table.
5632 (calc-convert-units): Send composite units to
5633 `math-put-default-units' when appropriate.
5634
5635 2012-08-11 Glenn Morris <rgm@gnu.org>
5636
5637 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
5638
5639 * tutorial.el (help-with-tutorial):
5640 * emacs-lisp/copyright.el (copyright-update-directory):
5641 * emacs-lisp/autoload.el (autoload-find-generated-file)
5642 (autoload-find-file): Disable local eval: (for insurance).
5643
5644 * files.el (hack-local-variables-filter): If an eval: form is not
5645 known to be safe, and enable-local-variables is :safe, then ignore
5646 the form totally, as is done for non-eval forms. (Bug#12155)
5647 This is CVE-2012-3479.
5648
5649 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
5650
5651 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
5652 (rx-form): Simplify.
5653
5654 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
5655
5656 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
5657 ?, _, and : are symbol constituents, ! is not (but kinda should be).
5658 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
5659 (ruby-syntax-propertize-function): Adjust for changes in
5660 `ruby-syntax-propertize-heredoc'.
5661
5662 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
5663
5664 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
5665 binding (use `M-;' instead).
5666 (ruby-singleton-class-p): New function.
5667 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
5668
5669 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
5670
5671 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
5672
5673 2012-08-10 Chong Yidong <cyd@gnu.org>
5674
5675 * progmodes/python.el (python-shell-get-process-name): Don't mess
5676 with same-window-buffer-names.
5677
5678 * eshell/eshell.el (eshell-add-to-window-buffer-names)
5679 (eshell-remove-from-window-buffer-names): Make obsolete.
5680 (eshell-buffer-name, eshell-unload-hook): Don't use them.
5681 (eshell): Just use pop-to-buffer-same-window instead.
5682
5683 2012-08-10 Chong Yidong <cyd@gnu.org>
5684
5685 * bindings.el: Bind M-= back to count-words-region.
5686
5687 * simple.el (count-words-region): Accept a prefix arg for acting
5688 on the entire buffer.
5689 (count-words--buffer-message): New helper function.
5690
5691 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
5692
5693 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
5694 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
5695 (event-start, event-end): Use posn-at-point to return a more
5696 informative posn.
5697 (posnp): New function.
5698 * mouse.el (popup-menu-normalize-position): Use it.
5699
5700 2012-08-10 Masatake YAMATO <yamato@redhat.com>
5701
5702 * mouse.el (popup-menu-normalize-position): New function.
5703 (popup-menu): Use `popup-menu-normalize-position' to normalize
5704 the form for POSITION argument.
5705
5706 * term/x-win.el (x-menu-bar-open):
5707 Use the value returend from (posn-at-point) as position
5708 passed to `popup-menu'.
5709
5710 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
5711
5712 * calc/calccomp.el (math-compose-expr): Add extra argument
5713 indicating that parentheses should be put around products in
5714 denominators. Give multiplication precedence over division during
5715 composition.
5716
5717 2012-08-09 Chong Yidong <cyd@gnu.org>
5718
5719 * man.el (Man-switches, Man-sed-command, Man-awk-command)
5720 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
5721 (Man-untabify-command, manual-program): Convert to defcustom
5722 (Bug#10429).
5723
5724 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
5725
5726 * descr-text.el (describe-char): Don't insert extra newlines
5727 (Bug#10127).
5728
5729 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
5730 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
5731
5732 * align.el (align-region): Delete temporary markers (Bug#10047).
5733 Plus some code cleanups.
5734
5735 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
5736
5737 * progmodes/python.el (python-pdbtrack-tracked-buffer)
5738 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
5739 (python-shell-internal-last-output): Use make-local-variable
5740 instead of make-variable-buffer-local.
5741
5742 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
5743
5744 * progmodes/python.el: Enhancements to forward-sexp.
5745 (python-nav-forward-sexp): Rename from
5746 python-nav-forward-sexp-function.
5747 (python-nav--forward-sexp, python-nav--backward-sexp):
5748 New functions.
5749
5750 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
5751
5752 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
5753 modes and simplification modes.
5754
5755 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5756
5757 * delsel.el (delete-selection-pre-hook): Don't propagate the
5758 file-supersession signals (bug#12161).
5759
5760 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5761
5762 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
5763 (cl-map-extents): Add compatibility aliases (bug#12135).
5764
5765 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
5766
5767 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
5768 tests by `ignore-error'.
5769 (tramp-find-shell): Open also a new shell, when cache is already
5770 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
5771
5772 2012-08-08 Juri Linkov <juri@jurta.org>
5773
5774 * bookmark.el: Add `defaults' property to the bookmark record.
5775 (bookmark-current-buffer): Doc fix.
5776 (bookmark-make-record): Add `defaults' property with default values
5777 to the bookmark record.
5778 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
5779 with `bookmark-insert-current-bookmark'.
5780 (bookmark-set): Get `defaults' property from the bookmark record
5781 and use it in `read-from-minibuffer'.
5782 (bookmark-insert-current-bookmark): Remove function.
5783
5784 * info.el (Info-bookmark-make-record): Add `defaults' property
5785 with values of canonical Info node name, the current Info file
5786 name and the current Info node name. (Bug#12107)
5787
5788 2012-08-08 Juri Linkov <juri@jurta.org>
5789
5790 * files.el (basic-save-buffer): Use `buffer-name' as the default
5791 of `read-file-name' when buffer is not visiting a file (bug#12128).
5792
5793 2012-08-08 Juri Linkov <juri@jurta.org>
5794
5795 * info.el (Info-isearch-search): Doc fix.
5796 (Info-search): Change search-failed message from "initial node" to
5797 "end of node" (bug#12078).
5798 (Info-isearch-search): Change `isearch-string-state' to
5799 `isearch--state-string'.
5800
5801 2012-08-08 Glenn Morris <rgm@gnu.org>
5802
5803 * language/persian.el: Remove file.
5804 * language/misc-lang.el: Move unique part of persian.el here.
5805 * loadup.el: Remove language/persian.
5806
5807 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
5808
5809 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
5810
5811 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
5812
5813 * progmodes/python.el Fixed defsubst warning.
5814 (python-syntax-context) Rename from python-info-ppss-context.
5815 (python-syntax-context-type): Rename from
5816 python-info-ppss-context-type.
5817 (python-syntax-comment-or-string-p): Rename from
5818 python-info-ppss-comment-or-string-p.
5819
5820 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
5821
5822 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
5823
5824 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
5825
5826 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
5827 a defcustom that is quoted with backquote.
5828
5829 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
5830 Fix handling of interactive spec when the body uses return.
5831 (math-do-arg-check, math-define-function-body): Use backquote forms.
5832 * calc/calc-ext.el (math-defcache): Likewise.
5833 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
5834 * allout.el (allout-new-exposure): Likewise.
5835 * calc/calcalg2.el (math-tracing-integral): Likewise.
5836 * info.el (Info-last-menu-item): Likewise.
5837 * emulation/vip.el (vip-loop): Likewise.
5838 * textmodes/artist.el (artist-funcall): Likewise.
5839 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
5840 Construct menu-item directly.
5841
5842 * progmodes/autoconf.el (font-lock-syntactic-keywords):
5843 Don't declare.
5844
5845 2012-08-07 Chong Yidong <cyd@gnu.org>
5846
5847 * simple.el (deactivate-mark): Preserve text properties when
5848 saving the primary selection (Bug#8384).
5849
5850 2012-08-07 Kevin Ryde <user42@zip.com.au>
5851
5852 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
5853 (woman-parse-numeric-value): On a bad .IP line, issue a warning
5854 and continue processing (Bug#12110).
5855
5856 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
5857
5858 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
5859 syntax-propertize-function (bug#10095).
5860
5861 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
5862
5863 * help-fns.el (help-fns--key-bindings, help-fns--signature)
5864 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
5865 describe-function-1.
5866 (describe-function-1): Use them. Move compiler macro after sig.
5867 (help-fns--compiler-macro): Use function-get. Assume we're already in
5868 standard-output. Adjust layout to new call order.
5869
5870 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
5871 re-binding a symbol that has a symbol-macro (bug#12119).
5872
5873 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
5874
5875 * language/persian.el: New file. (Bug#11812)
5876 * loadup.el: Add language/persian.el.
5877
5878 2012-08-06 Chong Yidong <cyd@gnu.org>
5879
5880 * window.el (window--maybe-raise-frame): New function.
5881 (window--display-buffer): Split off from here.
5882 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5883 (display-buffer-pop-up-window, display-buffer-use-some-window):
5884 Obey an inhibit-switch-frame action alist entry.
5885 (display-buffer): Update doc.
5886
5887 * replace.el (occur-after-change-function): Avoid losing focus by
5888 using the inhibit-switch-frame display parameter (Bug#12139).
5889
5890 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
5891
5892 Make internal shell process buffer names start with space.
5893 * progmodes/python.el (python-shell-make-comint): Add optional
5894 argument INTERNAL.
5895 (run-python-internal): Use it.
5896 (python-shell-internal-get-or-create-process): Check for new
5897 internal buffer names.
5898
5899 2012-08-06 Glenn Morris <rgm@gnu.org>
5900
5901 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5902 Do less getting and setting of environment variables.
5903
5904 2012-08-05 Chong Yidong <cyd@gnu.org>
5905
5906 * proced.el (proced): Add substitution string to docstring to
5907 trigger autoloading of the proced library on C-h f (Bug#1768).
5908
5909 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5910 Don't show defvars which have no second argument (Bug#8638).
5911
5912 * imenu.el (imenu-generic-expression): Move documentation here
5913 from imenu--generic-function.
5914 (imenu--generic-function): Refer to imenu-generic-expression.
5915
5916 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
5917
5918 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
5919 indentation declaration.
5920 (viper-loop): Add indentation declaration (Bug#7025).
5921
5922 2012-08-05 Chong Yidong <cyd@gnu.org>
5923
5924 * help-fns.el (describe-variable): Add hyperlink for
5925 directory-local variables files. Improve buffer-local and
5926 permanent-local reporting; suggested by MON KEY (Bug#6644).
5927
5928 * help-mode.el (help-dir-local-var-def): New button type.
5929
5930 * files.el (kill-buffer-hook): Provide a defvar.
5931
5932 2012-08-05 Glenn Morris <rgm@gnu.org>
5933
5934 * eshell/esh-ext.el (eshell/addpath):
5935 Also update eshell-path-env. (Bug#12013)
5936
5937 2012-08-05 Chong Yidong <cyd@gnu.org>
5938
5939 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
5940
5941 * fringe.el (fringe-styles): Add docstring.
5942 (fringe--check-mode): New function.
5943 (set-fringe-mode, set-fringe-style): Use it.
5944 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
5945
5946 * files.el (set-auto-mode): Fix invalid setq call.
5947
5948 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5949
5950 * isearch.el: Misc simplification; use defstruct.
5951 (isearch-mode-map): Dense maps now work like sparse ones.
5952 (isearch--state): New defstruct.
5953 (isearch-string-state, isearch-message-state, isearch-point-state)
5954 (isearch-success-state, isearch-forward-state)
5955 (isearch-other-end-state, isearch-word-state, isearch-error-state)
5956 (isearch-wrapped-state, isearch-barrier-state)
5957 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
5958 replaced by defstruct's accessors.
5959 (isearch--set-state): Rename from isearch-top-state and change
5960 calling convention.
5961 (isearch-push-state): Use new isearch--get-state.
5962 (isearch-toggle-word): Disable regexp when enabling word.
5963 (isearch-message-prefix): Remove unused arg _c-q-hack.
5964 (isearch-message-suffix): Remove unused arg _ellipsis.
5965
5966 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
5967
5968 * simple.el (list-processes--refresh): For a server use :host or
5969 :local as the address.
5970 (list-processes): Doc fix.
5971
5972 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
5973
5974 * lisp/mpc.el: Support password in host argument.
5975 (mpc--proc-connect): Parse and use new password element.
5976 Set mpc-proc variable instead of returning process.
5977 (mpc-proc): Adjust accordingly.
5978
5979 2012-08-03 Eli Zaretskii <eliz@gnu.org>
5980
5981 * whitespace.el (whitespace-display-mappings): Use Unicode
5982 codepoints, instead of emacs-mule codepoints. See
5983 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
5984 for the details.
5985
5986 * files.el (file-truename): Don't skip symlink-chasing part on
5987 windows-nt. Incorporate the resolution of 8+3 short aliases on
5988 Windows into the loop that recursively chases symlinks.
5989 Compare directory and its parent case-insensitively on MS-Windows and
5990 MS-DOS.
5991
5992 2012-08-03 Chong Yidong <cyd@gnu.org>
5993
5994 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
5995
5996 * sort.el (sort-regexp-fields): Doc fix.
5997
5998 2012-08-03 Tassilo Horn <tsdh@gnu.org>
5999
6000 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
6001 labels regex position point at the expected place.
6002
6003 2012-08-03 MON KEY <monkey@sandpframing.com>
6004
6005 * net/imap.el (imap-interactive-login, imap-authenticate)
6006 (imap-mailbox-lsub, imap-mailbox-list)
6007 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
6008 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
6009 (imap-parse-response): Doc fix.
6010
6011 2012-08-03 João Távora <joaotavora@gmail.com>
6012
6013 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
6014 if sexp scanning does not move point (Bug#5734).
6015
6016 2012-08-02 Tassilo Horn <tsdh@gnu.org>
6017
6018 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
6019 Add listings, minted, and ctable packages.
6020 (reftex-label-alist-builtin): Move listings, minted, and ctable
6021 entries before LaTeX.
6022 (reftex-label-alist): Docfix.
6023
6024 2012-08-02 Bastien Guerry <bzg@gnu.org>
6025
6026 * replace.el (occur): Fix docstring (bug#12122).
6027
6028 2012-08-02 Glenn Morris <rgm@gnu.org>
6029
6030 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
6031
6032 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
6033
6034 Obsolete alias inactivate-current-input-method-function (Bug#10150).
6035 * international/mule-cmds.el: Create
6036 inactivate-current-input-method-function as an obsolete alias for
6037 deactivate-current-input-method-function. See Katsumi Yamaoka in
6038 <http://bugs.gnu.org/10150#46>.
6039
6040 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
6041
6042 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
6043 of nested `if's.
6044
6045 2012-08-01 Glenn Morris <rgm@gnu.org>
6046
6047 * progmodes/autoconf.el (autoconf-definition-regexp):
6048 Add AH_TEMPLATE, adjust submatch numbering.
6049 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
6050 (autoconf-current-defun-function): Update for above change.
6051 (autoconf-current-defun-function): First skip to end of current word.
6052
6053 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
6054
6055 * calendar/cal-html.el (cal-html-insert-agenda-days):
6056 Fix typo. (Bug#12018)
6057
6058 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
6059
6060 Shell processes: enhancements to startup and CEDET compatibility.
6061 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
6062 (python-shell-make-comint): accept-process-output at startup.
6063 (run-python-internal): Set inferior-python-mode-hook to nil.
6064 (python-shell-internal-get-or-create-process): call sit-for.
6065 (python-preoutput-result): Add obsolete alias.
6066 (python-shell-internal-send-string): Use it.
6067 (python-shell-send-setup-code): Remove call to
6068 accept-process-output.
6069
6070 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
6071
6072 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
6073 (Bug#12108)
6074
6075 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
6076
6077 * calc-mode.el (calc-basic-simplification-mode): Rename from
6078 `calc-limited-simplification-mode'.
6079 (calc-alg-simplification-mode): New function.
6080 (calc-set-simplify-mode): Adjust message.
6081
6082 * calc.el (calc-set-mode-line): Adjust mode line display for
6083 basic simplification mode.
6084
6085 * calc-help.el (calc-m-prefix-help): Update help message.
6086
6087 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
6088 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
6089
6090 2012-07-31 Bastien Guerry <bzg@gnu.org>
6091
6092 * man.el (man): Fix comment. (bug#12101)
6093
6094 2012-07-31 Martin Rudalics <rudalics@gmx.at>
6095
6096 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
6097 Don't return a non-nil value when no suitable buffer was found.
6098
6099 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
6100
6101 * progmodes/python.el (run-python-internal): Disable font lock for
6102 internal shells.
6103
6104 2012-07-30 Stefan Merten <smerten@oekonux.de>
6105
6106 * textmodes/rst.el: Silence `checkdoc-ispell'.
6107 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
6108 (rst-official-version, rst-official-cvs-rev)
6109 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
6110 (rst-mode-map): New key binding.
6111
6112 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
6113
6114 Update .PHONY listings in makefiles.
6115 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
6116 autoloads, update-subdirs, updates, bzr-update, update-authors,
6117 compile-onefile, compile-calc, backup-compiled-files,
6118 compile-after-backup, compile-one-process, mh-autoloads,
6119 bootstrap-clean, distclean, maintainer-clean.
6120
6121 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
6122
6123 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
6124 (calc-set-mode-line): Don't display "AlgSimp ".
6125
6126 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
6127 (calc-lim-simplify-mode): New function.
6128 (calc-set-simplify-mode): Default to 'alg.
6129 (calc-default-simplify-mode): Make algebraic simplifications
6130 the default.
6131
6132 * calc/calc-ext.el (calc-init-extensions): Remove binding for
6133 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
6134
6135 * calc/calc-help.el (calc-m-prefix-help): Change messages to
6136 indicate new simplification modes.
6137
6138 * calc/README: Mention new default simplification mode.
6139
6140 * calc/calc.el (math-normalize-error): New variable.
6141 (math-normalize): Set `math-normalize-error' to t
6142 when there's an error.
6143
6144 * calc/calc-alg.el (math-simplify): Don't simplify when
6145 `math-normalize' returns an error.
6146
6147 2012-07-29 Eli Zaretskii <eliz@gnu.org>
6148
6149 * international/mule-cmds.el (set-locale-environment): Revert last
6150 change, since display-graphic-p returns nil when this function is
6151 called during startup. Instead...
6152
6153 * term/w32console.el (terminal-init-w32console): ...setup the
6154 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
6155
6156 2012-07-29 Juri Linkov <juri@jurta.org>
6157
6158 * simple.el (goto-line): Don't display default line number in the
6159 prompt because it should be displayed by `read-number' (bug#9952).
6160 Add the current line number to the defaults of `goto-line' to
6161 allow its easier modification by users with `M-n' (bug#9201).
6162
6163 * subr.el (read-number): Support multiple default values like in
6164 other minibuffer reading functions. Replace `read' with
6165 `string-to-number' for consistency with `number-to-string'.
6166
6167 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
6168
6169 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
6170 * emulation/viper-init.el (viper-deactivate-input-method-action):
6171 Rename from viper-inactivate-input-method-action.
6172 (viper-deactivate-input-method):
6173 Rename from viper-inactivate-input-method.
6174 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
6175 * international/mule-cmds.el (deactivate-input-method):
6176 Rename from inactivate-input-method.
6177 Also run input-method-deactivate-hook.
6178 (deactivate-current-input-method-function):
6179 Rename from inactivate-current-input-method-function.
6180 (input-method-deactivate-hook): New hook.
6181 (input-method-inactivate-hook): Mark obsolete.
6182 (inactivate-input-method): Mark obsolete.
6183
6184 * international/quail.el (quail-activate):
6185 Also run quail-deactivate-hook.
6186 (quail-deactivate): Rename from quail-inactivate.
6187 * international/robin.el (robin-activate):
6188 Also run robin-deactivate-hook.
6189 (robin-deactivate): Rename from robin-inactivate.
6190
6191 2012-07-29 Chong Yidong <cyd@gnu.org>
6192
6193 * simple.el (indicate-copied-region): New function.
6194 (kill-ring-save): Split off from here.
6195
6196 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
6197 (kill-rectangle): Set deactivate-mark to t on read-only error.
6198
6199 * register.el (copy-to-register, copy-rectangle-to-register):
6200 Deactivate the mark, and use indicate-copied-region (Bug#10056).
6201 (append-to-register, prepend-to-register): Call indicate-copied-region.
6202
6203 2012-07-29 Juri Linkov <juri@jurta.org>
6204
6205 * simple.el (async-shell-command-buffer): New defcustom.
6206 (shell-command): Use it. (Bug#4719)
6207
6208 2012-07-28 Eli Zaretskii <eliz@gnu.org>
6209
6210 * international/mule-cmds.el (set-locale-environment): In a
6211 console session on MS-Windows, set up keyboard and terminal
6212 encoding from the OEM codepage, not the ANSI codepage.
6213 (Bug#12055)
6214
6215 2012-07-28 Chong Yidong <cyd@gnu.org>
6216
6217 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
6218 gdb-get-location.
6219
6220 2012-07-28 Leo Liu <sdl.web@gmail.com>
6221
6222 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
6223 the alist (bug#12029).
6224
6225 2012-07-28 Eli Zaretskii <eliz@gnu.org>
6226
6227 * makefile.w32-in (custom-deps, finder-data, updates, compile)
6228 (compile-always, compile-first)
6229 ($(lisp)/calendar/cal-loaddefs.el)
6230 ($(lisp)/calendar/diary-loaddefs.el)
6231 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
6232 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
6233 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
6234 instead of on update-subdirs.
6235 (bootstrap-clean): Delete $(lisp)/subdirs.el.
6236
6237 2012-07-28 Chong Yidong <cyd@gnu.org>
6238
6239 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
6240 directory if vc-deduce-backend returns nil (Bug#7350).
6241
6242 * simple.el (delete-trailing-lines): New option.
6243 (delete-trailing-whitespace): Obey it (Bug#11879).
6244
6245 2012-07-28 David Engster <deng@randomsample.de>
6246
6247 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
6248 Explanation of new 'symbol-qnames feature in doc-strings.
6249 (xml-maybe-do-ns): Return expanded names as plain symbols if
6250 'symbol-qnames was provided in XML-NS argument (Bug#11916).
6251 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
6252
6253 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
6254
6255 Consistent completion in inferior python with emacs -nw.
6256 * progmodes/python.el (inferior-python-mode): replace "<tab>"
6257 binding in inferior-python-mode-map with "\t".
6258 (python-shell-completion-complete-at-point)
6259 (python-completion-complete-at-point): Remove interactive spec.
6260
6261 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
6262
6263 * calc/calccomp.el (math-compose-expr): Undo previous change.
6264
6265 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
6266
6267 * progmodes/python.el (python-mode-map): Add keybinding for
6268 run-python.
6269 (python-shell-make-comint): Fix pop-to-buffer call.
6270 (run-python): Autoload. New arg SHOW.
6271 (python-shell-get-or-create-process): Do not pop python process
6272 buffer.
6273
6274 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
6275
6276 * notifications.el (notifications-on-action-signal)
6277 (notifications-on-closed-signal): Use also the bus address for the map.
6278 (notifications-notify, notifications-close-notification)
6279 (notifications-get-capabilities): Add optional argument BUS.
6280
6281 2012-07-27 Tassilo Horn <tsdh@gnu.org>
6282
6283 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
6284 Add support for the lstlisting and minted environments, and for the
6285 ctable macro.
6286 * textmodes/reftex.el (reftex-compile-variables): Also recognize
6287 labels written in keyvals syntax.
6288
6289 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
6290
6291 * calc/calccomp.el (math-compose-expr): Use parentheses when
6292 there is a product in the denominator of a fraction.
6293
6294 2012-07-26 Eli Zaretskii <eliz@gnu.org>
6295
6296 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
6297 ($(lisp)/calendar/diary-loaddefs.el)
6298 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
6299 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
6300 Fixes failures in parallel bootstrap because subdirs.el is being
6301 rewritten while the autoload files are built at the same time,
6302 which needs to load subdirs.el.
6303
6304 2012-07-26 Martin Rudalics <rudalics@gmx.at>
6305
6306 * mouse.el (popup-menu): Fix doc-string and re-indent code.
6307 (mouse-drag-line): Don't exit tracking when a switch-frame or
6308 switch-window event occurs (Bug#12006).
6309
6310 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6311
6312 * mouse.el (popup-menu): Fix last change.
6313
6314 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6315
6316 Autoload from Lisp with more care. Follow aliases when looking for
6317 function properties.
6318 * subr.el (autoloadp): New function.
6319 (symbol-file): Use it.
6320 (function-get): New function.
6321 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
6322 autoload-do-load.
6323 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
6324 (lisp-indent-function):
6325 * emacs-lisp/gv.el (gv-get):
6326 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
6327 * emacs-lisp/byte-opt.el (byte-optimize-form):
6328 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
6329 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
6330 Use function-get.
6331 * emacs-lisp/cl.el: Don't propagate function properties any more.
6332
6333 * speedbar.el (speedbar-add-localized-speedbar-support):
6334 * emacs-lisp/disass.el (disassemble-internal):
6335 * desktop.el (desktop-load-file):
6336 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
6337 (describe-function-1):
6338 * emacs-lisp/find-func.el (find-function-noselect):
6339 * emacs-lisp/elp.el (elp-instrument-function):
6340 * emacs-lisp/advice.el (ad-has-proper-definition):
6341 * apropos.el (apropos-safe-documentation, apropos-macrop):
6342 * emacs-lisp/debug.el (debug-on-entry):
6343 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
6344 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
6345 * calc/calc.el (name): Use autoloadp & autoload-do-load.
6346
6347 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
6348
6349 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
6350 function, not an obsolete variable (Bug#12046).
6351
6352 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
6353
6354 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
6355
6356 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
6357
6358 * emacs-lisp/pp.el (pp-display-expression): Select old selected
6359 window only if it is still live (Bug#12034).
6360
6361 2012-07-25 Martin Rudalics <rudalics@gmx.at>
6362
6363 * subr.el (redirect-frame-focus): Add advertised calling
6364 convention (Bug#12030).
6365
6366 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
6367
6368 Prefer typical American spelling for "acknowledgment".
6369 * vc/add-log.el (change-log-acknowledgment): Rename from
6370 change-log-acknowledgement, with an alias for the old name.
6371
6372 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
6373
6374 * calc-alg.el (math-simplify-divide): Don't cross multiply
6375 in an equation when the lhs is a variable.
6376
6377 2012-07-24 Julien Danjou <julien@danjou.info>
6378
6379 * net/netrc.el (netrc-find-service-number, netrc-store-data):
6380 Remove, unused.
6381
6382 2012-07-23 Eli Zaretskii <eliz@gnu.org>
6383
6384 * startup.el (command-line): Don't display an empty user name in
6385 the error message about non-existent home directory, when
6386 init-file-user was set to an empty string. See
6387 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
6388 for the details and context.
6389
6390 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
6391
6392 * ses.el (ses-cell-formula-aset): New macro.
6393 (ses-cell-references-aset): New macro.
6394 (ses-cell-p): New function.
6395 (ses-rename-cell): Do no longer rely on complex operations like
6396 ses-cell-set-formula or ses-set-cell to change the cell and handle
6397 the undo at the same time, but rather use lower level new macros
6398 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
6399 the undo directly. Refresh the mode line.
6400
6401 2012-07-21 Leo Liu <sdl.web@gmail.com>
6402
6403 * progmodes/cc-cmds.el (c-defun-name):
6404 Use match-string-no-properties instead for consistency.
6405
6406 2012-07-20 Leo Liu <sdl.web@gmail.com>
6407
6408 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
6409 (Bug#7879)
6410
6411 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
6412
6413 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
6414
6415 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
6416 * progmodes/bug-reference.el, misearch.el: Provide themselves
6417 (bug#11915).
6418
6419 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
6420 of narrowed buffer (bug#11966).
6421
6422 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
6423
6424 * ses.el (ses-rename-cell): Set new name also in reference list of
6425 cells of which the renamed cell depends.
6426
6427 2012-07-20 Masatake YAMATO <yamato@redhat.com>
6428
6429 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
6430 to check whether menu-bar is shown or not. If not shown,
6431 show the menu-bar as a popup menu instead of using tmm.
6432 * mouse.el (popup-menu): Accept `point' as `position' argument.
6433
6434 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
6435
6436 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
6437 up inside string symbol literal (bug#11923).
6438
6439 2012-07-20 Eli Zaretskii <eliz@gnu.org>
6440
6441 * startup.el (fancy-startup-text): Read the whole tutorial, not
6442 just its first 256 bytes. Prevents gibberish in display of the
6443 tutorial title.
6444
6445 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
6446
6447 Drop idle buffer compaction due to an absence of the
6448 proved efficiency.
6449 * compact.el: Remove.
6450
6451 2012-07-19 Sam Steingold <sds@gnu.org>
6452
6453 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
6454 vc-bzr-pull & vc-bzr-merge-branch.
6455 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
6456 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
6457 for consistency with compilation-error-regexp-alist.
6458 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
6459 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
6460 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
6461 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
6462
6463 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
6464
6465 * emacs-lisp/chart.el: Use lexical-binding.
6466 (chart-emacs-storage): Don't hardcode the list of entries.
6467
6468 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
6469
6470 Next round of tweaks caused by Fgarbage_collect changes.
6471 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
6472
6473 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
6474
6475 Compact buffers when idle.
6476 * compact.el: New file.
6477
6478 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
6479
6480 * subr.el (eventp): Presume that if it looks vaguely like an event,
6481 it's an event (bug#10190).
6482
6483 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
6484
6485 Enhancements to ppss related code (thanks Stefan).
6486 * progmodes/python.el (python-indent-context)
6487 (python-indent-calculate-indentation, python-indent-dedent-line)
6488 (python-indent-electric-colon, python-nav-forward-block)
6489 (python-mode-abbrev-table)
6490 (python-info-assignment-continuation-line-p): Simplify checks
6491 for ppss context.
6492 (python-info-continuation-line-p): Cleanup.
6493 (python-info-ppss-context): Do not catch 'quote.
6494 (python-info-ppss-context-type)
6495 (python-info-ppss-comment-or-string-p): Simplify.
6496
6497 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
6498
6499 * progmodes/python.el: Enhancements to eldoc support.
6500 (python-info-current-symbol): New function.
6501 (python-eldoc-at-point): Use python-info-current-symbol.
6502 (python-info-current-defun): Fix cornercase on first defun scan.
6503 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
6504 and signal error when no inferior python process is available.
6505
6506 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
6507
6508 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
6509 assume it's always t.
6510 (vc-git-registered): Remove caching, the function is only called
6511 once.
6512 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
6513
6514 2012-07-18 Chong Yidong <cyd@gnu.org>
6515
6516 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
6517
6518 * simple.el (count-words): Report on narrowing (Bug#9959).
6519
6520 * bindings.el: Bind M-= to count-words.
6521
6522 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
6523
6524 2012-07-18 Masatake YAMATO <yamato@redhat.com>
6525
6526 * progmodes/sh-script.el (sh-imenu-generic-expression):
6527 Capture a function with `function' keyword and without parentheses
6528 like "function FOO" (bug#11856).
6529
6530 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
6531
6532 * window.el (split-window-sensibly): Make WINDOW argument
6533 optional.
6534
6535 2012-07-18 Chong Yidong <cyd@gnu.org>
6536
6537 * subr.el (keyboard-translate): Doc fix (Bug#7261).
6538
6539 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
6540 and make C-x 8 RET exit isearch (Bug#11439).
6541
6542 * international/iso-transl.el: Move isearch-mode-map key
6543 definitions to isearch.el.
6544
6545 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
6546
6547 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
6548 (eieio-defclass): Use gv-define-setter when possible.
6549
6550 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
6551
6552 Reflect recent changes in Fgarbage_collect.
6553 * emacs-lisp/chart.el (chart-emacs-storage): Change to
6554 reflect new format of data returned by Fgarbage_collect.
6555
6556 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
6557
6558 New utility functions + python-info-ppss-context fix (Bug#11910).
6559 * progmodes/python.el (python-info-beginning-of-block-statement-p)
6560 (python-info-ppss-comment-or-string-p): New functions.
6561 (python-info-ppss-context): Small fix for string check.
6562
6563 2012-07-17 Juri Linkov <juri@jurta.org>
6564
6565 * dired-aux.el (dired-do-async-shell-command): Doc fix.
6566 (dired-do-async-shell-command): Don't add `*' at the end of the
6567 command (Bug#11815).
6568 (dired-do-shell-command): Doc fix.
6569 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
6570 Join the individual commands using either "&" or ";" as the
6571 separator depending on the values of these trailing characters.
6572 At the end re-add the trailing "&". (Bug#10598)
6573
6574 * simple.el (async-shell-command): Sync the interactive spec with
6575 `shell-command'. Doc fix.
6576 (shell-command): Doc fix.
6577
6578 2012-07-17 Juri Linkov <juri@jurta.org>
6579
6580 * descr-text.el (describe-char): Fix format args. (Bug#10129)
6581
6582 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
6583
6584 Final renames and doc fixes for movement commands (bug#11899).
6585 * progmodes/python.el (python-nav-beginning-of-statement):
6586 Rename from python-nav-statement-start.
6587 (python-nav-end-of-statement): Rename from
6588 python-nav-statement-end.
6589 (python-nav-beginning-of-block): Rename from
6590 python-nav-block-start.
6591 (python-nav-end-of-block): Rename from python-nav-block-end.
6592
6593 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
6594
6595 * progmodes/python.el (python-shell-send-string-no-output):
6596 Allow accept-process-output to quit, keeping shell process ready for
6597 future interactions (Bug#11868).
6598
6599 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
6600
6601 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
6602
6603 * emacs-lisp/elint.el (elint-find-args-in-code):
6604 Use help-function-arglist, so as to handle lexical byte-code.
6605
6606 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
6607 change (bug#11826).
6608
6609 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
6610
6611 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
6612 Avoid spuriously marking the buffer as modified because of c-is-sws.
6613
6614 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
6615 as not-a-comment (bug#11946).
6616
6617 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
6618 for uninterned vars.
6619
6620 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
6621 Use read-event since we don't really want to read chars but bytes.
6622
6623 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
6624 $$..$$ but also $..$ using regexps (bug#11953).
6625 Use tex-verbatim for \url and \path.
6626 (tex-font-lock-keywords): Define as defconst like the others.
6627 (tex-common-initialization): Don't use font-lock-syntax-table any more.
6628
6629 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
6630
6631 * international/mule-cmds.el (ucs-insert): Make it an obsolete
6632 alias for insert-char.
6633
6634 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
6635
6636 * progmodes/python.el: Simplified imenu implementation.
6637 (python-nav-jump-to-defun): Remove command.
6638 (python-mode-map): Use `imenu' instead.
6639 (python-nav-list-defun-positions-cache)
6640 (python-imenu-include-defun-type, python-imenu-make-tree)
6641 (python-imenu-subtree-root-label, python-imenu-index-alist):
6642 Remove vars.
6643 (python-nav-list-defun-positions, python-nav-read-defun)
6644 (python-imenu-tree-assoc, python-imenu-make-element-tree)
6645 (python-imenu-make-tree, python-imenu-create-index):
6646 Remove functions.
6647 (python-mode): Update to interact with imenu by setting
6648 `imenu-extract-index-name-function' only.
6649
6650 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
6651
6652 * progmodes/python.el: Enhancements to navigation commands.
6653 (python-nav-backward-sentence)
6654 (python-nav-forward-sentence): Remove.
6655 (python-nav-backward-statement, python-nav-forward-statement)
6656 (python-nav-statement-start, python-nav-statement-end)
6657 (python-nav-backward-block, python-nav-forward-block)
6658 (python-nav-block-start, python-nav-block-end)
6659 (python-nav-forward-sexp-function)
6660 (python-info-current-line-comment-p)
6661 (python-info-current-line-empty-p): New functions.
6662 (python-indent-context): Use `python-nav-statement-start'.
6663
6664 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
6665
6666 * eshell/em-ls.el (eshell/ls): Use `apply'.
6667
6668 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
6669 multi-hops, instead of Tramp internals.
6670
6671 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
6672
6673 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
6674 when F1 and F2 are located on different hosts.
6675
6676 2012-07-14 Chong Yidong <cyd@gnu.org>
6677
6678 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
6679 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
6680 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
6681 (xterm-mouse--read-event-sequence-1000)
6682 (xterm-mouse--read-event-sequence-1006): New functions. For old
6683 mouse protocol, handle M-mouse-X events correctly.
6684 (xterm-mouse-event): New arg specifying mouse protocol.
6685 (turn-on-xterm-mouse-tracking-on-terminal)
6686 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
6687 sequence to toggle extended coordinates on newer XTerms.
6688 This appears to be harmless on terminals which do not support this.
6689
6690 2012-07-14 Leo Liu <sdl.web@gmail.com>
6691
6692 Add fringe bitmap indicators for flymake. (Bug#11253)
6693 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
6694 (flymake-make-overlay): New arg BITMAP.
6695 (flymake-error-bitmap, flymake-warning-bitmap)
6696 (flymake-fringe-indicator-position): New user variables.
6697
6698 * fringe.el: New bitmap exclamation-mark.
6699
6700 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
6701
6702 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
6703 also (Bug#7879).
6704
6705 2012-07-14 Chong Yidong <cyd@gnu.org>
6706
6707 * electric.el (electric-pair-post-self-insert-function): Fix pair
6708 insertion in empty-region case (Bug#11520).
6709
6710 2012-07-14 Chong Yidong <cyd@gnu.org>
6711
6712 * bindings.el: Consolidate ctl-x-r-map bindings.
6713 Bind copy-rectangle-as-kill to C-x r w.
6714
6715 * rect.el, register.el: Move bindings to bindings.el.
6716
6717 2012-07-14 Reuben Thomas <rrt@sc3d.org>
6718
6719 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
6720
6721 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
6722
6723 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
6724
6725 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
6726
6727 * bindings.el (top): Use `mapc' instead of `mapcar'.
6728
6729 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
6730
6731 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
6732
6733 * progmodes/sql.el (sql-comint): Suppress the check for program on
6734 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
6735 (Bug#11908)
6736
6737 2012-07-13 Chong Yidong <cyd@gnu.org>
6738
6739 * bindings.el: Assign a non-nil permanent-local property to
6740 per-buffer variables which lack a default value (Bug#11930).
6741
6742 * help-fns.el (describe-variable): In the "automatically becomes
6743 local" notice, take note of permanent-local variables.
6744
6745 2012-07-13 Chong Yidong <cyd@gnu.org>
6746
6747 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
6748 to allow printing the message when called from Lisp.
6749
6750 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6751 Remove toggle-read-only.
6752
6753 * bs.el (bs-toggle-readonly):
6754 * buff-menu.el (Buffer-menu-toggle-read-only):
6755 Remove with-no-warnings around toggle-read-only.
6756
6757 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
6758 Remove with-no-warnings around toggle-read-only.
6759 (ffap-read-only, ffap-read-only-other-window)
6760 (ffap-read-only-other-frame): Callers changed.
6761
6762 * help-mode.el: Don't require view package.
6763 (help-mode-finish): Set buffer-read-only instead of calling
6764 toggle-read-only.
6765
6766 * bindings.el (mode-line-toggle-read-only):
6767 * dired.el (dired-toggle-read-only):
6768 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
6769 with non-nil second arg.
6770
6771 * emacs-lisp/eieio-custom.el (eieio-customize-object):
6772 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
6773 directly.
6774
6775 2012-07-12 Eli Zaretskii <eliz@gnu.org>
6776
6777 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
6778 not incf.
6779
6780 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
6781
6782 More CL cleanups and reduction of use of cl.el.
6783 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
6784 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
6785 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
6786 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
6787 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
6788 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
6789 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
6790 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
6791 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
6792 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
6793 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
6794 * eshell/em-cmpl.el, eshell/em-banner.el:
6795 * calendar/parse-time.el: Use cl-lib.
6796 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
6797 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
6798 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
6799 * term/ns-win.el, term.el, shell.el, ps-samp.el:
6800 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
6801 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
6802 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
6803 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
6804 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
6805 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
6806 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
6807 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
6808 `lambda' rather than with `quote'.
6809 (eshell-do-opt): Adjust accordingly.
6810 (eshell-process-option): Simplify.
6811 * eshell/esh-var.el:
6812 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
6813 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
6814 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
6815 to `pcase--dontcare'.
6816 * emacs-lisp/cl.el (labels): Mark obsolete.
6817 (cl--letf, letf): Move to cl-lib.
6818 (cl--letf*, letf*): Remove.
6819 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
6820 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
6821 (cl-progv): Rewrite.
6822 (cl--letf, cl-letf): Move from cl.el.
6823 (cl-letf*): New macro.
6824 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
6825
6826 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
6827
6828 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
6829
6830 2012-07-11 Chong Yidong <cyd@gnu.org>
6831
6832 * vc/log-edit.el (log-edit-vc-backend): New variable.
6833 (log-edit): Doc fix.
6834
6835 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
6836 argument of log-edit to set up all local variables.
6837 (vc-start-logentry): New optional arg specifying VC backend.
6838
6839 * vc/vc.el (vc-checkin): Use it.
6840 (vc-deduce-fileset): Handle Log Edit buffers.
6841 (vc-diff): Make first argument optional too.
6842
6843 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
6844
6845 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
6846
6847 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
6848 command, just in case. The function is not needed anymore.
6849 (eshell-external-command): Do not call `eshell-remote-command'.
6850
6851 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
6852
6853 Reduce use of (require 'cl).
6854 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
6855 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
6856 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
6857 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
6858 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
6859 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
6860 * battery.el, avoid.el, abbrev.el: Use cl-lib.
6861 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
6862 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
6863 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
6864 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
6865 * calculator.el, autorevert.el, apropos.el: Don't require CL.
6866 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
6867 (byte-compile-unfold-bcf, byte-compile-check-variable):
6868 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
6869 (byte-compile-nilconstp):
6870 * emacs-lisp/autoload.el (make-autoload): Use pcase.
6871 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
6872
6873 * emacs-lisp/gv.el (cond): Make it a valid place.
6874 (if): Simplify slightly.
6875
6876 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
6877 (pcase--self-quoting-p): New function.
6878 (pcase--u1): Use it.
6879
6880 2012-07-10 Glenn Morris <rgm@gnu.org>
6881
6882 * emacs-lisp/authors.el (authors-fixed-entries):
6883 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
6884
6885 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
6886
6887 Rename configure.in to configure.ac (Bug#11603).
6888 * emacs-lisp/authors.el (authors-canonical-file-name):
6889 * progmodes/autoconf.el (autoconf-mode):
6890 Prefer configure.ac to configure.in.
6891
6892 2012-07-08 Chong Yidong <cyd@gnu.org>
6893
6894 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
6895 Implement the mouse-1-click-follows-link handling properly.
6896
6897 * info.el (Info-link-keymap): Use follow-link mechanism for
6898 header-line links (Bug#374).
6899
6900 * simple.el (deactivate-mark): Do not set the primary selection
6901 if another program has acquired it (Bug#11772).
6902
6903 2012-07-07 Kevin Ryde <user42@zip.com.au>
6904
6905 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
6906 (woman-decode-region): Replace escaped-escapes without destroying
6907 bold or underline (Bug#11552).
6908 (woman2-process-escapes): Handle nofill regions (Bug#11591).
6909
6910 2012-07-07 Chong Yidong <cyd@gnu.org>
6911
6912 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
6913 (interprogram-cut-function, interprogram-paste-function):
6914 Mention that we typically mean the clipboard.
6915
6916 2012-07-06 Glenn Morris <rgm@gnu.org>
6917
6918 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
6919
6920 * files.el (toggle-read-only): Restrict message to interactive use.
6921
6922 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
6923
6924 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
6925
6926 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
6927
6928 2012-07-06 Glenn Morris <rgm@gnu.org>
6929
6930 * Makefile.in (compile-one-process): Rename from "recompile".
6931
6932 * Makefile.in (bzr-update): "compile" is the same as "recompile
6933 autoloads", but parallelizable, so use that instead.
6934
6935 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
6936
6937 * window.el (quit-window): Always restore window height when
6938 it's saved in quit-restore parameter (Bug#11810).
6939
6940 2012-07-06 Glenn Morris <rgm@gnu.org>
6941
6942 * simple.el (kill-whole-line): Doc tweak.
6943
6944 2012-07-06 Eli Zaretskii <eliz@gnu.org>
6945
6946 * files.el (file-relative-name): Compare file names
6947 case-insensitively if on MS-Windows or MS-DOS, or if
6948 read-file-name-completion-ignore-case is non-nil. Don't use
6949 case-fold-search for this purpose. (Bug#11827)
6950
6951 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
6952
6953 * calendar/cal-dst.el (calendar-current-time-zone):
6954 Return calendar-current-time-zone-cache if non-nil.
6955
6956 2012-07-17 Masatake YAMATO <yamato@redhat.com>
6957 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
6958
6959 * calendar/cal-dst.el (calendar-current-time-zone):
6960 Return calendar-current-time-zone-cache if non-nil.
6961
6962 2012-07-06 Glenn Morris <rgm@gnu.org>
6963
6964 * Makefile.in (cvs-update): Remove old alias.
6965
6966 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
6967
6968 Sync with Tramp 2.2.6-pre.
6969
6970 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
6971 compatible declaration.
6972
6973 * net/tramp-cmds.el (tramp-append-tramp-buffers):
6974 Protect `list-load-path-shadows' call.
6975
6976 * net/tramp-compat.el (top): Require packages, which aren't
6977 autoloaded anymore for XEmacs. Protect call of
6978 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
6979 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
6980 it hurts at least for SXEmacs.
6981 (tramp-compat-temporary-file-directory): In XEmacs, there is no
6982 standard-value for `temporary-file-directory'.
6983
6984 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
6985 Redirect stderr to /dev/null.
6986 (tramp-sh-handle-write-region): uid and gid can be floats.
6987 Reported by Russell Sim <russell.sim@gmail.com>.
6988 (tramp-sh-handle-vc-registered): Hide errors.
6989 (tramp-vc-file-name-handler): Use dummy results for `process-file'
6990 and `start-file-process'.
6991 (tramp-maybe-open-connection): Check also whether `non-essential'
6992 is bound.
6993
6994 2012-07-04 Chong Yidong <cyd@gnu.org>
6995
6996 * xml.el (xml--parse-buffer): Use xml-syntax-table.
6997 (xml-parse-tag): Likewise, and avoid changing entity tables.
6998 (xml-syntax-table): Define from scratch, making sure not to give
6999 x2000 and other Unicode spaces whitespace syntax, since those are
7000 not spaces in XML.
7001 (xml-parse-fragment): Delete unused function.
7002 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
7003 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
7004 (xml-entity-ref, xml-pe-reference-re)
7005 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
7006 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
7007 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
7008 (xml-entity-value-re): Use syntax references in regexps where
7009 possible; no need to define inside a let-binding.
7010 (xml-parse-dtd): Use xml-pe-reference-re.
7011 (xml-entity-or-char-ref-re): New defconst.
7012 (xml-parse-string, xml-substitute-special): Use it.
7013
7014 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7015
7016 * files.el (locate-dominating-file): Allow `name' to be a predicate.
7017 (find-file--read-only): New function.
7018 (find-file-read-only, find-file-read-only-other-window)
7019 (find-file-read-only-other-frame): Use it.
7020 (insert-file-contents-literally): Don't `fset'.
7021 (get-free-disk-space): Use locate-dominating-file.
7022
7023 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
7024 function is already compiled.
7025
7026 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
7027
7028 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
7029
7030 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
7031 files on the same host.
7032
7033 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
7034
7035 * help-fns.el (describe-function-1): Only call
7036 help-fns--autoloaded-p when we have a file name. (Bug#11848)
7037
7038 2012-07-03 Chong Yidong <cyd@gnu.org>
7039
7040 * xml.el: Protect parser against XML bombs.
7041 (xml-entity-expansion-limit): New variable.
7042 (xml-parse-string, xml-substitute-special): Use it.
7043 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
7044
7045 2012-07-03 Glenn Morris <rgm@gnu.org>
7046
7047 * progmodes/bug-reference.el (bug-reference-bug-regexp):
7048 Allow linking to specific messages in debbugs reports (eg 123#5).
7049
7050 2012-07-02 Chong Yidong <cyd@gnu.org>
7051
7052 * xml.el: Fix entity and character reference expansion, allowing
7053 them to expand into markup as per XML spec.
7054 (xml-default-ns): New variable.
7055 (xml-entity-alist): Use XML spec definitions for lt and amp.
7056 (xml-parse-region): Make first two arguments optional.
7057 Discard text properties.
7058 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
7059 All callers changed.
7060 (xml-parse-tag): Call xml-parse-tag-1. For backward
7061 compatibility, this function should not modify buffer contents.
7062 (xml-parse-tag-1): Fix opening-tag regexp.
7063 (xml-parse-string): Rewrite, handling entity and character
7064 references properly.
7065 (xml--entity-replacement-text): Signal an error if a parameter
7066 entity is undefined.
7067
7068 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
7069
7070 * comint.el (comint-output-filter): Filter out repeated prompts.
7071
7072 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
7073 and file-name-absolute-p.
7074 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
7075 internal calls.
7076
7077 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
7078
7079 Spelling fixes.
7080 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
7081 Rename from byte-compile--refiy-function. All uses changed.
7082
7083 2012-07-01 Chong Yidong <cyd@gnu.org>
7084
7085 * xml.el (xml--parse-buffer): New function. Move most of
7086 xml-parse-region here.
7087 (xml-parse-region): Copy region into a temporary buffer, since
7088 parameter entity substitution requires changing buffer contents.
7089 Use xml--parse-buffer.
7090 (xml-parse-file): Use xml--parse-buffer.
7091 (xml-parse-dtd): Make parameter entity substitution work right.
7092 Use proper regexps for ELEMENT declarations (Bug#7172).
7093
7094 2012-06-30 Glenn Morris <rgm@gnu.org>
7095
7096 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
7097
7098 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
7099 Remove outdated and unnecessary dbus declarations.
7100
7101 2012-06-30 Eli Zaretskii <eliz@gnu.org>
7102
7103 * emacs-lisp/timer.el (timer-until): Subtract results of
7104 float-time, instead of taking float-time of the result of
7105 time-subtract, since float-time signals an error for negative time
7106 arguments.
7107
7108 2012-06-30 Chong Yidong <cyd@gnu.org>
7109
7110 * xml.el (xml-*-re): Convert defvars into defconsts, and
7111 eval-and-compile them so eval-and-compile works on derivatives.
7112 (xml--entity-replacement-text): Use eval-and-comple.
7113
7114 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
7115
7116 * vc/vc-git.el (vc-git-registered): Use cache property
7117 `git-registered'.
7118 (vc-git-mode-line-string): Call `vc-working-revision' instead of
7119 `vc-git-working-revision' in order to benefit from the cache.
7120 (vc-git-root): Use cache property `git-root'. (Bug#11757)
7121
7122 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
7123
7124 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
7125 removed (likely outside Emacs). (Bug#11757)
7126
7127 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
7128
7129 * emacs-lisp/cl-lib.el: Require macroexp.
7130
7131 2012-06-30 Chong Yidong <cyd@gnu.org>
7132
7133 * xml.el: Implement XML parameter entities.
7134 (xml-parameter-entity-alist): New variable.
7135 (xml-parse-region, xml-parse-fragment): Preserve previous values
7136 of xml-entity-alist and xml-parameter-entity-alist, so that
7137 repeated calls on different documents do not change them.
7138 (xml-parse-tag): Fix doctype regexp.
7139 (xml--entity-replacement-text): New function.
7140 (xml-parse-dtd): Use it. Don't handle system entities; doing that
7141 properly requires url retrieval which is unimplemented.
7142 (xml-escape-string): Doc fix.
7143
7144 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
7145
7146 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
7147
7148 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
7149
7150 * fringe.el (fringe-mode): Doc fix.
7151
7152 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
7153
7154 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
7155 is non-nil.
7156 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
7157 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
7158
7159 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
7160
7161 * calendar/cal-dst.el (calendar-current-time-zone):
7162 Return calendar-current-time-zone-cache if non-nil.
7163
7164 2012-06-29 Masatake YAMATO <yamato@redhat.com>
7165
7166 * progmodes/which-func.el (which-func-format):
7167 Add mouse-face. (Bug#11698)
7168
7169 2012-06-29 Leo Liu <sdl.web@gmail.com>
7170
7171 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
7172
7173 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
7174
7175 * minibuffer.el (minibuffer-confirm-exit-commands):
7176 Add completion-at-point (bug#11725).
7177
7178 2012-06-29 Glenn Morris <rgm@gnu.org>
7179
7180 * progmodes/f90.el (f90-font-lock-keywords-2):
7181 Add some preprocessor elements. (Bug#10499)
7182
7183 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
7184
7185 * progmodes/cperl-mode.el (cperl-update-syntaxification):
7186 Use syntax-propertize (bug#11739).
7187
7188 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
7189
7190 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
7191
7192 2012-06-28 Julien Danjou <julien@danjou.info>
7193
7194 * term.el (term-handle-colors-array): Use a set of new faces to
7195 color the terminal. Also uses :inverse-video property.
7196 (term-default-fg-color): Set to nil by default, deprecate in favor
7197 of `term-face'.
7198 (term-default-bg-color): Set to nil by default, deprecate in favor
7199 of `term-face'.
7200 (term-current-face): Use `term-face' by default.
7201 (term-bold-attribute): Variable deleted.
7202
7203 2012-06-28 Glenn Morris <rgm@gnu.org>
7204
7205 * simple.el (completion-list-mode-finish):
7206 Don't use toggle-read-only. (Since completion-list-mode has
7207 a special mode-class, it wasn't doing anything extra anyway.)
7208
7209 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
7210
7211 Make inlining of other-mode interpreted functions work (bug#11799).
7212 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
7213 (byte-compile): Use it to fix compilation of lexical-binding closures.
7214 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
7215 function, if needed.
7216
7217 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7218
7219 * help-mode.el (help-make-xrefs): Don't just withstand
7220 cyclic-variable-indirection but any error in documentation-property.
7221
7222 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
7223 memory use.
7224 * bindings.el (bindings--define-key): New function.
7225 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
7226 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
7227 * bindings.el: Use it to purecopy define-key bindings.
7228
7229 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
7230
7231 * emacs-lisp/cl.el (flet): Mark obsolete.
7232 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
7233 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
7234 * progmodes/js.el (js-c-fill-paragraph):
7235 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
7236 (ebrowse-switch-member-buffer-to-derived-class):
7237 * play/5x5.el (5x5-solver): Use cl-flet.
7238
7239 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
7240 (cl--symbol-function): New macro.
7241 (cl--letf, cl--letf*): Use it.
7242
7243 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
7244 Strip "toggle-" if any.
7245
7246 2012-06-27 Glenn Morris <rgm@gnu.org>
7247
7248 * info.el (Info-default-directory-list): Move here from paths.el.
7249 * paths.el: Remove file, which is now empty.
7250 * loadup.el: No longer load "paths".
7251
7252 * custom.el (custom-initialize-delay): Doc fix.
7253
7254 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7255 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
7256 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
7257 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
7258 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
7259 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
7260 * eshell/eshell.el (eshell-defgroup): Remove alias.
7261
7262 2012-06-27 Chong Yidong <cyd@gnu.org>
7263
7264 * help.el (help-enable-auto-load): New variable.
7265
7266 * help-fns.el (help-fns--autoloaded-p): New function.
7267 (describe-function-1): Refer to a function as "autoloaded" if it
7268 was autoloaded at any time in the past. Perform autoloading if
7269 help-enable-auto-load is non-nil.
7270
7271 2012-06-26 Eli Zaretskii <eliz@gnu.org>
7272
7273 * makefile.w32-in (compile, compile-always): Depend on
7274 update-subdirs, not on subdirs.el. Otherwise, several different
7275 sub-targets of 'bootstrap' running in parallel could
7276 simultaneously write to subdirs.el, producing a garbled file.
7277
7278 2012-06-26 Sam Steingold <sds@gnu.org>
7279
7280 * files.el (file-name-base): New convenience function.
7281 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
7282 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
7283 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
7284 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
7285 * textmodes/ispell.el, textmodes/reftex-ref.el:
7286 * textmodes/tex-mode.el: Use it.
7287 Did not touch cedet and org because they are maintained elsewhere.
7288
7289 2012-06-26 Martin Rudalics <rudalics@gmx.at>
7290
7291 * calendar/calendar.el (calendar-exit): Don't try to delete or
7292 iconify last frame. See:
7293 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
7294
7295 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
7296
7297 * server.el (server-process-filter): Remember dir in the
7298 process's `server-client-directory' properties.
7299
7300 2012-06-24 Chong Yidong <cyd@gnu.org>
7301
7302 * xml.el (xml-parse-tag): Correctly handle comment embedded in
7303 non-tag text.
7304
7305 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
7306
7307 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
7308
7309 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
7310
7311 * help-fns.el (describe-variable): Don't croak when doc is not found.
7312 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
7313 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
7314 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
7315 * emacs-lisp/smie.el (smie-next-sexp): CSE.
7316 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
7317 ((lambda ..) ..).
7318 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
7319
7320 2012-06-23 Chong Yidong <cyd@gnu.org>
7321
7322 * info.el (Info-mouse-follow-link): Accept symbol values of
7323 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
7324 (Info-fontify-node): Use Info-link-keymap for all navigation
7325 buttons, with link-args property to perform the desired action.
7326 (Info-link-keymap): Doc fix.
7327 (Info-next-link-keymap, Info-prev-link-keymap)
7328 (Info-up-link-keymap): Delete now-unused keymaps.
7329
7330 2012-06-23 Chong Yidong <cyd@gnu.org>
7331
7332 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
7333
7334 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
7335 system abbrevs.
7336
7337 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
7338
7339 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
7340
7341 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
7342 (bug#11719).
7343
7344 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
7345 the requote function doesn't work properly (bug#11714).
7346
7347 2012-06-23 Glenn Morris <rgm@gnu.org>
7348
7349 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
7350
7351 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7352
7353 Further GV/CL cleanups.
7354 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
7355 gv-expander.
7356 (gv--defun-declaration): New function.
7357 (defun-declarations-alist): Use it.
7358 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
7359 (gv-place): Autoload.
7360 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
7361 original definition of dotimes and dolist.
7362 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
7363 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
7364 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
7365 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
7366 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
7367 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
7368 to the function's definition.
7369 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
7370 * window.el:
7371 * files.el:
7372 * faces.el:
7373 * env.el: Don't use CL.
7374
7375 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
7376
7377 Support higher-resolution time stamps (Bug#9000).
7378
7379 * calendar/time-date.el (with-decoded-time-value): New arg
7380 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
7381 (encode-time-value): New optional arg PICO. New type 3.
7382 (time-to-seconds) [!float-time]: Support the new picoseconds
7383 component if it's used.
7384 (seconds-to-time, time-subtract, time-add):
7385 Support ps-resolution time stamps as well.
7386
7387 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
7388 (timerp): Timer vectors now have length 9, not 8.
7389 (timer--time): Support new-style (4-part) time stamps.
7390 (timer-next-integral-multiple-of-time): Time stamps now have
7391 picosecond resolution, so take a bit more care about rounding.
7392 (timer-relative-time, timer-inc-time): New optional arg psecs.
7393 (timer-set-time-with-usecs): Set psecs to 0.
7394 (timer--activate): Check psecs component, too.
7395
7396 * proced.el (proced-time-lessp): Support ps-resolution stamps.
7397
7398 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7399
7400 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
7401 Move the non-essential binding to the post/pre-command-hook where it is
7402 more obviously correct.
7403
7404 * subr.el (read-passwd): Don't use a history at all.
7405 * savehist.el (savehist-save): Remove password saved accidentally
7406 because of the above bug.
7407
7408 2012-06-22 Bastien Guerry <bzg@gnu.org>
7409
7410 * files.el (toggle-read-only): Display a message telling whether
7411 the buffer is read-only or not (bug#11726).
7412
7413 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7414
7415 * emacs-lisp/gv.el: New file.
7416 * subr.el (push, pop): Extend to generalized variables.
7417 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
7418 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
7419 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
7420 gv-define-simple-setter, and gv-define-expander.
7421 Remove setf-methods defined in gv. Rename cl-setf -> setf.
7422 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
7423 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
7424 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
7425 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
7426 gv-letplace.
7427 (cl-defstruct): Don't define setf-method any more.
7428 * emacs-lisp/cl.el (flet): Don't autoload.
7429 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
7430 (define-setf-expander, defsetf, define-modify-macro)
7431 (cl-struct-setf-expander): Move from cl-lib.el.
7432 * emacs-lisp/syntax.el:
7433 * emacs-lisp/ewoc.el:
7434 * emacs-lisp/smie.el:
7435 * emacs-lisp/cconv.el:
7436 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
7437 (timer--time): Use gv-define-simple-setter.
7438 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
7439 to avoid coding-system problems in subr.el. Adjust all users.
7440 (macroexp--maxsize, macroexp-small-p): New functions.
7441 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
7442 * scroll-bar.el (scroll-bar-mode):
7443 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
7444 (normal-erase-is-backspace-mode): Don't use the `eq' place.
7445 * winner.el (winner-configuration, winner-make-point-alist)
7446 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
7447 * files.el (locate-file-completion-table): Avoid list*.
7448
7449 2012-06-22 Chong Yidong <cyd@gnu.org>
7450
7451 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
7452 (dired-create-files): Doc fix (Bug#11329).
7453 (dired-do-copy): Doc fix (Bug#11334).
7454 (dired-mark-read-string): Doc fix (Bug#11553).
7455
7456 * dired.el (dired-recursive-copies, dired-recursive-deletes):
7457 Doc fix (Bug#11326).
7458 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
7459 (dired-dwim-target): Doc fix.
7460
7461 * wdired.el (wdired-mode): Doc fix.
7462
7463 2012-06-22 Glenn Morris <rgm@gnu.org>
7464
7465 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
7466 (pcmpl-rpm-cache-stamp-file): New constant.
7467 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
7468 (pcmpl-rpm-packages): Optionally cache list of packages.
7469
7470 * pcmpl-rpm.el (pcmpl-rpm): New group.
7471 (pcmpl-rpm-query-options): New option.
7472 (pcmpl-rpm-packages): No need to inline it.
7473 Use pcmpl-rpm-query-options.
7474
7475 * calendar/calendar.el (calendar-in-read-only-buffer):
7476 Avoid some needless mode changes.
7477
7478 2012-06-21 Chong Yidong <cyd@gnu.org>
7479
7480 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
7481 (desktop-path): Remove . from the default value (Bug#10977).
7482 (desktop-read): Use user-emacs-directory if desktop-path is nil.
7483
7484 2012-06-20 Chong Yidong <cyd@gnu.org>
7485
7486 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
7487
7488 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
7489
7490 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
7491 (bug#11201).
7492
7493 2012-06-20 Chong Yidong <cyd@gnu.org>
7494
7495 * term.el (term-window-width): Handle the case of a missing right
7496 fringe (Bug#8837).
7497 (term-check-size): Use window-text-height (Bug#5445).
7498 (term-mode): Use define-derived-mode. Minor cleanups.
7499 Set font-lock-defaults (Bug#7692).
7500 (term-move-columns, term-insert-char, term-emulate-terminal)
7501 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
7502
7503 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
7504
7505 * net/ange-ftp.el (ange-ftp-get-passwd):
7506 Bind `enable-recursive-minibuffers'.
7507 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
7508
7509 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
7510
7511 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
7512
7513 2012-06-19 Glenn Morris <rgm@gnu.org>
7514
7515 * progmodes/python.el (python-mode): Derive from prog-mode.
7516
7517 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
7518
7519 * emulation/edt.el (edt-default-menu-bar-update-buffers)
7520 (edt-user-menu-bar-update-buffers): New functions.
7521 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
7522
7523 2012-06-19 Chong Yidong <cyd@gnu.org>
7524
7525 * subr.el (with-selected-window): Preserve the selected window's
7526 terminal's top-frame (Bug#4702).
7527
7528 * window.el (save-selected-window): Likewise.
7529
7530 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7531
7532 * progmodes/python.el (python-rx-constituents): Move backquote.
7533 (python-skeleton-define, python-define-auxiliary-skeleton):
7534 Use `declare'.
7535
7536 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
7537
7538 * minibuffer.el (read-file-name-default): Revert the patch from
7539 2012-06-17.
7540
7541 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7542
7543 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
7544 (pcase--u1, pcase--q1): Don't use apply-partially.
7545
7546 2012-06-18 Glenn Morris <rgm@gnu.org>
7547
7548 * progmodes/python.el (python-proc, python-buffer)
7549 (python-send-receive, python-send-string): Fix obsolete versions.
7550
7551 2012-06-18 Martin Rudalics <rudalics@gmx.at>
7552
7553 * window.el (special-display-p): Completely remove stringp
7554 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
7555
7556 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
7557
7558 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
7559
7560 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
7561
7562 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
7563 * net/tramp-sh.el (tramp-maybe-open-connection):
7564 Throw if `non-essential' is non-nil.
7565
7566 2012-06-17 Martin Rudalics <rudalics@gmx.at>
7567
7568 * window.el (special-display-p): Signal an error if BUFFER-NAME
7569 is not a string (Bug#11713).
7570
7571 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
7572
7573 * progmodes/python.el (python-info-beginning-of-backslash):
7574 Rename from python-info-beginning-of-backlash, as a spelling fix.
7575
7576 2012-06-17 Chong Yidong <cyd@gnu.org>
7577
7578 * term.el (term-emulate-terminal): If term-check-size is called,
7579 move point to the process mark without resetting point (Bug#4635).
7580
7581 2012-06-17 Glenn Morris <rgm@gnu.org>
7582
7583 * international/mule-cmds.el (mule-menu-keymap)
7584 (set-language-environment, set-locale-environment): Doc tweaks.
7585
7586 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
7587
7588 * cus-face.el (custom-face-attributes): Add wave-style underline
7589 attribute.
7590 * faces.el (set-face-attribute): Update docstring to describe
7591 wave-style underline attribute.
7592
7593 2012-06-16 Chong Yidong <cyd@gnu.org>
7594
7595 * term/xterm.el (terminal-init-xterm): Discard input before
7596 querying background mode (Bug#10959).
7597
7598 2012-06-16 Stefan Merten <smerten@oekonux.de>
7599
7600 * textmodes/rst.el: Added and corrected some comments.
7601 (rst-re-alist-def): Improve symbol syntax.
7602 (rst-mode-syntax-table): Correct syntax entries.
7603 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
7604 (rst-official-version, rst-official-cvs-rev): Update version
7605 information.
7606
7607 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
7608
7609 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
7610 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
7611
7612 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
7613
7614 * progmodes/python.el: New python.el merge.
7615 (python-guess-indent): Obsolete var.
7616 (python-indent-guess-indent-offset): New defcustom.
7617 (python-indent): Obsolete var.
7618 (python-indent-offset): New defcustom.
7619 (python-python-command, python-jython-command): Delete var.
7620 (python-shell-interpreter): New defcustom.
7621 (python-pdbtrack-do-tracking-p): Delete var.
7622 (python-pdbtrack-activate): New defcustom.
7623 (python-use-skeletons): Obsolete var.
7624 (python-skeleton-autoinsert): New defcustom.
7625 (inferior-python-filter-regexp, python-continuation-offset)
7626 (python-honour-comment-indentation, python-indent-string-contents)
7627 (python-jython-packages, python-mode-hook)
7628 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
7629 (python-shell-prompt-alist)
7630 (python-source-modes): Delete defcustoms.
7631 (python-check-buffer-name, python-eldoc-setup-code)
7632 (python-eldoc-string-code, python-ffap-setup-code)
7633 (python-ffap-string-code, python-fill-comment-function)
7634 (python-fill-decorator-function, python-fill-paren-function)
7635 (python-fill-string-function, python-imenu-include-defun-type)
7636 (python-imenu-make-tree, python-imenu-subtree-root-label)
7637 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
7638 (python-shell-compilation-regexp-alist)
7639 (python-shell-completion-module-string-code)
7640 (python-shell-completion-pdb-string-code)
7641 (python-shell-completion-setup-code)
7642 (python-shell-completion-string-code)
7643 (python-shell-enable-font-lock, python-shell-exec-path)
7644 (python-shell-extra-pythonpaths)
7645 (python-shell-internal-buffer-name, python-shell-interpreter-args)
7646 (python-shell-process-environment)
7647 (python-shell-prompt-block-regexp)
7648 (python-shell-prompt-output-regexp)
7649 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
7650 (python-shell-send-setup-max-wait, python-shell-setup-codes)
7651 (python-shell-virtualenv-path): New defcustoms.
7652 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
7653 (inferior-python-mode-syntax-table, python--prompt-regexp)
7654 (python-buffer, python-command python-python-command)
7655 (python-default-template, python-imports, python-indent-index)
7656 (python-indent-list, python-indent-list-length)
7657 (python-mode-running, python-pdbtrack-is-tracking-p)
7658 (python-preoutput-continuation, python-preoutput-leftover)
7659 (python-preoutput-result, python-preoutput-skip-next-prompt)
7660 (python-prev-dir/file, python-recursing)
7661 (python-saved-check-command, python-version-checked)
7662 (python-which-func-length-limit)
7663 (view-return-to-alist): Delete vars.
7664 (python-check-custom-command, python-dotty-syntax-table)
7665 (python-imenu-index-alist, python-indent-current-level)
7666 (python-indent-dedenters, python-indent-levels)
7667 (python-nav-beginning-of-defun-regexp)
7668 (python-nav-list-defun-positions-cache)
7669 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
7670 (python-shell-internal-buffer)
7671 (python-skeleton-available): New vars.
7672 (def-python-skeleton): Delete macro.
7673 (python-skeleton-define): New macro.
7674 (python-define-auxiliary-skeleton, python-rx): New macros.
7675 (python-insert-class): Delete command.
7676 (python-skeleton-class): New command.
7677 (python-insert-def): Delete command.
7678 (python-skeleton-def): New command.
7679 (python-insert-for): Delete command.
7680 (python-skeleton-for): New command.
7681 (python-insert-if): Delete command.
7682 (python-skeleton-if): New command.
7683 (python-insert-try/except, python-insert-try/finally): Delete commands.
7684 (python-skeleton-try): New command.
7685 (python-insert-while): Delete command.
7686 (python-skeleton-while): New command.
7687 (python-backspace): Delete command.
7688 (python-indent-dedent-line-backspace): New command.
7689 (python-electric-colon): Delete command.
7690 (python-indent-electric-colon): New command.
7691 (python-guess-indent): Delete command.
7692 (python-indent-guess-indent-offset): New command.
7693 (python-shift-left): Delete command.
7694 (python-indent-shift-left): New command.
7695 (python-shift-right): Delete command.
7696 (python-indent-shift-right): New command.
7697 (python-find-function): Delete command.
7698 (python-nav-jump-to-defun): New command.
7699 (python-next-statement): Delete command.
7700 (python-nav-forward-sentence): New command.
7701 (python-previous-statement): Delete command.
7702 (python-nav-backward-sentence): New command.
7703 (python-fill-paragraph): Delete command.
7704 (python-fill-paragraph-function): New command.
7705 (python-send-buffer): Delete command.
7706 (python-shell-send-buffer): New command.
7707 (python-send-defun): Delete command.
7708 (python-shell-send-defun): New command.
7709 (python-send-region, python-send-region-and-go): Delete commands.
7710 (python-shell-send-region)
7711 (python-shell-switch-to-shell): New commands.
7712 (python-send-string): Delete command.
7713 (python-shell-send-string): New command.
7714 (python-switch-to-python): Delete command.
7715 (python-shell-switch-to-shell): New command.
7716 (python-describe-symbol): Delete command.
7717 (python-eldoc-at-point): New command.
7718 (python--set-prompt-regexp, python-args-to-list)
7719 (python-after-info-look, python-check-version)
7720 (python-check-comint-prompt, python-find-imports)
7721 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
7722 (python-unload-function, python-expand-template)
7723 (python-maybe-jython, python-preoutput-filter)
7724 (python-pdbtrack-get-source-buffer)
7725 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
7726 (python-pdbtrack-toggle-stack-tracking)
7727 (python-pdbtrack-track-stack-file, python-initial-text)
7728 (python-first-word, python-comment-line-p, python-send-command)
7729 (python-setup-brm, python-sentinel, python-set-proc)
7730 (python-skip-out, python-input-filter, python-outdent-p)
7731 (python-outline-level, python-backslash-continuation-line-p)
7732 (python-end-of-block, python-end-of-statement, python-mark-block)
7733 (python-beginning-of-block, python-beginning-of-statement)
7734 (python-blank-line-p, python-beginning-of-string)
7735 (python-open-block-statement-p): Delete functions.
7736 (python-indent-line, python-indent-line-1): Delete functions.
7737 (python-indent-line): New function.
7738 (python-indentation-levels): Delete function.
7739 (python-indent-calculate-levels): New function.
7740 (python-proc): Delete function.
7741 (python-shell-get-process): New function.
7742 (python-send-receive): Delete function.
7743 (python-shell-send-string-no-output): New function.
7744 (python-module-path): Delete function.
7745 (python-ffap-module-path): New function.
7746 (python-completion-at-point)
7747 (python-symbol-completions): Delete functions.
7748 (python-completion-complete-at-point): New function.
7749 (python-load-file): Delete function.
7750 (python-shell-send-file): New function.
7751 (python-calculate-indentation): Delete function.
7752 (python-indent-calculate-indentation): New function.
7753 (python-skip-comments/blanks): Delete function.
7754 (python-util-forward-comment): New function.
7755 (python-continuation-line-p): Delete function.
7756 (python-info-continuation-line-p): New function.
7757 (python-which-func, python-current-defun): Delete function.
7758 (python-info-current-defun): New function.
7759 (python-beginning-of-defun): Delete function.
7760 (python-nav-beginning-of-defun): New function.
7761 (python-close-block-statement-p)
7762 (python-block-end-p): Delete function.
7763 (python-info-closing-block): New function.
7764 (python-comint-output-filter-function)
7765 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
7766 (python-fill-comment, python-fill-decorator, python-fill-paren)
7767 (python-fill-string, python-imenu-make-element-tree)
7768 (python-imenu-make-tree, python-imenu-tree-assoc)
7769 (python-indent-context, python-indent-dedent-line)
7770 (python-indent-line-function)
7771 (python-indent-post-self-insert-function)
7772 (python-indent-toggle-levels)
7773 (python-info-assignment-continuation-line-p)
7774 (python-info-beginning-of-backlash)
7775 (python-info-block-continuation-line-p)
7776 (python-info-closing-block-message)
7777 (python-info-line-ends-backslash-p)
7778 (python-info-looking-at-beginning-of-defun)
7779 (python-info-ppss-context, python-info-ppss-context-type)
7780 (python-nav-list-defun-positions, python-nav-read-defun)
7781 (python-nav-sentence-end, python-nav-sentence-start)
7782 (python-pdbtrack-comint-output-filter-function)
7783 (python-pdbtrack-set-tracked-buffer)
7784 (python-shell-calculate-exec-path)
7785 (python-shell-calculate-process-environment)
7786 (python-shell-completion--do-completion-at-point)
7787 (python-shell-completion--get-completions)
7788 (python-shell-completion-complete-at-point)
7789 (python-shell-completion-complete-or-indent)
7790 (python-shell-get-or-create-process)
7791 (python-shell-get-process-name)
7792 (python-shell-internal-get-or-create-process)
7793 (python-shell-internal-get-process-name)
7794 (python-shell-internal-send-string, python-shell-make-comint)
7795 (python-shell-parse-command, python-shell-send-setup-code)
7796 (python-skeleton-add-menu-items)
7797 (python-util-clone-local-variables, python-util-position)
7798 (run-python-internal, python-indentation-levels)
7799 (python-nav-beginning-of-defun)
7800 (python-completion-complete-at-point): New functions.
7801 (run-python): Change arguments. New API requirements.
7802
7803 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7804
7805 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
7806 (bug#11649).
7807
7808 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
7809 (macroexp--expand-all): Use it.
7810
7811 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
7812 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
7813 Use `cl-function' instead.
7814
7815 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
7816
7817 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
7818 Suggested by Stefan Monnier while discussing bug#11657.
7819
7820 2012-06-14 Sam Steingold <sds@gnu.org>
7821
7822 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
7823
7824 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
7825
7826 * play/doctor.el (doctor-doc): Remove parameter and use
7827 doctor-sent instead of sent.
7828 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
7829
7830 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7831
7832 * files.el: Require cl-lib.
7833 (file-name-non-special): Replace case -> cl-case.
7834
7835 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
7836
7837 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
7838 mapping from #' to function*.
7839
7840 2012-06-13 Chong Yidong <cyd@gnu.org>
7841
7842 * mouse.el (mouse-drag-track): Do not set the mark if the user
7843 releases the mouse without selecting anything (Bug#11588).
7844
7845 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7846
7847 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
7848 as well (bug#11646).
7849
7850 * loadup.el: Count byte-code functions as well.
7851
7852 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
7853 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
7854
7855 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
7856 (bug#11649). Add cl-defun and cl-defmacro.
7857
7858 2012-06-13 Drew Adams <drew.adams@oracle.com>
7859
7860 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
7861 Fix last change.
7862
7863 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
7864
7865 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
7866 Otherwise, it blocks in batch mode.
7867
7868 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
7869
7870 * help-mode.el (bookmark-make-record-default): Declare.
7871
7872 2012-06-13 Chong Yidong <cyd@gnu.org>
7873
7874 * emacs-lisp/package.el (list-packages): Compute a list of
7875 packages that are newly-available since the last list-packages
7876 invocation.
7877 (package-menu--new-package-list): New var.
7878 (package-menu--generate, package-menu--print-info)
7879 (package-menu--status-predicate, package-menu-mark-install):
7880 Handle new status label "new".
7881
7882 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7883
7884 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
7885 conversion to backquotes.
7886
7887 2012-06-12 Chong Yidong <cyd@gnu.org>
7888
7889 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
7890 Rename from gud-inhibit-global-bindings.
7891
7892 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
7893
7894 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
7895 hook from nxml-glyph-set-hook.
7896
7897 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
7898 declaration.
7899
7900 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
7901
7902 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
7903 Convert to defcustom.
7904
7905 2012-06-12 Drew Adams <drew.adams@oracle.com>
7906
7907 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
7908 New functions.
7909 (help-mode): Use them.
7910
7911 2012-06-11 Glenn Morris <rgm@gnu.org>
7912
7913 * progmodes/fortran.el (fortran-font-lock-keywords-3):
7914 Use preprocessor face for directives.
7915 (fortran-directive-re): Doc fix.
7916
7917 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7918
7919 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
7920 conversion to backquotes (bug#11652).
7921
7922 Fix compiler-expansion of CL's cXXr functions (bug#11673).
7923 * emacs-lisp/cl-lib.el (cl--defalias): New function.
7924 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
7925 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
7926 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
7927 (cl-ninth, cl-tenth): Mark them as inlinable.
7928 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
7929 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
7930 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
7931 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
7932 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
7933 (cl-list*, cl-adjoin): Don't put an autoload manually.
7934 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
7935 (cl--compiler-macro-list*): Add autoload cookie.
7936 (cl--compiler-macro-cXXr): New function.
7937
7938 * help-fns.el (help-fns--compiler-macro): New function extracted from
7939 describe-function-1; follow aliases and use `compiler-macro' property.
7940 (describe-function-1): Use it.
7941
7942 2012-06-11 Chong Yidong <cyd@gnu.org>
7943
7944 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
7945 is uninstalled, if imagemagick is installed.
7946
7947 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7948
7949 * emacs-lisp/cl-lib.el: Use lexical-binding.
7950 (cl-map-extents, cl-maclisp-member): Remove.
7951 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
7952 (cl--set-substring, cl--block-wrapper, cl--block-throw)
7953 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
7954 * emacs-lisp/cl-extra.el: Use lexical-binding.
7955 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
7956 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
7957 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
7958 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
7959 * emacs-lisp/cl-seq.el: Use lexical-binding.
7960 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
7961 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
7962 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
7963 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
7964 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
7965 CL's internals.
7966
7967 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
7968
7969 Sync with Tramp 2.2.6-pre.
7970
7971 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
7972 `print-length' and `print-level' to nil, in order to avoid
7973 truncation. Reported by Christopher Schmidt
7974 <christopher@ristopher.com>.
7975
7976 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
7977
7978 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
7979 New defmacro.
7980 (tramp-compat-copy-directory): Add optional argument
7981 COPY-CONTENTS. It is not handled yet.
7982
7983 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
7984 (tramp-ftp-file-name-p): Simplify.
7985
7986 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
7987 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
7988 connection vector.
7989
7990 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
7991 (tramp-methods): Do not use `tramp-password-end-of-line'.
7992 (tramp-completion-function-alist-putty): Handle UNIX case.
7993 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
7994 (tramp-do-file-attributes-with-stat)
7995 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
7996 gid as real numbers. They could run out of integer range on cygwin.
7997 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
7998 (tramp-sh-handle-expand-file-name): Handle hops.
7999 (tramp-open-connection-setup-interactive-shell):
8000 Use `tramp-cleanup'. Move check for busyboxes ...
8001 (tramp-find-shell): ... here. Simplify implementation.
8002 Set "remote-shell" property also for alternative shells.
8003 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
8004 If failing, a regular file would be written otherwise.
8005 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
8006 (tramp-find-inline-encoding): Cache the coding commands in the
8007 process cache. Apply test command on the remote side, if defined.
8008 (tramp-find-inline-compress): Cache the compress commands in the
8009 process cache.
8010 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
8011 when requested. Handle hops.
8012 (tramp-current-connection): New defvar.
8013 (tramp-maybe-open-connection): Use `tramp-cleanup'.
8014 Throw `suppress', if there was a failed connection shortly before.
8015 Handle user interrupt. (Bug#10187)
8016 (tramp-get-inline-compress, tramp-get-inline-coding):
8017 Read connection properties from the process cache.
8018
8019 * net/tramp-smb.el (tramp-smb-server-version)
8020 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
8021 New defconsts.
8022 (tramp-smb-prompt): Extend for powershell prompt.
8023 (tramp-smb-file-name-handler-alist): Add handlers for
8024 `process-file', `shell-command' and `start-file-process'.
8025 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
8026 (tramp-smb-winexe-shell-command-switch): New defcustoms.
8027 (tramp-smb-file-name-p): Simplify.
8028 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
8029 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
8030 (tramp-smb-shell-quote-argument): New defuns.
8031 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
8032 Implement using "tar". By this, time-stamps are preserved.
8033 (tramp-smb-handle-copy-file): Handle also the case of directories.
8034 (tramp-smb-do-file-attributes-with-stat)
8035 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
8036 Use `tramp-get-connection-buffer').
8037 (tramp-smb-handle-rename-file): Use "rename", when source and
8038 target are on the same share.
8039 (tramp-smb-maybe-open-connection): Handle wrong passwords.
8040 Use `tramp-smb-server-version'.
8041 (tramp-smb-wait-for-output): Remove prompt.
8042
8043 * net/tramp.el (top): Require 'cl.
8044 (tramp-methods, tramp-rsh-end-of-line):
8045 Remove `tramp-password-end-of-line' from docstring.
8046 (tramp-save-ad-hoc-proxies): New defcustom.
8047 (tramp-completion-function-alist): Adapt docstring.
8048 (tramp-default-password-end-of-line): Remove defcustom.
8049 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
8050 (tramp-user-regexp, tramp-file-name-regexp-unified)
8051 (tramp-file-name-regexp-url): Extend regexp by hop separator.
8052 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
8053 (tramp-remote-file-name-spec-regexp): New defconst.
8054 (tramp-file-name-structure): Extend structure for hops.
8055 (tramp-get-method-parameter): Move up.
8056 (tramp-file-name-p, tramp-dissect-file-name)
8057 (with-parsed-tramp-file-name): Handle hops.
8058 (tramp-file-name-hop): New defun.
8059 (tramp-make-tramp-file-name): New optional arg HOP.
8060 (tramp-message-show-progress-reporter-message): New defvar.
8061 (tramp-with-progress-reporter): Use it. We cannot use
8062 `tramp-message-show-message' here, because this suppresses also
8063 error buffers.
8064 (tramp-error-with-buffer): Suppress buffer view, if
8065 `tramp-message-show-message' is nil.
8066 Use `tramp-get-connection-buffer'.
8067 (tramp-cleanup): New defun.
8068 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
8069 (tramp-file-name-handler): If `debug-on-error' is set, propagate
8070 an error unchanged.
8071 (tramp-completion-handle-file-name-all-completions): Handle hops.
8072 Fix an error when called from ido.
8073 (tramp-completion-dissect-file-name): Use better local variable
8074 name. Add hop to the vector.
8075 (tramp-handle-insert-file-contents): Use progress-reporter for the
8076 whole scenario.
8077 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
8078 to `t'.
8079 (tramp-check-for-regexp): Simplify search.
8080 (tramp-enter-password): Remove it. Move implementation ...
8081 (tramp-action-password): ... here.
8082 (tramp-mode-string-to-int, tramp-local-host-p)
8083 (tramp-make-tramp-temp-file, tramp-read-passwd)
8084 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
8085 Set tramp-autoload cookie.
8086
8087 * net/trampver.el: Update release number.
8088
8089 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8090 Michael Albinus <michael.albinus@gmx.de>
8091
8092 * net/tramp.el (tramp-set-completion-function): Fix docstring.
8093 (tramp-parse-group, tramp-parse-file)
8094 (tramp-parse-shostkeys-sknownhosts): New defuns.
8095 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
8096 (tramp-parse-shosts-group, tramp-parse-sconfig)
8097 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
8098 (tramp-parse-sknownhosts, tramp-parse-hosts)
8099 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
8100 Use them.
8101 (tramp-parse-passwd-group, tramp-parse-netrc-group)
8102 (tramp-parse-putty-group): Don't narrow.
8103 (tramp-parse-putty): Make a loop.
8104 (tramp-file-name-handler): Catch the `suppress' signal.
8105
8106 2012-06-11 Chong Yidong <cyd@gnu.org>
8107
8108 * image.el (imagemagick-register-types): Put the ImageMagick entry
8109 at the end of image-type-file-name-regexps.
8110
8111 2012-06-11 Johan Bockgård <bojohan@gnu.org>
8112
8113 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
8114 (pcase, pcase-let*, pcase-dolist): Use them.
8115
8116 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8117
8118 * emacs-lisp/pcase.el (pcase--let*): New function.
8119 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
8120 (pcase--expand): Use macroexp-let².
8121
8122 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
8123
8124 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
8125 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
8126 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
8127 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
8128 * emacs-lisp/derived.el: Use pcase instead of `cl'.
8129 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
8130
8131 2012-06-10 Glenn Morris <rgm@gnu.org>
8132
8133 * mail/rmail.el (rmail-yank-current-message): Leave point at
8134 correct position. (Bug#11660)
8135
8136 2012-06-10 Chong Yidong <cyd@gnu.org>
8137
8138 * allout-widgets.el: Fix code header.
8139
8140 2012-06-10 Chong Yidong <cyd@gnu.org>
8141
8142 * cus-edit.el (customize-changed-options-previous-release):
8143 Bump to 24.1.
8144
8145 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
8146
8147 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
8148
8149 2012-06-09 Chong Yidong <cyd@gnu.org>
8150
8151 * ebuff-menu.el (electric-buffer-list): Preserve header line.
8152
8153 2012-06-09 Martin Rudalics <rudalics@gmx.at>
8154
8155 * window.el (special-display-popup-frame): Don't use
8156 window--display-buffer (Bug#11651).
8157
8158 2012-06-09 Eli Zaretskii <eliz@gnu.org>
8159
8160 Fix parallel builds: make sure loaddefs.el is not being written
8161 while Lisp files are compiled.
8162 (compile): Don't depend on 'mh-autoloads'.
8163 (compile-CMD, compile-SH): Depend on 'autoloads'.
8164 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
8165
8166 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
8167
8168 2012-06-09 Chong Yidong <cyd@gnu.org>
8169
8170 * face-remap.el (face-remap-add-relative, face-remap-set-base)
8171 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
8172 Doc fixes (Bug#11225).
8173
8174 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
8175
8176 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
8177 a function if there's a clear indication that it has a compiler-macro.
8178 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
8179 (macro-declarations-alist): Add arglist to declaration functions.
8180 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
8181 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
8182 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
8183 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
8184 Also add autoload to find the compiler macro.
8185 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
8186 (cl--compiler-macro-member, cl--compiler-macro-assoc)
8187 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
8188 (cl--compiler-macro-get): New functions, replacing calls to
8189 cl-define-compiler-macro.
8190 (cl-typep) [compiler-macro]: Use macroexp-let².
8191
8192 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
8193
8194 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
8195 string properly, fixes Bug#11473.
8196
8197 2012-06-08 Chong Yidong <cyd@gnu.org>
8198
8199 * faces.el (set-face-attribute): Doc fix.
8200 (modify-face): Don't use :bold and :italic.
8201 (error, warning, success): Tweak definitions.
8202
8203 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
8204 (custom-modified, custom-set, custom-changed, custom-themed)
8205 (custom-saved, custom-button, custom-button-mouse)
8206 (custom-button-pressed, custom-state, custom-comment-tag)
8207 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
8208 (custom-group-subtitle): Use new-style face specs.
8209 (custom-invalid-face, custom-rogue-face, custom-modified-face)
8210 (custom-set-face, custom-changed-face, custom-saved-face)
8211 (custom-button-face, custom-button-pressed-face)
8212 (custom-documentation-face, custom-state-face)
8213 (custom-comment-face, custom-comment-tag-face)
8214 (custom-variable-tag-face, custom-variable-button-face)
8215 (custom-face-tag-face, custom-group-tag-face-1)
8216 (custom-group-tag-face): Remove obsolete face alias.
8217
8218 * epa.el (epa-validity-high, epa-validity-medium)
8219 (epa-validity-low, epa-mark, epa-field-name, epa-string)
8220 (epa-field-name, epa-field-body):
8221 * font-lock.el (font-lock-comment-face, font-lock-string-face)
8222 (font-lock-keyword-face, font-lock-builtin-face)
8223 (font-lock-function-name-face, font-lock-variable-name-face)
8224 (font-lock-type-face, font-lock-constant-face):
8225 * ido.el (ido-first-match, ido-only-match, ido-subdir)
8226 (ido-virtual, ido-indicator, ido-incomplete-regexp):
8227 * speedbar.el (speedbar-button-face, speedbar-file-face)
8228 (speedbar-directory-face, speedbar-tag-face)
8229 (speedbar-selected-face, speedbar-highlight-face)
8230 (speedbar-separator-face):
8231 * whitespace.el (whitespace-newline, whitespace-space)
8232 (whitespace-hspace, whitespace-tab, whitespace-trailing)
8233 (whitespace-line, whitespace-space-before-tab)
8234 (whitespace-space-after-tab, whitespace-indentation)
8235 (whitespace-empty):
8236 * emulation/cua-base.el (cua-global-mark):
8237 * eshell/em-prompt.el (eshell-prompt):
8238 * net/newst-plainview.el (newsticker-new-item-face)
8239 (newsticker-old-item-face, newsticker-immortal-item-face)
8240 (newsticker-obsolete-item-face, newsticker-date-face)
8241 (newsticker-statistics-face, newsticker-default-face):
8242 * net/newst-reader.el (newsticker-feed-face)
8243 (newsticker-extra-face, newsticker-enclosure-face):
8244 * net/newst-treeview.el (newsticker-treeview-face)
8245 (newsticker-treeview-new-face, newsticker-treeview-old-face)
8246 (newsticker-treeview-immortal-face)
8247 (newsticker-treeview-obsolete-face)
8248 (newsticker-treeview-selection-face):
8249 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
8250 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
8251 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
8252 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
8253 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
8254 (nxml-outline-active-indicator, nxml-outline-ellipsis):
8255 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
8256 (mpuz-text):
8257 * progmodes/vera-mode.el (vera-font-lock-number)
8258 (vera-font-lock-function, vera-font-lock-interface):
8259 * textmodes/table.el (table-cell): Use new-style face specs, and
8260 don't use the old :bold and :italic attributes.
8261
8262 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
8263 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
8264 (ebrowse-member-class, ebrowse-progress): Likewise.
8265 (ebrowse-tree-mark-face, ebrowse-root-class-face)
8266 (ebrowse-file-name-face, ebrowse-default-face)
8267 (ebrowse-member-attribute-face, ebrowse-member-class-face)
8268 (ebrowse-progress-face): Remove obsolete faces.
8269
8270 * progmodes/flymake.el (flymake-errline, flymake-warnline):
8271 Inherit from error and warning faces respectively.
8272
8273 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
8274 Likewise.
8275 (flyspell-incorrect-face, flyspell-duplicate-face):
8276 Remove obsolete aliases.
8277
8278 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
8279
8280 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
8281 Avoid infloop.
8282
8283 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
8284
8285 * startup.el (argv, argi): Make lexically scoped.
8286 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
8287 * emacs-lisp/cl-macs.el: Use lexical-binding.
8288 Rename cl-bind-* to cl--bind-*.
8289 * files.el: Don't require `cl' since it doesn't use it.
8290 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
8291
8292 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
8293
8294 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
8295 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
8296 instead of calling external sort utility.
8297 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
8298
8299 2012-06-08 Eli Zaretskii <eliz@gnu.org>
8300
8301 * descr-text.el (describe-char): Mention how to insert the
8302 character, if the current input method doesn't support it.
8303 See the discussion in this thread for the details:
8304 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
8305
8306 2012-06-08 Sam Steingold <sds@gnu.org>
8307
8308 * bindings.el (global-map): Bind XF86Forward to next-buffer and
8309 XF86Back to previous-buffer.
8310 (minibuffer-local-map): Bind them to next-history-element and
8311 previous-history-element respectively.
8312 * help-mode.el (help-mode-map): Bind them to help-go-forward and
8313 help-go-back respectively.
8314 * info.el (Info-mode-map): Bind them to Info-history-forward and
8315 Info-history-back respectively.
8316 These are the keys next to Up on the ThinkPad keyboard.
8317
8318 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
8319
8320 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
8321 * emacs-lisp/cl-macs.el: Provide itself.
8322 (cl--labels-convert-cache): New var.
8323 (cl--labels-convert): New function.
8324 (cl-flet, cl-labels): New implementation with new semantics, relying on
8325 lexical-binding.
8326 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
8327 (cl-closure-vars, cl--function-convert-cache)
8328 (cl--function-convert): Move from cl-macs.el.
8329 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
8330 rename by removing the "cl-" prefix.
8331 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
8332
8333 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8334
8335 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
8336 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
8337 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
8338 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
8339 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
8340 (cl-hash-table-count): Add old compatibility aliases.
8341
8342 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
8343 Use macroexpand-all-environment instead.
8344 (cl--old-macroexpand): New var.
8345 (cl--sm-macroexpand): New function.
8346 (cl-symbol-macrolet): Use it during macro expansion.
8347 (cl--function-convert-cache): New var.
8348 (cl--function-convert): New function, extracted from
8349 cl-macroexpand-all.
8350 (cl-lexical-let): Use it.
8351
8352 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
8353 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
8354 (cl-member): Remove old alias.
8355
8356 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
8357 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
8358 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
8359 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
8360 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
8361 (cl-macroexpand-cmacs): Remove var.
8362 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
8363 Use macroexpand-all instead.
8364
8365 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8366
8367 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
8368 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
8369 (macroexp-copyable-p): New functions and macros.
8370 * emacs-lisp/edebug.el (edebug-unwrap):
8371 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
8372 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
8373 (pcase--let*): Remove.
8374 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
8375 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
8376 macroexp-const-p instead.
8377 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
8378
8379 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
8380 instead of "cl-" for internal definitions. Use macroexp-const-p.
8381 (cl-old-bc-file-form): Remove var.
8382 (cl-const-exprs-p): Remove fun.
8383 (cl-labels, cl-macrolet): Use backquote.
8384 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
8385 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
8386 (cl-define-setf-expander): Rename from cl-define-setf-method.
8387 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
8388
8389 * international/mule-cmds.el: Don't require CL.
8390 (view-hello-file): Don't use `letf'.
8391
8392 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8393
8394 * tmm.el (tmm-prompt): Use string-prefix-p.
8395 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
8396 (tmm-add-prompt): Use minibuffer-completion-help.
8397 (tmm-delete-map): Remove.
8398
8399 * subr.el (kbd): Make it its own function.
8400
8401 2012-06-07 Stefan Merten <smerten@oekonux.de>
8402
8403 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
8404 Silence compiler warnings. Fix versions.
8405 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
8406 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
8407 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
8408 (rst-package-emacs-version-alist): Correct Emacs version to
8409 represent major merge with upstream.
8410 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
8411
8412 2012-06-06 Glenn Morris <rgm@gnu.org>
8413
8414 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
8415 Only print environment variables if set.
8416
8417 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
8418
8419 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
8420 (macroexp--cons): Rename from maybe-cons.
8421 (macroexp--accumulate): Rename from macroexp-accumulate.
8422 (macroexp--all-forms): Rename from macroexpand-all-forms.
8423 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
8424 (macroexp--expand-all): Rename from macroexpand-all-1.
8425
8426 2012-06-06 Sam Steingold <sds@gnu.org>
8427
8428 * calendar/calendar.el (calendar-in-read-only-buffer):
8429 Call `special-mode' to enable the standard read-only keybindings.
8430
8431 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
8432
8433 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
8434 with "loading" messages (bug#11635).
8435
8436 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
8437
8438 * files.el (enable-remote-dir-locals): New option.
8439 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
8440
8441 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
8442 Ensure, that the temp directory is local.
8443
8444 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
8445 `temporary-file-directory'.
8446
8447 * progmodes/python.el (python-send-region): Ensure, that the
8448 temporary file is created also in the remote case.
8449
8450 2012-06-06 Glenn Morris <rgm@gnu.org>
8451
8452 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
8453 (vc-rcs-update-changelog): Use it.
8454
8455 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
8456
8457 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
8458 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
8459 (vc-sccs-diff): Replace use of the external vcdiff script.
8460
8461 2012-06-05 Glenn Morris <rgm@gnu.org>
8462
8463 * ledit.el: Move to obsolete/.
8464
8465 2012-06-05 Sam Steingold <sds@gnu.org>
8466
8467 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
8468 patch (Bug#11140).
8469
8470 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8471
8472 * emacs-lisp/cust-print.el: Move to obsolete.
8473
8474 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
8475 compiler-macro expansion.
8476
8477 Add native compiler-macro support.
8478 * emacs-lisp/macroexp.el (macroexpand-all-1):
8479 Support compiler-macros directly. Properly follow aliases and apply
8480 the compiler macros more thoroughly.
8481 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
8482 macroexpand now properly follows aliases.
8483 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
8484 (cl-compiler-macroexpand): Use new prop.
8485 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
8486
8487 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
8488
8489 2012-06-05 Martin Rudalics <rudalics@gmx.at>
8490
8491 * window.el (get-lru-window, get-mru-window, get-largest-window):
8492 New argument NOT-SELECTED to avoid picking the selected window.
8493 (window--display-buffer-1, window--display-buffer-2): Replace by
8494 new function window--display-buffer
8495 (display-buffer-same-window, display-buffer-reuse-window)
8496 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8497 Use window--display-buffer.
8498 (display-buffer-use-some-window): Remove temporary dedication
8499 hack by calling get-lru-window and get-largest-window with
8500 NOT-SELECTED argument non-nil. Call window--display-buffer.
8501
8502 2012-06-05 Glenn Morris <rgm@gnu.org>
8503
8504 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
8505 Replace external vcdiff script.
8506
8507 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
8508
8509 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
8510
8511 2012-06-04 Chong Yidong <cyd@gnu.org>
8512
8513 * image.el (imagemagick-types-inhibit): Revert last change.
8514 Add INFO and M.
8515 (imagemagick-enabled-types): Remove CIN and EPS*.
8516
8517 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
8518
8519 * emacs-lisp/cl-lib.el: Rename from cl.el.
8520 * emacs-lisp/cl.el: New compatibility file.
8521 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
8522 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
8523 to obey the "cl-" prefix.
8524 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
8525
8526 2012-06-03 Glenn Morris <rgm@gnu.org>
8527
8528 * emacs-lisp/authors.el (authors-aliases): Addition.
8529
8530 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
8531 Fix :version.
8532
8533 2012-06-03 Stefan Merten <smerten@oekonux.de>
8534
8535 * textmodes/rst.el: Add comments.
8536 (rst-transition, rst-adornment): New faces.
8537 (rst-adornment-faces-alist): Make default safe to reevaluate.
8538 Fixes
8539 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
8540 Improve customization tags.
8541 (rst-define-level-faces): Clarify meaning.
8542
8543 2012-06-03 Chong Yidong <cyd@gnu.org>
8544
8545 * progmodes/compile.el (compilation-mode-line-fail)
8546 (compilation-mode-line-run, compilation-mode-line-exit):
8547 New faces.
8548 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
8549
8550 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
8551
8552 * progmodes/which-func.el (which-func-update-ediff-windows):
8553 New function. Use it in ediff-select-hook (Bug#11478).
8554
8555 2012-06-03 Chong Yidong <cyd@gnu.org>
8556
8557 * bindings.el: Remove explicit help text from format-mode-line.
8558 It is now supplied by mode-line-default-help-echo.
8559 (mode-line-front-space, mode-line-end-spaces)
8560 (mode-line-misc-info): New variables.
8561 (mode-line-modes, mode-line-position): Move the default value to
8562 the variable definition.
8563 (mode-line-default-help-echo): New defcustom.
8564 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
8565 (mode-line-modified-help-echo): New functions.
8566 (mode-line-mule-info, mode-line-modified): Use them.
8567 (mode-line-eol-desc, propertized-buffer-identification):
8568 Consistency fixes for help text.
8569 (mode-line-coding-system-map): Allow using mouse-3 to invoke
8570 set-buffer-file-coding-system (Bug#289).
8571 (mode-line-mule-info-help-echo): Update help text.
8572
8573 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8574
8575 * simple.el (execute-extended-command): Set real-this-command
8576 (bug#11506).
8577
8578 2012-06-02 Chong Yidong <cyd@gnu.org>
8579
8580 Remove incorrect uses of "modeline" in comments, docstrings, and
8581 function/variable names (Bug#10329).
8582
8583 * cus-edit.el (mode-line):
8584 * dframe.el (dframe-mouse-hscroll):
8585 * emacs-lisp/re-builder.el:
8586 * emacs-lisp/easy-mmode.el (define-minor-mode):
8587 * frame.el (set-frame-name):
8588 * help.el (lookup-minor-mode-from-indicator):
8589 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
8590 * progmodes/cc-cmds.el (c-toggle-auto-newline)
8591 (c-toggle-hungry-state):
8592 * progmodes/antlr-mode.el (antlr-language-alist):
8593 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
8594 * progmodes/vhdl-mode.el (vhdl-mode):
8595 * progmodes/which-func.el (which-func, which-func-cleanup-function):
8596 * term/ns-win.el (ns-face-at-pos):
8597 * term/sup-mouse.el (sup-mouse-report):
8598 * textmodes/flyspell.el (flyspell-mode-line-string):
8599 * textmodes/ispell.el (ispell-highlight-face):
8600 * textmodes/reftex-global.el:
8601 * vc/vc-arch.el (vc-arch-mode-line-string):
8602 * vc/vc-cvs.el (vc-cvs-mode-line-string):
8603 * vc/vc-git.el (vc-git-mode-line-string):
8604 * vc/vc-hooks.el (vc-display-status)
8605 (vc-default-mode-line-string):
8606 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
8607
8608 * ansi-color.el (ansi-color-faces-vector): Change default faces.
8609
8610 * dired.el (dired-sort-set-mode-line): Rename from
8611 dired-sort-set-modeline. All callers changed.
8612
8613 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
8614 eshell-status-in-modeline.
8615
8616 * foldout.el (foldout-mode-line-string): Rename from
8617 foldout-modeline-string. All callers changed.
8618 (foldout-update-mode-line): Rename from foldout-update-modeline.
8619
8620 * subr.el (redraw-modeline): Make into obsolete alias.
8621
8622 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
8623 timeclock-modeline-display. Make old name an alias.
8624 (timeclock-update-mode-line): Likewise. All callers changed.
8625 (timeclock-mode-line-display): No need to check before using
8626 add-hook.
8627 (timeclock-relative, timeclock-day-over-hook)
8628 (timeclock-use-elapsed, timeclock-mode-string)
8629 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
8630
8631 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
8632 crisp-mode-modeline-string.
8633
8634 * play/solitaire.el (solitaire-build-mode-line): Rename from
8635 solitaire-build-modeline. All callers changed.
8636
8637 * play/zone.el (zone-hiding-mode-line): Rename from
8638 zone-hiding-modeline. All callers changed.
8639 (zone): Remove unusued `modeline-hidden-level' property.
8640
8641 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
8642 xscheme-modeline-initialize. All callers changed.
8643
8644 * strokes.el (strokes-lighter): Rename from
8645 strokes-modeline-string.
8646
8647 * textmodes/sgml-mode.el (html-face-tag-alist)
8648 (html-tag-face-alist): Use mode-line face instead of obsolete
8649 alias modeline.
8650
8651 2012-06-02 Stefan Merten <smerten@oekonux.de>
8652
8653 * textmodes/rst.el: Always require `cl'.
8654 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
8655
8656 2012-06-02 Chong Yidong <cyd@gnu.org>
8657
8658 * image.el (imagemagick-enabled-types): Rename from
8659 imagemagick-types-enable. Add many more types.
8660 (imagemagick-types-inhibit): Change default to nil.
8661 (imagemagick-filter-types): Caller changed.
8662
8663 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8664
8665 * emacs-lisp/cl-macs.el: Use backquotes.
8666 (cl-transform-function-property): Use eval-and-compile rather than
8667 abusing `require'.
8668 (defstruct): Use declare-function instead of with-no-warnings.
8669
8670 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
8671 (byte-compile-output-docform): Re-add the print-circle bindings.
8672 (byte-compile-fix-header): Use #$ just because it's shorter.
8673 (byte-compile-output-file-form): Remove defun/defmacro.
8674
8675 2012-06-01 Martin Rudalics <rudalics@gmx.at>
8676
8677 * simple.el (choose-completion): Remove now obsolete binding for
8678 owindow.
8679
8680 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
8681
8682 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
8683 in order to avoid "Stack overflow in regexp matcher".
8684
8685 2012-05-31 Glenn Morris <rgm@gnu.org>
8686
8687 * image.el: For clarity, call imagemagick-register-types at
8688 top-level, rather than relying on a custom :initialize.
8689 (imagemagick-types-enable): New option. (Bug#11557)
8690 (imagemagick-filter-types): New function. (Bug#7406)
8691 (imagemagick-register-types): Use imagemagick-filter-types.
8692 If disabling support, remove elements altogether rather
8693 than using an impossible regexp.
8694 (imagemagick-types-inhibit): Give it the default init function.
8695
8696 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8697
8698 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
8699 Handle arbitrary file name lengths (Bug#11585).
8700
8701 2012-05-31 Martin Rudalics <rudalics@gmx.at>
8702
8703 * desktop.el (desktop-read): Clear previous and next buffers for
8704 all windows and bury *Messages* buffer (bug#11556).
8705
8706 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8707
8708 Add `declare' for `defun'. Align `defmacro's with it.
8709 * emacs-lisp/easy-mmode.el (define-minor-mode)
8710 (define-globalized-minor-mode): Don't autoload the var definitions.
8711 * emacs-lisp/byte-run.el: Use lexical-binding.
8712 (defun-declarations-alist, macro-declarations-alist): New vars.
8713 (defmacro, defun): Use them.
8714 (make-obsolete, define-obsolete-function-alias)
8715 (make-obsolete-variable, define-obsolete-variable-alias):
8716 Use `declare'.
8717 (macro-declaration-function): Mark obsolete.
8718 * emacs-lisp/autoload.el: Use lexical-binding.
8719 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
8720
8721 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8722
8723 * textmodes/ispell.el (ispell-with-no-warnings):
8724 Define as a macro.
8725 (ispell-kill-ispell, ispell-change-dictionary):
8726 Use `called-interactively-p' for Emacs instead of obsolete
8727 `interactive-p'.
8728
8729 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8730
8731 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
8732 (macro-declaration-function): Move var from C code.
8733 (macro-declaration-function): Define function with defalias.
8734 * emacs-lisp/macroexp.el (macroexpand-all-1):
8735 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
8736 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
8737 defun/defmacro any more.
8738 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
8739 Provide fallback for unknown arglist.
8740 (byte-compile-arglist-warn): Change calling convention.
8741 (byte-compile-output-file-form): Move print-vars binding.
8742 (byte-compile-output-docform): Simplify accordingly.
8743 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
8744 (byte-compile-defmacro-declaration): Remove.
8745 (byte-compile-file-form-defmumble): Generalize to defalias.
8746 (byte-compile-output-as-comment): Return byte-positions.
8747 Simplify callers accordingly.
8748 (byte-compile-lambda): Use `assert'.
8749 (byte-compile-defun, byte-compile-defmacro): Remove.
8750 (byte-compile-file-form-defalias):
8751 Use byte-compile-file-form-defmumble.
8752 (byte-compile-defalias-warn): Remove.
8753
8754 2012-05-29 Stefan Merten <smerten@oekonux.de>
8755
8756 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
8757 possible. Fix authors. Improve comments. Improve loading of `cl'.
8758
8759 (rst-mode-abbrev-table): Merge definition.
8760 (rst-mode): Make sure `font-lock-defaults' is buffer local.
8761 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
8762
8763 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
8764
8765 * calendar/icalendar.el
8766 (icalendar-export-region): Export UID properly.
8767
8768 2012-05-29 Leo Liu <sdl.web@gmail.com>
8769 * calendar/icalendar.el (icalendar-import-format):
8770 Add `icalendar-import-format-uid' (Bug#11525).
8771 (icalendar-import-format-uid): New.
8772 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
8773 Export UID.
8774
8775 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8776
8777 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
8778 different alternative patterns.
8779 (pcase-codegen): Be more careful to preserve identity.
8780 (pcase--u1): Don't forget to mark vars as used.
8781
8782 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
8783 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
8784 (byte-compile-from-buffer): ...rather than here.
8785
8786 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
8787 functions from byte-compile-function-environment.
8788
8789 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
8790
8791 * window.el (window-deletable-p): Avoid deleting the root window
8792 of a frame with an active minibuffer.
8793
8794 2012-05-29 Martin Rudalics <rudalics@gmx.at>
8795
8796 * simple.el (choose-completion): Use quit-window (Bug#11567).
8797
8798 2012-05-29 Chong Yidong <cyd@gnu.org>
8799
8800 * whitespace.el (whitespace-cleanup): Fix usage of
8801 whitespace-empty-at-bob-regexp (Bug#11492).
8802
8803 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8804
8805 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
8806 revert (Bug#11488).
8807
8808 2012-05-29 Juri Linkov <juri@jurta.org>
8809
8810 * isearch.el (isearch-mode-map): Bind `M-s _' to
8811 `isearch-toggle-symbol'. Bind `M-s c' to
8812 `isearch-toggle-case-fold'.
8813 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
8814 (isearch-forward): Add `M-s _' to the docstring.
8815 (isearch-forward-symbol, isearch-toggle-case-fold)
8816 (isearch-symbol-regexp): New functions. (Bug#11381)
8817
8818 2012-05-29 Juri Linkov <juri@jurta.org>
8819
8820 * isearch.el (isearch-word): Add docstring. (Bug#11381)
8821 (isearch-occur, isearch-search-and-update): If `isearch-word' is
8822 a function, call it to get the regexp.
8823 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
8824 property `isearch-message-prefix' instead of the string "word ".
8825 (isearch-search-fun-default): For the case of `isearch-word',
8826 return a lambda that calls re-search-forward/re-search-backward
8827 with a regexp returned by `word-search-regexp' or by the function
8828 in `isearch-word'.
8829
8830 2012-05-29 Juri Linkov <juri@jurta.org>
8831
8832 * isearch.el (isearch-search-fun-default): New function.
8833 (isearch-search-fun): Move default part to the new function
8834 `isearch-search-fun-default'.
8835 (isearch-search-fun-function): Set the default value to
8836 `isearch-search-fun-default'. (Bug#11381)
8837
8838 * comint.el (comint-history-isearch-end):
8839 Use `isearch-search-fun-default'.
8840 (comint-history-isearch-search): Use `isearch-search-fun-default'
8841 and remove spacial case for `isearch-word'.
8842 (comint-history-isearch-wrap): Remove spacial case for
8843 `isearch-word'.
8844
8845 * hexl.el (hexl-isearch-search-function):
8846 Use `isearch-search-fun-default'.
8847
8848 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
8849 Use `word-search-regexp' for `isearch-word'.
8850
8851 * misearch.el (multi-isearch-search-fun):
8852 Use `isearch-search-fun-default'.
8853
8854 * simple.el (minibuffer-history-isearch-search):
8855 Use `isearch-search-fun-default' and remove spacial case for
8856 `isearch-word'.
8857 (minibuffer-history-isearch-wrap): Remove spacial case for
8858 `isearch-word'.
8859
8860 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
8861 Remove spacial case for `isearch-word'.
8862 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
8863
8864 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8865
8866 Decrease XEmacs incompatibilities.
8867 * textmodes/flyspell.el (flyspell-check-pre-word-p):
8868 Use `string-match'.
8869 (flyspell-delete-region-overlays): Use alternative definition for
8870 XEmacs.
8871 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
8872 (flyspell-word): Use `process-kill-without-query' if XEmacs.
8873 (flyspell-mode-on): Use `interactive-p' if XEmacs.
8874 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
8875 `define-obsolete-face-alias' under XEmacs, but old method.
8876
8877 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
8878 `with-no-warnings' definition or Emacs alias.
8879 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
8880 (ispell-word): Do not use `region-p' if XEmacs.
8881
8882 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8883
8884 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
8885 Check for `ispell-dictionary-base-alist' instead of full
8886 `ispell-dictionary-alist'.
8887 (ispell-init-process): Show spellchecker when starting new Ispell
8888 process.
8889
8890 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
8891
8892 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
8893 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
8894
8895 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
8896
8897 * version.el (motif-version-string, gtk-version-string)
8898 (ns-version-string): Declare.
8899
8900 2012-05-27 Juri Linkov <juri@jurta.org>
8901
8902 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
8903 after the `eval-defun-1' specialcaseing
8904 like in `edebug-eval-defun' (bug#10181).
8905
8906 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
8907 like in `eval-defun-1'.
8908
8909 2012-05-27 Eli Zaretskii <eliz@gnu.org>
8910
8911 * mail/sendmail.el (mail-yank-region):
8912 Recognize rmail-yank-current-message in addition to insert-buffer.
8913 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
8914 a *mail* buffer created through rmail-start-mail with sendmail as
8915 mail-user-agent.
8916
8917 2012-05-27 Chong Yidong <cyd@gnu.org>
8918
8919 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
8920 Default to 256 (Bug#11267).
8921
8922 * help.el (describe-mode): Doc fix.
8923
8924 2012-05-26 Glenn Morris <rgm@gnu.org>
8925
8926 * w32-fns.el (w32-init-info): Remove.
8927 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
8928
8929 * info.el (info-initialize): For self-contained NS builds, put the
8930 included info/ directory at the front. (Bug#2791)
8931
8932 * paths.el (Info-default-directory-list): Make it a defcustom,
8933 mainly so that we can use custom-initialize-delay.
8934
8935 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
8936
8937 * subr.el (buffer-has-markers-at): Mark obsolete.
8938
8939 * subr.el (lambda): Use declare.
8940
8941 * emacs-lisp/lisp-mode.el (lambda):
8942 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
8943
8944 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8945
8946 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
8947
8948 2012-05-26 Glenn Morris <rgm@gnu.org>
8949
8950 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
8951
8952 2012-05-25 Glenn Morris <rgm@gnu.org>
8953
8954 * paths.el: Remove no-byte-compile.
8955 * loadup.el: No need to load paths.el uncompiled.
8956
8957 * image.el (imagemagick-types-inhibit): Doc fix.
8958
8959 * version.el: Remove no-byte-compile and associated formatting.
8960 * loadup.el: No need to load version.el uncompiled. AFAICS, this
8961 is ancient code from when there was an "inc-vers.el".
8962
8963 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8964
8965 * progmodes/gdb-mi.el: Minor style changes.
8966 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
8967 Turn into minor modes.
8968 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
8969 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
8970 (gdb-shell): Remove unneeded let-binding.
8971 (gdb-get-many-fields): Eliminate O(n²) behavior.
8972
8973 2012-05-25 Eli Zaretskii <eliz@gnu.org>
8974
8975 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
8976 platforms that don't link in fontset.c.
8977
8978 2012-05-25 Juri Linkov <juri@jurta.org>
8979
8980 Use the same diff color scheme as in modern VCSes (bug#10181).
8981
8982 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
8983 to avoid confusion with `diff-added' that now uses green colors.
8984 (diff-removed): Use shades of red.
8985 (diff-added): Use shades of green.
8986 (diff-changed): Leave just the yellow color.
8987 (diff-use-changed-face): New variable.
8988 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
8989 how to highlight context diff changes.
8990 (diff-refine-change): Use shades of yellow.
8991 (diff-refine-removed): New face that uses shades of red.
8992 (diff-refine-added): New face that uses shades of green.
8993 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
8994 `diff-refine-removed' in the call to `smerge-refine-subst'
8995 depending on the value of `diff-use-changed-face'.
8996
8997 * vc/smerge-mode.el (smerge-mine): Use shades of red.
8998 (smerge-other): Use shades of green.
8999 (smerge-base): Use shades of yellow.
9000 (smerge-refined-change): Empty face.
9001 (smerge-refined-removed): New face that uses shades of red.
9002 (smerge-refined-added): New face that uses shades of green.
9003 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
9004 args `props-r' and `props-a', and use them. Doc fix.
9005 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
9006 on its value use different faces `smerge-refined-change',
9007 `smerge-refined-removed', `smerge-refined-added' in the call to
9008 `smerge-refine-subst'.
9009
9010 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
9011 Add face condition `min-colors 88' with shades of red.
9012 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
9013 `min-colors 88' with shades of green.
9014 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
9015 `min-colors 88' with shades of yellow.
9016
9017 2012-05-24 Glenn Morris <rgm@gnu.org>
9018
9019 * paths.el (prune-directory-list, remote-shell-program): Move to...
9020 * files.el (prune-directory-list, remote-shell-program): ...here.
9021 For the latter, delay initialization, prefer ssh, just search PATH.
9022
9023 * paths.el (term-file-prefix): Move to faces.el (the only user).
9024 * faces.el (term-file-prefix): Move here, make it a defcustom.
9025
9026 * paths.el (news-directory, news-path, news-inews-program):
9027 Move to gnus/nnspool.el.
9028
9029 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
9030
9031 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
9032 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
9033 Make the latter a defcustom, with a delayed initialization.
9034
9035 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
9036 These were deleted from Gnus itself late 2010.
9037
9038 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
9039
9040 * progmodes/which-func.el (which-func-ff-hook):
9041 Check against user-error, not error.
9042
9043 * emacs-lisp/edebug.el (top): Do not load or set up loading of
9044 cl-specs.el, which no longer exists.
9045
9046 2012-05-22 Glenn Morris <rgm@gnu.org>
9047
9048 * info.el (info-emacs-bug): New command.
9049 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
9050 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
9051
9052 2012-05-21 Glenn Morris <rgm@gnu.org>
9053
9054 * makefile.w32-in (update-subdirs-SH):
9055 * Makefile.in (update-subdirs): Update for moved update-subdirs.
9056
9057 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
9058
9059 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
9060
9061 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9062 Simplify Maven regexp, and make sure the file can't start with a space
9063 (bug#11517).
9064
9065 2012-05-21 Glenn Morris <rgm@gnu.org>
9066
9067 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9068 Scrap superfluous subshells.
9069
9070 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
9071
9072 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
9073 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
9074
9075 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
9076
9077 * calc/calc.el (calc-ensure-consistent-units): New variable.
9078
9079 * calc/calc-units.el (math-consistent-units-p)
9080 (math-check-unit-consistency): New functions.
9081 (calc-quick-units, calc-convert-units):
9082 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
9083 is non-nil.
9084 (calc-extract-units): Fix typo.
9085
9086 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
9087
9088 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
9089
9090 * textmodes/flyspell.el: Commenting style, plus code simplifications.
9091 (flyspell-default-deplacement-commands): Don't spell check after
9092 repeated window/frame switches (e.g. triggered by mouse-movement).
9093 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
9094 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
9095 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
9096 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
9097 Remove unused vars.
9098 (flyspell-get-casechars, flyspell-get-not-casechars):
9099 Simplify; Don't bother removing a ] just to add it back.
9100 * textmodes/ispell.el (ispell-program-name): Use executable-find.
9101
9102 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9103
9104 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
9105 New functions.
9106 (math-function-table): Add support for more C functions.
9107
9108 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9109
9110 * textmodes/flyspell.el (flyspell-check-pre-word-p)
9111 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
9112 Protect delay handling for otherchars against empty otherchars.
9113
9114 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
9115
9116 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
9117 their respective macro declarations.
9118 * skeleton.el (define-skeleton):
9119 * progmodes/compile.el (define-compilation-mode):
9120 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
9121 (define-ibuffer-filter):
9122 * emacs-lisp/generic.el (define-generic-mode):
9123 * emacs-lisp/easy-mmode.el (define-minor-mode)
9124 (define-globalized-minor-mode):
9125 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
9126 * emacs-lisp/byte-run.el (defsubst):
9127 * custom.el (deftheme): Add doc-string metadata.
9128
9129 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9130
9131 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
9132
9133 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9134
9135 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
9136
9137 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
9138 * emacs-lisp/cl-macs.el: Idem.
9139 * emacs-lisp/cl-specs.el: Remove.
9140
9141 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9142
9143 Minor renaming of internal CL functions and variables.
9144 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
9145 (cl--position): Rename from cl-position.
9146 (cl--delete-duplicates): Rename from cl-delete-duplicates.
9147 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
9148 (cl--random-state): Rename from *random-state*.
9149
9150 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9151
9152 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
9153 parens around the arg list (bug#11499).
9154
9155 2012-05-17 Juri Linkov <juri@jurta.org>
9156
9157 * isearch.el (word-search-regexp, word-search-backward)
9158 (word-search-forward, word-search-backward-lax)
9159 (word-search-forward-lax): Move functions from search.c
9160 (bug#10145, bug#11381).
9161
9162 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9163
9164 * textmodes/flyspell.el (flyspell-check-pre-word-p)
9165 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
9166 Delay for otherchars as for normal word components.
9167
9168 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
9169
9170 * minibuffer.el (completion--sifn-requote): Fix last change.
9171 (minibuffer-local-must-match-filename-map):
9172 Move define-obsolete-variable-alias before its var.
9173
9174 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9175
9176 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
9177
9178 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
9179 behavior.
9180 (completion--string-equal-p): New function.
9181 (completion--twq-all): Use it to get better assertion failure data.
9182
9183 Only handle ".." and '..' quoting in shell-mode (bug#11466).
9184 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
9185 (shell--requote-argument): New functions.
9186 (shell-completion-vars): Use them.
9187 (shell--parse-pcomplete-arguments): Rename from
9188 shell-parse-pcomplete-arguments.
9189 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
9190 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
9191 Obey comint-file-name-quote-list.
9192
9193 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
9194 (smie-indent-keyword): Use it.
9195
9196 2012-05-14 Stefan Merten <smerten@oekonux.de>
9197
9198 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
9199
9200 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
9201
9202 * net/rlogin.el (rlogin-mode-map): Fix last change.
9203
9204 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
9205
9206 * mail/smtpmail.el (smtpmail-send-command): Send the command and
9207 the following \r\n using a single `process-send-string', since the
9208 Lotus SMTP server refuses to accept any commands if they are sent
9209 with two `process-send-string's (Bug#11444).
9210
9211 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
9212
9213 * shell.el (shell-parse-pcomplete-arguments):
9214 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
9215
9216 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
9217
9218 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
9219 (image-transform-scale, image-transform-right-angle-fudge): New vars.
9220 (image-transform-width, image-transform-fit-width): New functions.
9221 (image-transform-properties): Use them.
9222 (image-transform-check-size): New function.
9223 (image-toggle-display-image): Use it (for testing).
9224 (image-transform-set-rotation): Reduce angle mod 360.
9225 Delete obsolete comment.
9226
9227 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
9228
9229 * image-mode.el: Fix scaling (bug#11399).
9230 (image-transform-resize): Doc fix.
9231 (image-transform-properties): Default scale is 1 and height should
9232 be an integer.
9233
9234 2012-05-13 Johan Bockgård <bojohan@gnu.org>
9235
9236 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
9237 than hard-coding `car', to fix misbehavior when moving forward.
9238
9239 2012-05-13 Chong Yidong <cyd@gnu.org>
9240
9241 * emacs-lisp/tabulated-list.el (tabulated-list-format)
9242 (tabulated-list-entries, tabulated-list-padding)
9243 (tabulated-list-sort-key): Make permanent-local.
9244
9245 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
9246 (electric-buffer-list): Put electric buffer menu
9247 command descriptions in this docstring, instead of the docstring
9248 of electric-buffer-menu-mode. Code cleanups.
9249 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
9250 Electric-buffer-menu-mode.
9251 (electric-buffer-update-highlight): Minor code cleanup.
9252
9253 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
9254
9255 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
9256 (Bug#11447)
9257
9258 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9259
9260 Move define-obsolete-variable-alias before the var's definition.
9261 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
9262 * tooltip.el (tooltip-hook):
9263 * textmodes/reftex-toc.el (reftex-toc-map):
9264 * textmodes/reftex-sel.el (reftex-select-label-map)
9265 (reftex-select-bib-map):
9266 * textmodes/reftex-index.el (reftex-index-map)
9267 (reftex-index-phrases-map):
9268 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
9269 * progmodes/meta-mode.el (meta-mode-map):
9270 * novice.el (disabled-command-hook):
9271 * loadhist.el (unload-hook-features-list):
9272 * frame.el (blink-cursor):
9273 * files.el (find-file-not-found-hooks, write-file-hooks)
9274 (write-contents-hooks):
9275 * emulation/tpu-edt.el (GOLD-map):
9276 * emacs-lock.el (emacs-lock-from-exiting):
9277 * emacs-lisp/generic.el (generic-font-lock-defaults):
9278 * emacs-lisp/chart.el (chart-map):
9279 * dos-fns.el (register-name-alist):
9280 * dired-x.el (dired-omit-files-p):
9281 * desktop.el (desktop-enable):
9282 * cus-edit.el (custom-mode-hook):
9283 * buff-menu.el (buffer-menu-mode-hook):
9284 * bookmark.el (bookmark-read-annotation-text-func)
9285 (bookmark-exit-hooks):
9286 * allout.el (allout-mode-deactivate-hook)
9287 (allout-exposure-change-hook, allout-structure-added-hook)
9288 (allout-structure-deleted-hook, allout-structure-shifted-hook):
9289 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
9290 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
9291 comes before the corresponding variable's definition.
9292
9293 2012-05-12 Chong Yidong <cyd@gnu.org>
9294
9295 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
9296 (Buffer-menu-mouse-select): Restore function (Bug#11459).
9297 (Buffer-menu-mode-map): Bind it.
9298 (Buffer-menu--pretty-name): Add a mouse-face property.
9299
9300 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
9301
9302 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
9303 (prolog-upper-case-string, prolog-lower-case-string)
9304 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
9305 (prolog-use-smie, prolog-smie-grammar): New vars.
9306 (prolog-smie-forward-token, prolog-smie-backward-token)
9307 (prolog-smie-rules): New funs.
9308 (prolog-comment-indent): Remove.
9309 (prolog-mode-variables): Use default comment indentation instead.
9310 Setup SMIE.
9311 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
9312 (prolog-mode): Don't call them any more.
9313 (prolog-electric-colon, prolog-electric-dash)
9314 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
9315
9316 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
9317
9318 * minibuffer.el (completion--twq-all): Again, allow case differences.
9319
9320 * term.el: Move keymap initialization code to be more idiomatic.
9321 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
9322 (term-terminal-menu): Move initialization into declaration.
9323 (term-escape-char): Let the user set it in her .emacs.
9324
9325 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
9326 Provide SMIE-based indentation (not enabled by default yet).
9327 (sh-mode-map): Don't bind electric keys.
9328 Use electric-pair-mode instead of skeleton-pair.
9329 (sh-assignment-regexp): Fit within 80 columns.
9330 (sh-indent-supported): Specify actual shell name instead of boolean.
9331 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
9332 (sh-maybe-here-document): Use it. Make obsolete.
9333 (sh-electric-here-document-mode) New minor mode.
9334 (sh-mode): Use it. Don't set sh-indent-supported-here here.
9335 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
9336 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
9337 (sh-smie-rc-grammar, sh-use-smie): New vars.
9338 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
9339 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
9340 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
9341 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
9342 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
9343 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
9344 (sh-set-shell): Use smie-setup if requested.
9345
9346 * term.el (term-set-escape-char): Properly set term-escape-char.
9347 See http://stackoverflow.com/questions/10524656.
9348
9349 2012-05-10 Chong Yidong <cyd@gnu.org>
9350
9351 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
9352 Use url-generic-parse-url, and handle host names and Windows
9353 filenames properly.
9354 (ffap-url-unwrap-remote): Use url-generic-parse-url.
9355 (ffap-url-unwrap-remote): Accept list values, specifying a list of
9356 URL schemes to work on.
9357 (ffap--toggle-read-only): New function.
9358 (ffap-read-only, ffap-read-only-other-window)
9359 (ffap-read-only-other-frame): Use it.
9360 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
9361 necessary for ffap-url-unwrap-remote.
9362
9363 2012-05-10 Dave Abrahams <dave@boostpro.com>
9364
9365 * cus-start.el (create-lockfiles): Add it.
9366
9367 2012-05-09 Chong Yidong <cyd@gnu.org>
9368
9369 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
9370 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
9371
9372 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9373
9374 * shell.el (shell-completion-vars): Fix last change (bug#11348).
9375
9376 2012-05-09 Chong Yidong <cyd@gnu.org>
9377
9378 * ansi-color.el (ansi-color-process-output): Check for validity of
9379 comint-last-output-start before using it. This avoids a bad
9380 interaction with gdb-mi's input/output buffer.
9381
9382 2012-05-09 Glenn Morris <rgm@gnu.org>
9383
9384 * files.el (dir-locals-read-from-file):
9385 Mention dir-locals in any error message.
9386
9387 2012-05-09 Chong Yidong <cyd@gnu.org>
9388
9389 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
9390 package (Bug#11410).
9391
9392 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
9393 variables into description.
9394
9395 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9396
9397 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
9398 shell-delimiter-argument-list (bug#11348).
9399 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
9400
9401 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
9402
9403 * textmodes/rst.el: Silence byte-compiler warnings.
9404 (rst-re-alist, rst-reset-section-caches): Move around.
9405 (rst-re): Use `characterp', not `char-valid-p'.
9406 (font-lock-beg, font-lock-end): Declare.
9407
9408 * progmodes/idlw-shell.el (specs): Remove reference to deleted
9409 variable `idlwave-shell-activate-alt-keybindings' and simplify.
9410
9411 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
9412
9413 2012-05-08 Glenn Morris <rgm@gnu.org>
9414
9415 * files.el (auto-mode-alist): Treat ".make" like ".mk".
9416
9417 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9418
9419 * vc/log-edit.el: Add GNU coding standards highlighting.
9420 (log-edit-font-lock-gnu-style)
9421 (log-edit-font-lock-gnu-keywords): New vars.
9422 (log-edit-font-lock-keywords): New fun.
9423 (log-edit-mode): Don't fold case in font-lock.
9424 (log-edit-font-lock-keywords): Do not assume case-folding.
9425
9426 * imenu.el: Misc cleanup. Make docstrings out of comments.
9427 Use lexical-binding.
9428 (imenu--index-alist, imenu--last-menubar-index-alist)
9429 (imenu-menubar-modified-tick): Use defvar-local.
9430 (imenu--split-menu): Remove unused var.
9431 (imenu--cleanup-seen): Declare as global.
9432 (imenu--cleanup): Use dolist.
9433
9434 * subr.el (defvar-local): Add debug spec and doc-string position.
9435
9436 2012-05-08 Glenn Morris <rgm@gnu.org>
9437
9438 * language/burmese.el, language/cham.el, language/czech.el:
9439 * language/english.el, language/georgian.el, language/greek.el:
9440 * language/japanese.el, language/khmer.el, language/korean.el:
9441 * language/lao.el, language/misc-lang.el, language/romanian.el:
9442 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
9443 * language/thai.el, language/utf-8-lang.el:
9444 Remove no-byte-compile setting.
9445
9446 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
9447
9448 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9449
9450 * progmodes/make-mode.el (makefile-browse):
9451 Remove unnecessary interactive. (Bug#11324)
9452
9453 2012-05-07 Glenn Morris <rgm@gnu.org>
9454
9455 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
9456
9457 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
9458
9459 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9460
9461 * loadup.el: Preload newcomment.el.
9462 * newcomment.el: Move autoload-only code to toplevel.
9463
9464 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
9465 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
9466 Handle new :right-align column property.
9467 (tabulated-list-print-col): Idem, plus use `display' text-property to
9468 try and preserve alignment for variable pitch fonts.
9469
9470 2012-05-07 Chong Yidong <cyd@gnu.org>
9471
9472 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
9473 (tabulated-list-use-header-line): New var.
9474 (tabulated-list-init-header): Use it.
9475 (tabulated-list-print-fake-header): New function.
9476 (tabulated-list-print): Use it.
9477 (tabulated-list-sort-button-map): Add non-header-line commands.
9478 (tabulated-list-init-header): Add column name property to basic
9479 labels as well.
9480 (tabulated-list-col-sort): Handle non-header-line button case.
9481 (tabulated-list--sort-by-column-name): Fix a corner case.
9482
9483 * buff-menu.el (list-buffers--refresh):
9484 Handle Buffer-menu-use-header-line.
9485
9486 2012-05-06 Chong Yidong <cyd@gnu.org>
9487
9488 * buff-menu.el: Convert to Tabulated List mode.
9489 (Buffer-menu-buffer+size-width): Make obsolete.
9490 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
9491 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
9492 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
9493 documentation into docstring of buffer-menu.
9494 (Buffer-menu-toggle-files-only): Add an informative message.
9495 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
9496 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
9497 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
9498 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
9499 (Buffer-menu-execute, Buffer-menu-select)
9500 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
9501 (Buffer-menu-bury): Use Tabulated List machinery.
9502 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
9503 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
9504 Delete.
9505 (list-buffers--refresh): New function.
9506 (list-buffers-noselect): Use it.
9507 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
9508 (Buffer-menu--pretty-file-name): New helper functions.
9509
9510 * loadup.el: Preload tabulated-list.
9511
9512 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
9513 tabulated-list-sort-column.
9514 (tabulated-list-init-header): Add the initial aligning space even
9515 if tabulated-list-padding is zero.
9516
9517 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
9518
9519 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
9520 whose cdr is not a cons cell correctly (bug#11038).
9521
9522 2012-05-06 Chong Yidong <cyd@gnu.org>
9523
9524 * emacs-lisp/tabulated-list.el (tabulated-list-format):
9525 Accept additional plist in column descriptors.
9526 (tabulated-list-init-header): Obey it.
9527 (tabulated-list-get-entry): New function.
9528 (tabulated-list-put-tag): Use it. Use string-width instead of
9529 length.
9530 (tabulated-list--column-number): New function.
9531 (tabulated-list-print): Use it.
9532 (tabulated-list-print-col): New function.
9533 Set `tabulated-list-column-name' property on each column's text.
9534 (tabulated-list-print-entry): Use it.
9535 (tabulated-list-delete-entry, tabulated-list-set-col):
9536 New functions.
9537 (tabulated-list-sort-column): New command (Bug#11337).
9538
9539 * buff-menu.el (list-buffers): Move C-x C-b binding from
9540 buff-menu.el to bindings.el.
9541
9542 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
9543 :advertised-binding feature.
9544
9545 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
9546
9547 * progmodes/compile.el (compilation-internal-error-properties):
9548 Calculate start position correctly when end-col is set but
9549 end-line is not (Bug#11382).
9550
9551 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
9552
9553 * man.el (Man-unindent): Use text-property-default-nonsticky to
9554 prevent untabify from inheriting face properties (Bug#11408).
9555
9556 2012-05-05 Stefan Merten <smerten@oekonux.de>
9557
9558 * textmodes/rst.el: Major merge with upstream development up to
9559 Docutils SVN r7399 / rst.el V1.2.1.
9560
9561 Clarify maintainership and authors.
9562
9563 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
9564 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
9565 (rst-official-version, rst-official-cvs-rev, rst-version)
9566 (rst-package-emacs-version-alist): New functions and variables
9567 for version information.
9568
9569 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
9570 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
9571 (rst-mode-syntax-table, rst-mode): New and corrected functions
9572 and variables representing reStructuredText features.
9573
9574 (rst-re): New function for reStructuredText regexes. Use in
9575 many places.
9576
9577 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
9578 (rst-mode-map): Rebind keys.
9579
9580 (rst-mode-lazy, rst-font-lock-keywords)
9581 (rst-font-lock-extend-region)
9582 (rst-font-lock-extend-region-internal)
9583 (rst-font-lock-extend-region-extend)
9584 (rst-font-lock-find-unindented-line-limit)
9585 (rst-font-lock-find-unindented-line-match)
9586 (rst-adornment-level, rst-font-lock-adornment-level)
9587 (rst-font-lock-adornment-match)
9588 (rst-font-lock-handle-adornment-pre-match-form)
9589 (rst-font-lock-handle-adornment-matcher): Major revision of
9590 font-locking. Integrate with other code. Use `jit-lock-mode'.
9591
9592 (rst-preferred-adornments, rst-adjust-hook)
9593 (rst-new-adornment-down, rst-preferred-bullets)
9594 (rst-preferred-bullets, rst-indent, rst-indent-width)
9595 (rst-indent-field, rst-indent-literal-normal)
9596 (rst-indent-literal-minimized, rst-indent-comment): Change,
9597 extend and improve customization.
9598
9599 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
9600 (rst-normalize-cursor-position, rst-get-decoration)
9601 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
9602 (rst-rstrip, rst-toc-insert-find-delete-contents)
9603 (rst-shift-fill-region, rst-compute-bullet-tabs)
9604 (rst-debug-print-tabs, rst-debug-mark-found)
9605 (rst-shift-region-guts, rst-shift-region-right)
9606 (rst-shift-region-left, rst-use-char-classes)
9607 (rst-font-lock-keywords-function)
9608 (rst-font-lock-indentation-point)
9609 (rst-font-lock-find-unindented-line-begin)
9610 (rst-font-lock-find-unindented-line-end)
9611 (rst-font-lock-find-unindented-line)
9612 (rst-font-lock-adornment-point, rst-font-lock-level)
9613 (rst-adornment-level-alist): Remove functions and variables.
9614
9615 (rst-compare-adornments, rst-get-adornment-match)
9616 (rst-suggest-new-adornment, rst-get-adornments-around)
9617 (rst-adornment-complete-p, rst-get-next-adornment)
9618 (rst-adjust-adornment, rst-display-adornments-hierarchy)
9619 (rst-straighten-adornments): Standardize function names to
9620 use "adornment" instead of "decoration". Correct callers.
9621 Similar standardizing in many places.
9622
9623 (rst-update-section, rst-adjust, rst-promote-region)
9624 (rst-enumerate-region, rst-bullet-list-region)
9625 (rst-repeat-last-character): Correct use of `interactive'.
9626
9627 (rst-classify-adornment, rst-find-all-adornments)
9628 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
9629 (rst-find-leftmost-column, rst-repeat-last-character):
9630 Refactor functions.
9631
9632 (rst-find-title-line, rst-reset-section-caches)
9633 (rst-get-adornments-around, rst-adjust-adornment-work)
9634 (rst-arabic-to-roman, rst-roman-to-arabic)
9635 (rst-insert-list-pos, rst-insert-list-new-item)
9636 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
9637 New functions.
9638
9639 (rst-all-sections, rst-section-hierarchy)
9640 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
9641 New variables.
9642
9643 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
9644 configuration instead of only buffer. Change where necessary.
9645
9646 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
9647 (rst-shift-region, rst-adaptive-fill): New functions for
9648 indentation and filling.
9649
9650 (rst-comment-line-break, rst-comment-indent)
9651 (rst-comment-insert-comment, rst-comment-region)
9652 (rst-uncomment-region): New functions for handling comments.
9653
9654 (rst-compile): Quote shell arguments.
9655
9656 (rst-compile-pdf-preview, rst-compile-slides-preview):
9657 Delete temporary files after use.
9658
9659 2012-05-05 Glenn Morris <rgm@gnu.org>
9660
9661 * calendar/cal-html.el: Optionally include holidays in the output.
9662 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
9663 (cal-html-holidays): New option.
9664 (cal-html-css-default): Add holiday entry.
9665 (holiday-in-range): Autoload it.
9666 (cal-html-htmlify-entry): Add optional class argument.
9667 (cal-html-htmlify-list): Add optional holidays argument.
9668 (cal-html-insert-agenda-days): Include holidays in the output.
9669 (cal-html-one-month): Maybe include holidays.
9670
9671 * calendar/holidays.el (holiday-in-range):
9672 Move here from cal-tex-list-holidays.
9673 * calendar/cal-tex.el (cal-tex-list-holidays):
9674 Make it an obsolete alias for holiday-in-range. Update all callers.
9675
9676 2012-05-05 Chong Yidong <cyd@gnu.org>
9677
9678 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
9679 Nextstep.
9680
9681 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
9682
9683 * files.el (file-auto-mode-skip): New var.
9684 (set-auto-mode-1): Use it.
9685
9686 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9687
9688 * repeat.el: Use lexical-binding.
9689 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
9690 (repeat-undo-count): Remove.
9691 (repeat):
9692 * progmodes/octave-mod.el (octave-abbrev-start):
9693 * progmodes/f90.el (f90-abbrev-start):
9694 * face-remap.el (text-scale-adjust):
9695 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
9696
9697 * emacs-lisp/pcase.el (pcase--let*): New function.
9698 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
9699 a bit more.
9700 (pcase--split-pred): Be more clever about ruling out overlap between
9701 a predicate and some constant pattern.
9702 (pcase--q1): Use `null' instead of (eq foo nil).
9703
9704 * subr.el (setq-local, defvar-local): New macros.
9705 (kbd): Redefine as an alias.
9706 (with-selected-window): Leave unrelated frames alone.
9707 (set-temporary-overlay-map): New function.
9708
9709 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9710
9711 * subr.el (user-error): New function.
9712 * window.el (switch-to-buffer):
9713 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
9714 (smerge-match-conflict):
9715 * simple.el (previous-matching-history-element)
9716 (next-matching-history-element, goto-history-element, undo-more)
9717 (undo-start):
9718 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
9719 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
9720 (next-file, tags-loop-scan, list-tags, complete-tag):
9721 * progmodes/compile.el (compilation-loop):
9722 * mouse.el (mouse-minibuffer-check):
9723 * man.el (Man-bgproc-sentinel, Man-goto-page):
9724 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
9725 (Info-history-forward, Info-follow-reference, Info-menu)
9726 (Info-extract-menu-item, Info-extract-menu-counting)
9727 (Info-forward-node, Info-backward-node, Info-next-menu-item)
9728 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
9729 (Info-next-reference, Info-prev-reference, Info-index)
9730 (Info-index-next, Info-follow-nearest-node)
9731 (Info-copy-current-node-name):
9732 * imenu.el (imenu--make-index-alist)
9733 (imenu-default-create-index-function, imenu-add-to-menubar):
9734 * files.el (basic-save-buffer, recover-file):
9735 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
9736 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
9737 (checkdoc-message-text, checkdoc-defun):
9738 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
9739 * cus-edit.el (customize-changed-options, customize-rogue)
9740 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
9741 (custom-variable-mark-to-reset-standard)
9742 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
9743 (custom-file):
9744 * completion.el (check-completion-length):
9745 * comint.el (comint-search-arg)
9746 (comint-previous-matching-input-string-position)
9747 (comint-previous-matching-input)
9748 (comint-replace-by-expanded-history-before-point, comint-send-input)
9749 (comint-copy-old-input, comint-backward-matching-input)
9750 (comint-goto-process-mark, comint-set-process-mark):
9751 * calendar/calendar.el (calendar-cursor-to-date): Use it.
9752 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
9753
9754 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9755
9756 * dabbrev.el (dabbrev--ignore-case-p): New function.
9757 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
9758 Use it.
9759
9760 * files.el (automount-dir-prefix): Mark as obsolete.
9761
9762 2012-05-04 Glenn Morris <rgm@gnu.org>
9763
9764 * patcomp.el, play/bruce.el: Move to obsolete/.
9765
9766 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
9767
9768 Fix minor Y10k bugs.
9769 * arc-mode.el (archive-unixdate):
9770 * autoinsert.el (auto-insert-alist):
9771 * calc/calc-forms.el (math-this-year):
9772 * emacs-lisp/copyright.el (copyright-current-year)
9773 (copyright-update-year, copyright):
9774 * tar-mode.el (tar-clip-time-string):
9775 * time.el (display-time-update):
9776 Don't assume years have 4 digits.
9777
9778 2012-05-04 Chong Yidong <cyd@gnu.org>
9779
9780 * dos-w32.el (file-name-buffer-file-type-alist)
9781 (direct-print-region-use-command-dot-com):
9782 * ffap.el (ffap-menu-regexp):
9783 * find-file.el (ff-special-constructs):
9784 * follow.el (follow-debug):
9785 * forms.el (forms--debug):
9786 * iswitchb.el (iswitchb-all-frames):
9787 * ido.el (ido-all-frames):
9788 * emacs-lisp/timer.el (timer-max-repeats):
9789 * mail/feedmail.el (feedmail-mail-send-hook)
9790 (feedmail-mail-send-hook-queued):
9791 * mail/footnote.el (footnote-signature-separator):
9792 * mail/mailabbrev.el (mail-alias-separator-string)
9793 (mail-abbrev-mode-regexp):
9794 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
9795 * progmodes/idlwave.el (idlwave-libinfo-file)
9796 (idlwave-default-completion-case-is-down)
9797 (idlwave-library-routines): Convert defvars to defcustoms.
9798
9799 * mail/rmail.el (rmail-decode-mime-charset):
9800 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
9801 (idlwave-shell-fix-inserted-breaks)
9802 (idlwave-shell-activate-alt-keybindings)
9803 (idlwave-shell-use-breakpoint-glyph):
9804 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
9805
9806 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9807
9808 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
9809
9810 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
9811
9812 * progmodes/verilog-mode.el (font-lock-keywords):
9813 Fix mis-highligting auto. Reported by Craig Barner.
9814 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
9815 defines from global name space. Reported by Dan Dever.
9816 (verilog-auto-reset, verilog-auto-reset-widths)
9817 (verilog-auto-tieoff): Support using unbased numbers for
9818 AUTORESET and AUTOTIEOFF.
9819 (verilog-submit-bug-report): Update variable list.
9820 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
9821 parenthesis from not matching. Reported by Michael Rytting.
9822 (verilog-auto-template-lint): Fix hash error when linting modules
9823 with no used templates.
9824 (verilog-warn, verilog-warn-error)
9825 (verilog-warn-fatal): When non-interactive report multiple
9826 warnings before exiting. Suggested by Brad Dobbie.
9827 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
9828 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
9829 to report unused template errors. Reported by Brad Dobbie.
9830 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
9831 nets, bug438. Reported by Vns Blore.
9832 (verilog-auto-inout-module, verilog-auto-reg)
9833 (verilog-read-decls, verilog-read-sub-decls-sig)
9834 (verilog-signals-edit-wire-reg, verilog-signals-with):
9835 Fix passing of Verilog data types in ANSI input/output ports
9836 such as "output logic" into the AUTOs. Special case "wire" and
9837 "reg" for backwards compatibility presuming Verilog 2001.
9838 (verilog-auto-ascii-enum): Add "auto enum" as alias.
9839 (verilog-preprocess): Fix replication of preprocess output.
9840 Reported by Brad Dobbie.
9841 (verilog-auto-inst-interfaced-ports):
9842 Create verilog-auto-inst-interfaced-ports, bug429.
9843 Reported by Julian Gorfajn.
9844 (verilog-after-save-font-hook)
9845 (verilog-before-save-font-hook): New variable.
9846 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
9847 (verilog-save-font-mods): Wrap disabling fontification, reported
9848 by David Rogoff.
9849 (verilog-do-indent, verilog-pretty-declarations-auto)
9850 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
9851 Reported by Pierre-David Pfister.
9852 (verilog-set-auto-endcomments): Fix endtask auto comments outside
9853 of class declarations, bug292. Reported by Kevin Heilman.
9854 (verilog-read-decls): Fix 'parameter type' not appearing in
9855 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
9856 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
9857 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
9858 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
9859 Reported by David Kravitz.
9860
9861 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
9862
9863 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
9864 assignment with tests in ifs and for loops.
9865 (verilog-extended-complete-re, verilog-complete-reg): Change so
9866 that DPI inport functions don't look like fuction declarations.
9867 (verilog-pretty-expr): Don't line up assignment
9868 operations to the test and increment in if and for loops
9869 (verilog-extended-complete-re, verilog-complete-reg): Change so
9870 that DPI inport functions don't look like fuction declarations.
9871
9872 2012-05-03 Kenichi Handa <handa@m17n.org>
9873
9874 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
9875 decoding, and show a warning message without signaling an error
9876 (Bug#11282).
9877
9878 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9879
9880 * emacs-lisp/bytecomp.el
9881 (byte-compile-file-form-custom-declare-variable): Compile all elements,
9882 since cconv.el might have introduced :fun-body, internal-make-closure,
9883 and friends for bytecomp to handle (bug#11391).
9884 * custom.el (defcustom): Avoid ((λ ..) ..).
9885
9886 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
9887
9888 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
9889
9890 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
9891
9892 * notifications.el (dbus-debug):
9893 * term/linux.el (gpm-mouse-enable):
9894 * term/screen.el (xterm-register-default-colors): Declare.
9895
9896 2012-05-02 Chong Yidong <cyd@gnu.org>
9897
9898 * cus-start.el (gc-cons-percentage, exec-suffixes)
9899 (dos-display-scancodes, dos-hyper-key, dos-super-key)
9900 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
9901 (make-cursor-line-fully-visible, void-text-area-pointer)
9902 (font-list-limit): Add customization data.
9903
9904 * allout.el (allout-exposure-change-functions)
9905 (allout-structure-added-functions)
9906 (allout-structure-deleted-functions)
9907 (allout-structure-shifted-functions): Rename abnormal hooks from
9908 *-hook, and convert to defcustoms.
9909 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
9910 Convert to defcustoms.
9911 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
9912
9913 * allout-widgets.el: Hook callers changed.
9914
9915 2012-05-02 Eli Zaretskii <eliz@gnu.org>
9916
9917 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
9918 the yanked message in preference to the default value of
9919 buffer-file-coding-system.
9920
9921 2012-05-02 Martin Rudalics <rudalics@gmx.at>
9922
9923 * window.el (display-buffer--action-function-custom-type):
9924 Fix entry.
9925
9926 2012-05-02 Alan Mackenzie <acm@muc.de>
9927
9928 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
9929
9930 2012-05-01 Glenn Morris <rgm@gnu.org>
9931
9932 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
9933
9934 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
9935
9936 * cus-edit.el (custom-variable-documentation): Simplify with format.
9937
9938 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9939 Stefan Monnier <monnier@iro.umontreal.ca>
9940
9941 * simple.el (suggest-key-bindings, execute-extended-command):
9942 Move from keyboard.c.
9943
9944 2012-05-01 Chong Yidong <cyd@gnu.org>
9945
9946 * follow.el: Eliminate advice.
9947 (set-process-filter, process-filter, sit-for): Advice deleted.
9948 (follow-mode-off-hook): Obsolete hook removed.
9949 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
9950 Vars deleted.
9951 (follow-auto): Use a :set function.
9952 (follow-mode): Rewritten. Don't advise process filters.
9953 (follow-switch-to-current-buffer-all, follow-scroll-up)
9954 (follow-scroll-down): Assume follow-mode is bound.
9955 (follow-comint-scroll-to-bottom)
9956 (follow-align-compilation-windows): New functions.
9957 (follow--window-sorter): New function.
9958 (follow-all-followers): Use it to explicitly sort windows by their
9959 positions; don't make assumptions about next-window order.
9960 (follow-windows-start-end, follow-delete-other-windows-and-split)
9961 (follow-calc-win-start): Doc fix.
9962 (follow-windows-aligned-p, follow-select-if-visible): Don't call
9963 vertical-motion unnecessarily.
9964 (follow-adjust-window): New function.
9965 (follow-post-command-hook): Use it.
9966 (follow-call-set-process-filter, follow-call-process-filter)
9967 (follow-intercept-process-output, follow-tidy-process-filter-alist)
9968 (follow-stop-intercept-process-output, follow-generic-filter):
9969 Functions deleted.
9970 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
9971 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
9972 New functions, replacing advice on scroll-bar-* commands.
9973 (follow-mwheel-scroll): New function (Bug#4112).
9974
9975 * comint.el (comint-adjust-point): New function.
9976 (comint-postoutput-scroll-to-bottom): Use it.
9977 Call follow-comint-scroll-to-bottom for Follow mode buffers.
9978
9979 2012-05-01 Glenn Morris <rgm@gnu.org>
9980
9981 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
9982 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
9983 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
9984 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
9985 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
9986 Remove no-byte-compile setting.
9987
9988 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
9989
9990 * minibuffer.el (completion-table-with-quoting): Fix compatibility
9991 all-completions code to not return a number in the last cdr.
9992
9993 2012-04-30 Leo Liu <sdl.web@gmail.com>
9994
9995 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
9996 read-only error.
9997
9998 2012-04-29 Chong Yidong <cyd@gnu.org>
9999
10000 * follow.el (follow-calc-win-end): Rewrite to handle partial
10001 screen lines correctly (Bug#8390).
10002 (follow-avoid-tail-recenter): Minor cleanup.
10003
10004 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10005
10006 Avoid the obsolete `assoc' package.
10007 * speedbar.el (speedbar-refresh): Avoid adelete.
10008 (speedbar-file-lists): Simplify and avoid aput.
10009 * man.el (Man--sections, Man--refpages): New vars, replacing
10010 Man-sections-alist and Man-refpages-alist.
10011 (Man-build-section-alist, Man-build-references-alist):
10012 Use them; avoid aput.
10013 (Man--last-section, Man--last-refpage): New vars.
10014 (Man-follow-manual-reference): Use them.
10015 Use the `default' arg of completing-read.
10016 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
10017
10018 2012-04-27 Chong Yidong <cyd@gnu.org>
10019
10020 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
10021
10022 * startup.el (x-apply-session-resources): New function.
10023
10024 * term/ns-win.el (ns-initialize-window-system):
10025 * term/w32-win.el (w32-initialize-window-system):
10026 * term/x-win.el (x-initialize-window-system): Use it to properly
10027 set menu-bar-mode and other vars from X resources, even if the
10028 initial frame is not a window-system frame (Bug#2299).
10029
10030 * subr.el (read-key): Avoid running filter function when setting
10031 up temporary tool bar entries (Bug#9922).
10032
10033 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
10034
10035 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
10036 (Bug#11344)
10037
10038 2012-04-27 Chong Yidong <cyd@gnu.org>
10039
10040 * select.el (xselect--encode-string): New function, split from
10041 xselect-convert-to-string.
10042 (xselect-convert-to-string): Use it.
10043 (xselect-convert-to-filename, xselect-convert-to-os)
10044 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
10045 returned strings are properly encoded (Bug#11315).
10046
10047 2012-04-27 Chong Yidong <cyd@gnu.org>
10048
10049 * simple.el (delete-active-region): Move to killing custom group.
10050
10051 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
10052
10053 * progmodes/which-func.el (which-func-current): Quote %
10054 characters for mode-line processing.
10055
10056 2012-04-27 Chong Yidong <cyd@gnu.org>
10057
10058 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
10059 reaching eob (Bug#11286).
10060
10061 2012-04-27 Eli Zaretskii <eliz@gnu.org>
10062
10063 * progmodes/gdb-mi.el (gdb-control-level): New variable.
10064 (gdb): Make it buffer-local and init to zero.
10065 (gdb-control-commands-regexp): New variable.
10066 (gdb-send): Don't wrap in "-interpreter-exec console" if
10067 gdb-control-level is positive. Increment gdb-control-level
10068 whenever the command matches gdb-control-commands-regexp, and
10069 decrement it each time the command is "end". (Bug#11279)
10070
10071 2012-04-27 Martin Rudalics <rudalics@gmx.at>
10072
10073 * window.el (adjust-window-trailing-edge, enlarge-window)
10074 (shrink-window, window-resize):
10075 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
10076 windows (Bug#11276).
10077
10078 2012-04-27 Chong Yidong <cyd@gnu.org>
10079
10080 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
10081 fix "missing prefix" warning. All callers changed.
10082
10083 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10084
10085 * emacs-lisp/assoc.el: Move to obsolete/.
10086
10087 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10088
10089 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
10090
10091 * term/ns-win.el (ns-define-service):
10092 * progmodes/pascal.el (pascal-goto-defun):
10093 * progmodes/js.el (js--read-tab):
10094 * progmodes/etags.el (tags-lazy-completion-table):
10095 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
10096 * emacs-lisp/ewoc.el (ewoc--wrap):
10097 * emacs-lisp/assoc.el (aput, adelete, amake):
10098 * doc-view.el (doc-view-convert-current-doc):
10099 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
10100
10101 2012-04-26 Chong Yidong <cyd@gnu.org>
10102
10103 * image.el (image-type-from-buffer): Only return supported image
10104 type (Bug#9045).
10105
10106 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
10107 value, for symmetry with diff-end-of-hunk.
10108 (diff-split-hunk, diff-find-source-location)
10109 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
10110 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
10111 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
10112 compute the relevant hunk or file properly (Bug#6005).
10113 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
10114
10115 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10116
10117 * vc/vc-mtn.el:
10118 * vc/vc-hg.el:
10119 * vc/vc-git.el:
10120 * vc/vc-dir.el:
10121 * vc/vc-cvs.el:
10122 * vc/vc-bzr.el:
10123 * vc/vc-arch.el:
10124 * vc/vc.el: Replace lexical-let by lexical-binding.
10125 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
10126 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
10127 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
10128
10129 2012-04-26 Chong Yidong <cyd@gnu.org>
10130
10131 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
10132 (diff-mode-shared-map): Bind it to / and [remap undo].
10133
10134 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
10135 (ediff-window-setup-function): Use it as the default, to set up
10136 windows based on whether the current frame is graphical (Bug#2138).
10137 (ediff-choose-window-setup-function-automatically): Make obsolete.
10138
10139 * vc/ediff-init.el: Always define ediff-pixel-width/height.
10140
10141 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10142
10143 * ffap.el: Remove old code for obsolete package.
10144 (ffap-complete-as-file-p): Remove.
10145
10146 Use completion-table-with-quoting for comint and pcomplete.
10147 * comint.el (comint--unquote&requote-argument)
10148 (comint--unquote-argument, comint--requote-argument): New functions.
10149 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
10150 (comint-quote-filename): Use regexp-opt-charset.
10151 (comint--common-suffix, comint--common-quoted-suffix)
10152 (comint--table-subvert): Remove.
10153 (comint-unquote-function, comint-requote-function): New vars.
10154 (comint--complete-file-name-data): Use them with
10155 completion-table-with-quoting.
10156 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
10157 * pcomplete.el (pcomplete-arg-quote-list)
10158 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
10159 (pcomplete-unquote-argument-function): Default to non-nil.
10160 (pcomplete-unquote-argument): Simplify.
10161 (pcomplete--common-quoted-suffix): Remove.
10162 (pcomplete-requote-argument-function): New var.
10163 (pcomplete--common-suffix): New function.
10164 (pcomplete-completions-at-point): Use completion-table-with-quoting
10165 and completion-table-subvert.
10166
10167 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
10168 (minibuffer--double-dollars): Preserve properties.
10169 (completion--sifn-requote): New function.
10170 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
10171
10172 * minibuffer.el: Add support for completion of quoted/escaped data.
10173 (completion-table-with-quoting, completion-table-subvert): New funs.
10174 (completion--twq-try, completion--twq-all): New functions.
10175 (completion--nth-completion): New function.
10176 (completion-try-completion, completion-all-completions): Use it.
10177
10178 2012-04-25 Leo Liu <sdl.web@gmail.com>
10179
10180 * progmodes/python.el (python-pdbtrack-get-source-buffer):
10181 Use compilation-message if available to find real filename.
10182
10183 2012-04-25 Chong Yidong <cyd@gnu.org>
10184
10185 * vc/diff-mode.el (diff-setup-whitespace): New function.
10186 (diff-mode): Use it.
10187
10188 * vc/diff.el (diff-sentinel):
10189 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
10190 Whitespace mode variables based on diff style (Bug#8612).
10191
10192 2012-04-25 Leo Liu <sdl.web@gmail.com>
10193
10194 * progmodes/python.el (python-send-region): Add suffix .py to the
10195 temp file.
10196
10197 * files.el (auto-mode-alist): Use javascript-mode instead.
10198
10199 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
10200
10201 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
10202
10203 * net/soap-client.el (soap-resolve-references-for-sequence-type)
10204 (soap-resolve-references-for-array-type): Hack to prevent self
10205 references, see Bug#9.
10206 (soap-parse-envelope): Report the contents of the 'detail' node
10207 when receiving a fault reply.
10208 (soap-parse-envelope): Report the contents of the entire 'detail' node.
10209
10210 * net/soap-inspect.el (soap-sample-value-for-simple-type)
10211 (soap-inspect-simple-type): New function.
10212
10213 * net/soap-client.el (soap-simple-type): New struct.
10214 (soap-default-xsd-types, soap-default-soapenc-types)
10215 (soap-decode-basic-type, soap-encode-basic-type):
10216 support unsignedInt and double basic types.
10217 (soap-resolve-references-for-simple-type)
10218 (soap-parse-simple-type, soap-encode-simple-type): New function.
10219 (soap-parse-schema): Parse xsd:simpleType declarations.
10220
10221 * net/soap-client.el (soap-default-xsd-types)
10222 (soap-default-soapenc-types): Add integer, byte and anyURI types.
10223 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
10224 the local name of "soapenc:Array".
10225 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
10226 decoding integer, byte and anyURI xsd types.
10227
10228 2012-04-25 Chong Yidong <cyd@gnu.org>
10229
10230 * cus-edit.el (custom-buffer-create-internal): Update header text.
10231
10232 2012-04-25 Eli Zaretskii <eliz@gnu.org>
10233
10234 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
10235 settings on 'system-type', not on 'window-system'. On MS-Windows,
10236 set interactive-mode on in GDB.
10237
10238 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10239
10240 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
10241 (ruby-syntax-propertize-regexp): Remove.
10242 (ruby-syntax-propertize-function): Split regexp into chunks.
10243 Match following code directly.
10244
10245 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
10246
10247 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
10248 (ruby-syntax-propertize-regexp): New function.
10249 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
10250 by a special keyword.
10251
10252 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
10253 (ruby-syntax-general-delimiters-goto-beg)
10254 (ruby-syntax-propertize-general-delimiters): New functions.
10255 (ruby-syntax-propertize-function): Use them to handle GDL.
10256 (ruby-font-lock-keywords): Move old handling of GDL...
10257 (ruby-font-lock-syntactic-keywords): .. to here.
10258 (ruby-calculate-indent): Adjust indentation for GDL.
10259
10260 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
10261
10262 * notifications.el (top): Remove unneeded declarations.
10263 (notifications-specification-version): Change to "1.2".
10264 (notifications-interface, notifications-notify-method)
10265 (notifications-close-notification-method): Fix docstring.
10266 (notifications-get-capabilities-method): New defconst.
10267 (notifications-notify): Add :action-items, :resident and
10268 :transient hints. Change "image_data" to "image-data" and
10269 "image_path" to "image-path".
10270 (notifications-get-capabilities): New defun.
10271
10272 2012-04-24 Leo Liu <sdl.web@gmail.com>
10273
10274 * progmodes/python.el: Move hideshow setup to the end.
10275
10276 2012-04-24 Martin Rudalics <rudalics@gmx.at>
10277
10278 * window.el (handle-select-window): Clear echo area since this is
10279 no more done by read_char (Bug#11304).
10280
10281 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10282
10283 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
10284 and `/ M' to filter-derived-mode.
10285 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
10286 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
10287 (ibuffer-mark-by-mode): Use default rather than initial-input.
10288 (ibuffer-filter-by-derived-mode): Autoload and require-match.
10289
10290 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
10291
10292 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
10293 (ibuffer-filter-by-derived-mode): New filter.
10294 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
10295
10296 2012-04-23 Andreas Politz <politza@fh-trier.de>
10297
10298 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
10299
10300 2012-04-23 Chong Yidong <cyd@gnu.org>
10301
10302 * cus-edit.el (customize-apropos, customize-apropos-options):
10303 Disable matching of non-option variables (Bug#11176).
10304 (customize-option, customize-option-other-window)
10305 (customize-changed-options): Doc fix.
10306 (customize-apropos-options, customize-apropos-faces)
10307 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
10308
10309 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
10310 Fix word list splitting (Bug#11132).
10311 (apropos-symbol, apropos-keybinding, apropos-label)
10312 (apropos-property, apropos-function-button)
10313 (apropos-variable-button, apropos-misc-button): New faces.
10314 (apropos-symbol-face, apropos-keybinding-face)
10315 (apropos-label-face, apropos-property-face, apropos-match-face):
10316 Variables removed (Bug#8396).
10317 (apropos-library-button, apropos-format-plist, apropos-print)
10318 (apropos-print-doc, apropos-describe-plist): Callers changed.
10319
10320 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
10321
10322 * net/xesam.el (xesam-mode-map): Use let-bound map in
10323 initialization. (Bug#11292)
10324
10325 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10326
10327 Preserve ispell session localwords when switching back to
10328 original buffer.
10329
10330 * textmodes/ispell.el (ispell-buffer-session-localwords):
10331 New buffer-local variable to hold buffer session localwords.
10332 (ispell-kill-ispell): Add option 'clear to delete session
10333 localwords.
10334 (ispell-command-loop, ispell-change-dictionary)
10335 (ispell-buffer-local-words): Preserve session localwords when
10336 needed.
10337
10338 * textmodes/flyspell.el (flyspell-process-localwords)
10339 (flyspell-do-correct): Preserve session localwords when needed.
10340
10341 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10342
10343 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
10344 using obsolete `translation-table-for-input'.
10345 (ispell-word, ispell-process-line, ispell-complete-word):
10346 Use plain `insert' instead of removed `ispell-insert-word'.
10347
10348 2012-04-22 Chong Yidong <cyd@gnu.org>
10349
10350 * cus-edit.el (custom-variable-menu)
10351 (custom-variable-reset-saved, custom-face-menu)
10352 (custom-face-reset-saved): If there is no saved value, make the
10353 "reset-saved" operation bring back the default (Bug#9509).
10354 (custom-face-state): Properly detect themed faces.
10355
10356 * faces.el (face-spec-set): Stop supporting deprecated form of
10357 third arg.
10358
10359 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
10360
10361 Move functions from C to Lisp. Make non-blocking method calls
10362 the default. Implement further D-Bus standard interfaces.
10363
10364 * net/dbus.el (dbus-message-internal): Declare function.
10365 Remove unneeded function declarations.
10366 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
10367 (dbus-message-type-method-return, dbus-message-type-error)
10368 (dbus-message-type-signal): Declare variables. Remove local
10369 definitions.
10370 (dbus-interface-dbus, dbus-interface-peer)
10371 (dbus-interface-introspectable, dbus-interface-properties)
10372 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
10373 Adapt docstring.
10374 (dbus-interface-objectmanager): New defconst.
10375 (dbus-call-method, dbus-call-method-asynchronously)
10376 (dbus-send-signal, dbus-method-return-internal)
10377 (dbus-method-error-internal, dbus-register-service)
10378 (dbus-register-signal, dbus-register-method): New defuns, moved
10379 from dbusbind.c
10380 (dbus-call-method-handler, dbus-setenv)
10381 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
10382 New defuns.
10383 (dbus-call-method-non-blocking): Make it an obsolete function.
10384 (dbus-unregister-object, dbus-unregister-service)
10385 (dbus-handle-event, dbus-register-property)
10386 (dbus-property-handler): Obey the new structure of
10387 `bus-registered-objects'.
10388 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
10389 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
10390 Use `dbus-call-method'.
10391
10392 2012-04-22 Chong Yidong <cyd@gnu.org>
10393
10394 * cus-edit.el (custom-commands, custom-reset-menu)
10395 (Custom-reset-standard): Tweak labels.
10396 (custom-reset-button-menu): Change default to t.
10397 (custom-buffer-create-internal): For the custom-reset-button-menu
10398 case, put the revert button first.
10399 (custom-group-subtitle): New face.
10400 (custom-group-value-create): Align docstring to a specific column.
10401
10402 * wid-edit.el (widget-documentation-link-add): Don't handle
10403 indentation in this function.
10404 (widget-documentation-string-indent-to): New function.
10405 (widget-documentation-string-value-create): Use it.
10406
10407 * autorevert.el (auto-revert):
10408 * epg-config.el (epg):
10409 * ibuffer.el (ibuffer):
10410 * mpc.el (mpc):
10411 * ses.el (ses):
10412 * eshell/eshell.el (eshell):
10413 * net/ange-ftp.el (ange-ftp):
10414 * progmodes/ebnf2ps.el (postscript):
10415 * progmodes/flymake.el (flymake):
10416 * progmodes/prolog.el (prolog):
10417 * progmodes/verilog-mode.el (verilog-mode):
10418 * progmodes/which-func.el (which-func):
10419 * term/xterm.el (xterm):
10420 * textmodes/picture.el (picture):
10421 * textmodes/tildify.el (tildify):
10422 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
10423 customization buffers.
10424
10425 2012-04-22 Alan Mackenzie <acm@muc.de>
10426
10427 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
10428 Adding a ) can hide the resulting (..) from searches. Fix it.
10429 Bound the backward search to the position of the existing (.
10430
10431 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
10432
10433 * progmodes/verilog-mode.el (verilog-mode): Check whether
10434 which-func-modes is t before adding verilog-mode.
10435 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
10436
10437 2012-04-21 Leo Liu <sdl.web@gmail.com>
10438
10439 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
10440
10441 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
10442
10443 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
10444 filling of the last column of a table (Bug#5635).
10445 (woman-find-next-control-line): New arg, specifying an additional
10446 regexp component for the control line.
10447 (woman2-roff-buffer): Use it.
10448 (woman-break-table): New function.
10449 (woman2-TS): Use it.
10450
10451 2012-04-21 Chong Yidong <cyd@gnu.org>
10452
10453 * woman.el (woman-set-buffer-display-table, woman-decode-region)
10454 (woman-horizontal-escapes, woman-negative-vertical-space)
10455 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
10456 (WoMan-warn-ignored): Use ?\s instead of ?\ .
10457
10458 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10459
10460 * minibuffer.el (completion-file-name-table): Complete user names.
10461
10462 2012-04-20 Leo Liu <sdl.web@gmail.com>
10463
10464 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
10465 and pcase-let*.
10466
10467 2012-04-20 Chong Yidong <cyd@gnu.org>
10468
10469 * server.el (server-execute): Respect initial-buffer-choice if it
10470 is a string and there are no files to open (Bug#2825).
10471 (server-create-window-system-frame, server-create-tty-frame):
10472 Don't switch buffers here.
10473 (server-process-filter): Only try to open a window system frame if
10474 compiled with graphical support (Bug#8314).
10475
10476 2012-04-20 Dan Nicolaescu <dann@gnu.org>
10477
10478 * battery.el (battery-echo-area-format): Display remaining time
10479 for sysfs backend too (Bug#11269).
10480 (battery-linux-sysfs): Fix conditional for the charge.
10481
10482 2012-04-20 Chong Yidong <cyd@gnu.org>
10483
10484 * progmodes/gdb-mi.el (gdb): Revert previous change.
10485 (gdb-inferior-io--init-proc): New function.
10486 (gdb-init-1): Use it.
10487 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
10488 responsible for allocating a new pty and hooking it to gdb when
10489 the old pty gets an EIO due to process exit.
10490 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
10491 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
10492 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
10493
10494 2012-04-20 Eli Zaretskii <eliz@gnu.org>
10495
10496 * window.el (window-min-size, window-sizable, window-min-delta)
10497 (window-max-delta, window--resizable, window-resizable)
10498 (window-total-size, window-full-height-p, window-full-width-p)
10499 (window-in-direction, window--resize-mini-window, window-resize)
10500 (window--resize-child-windows-normal)
10501 (window--resize-child-windows, window--resize-siblings)
10502 (window--resize-this-window, adjust-window-trailing-edge)
10503 (enlarge-window, shrink-window): Doc fixes.
10504
10505 2012-04-20 Chong Yidong <cyd@gnu.org>
10506
10507 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
10508 New function to call delete-process on the gdb-inferior buffer's pty.
10509 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
10510 pty process (Bug#11273).
10511 (gdb-update): New arg to suppress talking to the gdb process.
10512 (gdb-done-or-error): Use it.
10513 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
10514 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
10515 sentinel not being called.
10516
10517 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
10518
10519 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
10520
10521 2012-04-20 Glenn Morris <rgm@gnu.org>
10522
10523 * net/network-stream.el (open-network-stream): Doc fix.
10524
10525 2012-04-20 Chong Yidong <cyd@gnu.org>
10526
10527 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
10528
10529 2012-04-20 Alan Mackenzie <acm@muc.de>
10530
10531 Ensure searching for keywords is case sensitive.
10532
10533 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
10534 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
10535 (c-defun-name, c-mark-function, c-cpp-define-name)
10536 (c-comment-indent, c-scan-conditionals, c-indent-defun)
10537 (c-context-line-break): Bind case-fold-search to nil.
10538
10539 * progmodes/cc-mode.el (c-font-lock-fontify-region):
10540 Bind case-fold-search to nil.
10541
10542 2012-04-20 Chong Yidong <cyd@gnu.org>
10543
10544 * mail/sendmail.el (mail-bury): Call return action with the right
10545 Rmail buffer (Bug#11242).
10546
10547 * server.el (server-process-filter): Handle corner case where both
10548 tty and nowait options are present (Bug#11102).
10549
10550 2012-04-20 Eli Zaretskii <eliz@gnu.org>
10551
10552 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
10553 (top level): Put into the executable the ident-style '$Id:' tag on
10554 windows-nt as well.
10555
10556 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10557
10558 * electric.el (electric-indent-post-self-insert-function): Check that
10559 electric-indent-mode is enabled in current buffer.
10560
10561 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
10562
10563 * imenu.el (imenu-progress-message): Restore; it is "used" in
10564 erc/erc-imenu.el and net/snmp-mode.el.
10565
10566 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
10567
10568 * avoid.el (mouse-avoidance-mode): Mark unused arg.
10569 (mouse-avoidance-nudge-mouse): Remove unused binding.
10570
10571 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
10572
10573 * descr-text.el (describe-char):
10574 * progmodes/python.el (python-describe-symbol):
10575 Don't call `toggle-read-only', set `buffer-read-only'.
10576
10577 * imenu.el (imenu-default-goto-function): Mark unused args.
10578 (imenu-progress-message): Remove obsolete macro; all callers changed.
10579
10580 * subr.el (keymap-canonicalize): Remove unused binding.
10581 (read-passwd): Mark unused arg.
10582
10583 * tutorial.el (tutorial--display-changes): Remove unused binding.
10584 (tutorial--save-tutorial-to): Remove unused variable.
10585
10586 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
10587 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
10588 (package-generate-autoloads, package-menu--generate)
10589 (package-menu--find-upgrades): Remove unused bindings.
10590
10591 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
10592 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
10593 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
10594 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
10595 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
10596 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
10597 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
10598 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
10599 (cua-delete-char-rectangle): Mark unused args.
10600 (cua-align-rectangle): Remove unused binding.
10601
10602 * mail/rmail.el (compilation--message->loc)
10603 (epa--find-coding-system-for-mime-charset): Declare.
10604
10605 * net/dbus.el (dbus-register-service): Declare.
10606 (dbus-name-owner-changed-handler): Remove unused binding.
10607
10608 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
10609 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
10610 (nxml-scan-backward-within): Mark unused arg.
10611 (nxml-dynamic-markup-word): Remove unused binding.
10612
10613 * mouse.el (mouse-menu-major-mode-map):
10614 * emacs-lisp/authors.el (authors-scan-change-log)
10615 (authors-add-to-author-list):
10616 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
10617 * emacs-lisp/smie.el (smie-auto-fill):
10618 * mail/sendmail.el (mail-bury):
10619 * mail/unrmail.el (unrmail):
10620 * net/tls.el (open-tls-stream):
10621 * textmodes/picture.el (picture-mouse-set-point):
10622 Remove unused bindings.
10623
10624 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
10625
10626 * net/tramp.el (tramp-action-password): Let-bind
10627 `enable-recursive-minibuffers' to t.
10628
10629 2012-04-18 Sam Steingold <sds@gnu.org>
10630
10631 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
10632 instead of 'string to accommodate values like [f11].
10633 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
10634 * progmodes/gdb-mi.el: Likewise.
10635
10636 2012-04-18 Leo Liu <sdl.web@gmail.com>
10637
10638 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
10639 current buffer.
10640 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
10641 LOCAL is nil.
10642
10643 2012-04-18 Chong Yidong <cyd@gnu.org>
10644
10645 * simple.el (line-move): Use forward-line if in batch mode
10646 (Bug#11053).
10647
10648 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
10649
10650 * files.el (after-find-file): Do not try to add a final newline if
10651 the buffer is read-only (Bug#11156).
10652
10653 2012-04-17 Richard Stallman <rms@gnu.org>
10654
10655 * mail/rmail.el (rmail-start-mail):
10656 Pass (rmail-mail-return...) for the return-action.
10657 Pass (rmail-yank-current-message...) for the yank-action.
10658 (rmail-yank-current-message): New function.
10659 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
10660 (rmail-reply): Likewise.
10661 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
10662
10663 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
10664 buffer, not the last. Reject temp buffers. Use the rmail-mode
10665 buffer, not newbuf.
10666
10667 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
10668
10669 * server.el (server-ensure-safe-dir): Simplify.
10670
10671 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10672
10673 * emacs-lisp/smie.el: Provide smarter auto-filling.
10674 (smie-auto-fill): New function.
10675 (smie-setup): Use it.
10676
10677 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
10678
10679 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
10680
10681 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
10682 (comment-indent): Use it.
10683
10684 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
10685
10686 * ses.el: The overall change is to add cell renaming, that is
10687 setting fancy names for cell symbols other than name matching
10688 "\\`[A-Z]+[0-9]+\\'" regexp .
10689 (ses-localvars): Add ses--renamed-cell-symb-list.
10690 (ses-create-cell-variable): New defun.
10691 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
10692 (ses-relocate-formula): Relocate formulas only for cells the
10693 symbols of which are not renamed, i.e. symbols whose names do not
10694 match regexp "\\`[A-Z]+[0-9]+\\'".
10695 (ses-relocate-all): Relocate values only for cells the symbols of
10696 which are not renamed.
10697 (ses-load): Create cells variables as the (ses-cell ...) are read,
10698 in order to check row col consistency with cell symbol name only
10699 for cells that are not renamed.
10700 (ses-replace-name-in-formula): New defun.
10701 (ses-rename-cell): New defun.
10702
10703 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
10704
10705 * progmodes/perl-mode.el (perl-indent-parens-as-block):
10706 New option (bug#11118).
10707 (perl-calculate-indent): Respect it.
10708
10709 2012-04-17 Glenn Morris <rgm@gnu.org>
10710
10711 * dired-aux.el (dired-mark-read-string): Doc fix.
10712
10713 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
10714
10715 * dired-aux.el (dired-mark-read-string): Offer optional completion.
10716 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
10717
10718 2012-04-17 Glenn Morris <rgm@gnu.org>
10719
10720 * mouse.el (mouse-drag-track):
10721 * speedbar.el (speedbar-frame-mode):
10722 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
10723
10724 2012-04-16 Leo Liu <sdl.web@gmail.com>
10725
10726 * progmodes/python.el: Trivial cleanup.
10727
10728 2012-04-16 Glenn Morris <rgm@gnu.org>
10729
10730 * vc/vc.el (vc-string-prefix-p):
10731 * vc/pcvs-util.el (cvs-string-prefix-p):
10732 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
10733 * mpc.el (mpc-string-prefix-p):
10734 Make all of these into obsolete aliases for string-prefix-p.
10735 Update callers.
10736 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
10737
10738 * textmodes/two-column.el: Move custom options to the start.
10739 (frame-width): Remove compat definition.
10740 (2C-associate-buffer, 2C-dissociate):
10741 Use with-current-buffer rather than save-excursion.
10742 (2C-dissociate): Force a mode-line update.
10743 (2C-autoscroll): Use ignore-errors.
10744
10745 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
10746 Autoload trivia.
10747
10748 * emacs-lisp/cl-extra.el (*random-state*):
10749 Remove unnecessary declaration.
10750
10751 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
10752
10753 * play/cookie1.el (cookie-snarf):
10754 Give an explicit error if input file cannot be read.
10755
10756 * play/yow.el (yow-file): Use expand-file-name rather than concat.
10757
10758 * progmodes/perl-mode.el (c-macro-expand):
10759 Remove unnecessary autoload (it is in loaddefs.el).
10760
10761 * textmodes/picture.el (picture-desired-column)
10762 (picture-update-desired-column): Convert comments to doc-strings.
10763 (picture-substitute): Remove function.
10764 (picture-mode-map): Initialize in the defvar.
10765
10766 * woman.el: Remove eval-after-load for tar-mode.
10767 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
10768 (woman-tar-extract-file): Autoload it.
10769
10770 * frame.el (automatic-hscrolling): Make this alias obsolete.
10771
10772 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10773
10774 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
10775 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
10776 (ispell-dictionary-base-alist): Revert to original XEmacs
10777 friendly version for default. [:alpha:] will be added in
10778 `ispell-set-spellchecker-params' if needed.
10779
10780 2012-04-16 Chong Yidong <cyd@gnu.org>
10781
10782 * image.el (imagemagick--file-regexp): New variable.
10783 (imagemagick-register-types): Use it.
10784 (imagemagick-types-inhibit): Add :set function. Allow new value
10785 of t to inhibit all types.
10786
10787 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
10788 so we can preload it.
10789
10790 * loadup.el (fboundp): Preload regexp-opt, needed by
10791 imagemagick-register-types.
10792
10793 2012-04-15 Chong Yidong <cyd@gnu.org>
10794
10795 * frame.el (scrolling): Remove nearly unused customization group.
10796
10797 * scroll-all.el (scroll-all-mode): Move to windows group.
10798
10799 2012-04-15 Chong Yidong <cyd@gnu.org>
10800
10801 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
10802
10803 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10804
10805 Avoid the use of ((lambda ...) ...) in lexical-binding code.
10806 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
10807
10808 2012-04-15 Glenn Morris <rgm@gnu.org>
10809
10810 * simple.el (process-file-side-effects): Doc fix.
10811
10812 2012-04-15 Glenn Morris <rgm@gnu.org>
10813
10814 * international/mule-cmds.el (set-language-environment): Doc fix.
10815
10816 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
10817
10818 * server.el (server-auth-key, server-generate-key): Doc fixes.
10819 (server-get-auth-key): Doc fix. Use `string-match-p'.
10820 (server-start): Reflow docstring.
10821
10822 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
10823
10824 * server.el (server-generate-key): `called-interactively-p'
10825 requires a parameter.
10826
10827 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
10828
10829 * server.el (server-auth-key): New variable.
10830 (server-generate-key, server-get-auth-key): New function.
10831 (server-start): Use the new variable and functions to allow
10832 setting a permanent server key (bug#9423).
10833
10834 2012-04-14 Leo Liu <sdl.web@gmail.com>
10835
10836 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
10837
10838 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
10839
10840 Spelling fixes.
10841 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
10842 Emacs uses American spelling.
10843
10844 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
10845
10846 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
10847 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
10848 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
10849 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
10850
10851 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10852
10853 * progmodes/which-func.el (which-func-modes): Change default.
10854
10855 2012-04-14 Kim F. Storm <storm@cua.dk>
10856
10857 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
10858 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
10859
10860 2012-04-14 Chong Yidong <cyd@gnu.org>
10861
10862 * custom.el (custom-theme-set-variables): Doc fix.
10863
10864 2012-04-14 Glenn Morris <rgm@gnu.org>
10865
10866 * international/mule.el (set-auto-coding-for-load): Doc fix.
10867
10868 2012-04-14 Alan Mackenzie <acm@muc.de>
10869
10870 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
10871 imenu work again for Objective C Mode. Correct the *-index values,
10872 these having been disturbed by a previous change in 2011-08.
10873
10874 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
10875 Correct two search limits.
10876
10877 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10878
10879 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
10880
10881 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
10882
10883 * international/characters.el: Fix sorting.
10884
10885 2012-04-14 Eli Zaretskii <eliz@gnu.org>
10886
10887 * international/characters.el: Add more missing Latin case pairs.
10888
10889 2012-04-14 Glenn Morris <rgm@gnu.org>
10890
10891 * files.el (dir-locals-set-class-variables): Doc fix.
10892
10893 2012-04-14 Eli Zaretskii <eliz@gnu.org>
10894
10895 * international/characters.el: Add set-case-syntax-pair call for
10896 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
10897 counterpart. (Bug#11209)
10898
10899 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
10900
10901 2012-04-14 Glenn Morris <rgm@gnu.org>
10902
10903 * calendar/holidays.el (calendar-check-holidays): Doc fix.
10904
10905 2012-04-14 Eli Zaretskii <eliz@gnu.org>
10906
10907 * textmodes/ispell.el (ispell-dictionary-base-alist):
10908 Add data for Hebrew.
10909
10910 2012-04-14 Chong Yidong <cyd@gnu.org>
10911
10912 * net/rcirc.el (rcirc-cmd-quit):
10913 Revert 2012-03-18 change (Bug#11192).
10914
10915 2012-04-14 Glenn Morris <rgm@gnu.org>
10916
10917 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
10918
10919 2012-04-14 Eli Zaretskii <eliz@gnu.org>
10920
10921 * minibuffer.el (completion-in-region-mode-map):
10922 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
10923
10924 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
10925
10926 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
10927
10928 2012-04-13 Masatake YAMATO <yamato@redhat.com>
10929
10930 * minibuffer.el (minibuffer-local-filename-syntax): New variable
10931 to allow `C-M-f' and `C-M-b' to move to the nearest path
10932 separator (bug#9511).
10933
10934 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
10935
10936 * avoid.el: Require cl when compiling. And also move the
10937 `provide' to the end.
10938
10939 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10940
10941 * avoid.el (mouse-avoidance-banish-position): New variable.
10942 (mouse-avoidance-banish-destination): Use it (bug#10165).
10943
10944 2012-04-13 Leo Liu <sdl.web@gmail.com>
10945
10946 * progmodes/which-func.el (which-func-modes): Add objc-mode.
10947
10948 2012-04-13 Ken Brown <kbrown@cornell.edu>
10949
10950 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
10951 this is no longer needed now that cygstart understands file:// URLs.
10952 (browse-url-filename-alist): For the same reason, don't modify
10953 file:// URLs on Cygwin.
10954
10955 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
10956
10957 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
10958 the region on shift if the binding is already shifted (bug#11221).
10959
10960 2012-04-12 Glenn Morris <rgm@gnu.org>
10961
10962 * mail/mailpost.el: Move to obsolete/.
10963
10964 2012-04-12 Drew Adams <drew.adams@oracle.com>
10965
10966 * imenu.el (imenu--generic-function): Ignore invisible definitions
10967 (bug#10123).
10968
10969 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
10970
10971 * hexl.el (hexl-bits): New variable.
10972 (hexl-options): Mention the variable in the doc string.
10973 (hexl-rulerise, hexl-line-displen): New functions.
10974 (hexl-mode): Mention the new variable.
10975 (hexl-mode, hexl-current-address, hexl-current-address):
10976 Use the displen.
10977 (hexl-ascii-start-column): New function.
10978 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
10979 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
10980
10981 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10982
10983 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
10984 '("-i" ENCODING), in 2 separate command-line arguments, to specify
10985 the encoding, as expected by hunspell.
10986
10987 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
10988
10989 * battery.el (battery--linux-sysfs-regexp): New const.
10990 (battery-status-function): Use it. Remove yeeloong special case.
10991 (battery-yeeloong-sysfs): Remove.
10992 (battery-echo-area-format): Remove yeeloong special case.
10993
10994 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10995
10996 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
10997 Reported by Noah Friedman.
10998
10999 * subr.el (read-passwd): Use read-string.
11000
11001 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11002
11003 * vcursor.el (vcursor-move): Increase the priority of the overlay
11004 (bug#9663).
11005
11006 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
11007
11008 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
11009 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
11010
11011 2012-04-11 William Stevenson <yhvh2000@gmail.com>
11012
11013 * textmodes/artist.el (artist-mode): Convert artist-mode to use
11014 define-minor-mode (bug#10760).
11015
11016 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
11017
11018 * progmodes/grep.el (rgrep): Tweak the find command line so
11019 that directories matching `grep-find-ignored-files' won't be
11020 pruned (bug#10351).
11021
11022 2012-04-11 Chong Yidong <cyd@gnu.org>
11023
11024 * startup.el (command-line): Remove support for long-obsolete
11025 variable font-lock-face-attributes.
11026
11027 2012-04-11 Glenn Morris <rgm@gnu.org>
11028
11029 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
11030
11031 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
11032
11033 * window.el (window--state-get-1): Obey window-point-insertion-type.
11034
11035 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
11036
11037 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
11038 to previous function when point is on the first character of a
11039 function. Take care of that in `narrow-to-defun' (bug#6157).
11040
11041 2012-04-11 Glenn Morris <rgm@gnu.org>
11042
11043 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
11044 not just file-errors.
11045
11046 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
11047 (vc-bzr-sha1): Use internal sha1.
11048
11049 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
11050
11051 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
11052
11053 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
11054
11055 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
11056 that start in the middle of the line (bug#10496).
11057
11058 2012-04-10 Dan Nicolaescu <dann@gnu.org>
11059
11060 * battery.el (battery-linux-proc-acpi): Only one battery is
11061 discharged at a time, but that seems to confuse battery.el when
11062 computing `rate-type' for the battery not being discharged
11063 (bug#10332).
11064
11065 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11066
11067 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
11068
11069 * international/quail.el: Use dolist and simplify.
11070 (quail-define-package, quail-update-keyboard-layout)
11071 (quail-define-rules): Use dolist.
11072 (quail-insert-kbd-layout, quail-get-translation): CSE.
11073
11074 * tmm.el: Use dolist, remove left over hook.
11075 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
11076 Use dolist.
11077 (calendar-load-hook): Don't mess with it.
11078
11079 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
11080 Use derived-mode-p. Run the diff asynchronously.
11081
11082 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
11083
11084 * obsolete/mouse-sel.el: Add an Obsolete-since header.
11085
11086 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
11087
11088 * misc.el: Display absolute path of loaded DLLs (bug#10424).
11089 (list-dynamic-libraries--loaded): New function.
11090 (list-dynamic-libraries--refresh): Use it.
11091
11092 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
11093
11094 * progmodes/python.el (python-fill-paragraph):
11095 Make python-fill-region in a multiline string work when font-lock is
11096 disabled (bug#7018).
11097
11098 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
11099
11100 * language/european.el (cp775): Add oem/legacy (en)coding on
11101 DOS/MS Windows for the Baltic languages. There are still plenty
11102 of texts written in this encoding/codepage (bug#6519).
11103
11104 2012-04-10 Glenn Morris <rgm@gnu.org>
11105
11106 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
11107 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
11108
11109 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
11110
11111 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
11112 next-line "n" and previous-line "p" in order to make recentf more
11113 consistent with ibuffer, dired or org-mode (bug#9387).
11114
11115 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
11116
11117 * image.el (put-image): Return the overlay created instead of the
11118 optional input string (bug#7834). Note that this may break code
11119 that is (for some reason or other) depending on `put-image'
11120 returning the string.
11121
11122 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
11123
11124 * simple.el (zap-to-char): Allow zapping using input methods
11125 (bug#1580).
11126
11127 * textmodes/fill.el (fill-region): Leave point and mark where they
11128 were before filling (bug#5399).
11129
11130 2012-04-09 Glenn Morris <rgm@gnu.org>
11131
11132 * version.el (emacs-bzr-get-version):
11133 Handle lightweight checkouts of local branches.
11134
11135 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
11136
11137 * international/characters.el: Recover lost case pairs. (Bug#11209)
11138
11139 2012-04-09 Chong Yidong <cyd@gnu.org>
11140
11141 * custom.el (custom-variable-p): Return nil for non-symbol
11142 arguments instead of signaling an error.
11143 (user-variable-p): Obsolete alias for custom-variable-p.
11144
11145 * apropos.el (apropos-variable):
11146 * files-x.el (read-file-local-variable):
11147 * simple.el (set-variable):
11148 * woman.el (woman-mini-help):
11149 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
11150
11151 2012-04-09 Glenn Morris <rgm@gnu.org>
11152
11153 * startup.el (normal-top-level): Don't look for leim-list.el
11154 in places where it will not be found. (Bug#910)
11155
11156 * international/mule-cmds.el (set-default-coding-systems):
11157 * files.el (normal-mode):
11158 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
11159 This function was removed with ucs-tables.el in 2008.
11160
11161 2012-04-08 Eli Zaretskii <eliz@gnu.org>
11162
11163 * textmodes/ispell.el (ispell-check-version): For hunspell, set
11164 ispell-encoding8-command to "-i", without a trailing space.
11165 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
11166 separate command-line arguments, to specify the encoding, since
11167 that's how hunspell expects it.
11168
11169 2012-04-08 Glenn Morris <rgm@gnu.org>
11170
11171 * loadup.el: Load bindings before cus-start.
11172 This reduces somewhat the number of "rogue" settings in emacs -Q.
11173
11174 2012-04-07 Glenn Morris <rgm@gnu.org>
11175
11176 * version.el (emacs-bzr-get-version): New function.
11177 (emacs-bzr-version): New variable.
11178 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
11179 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
11180
11181 2012-04-07 Eli Zaretskii <eliz@gnu.org>
11182
11183 * international/uni-bidi.el, international/uni-category.el:
11184 * international/uni-combining.el, international/uni-decimal.el:
11185 * international/uni-decomposition.el, international/uni-digit.el:
11186 * international/uni-lowercase.el, international/uni-mirrored.el:
11187 * international/uni-name.el, international/uni-numeric.el:
11188 * international/uni-titlecase.el, international/uni-uppercase.el:
11189 Update for Unicode 6.1.
11190
11191 2012-04-07 Eli Zaretskii <eliz@gnu.org>
11192
11193 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
11194
11195 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
11196
11197 * window.el (shrink-window): Mention the `window-min-height'
11198 variable in the doc string.
11199
11200 2012-04-05 Bastien Guerry <bzg@altern.org>
11201
11202 * color.el (color-lighten-name): Fix typo.
11203
11204 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11205
11206 * server.el (server--on-display-p): New function.
11207 (server--on-display-p): Use it.
11208
11209 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
11210
11211 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
11212 (bug#11145).
11213
11214 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11215
11216 * comint.el (comint--common-quoted-suffix): Check string boundary
11217 before comparing (bug#11158).
11218 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
11219
11220 2012-04-04 Chong Yidong <cyd@gnu.org>
11221
11222 * minibuffer.el (completion-extra-properties): Doc fix.
11223
11224 * subr.el (delayed-warnings-hook): Doc fix.
11225
11226 2012-04-04 Daiki Ueno <ueno@unixuser.org>
11227
11228 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
11229 selection (Bug#11159).
11230 (epa-insert-keys): Inform that the default public key will be
11231 exported if no key is selected.
11232
11233 2012-04-04 Richard Stallman <rms@gnu.org>
11234
11235 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
11236
11237 2012-04-03 Chong Yidong <cyd@gnu.org>
11238
11239 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
11240 mail-insert-file, not its obsolete alias mail-attach-file.
11241
11242 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
11243
11244 * notifications.el (notifications-notify): Fix docstring.
11245
11246 2012-04-02 Glenn Morris <rgm@gnu.org>
11247
11248 * emacs-lisp/authors.el (authors-aliases): Another addition.
11249
11250 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
11251
11252 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
11253 `tramp-compat-call-process' instead of `tramp-local-call-process'.
11254 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
11255
11256 2012-04-01 Chong Yidong <cyd@gnu.org>
11257
11258 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
11259 Handle root directory properly.
11260 (copy-directory): Caller changed.
11261
11262 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
11263 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
11264
11265 2012-03-31 Glenn Morris <rgm@gnu.org>
11266
11267 * term/xterm.el (xterm-extra-capabilities): Doc fix.
11268
11269 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
11270
11271 * calendar/calendar.el (calendar-window-list)
11272 (calendar-hide-window): Restore. (Bug#11140)
11273 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
11274
11275 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
11276
11277 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11278
11279 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
11280 Check if file is a symlink (Bug#10489).
11281
11282 * files.el (copy-directory): Likewise.
11283
11284 2012-03-30 Chong Yidong <cyd@gnu.org>
11285
11286 * image.el (imagemagick-types-inhibit)
11287 (imagemagick-register-types): Doc fix.
11288
11289 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11290
11291 * textmodes/ispell.el (ispell-get-extended-character-mode):
11292 Disable extended-char-mode for hunspell. hunspell does not support it
11293 and treats ~word as ordinary words in pipe mode.
11294
11295 2012-03-30 Glenn Morris <rgm@gnu.org>
11296
11297 * tutorial.el (help-with-tutorial): Ensure local variables don't
11298 happen to make the buffer read-only. (Bug#11127)
11299
11300 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
11301
11302 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
11303 (perl-calculate-indent): Return `noindent' in strings.
11304
11305 2012-03-28 Sam Steingold <sds@gnu.org>
11306
11307 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
11308 instead of the broken adhockery which does not prevent calendar
11309 buffers from being displayed at random after exit.
11310 (calendar-window-list, calendar-hide-window): Remove the broken
11311 adhockery.
11312
11313 2012-03-28 Glenn Morris <rgm@gnu.org>
11314
11315 * replace.el (query-replace-map): Doc fix.
11316
11317 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
11318
11319 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
11320 contents. (Bug#11109)
11321
11322 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11323
11324 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
11325 (bug#11077).
11326 (avl-tree--check, avl-tree--check-node): New funs.
11327
11328 2012-03-27 Martin Rudalics <rudalics@gmx.at>
11329
11330 * window.el (switch-to-visible-buffer): New option.
11331 (switch-to-prev-buffer, switch-to-next-buffer):
11332 Observe switch-to-visible-buffer. Make sure that checking for a window
11333 showing a buffer already is done on the same frame.
11334
11335 2012-03-27 Glenn Morris <rgm@gnu.org>
11336
11337 * startup.el (mail-host-address): Doc fix.
11338
11339 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11340
11341 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
11342 than 197 variables.
11343
11344 2012-03-26 Ami Fischman <ami@fischman.org>
11345
11346 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
11347
11348 2012-03-26 Glenn Morris <rgm@gnu.org>
11349
11350 * files.el (save-buffers-kill-emacs): Doc fix.
11351
11352 * startup.el (normal-top-level, command-line, command-line-1):
11353 Give them doc strings.
11354
11355 2012-03-25 Eli Zaretskii <eliz@gnu.org>
11356
11357 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
11358 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
11359
11360 2012-03-25 Chong Yidong <cyd@gnu.org>
11361
11362 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
11363 theme if it was previously enabled before (Bug#11031).
11364
11365 * cus-theme.el (custom-theme-write-faces): Retrieve current face
11366 spec with custom-face-get-current-spec if its :shown-value is not
11367 determined yet (Bug#9337).
11368 (customize-create-theme, custom-theme-revert): Doc fixes.
11369
11370 * button.el (button-at): Minor addition to docstring.
11371
11372 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
11373
11374 * vc/vc.el (vc-merge): Fix a prompt.
11375
11376 2012-03-24 Chong Yidong <cyd@gnu.org>
11377
11378 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
11379 point (Bug#9623).
11380
11381 * button.el (button-at): Minor addition to docstring.
11382
11383 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
11384
11385 * newcomment.el (comment-choose-indent): No space after BOL.
11386
11387 2012-03-22 Sam Steingold <sds@gnu.org>
11388
11389 * window.el (switch-to-prev-buffer): Revert last patch because the
11390 bug turned out to be an advertised feature (Elisp manual 28.14).
11391
11392 2012-03-22 Glenn Morris <rgm@gnu.org>
11393
11394 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
11395 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
11396
11397 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
11398
11399 * net/network-stream.el (network-stream-open-starttls): Make error
11400 message under Windows be less misleading.
11401
11402 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
11403
11404 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
11405 understands (bug#9942).
11406
11407 2012-03-22 Chong Yidong <cyd@gnu.org>
11408
11409 * simple.el (end-of-visible-line): Handle return value of
11410 next-single-property-change properly (Bug#9371).
11411
11412 2012-03-22 Kenichi Handa <handa@m17n.org>
11413
11414 * international/quail.el (quail-insert-kbd-layout): Fix previous
11415 change. To avoid unwanted bidi reordering, use
11416 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
11417
11418 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
11419
11420 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
11421 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
11422 (ruby-beginning-of-indent): Be more careful with the difference
11423 between word-boundary and symbol boundary.
11424 (ruby-mode-syntax-table): Make : a symbol constituent.
11425
11426 2012-03-21 Andreas Politz <politza@fh-trier.de>
11427
11428 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
11429
11430 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
11431
11432 * progmodes/etags.el (tags-completion-at-point-function):
11433 Improve last fix.
11434
11435 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
11436
11437 2012-03-21 Sam Steingold <sds@gnu.org>
11438
11439 * progmodes/etags.el (tags-completion-at-point-function):
11440 Avoid the error when point is inside the pattern.
11441
11442 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
11443
11444 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
11445 line (Bug#10855).
11446
11447 2012-03-21 Drew Adams <drew.adams@oracle.com>
11448
11449 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
11450
11451 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
11452
11453 * ido.el (ido-set-current-directory, ido-read-internal)
11454 (ido-choose-completion-string, ido-completion-help): Handle nil
11455 value of ido-completion-buffer (Bug#11008).
11456
11457 2012-03-21 Sam Steingold <sds@gnu.org>
11458
11459 * window.el (switch-to-prev-buffer): Do not switch to a visible
11460 window previous buffer, just like with the frame previous buffers.
11461
11462 2012-03-21 Chong Yidong <cyd@gnu.org>
11463
11464 * faces.el (make-face, make-empty-face, copy-face):
11465 * face-remap.el (face-remap-add-relative, face-remap-set-base):
11466 Doc fixes.
11467
11468 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
11469
11470 * wid-edit.el (widget-complete-field): Remove (bug#11051).
11471 (widget-complete): Remove broken use of it.
11472
11473 2012-03-20 Chong Yidong <cyd@gnu.org>
11474
11475 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11476 Use string-width and truncate-string-width to handle arbitrary
11477 characters.
11478
11479 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
11480
11481 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
11482 to draw rectangles, not squares. (Regression introduced by revno
11483 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
11484
11485 2012-03-18 Chong Yidong <cyd@gnu.org>
11486
11487 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
11488 it is not yet defined (for temacs).
11489
11490 2012-03-18 Leo Liu <sdl.web@gmail.com>
11491
11492 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
11493 prefix.
11494
11495 2012-03-17 Eli Zaretskii <eliz@gnu.org>
11496
11497 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
11498 (ispell-choices-win-default-height, ispell-silently-savep)
11499 (ispell-dictionary-alist, ispell-encoding8-command)
11500 (ispell-check-version, ispell-aspell-find-dictionary)
11501 (ispell-valid-dictionary-list, ispell-words-keyword)
11502 (ispell-get-word, ispell-internal-change-dictionary)
11503 (ispell-region, ispell-skip-region-list)
11504 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
11505 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
11506 (ispell-message-text-end, ispell-message)
11507 (ispell-buffer-local-parsing): Doc fix.
11508
11509 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
11510
11511 * htmlfontify.el: Add support for code block fontification for ODT
11512 export (Bug #9914).
11513 (hfy-optimisations): Define new option
11514 `body-text-only'
11515 (hfy-fontify-buffer): Honor above setting.
11516 (hfy-begin-span, hfy-end-span): New routines factored out form
11517 `hfy-fontify-buffer'.
11518 (hfy-begin-span-handler, hfy-end-span-handler): New variables
11519 that permit insertion of custom tags.
11520 (hfy-fontify-buffer): Use above handlers.
11521 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
11522 (hfy-face-to-css): Re-defined to be a variable.
11523 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
11524 over multiple runs. This is made possible by having the caller let
11525 bind a special variable `hfy-user-sheet-assoc'.
11526 (htmlfontify-string): New defun.
11527 (hfy-compile-face-map): Make sure that the last char in the
11528 buffer is correctly fontified.
11529 (hfy-face-resolve-face): Whitespace only change.
11530
11531 2012-03-17 Eli Zaretskii <eliz@gnu.org>
11532
11533 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
11534 message more clear.
11535
11536 2012-03-16 Leo Liu <sdl.web@gmail.com>
11537
11538 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
11539
11540 2012-03-16 Alan Mackenzie <acm@muc.de>
11541
11542 Further optimise the handling of large macros.
11543
11544 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
11545 limit to a call of `c-literal-limits'.
11546 (c-determine-+ve-limit): New function.
11547 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
11548 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
11549 In CASE 5B, restrict a search limit to 500.
11550 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
11551
11552 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
11553 Restrict macro bounds to +-500 from after-change's BEG END.
11554
11555 2012-03-16 Leo Liu <sdl.web@gmail.com>
11556
11557 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
11558
11559 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
11560
11561 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
11562 `special-mode' setting of `buffer-read-only'. (Bug#11010)
11563
11564 2012-03-16 Glenn Morris <rgm@gnu.org>
11565
11566 * view.el (view-buffer, view-buffer-other-window)
11567 (view-buffer-other-frame): Doc fixes re special mode-class.
11568
11569 * subr.el (eval-after-load): If named feature is provided not from
11570 a file, run after-load forms. (Bug#10946)
11571
11572 * calendar/calendar.el (calendar-insert-at-column):
11573 Handle non-unit-width characters a bit better. (Bug#10978)
11574
11575 2012-03-15 Chong Yidong <cyd@gnu.org>
11576
11577 * emacs-lisp/ring.el (ring-extend): New function.
11578 (ring-insert+extend): Extend the ring correctly (Bug#11019).
11579
11580 * comint.el (comint-read-input-ring)
11581 (comint-add-to-input-history): Grow comint-input-ring lazily.
11582
11583 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11584
11585 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
11586 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
11587
11588 * imenu.el: Fix multiple inheritance breakage (bug#9199).
11589 (imenu-add-to-menubar): Don't add a redundant index.
11590 (imenu-update-menubar): Handle a dynamically composed keymap.
11591
11592 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
11593
11594 * mail/sendmail.el (mail-encode-header):
11595 Bind rfc2047-encode-encoded-words to nil.
11596
11597 2012-03-13 Glenn Morris <rgm@gnu.org>
11598
11599 * calendar/calendar.el (calendar-string-spread):
11600 Handle non-unit-width characters a bit better. (Bug#10978)
11601
11602 2012-03-13 Leo Liu <sdl.web@gmail.com>
11603
11604 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
11605 directory and file as argument (Bug#10822).
11606
11607 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
11608
11609 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
11610 For dynamically generated code, follow $PC.
11611 (gdb-disassembly-handler-custom): Handle no function name case.
11612
11613 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
11614
11615 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
11616 * emulation/ws-mode.el (ws-query-replace):
11617 * sort.el (sort-regexp-fields):
11618 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
11619
11620 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11621
11622 * dabbrev.el: Fix cycle completion order (bug#10963).
11623 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
11624 (dabbrev-completion): Don't use an obarray; provide
11625 a cycle-sort-function.
11626
11627 2012-03-12 Leo Liu <sdl.web@gmail.com>
11628
11629 * simple.el (kill-new): Use equal-including-properties for comparison.
11630 (kill-do-not-save-duplicates): Doc fix.
11631
11632 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11633
11634 * dabbrev.el: Fix cycle completion (bug#10963).
11635 Use lexical binding and wrap to 80 columns.
11636 (dabbrev-completion): Delay computing the list of completions.
11637
11638 2012-03-12 Kenichi Handa <handa@m17n.org>
11639
11640 * international/quail.el (quail-insert-kbd-layout): Surround each
11641 row by LRO and PDF instead of inserting many LRMs. Pad the left
11642 and right of each non-spacing marks. Insert invisible space
11643 between lower and upper characters to prevent composition.
11644
11645 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11646
11647 * minibuffer.el (minibuffer-complete): Don't get confused when the
11648 function is run twice via different commands (bug#10958).
11649 (complete-with-action): Fix docstring.
11650
11651 2012-03-12 Chong Yidong <cyd@gnu.org>
11652
11653 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
11654 (nxml-completion-at-point-function): New function.
11655 (nxml-mode): Use it.
11656 (nxml-bind-meta-tab-to-complete-flag): Default to t.
11657
11658 * emacs-lisp/package.el (package-unpack, package-unpack-single):
11659 Load generated autoloads file before byte compiling (Bug#10970).
11660 (package--make-autoloads-and-compile): New helper fun.
11661
11662 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
11663
11664 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
11665
11666 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
11667
11668 * autorevert.el (auto-revert-handler): Ensure, that
11669 file-readable-p is applied only for local files or in
11670 auto-revert-tail-mode.
11671
11672 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
11673
11674 * server.el (server-eval-at): Handle non-tcp connections.
11675 Decode result string.
11676
11677 * server.el (server-msg-size): New constant.
11678 (server-reply-print): New function.
11679 (server-eval-and-print): Use it.
11680 (server-eval-at): Use server-quote-arg and server-unquote-arg.
11681 Handle -print-nonl.
11682
11683 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
11684
11685 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
11686 (Bug#10987).
11687
11688 2012-03-11 Chong Yidong <cyd@gnu.org>
11689
11690 * simple.el (goto-line): Doc fix (Bug#9938).
11691
11692 * subr.el (save-window-excursion): Doc fix (Bug#9979).
11693
11694 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
11695 when finished (Bug#10963).
11696
11697 2012-03-11 Martin Rudalics <rudalics@gmx.at>
11698
11699 * window.el (split-window-below): Fix bug in case where
11700 split-window-keep-point is nil (Bug#10971).
11701
11702 2012-03-11 Juri Linkov <juri@jurta.org>
11703
11704 * replace.el (replace-highlight): Set isearch-word to nil
11705 unconditionally. (Bug#10887)
11706
11707 2012-03-10 Eli Zaretskii <eliz@gnu.org>
11708
11709 * net/mairix.el (mairix-replace-invalid-chars): Rename from
11710 mairix-replace-illegal-chars; all callers changed. Don't remove
11711 ^, ~, and = characters: they are meaningful in mairix search specs.
11712 (mairix-widget-create-query): Add usage information about mairix
11713 search forms: negating words, searching for substrings, etc.
11714
11715 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
11716
11717 * international/fontset.el (font-encoding-alist): Add an entry for
11718 ksx1001 (Bug#5667).
11719
11720 2012-03-10 Richard Stallman <rms@gnu.org>
11721
11722 * mail/sendmail.el (mail-encode-header):
11723 Set rfc2047-encode-encoded-words.
11724
11725 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
11726
11727 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
11728 view buffer means not swapped.
11729 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
11730 (rmail-write-region-annotate): Error if real text has disappeared.
11731
11732 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
11733
11734 2012-03-10 Chong Yidong <cyd@gnu.org>
11735
11736 * emulation/cua-rect.el (cua--init-rectangles):
11737 * emulation/cua-base.el (cua--init-keymaps):
11738 Add delete-forward-char to remappings (Bug#9666).
11739
11740 2012-03-10 Martin Rudalics <rudalics@gmx.at>
11741
11742 * speedbar.el (speedbar-unhighlight-one-tag-line):
11743 Avoid unhighlighting due to frame switching (Bug#10275).
11744
11745 2012-03-10 Chong Yidong <cyd@gnu.org>
11746
11747 * minibuffer.el (completion-in-region, completion-help-at-point):
11748 Give the completion field overlay a high priority (Bug#6830).
11749
11750 * dired.el (dired-goto-file): Recognize absolute file name
11751 listings (Bug#7126).
11752 (dired-goto-file-1): New helper function.
11753 (dired-toggle-read-only): Inhibit warnings.
11754
11755 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
11756
11757 * net/dbus.el (dbus-property-handler): Return empty array if
11758 there are no properties.
11759
11760 2012-03-09 Leo Liu <sdl.web@gmail.com>
11761
11762 * savehist.el (savehist-printable): Stricter check for string
11763 value (Bug#10937).
11764
11765 2012-03-09 Eli Zaretskii <eliz@gnu.org>
11766
11767 * mail/smtpmail.el (smtpmail-send-it):
11768 Bind coding-system-for-write to *-unix, so that FCC files are kept in
11769 valid mbox format.
11770
11771 2012-03-09 Glenn Morris <rgm@gnu.org>
11772
11773 * files.el (dir-locals-find-file):
11774 Don't check result is regular, readable.
11775 (dir-locals-read-from-file): Demote errors.
11776
11777 2012-03-08 Eli Zaretskii <eliz@gnu.org>
11778
11779 * international/quail.el (quail-insert-kbd-layout):
11780 Insert invisible LRM characters before each character in a keyboard
11781 layout cell, to prevent their reordering by bidi display engine.
11782 For details, see the discussion in
11783 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
11784
11785 2012-03-08 Alan Mackenzie <acm@muc.de>
11786
11787 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
11788 the starting position; make it extend the marked region when
11789 invoked repeatedly - all under appropriate circumstances.
11790 Fixes bugs #5525, #10906.
11791
11792 2012-03-08 Glenn Morris <rgm@gnu.org>
11793
11794 * files.el (locate-dominating-file, dir-locals-find-file):
11795 Undo 2012-03-06 change.
11796
11797 2012-03-07 Eli Zaretskii <eliz@gnu.org>
11798
11799 * international/quail.el (quail-help):
11800 Force bidi-paragraph-direction be left-to-right. See discussion in
11801 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
11802 for the reason.
11803
11804 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
11805
11806 Avoid superfluous registering of signals. (Bug#10807)
11807
11808 * notifications.el (notifications-on-action-object)
11809 (notifications-on-close-object): New defvars.
11810 (notifications-on-action-signal, notifications-on-closed-signal):
11811 Unregister the signal if not needed any longer.
11812 (notifications-notify): Register `notifications-action-signal' or
11813 `notifications-closed-signal', if :on-action or :on-close has been
11814 passed as argument.
11815
11816 2012-03-07 Chong Yidong <cyd@gnu.org>
11817
11818 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
11819 non-X platforms.
11820
11821 2012-03-06 Glenn Morris <rgm@gnu.org>
11822
11823 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
11824 (x-disown-selection-internal, x-get-selection-internal):
11825 Doc fix (add arglist signatures). (Bug#10783)
11826
11827 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
11828
11829 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
11830 Handle breakpoints with no "type".
11831
11832 2012-03-06 Glenn Morris <rgm@gnu.org>
11833
11834 * files.el (locate-dominating-file): Add optional predicate argument.
11835 (dir-locals-find-file): Make use of above change.
11836
11837 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
11838
11839 * info.el (Info-insert-dir): Also try "dir.gz".
11840
11841 2012-03-06 Glenn Morris <rgm@gnu.org>
11842
11843 * files.el (dir-locals-find-file):
11844 Ignore non-readable or non-regular files. (Bug#10928)
11845
11846 * files.el (locate-dominating-file): Doc fix.
11847
11848 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
11849
11850 * calendar/calendar.el (calendar-set-mode-line):
11851 `getenv' returns a string. (Bug#10951)
11852
11853 2012-03-05 Leo Liu <sdl.web@gmail.com>
11854
11855 * simple.el (backward-delete-char-untabify): Constrain point to
11856 field (Bug#10939).
11857
11858 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
11859
11860 2012-03-05 Chong Yidong <cyd@gnu.org>
11861
11862 * simple.el (count-words): If called from Lisp, return the word
11863 count, for symmetry with `count-lines'. Arglist changed.
11864 (count-words--message): Args changed. Consolidate counting code
11865 from count-words and count-words-region.
11866 (count-words-region): Caller changed.
11867 (count-lines-region): Make it an obsolete alias.
11868
11869 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
11870
11871 * saveplace.el (save-place-to-alist)
11872 (save-place-ignore-files-regexp): Allow value nil to disable this
11873 feature.
11874
11875 2012-03-04 Chong Yidong <cyd@gnu.org>
11876
11877 * faces.el (face-spec-reset-face): For the default face, reset the
11878 attributes to default values (Bug#10748).
11879
11880 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
11881
11882 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
11883 previous patch: Check `message-send-mail-function', and not the
11884 default function (bug#10897).
11885
11886 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
11887
11888 * notifications.el (notifications-on-action-signal)
11889 (notifications-on-closed-signal): Check for unique service name of
11890 incoming event. Fix error in removing entry.
11891 (top): Register for signals with wildcard service name.
11892 (notifications-notify): Use daemon unique service name for map entries.
11893
11894 2012-03-04 Chong Yidong <cyd@gnu.org>
11895
11896 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
11897
11898 2012-03-04 Glenn Morris <rgm@gnu.org>
11899
11900 * abbrev.el (copy-abbrev-table, abbrev-table-p)
11901 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
11902 (expand-abbrev, define-abbrev-table): Doc fixes.
11903
11904 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11905
11906 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
11907 `message-default-send-mail-function' and not `send-mail-function'
11908 when doing the prompting for `sendmail-query-once' before sending
11909 in Message buffers (bug#10897).
11910
11911 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
11912 This is inconsistent with all the other stream functions, which leave
11913 the setting up to the higher levels (if so wanted) (bug#10931).
11914
11915 2012-03-02 Alan Mackenzie <acm@muc.de>
11916
11917 Depessimize the handling of very large macros.
11918
11919 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
11920 (c-macro-cache-syntactic): New variables to implement a one
11921 element macro cache.
11922 (c-invalidate-macro-cache): New function.
11923 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
11924 Adapt to use the new cache.
11925 (c-state-safe-place): Use better the cache of safe positions.
11926 (c-state-semi-nonlit-pos-cache)
11927 (c-state-semi-nonlit-pos-cache-limit):
11928 New variables for...
11929 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
11930 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
11931 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
11932 Use c-state-semi-safe-place.
11933
11934 * progmodes/cc-langs.el (c-get-state-before-change-functions):
11935 Add c-invalidate-macro-cache to the C, C++, Obj entries.
11936
11937 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
11938
11939 * jka-compr.el (jka-compr-call-process):
11940 Apply `file-accessible-directory-p' only when the default directory is
11941 not remote.
11942
11943 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
11944
11945 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
11946 access of FILE2, if FILE1 does not exist.
11947
11948 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
11949 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
11950
11951 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
11952 Add "PAGER=" to `process-environment'.
11953
11954 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
11955
11956 * progmodes/sql.el: Bug fix
11957 (sql-get-login-ext): Save login values in globals.
11958 (sql-get-login): Use new version of `sql-get-login-ext'.
11959 (sql-interactive-mode): Set global `sql-connection' to nil.
11960 (sql-connect): Set global values for connection.
11961 (sql-product-interactive): Save global values as buffer local.
11962
11963 2012-02-29 Leo Liu <sdl.web@gmail.com>
11964
11965 * abbrev.el (define-abbrevs): Reset sys to nil.
11966
11967 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11968
11969 * files.el (file-equal-p): Rename from `files-equal-p'.
11970 Return nil when one or both files don't exist.
11971 (file-subdir-of-p): Now only top directory must exists,
11972 return nil if it doesn't.
11973 (copy-directory): No need to test with `file-subdir-of-p' after
11974 creating dir.
11975 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
11976 to `file-equal-p'.
11977
11978 2012-02-28 Glenn Morris <rgm@gnu.org>
11979
11980 * shell.el (shell-mode):
11981 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
11982 * play/landmark.el (landmark-font-lock-face-O):
11983 * play/handwrite.el (handwrite):
11984 * play/gomoku.el (gomoku-O):
11985 * net/browse-url.el (browse-url-browser-display):
11986 * international/mule.el (define-charset):
11987 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
11988 * filesets.el (filesets-find-file-delay):
11989 * eshell/em-xtra.el (eshell-xtra):
11990 * eshell/em-unix.el (eshell-grep):
11991 * emulation/viper.el (viper-mode):
11992 * emacs-lisp/regexp-opt.el (regexp-opt-group):
11993 * emacs-lisp/easymenu.el (easy-menu-define):
11994 * calendar/timeclock.el (timeclock-use-display-time):
11995 * bs.el (bs-mode):
11996 * bookmark.el (bookmark-save-flag):
11997 Doc fix (standardize possessive apostrophe usage).
11998
11999 2012-02-27 Chong Yidong <cyd@gnu.org>
12000
12001 * emulation/viper-cmd.el (viper-intercept-ESC-key):
12002 Fix key-binding lookup for ESC key (Bug#9146).
12003
12004 * font-lock.el (font-lock-specified-p): Rename from
12005 font-lock-spec-present. Callers changed.
12006
12007 2012-02-27 Daniel Hackney <dan@haxney.org>
12008
12009 * emacs-lisp/package.el (package-compute-transaction):
12010 Handle holding a package version to t in package-load-list.
12011
12012 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
12013
12014 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
12015 (tramp-get-inode, tramp-get-device): Use cached values.
12016
12017 2012-02-26 Alan Mackenzie <acm@muc.de>
12018
12019 Check there is a font-lock specification before doing initial
12020 fontification.
12021
12022 * font-core.el (font-lock-mode): Move the conditional from
12023 :after-hook to font-lock-initial-fontify.
12024 (font-lock-default-function): Move the check for a specification
12025 to font-lock-spec-present.
12026
12027 * font-lock.el (font-lock-initial-fontify): Call ...
12028 (font-lock-spec-present): New function.
12029
12030 2012-02-26 Jim Blandy <jimb@red-bean.com>
12031
12032 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
12033 (gdb-send): Apply it to the operand of the '-interpreter-exec
12034 console' command, so that we can pass arguments with (say) quotes
12035 in them. Store exact string sent in gdb-debug-log (Bug#10765).
12036
12037 2012-02-26 Chong Yidong <cyd@gnu.org>
12038
12039 * help-fns.el (describe-function-1): Clarify description of
12040 remapping (Bug#10844).
12041
12042 * files.el (files-equal-p): Doc fix.
12043 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
12044 and quit the loop once a mismatch is found.
12045
12046 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
12047
12048 * bs.el (bs--show-with-configuration): Don't throw an error
12049 if the window cannot be split; otherwise, subsequent calls to
12050 bs-show fail, restoring a stale window config. (Bug#10882)
12051
12052 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
12053
12054 * term/ns-win.el (global-map): Bind ns-drag-file to
12055 ns-find-file (Bug#5855, Bug#10050).
12056
12057 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
12058
12059 * calendar/parse-time.el (parse-time-string): Allow extractor to
12060 return nil.
12061
12062 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
12063
12064 * net/tramp.el (tramp-file-name-for-operation):
12065 Add `files-equal-p' and `file-subdir-of-p'.
12066
12067 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
12068 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
12069 Add COPY-CONTENTS argument.
12070
12071 2012-02-25 Chong Yidong <cyd@gnu.org>
12072
12073 Add custom groups for VC backends, for consistency with vc-bzr.
12074
12075 * vc/vc-arch.el (vc-arch):
12076 * vc/vc-cvs.el (vc-cvs):
12077 * vc/vc-git.el (vc-git):
12078 * vc/vc-hg.el (vc-hg):
12079 * vc/vc-mtn.el (vc-mtn):
12080 * vc/vc-rcs.el (vc-rcs):
12081 * vc/vc-sccs.el (vc-sccs):
12082 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
12083 All relevant defcustoms reassigned.
12084
12085 2012-02-25 Chong Yidong <cyd@gnu.org>
12086
12087 * newcomment.el (comment-styles): Add autoload (Bug#10868).
12088
12089 * term/x-win.el (x-initialize-window-system): Reduce default for
12090 x-selection-timeout to 5 seconds (Bug#8869).
12091
12092 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12093
12094 * files.el (files-equal-p, file-subdir-of-p): New functions.
12095 (copy-directory): Error when trying to copy a directory on itself.
12096 Add missing copy-contents arg to tramp handler.
12097 * dired-aux.el (dired-copy-file-recursive): Same.
12098 (dired-create-files): Modify destination when source is equal to
12099 dest when copying files.
12100 Return also when dest is a subdir of source. (Bug#10489)
12101
12102 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
12103
12104 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
12105 (Bug#10874)
12106
12107 2012-02-23 Alan Mackenzie <acm@muc.de>
12108
12109 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
12110 parameter "after-hook:" to allow the expansion to run code after
12111 the execution of the mode hooks.
12112
12113 * font-lock.el (font-lock-initial-fontify): New function extracted
12114 from font-lock-mode-internal.
12115
12116 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
12117 :after-hook.
12118
12119 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
12120
12121 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
12122 (completion--cache-all-sorted-completions): New function.
12123 (completion-all-sorted-completions): Use it.
12124 (completion--do-completion, minibuffer-force-complete):
12125 Use it to re-instate the flush hook.
12126
12127 * icomplete.el (icomplete-completions): Replace last fix with a better
12128 one (bug#10850).
12129
12130 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
12131
12132 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
12133 when it might call us back infinitely (bug#10797).
12134
12135 2012-02-23 Glenn Morris <rgm@gnu.org>
12136
12137 * minibuffer.el (completion-category-overrides): Doc fix.
12138
12139 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
12140
12141 * minibuffer.el (completion-table-with-context): Fix inf-loop.
12142 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
12143
12144 2012-02-23 Glenn Morris <rgm@gnu.org>
12145
12146 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
12147 (authors-obsolete-files-regexps, authors-ignored-files)
12148 (authors-ambiguous-files, authors-renamed-files-alist):
12149 Add more entries.
12150
12151 2012-02-23 Juri Linkov <juri@jurta.org>
12152
12153 * isearch.el (isearch-occur): Sync interactive spec with occur's
12154 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
12155
12156 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
12157
12158 2012-02-22 Juri Linkov <juri@jurta.org>
12159
12160 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
12161 (ucs-insert): Doc fix. Check for hex digits in the string.
12162 Don't display `nil' in the error message. (Bug#10857)
12163
12164 2012-02-22 Alan Mackenzie <acm@muc.de>
12165
12166 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
12167
12168 2012-02-22 Glenn Morris <rgm@gnu.org>
12169
12170 * ffap.el (ffap-c-path):
12171 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
12172
12173 2012-02-22 Chong Yidong <cyd@gnu.org>
12174
12175 * custom.el (load-theme): Doc fix.
12176
12177 2012-02-22 Glenn Morris <rgm@gnu.org>
12178
12179 * dired-x.el (dired-guess-shell-alist-default):
12180 Remove escape sequences from nroff output. (Bug#172)
12181
12182 2012-02-21 Glenn Morris <rgm@gnu.org>
12183
12184 * vc/emerge.el (emerge-defvar-local):
12185 Set `permanent-local' property rather than unused `preserved'.
12186
12187 * textmodes/picture.el (picture-delete-char): New alias.
12188 (picture-mode-map): Use it. (Bug#10860)
12189 (picture-mode): Doc fix.
12190
12191 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
12192
12193 * newcomment.el (uncomment-region-default): Remove unused binding.
12194
12195 2012-02-21 Glenn Morris <rgm@gnu.org>
12196
12197 * textmodes/picture.el (picture-motion, picture-motion-reverse)
12198 (picture-self-insert, picture-tab-chars): Doc fix.
12199 (picture-mode-map): Fix C-a, C-e.
12200
12201 2012-02-20 Glenn Morris <rgm@gnu.org>
12202
12203 * emacs-lisp/authors.el (authors-aliases): Add another entry.
12204
12205 2012-02-20 Leo Liu <sdl.web@gmail.com>
12206
12207 * icomplete.el (icomplete-completions): Check FROM arg before
12208 passing to substring (Bug#10850).
12209
12210 2012-02-19 Chong Yidong <cyd@gnu.org>
12211
12212 * comint.el: Require ansi-color.
12213 (comint-output-filter-functions): Add ansi-color-process-output.
12214
12215 * ansi-color.el: Don't set comint-output-filter-functions; it is
12216 now in the initial value defined in comint.el.
12217 (ansi-color-apply-face-function): New variable.
12218 (ansi-color-apply-on-region): Use it.
12219 (ansi-color-apply-overlay-face): New function.
12220
12221 * shell.el (shell): No need to require ansi-color.
12222 (shell-mode): Use ansi-color-apply-face-function to highlight
12223 color escapes using font-lock-face property (Bug#10835).
12224
12225 2012-02-19 Chong Yidong <cyd@gnu.org>
12226
12227 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
12228 mode-line formats (Bug#10839).
12229
12230 2012-02-18 Glenn Morris <rgm@gnu.org>
12231
12232 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
12233
12234 * mail/undigest.el (unforward-rmail-message): Doc fix.
12235
12236 * saveplace.el (save-place-ignore-files-regexp): Add :version.
12237
12238 2012-02-18 Eli Zaretskii <eliz@gnu.org>
12239
12240 * international/characters.el (script-list): Sync with the latest
12241 Unicode Character Database.
12242
12243 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
12244
12245 * international/titdic-cnv.el: Remove duplicate coding tag.
12246 * language/cham.el: Likewise.
12247 * language/tai-viet.el: Likewise.
12248
12249 2012-02-18 Glenn Morris <rgm@gnu.org>
12250
12251 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
12252 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
12253 (calendar-bahai-all-holidays-flag, calendar-other-dates):
12254 * calendar/diary-lib.el (diary-abbreviated-year-flag):
12255 * calendar/holidays.el (holiday-bahai-holidays)
12256 (calendar-holidays, list-holidays):
12257 Use utf-8 Bahá'í in doc-strings, menus, etc.
12258
12259 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
12260
12261 * saveplace.el (save-place-ignore-files-regexp): New variable
12262 allowing for excluding files from saving their location of point.
12263 The default value matches the temporary commit message editing
12264 files from Git, SVN, Bazaar, and Mercurial.
12265 (save-place-to-alist): Use it.
12266
12267 2012-02-17 Lawrence Mitchell <wence@gmx.li>
12268 Stefan Monnier <monnier@iro.umontreal.ca>
12269
12270 * newcomment.el (uncomment-region-default): Don't leave extra space
12271 when an arg is provided (bug#8150).
12272
12273 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
12274
12275 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
12276
12277 2012-02-17 Glenn Morris <rgm@gnu.org>
12278
12279 * net/socks.el: Require network-stream. (Bug#10599)
12280
12281 2012-02-17 Kenichi Handa <handa@m17n.org>
12282
12283 * international/charprop.el:
12284 * international/uni-name.el:
12285 * international/uni-old-name.el:
12286 * international/uni-comment.el: Regenerate.
12287
12288 2012-02-16 Glenn Morris <rgm@gnu.org>
12289
12290 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
12291 Interactively in calendar buffer, give an error if not on a date.
12292
12293 2012-02-15 Glenn Morris <rgm@gnu.org>
12294
12295 * shell.el (shell-delimiter-argument-list):
12296 Revert 2011-02-17 change. (Bug#8027)
12297
12298 2012-02-15 Chong Yidong <cyd@gnu.org>
12299
12300 * minibuffer.el (completion-at-point-functions): Doc fix.
12301
12302 * custom.el (defcustom): Doc fix; note use of defvar.
12303
12304 2012-02-15 Glenn Morris <rgm@gnu.org>
12305
12306 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
12307 Doc fixes.
12308
12309 2012-02-14 Glenn Morris <rgm@gnu.org>
12310
12311 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
12312
12313 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
12314
12315 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
12316 way the ports list is computed.
12317 (smtpmail-query-smtp-server): Prompt the user for a port number if
12318 we can't connect to any of the standard ports (bug#10810).
12319
12320 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
12321
12322 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
12323
12324 2012-02-13 Glenn Morris <rgm@gnu.org>
12325
12326 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
12327
12328 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
12329
12330 * net/gnutls.el (gnutls-trustfiles): New variable.
12331 (gnutls-negotiate): Use it.
12332
12333 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
12334
12335 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
12336 does its stuff if Gnus is running.
12337
12338 2012-02-13 Alan Mackenzie <acm@muc.de>
12339
12340 Fix a loop in c-set-fl-decl-start.
12341
12342 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
12343 c-backward-syntactic-ws actually moves backwards.
12344
12345 2012-02-13 Leo Liu <sdl.web@gmail.com>
12346
12347 * net/rcirc.el (rcirc-markup-attributes): Move point to the
12348 beginning so that all \C-o chars are removed.
12349
12350 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
12351
12352 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
12353
12354 2012-02-12 Alan Mackenzie <acm@muc.de>
12355
12356 Fix infinite loop with long macros.
12357 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
12358
12359 2012-02-12 Chong Yidong <cyd@gnu.org>
12360
12361 * window.el (display-buffer): Doc fix (Bug#10785).
12362
12363 2012-02-12 Glenn Morris <rgm@gnu.org>
12364
12365 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
12366 (x-disown-selection-internal, x-get-selection-internal):
12367 Sync docs with the xselect.c versions.
12368
12369 * allout-widgets.el: Add missing license notice.
12370
12371 2012-02-11 Glenn Morris <rgm@gnu.org>
12372
12373 * select.el (x-get-selection-internal, x-own-selection-internal)
12374 (x-disown-selection-internal):
12375 * x-dnd.el (x-get-selection-internal): Update declarations.
12376
12377 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
12378
12379 * window.el (window-sides-slots):
12380 * tool-bar.el (tool-bar-position):
12381 * term/xterm.el (xterm-extra-capabilities):
12382 * ses.el (ses-self-reference-early-detection):
12383 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
12384 (verilog-auto-wire-type)
12385 (verilog-auto-delete-trailing-whitespace)
12386 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
12387 (verilog-auto-tieoff-declaration):
12388 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
12389 (sql-oracle-statement-starters, sql-oracle-scan-on):
12390 * progmodes/prolog.el (prolog-align-comments-flag)
12391 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
12392 (prolog-left-indent-regexp, prolog-paren-indent-p)
12393 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
12394 (prolog-types, prolog-mode-specificators)
12395 (prolog-determinism-specificators, prolog-directives)
12396 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
12397 (prolog-electric-dot-flag)
12398 (prolog-electric-dot-full-predicate-template)
12399 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
12400 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
12401 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
12402 (prolog-program-switches, prolog-prompt-regexp)
12403 (prolog-debug-on-string, prolog-debug-off-string)
12404 (prolog-trace-on-string, prolog-trace-off-string)
12405 (prolog-zip-on-string, prolog-zip-off-string)
12406 (prolog-use-standard-consult-compile-method-flag)
12407 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
12408 (prolog-imenu-max-lines, prolog-info-predicate-index)
12409 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
12410 (prolog-char-quote-workaround):
12411 * progmodes/cc-vars.el (c-defun-tactic):
12412 * net/tramp.el (tramp-encoding-command-interactive)
12413 (tramp-local-end-of-line):
12414 * net/soap-client.el (soap-client):
12415 * net/netrc.el (netrc-file):
12416 * net/gnutls.el (gnutls):
12417 * minibuffer.el (completion-category-overrides)
12418 (completion-cycle-threshold)
12419 (completion-pcm-complete-word-inserts-delimiters):
12420 * man.el (Man-name-local-regexp):
12421 * mail/feedmail.el (feedmail-display-full-frame):
12422 * international/characters.el (glyphless-char-display-control):
12423 * eshell/em-ls.el (eshell-ls-date-format):
12424 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
12425 (lisp-lambda-list-keyword-parameter-indentation)
12426 (lisp-lambda-list-keyword-parameter-alignment):
12427 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
12428 * dired-x.el (dired-omit-verbose):
12429 * cus-theme.el (custom-theme-allow-multiple-selections):
12430 * calc/calc.el (calc-highlight-selections-with-faces)
12431 (calc-lu-field-reference, calc-lu-power-reference)
12432 (calc-note-threshold):
12433 * battery.el (battery-mode-line-limit):
12434 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
12435 (archive-7z-update):
12436 * allout.el (allout-prefixed-keybindings)
12437 (allout-unprefixed-keybindings)
12438 (allout-inhibit-auto-fill-on-headline)
12439 (allout-flattened-numbering-abbreviation):
12440 * allout-widgets.el (allout-widgets-auto-activation)
12441 (allout-widgets-icons-dark-subdir)
12442 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
12443 (allout-widgets-theme-dark-background)
12444 (allout-widgets-theme-light-background)
12445 (allout-widgets-item-image-properties-emacs)
12446 (allout-widgets-item-image-properties-xemacs)
12447 (allout-widgets-run-unit-tests-on-load)
12448 (allout-widgets-time-decoration-activity)
12449 (allout-widgets-hook-error-post-time)
12450 (allout-widgets-track-decoration):
12451 Add missing :version tags to new defcustoms and defgroups.
12452
12453 * progmodes/sql.el (sql-ansi-statement-starters)
12454 (sql-oracle-statement-starters): Add custom type.
12455
12456 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
12457 (prolog-system-version): Give it a type.
12458
12459 2012-02-11 Eli Zaretskii <eliz@gnu.org>
12460
12461 * term/pc-win.el (x-select-text, x-selection-owner-p)
12462 (x-own-selection-internal, x-disown-selection-internal)
12463 (x-get-selection-internal): Sync doc strings and argument lists
12464 with xselect.c, common-win.el and x-win.el. (Bug#10783)
12465
12466 2012-02-11 Leo Liu <sdl.web@gmail.com>
12467
12468 * progmodes/python.el (python-end-of-statement): Fix infinite
12469 loop. (Bug#10788)
12470
12471 2012-02-10 Glenn Morris <rgm@gnu.org>
12472
12473 * international/mule-cmds.el (unify-8859-on-encoding-mode)
12474 (unify-8859-on-decoding-mode): Properly mark as obsolete.
12475
12476 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
12477
12478 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
12479 about SMTP before checking the From header.
12480
12481 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
12482 into own function for reuse by emacsbug.el.
12483
12484 2012-02-10 Leo Liu <sdl.web@gmail.com>
12485
12486 * subr.el (condition-case-unless-debug): Rename from
12487 condition-case-no-debug. All callers changed.
12488 (with-demoted-errors): Fix caller.
12489
12490 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
12491 * nxml/rng-valid.el (rng-do-some-validation):
12492 * emacs-lisp/package.el (package-refresh-contents)
12493 (package-menu-execute):
12494 * desktop.el (desktop-create-buffer):
12495 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
12496
12497 2012-02-10 Glenn Morris <rgm@gnu.org>
12498
12499 * textmodes/bibtex.el:
12500 Add missing :version tags for new/changed defcustoms.
12501
12502 * files.el (remote-file-name-inhibit-cache): Doc fixes.
12503
12504 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
12505
12506 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
12507 (smtpmail-via-smtp): Use it, or fall back on the From address.
12508 (smtpmail-send-it): Ditto.
12509
12510 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
12511
12512 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
12513 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
12514 (byte-compile-tmp-var): New const.
12515 (byte-compile-defvar): Use it to minimize .elc size.
12516 Just use `defvar' rather than simulate it (bug#10761).
12517
12518 2012-02-09 Glenn Morris <rgm@gnu.org>
12519
12520 * files.el (rename-uniquely): Doc fix. (Bug#3806)
12521
12522 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
12523 Add :version tags.
12524
12525 * progmodes/compile.el (compilation-error-screen-columns)
12526 (compilation-first-column, compilation-filter-start): Doc fixes.
12527
12528 * vc/log-view.el (log-view-toggle-entry-display):
12529 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
12530
12531 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
12532 (report-emacs-bug-can-use-xdg-email):
12533 (report-emacs-bug-insert-to-mailer): Doc fixes.
12534 (report-emacs-bug): Message fix.
12535
12536 * net/browse-url.el (browse-url-can-use-xdg-open)
12537 (browse-url-xdg-open): Doc fixes.
12538
12539 * electric.el (electric-indent-mode, electric-pair-mode)
12540 (electric-layout-rules, electric-layout-mode): Doc fixes.
12541 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
12542
12543 2012-02-08 Martin Rudalics <rudalics@gmx.at>
12544
12545 * server.el (server-unselect-display): Don't inadvertently kill
12546 the current buffer. (Bug#10729)
12547
12548 2012-02-08 Glenn Morris <rgm@gnu.org>
12549
12550 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
12551 (sql-list-table): Doc fixes.
12552
12553 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
12554 Comment out (does nothing).
12555
12556 * completion.el (dynamic-completion-mode):
12557 * dirtrack.el (dirtrack-debug-mode):
12558 * electric.el (electric-layout-mode):
12559 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
12560 * face-remap.el (text-scale-mode, buffer-face-mode):
12561 * iimage.el (iimage-mode):
12562 * image-mode.el (image-transform-mode):
12563 * minibuffer.el (completion-in-region-mode):
12564 * scroll-lock.el (scroll-lock-mode):
12565 * simple.el (next-error-follow-minor-mode):
12566 * tar-mode.el (tar-subfile-mode):
12567 * tooltip.el (tooltip-mode):
12568 * vcursor.el (vcursor-use-vcursor-map):
12569 * wid-browse.el (widget-minor-mode):
12570 * emulation/tpu-edt.el (tpu-edt-mode):
12571 * emulation/tpu-extras.el (tpu-cursor-free-mode):
12572 * international/iso-ascii.el (iso-ascii-mode):
12573 * language/thai-util.el (thai-word-mode):
12574 * mail/supercite.el (sc-minor-mode):
12575 * net/goto-addr.el (goto-address-mode):
12576 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
12577 * progmodes/cwarn.el (cwarn-mode):
12578 * progmodes/flymake.el (flymake-mode):
12579 * progmodes/glasses.el (glasses-mode):
12580 * progmodes/hideshow.el (hs-minor-mode):
12581 * progmodes/pascal.el (pascal-outline-mode):
12582 * textmodes/enriched.el (enriched-mode):
12583 * vc/smerge-mode.el (smerge-mode):
12584 Doc fixes (minor mode argument).
12585
12586 2012-02-07 Eli Zaretskii <eliz@gnu.org>
12587
12588 * ls-lisp.el (ls-lisp-sanitize): New function.
12589 (ls-lisp-insert-directory): Use it to fix or remove any elements
12590 in file-alist with missing attributes. (Bug#4673)
12591
12592 2012-02-07 Alan Mackenzie <acm@muc.de>
12593
12594 Fix spurious recognition of c-in-knr-argdecl.
12595
12596 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
12597 putative K&R region.
12598
12599 2012-02-07 Alan Mackenzie <acm@muc.de>
12600
12601 * progmodes/cc-engine.el (c-forward-objc-directive):
12602 Prevent looping in "#pragma mark @implementation".
12603
12604 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
12605
12606 * notifications.el (notifications-on-closed-signal): Make `reason'
12607 optional. (Bug#10744)
12608
12609 2012-02-07 Glenn Morris <rgm@gnu.org>
12610
12611 * emacs-lisp/easy-mmode.el (define-minor-mode):
12612 Doc fixes for the macro and the mode it defines.
12613
12614 * image.el (imagemagick-types-inhibit): Doc fix.
12615
12616 * cus-start.el (imagemagick-render-type): Add it.
12617
12618 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
12619
12620 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
12621 Set the default at load time, too, so that `font-lock-fontify-buffer'
12622 can be called without setting up the entire mode first. This fixes
12623 a bug in `mm-inline-text' with C MIME parts.
12624
12625 2012-02-06 Chong Yidong <cyd@gnu.org>
12626
12627 * simple.el (list-processes--refresh): Delete exited processes
12628 (Bug#8094).
12629
12630 * comint.el (comint-next-prompt): next-single-char-property-change
12631 and prev-single-char-property-change never return nil (Bug#8657).
12632
12633 * custom.el (defcustom): Doc fix (Bug#9711).
12634
12635 2012-02-05 Chong Yidong <cyd@gnu.org>
12636
12637 * cus-edit.el (custom-variable-reset-backup): Quote the value
12638 before storing it in the customized-value property (Bug#6712).
12639 (custom-display): Add a customization type tag.
12640 (custom-buffer-create-internal): Improve tooltip message.
12641
12642 * wid-edit.el (widget-field-value-get): New optional arg to
12643 suppress trailing whitespace truncation.
12644 (character): Use it (Bug#2689).
12645
12646 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
12647
12648 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
12649 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
12650
12651 2012-02-05 Chong Yidong <cyd@gnu.org>
12652
12653 * cus-edit.el (custom-variable-value-create): For mismatched
12654 types, show the current value (Bug#7600).
12655
12656 * custom.el (defcustom): Doc fix.
12657
12658 2012-02-05 Glenn Morris <rgm@gnu.org>
12659
12660 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
12661
12662 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
12663
12664 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
12665 (pp-buffer): Use `ignore-errors', `looking-at-p'.
12666 (pp-last-sexp): Use `looking-at-p'.
12667
12668 2012-02-04 Glenn Morris <rgm@gnu.org>
12669
12670 * files.el (revert-buffer):
12671 Doc fix (mention revert-buffer-in-progress-p).
12672
12673 * emacs-lisp/ert-x.el (ert-simulate-command):
12674 Check deferred-action-list (which is obsolete) is bound.
12675
12676 * subr.el (with-wrapper-hook): Doc fixes.
12677
12678 * simple.el (filter-buffer-substring-functions)
12679 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
12680
12681 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
12682
12683 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
12684 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
12685
12686 2012-02-04 Leo Liu <sdl.web@gmail.com>
12687
12688 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
12689
12690 2012-02-04 Glenn Morris <rgm@gnu.org>
12691
12692 * image.el (image-extension-data): Add obsolete alias.
12693
12694 * isearch.el (isearch-update): Doc fix.
12695
12696 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
12697
12698 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
12699
12700 2012-02-03 Glenn Morris <rgm@gnu.org>
12701
12702 * image.el (image-animated-p): Doc fix. Use image-animated-types.
12703 (image-animate-timeout): Doc fix.
12704
12705 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
12706
12707 2012-02-02 Glenn Morris <rgm@gnu.org>
12708
12709 * server.el (server-auth-dir): Doc fix.
12710 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
12711
12712 * subr.el (run-mode-hooks): Doc fix.
12713
12714 2012-02-02 Juri Linkov <juri@jurta.org>
12715
12716 * image-mode.el (image-toggle-display-image): Remove tautological
12717 `major-mode' from the `derived-mode-p' test.
12718
12719 2012-02-02 Kenichi Handa <handa@m17n.org>
12720
12721 * composite.el (compose-region): Cancel previous change.
12722
12723 2012-02-02 Kenichi Handa <handa@m17n.org>
12724
12725 * composite.el (compose-region, compose-string): Signal error for
12726 a null string component (Bug#6988).
12727
12728 2012-02-01 Chong Yidong <cyd@gnu.org>
12729
12730 * view.el (view-buffer-other-window, view-buffer-other-frame):
12731 Handle special modes like view-buffer (Bug#10650).
12732 (view-buffer): Simplify.
12733
12734 * frame.el (set-frame-font): Tweak meaning of third argument.
12735
12736 * dynamic-setting.el (font-setting-change-default-font):
12737 Use set-frame-font (Bug#9982).
12738
12739 2012-02-01 Glenn Morris <rgm@gnu.org>
12740
12741 * progmodes/compile.el (compilation-internal-error-properties):
12742 Respect compilation-first-column in the "*compilation*" buffer.
12743
12744 * emacs-lisp/easy-mmode.el (define-minor-mode):
12745 Relax :variable's test for a named function.
12746
12747 2012-01-31 Alan Mackenzie <acm@muc.de>
12748
12749 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
12750 off by one error.
12751
12752 2012-01-31 Chong Yidong <cyd@gnu.org>
12753
12754 * frame.el (set-frame-font): New arg ALL-FRAMES.
12755
12756 * menu-bar.el (menu-set-font): Use set-frame-font.
12757
12758 * faces.el (face-spec-reset-face): Don't apply unspecified
12759 attribute values to the default face.
12760
12761 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
12762
12763 * progmodes/cwarn.el (cwarn): Remove dead link.
12764 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
12765 Remove * from defcustom docstrings.
12766 (turn-on-cwarn-mode): Make obsolete.
12767 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
12768 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
12769
12770 2012-01-31 Glenn Morris <rgm@gnu.org>
12771
12772 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
12773 Fix :variable handling of mode a symbol not equal to modefun.
12774 Allow named functions to be used as the cdr of :variable.
12775
12776 2012-01-30 Glenn Morris <rgm@gnu.org>
12777
12778 * emacs-lisp/authors.el (authors-fixed-entries):
12779 Remove reference to deleted file rnewspost.el.
12780
12781 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
12782
12783 * window.el (window-with-parameter): Remove unused variable `windows'.
12784 (window--side-check): Remove unused variable `code'.
12785 (window--resize-siblings): Remove unused variable `first'.
12786 (adjust-window-trailing-edge): Remove unused variable `failed'.
12787 (window-deletable-p, window--delete): Remove unused variable `buffer'.
12788 Use `let', not `let*'.
12789 (balance-windows-2): Remove unused variable `found'.
12790 (window--state-put-2): Remove unused variable `splits'.
12791 (window-state-put): Remove unused variable `selected'.
12792 (same-window-p): Use `string-match-p'.
12793 (display-buffer-assq-regexp): Remove unused variable `value'.
12794 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12795 Mark argument ALIST as ignored.
12796 (pop-to-buffer): Remove unused variable `old-window'.
12797
12798 2012-01-29 Eli Zaretskii <eliz@gnu.org>
12799
12800 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
12801 and .lzma compressed files.
12802
12803 2012-01-29 Chong Yidong <cyd@gnu.org>
12804
12805 * frame.el (window-system-default-frame-alist): Doc fix.
12806
12807 * dynamic-setting.el (font-setting-change-default-font): Don't
12808 change the default face if SET-FONT argument is non-nil (Bug#9982).
12809
12810 2012-01-29 Samuel Bronson <naesten@gmail.com>
12811
12812 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
12813
12814 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
12815
12816 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
12817 breakpoints in files outside current directory (Bug#6098).
12818
12819 2012-01-29 Chong Yidong <cyd@gnu.org>
12820
12821 * progmodes/python.el: Require ansi-color at top-level.
12822
12823 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
12824 Define and use in Emacs Lisp mode (Bug#9360).
12825 (lisp-mode-abbrev-table): Add doc.
12826 (lisp-mode-variables): Don't set local-abbrev-table.
12827 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
12828
12829 2012-01-28 Roland Winkler <winkler@gnu.org>
12830
12831 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
12832
12833 2012-01-28 Roland Winkler <winkler@gnu.org>
12834
12835 * textmodes/bibtex.el (bibtex-entry-alist): New function.
12836 (bibtex-set-dialect): Use it. Either set global values of
12837 dialect-dependent variables or bind these variables buffer-locally
12838 (Bug#10254).
12839 (bibtex-mode): Call bibtex-set-dialect via
12840 hack-local-variables-hook.
12841 (bibtex-dialect): Update docstring.
12842 Add safe-local-variable predicate.
12843 (bibtex-entry-alist, bibtex-field-alist): Initialize via
12844 bibtex-set-dialect.
12845 (bibtex-mode-map): Define menu for each dialect.
12846 (bibtex-entry): Fix docstring.
12847
12848 2012-01-28 Chong Yidong <cyd@gnu.org>
12849
12850 * eshell/esh-arg.el (eshell-quote-argument): New function.
12851
12852 * eshell/esh-ext.el (eshell-invoke-batch-file):
12853 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
12854 first arg to eshell-parse-command (Bug#10523).
12855
12856 2012-01-28 Drew Adams <drew.adams@oracle.com>
12857
12858 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
12859 `default-directory' is non-nil.
12860
12861 2012-01-28 Eli Zaretskii <eliz@gnu.org>
12862
12863 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
12864 line that displays system-configuration-options. (Bug#9924)
12865
12866 2012-01-28 Drew Adams <drew.adams@oracle.com>
12867
12868 * descr-text.el (describe-char): Show information about POS, in
12869 addition to information about the character at POS. Improve and
12870 update the doc string. Change "code point" to "code point in
12871 charset", to avoid confusion with the character's Unicode code
12872 point shown above that. (Bug#10129)
12873
12874 2012-01-28 Eli Zaretskii <eliz@gnu.org>
12875
12876 * descr-text.el (describe-char): Show the raw character, not only
12877 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
12878 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
12879 for the reasons.
12880
12881 2012-01-28 Phil Hagelberg <phil@hagelb.org>
12882
12883 * emacs-lisp/package.el (package-install):
12884 Run package-refresh-contents if there is no archive yet (Bug#9798).
12885
12886 2012-01-28 Chong Yidong <cyd@gnu.org>
12887
12888 * emacs-lisp/package.el (package-maybe-load-descriptor):
12889 New function, split from package-maybe-load-descriptor.
12890 (package-maybe-load-descriptor): Use it.
12891 (package-download-transaction): Fully load required packages
12892 inside the loop, so that `require' calls work (Bug#10593).
12893 (package-install): No need to call package-initialize now.
12894
12895 2012-01-28 Chong Yidong <cyd@gnu.org>
12896
12897 * simple.el (deactivate-mark): Doc fix (Bug#8614).
12898
12899 * tooltip.el (tooltip-mode): Doc fix.
12900 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
12901
12902 * frame.el (set-cursor-color): Doc fix (Bug#352).
12903
12904 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
12905 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
12906
12907 * cus-edit.el (custom-buffer-create-internal): Fix search button
12908 action (Bug#10542).
12909 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
12910
12911 2012-01-27 Eduard Wiebe <usenet@pusto.de>
12912
12913 * dired.el (dired-mark-files-regexp):
12914 Include any subdirectory components. (Bug#10445)
12915
12916 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
12917
12918 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
12919 Handle [host]:port syntax. (Bug#10533)
12920
12921 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
12922
12923 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
12924
12925 2012-01-26 Glenn Morris <rgm@gnu.org>
12926
12927 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
12928 * term.el (term-raw-escape-map): Use Control-X-prefix.
12929 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
12930
12931 2012-01-25 Martin Rudalics <rudalics@gmx.at>
12932
12933 * window.el (window-state-get, window--state-get-1): Don't deal
12934 with fixed-sizeness of windows. Simplify code.
12935
12936 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
12937
12938 * window.el (window--state-get-1, window--state-put-2):
12939 Don't save and restore the mark.
12940
12941 2012-01-25 Chong Yidong <cyd@gnu.org>
12942
12943 * custom.el (custom-variable-p): Doc fix.
12944
12945 2012-01-25 Glenn Morris <rgm@gnu.org>
12946
12947 * dired.el (dired-goto-file): Handle some of the more common
12948 characters that `ls -b' escapes. (Bug#10596)
12949
12950 * progmodes/compile.el (compilation-next-error-function):
12951 Respect compilation-first-column in the "*compilation*" buffer.
12952 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
12953
12954 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
12955
12956 2012-01-24 Glenn Morris <rgm@gnu.org>
12957
12958 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
12959
12960 2012-01-24 Julien Danjou <julien@danjou.info>
12961
12962 * color.el (color-rgb-to-hsl): Fix value computing.
12963 (color-hue-to-rgb): New function.
12964 (color-hsl-to-rgb): New function.
12965 (color-clamp, color-saturate-hsl, color-saturate-name)
12966 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
12967 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
12968
12969 2012-01-24 Glenn Morris <rgm@gnu.org>
12970
12971 * vc/vc-rcs.el (vc-rcs-create-tag):
12972 * vc/vc-sccs.el (vc-sccs-create-tag):
12973 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
12974
12975 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
12976
12977 * eshell/esh-util.el (eshell-read-hosts-file):
12978 Skip comment lines. (Bug#10549)
12979
12980 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
12981
12982 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
12983
12984 * subr.el (display-delayed-warnings): Doc fix.
12985 (collapse-delayed-warnings): New function to collapse identical
12986 adjacent warnings.
12987 (delayed-warnings-hook): Add it.
12988
12989 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
12990
12991 * net/tramp.el (tramp-action-login): Set connection property "login-as".
12992
12993 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
12994 (tramp-default-user-alist): Don't add "pscp".
12995 (tramp-do-copy-or-rename-file-out-of-band): Use connection
12996 property "login-as", if set. (Bug#10530)
12997
12998 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
12999
13000 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
13001 "plink1" and "psftp". (Bug#10530)
13002
13003 2012-01-21 Kenichi Handa <handa@m17n.org>
13004
13005 * international/mule-cmds.el (prefer-coding-system): Show a
13006 warning message if the default value of file-name-coding-system
13007 was not changed.
13008
13009 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
13010
13011 * windmove.el (windmove-reference-loc):
13012 Fix windmove-reference-loc miscalculation.
13013
13014 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
13015
13016 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
13017 default unit.
13018
13019 2012-01-21 Glenn Morris <rgm@gnu.org>
13020
13021 * international/mule.el (auto-coding-alist): Add .tbz.
13022
13023 * files.el (local-enable-local-variables): Doc fix.
13024 (inhibit-local-variables-regexps): Rename from
13025 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
13026 Doc fix. Add some extensions from auto-coding-alist.
13027 (inhibit-local-variables-suffixes):
13028 Rename from inhibit-first-line-modes-suffixes. Doc fix.
13029 (inhibit-local-variables-p):
13030 New function, extracted from set-auto-mode-1.
13031 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
13032 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
13033 (hack-local-variables): Doc fix. Make the mode-only case
13034 respect enable-local-variables and friends.
13035 Respect inhibit-local-variables-regexps for file-locals, but
13036 not for directory-locals.
13037 (set-visited-file-name):
13038 Take account of inhibit-local-variables-regexps.
13039 Whether it applies may change as the file name is changed.
13040 * jka-cmpr-hook.el (jka-compr-install):
13041 * jka-compr.el (jka-compr-uninstall):
13042 Update for inhibit-first-line-modes-suffixes name change.
13043
13044 2012-01-20 Martin Rudalics <rudalics@gmx.at>
13045
13046 * help-macro.el (make-help-screen): Temporarily restore original
13047 binding for minor-mode-map-alist (Bug#10454).
13048
13049 2012-01-19 Julien Danjou <julien@danjou.info>
13050
13051 * color.el (color-name-to-rgb): Use the white color to find the max
13052 color component value and return correctly computed values.
13053 (color-name-to-rgb): Add missing float conversion for max value.
13054
13055 2012-01-19 Martin Rudalics <rudalics@gmx.at>
13056
13057 * window.el (window--state-get-1, window-state-get): Do not use
13058 special state value for window-persistent-parameters.
13059 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
13060 (window--state-put-2): Reset all window parameters to nil before
13061 assigning values of persistent parameters.
13062
13063 2012-01-18 Alan Mackenzie <acm@muc.de>
13064
13065 Eliminate sluggishness and hangs in fontification of "semicolon
13066 deserts".
13067
13068 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
13069 Change value 10000 -> 3000.
13070 (c-state-safe-place): Reformulate so it doesn't stack up an
13071 infinite number of wrong entries in c-state-nonlit-pos-cache.
13072 (c-determine-limit-get-base, c-determine-limit): New functions to
13073 determine backward search limits disregarding literals.
13074 (c-find-decl-spots): Amend commenting.
13075 (c-cheap-inside-bracelist-p): New function which detects "={".
13076
13077 * progmodes/cc-fonts.el
13078 (c-make-font-lock-BO-decl-search-function): Give a limit to a
13079 backward search.
13080 (c-font-lock-declarations): Fix an occurrence of point being
13081 undefined. Check additionally for point being in a bracelist or
13082 near a macro invocation without a semicolon so as to avoid a
13083 fruitless time consuming search for a declarator. Give a more
13084 precise search limit for declarators using the new
13085 c-determine-limit.
13086
13087 2012-01-18 Glenn Morris <rgm@gnu.org>
13088
13089 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
13090 (set-auto-mode): Doc fixes.
13091
13092 2012-01-17 Glenn Morris <rgm@gnu.org>
13093
13094 * isearch.el (search-nonincremental-instead): Fix doc typo.
13095
13096 * dired.el (dired-insert-directory): Handle newlines in directory name.
13097 (dired-build-subdir-alist): Unescape newlines in directory name.
13098
13099 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
13100
13101 * net/tramp.el (tramp-local-end-of-line): New defcustom.
13102 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
13103 (tramp-action-terminal): Use it. (Bug#10530)
13104
13105 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
13106
13107 * minibuffer.el (completion--replace): Strip properties (bug#10062).
13108
13109 2012-01-16 Martin Rudalics <rudalics@gmx.at>
13110
13111 * window.el (window-state-ignored-parameters): Remove variable.
13112 (window--state-get-1): Rename argument MARKERS to IGNORE.
13113 Handle persistent window parameters. Make copy of clone-of
13114 parameter only if requested. (Bug#10348)
13115 (window--state-put-2): Install a window parameter only if it has
13116 a non-nil value or an existing parameter shall be overwritten.
13117
13118 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
13119
13120 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
13121
13122 2012-01-14 Eli Zaretskii <eliz@gnu.org>
13123
13124 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
13125 don't pass the (nil) value of `upnode' to string-match.
13126
13127 2012-01-14 Chong Yidong <cyd@gnu.org>
13128
13129 * startup.el (command-line): Fix X resource class for cursorColor.
13130 Fix values recognized by the cursorBlink resource.
13131
13132 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
13133
13134 * epg.el (epg--make-temp-file): Avoid permission race condition
13135 when running on old Emacs versions (bug#10403).
13136
13137 2012-01-14 Glenn Morris <rgm@gnu.org>
13138
13139 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
13140
13141 2012-01-13 Alan Mackenzie <acm@muc.de>
13142
13143 Fix filling for when filladapt mode is enabled.
13144
13145 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
13146 c-mask-paragraph, pass in `fill-paragraph' rather than
13147 `fill-region-as-paragraph'. (This is a reversion of a previous
13148 change.)
13149 * progmodes/cc-mode.el (c-basic-common-init):
13150 Make fill-paragraph-handle-comment buffer local and set it to nil.
13151
13152 2012-01-13 Glenn Morris <rgm@gnu.org>
13153
13154 * dired.el (dired-switches-escape-p): New function.
13155 (dired-insert-directory): Use dired-switches-escape-p.
13156 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
13157
13158 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
13159
13160 2012-01-12 Glenn Morris <rgm@gnu.org>
13161
13162 * mail/sendmail.el (mail-mode): Update paragraph-separate for
13163 changes in adaptive-fill-regexp. (Bug#10276)
13164
13165 2012-01-11 Alan Mackenzie <acm@muc.de>
13166
13167 Fix Emacs bug #10463 - put `widen's around the critical spots.
13168
13169 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
13170 widen around each invocation of c-state-pp-to-literal. Remove an
13171 unused let variable.
13172
13173 2012-01-11 Glenn Morris <rgm@gnu.org>
13174
13175 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
13176 Doc fix.
13177
13178 2012-01-10 Chong Yidong <cyd@gnu.org>
13179
13180 * net/network-stream.el (network-stream-open-starttls):
13181 Avoid emitting a confusing error message when the server gives a bad
13182 response to the capability command.
13183
13184 2012-01-10 Glenn Morris <rgm@gnu.org>
13185
13186 * mail/unrmail.el (unrmail): Tweak previous change.
13187
13188 2012-01-09 Chong Yidong <cyd@gnu.org>
13189
13190 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
13191
13192 2012-01-08 Alan Mackenzie <acm@muc.de>
13193
13194 Optimise font locking in long enum definitions.
13195
13196 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
13197 arm to a cond form to handle enums.
13198 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
13199 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
13200
13201 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
13202
13203 * files.el (move-file-to-trash): Preserve default file modes on error.
13204 (Bug#10401)
13205
13206 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
13207
13208 * faces.el (set-face-attribute): Clarify the meaning of the nil
13209 frame (bug#10294).
13210
13211 * subr.el (with-selected-frame): Mention that the selected frame
13212 is restored (bug#9980).
13213
13214 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
13215 (bug#9759).
13216
13217 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
13218 (password-read): Don't autoload unused function.
13219
13220 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
13221
13222 * progmodes/which-func.el (which-func-mode): Turn into a
13223 non-interactive function and mark as obsolete (bug#10428).
13224
13225 2012-01-06 Chong Yidong <cyd@gnu.org>
13226
13227 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
13228 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
13229 functions, along with 1 and -1.
13230
13231 2012-01-06 Eli Zaretskii <eliz@gnu.org>
13232
13233 * time.el (display-time-load-average)
13234 (display-time-default-load-average): Doc fixes. See the thread
13235 starting at
13236 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
13237 for the details.
13238
13239 2012-01-06 Glenn Morris <rgm@gnu.org>
13240
13241 * mail/unrmail.el (unrmail): Give an explicit error if the input file
13242 has no messages. (Bug#10377)
13243
13244 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
13245 than Info-edit. (Bug#10385)
13246
13247 * time.el (display-time-load-average, display-time-next-load-average):
13248 Doc fixes.
13249
13250 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
13251 local setting of buffer-read-only to the input buffer. (Bug#10419)
13252
13253 * calendar/calendar.el (calendar-mode):
13254 Locally set scroll-margin to 0. (Bug#10379)
13255
13256 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
13257
13258 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
13259
13260 2012-01-05 Glenn Morris <rgm@gnu.org>
13261
13262 * eshell/em-unix.el (diff-no-select): Autoload it.
13263 (eshell/diff): Use diff-no-select. (Bug#10420)
13264
13265 2012-01-05 Chong Yidong <cyd@gnu.org>
13266
13267 * shell.el (shell-dynamic-complete-functions): Revert last change.
13268 (shell-command-completion-function): New function.
13269 (shell-completion-vars): Use it to implement
13270 shell-completion-execonly (Bug#10417).
13271
13272 * custom.el (enable-theme): Don't set custom-safe-themes.
13273
13274 * cus-theme.el (custom-theme-merge-theme):
13275 Ignore custom-enabled-themes and custom-safe-themes.
13276
13277 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
13278
13279 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
13280 first prompt in `sql-interacive-mode'.
13281 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
13282 keywords.
13283 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
13284 (sql-product-interactive): Bug fix: Set `sql-buffer' in
13285 context of original buffer. Invoke `sql-login-hook'.
13286
13287 2012-01-04 Eli Zaretskii <eliz@gnu.org>
13288
13289 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
13290 letters in cite-prefix.
13291
13292 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13293
13294 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
13295
13296 2012-01-03 Chong Yidong <cyd@gnu.org>
13297
13298 * shell.el (shell-dynamic-complete-functions):
13299 Put pcomplete-completions-at-point, so as to try
13300 comint-filename-completion first (Bug#10417).
13301
13302 2012-01-02 Richard Stallman <rms@gnu.org>
13303
13304 * battery.el (battery-status-function):
13305 Detect when to use battery-yeeloong-sysfs.
13306 (battery-echo-area-format): Add string for Yeeloong.
13307 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
13308 (battery-yeeloong-sysfs): New function.
13309
13310 2012-01-02 Chong Yidong <cyd@gnu.org>
13311
13312 * dirtrack.el (dirtrack-list): Eliminate unused third element.
13313 (dirtrack): Merge code for handling relative filenames in prompt
13314 from shell-dir-cookie-watcher.
13315 (dirtrack-debug-message): New arg to avoid excess format calls.
13316
13317 * shell.el (shell-dir-cookie-re): Variable deleted.
13318 (shell-dir-cookie-watcher): Function deleted.
13319 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
13320 with dirtrack-mode.
13321
13322 2012-01-01 Eli Zaretskii <eliz@gnu.org>
13323
13324 * term/w32-win.el (dynamic-library-alist) <gnutls>:
13325 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
13326 libgnutls-26.dll.
13327
13328 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
13329
13330 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
13331
13332 2011-12-31 Eli Zaretskii <eliz@gnu.org>
13333
13334 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
13335 headers of non-MIME messages, when rmail-enable-mime is non-nil.
13336
13337 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
13338
13339 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
13340 also for alternative shells.
13341 (tramp-open-connection-setup-interactive-shell): Check, whether
13342 the shell is a busybox.
13343 (tramp-send-command): Don't suppress multiple prompts for
13344 busyboxes, it hurts.
13345
13346 2011-12-28 Chong Yidong <cyd@gnu.org>
13347
13348 * progmodes/gdb-mi.el (gdb-get-source-file-list)
13349 (gdb-get-source-file): Move mode line update to
13350 gdb-get-source-file (Bug#10087).
13351
13352 2011-12-25 Chong Yidong <cyd@gnu.org>
13353
13354 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
13355 gud-gdb-marker-filter without taking it as an argument.
13356 (gud-gdb-run-command-fetch-lines): Caller changed.
13357 (gud-gdb-completion-function): New variable.
13358 (gud-gdb-completion-at-point): Use it.
13359 (gud-gdb-completions-1): Split from gud-gdb-completions.
13360
13361 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
13362 function as separate arguments.
13363 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
13364 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
13365 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
13366 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
13367 (gdb-stopped, def-gdb-auto-update-trigger)
13368 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
13369 (gdb-get-changed-registers, gdb-get-main-selected-frame):
13370 Callers changed.
13371 (gud-gdbmi-completions): New function.
13372 (gdb): Use it for generating the completion table.
13373
13374 2011-12-24 Alan Mackenzie <acm@muc.de>
13375
13376 Introduce a mechanism to widen the region used in context font
13377 locking. Use this to protect declarations from losing their contexts.
13378
13379 * progmodes/cc-langs.el (c-before-font-lock-functions):
13380 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
13381 (c-before-context-fontification-functions): New defvar, a list of
13382 functions to be run just before context (etc.) font locking.
13383
13384 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
13385 New, functionality extracted from
13386 c-neutralize-syntax-in-and-mark-CPP.
13387 (c-in-after-change-fontification): New variable.
13388 (c-after-change): Set c-in-after-change-fontification.
13389 (c-set-fl-decl-start): Rejig its interface, so it can be called
13390 from both after-change and context fontifying.
13391 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
13392 New functions.
13393 (c-standard-font-lock-fontify-region-function): New variable.
13394 (c-font-lock-fontify-region): New function.
13395
13396 2011-12-24 Juri Linkov <juri@jurta.org>
13397
13398 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
13399 (Bug#10348)
13400
13401 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
13402
13403 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
13404 existence of source file. (Bug#10325)
13405
13406 2011-12-23 Alan Mackenzie <acm@muc.de>
13407
13408 Fix unstable fontification inside templates.
13409
13410 * progmodes/cc-langs.el (c-before-font-lock-functions):
13411 Newly created from the singular version. The (c c++ objc) entry now
13412 additionally has c-set-fl-decl-start. The other languages (apart
13413 from AWK) have that as a single entry.
13414
13415 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13416 The functionality for "local" declarations has been extracted to
13417 c-set-fl-decl-start.
13418
13419 * progmodes/cc-mode.el (c-common-init, c-after-change):
13420 Changes due to pluralisation of c-before-font-lock-functions.
13421 (c-set-fl-decl-start): New function, extracted from
13422 c-font-lock-enclosing-decls and enhanced.
13423
13424 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
13425
13426 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
13427
13428 2011-12-22 Juri Linkov <juri@jurta.org>
13429
13430 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
13431
13432 2011-12-22 Chong Yidong <cyd@gnu.org>
13433
13434 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
13435
13436 2011-12-21 Drew Adams <drew.adams@oracle.com>
13437
13438 * files.el (file-remote-p): Fix docstring. (Bug#10319)
13439
13440 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
13441
13442 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
13443
13444 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
13445
13446 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
13447 highlighting and support. Fix up comments for capitalization.
13448 (cfengine-mode-debug): New var.
13449 (cfengine3-mode): Change the modeline indicator to "CFE3".
13450 (cfengine3-font-lock-keywords): Improve defun highlighting.
13451 (cfengine2-actions): Rename from `cfengine-actions'.
13452 (cfengine2-font-lock-keywords): Rename from
13453 `cfengine-font-lock-keywords'.
13454 (cfengine2-imenu-expression): Rename from
13455 `cfengine-imenu-expression'.
13456 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
13457 (cfengine2-beginning-of-defun): Rename from
13458 `cfengine-beginning-of-defun'.
13459 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
13460 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
13461 (cfengine2-mode): Rename from `cfengine-mode'. Change the
13462 modeline indicator to "CFE2".
13463 (cfengine-mode): Defalias to `cfengine-auto-mode'.
13464 (cfengine-mode-abbrevs): Mark obsolete.
13465
13466 2011-12-21 Chong Yidong <cyd@gnu.org>
13467
13468 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
13469 filename argument.
13470
13471 2011-12-20 Martin Rudalics <rudalics@gmx.at>
13472
13473 * window.el (window-normalize-buffer-to-display): Remove.
13474 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
13475
13476 2011-12-19 Chong Yidong <cyd@gnu.org>
13477
13478 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
13479 Don't signal an error in a predicate function; return non-nil.
13480 (vc-dir-mark-file): Move the error here.
13481 (vc-dir-mark-unmark): If acting on the region, keep going if one
13482 of the entries cannot be marked/unmarked.
13483 (vc-dir-mark-all-files): If current entry is a directory, mark
13484 only child files, as documented.
13485
13486 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
13487
13488 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
13489 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
13490 addition.
13491
13492 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
13493
13494 * term/ns-win.el (ns-get-selection-internal)
13495 (ns-store-selection-internal): Declare.
13496 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
13497 Declare as obsolete.
13498 (ns-get-pasteboard, ns-paste-secondary):
13499 Use ns-get-selection-internal.
13500 (ns-set-pasteboard, ns-copy-including-secondary):
13501 Use ns-store-selection-internal.
13502
13503 2011-12-17 Chong Yidong <cyd@gnu.org>
13504
13505 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
13506 (vc-deduce-fileset): Doc fix.
13507
13508 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
13509
13510 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
13511
13512 2011-12-13 Sam Steingold <sds@gnu.org>
13513
13514 * man.el (Man-getpage-in-background): When running under a
13515 window-system, ignore $MANWIDTH and $COLUMNS.
13516
13517 2011-12-15 Kenichi Handa <handa@m17n.org>
13518
13519 * language/ethio-util.el: Change coding tag to utf-8-emacs.
13520 (setup-ethiopic-environment-internal): Comment out key-binding for
13521 ethio-toggle-punctuation.
13522
13523 2011-12-13 Alan Mackenzie <acm@muc.de>
13524
13525 Add the switch statement to AWK Mode.
13526
13527 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
13528 "default" to the keywords regexp.
13529
13530 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
13531 expression as the rest.
13532 (c-nonlabel-token-key): Allow string literals for AWK.
13533 Refactor for the other modes.
13534
13535 Large brace-block initialisation makes CC Mode slow: Fix.
13536 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13537 routines. Limit backward searching in c-font-lock-enclosing.decl.
13538
13539 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
13540 pp-state and literal type in addition to the limits.
13541 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13542 (c-state-literal-at): Use the above new defun.
13543 (c-slow-in-literal, c-fast-in-literal): Remove.
13544 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13545
13546 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
13547 being in a literal. Add a limit for backward searching.
13548
13549 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
13550 c-slow-in-literal.
13551
13552 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
13553
13554 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
13555
13556 2011-12-13 Martin Rudalics <rudalics@gmx.at>
13557
13558 * window.el (delete-other-windows): Use correct frame in call to
13559 window-with-parameter.
13560
13561 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
13562
13563 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
13564 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
13565 (makefile-gmake-statements, makefile-makepp-statements):
13566 Use it and add new makepp keywords.
13567 (makefile-makepp-font-lock-keywords): Add new patterns.
13568 (makefile-match-function-end): Match new [...] and [[...]].
13569
13570 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
13571
13572 * ses.el (ses-call-printer-return, ses-cell-property-get)
13573 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
13574 (ses-create-cell-variable, ses-reset-header-string)
13575 (ses-cell-set-formula, ses-repair-cell-reference-all)
13576 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
13577 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
13578 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
13579 (ses-aset-with-undo, ses-load, ses-truncate-cell)
13580 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
13581 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
13582 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
13583 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
13584 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
13585 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
13586 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
13587 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
13588
13589 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
13590
13591 * ses.el: The overall change is to add cell renaming, that is
13592 setting fancy names for cell symbols other than name matching
13593 "\\`[A-Z]+[0-9]+\\'" regexp .
13594 (ses-create-cell-variable): New defun.
13595 (ses-relocate-formula): Relocate formulas only for cells the
13596 symbols of which are not renamed, i.e. symbols whose names do not
13597 match regexp "\\`[A-Z]+[0-9]+\\'".
13598 (ses-relocate-all): Relocate values only for cells the symbols of
13599 which are not renamed.
13600 (ses-load): Create cells variables as the (ses-cell ...) are read,
13601 in order to check row col consistency with cell symbol name only
13602 for cells that are not renamed.
13603 (ses-replace-name-in-formula): New defun.
13604 (ses-rename-cell): New defun.
13605
13606 2011-12-11 Chong Yidong <cyd@gnu.org>
13607
13608 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
13609 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
13610
13611 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
13612
13613 * window.el (other-window): Fix docstring.
13614
13615 2011-12-10 Eli Zaretskii <eliz@gnu.org>
13616
13617 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
13618 `from' or `to' address before taking its substring.
13619 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
13620 encoded name is chopped in the middle of the encoded string, and
13621 thus displayed encoded.
13622
13623 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
13624
13625 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
13626
13627 2011-12-10 Eli Zaretskii <eliz@gnu.org>
13628
13629 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
13630 to use texinfo-update-node and commands that call it if the
13631 Texinfo file uses @node lines without next/prev/up pointers.
13632 Correct outdated description about texinfo-master-menu.
13633 (texinfo-all-menus-update, texinfo-master-menu)
13634 (texinfo-update-node, texinfo-every-node-update)
13635 (texinfo-multiple-files-update): Doc fix. Warn against updating
13636 all the @node lines.
13637 (texinfo-master-menu): Only call texinfo-update-node if the prefix
13638 argument is numeric. Explain better in the doc string what the
13639 function really does.
13640 (texinfo-insert-master-menu-list): Improve the error message
13641 displayed if there's no menu in the Top node.
13642 (Bug#2975) See also this thread:
13643 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
13644
13645 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
13646
13647 * speedbar.el (speedbar-supported-extension-expressions):
13648 Add .adb and .ads, commonly used for Ada source code (bug#10256).
13649
13650 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
13651
13652 * printing.el (pr-mode-alist):
13653 * simple.el (filter-buffer-substring-functions)
13654 (completion-list-insert-choice-function):
13655 * window.el (window-with-parameter, window-atom-root)
13656 (window-sides-slots, window-size-fixed, window-min-delta)
13657 (window-max-delta, window--resize-mini-window)
13658 (window--resize-child-windows-normal, window-tree)
13659 (delete-other-windows, quit-window, split-window)
13660 (display-buffer-record-window, special-display-buffer-names)
13661 (special-display-regexps, special-display-popup-frame)
13662 (same-window-p, split-window-sensibly)
13663 (display-buffer-overriding-action, display-buffer-alist)
13664 (display-buffer-base-action, display-buffer, switch-to-buffer)
13665 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
13666 (fit-window-to-buffer, recenter-positions)
13667 (mouse-autoselect-window-state, mouse-autoselect-window-select):
13668 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
13669 and remove unneeded backslashes in docstrings.
13670
13671 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
13672
13673 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
13674
13675 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
13676 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
13677 end in ".mk".
13678 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
13679 when reading the makefile (bug#10116).
13680
13681 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
13682
13683 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
13684 (bug#10116).
13685
13686 2011-12-06 Glenn Morris <rgm@gnu.org>
13687
13688 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
13689
13690 2011-12-06 Chong Yidong <cyd@gnu.org>
13691
13692 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
13693
13694 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
13695
13696 * textmodes/table.el (table-shorten-cell): Fix typo.
13697
13698 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
13699
13700 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
13701
13702 2011-12-05 Eli Zaretskii <eliz@gnu.org>
13703
13704 * descr-text.el (describe-char): Fix display of strong
13705 right-to-left characters and directional embeddings and overrides.
13706
13707 * simple.el (what-cursor-position): Fix display of codepoints of
13708 strong right-to-left characters.
13709
13710 2011-12-05 Chong Yidong <cyd@gnu.org>
13711
13712 * faces.el (read-color): Doc fix.
13713
13714 2011-12-05 Glenn Morris <rgm@gnu.org>
13715
13716 * align.el (align--set-marker): Add doc-string.
13717 Don't try to move something that is not a marker. (Bug#10216)
13718
13719 2011-12-04 Glenn Morris <rgm@gnu.org>
13720
13721 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
13722 overly zealous deletion of trailing whitespace.
13723
13724 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
13725
13726 * server.el (server-delete-client): On Windows, do not try to delete
13727 the only terminal.
13728 (server-process-filter): On Windows, treat requests for a tty frame as
13729 if they were for a GUI frame if the running server is in GUI mode.
13730
13731 2011-12-03 Glenn Morris <rgm@gnu.org>
13732
13733 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
13734
13735 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13736
13737 * electric.el: Streamline electric-indent's hook.
13738 (electric-indent-chars): Revert to simple list.
13739 (electric-indent-functions): New var.
13740 (electric-indent-post-self-insert-function): Use it.
13741
13742 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
13743 there's no inferior buffer (bug#10196).
13744 (prolog-consult-compile): Don't use toggle-read-only.
13745
13746 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
13747
13748 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
13749 interrupt. (Bug#10187)
13750
13751 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
13752
13753 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
13754 (bug#9160).
13755
13756 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
13757 (bug#10191).
13758
13759 2011-12-02 Juri Linkov <juri@jurta.org>
13760
13761 * info.el (Info-search): Display "end of manual" when Isearch
13762 reaches the end of single-file Info manual. (Bug#9918)
13763
13764 2011-12-02 Eli Zaretskii <eliz@gnu.org>
13765
13766 * isearch.el (isearch-message-prefix): Run the input method part
13767 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
13768
13769 2011-12-02 Juri Linkov <juri@jurta.org>
13770
13771 * isearch.el (isearch-occur): Use `word-search-regexp' for
13772 `isearch-word'.
13773 (isearch-search-and-update): Add condition for `isearch-word' and
13774 call `word-search-regexp'. (Bug#10145)
13775
13776 2011-12-01 Glenn Morris <rgm@gnu.org>
13777
13778 * eshell/em-hist.el (eshell-hist-initialize):
13779 Handle eshell-history-size nil and HISTSIZE set or unset.
13780 (eshell-history-file-name, eshell-history-size): Fix custom type.
13781
13782 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
13783
13784 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
13785
13786 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
13787
13788 * progmodes/verilog-mode.el (verilog-pretty-expr):
13789 Rework verilog-pretty-expr to handle new assignment operators in system
13790 verilog, such as += *= and the like.
13791 (verilog-assignment-operator-re): Regular expression to find the
13792 assigment operator in a verilog assignment.
13793 (verilog-assignment-operation-re): Regular expression to find an
13794 assignment statement for pretty-expr.
13795 (verilog-in-attribute-p): Query returns true if point is in an
13796 attribute context; used to skip these for expression line up from
13797 pretty-expr.
13798 (verilog-in-parameter-p): Query returns true if point is in an
13799 parameter definition context; used to skip these for expression
13800 line up from pretty-expr.
13801 (verilog-in-parenthesis-p): Query returns true if point is in a
13802 parenthetical expression, specifically ( ) but not [ ] or { };
13803 used by pretty-expr.
13804 (verilog-just-one-space): If there is no space, don't add one.
13805 (verilog-get-lineup-indent-2): Specifically skip just attribute
13806 contexts for expression lineup, rather than skipping all
13807 parenthetical expressions.
13808 (verilog-calculate-indent): Fix comment, and fix indent.
13809 (verilog-do-indent): Indent declarations in lists (suggested by
13810 Joachim Lechner).
13811 (verilog-mode-abbrev-table): Populate abbrev mode with the various
13812 skeleton items.
13813 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
13814 by Alain Mellan).
13815
13816 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
13817
13818 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
13819 parameters with embedded comments. Reported by Ray Stevens.
13820 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
13821 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
13822 Reported by Tim Holt.
13823 (verilog-auto): Fix AUTOing a upper module then AUTOing module
13824 instantiated by upper module causing wrong expansion until AUTOed a
13825 second time. Reported by K C Buckenmaier.
13826 (verilog-diff-auto): Fix showing .* as a difference when
13827 `verilog-auto-star-save' off. Reported by Dan Dever.
13828 (verilog-auto-reset, verilog-read-always-signals)
13829 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
13830 temporary signals in reset list if
13831 verilog-auto-reset-blocking-in-non is nil, and match assignment
13832 style to each signal's assignment type, bug381.
13833 Reported by Thomas Esposito.
13834 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
13835 (verilog-uvm-statement-re): Support UVM indentation and
13836 highlighting, with old OVM keywords only.
13837 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
13838 Support AUTOTIEOFF creating non-wire data types.
13839 Suggested by Jonathan Greenlaw.
13840 (verilog-auto-insert-lisp, verilog-delete-to-paren)
13841 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
13842 (verilog-inject-sense, verilog-read-inst-pins)
13843 (verilog-read-sub-decls, verilog-read-sub-decls-line):
13844 Fix mismatching parenthesis inside commented out code when deleting
13845 AUTOINST, bug383. Reported by Jonathan Greenlaw.
13846 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
13847 non-numeric vector width. Reported by Alex Reed.
13848 (verilog-auto-ascii-enum): Add "onehot" option to work around not
13849 detecting signals with parameter widths. Reported by Alex Reed.
13850 (verilog-auto-delete-trailing-whitespace):
13851 With `verilog-auto-delete-trailing-whitespace' remove trailing
13852 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
13853 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
13854 Fix verilog-scan-cache corruption when running user AUTO expansion
13855 hooks that call indentation routines.
13856 (verilog-simplify-range-expression): Fix typo ignoring lower case
13857 identifiers.
13858 (verilog-delete-auto): Fix delete-autos to also remove user created
13859 automatics, as long as they start with AUTO.
13860 (verilog-batch-diff-auto, verilog-diff-auto)
13861 (verilog-diff-function): Add `verilog-diff-auto' and bind to
13862 "C-c?" to report differences in AUTO expansion, ignoring spaces.
13863 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
13864 (verilog-in-paren-quick, verilog-re-search-backward-quick)
13865 (verilog-re-search-forward-quick, verilog-syntax-ppss):
13866 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
13867 is disabled and its cache will get corrupt, causing AUTOS not to
13868 expand. Instead use only -quick functions.
13869 (verilog-scan-region): Fix scanning over escaped quotes.
13870 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
13871 (verilog-re-search-backward-quick)
13872 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
13873 related functions now ignore strings, to fix misparsing of strings
13874 with magic comments embedded in them.
13875 (verilog-read-auto-template):
13876 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
13877 Reported by Brad Dobbie.
13878 (verilog-read-auto-template):
13879 Fix 'verilog-auto-inst-template-numbers' with comments.
13880 Reported by Brad Dobbie.
13881 (verilog-auto-inst, verilog-auto-inst-param)
13882 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
13883 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
13884 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
13885 debugging templates without merge conflicts, bug357.
13886 Reported by Brad Dobbie.
13887 (verilog-read-auto-template):
13888 Fix verilog-auto-inst-template-numbers with multiple templates.
13889 Reported by Brad Dobbie.
13890 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
13891 abbrevs so user won't be asked to save.
13892 (verilog-read-auto-lisp-present): Fix to start at beginning of
13893 buffer in case called outside of verilog-auto.
13894 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
13895 to "X-2". Reported by Matthew Myers.
13896 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
13897 all inputs from module templates. Reported by Leith Johnson.
13898 (verilog-module-inside-filename-p): Fix locating programs as with
13899 modules.
13900 (verilog-auto-inst-port): Fix vl-width expressions when using
13901 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
13902 (verilog-decls-get-regs, verilog-decls-get-signals,
13903 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
13904 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
13905 verilog-read-decls): Combine reg and wire structures into one var
13906 structure to represent SystemVerilog concepts.
13907 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
13908 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
13909 (verilog-auto-wire-type, verilog-insert-definition):
13910 Add verilog-auto-wire-type and AUTOLOGIC to support using
13911 SystemVerilog "logic" keyword instead of "wire"/"reg".
13912 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
13913 to declares outputs that also have assignments (presumably in an
13914 ifdef or generate if so there's not a driver conflict).
13915 Reported by Matthew Myers.
13916 (verilog-auto-declare-nettype, verilog-insert-definition):
13917 Add verilog-auto-declare-nettype to fix declarations using
13918 `default_nettype none. Reported by Julian Gorfajn.
13919 (verilog-read-always-signals-recurse, verilog-read-decls)
13920 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
13921 malformed end statement, bug325. Reported by Joshua Wise and
13922 Andrew Drake.
13923 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
13924 (verilog-inst-comment-re): Fix not deleting Interfaced comment
13925 when expanding .* in interfaces, bug320.
13926 Reported by Pierre-David Pfister.
13927 (verilog-read-module-name): Fix import statements between module
13928 name and open parenthesis, bug317.
13929 Reported by Pierre-David Pfister.
13930 (verilog-simplify-range-expression): Fix simplification of
13931 multiplications inside AUTOWIRE connections, bug303.
13932 (verilog-auto-inst-port): Support parameter expansion in
13933 multidimensional arrays.
13934 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
13935 after "assert property". Reported by Julian Gorfajn.
13936 (verilog-simplify-range-expression): Fix "couldn't merge" errors
13937 with multiplication, bug303.
13938 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
13939 Reported by Jan Frode Lonnum.
13940
13941 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
13942
13943 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
13944 (hfy-shell-file-name, hfy-shell):
13945 * international/fontset.el (x-decompose-font-name): Fix typos.
13946
13947 2011-11-29 Ken Brown <kbrown@cornell.edu>
13948
13949 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
13950 (gdb-version): Remove defvar.
13951 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
13952 (gdb-gud-context-command, gdb-non-stop-handler)
13953 (gdb-current-context-command, gdb-stopped): Use it.
13954 (gdb-init-1): Enable pretty printing here.
13955 (gdb-non-stop-handler): Don't enable pretty-printing here.
13956 Check to see if the target supports non-stop mode; if not, turn off
13957 non-stop mode. Use the following.
13958 (gdb-check-target-async): New defun.
13959 (gud-watch, gdb-stopped): Fix whitespace.
13960 (gdb-get-source-file): Don't try to display the source file if
13961 `gdb-main-file' is nil.
13962
13963 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
13964
13965 * align.el: Try to generate fewer markers (bug#10047).
13966 (align--set-marker): New macro.
13967 (align-region): Use it.
13968
13969 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
13970
13971 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
13972
13973 2011-11-29 Chong Yidong <cyd@gnu.org>
13974
13975 * indent.el (indent-for-tab-command, indent-according-to-mode):
13976 Doc fix.
13977 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
13978
13979 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
13980
13981 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
13982 aware of remote file names. (Bug#10124)
13983
13984 2011-11-29 Chong Yidong <cyd@gnu.org>
13985
13986 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
13987
13988 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
13989
13990 * files.el (find-file): Don't use force-same-window (bug#10144).
13991 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
13992 use pop-to-buffer if the selected window can't be used.
13993 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
13994
13995 2011-11-28 Eli Zaretskii <eliz@gnu.org>
13996
13997 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
13998 special-mode-map.
13999
14000 2011-11-28 Chong Yidong <cyd@gnu.org>
14001
14002 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
14003
14004 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
14005
14006 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
14007 gdb-get-source-file-list on gdb-create-source-file-list.
14008
14009 2011-11-26 Eli Zaretskii <eliz@gnu.org>
14010
14011 * whitespace.el (whitespace-newline): Use a different foreground
14012 color for 16-color light-background displays.
14013
14014 2011-11-24 Chong Yidong <cyd@gnu.org>
14015
14016 * window.el (display-buffer--special-action): Doc fix.
14017
14018 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
14019
14020 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
14021 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
14022 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
14023 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
14024 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
14025 (avl-tree-stack-first):
14026 * emacs-lisp/cconv.el (cconv--analyse-use):
14027 * net/gnutls.el (gnutls-negotiate): Fix typos.
14028
14029 2011-11-24 Glenn Morris <rgm@gnu.org>
14030
14031 * lpr.el (lpr-windows-system, lpr-lp-system):
14032 * mail/binhex.el (binhex-begin-line):
14033 * progmodes/grep.el (grep-history, grep-find-history):
14034 * textmodes/flyspell.el:
14035 * vc/pcvs-defs.el (cvs-global-menu):
14036 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
14037 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
14038 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
14039
14040 * net/tls.el: Fix case of "GnuTLS".
14041
14042 * paths.el (rmail-file-name): Format doc-string for make-docfile.
14043
14044 * version.el (emacs-build-system): Give it a doc-string.
14045
14046 2011-11-24 Juri Linkov <juri@jurta.org>
14047
14048 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
14049
14050 2011-11-24 Glenn Morris <rgm@gnu.org>
14051
14052 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
14053 if called on a non-mime message just toggle the headers. (Bug#8006)
14054
14055 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
14056
14057 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
14058 (allout-lead-with-comment-string, allout-structure-deleted-hook)
14059 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
14060 (allout-rebullet-heading, allout-open-sibtopic)
14061 (allout-toggle-current-subtree-encryption)
14062 (allout-toggle-subtree-encryption, allout-encrypt-string)
14063 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
14064 (allout-distinctive-bullets-string, allout-auto-activation):
14065 * window.el (window-normalize-buffer-to-display):
14066 * progmodes/verilog-mode.el (verilog-batch-indent):
14067 * textmodes/bibtex.el (bibtex-field-braces-opt)
14068 (bibtex-field-strings-opt):
14069 * vc/cvs-status.el (cvs-tree-merge):
14070 Fix typos.
14071
14072 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
14073
14074 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
14075 `non-essential' to t, in order to avoid remote connections.
14076
14077 2011-11-23 Eli Zaretskii <eliz@gnu.org>
14078
14079 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
14080 On MS-DOS and MS-Windows, compare with loaddefs.el
14081 case-insensitively.
14082
14083 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
14084
14085 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
14086
14087 2011-11-23 Glenn Morris <rgm@gnu.org>
14088
14089 * paths.el (rmail-file-name): Reformat the doc-string so that it
14090 is picked up.
14091
14092 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
14093 (rmail-auto-file): Ignore case in the "special" field names,
14094 as mail-fetch-field does for all others.
14095
14096 * mail/rmail.el (rmail-forward):
14097 * mail/rmailkwd.el (rmail-set-label):
14098 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
14099 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
14100
14101 * mail/rmail.el (rmail-current-message): Doc fix.
14102
14103 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
14104
14105 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
14106
14107 * server.el (server-eval-and-print): Allow C-g (bug#6585).
14108
14109 2011-11-22 Glenn Morris <rgm@gnu.org>
14110
14111 * mail/rmailmm.el (test-rmail-mime-handler)
14112 (test-rmail-mime-bulk-handler)
14113 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
14114
14115 2011-11-21 Juri Linkov <juri@jurta.org>
14116
14117 * calc/calc.el (calc-read-key-sequence):
14118 Let-bind `input-method-function' to nil. (Bug#10018)
14119
14120 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14121
14122 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
14123 Tell the caller that the next line needs recomputation, even
14124 though it doesn't start a sexp (bug#10094).
14125
14126 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
14127
14128 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
14129
14130 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
14131
14132 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
14133 Use force-same-window.
14134
14135 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
14136
14137 * descr-text.el (describe-char-unicode-data):
14138 * json.el (json-string-escape):
14139 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
14140 (Footnote-unicode, Footnote-style-p):
14141 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
14142
14143 2011-11-20 Chong Yidong <cyd@gnu.org>
14144
14145 * window.el (replace-buffer-in-windows): Restore interactive spec.
14146
14147 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
14148
14149 * electric.el (electric-indent-mode): Fix last change (too optimistic).
14150
14151 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
14152 (byte-compile-global-not-obsolete-vars): New var.
14153 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
14154 Use it.
14155 (byte-compile-warn-obsolete): Align text with the one in *Help*.
14156
14157 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
14158
14159 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
14160 * progmodes/pascal.el (electric-pascal-equal):
14161 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
14162 * xml.el (xml-substitute-special): Fix typos.
14163
14164 2011-11-20 Glenn Morris <rgm@gnu.org>
14165
14166 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
14167 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
14168 Doc fixes.
14169 (rmail-decode-mime-charset): Mark as obsolete.
14170
14171 * mail/rmailsum.el (rmail-message-regexp-p-1):
14172 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
14173 Before using mime functions, check they are set. (Bug#10077)
14174
14175 2011-11-19 Juri Linkov <juri@jurta.org>
14176
14177 * info.el (Info-finder-find-node): Use `package--builtins' instead
14178 of `package-alist'. Use node names formed by the pattern "Keyword "
14179 and the keyword name.
14180
14181 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
14182
14183 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
14184
14185 2011-11-19 Juri Linkov <juri@jurta.org>
14186
14187 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
14188 that calls `revert-buffer' on all Info buffers. (Bug#9915)
14189 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
14190 `old-history', `old-history-forward'. Add let-binding
14191 `window-selected'. Remove calls to `kill-buffer',
14192 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
14193 before calling `Info-find-node', so `Info-find-node-2' will reread
14194 the Info file. Restore window positions only when `window-selected'
14195 is non-nil.
14196
14197 2011-11-19 Juri Linkov <juri@jurta.org>
14198
14199 * isearch.el (isearch-lazy-highlight-new-loop):
14200 Remove condition `(not isearch-error)'. (Bug#9918)
14201
14202 * misearch.el (multi-isearch-search-fun): Add condition
14203 `(not bound)' to ignore lazy-highlighting search.
14204 Add the search-failed message "end of multi" when the end of
14205 multi-sequence is reached. Uncapitalize the search-failed
14206 message "Repeat for next buffer".
14207
14208 * info.el (Info-search): Add the search-failed message
14209 "end of the manual" when the end of the manual is reached
14210 in Isearch mode.
14211
14212 2011-11-19 Juri Linkov <juri@jurta.org>
14213
14214 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
14215 Use non-destructive `remove' instead of `delete' because
14216 `Info-history-list' stored to `Info-isearch-initial-history-list' in
14217 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
14218
14219 2011-11-19 Juri Linkov <juri@jurta.org>
14220
14221 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
14222 to nil instead of binding `search-ring' and `regexp-search-ring'.
14223 (Bug#9185)
14224
14225 2011-11-19 Eli Zaretskii <eliz@gnu.org>
14226
14227 * simple.el (line-move): Force movement by logical lines for any
14228 hscrolled window, not only when auto-hscroll-mode is on.
14229 (line-move-visual): Update doc string to that effect. (Bug#10076)
14230
14231 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
14232
14233 * language/european.el (macintosh): Define as alias for mac-roman.
14234
14235 2011-11-19 Eli Zaretskii <eliz@gnu.org>
14236
14237 * mail/rmailmm.el (rmail-mime-display-header)
14238 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
14239 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
14240 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
14241 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
14242 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
14243 of a raw aref.
14244 (rmail-mime-entity-segment): To get past the tagline, move forward
14245 2 more lines, to account for the 2 empty lines that precede and
14246 follow the line with the buttons.
14247 (rmail-mime-update-tagline): Move one more line, to get past the
14248 empty line that follows the buttons in the tagline. (Bug#9520)
14249
14250 2011-11-19 Martin Rudalics <rudalics@gmx.at>
14251
14252 * window.el (window-max-delta-1, window-min-delta-1)
14253 (window-min-size-1, window-state-get-1, window-state-put-1)
14254 (window-state-put-2): Use "window--" prefix.
14255
14256 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
14257
14258 * emacs-lisp/smie.el: Improve warnings and conflict detection.
14259 (smie-warning-count): New var.
14260 (smie-set-prec2tab): Use it.
14261 (smie-bnf->prec2): Improve warnings. Add docstring.
14262 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
14263 (smie-bnf--set-class): New function.
14264 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
14265 corner case.
14266
14267 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
14268 (compilation-error-properties, compilation-move-to-column):
14269 Handle compilation-first-column while in the target buffer.
14270
14271 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
14272 Don't hardcode point-min==1.
14273
14274 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
14275 (eshell-rewrite-for-command): Remove workaround.
14276 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
14277 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
14278 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
14279
14280 * files-x.el (modify-file-local-variable): Obey commenting conventions.
14281
14282 2011-11-17 Glenn Morris <rgm@gnu.org>
14283
14284 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
14285 Ignore buffer-local generated-autoload-file if it is the same
14286 as the global value. (Bug#10049)
14287
14288 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
14289
14290 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
14291 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
14292 (reftex-toc-previous-heading, reftex-toc-max-level)
14293 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
14294 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
14295 (reftex-toc-do-promote, reftex-toc-promote-prepare)
14296 (reftex-toc-promote-action, reftex-toc-extract-section-number)
14297 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
14298 (reftex-toc-rename-label, reftex-toc-visit-location)
14299 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
14300 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
14301 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
14302 leaving "*toc*" only for references to the buffer.
14303
14304 2011-11-17 Martin Rudalics <rudalics@gmx.at>
14305
14306 * window.el (window-resize, delete-window, split-window):
14307 Replace window-splits by window-combination-resize.
14308 * cus-start.el (window-splits): Replace by window-combination-resize.
14309
14310 2011-11-17 Glenn Morris <rgm@gnu.org>
14311
14312 * progmodes/sh-script.el (sh-font-lock-keywords-var):
14313 Make bash entry derive from sh entry, not shell entry.
14314
14315 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
14316
14317 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
14318 local file name.
14319
14320 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
14321
14322 * menu-bar.el (menu-bar-file-menu):
14323 * printing.el (pr-ps-utility):
14324 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
14325 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
14326 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
14327 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
14328 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
14329 (icalendar--convert-cyclic-to-ical)
14330 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
14331 (icalendar--convert-ical-to-diary)
14332 (icalendar--convert-recurring-to-diary)
14333 (icalendar--convert-non-recurring-all-day-to-diary)
14334 (icalendar-import-format-sample):
14335 * progmodes/idlw-shell.el (idlwave-shell-mode):
14336 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
14337 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
14338 (vhdl-ps-print-init): Fix typos.
14339
14340 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
14341
14342 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
14343 FSF and collapse date sequence, obscure author/maintainer email address
14344 better, remove extra version line, track relocation of author's webpage.
14345
14346 * progmodes/python.el (python-pdbtrack-input-prompt)
14347 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
14348 regular python pdb prompts. Adjustments shamelessly taken exactly as
14349 suggested in EmacsWiki page (tiny change):
14350 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
14351
14352 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
14353
14354 * expand.el (expand-pos, expand-index, expand-point):
14355 Remove redundant info from docstring.
14356 (expand-add-abbrevs): Doc fix.
14357 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
14358 (expand-sample-perl-mode-expand-list): Fix typos.
14359
14360 * net/dbus.el (dbus-event-member-name):
14361 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
14362 * term/pc-win.el (msdos-create-frame-with-faces):
14363 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
14364
14365 2011-11-16 Martin Rudalics <rudalics@gmx.at>
14366
14367 * window.el (split-window, window-state-get-1)
14368 (window-state-put-1, window-state-put-2): Rename occurrences of
14369 window-nest to window-combination-limit.
14370 * cus-start.el (window-nest): Rename to window-combination-limit.
14371
14372 2011-11-16 Chong Yidong <cyd@gnu.org>
14373
14374 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
14375 regexp (Bug#10033).
14376
14377 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
14378
14379 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
14380 `completing-read' will remove *Completions* and will preserve
14381 current-buffer for us.
14382 (tmm-add-prompt): Users of *Completions* will always (re)set its
14383 major mode.
14384 (tmm-old-comp-map): Remove.
14385
14386 2011-11-16 Glenn Morris <rgm@gnu.org>
14387
14388 * mail/rmailedit.el: Require rmailmm when compiling.
14389 (rmail-old-mime-state): New declaration.
14390 (rmail-edit-current-message): If editing a mime message,
14391 edit the "raw" message from the mbox buffer.
14392 (rmail-cease-edit): Handle mime messages. (Bug#9840)
14393
14394 2011-11-15 Glenn Morris <rgm@gnu.org>
14395
14396 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
14397 which wasn't being used. Add optional arg to force given state.
14398 (rmail-mime): Add optional arg to force given state.
14399
14400 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
14401
14402 * allout.el (allout-encryption-plaintext-sanitization-regexps):
14403 * frame.el (display-mm-dimensions-alist):
14404 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
14405 (outline-move-subtree-down):
14406 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
14407 (newsticker--treeview-do-get-node):
14408 * net/quickurl.el (quickurl-list-buffer-name):
14409 * progmodes/dcl-mode.el (dcl-mode):
14410 * progmodes/gdb-mi.el (gdb-mapcar*):
14411 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
14412
14413 2011-11-15 Glenn Morris <rgm@gnu.org>
14414
14415 * mail/rmail.el (rmail-file-coding-system): It's only ever used
14416 in a boolean sense, so just make it a boolean, and fix the doc.
14417 (rmail-show-mime-function, rmail-mime-feature)
14418 (rmail-require-mime-maybe): Doc fixes.
14419 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
14420
14421 * mail/rmailmm.el (rmail-show-mime): Doc fix.
14422
14423 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
14424
14425 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
14426 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
14427 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
14428 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
14429
14430 2011-11-15 Glenn Morris <rgm@gnu.org>
14431
14432 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
14433 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
14434 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
14435 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
14436 (rmail-mime, rmail-show-mime): Doc fixes.
14437
14438 * term/ns-win.el (mode-line-frame-identification):
14439 Leave it alone. (Bug#10051)
14440
14441 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
14442
14443 * mail/rmailout.el (rmail-output-to-rmail-buffer):
14444 Handle empty buffers. (Bug#9978)
14445
14446 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
14447
14448 * international/mule.el (define-charset):
14449 * mail/rmailmm.el (rmail-mime-find-header-encoding):
14450 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
14451 * progmodes/verilog-mode.el (verilog-backward-token):
14452 * textmodes/ispell.el (lookup-words):
14453 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
14454
14455 2011-11-14 Glenn Morris <rgm@gnu.org>
14456
14457 * progmodes/executable.el
14458 (executable-make-buffer-file-executable-if-script-p):
14459 Handle file-modes returning nil.
14460
14461 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
14462 message - not necessary, and causes problems. (Bug#9831)
14463
14464 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
14465
14466 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
14467
14468 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
14469 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
14470 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
14471
14472 2011-11-12 Martin Rudalics <rudalics@gmx.at>
14473
14474 * window.el (window-resize, delete-window): Use window-splits
14475 variable instead of function.
14476 (window-state-get-1, window-state-put-2, window-state-put):
14477 Don't deal with windows' splits status.
14478
14479 2011-11-12 Glenn Morris <rgm@gnu.org>
14480
14481 * apropos.el (apropos-do-all, apropos-library, apropos-value)
14482 (apropos-documentation): Doc fixes.
14483
14484 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
14485
14486 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
14487 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
14488
14489 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
14490
14491 * electric.el (electric-indent-post-self-insert-function): Make it
14492 possible for a char to only indent in some circumstances.
14493 (electric-indent-mode): Simplify.
14494
14495 2011-11-11 Martin Rudalics <rudalics@gmx.at>
14496
14497 * window.el (windows-with-parameter): Remove unused function.
14498 (windows-at-side): Rename to window-at-side-list.
14499 (window-check, window-atom-check, window-atom-check-1)
14500 (window-side-check, window-size-ignore, window-size-fixed-1)
14501 (window-in-direction-2): Prefix with "window--".
14502 (window-tree-1): Rename to window--subtree, fix doc-string.
14503
14504 2011-11-11 Glenn Morris <rgm@gnu.org>
14505
14506 * subr.el (eval-after-load): If FILE is already loaded,
14507 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
14508
14509 2011-11-10 Glenn Morris <rgm@gnu.org>
14510
14511 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
14512 Call svn via vc-svn-command rather than vc-do-command.
14513 (vc-svn-command): Add --non-interactive. (Bug#9993)
14514 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
14515
14516 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14517 Add toggle-read-only. (Bug#7292)
14518 * files.el (toggle-read-only): Mention that it should only
14519 be used interactively. (Bug#10006)
14520
14521 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
14522
14523 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14524 Adjust regexp for OCaml warnings.
14525
14526 * electric.el (electric-pair-post-self-insert-function): Let user
14527 turn it off buffer-locally (bug#9932).
14528
14529 * progmodes/python.el (python-beginning-of-statement):
14530 Rewrite (bug#2703).
14531
14532 * progmodes/compile.el: Better handle TABs (bug#9749).
14533 (compilation-internal-error-properties)
14534 (compilation-next-error-function): Obey the target buffer's
14535 compilation-error-screen-columns.
14536
14537 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
14538
14539 * progmodes/meta-mode.el: Remove obsolete comments.
14540 (meta-right-comment-regexp, meta-ignore-comment-regexp):
14541 Fix typos in docstrings.
14542
14543 2011-11-09 Martin Rudalics <rudalics@gmx.at>
14544
14545 * window.el (window-size-fixed-p): Rewrite doc-string.
14546 (window-resizable-p): Rename to window--resizable-p. Update callers.
14547 (window--resizable): New function. Make all callers of
14548 window-resizable call window--resizable instead.
14549 (window-resizable): Rewrite in terms of window--resizable.
14550
14551 2011-11-08 Glenn Morris <rgm@gnu.org>
14552
14553 * progmodes/delphi.el (delphi-mode-syntax-table):
14554 Let define-derived-mode define a proper syntax table. (Bug#9994)
14555
14556 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
14557
14558 * window.el: Stay away from defsubst.
14559 (window-list-no-nils): Remove.
14560 (window-state-get-1, window-state-get): Use backquote instead.
14561
14562 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14563
14564 * emacs-lisp/find-func.el (find-function-read):
14565 Fix incorrect use of default argument in `completing-read'.
14566
14567 2011-11-08 Martin Rudalics <rudalics@gmx.at>
14568
14569 * window.el (display-buffer-function, special-display-function):
14570 Mention display-buffer-record-window but do not mention
14571 help-setup parameter in doc-strings.
14572 (window-min-delta): Fix doc-string typo.
14573
14574 2011-11-08 Chong Yidong <cyd@gnu.org>
14575
14576 * window.el (window-total-height, window-total-width): Doc fix.
14577 (window-body-size): Move from C.
14578 (window-body-height, window-body-width): Move to C.
14579
14580 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
14581
14582 * window.el: Make special-display like display-buffer-alist (bug#9532).
14583 (display-buffer--special-action): New function, morphed
14584 from display-buffer--special.
14585 (display-buffer): Use it to handle special-display-buffers at higher
14586 priority (just after display-buffer-alist).
14587 (display-buffer-fallback-action, display-buffer--other-frame-action)
14588 (pop-to-buffer-same-window): Remove display-buffer--special.
14589
14590 2011-11-07 Glenn Morris <rgm@gnu.org>
14591
14592 * calendar/cal-menu.el (cal-menu-set-date-title):
14593 Do nothing if not in a calendar. (Bug#9976)
14594
14595 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
14596
14597 * files.el (find-file): Always use selected-window.
14598
14599 2011-11-07 Martin Rudalics <rudalics@gmx.at>
14600
14601 * window.el (window-combinations): Make WINDOW argument
14602 mandatory. Rewrite doc-string.
14603 (walk-window-subtree, window-atom-check, window-min-delta)
14604 (window-max-delta, window--resize-this-window)
14605 (window--resize-root-window-vertically, window-tree)
14606 (balance-windows, window-state-put): Rewrite doc-strings as to
14607 not mention the term "subwindow".
14608 (window--resize-subwindows-skip-p): Rename to
14609 window--resize-child-windows-skip-p.
14610 (window--resize-subwindows-normal): Rename to
14611 window--resize-child-windows-normal.
14612 (window--resize-subwindows): Rename to
14613 window--resize-child-windows.
14614 (window-or-subwindow-p): Rename to window--in-subtree-p.
14615
14616 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
14617
14618 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
14619 Ensure that mbox format messages end in two newlines (Bug#9974).
14620
14621 2011-11-06 Chong Yidong <cyd@gnu.org>
14622
14623 * window.el (window-combination-p): Function deleted; its
14624 side-effect is not used in any existing code.
14625 (window-combinations, window-combined-p): Call window-*-child
14626 directly.
14627
14628 2011-11-05 Chong Yidong <cyd@gnu.org>
14629
14630 * window.el (window-valid-p): Rename from window-any-p.
14631 (window-size-ignore, window-state-get): Callers changed.
14632 (window-normalize-window): Rename from window-normalize-any-window.
14633 New arg LIVE-ONLY, replacing window-normalize-live-window.
14634 (window-normalize-live-window): Delete.
14635 (window-combination-p, window-combined-p, window-combinations)
14636 (walk-window-subtree, window-atom-root, window-min-size)
14637 (window-sizable, window-sizable-p, window-size-fixed-p)
14638 (window-min-delta, window-max-delta, window-resizable)
14639 (window-resizable-p, window-full-height-p, window-full-width-p)
14640 (window-current-scroll-bars, window-point-1, set-window-point-1)
14641 (window-at-side-p, window-in-direction, window-resize)
14642 (adjust-window-trailing-edge, maximize-window, minimize-window)
14643 (window-deletable-p, delete-window, delete-other-windows)
14644 (record-window-buffer, unrecord-window-buffer)
14645 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
14646 (quit-window, split-window, window-state-put)
14647 (set-window-text-height, fit-window-to-buffer)
14648 (shrink-window-if-larger-than-buffer): Callers changed.
14649
14650 2011-11-04 Eli Zaretskii <eliz@gnu.org>
14651
14652 * mail/rmail.el (rmail-simplified-subject): Decode subject with
14653 rfc2047-decode-string.
14654 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
14655 warnings.
14656
14657 * window.el (window-body-height, window-body-width): Mention in
14658 the doc string that the return values are in frame's canonical
14659 units. (Bug#9949)
14660
14661 2011-11-03 Alan Mackenzie <acm@muc.de>
14662
14663 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
14664 change in cc-engine.el.
14665
14666 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
14667
14668 * window.el (switch-to-buffer): Use `force-same-window' interactively.
14669
14670 2011-11-02 Martin Rudalics <rudalics@gmx.at>
14671
14672 * window.el (quit-window): Call unrecord-window-buffer after
14673 showing another buffer in the window. (Bug#9937)
14674 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
14675
14676 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
14677
14678 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
14679 Accept status with more than 9 shelves. (Bug#9935)
14680 Reported by Colin D Bennett <colin@gibibit.com>.
14681
14682 2011-11-01 Martin Rudalics <rudalics@gmx.at>
14683
14684 * help.el (with-help-window): Don't reference
14685 temp-buffer-show-specifiers in doc-string.
14686
14687 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
14688
14689 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
14690 menu-item.
14691
14692 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14693
14694 * whitespace.el: New version 13.2.2.
14695 (whitespace-newline-mode): Disable properly. Reported by Sarah
14696 <EmacsWiki>.
14697
14698 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
14699
14700 * net/newst-treeview.el: Remove "Time-stamp".
14701 (newsticker--group-manage-orphan-feeds): Do not call
14702 newsticker--treeview-tree-update.
14703 (newsticker-treeview-update, newsticker-treeview):
14704 Call newsticker--treeview-tree-update if necessary.
14705
14706 2011-10-30 Martin Rudalics <rudalics@gmx.at>
14707
14708 * window.el (window-iso-combination-p, window-iso-combined-p)
14709 (window-iso-combinations): Remove "iso-" infix.
14710 Suggested by Chong Yidong.
14711 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
14712 (window-max-delta-1, window-resize, window--resize-siblings)
14713 (window--resize-this-window, adjust-window-trailing-edge)
14714 (split-window, balance-windows-1)
14715 (shrink-window-if-larger-than-buffer):
14716 * calendar/calendar.el (calendar-generate-window):
14717 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
14718
14719 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
14720
14721 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
14722 in place (bug#9907).
14723 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
14724 (eshell-rewrite-if-command, eshell-rewrite-for-command)
14725 (eshell-structure-basic-command, eshell-rewrite-while-command)
14726 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
14727 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
14728 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
14729 (eshell-do-pipelines-synchronously, eshell-eval-command):
14730 Use backquotes and prefer setq to set.
14731 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
14732 (eshell-macrop): Use functionp.
14733 (eshell-do-eval): Handle multiple expressions in `while' body.
14734
14735 2011-10-30 Chong Yidong <cyd@gnu.org>
14736
14737 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
14738 instead of set-mark (Bug#9810).
14739
14740 2011-10-30 Chong Yidong <cyd@gnu.org>
14741
14742 * window.el (split-window-below, split-window-right): Rename from
14743 split-window-above-each-other and split-window-side-by-side
14744 respectively. All callers changed.
14745 (split-window-sensibly, split-window-sensibly): Use them.
14746 (split-window-keep-point): Doc fix.
14747
14748 * isearch.el: Add isearch-scroll property to split-window-below
14749 and split-window-right.
14750
14751 * follow.el (follow-mode):
14752 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
14753 * progmodes/ada-xref.el (ada-gdb-application):
14754 * emulation/vip.el (vip-buffer-in-two-windows):
14755 * image-dired.el (image-dired-dired-with-window-configuration):
14756 * dired-x.el (dired-do-find-marked-files):
14757 * dired.el (dired-pop-to-buffer):
14758 * bs.el (bs--show-with-configuration):
14759 * vc/emerge.el (emerge-setup-windows):
14760 * textmodes/two-column.el (2C-two-columns):
14761 * textmodes/reftex-toc.el (reftex-toc):
14762 * progmodes/gdb-mi.el (gdb-setup-windows):
14763 * progmodes/fortran.el (fortran-window-create):
14764 * net/newst-treeview.el (newsticker--treeview-window-init):
14765 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
14766 * emulation/tpu-edt.el (tpu-gold-map):
14767 * emulation/crisp.el (crisp-mode-map):
14768 * calendar/calendar.el (calendar-basic-setup): Callers changed.
14769
14770 2011-10-29 Chong Yidong <cyd@gnu.org>
14771
14772 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
14773
14774 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
14775
14776 * textmodes/flyspell.el (flyspell-word): Fix char offset for
14777 forged Ispell output (Bug#7904).
14778
14779 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
14780
14781 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14782
14783 * doc-view.el: Avoid ugly errors about not finding nil.
14784 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
14785 (doc-view-dvipdf-program, doc-view-unoconv-program)
14786 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
14787 Avoid nil or absolute file name as default value.
14788 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
14789
14790 2011-10-28 Alan Mackenzie <acm@muc.de>
14791
14792 * progmodes/cc-defs.el (c-version): -> 5.32.2.
14793
14794 2011-10-28 Alan Mackenzie <acm@muc.de>
14795
14796 Amend the handling of c-beginning/end-of-defun in nested declaration
14797 scopes.
14798
14799 * progmodes/cc-vars.el (c-defun-tactic): Move here from
14800 cc-langs.el. Change it to a defcustom.
14801
14802 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
14803 cc-vars.el.
14804
14805 * progmodes/cc-engine.el (c-beginning-of-statement-1):
14806 Prevent "class foo : bar" being spuriously recognized as a label.
14807
14808 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
14809 Add parameter `inclusive' (to include enclosing braces in the region).
14810 (c-widen-to-enclosing-decl-scope): New function.
14811 (c-while-widening-to-decl-block): New macro.
14812 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
14813 outward for defun boundaries, and correspondingly change symbol
14814 `respect-enclosure' to `go-outward'.
14815 (c-declaration-limits): Change algorithm to report only the "innermost"
14816 defun's boundaries.
14817
14818 2011-10-28 Deniz Dogan <deniz@dogan.se>
14819
14820 * net/rcirc.el (rcirc-mode): Use hard newlines.
14821
14822 2011-10-28 Alan Mackenzie <acm@muc.de>
14823
14824 Amend to indent and fontify macros "which include their own semicolon"
14825 correctly, using the "virtual semicolon" mechanism.
14826
14827 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
14828
14829 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
14830 Recode to scan one line at a time rather than having \n and \r
14831 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
14832 (c-forward-label): Amend for virtual semicolons.
14833 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
14834
14835 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
14836 of the new C macros.
14837
14838 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
14839 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
14840 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
14841 (c-opt-cpp-macro-define): Make into a full language variable.
14842 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
14843 AWK Mode (including \n, \r) removed, no longer needed.
14844
14845 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
14846 Invoke c-make-macro-with-semi-re.
14847
14848 * progmodes/cc-vars.el (c-macro-with-semi-re):
14849 (c-macro-names-with-semicolon): New variables.
14850 (c-make-macro-with-semi-re): New function.
14851
14852 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14853
14854 * vc/log-edit.el: Fill empty field rather than adding new one.
14855 (log-edit-add-field): New function.
14856 (log-edit-insert-changelog): Use it.
14857
14858 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
14859
14860 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
14861
14862 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14863
14864 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
14865 (gdb--check-interpreter): New function.
14866 (gdb): Use it.
14867
14868 2011-10-27 Glenn Morris <rgm@gnu.org>
14869
14870 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
14871 (least-positive-float, least-negative-float)
14872 (least-positive-normalized-float, least-negative-normalized-float)
14873 (float-epsilon, float-negative-epsilon):
14874 Remove unnecessary declarations.
14875
14876 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
14877 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
14878 (least-positive-float, least-negative-float)
14879 (least-positive-normalized-float, least-negative-normalized-float)
14880 (float-epsilon, float-negative-epsilon): Add doc-strings,
14881 based on those in cl.texi.
14882
14883 * files.el (set-visited-file-name): If the major-mode changed,
14884 reload the local variables. (Bug#9796)
14885
14886 2011-10-27 Chong Yidong <cyd@gnu.org>
14887
14888 * subr.el (change-major-mode-after-body-hook): New hook.
14889 (run-mode-hooks): Run it.
14890
14891 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14892 Use change-major-mode-before-body-hook.
14893
14894 * simple.el (fundamental-mode):
14895 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
14896 change introducing fundamental-mode-hook.
14897
14898 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
14899
14900 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
14901
14902 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
14903
14904 * ido.el (ido-file-name-all-completions-1): Do not require
14905 tramp.el explicitly. (Bug#7583)
14906
14907 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
14908
14909 * progmodes/octave-mod.el:
14910 * progmodes/octave-inf.el: Update maintainer.
14911
14912 2011-10-26 Chong Yidong <cyd@gnu.org>
14913
14914 * subr.el (with-wrapper-hook): Rewrite doc.
14915
14916 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
14917
14918 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
14919 filenames "/method:foo:". (Bug#9793)
14920
14921 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
14922
14923 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
14924 (bug#9865).
14925
14926 2011-10-24 Glenn Morris <rgm@gnu.org>
14927
14928 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
14929
14930 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
14931
14932 * notifications.el: Add the requirement of a running D-Bus session
14933 bus to the Commentary.
14934
14935 2011-10-24 Juri Linkov <juri@jurta.org>
14936
14937 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
14938 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
14939 (Bug#9364)
14940
14941 2011-10-24 Juri Linkov <juri@jurta.org>
14942
14943 * info.el (Info-following-node-name-re): Add newline to the list
14944 of allowed characters for leading space. (Bug#9824)
14945
14946 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
14947
14948 * progmodes/octave-inf.el (inferior-octave-mode-map):
14949 Fix C-c C-h binding.
14950 * progmodes/octave-mod.el (octave-help): Remove.
14951
14952 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
14953
14954 Sync with Tramp 2.2.3.
14955
14956 * net/tramp-cache.el (top): Pacify byte-compiler using
14957 `init-file-user' and `site-run-file'.
14958
14959 * net/trampver.el: Update release number.
14960
14961 2011-10-23 Chong Yidong <cyd@gnu.org>
14962
14963 * files.el (toggle-read-only): Remove obsolete comment about
14964 version control.
14965
14966 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
14967 for toggle-read-only. Note that this hasn't called vc-next-action
14968 since 2008-05-02, though it wasn't documented at the time.
14969
14970 * vc/ediff-init.el (ediff-toggle-read-only-function):
14971 Use toggle-read-only.
14972
14973 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
14974
14975 Fix bug #9560, sporadic wrong indentation; improve instrumentation
14976 of c-parse-state.
14977
14978 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
14979 correct faulty logical expression.
14980 (c-parse-state-state, c-record-parse-state-state):
14981 (c-replay-parse-state-state): New defvar/defuns.
14982 (c-debug-parse-state): Use new functions.
14983
14984 2011-10-22 Martin Rudalics <rudalics@gmx.at>
14985
14986 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
14987 last fix. Use window-in-direction correctly.
14988
14989 2011-10-21 Chong Yidong <cyd@gnu.org>
14990
14991 * progmodes/idlwave.el (idlwave-mode):
14992 * progmodes/vera-mode.el (vera-mode): No need to set
14993 require-final-newline; that's done in prog-mode.
14994 Suggested by Stefan Monnier.
14995
14996 2011-10-21 Martin Rudalics <rudalics@gmx.at>
14997
14998 * mouse.el (mouse-drag-window-above)
14999 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
15000 (mouse-drag-mode-line-1, mouse-drag-header-line)
15001 (mouse-drag-vertical-line-rightward-window): Remove.
15002 (mouse-drag-line): New function.
15003 (mouse-drag-mode-line, mouse-drag-header-line)
15004 (mouse-drag-vertical-line): Call mouse-drag-line.
15005 * window.el (window-at-side-p, windows-at-side): New functions.
15006
15007 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
15008
15009 * tar-mode.el (tar-grind-file-mode):
15010 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
15011
15012 2011-10-21 Chong Yidong <cyd@gnu.org>
15013
15014 * progmodes/idlwave.el (idlwave-mode):
15015 * progmodes/vera-mode.el (vera-mode):
15016 Use mode-require-final-newline.
15017
15018 2011-10-20 Glenn Morris <rgm@gnu.org>
15019
15020 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
15021
15022 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
15023
15024 * emulation/cua-base.el (cua-set-mark): Fix case of string.
15025
15026 2011-10-20 Chong Yidong <cyd@gnu.org>
15027
15028 * emulation/cua-base.el (cua-mode):
15029 * mail/footnote.el (footnote-mode):
15030 * mail/mailabbrev.el (mail-abbrevs-mode):
15031 * net/xesam.el (xesam-minor-mode):
15032 * progmodes/bug-reference.el (bug-reference-mode):
15033 * progmodes/cap-words.el (capitalized-words-mode):
15034 * progmodes/compile.el (compilation-minor-mode)
15035 (compilation-shell-minor-mode):
15036 * progmodes/gud.el (gud-tooltip-mode):
15037 * progmodes/hideif.el (hide-ifdef-mode):
15038 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
15039 * progmodes/subword.el (subword-mode):
15040 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
15041 * progmodes/which-func.el (which-function-mode):
15042 * term/tvi970.el (tvi970-set-keypad-mode):
15043 * term/vt100.el (vt100-wide-mode):
15044 * textmodes/flyspell.el (flyspell-mode):
15045 * textmodes/ispell.el (ispell-minor-mode):
15046 * textmodes/nroff-mode.el (nroff-electric-mode):
15047 * textmodes/paragraphs.el (use-hard-newlines):
15048 * textmodes/refill.el (refill-mode):
15049 * textmodes/reftex.el (reftex-mode):
15050 * textmodes/rst.el (rst-minor-mode):
15051 * textmodes/sgml-mode.el (html-autoview-mode)
15052 (sgml-electric-tag-pair-mode):
15053 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
15054 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
15055 * emulation/crisp.el (crisp-mode):
15056 * emacs-lisp/eldoc.el (eldoc-mode):
15057 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
15058 minor mode behavior.
15059
15060 2011-10-19 Juri Linkov <juri@jurta.org>
15061
15062 * descr-text.el (describe-char): Add #x2010 and #x2011 to
15063 the list of hard-coded chars with escape-glyph face.
15064
15065 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
15066
15067 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
15068
15069 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
15070
15071 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
15072 running process.
15073
15074 2011-10-19 Glenn Morris <rgm@gnu.org>
15075
15076 * vc/vc-bzr.el (vc-bzr-after-dir-status):
15077 Ignore ignored files. (Bug#9726)
15078
15079 2011-10-19 Chong Yidong <cyd@gnu.org>
15080
15081 Doc fix for minor modes, stating that an omitted argument enables
15082 the mode unconditionally when called from Lisp.
15083
15084 * abbrev.el (abbrev-mode):
15085 * allout.el (allout-mode):
15086 * autoinsert.el (auto-insert-mode):
15087 * autoarg.el (autoarg-mode, autoarg-kp-mode):
15088 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
15089 (global-auto-revert-mode):
15090 * battery.el (display-battery-mode):
15091 * composite.el (global-auto-composition-mode)
15092 (auto-composition-mode):
15093 * delsel.el (delete-selection-mode):
15094 * desktop.el (desktop-save-mode):
15095 * dired-x.el (dired-omit-mode):
15096 * dirtrack.el (dirtrack-mode):
15097 * doc-view.el (doc-view-minor-mode):
15098 * double.el (double-mode):
15099 * electric.el (electric-indent-mode, electric-pair-mode):
15100 * emacs-lock.el (emacs-lock-mode):
15101 * epa-hook.el (auto-encryption-mode):
15102 * follow.el (follow-mode):
15103 * font-core.el (font-lock-mode):
15104 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
15105 * help.el (temp-buffer-resize-mode):
15106 * hilit-chg.el (highlight-changes-mode)
15107 (highlight-changes-visible-mode):
15108 * hi-lock.el (hi-lock-mode):
15109 * hl-line.el (hl-line-mode, global-hl-line-mode):
15110 * icomplete.el (icomplete-mode):
15111 * ido.el (ido-everywhere):
15112 * image-file.el (auto-image-file-mode):
15113 * image-mode.el (image-minor-mode):
15114 * iswitchb.el (iswitchb-mode):
15115 * jka-cmpr-hook.el (auto-compression-mode):
15116 * linum.el (linum-mode):
15117 * longlines.el (longlines-mode):
15118 * master.el (master-mode):
15119 * mb-depth.el (minibuffer-depth-indicate-mode):
15120 * menu-bar.el (menu-bar-mode):
15121 * minibuf-eldef.el (minibuffer-electric-default-mode):
15122 * mouse-sel.el (mouse-sel-mode):
15123 * msb.el (msb-mode):
15124 * mwheel.el (mouse-wheel-mode):
15125 * outline.el (outline-minor-mode):
15126 * paren.el (show-paren-mode):
15127 * recentf.el (recentf-mode):
15128 * reveal.el (reveal-mode, global-reveal-mode):
15129 * rfn-eshadow.el (file-name-shadow-mode):
15130 * ruler-mode.el (ruler-mode):
15131 * savehist.el (savehist-mode):
15132 * scroll-all.el (scroll-all-mode):
15133 * scroll-bar.el (scroll-bar-mode):
15134 * server.el (server-mode):
15135 * shell.el (shell-dirtrack-mode):
15136 * simple.el (auto-fill-mode, transient-mark-mode)
15137 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
15138 (line-number-mode, column-number-mode, size-indication-mode)
15139 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
15140 * strokes.el (strokes-mode):
15141 * time.el (display-time-mode):
15142 * t-mouse.el (gpm-mouse-mode):
15143 * tool-bar.el (tool-bar-mode):
15144 * tooltip.el (tooltip-mode):
15145 * type-break.el (type-break-mode-line-message-mode)
15146 (type-break-query-mode):
15147 * view.el (view-mode):
15148 * whitespace.el (whitespace-mode, whitespace-newline-mode)
15149 (global-whitespace-mode, global-whitespace-newline-mode):
15150 * xt-mouse.el (xterm-mouse-mode): Doc fix.
15151
15152 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
15153 Fix autogenerated docstring.
15154
15155 2011-10-19 Juri Linkov <juri@jurta.org>
15156
15157 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
15158 by checking environment variables "DESKTOP_SESSION" and
15159 "XDG_CURRENT_DESKTOP". (Bug#9779)
15160
15161 2011-10-19 Juri Linkov <juri@jurta.org>
15162
15163 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
15164 (browse-url-chromium-program, browse-url-chromium-arguments):
15165 New defcustoms.
15166 (browse-url-default-browser): Check for `browse-url-chromium' and
15167 call `browse-url-chromium-program'.
15168 (browse-url-chromium): New command. (Bug#9779)
15169
15170 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
15171
15172 * facemenu.el (list-colors-duplicates): On Windows, detect more
15173 duplicates by assuming that only colors matching "^System" are
15174 special "system colors". (Bug#9722)
15175
15176 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
15177
15178 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
15179 to distinguish the author from the committer.
15180
15181 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
15182
15183 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
15184
15185 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
15186
15187 * international/mule.el (sgml-html-meta-auto-coding-function):
15188 Add support for detecting encoding in HTML5 specified only as
15189 <meta charset="UTF-8">. Implementation just makes http-equiv and
15190 content-type parts from HTML4 encoding string optional. (Bug#9716)
15191
15192 2011-10-18 Glenn Morris <rgm@gnu.org>
15193
15194 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
15195
15196 2011-10-18 Chong Yidong <cyd@gnu.org>
15197
15198 * faces.el (cursor): Doc fix.
15199
15200 2011-10-17 Chong Yidong <cyd@gnu.org>
15201
15202 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
15203
15204 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
15205
15206 * dirtrack.el (dirtrack): Support shell buffers with path
15207 prefixes, e.g. tramp-based remote shells. (Bug#9647)
15208
15209 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
15210
15211 * json.el: Bump version to 1.3 and note change in History.
15212 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
15213
15214 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
15215
15216 * comint.el (comint-insert-input, comint-send-input)
15217 (comint-get-old-input-default, comint-backward-matching-input)
15218 (comint-next-prompt): Use nil instead of `input' for field property of
15219 past user input (bug#114).
15220
15221 * minibuffer.el (completion--replace): Inherit surrounding properties
15222 (bug#114).
15223 (minibuffer-complete-and-exit): Use it.
15224
15225 * comint.el (comint--table-subvert): Quote the all-completions output
15226 (bug#9160).
15227
15228 2011-10-17 Martin Rudalics <rudalics@gmx.at>
15229
15230 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
15231
15232 * menu-bar.el (menu-bar-file-menu): Add entry for making new
15233 window on right of selected. (Bug#9350) Reword other window
15234 entries and separate them from frame entries.
15235
15236 2011-10-15 Glenn Morris <rgm@gnu.org>
15237
15238 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
15239 Doc fixes.
15240
15241 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
15242
15243 * net/network-stream.el (network-stream-open-starttls):
15244 Improve detection of failure due to lack of TLS support.
15245
15246 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
15247 putting the input text in front and in bold.
15248
15249 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
15250
15251 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
15252
15253 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
15254 empty buffer.
15255
15256 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
15257 unread-command-events rather than pushing yet-another event.
15258
15259 2011-10-14 Eli Zaretskii <eliz@gnu.org>
15260
15261 * mail/sendmail.el (sendmail-query-once): Improve the wording of
15262 the explanation of the possible choices. Make the options passed
15263 to completing-read shorter.
15264
15265 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15266
15267 * textmodes/flyspell.el (flyspell-large-region): Make sure
15268 extended character mode is used if defined (Bug#1339).
15269
15270 2011-10-13 Eli Zaretskii <eliz@gnu.org>
15271
15272 * simple.el (what-cursor-position): Fix the display of the
15273 character info for LRE, LRO, RLE, and RLO characters by appending
15274 an invisible PDF.
15275
15276 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
15277
15278 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
15279 even in case of error; add debug spec; simplify data flow.
15280 (with-timeout-handler): Remove.
15281
15282 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
15283
15284 Fix Bug#6019, Bug#9315.
15285
15286 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
15287 complete `buffer-file-name', the local file name part could look
15288 remotely (for example on VMS).
15289
15290 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
15291 `tramp-run-real-handler'.
15292 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
15293 already quoted by '"'.
15294
15295 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
15296 Let `file-name-handler-alist' be nil, the local file name part
15297 could look remotely (for example on VMS).
15298
15299 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
15300
15301 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
15302 from here...
15303 (flyspell-post-command-hook): ...to here.
15304
15305 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
15306
15307 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
15308 if not needed.
15309 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
15310 using completion. Protect against "slow" callers.
15311 Remove the "message hack".
15312
15313 2011-10-11 Juri Linkov <juri@jurta.org>
15314
15315 * isearch.el (isearch-lazy-highlight-word): New variable.
15316 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
15317 Use it. (Bug#9727)
15318
15319 2011-10-11 Glenn Morris <rgm@gnu.org>
15320
15321 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
15322 like f90-previous-statement does.
15323
15324 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15325
15326 * eshell/eshell.el (eshell-command): History should be saved
15327 only in interactive use, to avoid error.
15328
15329 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
15330
15331 * minibuffer.el (completion-file-name-table): Fix last change,
15332 i.e. ignore normal errors but not the other ones.
15333
15334 2011-10-10 Martin Rudalics <rudalics@gmx.at>
15335
15336 * window.el (special-display-buffer-names)
15337 (special-display-regexps): Remove some remnants of earlier
15338 changes from doc-strings.
15339 (quit-windows-on): New function.
15340
15341 * vc/vc.el (vc-revert, vc-rollback):
15342 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
15343 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
15344 (Bug#6183) (Bug#7074) (Bug#7447)
15345
15346 2011-10-09 Martin Rudalics <rudalics@gmx.at>
15347
15348 * window.el (frame-auto-hide-function): Add version tag.
15349 (Bug#9699)
15350
15351 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
15352
15353 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
15354 condition.
15355
15356 2011-10-09 Leo Liu <sdl.web@gmail.com>
15357
15358 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
15359 (Bug#9701)
15360
15361 2011-10-08 Glenn Morris <rgm@gnu.org>
15362
15363 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
15364 before the first code statement zero indent. (Bug#9690)
15365
15366 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
15367
15368 * simple.el (count-words-region): Always count in the region.
15369 Report the number of lines and characters too.
15370 (count-words): New command, which counts in the buffer if the
15371 region is inactive, as count-words-region used to.
15372 (count-words--message): New function. Handle plurals.
15373 (count-lines-region): Make it an alias for count-words-region.
15374
15375 * bindings.el (esc-map): Replace count-lines-region with
15376 count-words-region.
15377
15378 2011-10-08 Martin Rudalics <rudalics@gmx.at>
15379
15380 * window.el (window--delete): Delete dedicated frame
15381 unconditionally when argument KILL is non-nil. (Bug#9699)
15382 (switch-to-buffer): Fix doc-string typo.
15383
15384 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15385
15386 * eshell/eshell.el (eshell-command): Avoid using hooks.
15387
15388 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
15389
15390 * bindings.el ([M-left],[M-right]): Bind to left-word and
15391 right-word respectively.
15392
15393 2011-10-07 Glenn Morris <rgm@gnu.org>
15394
15395 * cus-start.el (debug-on-quit): Fix custom type.
15396
15397 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15398
15399 * subr.el (define-key-after): Clarify that the function is not
15400 useful for non-menu keymaps.
15401
15402 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
15403
15404 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15405
15406 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
15407 in current minibuffer (Fix bug with recursive minibuffers).
15408
15409 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
15410
15411 * progmodes/gdb-mi.el (gdb): Doc fix.
15412
15413 2011-10-05 Martin Rudalics <rudalics@gmx.at>
15414
15415 * window.el (frame-auto-hide-function): New option replacing
15416 frame-auto-delete. Suggested by Stefan Monnier.
15417 (window--delete): Call frame-auto-hide-function instead of
15418 investigating frame-auto-delete.
15419 (window-point-1, set-window-point-1): New functions.
15420 (window-in-direction, record-window-buffer, window-state-get-1)
15421 (display-buffer-record-window): Use window-point-1 instead of
15422 window-point.
15423 (set-window-buffer-start-and-point): Use set-window-point-1.
15424
15425 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
15426
15427 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
15428
15429 2011-10-05 Glenn Morris <rgm@gnu.org>
15430
15431 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
15432 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
15433
15434 2011-10-05 Leo Liu <sdl.web@gmail.com>
15435
15436 * subr.el (read-char-choice): Fix argument to buffer-live-p which
15437 works with buffer object.
15438
15439 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
15440
15441 * mpc.el (mpc-tool-bar-map): Add labels.
15442
15443 2011-10-04 Glenn Morris <rgm@gnu.org>
15444
15445 * calendar/holidays.el (calendar-check-holidays): Doc fix.
15446
15447 2011-10-04 Martin Rudalics <rudalics@gmx.at>
15448
15449 * window.el (window--delete): New function.
15450 (frame-auto-delete): Resuscitate option.
15451 (bury-buffer, replace-buffer-in-windows)
15452 (quit-window): Rewrite using window--delete.
15453 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
15454 Pass display-buffer-mark-dedicated to window--display-buffer-2
15455 (Bug#9639).
15456
15457 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
15458
15459 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
15460 returns a list (bug#9554). Add remote file name completion.
15461 * comint.el (comint--table-subvert): Curry and get quote&unquote
15462 functions as arguments.
15463 (comint--complete-file-name-data): Adjust call accordingly.
15464 * pcomplete.el (pcomplete--table-subvert): Remove.
15465 (pcomplete-completions-at-point): Use comint--table-subvert instead.
15466
15467 * minibuffer.el (completion-table-case-fold): Use currying.
15468 (completion--styles-type, completion--cycling-threshold-type):
15469 New constants.
15470 (completion-styles, completion-category-overrides)
15471 (completion-cycle-threshold): Use them.
15472 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
15473 completion-table-case-fold.
15474
15475 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
15476
15477 * minibuffer.el (completion-category-overrides): Fix type of styles
15478 and add more user friendly tags (bug#9660).
15479
15480 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
15481
15482 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
15483 (mule-input-method-string): New widget.
15484 (default-input-method, language-info-custom-alist): Use it.
15485
15486 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
15487
15488 * pcomplete.el: Require comint.
15489 (pcomplete--common-suffix): Remove.
15490 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
15491 (pcomplete--table-subvert): Sync with comint--table-subvert.
15492 (pcomplete--entries): Use comint-completion-file-name-table.
15493 * comint.el (comint-unquote-filename): Simplify.
15494 (comint-completion-file-name-table): New function (bug#9616).
15495 (comint--complete-file-name-data): Use it.
15496
15497 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
15498 (pcmpl-gnu-tar-buffer): Remove.
15499 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
15500 around. Make sure pcomplete-suffix-list is only changed temporarily.
15501 Don't look inside the tar's file if it's too large.
15502
15503 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
15504
15505 * cus-edit.el (custom-mode-map):
15506 * epa.el (epa-key-list-mode-map):
15507 * man.el (Man-mode-map):
15508 * startup.el (splash-screen-keymap):
15509 * simple.el (special-mode-map): Use scroll-up-command and
15510 scroll-down-command.
15511
15512 * progmodes/idlw-help.el (idlwave-help-mode-map):
15513 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
15514 * net/newst-plainview.el (newsticker-mode-map):
15515 * emulation/ws-mode.el (wordstar-mode-map):
15516 * emulation/vi.el (vi-com-map):
15517 * calc/calc-graph.el (calc-graph-show-dumb):
15518 * term/sun.el (terminal-init-sun):
15519 * term/ns-win.el (global-map):
15520 * progmodes/grep.el (grep-mode-map):
15521 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
15522 * mail/rmail.el (rmail-mode-map):
15523 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
15524
15525 * custom.el (custom-safe-themes, load-theme): Treat value of t for
15526 custom-safe-themes as special.
15527
15528 2011-10-01 Julien Danjou <julien@danjou.info>
15529
15530 * notifications.el (notifications-notify): Fix docstring.
15531
15532 2011-10-01 Per Starbäck <per@starback.se>
15533
15534 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
15535
15536 2011-09-30 Martin Rudalics <rudalics@gmx.at>
15537
15538 * startup.el (command-line-1): Fix last fix by inserting
15539 initial-scratch-message into *scratch* before displaying it.
15540 (Bug#9605) and (Bug#9636)
15541
15542 2011-09-29 Eli Zaretskii <eliz@gnu.org>
15543
15544 * simple.el (line-move): If auto-hscroll-mode is disabled and the
15545 window is hscrolled, move by logical lines. (Bug#9607)
15546 (line-move-visual): Update the doc string to the above effect.
15547
15548 2011-09-29 Martin Rudalics <rudalics@gmx.at>
15549
15550 * window.el (display-buffer-record-window): When WINDOW is the
15551 selected window use `point' instead of `window-point'. (Bug#9626)
15552
15553 * startup.el (command-line-1): Use insert-before-markers when
15554 inserting initial-scratch-message. (Bug#9605)
15555
15556 * help.el (help-window): Remove variable.
15557
15558 2011-09-29 Glenn Morris <rgm@gnu.org>
15559
15560 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
15561
15562 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
15563
15564 * descr-text.el (describe-char-categories): Accept category
15565 descriptions more than one line long.
15566
15567 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
15568
15569 * simple.el (delete-trailing-whitespace): Fix last change.
15570
15571 * progmodes/perl-mode.el (perl-syntax-propertize-function):
15572 Don't confuse "y => 3" as the beginning of a `y' operation.
15573
15574 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
15575 object has more than 4 slots (bug#9613).
15576
15577 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
15578
15579 * subr.el (with-output-to-temp-buffer):
15580 * net/quickurl.el (quickurl, quickurl-browse-url):
15581 Fix typos in docstrings.
15582
15583 2011-09-27 Eli Zaretskii <eliz@gnu.org>
15584
15585 * minibuffer.el (completion-styles)
15586 (completion-category-overrides): Cross reference each other in doc
15587 strings.
15588
15589 2011-09-27 Glenn Morris <rgm@gnu.org>
15590
15591 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
15592 to split-string. (Bug#9606)
15593
15594 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
15595
15596 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
15597 (bug#9615).
15598
15599 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
15600
15601 * emacs-lisp/package.el (list-packages): Fix echo area message.
15602
15603 2011-09-27 Leo Liu <sdl.web@gmail.com>
15604
15605 * ido.el (ido-read-internal): Accept cons cell HIST arg.
15606
15607 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
15608
15609 * net/dbus.el (dbus-unregister-object): Don't release services for
15610 registered signals. (Bug#9581)
15611
15612 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
15613
15614 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
15615 function that picks between cfengine 2 and 3 support
15616 automatically. Update docs accordingly.
15617
15618 2011-09-22 Kenichi Handa <handa@m17n.org>
15619
15620 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
15621 ZERO.
15622 (indian-itrans-v5-table-for-tamil): New variable.
15623 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
15624
15625 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
15626
15627 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
15628 that's true if the current command involved collapsing of text.
15629 It's reset to false at the beginning of the next command.
15630 (allout-post-command-business): Move the cursor to the beginning
15631 of entry if the cursor is hidden and collapsing activity just
15632 happened.
15633
15634 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
15635
15636 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
15637 tracking (Bug#9541).
15638
15639 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
15640
15641 * net/newst-reader.el (newsticker-html-renderer)
15642 (newsticker-show-news): Automatically load html rendering package
15643 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
15644 because w3m-fill-column is let-bound" and the error "Symbol's value
15645 as variable is void: w3m-fill-column".
15646
15647 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
15648
15649 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
15650 Release services only if they are defined. (Bug#9581)
15651
15652 2011-09-23 Richard Stallman <rms@gnu.org>
15653
15654 * textmodes/paragraphs.el (forward-sentence): For backwards case,
15655 distinguish start of paragraph from start of its text.
15656
15657 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
15658
15659 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
15660 (rmail-generate-viewer-buffer): Put that hook on view buffer.
15661 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
15662
15663 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
15664
15665 * international/mule-diag.el (mule-diag): Insert a newline after
15666 each fontset description.
15667
15668 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
15669
15670 * simple.el (delete-trailing-whitespace):
15671 Document last change; simplify.
15672
15673 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
15674
15675 * simple.el (delete-trailing-whitespace): Also delete
15676 extra newlines at the end of the buffer.
15677
15678 * textmodes/picture.el: Make motion commands obey shift-select-mode.
15679 (picture-newline): Use forward-line so as to ignore fields.
15680
15681 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
15682
15683 * subr.el (with-wrapper-hook): Fix edebug spec.
15684
15685 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
15686
15687 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
15688 (bug#4538).
15689
15690 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
15691
15692 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
15693 Fix nasty bug using wrong cached values.
15694
15695 2011-09-23 Alan Mackenzie <acm@muc.de>
15696
15697 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
15698
15699 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
15700
15701 * window.el (pop-to-buffer): Ensure right window is selected if we
15702 chose another frame.
15703
15704 2011-09-22 Eli Zaretskii <eliz@gnu.org>
15705
15706 * simple.el (what-cursor-position): Use get-char-property-change
15707 and next-single-char-property-change, to be able to show display
15708 properties that come from overlays as well as text properties.
15709
15710 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
15711
15712 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
15713
15714 * cmuscheme.el (run-scheme, switch-to-scheme):
15715 * cus-edit.el (customize-group, custom-buffer-create)
15716 (customize-browse):
15717 * info.el (info):
15718 * shell.el (shell):
15719 * mail/sendmail.el (mail):
15720 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
15721
15722 2011-09-22 Richard Stallman <rms@gnu.org>
15723
15724 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
15725 move back only to line beg, don't move back over blank lines.
15726
15727 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
15728
15729 * files.el (copy-directory): Set directory attributes only in case
15730 they could be retrieved from the source directory. (Bug#9565)
15731
15732 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
15733
15734 * progmodes/hideshow.el (hs-looking-at-block-start-p)
15735 (hs-find-block-beginning, hs-hide-level-recursive):
15736 Ignore strings as well as comments. (Bug#9502)
15737
15738 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
15739
15740 * progmodes/sql.el (sql-comint-postgres):
15741 Convert port number to a string. (Bug#9566)
15742
15743 2011-09-22 Martin Rudalics <rudalics@gmx.at>
15744
15745 * window.el (quit-window): Undedicate window when switching to
15746 previous buffer. Reported by Thierry Volpiatto
15747 <thierry.volpiatto@gmail.com>.
15748 (special-display-popup-frame): When popping up a new frame reset
15749 its previous buffers to nil. Simplify code.
15750
15751 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
15752
15753 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
15754 and process filter, as done also in `shell-command'.
15755
15756 2011-09-21 Martin Rudalics <rudalics@gmx.at>
15757
15758 * window.el (set-window-buffer-start-and-point):
15759 Call set-window-start with NOFORCE argument t.
15760 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
15761 (quit-window): Reword doc-string. Handle new format of
15762 quit-restore parameter. Don't delete window if it has a
15763 previous buffer we can show instead of the present one.
15764 (display-buffer-record-window): Rewrite using a new format for
15765 the quit-restore window parameter
15766 (special-display-popup-frame, display-buffer-same-window)
15767 (display-buffer-reuse-window, display-buffer-pop-up-frame)
15768 (display-buffer-pop-up-window, display-buffer-use-some-window):
15769 Adapt symbol passed to display-buffer-record-window.
15770 * help.el (help-window-setup): Handle new format of quit-restore
15771 parameter.
15772
15773 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
15774
15775 * faces.el (face-list): Fix docstring (bug#9564).
15776
15777 * window.el (display-buffer--action-function-custom-type):
15778 Don't include internal functions in the Custom interface.
15779
15780 2011-09-20 Juri Linkov <juri@jurta.org>
15781
15782 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
15783 (Info-forward-node, Info-backward-node, Info-next-preorder)
15784 (Info-last-preorder): Use it. (Bug#9528)
15785
15786 2011-09-20 Juri Linkov <juri@jurta.org>
15787
15788 * info.el (Info-last-preorder): Visit last menu item only when
15789 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
15790
15791 2011-09-20 Julien Danjou <julien@danjou.info>
15792
15793 * password-cache.el (password-cache-remove): Remove entries even if the
15794 value is nil, so that password with a nil value (negative caching) is
15795 possible to invalidate.
15796
15797 2011-09-20 Lawrence Mitchell <wence@gmx.li>
15798
15799 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
15800 all whitespace around breakpoint. (Bug#9553)
15801 (f90-find-breakpoint): Only break at whitespace inside a comment.
15802
15803 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
15804
15805 * minibuffer.el (completion-file-name-table): Keep track of errors.
15806 (completion-table-with-predicate): Handle the case where pred1 is nil.
15807 * pcomplete.el (pcomplete-completions-at-point): Simplify.
15808
15809 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
15810
15811 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
15812 (debugger-return-value): Signal an error if the debugging context does
15813 not await any return value.
15814
15815 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
15816 * image-mode.el (image-toggle-display-text)
15817 (image-toggle-display-image): Stay away from evil `intangible'.
15818
15819 2011-09-19 Leo Liu <sdl.web@gmail.com>
15820
15821 * replace.el (occur-revert-arguments): Make it permanent-local.
15822 (occur-mode): Don't call font-lock-defontify.
15823
15824 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
15825
15826 * net/ldap.el (ldap-search-internal): Don't push empty search
15827 result (Bug#9508).
15828
15829 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
15830
15831 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
15832
15833 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
15834
15835 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
15836 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
15837
15838 2011-09-18 Juri Linkov <juri@jurta.org>
15839
15840 * buff-menu.el (Buffer-menu-mode-map):
15841 * dired.el (dired-mode-map):
15842 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
15843 (lisp-interaction-mode-map):
15844 * emacs-lisp/package.el (package-menu-mode-map):
15845 * epa.el (epa-key-list-mode-map):
15846 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
15847 (menu-bar-options-menu):
15848 * outline.el (outline-mode-menu-bar-map):
15849 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
15850 * vc/vc-dir.el (vc-dir-menu-map):
15851 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
15852 Capitalize non-function content words in menu item strings.
15853
15854 * dired.el (dired-mode-map): Add menu item for
15855 `image-dired-dired-toggle-marked-thumbs'.
15856
15857 2011-09-18 Juri Linkov <juri@jurta.org>
15858
15859 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
15860 to `isearch-case-fold-search' and restore its original value
15861 after the `isearch-mode' call.
15862
15863 2011-09-18 Juri Linkov <juri@jurta.org>
15864
15865 * progmodes/grep.el (grep-process-setup): Don't check code for 1
15866 because `zgrep' returns 1 for successful matches (bug#9226).
15867
15868 2011-09-18 Juri Linkov <juri@jurta.org>
15869
15870 * info.el (Info-extract-menu-node-name): Check the second match
15871 for empty string (second test-case of bug#9528).
15872 (Info-last-preorder): Let-bind `Info-history' to nil to not add
15873 intermediate nodes to the history (first test-case of bug#9528).
15874
15875 2011-09-18 Juri Linkov <juri@jurta.org>
15876
15877 * info.el (Info-mode-syntax-table): New variable.
15878 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
15879
15880 2011-09-18 Juri Linkov <juri@jurta.org>
15881
15882 * info.el (Info-file-supports-index-cookies):
15883 Increment line-beginning-position's arg from 3 to 4 because makeinfo
15884 outputs one more line for long file names (bug#4142).
15885
15886 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
15887
15888 * newcomment.el (comment-normalize-vars): If prompting for
15889 comment-start, set comment-start-skip too (Bug#8424).
15890
15891 2011-09-18 Johan Bockgård <bojohan@gnu.org>
15892
15893 * icomplete.el: Fix previous fix of Bug#5849.
15894 (icomplete-mode): Don't set completion-show-inline-help.
15895 (icomplete-minibuffer-setup): Set completion-show-inline-help
15896 locally during icompletion.
15897
15898 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
15899
15900 * woman.el (woman2-process-escapes): Don't delete unrecognized
15901 escapes (Bug#7843).
15902
15903 * files.el (inhibit-first-line-modes-regexps): Add image files.
15904 (hack-local-variables-prop-line): Return nil for malformed
15905 prop-lines (Bug#9044).
15906
15907 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
15908
15909 * net/tramp.el (top): Don't require 'shell.
15910 (tramp-methods): Fix docstring.
15911 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
15912 Return complete remote file name. Handle "smb" case.
15913 Use `tramp-tmpdir', if defined for the respective method.
15914 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
15915
15916 * net/tramp-compat.el (top): Require 'shell.
15917
15918 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
15919 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
15920 `tramp-current-host'.
15921 (tramp-get-remote-tmpdir): Remove.
15922
15923 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
15924 `tramp-tmpdir' entries.
15925 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
15926 (tramp-smb-handle-file-attributes): Ignore errors.
15927 (tramp-smb-wait-for-output): Check also for process end.
15928
15929 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
15930
15931 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
15932 when sending QUIT (bug#9312).
15933
15934 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
15935
15936 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
15937 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
15938 occur-mode-display-occurrence.
15939 (occur-edit-mode): Add usage message.
15940 (occur-cease-edit): New command.
15941 (occur-after-change-function): Use text properties to find the
15942 position of the prefix text.
15943 (occur-engine): Set stickiness of prefix text properties.
15944
15945 2011-09-17 Glenn Morris <rgm@gnu.org>
15946
15947 * progmodes/etags.el (complete-tag):
15948 Fix call to completion-in-region. (Bug#9526)
15949
15950 2011-09-17 Juri Linkov <juri@jurta.org>
15951
15952 * textmodes/ispell.el (ispell-word): Add to the error message
15953 the word, ispell program name and current dictionary (bug#9121).
15954 (ispell-tex-arg-end): Capitalize "error" in the error message.
15955
15956 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
15957
15958 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
15959 check. (Bug#4251)
15960
15961 2011-09-17 Juri Linkov <juri@jurta.org>
15962
15963 * window.el (window-safe-min-height, window-safe-min-width):
15964 Fix typos (followup to bug#9522).
15965
15966 2011-09-17 Sven Joachim <svenjoac@gmx.de>
15967
15968 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
15969
15970 2011-09-16 Eli Zaretskii <eliz@gnu.org>
15971
15972 * simple.el (line-move): If goal-column is set, move by logical
15973 lines, not by display lines. (Bug#971)
15974 (next-line, previous-line, goal-column, line-move-visual): Doc fix
15975 to reflect the above change.
15976
15977 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
15978
15979 * image.el (imagemagick-register-types): Use regexp-opt.
15980
15981 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
15982
15983 * window.el (display-buffer-base-action): Rename from
15984 display-buffer-default-action. Make default value empty.
15985 (display-buffer-overriding-action): Convert to defvar.
15986 (display-buffer-fallback-action): New var.
15987
15988 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
15989
15990 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
15991 declaration.
15992 (package--add-to-archive-contents): If there is a duplicate entry
15993 with an older version, remove it.
15994 (package-menu-mark-delete, package-menu-mark-install)
15995 (package-menu-mark-unmark): Make unused args optional.
15996 (package-menu-mark-obsolete-for-deletion):
15997 Use package-menu-get-status instead of a regexp search.
15998 (package-menu-get-status): Use tabulated-list-entry.
15999 (package-menu-mark-upgrades): New command.
16000 (package-menu-mode-map): Bind it to U. Add it to menu bar.
16001 (package-menu-execute): Do installation before deletion.
16002 (package-menu-refresh, package-menu-execute): Use derived-mode-p
16003 instead of checking major-mode.
16004 (package-menu--find-upgrades): New function.
16005
16006 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
16007
16008 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
16009 passwords in the log buffer.
16010 (smtpmail-process-filter): Update the process marker so that the
16011 "broken by peer" status message is inserted in the right place.
16012
16013 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
16014
16015 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
16016 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
16017 bibtex-completion-at-point-function.
16018 (bibtex-completion-at-point-function): Use them.
16019
16020 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
16021
16022 * mpc.el (mpc-constraints-tag-lookup): New function.
16023 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
16024 also to browser "album|playlist".
16025
16026 2011-09-14 Juri Linkov <juri@jurta.org>
16027
16028 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
16029 (isearch-edit-string): Use length of `isearch-string' when
16030 `isearch-fail-pos' returns nil.
16031 (isearch-message): Remove duplicate code and call
16032 `isearch-fail-pos' with arg `t'.
16033
16034 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
16035
16036 * replace.el (occur-mode-goto-occurrence): Don't force using other
16037 window (Bug#9499).
16038
16039 * dired-aux.el (dired-do-chmod): Don't provide initial input.
16040
16041 2011-09-14 Martin Rudalics <rudalics@gmx.at>
16042
16043 * window.el (display-buffer-window): Remove.
16044 (display-buffer-record-window): Use help-setup window parameter
16045 instead of variable display-buffer-window.
16046 (display-buffer-function, special-display-buffer-names)
16047 (special-display-function): Mention help-setup parameter instead
16048 of display-buffer-window in doc-string.
16049 * help.el (help-window-setup): New argument help-window.
16050 Use help-window-setup parameter instead of display-buffer-window.
16051 Reword some messages.
16052 (with-help-window): Pass window used for displaying the buffer
16053 to help-window-setup. Don't set display-buffer-window.
16054
16055 2011-09-13 Glenn Morris <rgm@gnu.org>
16056
16057 * emacs-lisp/debug.el (debugger-make-xrefs):
16058 Preserve point. (Bug#9462)
16059
16060 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
16061
16062 * window.el (window-deletable-p): Use next-frame.
16063
16064 2011-09-13 Martin Rudalics <rudalics@gmx.at>
16065
16066 * window.el (window-auto-delete): Remove.
16067 (window-deletable-p): Remove argument FORCE. Don't deal with
16068 dedication and previous buffers.
16069 (switch-to-prev-buffer): Don't delete window.
16070 (delete-windows-on): Delete a window's frame if and only if the
16071 window is dedicated.
16072 (replace-buffer-in-windows): Delete buffer's window or frame if
16073 and only if window is dedicated.
16074 (quit-window): Handle quit-restore as before last change.
16075 (bury-buffer): Delete window only if window-deletable-p returns t.
16076
16077 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
16078
16079 * window.el (window-deletable-p): Never delete the last frame on a
16080 given terminal.
16081
16082 2011-09-13 Glenn Morris <rgm@gnu.org>
16083
16084 * help.el (describe-key-briefly): Copy previous standard-output change.
16085
16086 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
16087
16088 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
16089
16090 2011-09-13 Glenn Morris <rgm@gnu.org>
16091
16092 * emacs-lisp/lisp-mode.el (lisp-indent-function):
16093 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
16094
16095 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
16096
16097 * dired-aux.el (dired-mark-read-string): Don't return default
16098 value on empty input (Bug#9361).
16099 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
16100 Omit initial minibuffer contents.
16101 (dired-do-chmod): Signal an error on empty input.
16102 (dired-mark-read-string): Don't return default on empty input.
16103
16104 * files.el (file-modes-symbolic-to-number): Doc fix.
16105
16106 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
16107
16108 * international/mule-cmds.el (ucs-completions): Remove.
16109 (read-char-by-name): Use complete-with-action instead; add metadata.
16110
16111 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
16112
16113 * window.el (display-buffer--action-function-custom-type)
16114 (display-buffer--action-custom-type): New vars.
16115 (display-buffer-alist, display-buffer-default-action)
16116 (display-buffer-overriding-action): Add defcustom types.
16117
16118 * frame.el (delete-other-frames): Doc fix (Bug#276).
16119
16120 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16121
16122 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
16123
16124 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
16125
16126 Change modes that used same-window-* vars to use switch-to-buffer.
16127
16128 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
16129 Use switch-to-buffer.
16130
16131 * cus-edit.el (customize-group, custom-buffer-create)
16132 (customize-browse, custom-buffer-create-other-window):
16133 Use switch-to-buffer or switch-to-buffer-other-window.
16134
16135 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
16136 (Info-prev, Info-up, Info-speedbar-goto-node)
16137 (info-display-manual): Use switch-to-buffer.
16138 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
16139
16140 * mail/sendmail.el (mail): Use switch-to-buffer.
16141 (mail-recover): Use switch-to-buffer-other-window.
16142
16143 * cmuscheme.el (run-scheme, switch-to-scheme):
16144 * ielm.el (ielm):
16145 * shell.el (shell):
16146 * net/rlogin.el (rlogin):
16147 * net/telnet.el (telnet, rsh):
16148 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
16149
16150 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
16151
16152 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
16153
16154 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16155
16156 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
16157 so don't mention it (bug#9301).
16158 (dired-sort-toggle-or-edit): Clarify string further.
16159
16160 * faces.el (face-spec-set-match-display): Make `(type graphic)'
16161 match `x', `w32' and `ns', like the manual says (bug#9029).
16162
16163 * subr.el (eval-after-load): Doc string clarification (bug#9125).
16164 (process-kill-buffer-query-function): Mention the buffer name in
16165 the query.
16166
16167 * image-mode.el (image-next-line): The line parameter is mandatory
16168 (bug#9258).
16169
16170 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
16171 which can be useful (bug#9301).
16172
16173 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
16174
16175 * subr.el (match-string): Mention that the current buffer should
16176 be the same as the search was done in (bug#9282).
16177
16178 * facemenu.el: Disable the remove-* commands if the mark isn't
16179 active (bug#9162).
16180
16181 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
16182
16183 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
16184 of display-buffer.
16185 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
16186
16187 * replace.el (occur-mode-goto-occurrence)
16188 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
16189 and display-buffer.
16190
16191 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
16192 display-buffer.
16193
16194 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
16195 special-display and same-window variables.
16196 (mail-other-window): Use switch-to-buffer-other-window.
16197 (mail-other-frame): USe switch-to-buffer-other-frame.
16198
16199 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
16200 Use display-buffer-other-frame.
16201 (gdb-display-gdb-buffer): Use pop-to-buffer.
16202
16203 * progmodes/gud.el (gud-goto-info): Use info-other-window.
16204
16205 * progmodes/python.el: Don't set same-window-buffer-names.
16206
16207 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
16208
16209 * window.el (display-buffer-alist): Add *Python*.
16210
16211 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
16212
16213 * window.el (display-buffer-alist): Add entry for buffers
16214 previously handled same-window-*.
16215 (display-buffer-alist, display-buffer-default-action)
16216 (display-buffer-overriding-action): Mark as risky.
16217 (display-buffer-alist): Document action function changes.
16218 (display-buffer--same-window-action)
16219 (display-buffer--other-frame-action): New variables.
16220 (switch-to-buffer, display-buffer-other-frame): Use them.
16221 (display-buffer): Rename reuse-frame entry to reusable-frames.
16222 (display-buffer-reuse-selected-window): Function deleted.
16223 (display-buffer-reuse-window): Handle reusable-frames alist entry.
16224 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
16225 (display-buffer-special): New function.
16226 (display-buffer--maybe-pop-up-frame-or-window): Rename from
16227 display-buffer-reuse-or-pop-window. Split off special-display
16228 part into display-buffer-special.
16229 (display-buffer-use-some-window): Don't perform any special
16230 pop-up-frames handling.
16231 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
16232 (display-buffer--maybe-same-window): Rename from
16233 display-buffer-maybe-same-window.
16234
16235 * info.el: Don't set same-window-regexps.
16236 (info-setup): New function.
16237 (info-other-window, info): Call it.
16238
16239 * cus-edit.el: Don't set same-window-regexps.
16240 (customize-group): New argument.
16241 (customize-group-other-window): Use it.
16242 (customize-face, customize-face-other-window): Likewise.
16243 (custom-buffer-create-other-window): Use pop-to-buffer directly.
16244
16245 * net/rlogin.el:
16246 * net/telnet.el:
16247 * progmodes/gud.el: Don't set same-window-regexps.
16248
16249 * cmuscheme.el:
16250 * ielm.el:
16251 * shell.el:
16252 * mail/sendmail.el:
16253 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
16254
16255 2011-09-10 Juri Linkov <juri@jurta.org>
16256
16257 * isearch.el (isearch-edit-string): Remove obsolete mention of
16258 `C-w' (`isearch-yank-word-or-char') from docstring.
16259 (isearch-query-replace): Fix typo in docstring (bug#9466).
16260
16261 2011-09-10 Juri Linkov <juri@jurta.org>
16262
16263 * paren.el (show-paren-function): Don't show escaped parens.
16264 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
16265
16266 2011-09-10 Eli Zaretskii <eliz@gnu.org>
16267
16268 * mail/sendmail.el (mml-to-mime, mml-attach-file)
16269 (mm-default-file-encoding): Remove autoload forms, they are
16270 replaced with autoload cookies in mml.el and mm-encode.el.
16271 (mail-add-attachment): New command.
16272 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
16273 (mail-mode): Mention mail-insert-file and mail-add-attachment in
16274 the doc string.
16275 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
16276
16277 2011-09-10 Reuben Thomas <rrt@sc3d.org>
16278
16279 * simple.el (count-words-region): Use buffer if there's no region
16280 (bug#9429).
16281
16282 2011-09-09 Juri Linkov <juri@jurta.org>
16283
16284 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
16285 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
16286 (wdired-isearch-filter-read-only): New function. (Bug#6362)
16287
16288 2011-09-09 Alan Mackenzie <acm@muc.de>
16289
16290 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
16291 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
16292
16293 2011-09-09 Eli Zaretskii <eliz@gnu.org>
16294
16295 Fix for Savannah bug#9392.
16296 * simple.el (mail-encode-mml): New defvar.
16297
16298 * mail/rmail.el (mail-encode-mml): Add a defvar.
16299 (rmail-enable-mime-composing): Default to t.
16300 (rmail-forward): Use MIME method of forwarding only if both
16301 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
16302 Set mail-encode-mml non-nil if the MIME method was used.
16303
16304 * mail/sendmail.el (mml-to-mime): Add autoload form.
16305 (mail-encode-mml): Add a defvar.
16306 (mail-mode): Make mail-encode-mml buffer-local and initialize it
16307 to nil.
16308 (mail-send): If mail-encode-mml is non-nil, run the outgoing
16309 message through mml-to-mime, and reset mail-encode-mml to nil.
16310
16311 2011-09-09 Glenn Morris <rgm@gnu.org>
16312
16313 * woman.el (woman-if-body): When processing an .el block,
16314 do not delete the next .el block as well. (Bug#9447)
16315 (woman-special-characters): Add oq, cq, and hy characters.
16316
16317 2011-09-08 Martin Rudalics <rudalics@gmx.at>
16318
16319 * window.el (window-deletable-p): Make sure window is live before
16320 invoking window-prev-buffers.
16321
16322 2011-09-08 Leo Liu <sdl.web@gmail.com>
16323
16324 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
16325
16326 2011-09-08 Juri Linkov <juri@jurta.org>
16327
16328 * progmodes/compile.el (compilation-environment): Make it
16329 a defcustom (bug#8340).
16330
16331 2011-09-08 Martin Rudalics <rudalics@gmx.at>
16332
16333 * window.el (frame-auto-delete): Rename to window-auto-delete.
16334 Make it control auto-deletion of windows and/or frames.
16335 (window-deletable-p): New argument FORCE. Rewrite conditions
16336 for deleting window/frame. (Bug#9419)
16337 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
16338 Rewrite handling of case when window/frame can be deleted.
16339 (delete-windows-on): Call window-deletable-p with new FORCE
16340 argument t. (Bug#9456)
16341
16342 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
16343
16344 * help-mode.el (help-mode): Restore autoload.
16345
16346 2011-09-07 Juri Linkov <juri@jurta.org>
16347
16348 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
16349 `compilation-environment'. Set buffer-local
16350 `compilation-environment' to `thisenv' later after (funcall mode).
16351 (Bug#8340)
16352
16353 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
16354 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
16355 instead of replacing its value. (Bug#8340)
16356
16357 2011-09-07 Juri Linkov <juri@jurta.org>
16358
16359 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
16360 based on text properties put by `grep-filter' instead of matching
16361 escape sequences.
16362 (grep-mode): Set buffer-local `compilation-error-screen-columns'
16363 to the value of `grep-error-screen-columns' (bug#9438).
16364
16365 2011-09-07 Juri Linkov <juri@jurta.org>
16366
16367 * simple.el (next-error-highlight, next-error-highlight-no-select):
16368 Doc fix (bug#9432).
16369
16370 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
16371
16372 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
16373 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
16374
16375 2011-09-07 Leo Liu <sdl.web@gmail.com>
16376
16377 * net/rcirc.el (rcirc-mode): Conditionally initialize
16378 rcirc-input-ring.
16379
16380 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
16381
16382 * emacs-lisp/find-func.el (find-function-C-source): Only set
16383 find-function-C-source-directory after checking that we found a source
16384 file there (bug#9440).
16385
16386 2011-09-06 Alan Mackenzie <acm@muc.de>
16387
16388 * isearch.el (isearch-other-meta-char): Wherever a key list is
16389 unread, "unread" the prefix arg, too. This fixes bug #8901.
16390
16391 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
16392
16393 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
16394
16395 2011-09-05 Juri Linkov <juri@jurta.org>
16396
16397 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
16398
16399 2011-09-05 Juri Linkov <juri@jurta.org>
16400
16401 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
16402 keeping point where processing of grep matches begins, and
16403 continue to delete remaining escape sequences from the same point.
16404 (grep-filter): Make leading zero optional in "0?1;31m" because
16405 git-grep emits "\033[1;31m" escape sequences unlike expected
16406 "\033[01;31m" as GNU Grep does (bug#9408).
16407 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
16408
16409 2011-09-05 Juri Linkov <juri@jurta.org>
16410
16411 * subr.el (y-or-n-p): Capitalize "yes".
16412
16413 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
16414
16415 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
16416 `tramp-cache-unload-hook' where appropriate.
16417 (tramp-methods): Rename `tramp-remote-sh' to
16418 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
16419 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
16420
16421 * net/tramp-sh.el (top): Don't require 'shell.
16422 (tramp-methods): Add `tramp-remote-shell' and
16423 `tramp-remote-shell-args' entries.
16424 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
16425 (tramp-sh-handle-shell-command): Remove.
16426 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
16427 Use `tramp-remote-shell'.
16428
16429 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
16430
16431 * mail/sendmail.el (sendmail-query-once-function): Delete.
16432 (sendmail-query-once): Save directly to send-mail-function.
16433 Update message-send-mail-function too.
16434
16435 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
16436
16437 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
16438
16439 * progmodes/python.el (python-mode-map): Use correct function to
16440 start python interpreter from menu-bar (as reported by Geert
16441 Kloosterman).
16442 (inferior-python-mode-map): Fix typo.
16443 (python-shell-map): Remove.
16444
16445 2011-09-03 Deniz Dogan <deniz@dogan.se>
16446
16447 * net/rcirc.el (rcirc-print): Simplify code for
16448 rcirc-scroll-show-maximum-output. There is no need to walk
16449 through all windows to find the right one.
16450
16451 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
16452
16453 * help.el (help-return-method): Doc fix.
16454
16455 2011-09-03 Martin Rudalics <rudalics@gmx.at>
16456
16457 * window.el (window-deletable-p): Don't return a non-nil value
16458 when there's a buffer that was shown in the window before.
16459 (Bug#9419)
16460 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
16461 Set window's previous buffers to nil.
16462
16463 2011-09-03 Eli Zaretskii <eliz@gnu.org>
16464
16465 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
16466 newline before and after the tag line, so it doesn't interfere
16467 with determining the paragraph direction of bidirectional text.
16468
16469 2011-09-03 Leo Liu <sdl.web@gmail.com>
16470
16471 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
16472
16473 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
16474
16475 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
16476 (pop-to-buffer): Change interactive spec. Pass second argument
16477 directly to display-buffer.
16478 (display-buffer): Fix interactive spec. Use functionp to
16479 distinguish between a function and a list of functions.
16480
16481 * abbrev.el (edit-abbrevs):
16482 * arc-mode.el (archive-extract):
16483 * autoinsert.el (auto-insert):
16484 * bookmark.el (bookmark-bmenu-list):
16485 * files.el (find-file):
16486 * view.el (view-buffer):
16487 * progmodes/compile.el (compilation-goto-locus):
16488 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
16489
16490 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
16491
16492 * window.el (display-buffer-alist): Doc fix.
16493 (display-buffer): Add docstring. Don't treat
16494 display-buffer-default specially.
16495 (display-buffer-reuse-selected-window)
16496 (display-buffer-same-window, display-buffer-maybe-same-window)
16497 (display-buffer-reuse-window, display-buffer-pop-up-frame)
16498 (display-buffer-pop-up-window)
16499 (display-buffer-reuse-or-pop-window)
16500 (display-buffer-use-some-window): New functions.
16501 (display-buffer-default-action): Use them.
16502 (display-buffer-default): Delete.
16503 (pop-to-buffer-1): Fix choice of actions.
16504
16505 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
16506
16507 * minibuffer.el (completion--insert-strings): Don't get confused by
16508 completion entries that end with an LF char.
16509
16510 2011-09-01 Eli Zaretskii <eliz@gnu.org>
16511
16512 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
16513
16514 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
16515
16516 * window.el (display-buffer): Restore interactive spec.
16517 (display-buffer-same-window, display-buffer-other-window):
16518 New functions.
16519 (pop-to-buffer-1): New function. Use the above.
16520 (pop-to-buffer, pop-to-buffer-same-window): Use it.
16521 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
16522
16523 * view.el (view-buffer-other-window, view-buffer-other-frame):
16524 Just use pop-to-buffer.
16525
16526 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16527
16528 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
16529
16530 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
16531
16532 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
16533
16534 2011-08-31 Richard Stallman <rms@gnu.org>
16535
16536 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
16537 of the separation of rmail-view-buffer from rmail-buffer.
16538 If you say no to "replace original", the decrypt is in the
16539 view buffer. If you say yes, the decrypt goes into the
16540 rmail buffer also.
16541
16542 2011-08-31 Martin Rudalics <rudalics@gmx.at>
16543
16544 * window.el (display-buffer-window): Rewrite doc-string.
16545 (display-buffer-record-window): New function.
16546 (display-buffer-macro-specifiers)
16547 (display-buffer-even-window-sizes, display-buffer-set-height)
16548 (display-buffer-set-width, display-buffer-in-window)
16549 (display-buffer-reuse-window, display-buffer-split-specifiers)
16550 (display-buffer-side-specifiers, display-buffer-split-window-1)
16551 (display-buffer-split-window, display-buffer-split-atom-window)
16552 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
16553 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
16554 (display-buffer-other-window-means-other-frame)
16555 (display-buffer-normalize-special)
16556 (display-buffer-normalize-default)
16557 (display-buffer-normalize-argument)
16558 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
16559 (display-buffer-normalize-specifiers, display-buffer-frame)
16560 (display-buffer-same-window, display-buffer-same-frame)
16561 (display-buffer-other-window)
16562 (display-buffer-same-frame-other-window)
16563 (display-buffer-other-frame, pop-to-buffer-same-window)
16564 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
16565 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
16566 (switch-to-buffer-same-frame)
16567 (switch-to-buffer-other-window-same-frame)
16568 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
16569 (display-buffer-alist-set-1, display-buffer-alist-set-2)
16570 (display-buffer-alist-set): Remove.
16571 (display-buffer-function, special-display-buffer-names)
16572 (special-display-regexps, special-display-function):
16573 In doc-string refer to display-buffer-window and quit-restore
16574 parameter.
16575 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
16576 (special-display-frame-alist, special-display-popup-frame)
16577 (same-window-buffer-names, same-window-regexps, same-window-p)
16578 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16579 (split-window-preferred-function, split-height-threshold)
16580 (split-width-threshold, window-splittable-p)
16581 (split-window-sensibly, window--try-to-split-window)
16582 (window--frame-usable-p, even-window-heights)
16583 (window--even-window-heights, window--display-buffer-1)
16584 (window--display-buffer-2, display-buffer-other-frame):
16585 Restore old Emacs 23 code, order and doc-strings where applicable.
16586 (display-buffer-default, display-buffer-assq-regexp): New functions.
16587 (display-buffer-alist): Rewrite doc-string.
16588 (display-buffer-default-action)
16589 (display-buffer-overriding-action): New variables.
16590 (display-buffer, switch-to-buffer): Rewrite.
16591 (pop-to-buffer): Restore Emacs 23 behavior but use
16592 window-normalize-buffer-to-display.
16593 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
16594 Restore Emacs 23 behavior but use
16595 window-normalize-buffer-to-switch-to.
16596 (pop-to-buffer-same-window): Rewrite.
16597 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
16598 Rewrite using Emacs 23 options.
16599
16600 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
16601
16602 * net/tramp.el (tramp-root-regexp): Remove.
16603 (tramp-completion-file-name-regexp-unified)
16604 (tramp-completion-file-name-regexp-separate)
16605 (tramp-completion-file-name-regexp-url): Don't use leading volume
16606 letter on w32 systems. (Bug#5303, Bug#9311)
16607 (tramp-drop-volume-letter): Simplify definition.
16608 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
16609
16610 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
16611
16612 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
16613 (bug#9356).
16614
16615 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
16616
16617 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
16618
16619 2011-08-29 Juri Linkov <juri@jurta.org>
16620
16621 * isearch.el (isearch-done): Don't display message "Mark saved"
16622 when arg `edit' is non-nil to prevent its flicker in the echo area.
16623
16624 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
16625
16626 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
16627 obsolete packages for deletion.
16628
16629 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
16630
16631 * help-mode.el (help-mode-map): Add special-mode-map to parent.
16632 (help-mode): Derive help-mode from special-mode. Don't invoke
16633 view-mode from help-mode.
16634 (help-xref-override-view-map): Remove.
16635 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
16636 view-mode is not used anymore.
16637
16638 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
16639
16640 * server.el (server-port): Doc fix.
16641
16642 * cus-theme.el (custom-theme-choose-mode): Inherit from
16643 special-mode (Bug#9124).
16644 (custom-theme-choose-mode-map): Add special-mode to parent.
16645
16646 2011-08-28 Alan Mackenzie <acm@muc.de>
16647
16648 * progmodes/cc-fonts.el
16649 (c-make-font-lock-BO-decl-search-function): New function.
16650 (c-basic-matchers-after - "Fontify the clauses after various
16651 keywords"): Extract the three keyword lists for the 3 erroneous
16652 constructs from the list of four, and use the new function above
16653 in place of an old one.
16654
16655 2011-08-28 Deniz Dogan <deniz@dogan.se>
16656
16657 * net/rcirc.el (rcirc-insert-prev-input)
16658 (rcirc-insert-next-input): Remove unused argument.
16659
16660 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
16661
16662 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
16663
16664 2011-08-27 Alan Mackenzie <acm@muc.de>
16665
16666 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
16667 handle function pointer parameters properly.
16668
16669 2011-08-27 Martin Rudalics <rudalics@gmx.at>
16670
16671 * window.el (display-buffer-reuse-window): Fix case where
16672 selected window was reused with non-nil OTHER-WINDOW argument.
16673 (Bug#9381)
16674
16675 2011-08-27 Deniz Dogan <deniz@dogan.se>
16676
16677 * net/rcirc.el (rcirc-check-auth-status): Adding support for
16678 oftc's NickServ messages.
16679
16680 2011-08-27 Glenn Morris <rgm@gnu.org>
16681
16682 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
16683
16684 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
16685
16686 * emacs-lisp/package.el (package-install): Call package-initialize
16687 if called interactively.
16688
16689 2011-08-26 Leo Liu <sdl.web@gmail.com>
16690
16691 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
16692
16693 2011-08-25 Juri Linkov <juri@jurta.org>
16694
16695 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
16696 `search-whitespace-regexp' (bug#9364).
16697
16698 2011-08-25 Juri Linkov <juri@jurta.org>
16699
16700 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
16701 `regexp-search-ring' to their global values to protect from
16702 updating by `read-from-minibuffer' (bug#9185).
16703
16704 2011-08-25 Juri Linkov <juri@jurta.org>
16705
16706 * textmodes/ispell.el (ispell-command-loop): Add newline
16707 at the end of the "Use option `i'..." line.
16708
16709 2011-08-25 Juri Linkov <juri@jurta.org>
16710
16711 * battery.el (display-battery-mode): If `battery-status-function'
16712 or `battery-mode-line-format' is nil, display the message and set
16713 `display-battery-mode' to nil (bug#9363).
16714
16715 2011-08-25 Eli Zaretskii <eliz@gnu.org>
16716
16717 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
16718 bidi-string-mark-left-to-right; they are unnecessary now.
16719
16720 2011-08-25 Deniz Dogan <deniz@dogan.se>
16721
16722 * net/quickurl.el: Documentation typo fixes.
16723
16724 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
16725
16726 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
16727
16728 2011-08-25 Glenn Morris <rgm@gnu.org>
16729
16730 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
16731
16732 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
16733 (smtpmail-via-smtp): Handle nil response from smtp.
16734
16735 2011-08-24 Juri Linkov <juri@jurta.org>
16736
16737 * proced.el (proced-marked): Inherit from `error' instead of
16738 `font-lock-warning-face'.
16739
16740 * ibuffer.el (ibuffer-marked-face): Change default face from
16741 `font-lock-warning-face' to `warning'.
16742 (ibuffer-deletion-face): Change default face from
16743 `font-lock-type-face' to `error'.
16744
16745 * battery.el (battery-update): Use the face `error' instead of
16746 `font-lock-warning-face' (bug#6117).
16747
16748 2011-08-24 Juri Linkov <juri@jurta.org>
16749
16750 * faces.el (success): Change face color from "Green3" to
16751 "ForestGreen" on light background (bug#9353).
16752
16753 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
16754
16755 * window.el (quit-window): Rename from quit-restore-window.
16756 Use same arglist as old quit-window.
16757 (frame-auto-delete): Doc fix.
16758
16759 * view.el (view-mode-exit): Use quit-window.
16760
16761 2011-08-24 Juri Linkov <juri@jurta.org>
16762
16763 * isearch.el (isearch-ring-adjust1): Start visiting previous
16764 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
16765 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
16766 for empty search string (when the last search string is reused
16767 automatically) to adjust the isearch ring to the last element and
16768 prepare the correct index for further M-p commands (bug#9185).
16769
16770 2011-08-24 Kenichi Handa <handa@m17n.org>
16771
16772 * international/ucs-normalize.el: If decomposition property of
16773 CHAR is the default one (i.e. a list of CHAR itself), treat it as
16774 nil.
16775 (nfd, nfkd): Likewise.
16776
16777 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
16778
16779 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
16780 from process filters aren't reliably transmitted to the surrounding
16781 accept-process-output.
16782 (mpc-proc-check): New function.
16783 (mpc-proc-sync): Use it (bug#8293)
16784
16785 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
16786
16787 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
16788 Add compatibility functions (bug#9313).
16789
16790 2011-08-23 Eli Zaretskii <eliz@gnu.org>
16791
16792 * cus-start.el (all): Add entry for bidi-paragraph-direction.
16793
16794 * international/uni-bidi.el: Regenerate.
16795
16796 2011-08-23 Kenichi Handa <handa@m17n.org>
16797
16798 * international/charprop.el:
16799 * international/uni-bidi.el:
16800 * international/uni-category.el:
16801 * international/uni-combining.el:
16802 * international/uni-comment.el:
16803 * international/uni-decimal.el:
16804 * international/uni-decomposition.el:
16805 * international/uni-digit.el:
16806 * international/uni-lowercase.el:
16807 * international/uni-mirrored.el:
16808 * international/uni-name.el:
16809 * international/uni-numeric.el:
16810 * international/uni-old-name.el:
16811 * international/uni-titlecase.el:
16812 * international/uni-uppercase.el: Regenerate.
16813
16814 2011-08-23 Martin Rudalics <rudalics@gmx.at>
16815
16816 * help.el (help-window-setup): Fix message displayed when other
16817 window is reused. (Bug#9341)
16818
16819 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
16820
16821 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
16822 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
16823
16824 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
16825 Mark obsolete.
16826 * shell.el (shell-parse-pcomplete-arguments): New function.
16827 (shell-completion-vars): Use it instead (bug#9160).
16828
16829 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
16830
16831 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
16832 strings and comments (bug#9333).
16833
16834 * emacs-lisp/debug.el (debug-arglist): New function.
16835 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
16836 (debug-on-entry-1): Handle interpreted closures (bug#9120).
16837
16838 2011-08-22 Juri Linkov <juri@jurta.org>
16839
16840 * progmodes/compile.el (compilation-mode-font-lock-keywords):
16841 Revert regexp that highlights output switches to its old
16842 pre-2010-10-28 value and remove one `?' from it (bug#9319).
16843
16844 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
16845 to check for empty output (bug#9226).
16846
16847 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
16848
16849 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
16850 symbol-constituent as the default, as that stops font-lock from
16851 working properly (Bug#8843).
16852
16853 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16854
16855 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
16856 `coding-system-for-*' around the process open call to avoid
16857 auth-source side effects.
16858 (smtpmail-try-auth-methods): Expand the secret password.
16859 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
16860 probe hangs.
16861
16862 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
16863
16864 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
16865
16866 * emacs-lisp/find-func.el (find-function-noselect): New arg
16867 lisp-only.
16868
16869 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
16870 signal an error for built-in functions (Bug#6664).
16871
16872 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16873
16874 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
16875 (smtpmail-try-auth-methods): Use it.
16876
16877 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
16878
16879 * font-lock.el (font-lock-fontify-region)
16880 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
16881 (font-lock-default-unfontify-buffer)
16882 (font-lock-default-fontify-region)
16883 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
16884
16885 * progmodes/compile.el (compilation-error-properties):
16886 Fix confusion between file struct and message struct (Bug#9319).
16887 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
16888 `ant' regexp.
16889
16890 * net/browse-url.el (browse-url-firefox): Don't call
16891 browse-url-firefox-sentinel unless using -remote (Bug#9328).
16892
16893 2011-08-20 Glenn Morris <rgm@gnu.org>
16894
16895 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
16896
16897 * tutorial.el (tutorial--default-keys): Update some default bindings.
16898
16899 * files.el (hack-local-variables): Fully ignore case for "mode:".
16900
16901 2011-08-20 Alan Mackenzie <acm@muc.de>
16902
16903 Resolve invalid use of a regexp in regexp-opt.
16904
16905 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
16906 detection for a java annotation.
16907
16908 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
16909 detection for a java annotation.
16910
16911 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
16912 handling for java.
16913 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
16914
16915 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
16916
16917 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
16918 (Bug#9274).
16919
16920 2011-08-20 Alan Mackenzie <acm@muc.de>
16921
16922 Fontify CPP expressions correctly when starting in the middle of
16923 such a construct. Mainly for when jit-lock etc. starts a chunk
16924 here.
16925
16926 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
16927 variable.
16928 (c-make-font-lock-search-form): New function, extracted from
16929 c-make-font-lock-search-function.
16930 (c-make-font-lock-search-function): Use the above function.
16931 (c-make-font-lock-context-search-function): New function.
16932 (c-cpp-matchers): Enhance the preprocessor expression case with
16933 the above function
16934 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
16935 which takes an expression.
16936
16937 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
16938
16939 2011-08-20 Martin Rudalics <rudalics@gmx.at>
16940
16941 * window.el (display-buffer-reuse-window)
16942 (display-buffer-pop-up-window): Don't reuse or split a side
16943 window.
16944
16945 2011-08-19 Glenn Morris <rgm@gnu.org>
16946
16947 * files.el (hack-local-variables-prop-line, hack-local-variables):
16948 Downcase "Mode:". (Bug#9331)
16949
16950 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
16951
16952 * international/characters.el: Add L and R categories.
16953
16954 * subr.el (bidi-string-mark-left-to-right): Rename from
16955 string-mark-left-to-right. Use category search.
16956
16957 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
16958
16959 2011-08-18 Juri Linkov <juri@jurta.org>
16960
16961 * faces.el (error, warning, success): New faces with definitions
16962 copied from old default values of `font-lock-warning-face',
16963 `compilation-warning', `compilation-info' (bug#6117).
16964
16965 * font-lock.el (font-lock-warning-face): Inherit from `error'.
16966
16967 * progmodes/compile.el (compilation-error): Inherit from `error'.
16968 (compilation-warning): Inherit from `warning'.
16969 (compilation-info): Inherit from `success'.
16970
16971 * dired.el (dired-marked): Inherit from `warning'.
16972 (dired-flagged): Inherit from `error'.
16973
16974 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
16975
16976 * mail/smtpmail.el (auth-source): Require to avoid problems with
16977 binding variables (bug#9298). Also clean up some unused
16978 autoloads.
16979
16980 * net/network-stream.el (network-stream-open-starttls):
16981 Support using starttls.el without using gnutls-cli.
16982
16983 2011-08-17 Juri Linkov <juri@jurta.org>
16984
16985 * progmodes/grep.el (rgrep): Handle the case when
16986 `grep-find-command' is a cons cell (bug#9278).
16987
16988 2011-08-17 Martin Rudalics <rudalics@gmx.at>
16989
16990 * window.el (display-buffer-pop-up-frame): Run frame creation
16991 function with BUFFER current (as special-display-popup-frame
16992 does). Reported by Drew Adams.
16993
16994 2011-08-17 Daiki Ueno <ueno@unixuser.org>
16995
16996 * epa-mail.el: Simplify GnuPG group expansion using
16997 epg-expand-group.
16998 (epa-mail-group-alist, epa-mail-group-modtime)
16999 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
17000 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
17001 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
17002 Remove.
17003
17004 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
17005
17006 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
17007
17008 2011-08-16 Alan Mackenzie <acm@muc.de>
17009
17010 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
17011 Correct, to avoid the inside of macros.
17012
17013 2011-08-16 Richard Stallman <rms@gnu.org>
17014
17015 * epa-mail.el: Handle GnuPG group definitions.
17016 (epa-mail-group-alist, epa-mail-group-modtime)
17017 (epa-mail-gnupg-conf-file): New variables.
17018 (epa-mail-parse-groups, epa-mail-sync-groups)
17019 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
17020 (epa-mail-expand-recipients): New functions.
17021 (epa-mail-encrypt): Call epa-mail-expand-recipients.
17022
17023 * mail/rmail.el (rmail-epa-decrypt): New command.
17024
17025 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
17026 Don't bind buffer-read-only, just inhibit-read-only.
17027 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
17028 (epa-decrypt-armor-in-region): Make error message clearer.
17029
17030 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
17031
17032 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
17033 and "a2b" to "ab" for `prefix'.
17034
17035 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
17036
17037 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
17038 filter groups.
17039 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
17040 Fourquet (Bug#8804).
17041
17042 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
17043
17044 * startup.el (argi): Declare as global variable (bug#9275).
17045
17046 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
17047
17048 * subr.el (string-mark-left-to-right): Search the entire string
17049 for RTL script, not just the terminating character. Doc fix.
17050
17051 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
17052
17053 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
17054 New function.
17055 (js--regexp-literal, js-syntax-propertize-function): Remove.
17056 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
17057 (js-mode-map): Don't rebind electric keys.
17058 (js-insert-and-indent): Remove.
17059 (js-mode): Setup electric-layout and electric-indent instead.
17060
17061 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
17062
17063 2011-08-12 Daiki Ueno <ueno@unixuser.org>
17064
17065 * epa.el (epa-progress-callback-function): Fix the logic of
17066 displaying progress.
17067 * epa-file.el (epa-file-insert-file-contents): Make progress
17068 display more user-friendly.
17069 (epa-file-write-region): Ditto.
17070
17071 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
17072
17073 * subr.el (string-mark-left-to-right): New function.
17074
17075 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
17076 Use string-mark-left-to-right.
17077 (list-buffers-noselect): Caller changed.
17078
17079 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
17080 Use string-mark-left-to-right.
17081 (tabulated-list-print): Recenter after moving point.
17082
17083 2011-08-10 Juri Linkov <juri@jurta.org>
17084
17085 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
17086 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
17087 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
17088
17089 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
17090
17091 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
17092 (Bug#7554).
17093
17094 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
17095
17096 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
17097 character. (Bug#6594)
17098
17099 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
17100
17101 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
17102 (image-dired--with-db-file): New macro.
17103 (image-dired-write-tags, image-dired-remove-tag)
17104 (image-dired-create-gallery-lists, image-dired-write-comments)
17105 (image-dired-get-comment, image-dired-mark-tagged-files)
17106 (image-dired-list-tags, image-dired-gallery-generate): Use it.
17107 (image-dired-gallery-generate): Use insert-file-contents.
17108
17109 * time.el (display-time-world-list, display-time-world-display):
17110 * time-stamp.el (time-stamp-string):
17111 * vc/add-log.el (add-change-log-entry): Use setenv instead of
17112 set-time-zone-rule (Bug#7337).
17113
17114 2011-08-08 Daiki Ueno <ueno@unixuser.org>
17115
17116 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
17117 (epg-error-to-string, epg-errors-to-string): New function.
17118 (epg-wait-for-completion): Reverse errors list.
17119 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
17120 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
17121 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
17122 (epg-sign-keys, epg-generate-key-from-file)
17123 (epg-generate-key-from-string): Format errors by using
17124 epg-errors-to-string (bug#9255).
17125 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
17126
17127 2011-08-07 Juri Linkov <juri@jurta.org>
17128
17129 * faces.el (list-faces-display): Remove extra angle bracket
17130 from `help-mode-map'.
17131
17132 * info.el (Info-history-toc-nodes): Doc fix.
17133
17134 * longlines.el (longlines-mode): Doc fix.
17135
17136 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
17137
17138 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
17139 of statements and in a few more cases (bug#9183).
17140
17141 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
17142 New functions.
17143 (cl-transform-lambda): Use them (bug#9239).
17144
17145 2011-08-05 Martin Rudalics <rudalics@gmx.at>
17146
17147 * window.el (display-buffer-same-window)
17148 (display-buffer-same-frame, display-buffer-other-window)
17149 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
17150 (pop-to-buffer-other-window)
17151 (pop-to-buffer-same-frame-other-window)
17152 (pop-to-buffer-other-frame): Make them defuns.
17153 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
17154
17155 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
17156
17157 * subr.el (make-composed-keymap): Move from C. Change calling
17158 convention, and improve docstring to bring attention to a subtle point.
17159 * minibuffer.el (completing-read-default): Adjust accordingly.
17160
17161 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
17162
17163 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
17164 (tramp-open-shell): Use `tramp-shell-quote-argument'.
17165
17166 * net/trampver.el: Update release number.
17167
17168 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
17169
17170 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
17171 "in" (bug#9190).
17172
17173 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17174
17175 * mail/sendmail.el (sendmail-query-once): Restore the current
17176 buffer after querying (bug#9074).
17177
17178 * dired.el (dired-flagged): Use different faces for marked and
17179 flagged files (bug#6117).
17180
17181 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
17182 (bug#4433).
17183
17184 * ido.el (ido-mode): Switch off the message if called
17185 non-interactively.
17186
17187 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
17188 before 587, since it appears that that's more likely to work for
17189 more people.
17190
17191 * cus-edit.el (custom-file): When running under emacs -q, always
17192 refuse to save the customizations, even if the .emacs file doesn't
17193 exist.
17194
17195 * info.el: Remove the `Info-beginning-of-buffer' function
17196 (bug#8325).
17197
17198 * net/network-stream.el (network-stream-open-starttls):
17199 Use `starttls-available-p' to see whether starttls.el can be used.
17200
17201 2011-08-01 Martin Rudalics <rudalics@gmx.at>
17202
17203 * window.el (display-buffer-in-window): Don't set dedicated status
17204 of window here (Bug#9215).
17205 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
17206 (display-buffer-pop-up-side-window)
17207 (display-buffer-in-side-window): Set dedicated status of window here.
17208
17209 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
17210
17211 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
17212 before binding generated-autoload-file.
17213
17214 2011-08-01 Deniz Dogan <deniz@dogan.se>
17215
17216 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
17217
17218 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
17219
17220 Sync with Tramp 2.2.2.
17221
17222 * net/trampver.el: Update release number.
17223
17224 2011-07-30 Juri Linkov <juri@jurta.org>
17225
17226 * dired-aux.el (dired-touch-initial): Remove function.
17227 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
17228 current time, and `default' to the last modification time of the
17229 current marked file (bug#6887).
17230
17231 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
17232
17233 * simple.el (goto-line): Use string-to-number to provide a
17234 numeric argument to read-number (bug#9163).
17235
17236 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
17237
17238 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
17239 connection process, it could be nil.
17240
17241 2011-07-27 Leo Liu <sdl.web@gmail.com>
17242
17243 Simplify url handling in rcirc-mode.
17244
17245 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
17246 (rcirc-browse-url-at-mouse): Remove.
17247 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
17248
17249 2011-07-26 Alan Mackenzie <acm@muc.de>
17250
17251 Fontify bitfield declarations properly.
17252
17253 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
17254 (c-symbol-chars): Now exported as a lang variable.
17255 (c-not-primitive-type-keywords): New lang variable.
17256
17257 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
17258 QT keyword "more" to prevent "more slots: ...." being spuriously
17259 parsed as a bitfield declaration.
17260
17261 * progmodes/cc-engine.el (c-beginning-of-statement-1):
17262 Refactor and enhance to handle bitfield declarations.
17263 (c-punctuation-in): New function.
17264 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
17265 declarations properly.
17266
17267 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
17268
17269 * calendar/icalendar.el (icalendar--all-events): Take care of
17270 multiple vcalendars in a single file.
17271 (icalendar--convert-float-to-ical): Checkdoc fixes.
17272
17273 2011-07-25 Deniz Dogan <deniz@dogan.se>
17274
17275 * image.el (insert-image): Clarifying docstring.
17276
17277 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
17278
17279 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
17280 `tramp-send-command-and-check' if there is no error.
17281 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
17282
17283 2011-07-22 Alan Mackenzie <acm@muc.de>
17284
17285 Prevent cc-langs.elc being loaded at run time.
17286
17287 * progmodes/cc-mode.el: Remove two autoload forms which loaded
17288 cc-langs.
17289
17290 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
17291 "(require 'cc-langs)". Quote a form so it will evaluate at
17292 (cc-mode's) compilation time.
17293
17294 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
17295
17296 * net/tramp.el (tramp-file-name-handler): Avoid recursive
17297 loading. (Bug#9114)
17298
17299 2011-07-21 Martin Rudalics <rudalics@gmx.at>
17300
17301 * window.el (display-buffer-pop-up-window)
17302 (display-buffer-pop-up-side-window)
17303 (display-buffer-in-side-window): Call display-buffer-set-height
17304 and display-buffer-set-width after setting the new window's
17305 buffer so `fit-window-to-buffer' and friends work on the right buffer.
17306
17307 2011-07-20 Sam Steingold <sds@gnu.org>
17308
17309 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
17310 (etags-tags-included-tables): Call `convert-standard-filename' on
17311 the file names contained in TAGS so that windows Emacs can handle
17312 TAGS files created by cygwin ctags.
17313
17314 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
17315
17316 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
17317 which apparently didn't work.
17318
17319 2011-07-19 Roland Winkler <winkler@gnu.org>
17320
17321 * proced.el (proced-send-signal): For *Marked Processes* buffer
17322 put point at beginning of buffer.
17323
17324 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
17325
17326 * proced.el (proced-format): Make header lines align with the text
17327 (bug#1779).
17328
17329 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
17330
17331 * view.el (view-buffer): Allow running in `special' modes if we're
17332 visiting a file (bug#8615).
17333
17334 2011-07-19 Martin Rudalics <rudalics@gmx.at>
17335
17336 * window.el (display-buffer-alist-of-strings-p)
17337 (display-buffer-alist-set-1, display-buffer-alist-set-2):
17338 New functions.
17339 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
17340 more accurately.
17341
17342 2011-07-18 Alan Mackenzie <acm@muc.de>
17343
17344 Fontify declarators properly when, e.g., a jit-lock chunk begins
17345 inside a declaration.
17346
17347 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
17348
17349 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
17350 New function.
17351 (c-complex-decl-matchers): Insert reference to
17352 c-font-lock-enclosing-decls.
17353
17354 * progmodes/cc-engine.el (c-backward-single-comment):
17355 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
17356 to nil around calls to (forward-comment -1).
17357
17358 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
17359
17360 * image.el (put-image): Doc typo fix.
17361
17362 * progmodes/etags.el (tags-search): Doc typo fix.
17363
17364 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
17365 password if we get errors 550 to 554.
17366
17367 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
17368
17369 * net/gnutls.el (gnutls-log-level): Remove.
17370
17371 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
17372 indentation character (bug#6380).
17373
17374 * files.el (buffer-offer-save): Made permanently local (bug#6241).
17375
17376 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
17377 to clarify what the problem is (bug#4291).
17378
17379 * simple.el (current-kill): Clarify what
17380 `interprogram-paste-function' does (bug#7500).
17381 (auto-fill-mode): Document `auto-fill-function' in relation to
17382 `auto-fill-mode' (bug#2470).
17383
17384 2011-07-16 Lawrence Mitchell <wence@gmx.li>
17385
17386 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
17387 method if slot is read-only (bug#9035).
17388
17389 2011-07-16 Martin Rudalics <rudalics@gmx.at>
17390
17391 * frame.el (select-frame-set-input-focus): New argument NORECORD.
17392 * window.el (pop-to-buffer): Select window used even if it was
17393 selected before, see discussion of (Bug#8615), (Bug#6954).
17394 Pass argument NORECORD on to select-frame-set-input-focus.
17395
17396 2011-07-15 Glenn Morris <rgm@gnu.org>
17397
17398 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
17399 Respect help-form.
17400
17401 2011-07-09 Lawrence Mitchell <wence@gmx.li>
17402
17403 * net/gnutls.el (gnutls-min-prime-bits): New variable.
17404 (gnutls-negotiate): Use it.
17405
17406 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
17407
17408 * net/gnutls.el (gnutls-negotiate):
17409 Upcase `gnutls-algorithm-priority'.
17410
17411 2011-07-15 Glenn Morris <rgm@gnu.org>
17412
17413 * jka-compr.el (jka-compr-verbose): Move from here...
17414 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
17415 Add missing :version tag.
17416 * info.el: No need to require jka-compr when compiling.
17417
17418 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
17419
17420 * net/gnutls.el (gnutls-algorithm-priority): New variable.
17421 (gnutls-negotiate): Use it.
17422
17423 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
17424
17425 * info.el (Info-beginning-of-buffer): New command.
17426 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
17427 announcing `b' as the key (bug#8325).
17428 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
17429
17430 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
17431
17432 * international/mule-cmds.el
17433 (describe-specified-language-support): Make the error message
17434 clearer (bug#8905).
17435
17436 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
17437
17438 * isearch.el (isearch-barrier): Add a doc string, since it's
17439 mentioned in a function doc string (bug#8678).
17440
17441 2011-07-15 Martin Rudalics <rudalics@gmx.at>
17442
17443 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
17444 buffer argument (Bug#9083) and self-identifying label argument.
17445
17446 2011-07-15 Glenn Morris <rgm@gnu.org>
17447
17448 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
17449
17450 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
17451
17452 * man.el (Man-fontify-manpage): Fix message when formatting the
17453 man page (bug#7929).
17454
17455 2011-07-14 Eli Zaretskii <eliz@gnu.org>
17456
17457 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
17458 argument LRM; if non-nil, append an invisible LRM character to the
17459 buffer name.
17460 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
17461 last argument non-nil, when formatting buffer names.
17462 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
17463 paragraph direction.
17464
17465 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
17466
17467 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
17468 the man page name (bug#7929).
17469
17470 * image.el (put-image): Mention the `put-image' overlay property
17471 (bug#7834).
17472
17473 * scroll-bar.el (set-scroll-bar-mode): Mention that
17474 `scroll-bar-mode' lists the values (bug#7772).
17475
17476 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
17477 command (bug#7729).
17478
17479 * rect.el (apply-on-rectangle): Return the point after the last
17480 operation.
17481 (string-rectangle): Go to the point after the last operation
17482 (bug#7522).
17483
17484 * printing.el (pr-toggle-region): Clarify the documentation
17485 slightly (bug#7493).
17486
17487 * time.el (display-time-update):
17488 Allow `display-time-mail-function' to return nil (bug#7158).
17489 Fix suggested by Detlev Zundel.
17490
17491 * vc/diff.el (diff): Clarify the order the file names are read
17492 (bug#7111).
17493
17494 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
17495 the doc string (bug#7015).
17496
17497 * font-lock.el (font-lock-maximum-decoration): Mention what
17498 numeric levels mean (bug#6935).
17499
17500 * startup.el (initial-buffer-choice): Don't mention the `none'
17501 selection, which is against policy.
17502
17503 2011-07-14 Martin Rudalics <rudalics@gmx.at>
17504
17505 * window.el (display-buffer-normalize-special):
17506 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
17507
17508 2011-07-14 Eli Zaretskii <eliz@gnu.org>
17509
17510 * subr.el (version<, version<=, version=): Mention "-CVS" and
17511 "-12345" alpha version numbers.
17512
17513 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
17514
17515 * bindings.el: Add advertised binding for set-mark-command
17516 (Bug#5772).
17517
17518 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
17519
17520 * bindings.el (mode-line-other-buffer):
17521 * bookmark.el (bookmark-bmenu-2-window):
17522 * bs.el (bs-cycle-next, bs-cycle-previous):
17523 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
17524 switch-to-buffer.
17525
17526 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
17527 Delete.
17528
17529 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
17530
17531 * follow.el (follow-debug-message, follow-redisplay):
17532 * jka-cmpr-hook.el (with-auto-compression-mode):
17533 Fix typos in docstrings.
17534
17535 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17536
17537 * subr.el (with-silent-modifications): Clarify somewhat what the
17538 macro inhibits (bug#6525).
17539
17540 * simple.el (eval-expression): Note what it does if called
17541 interactively (bug#6495).
17542
17543 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
17544
17545 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
17546 Use pop-to-buffer buffer-or-name if it is nil.
17547
17548 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17549 Remove switch-to-buffer.
17550
17551 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17552
17553 * files.el (make-directory): Clarify that an error will be raised
17554 if there's an error (bug#6397).
17555
17556 * startup.el (initial-buffer-choice): Add `none' as a choice
17557 (bug#6234).
17558
17559 * subr.el (add-hook): Clarify section about buffer-local hooks
17560 (bug#6218).
17561
17562 * dired.el (dired-flagged): Clarify doc string (bug#6117).
17563
17564 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
17565
17566 * tabify.el (untabify): Preserve the current column so that point
17567 doesn't move (bug#6032).
17568
17569 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17570
17571 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
17572 Rewrite to avoid awkward possessive "s" (bug#5986).
17573
17574 2011-07-13 Glenn Morris <rgm@gnu.org>
17575
17576 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
17577 (dired-insert-directory): Give a message the first time
17578 if ls is found not to support --dired.
17579
17580 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17581
17582 * simple.el (toggle-truncate-lines): Clarify what is toggled
17583 (bug#5580). Text by Drew Adams.
17584
17585 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
17586
17587 * simple.el (blink-matching-open): Make the error message from the
17588 last change less verbose.
17589
17590 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
17591
17592 * font-lock.el (font-lock-comment-face): Use the high contrast
17593 "yellow" color for font-lock-comment-face on low color terminals
17594 using a dark background color (bug#4221).
17595
17596 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17597
17598 * dired.el (dired-insert-set-properties): Make the doc string
17599 reflect what it does now (bug#5325).
17600
17601 * simple.el (blink-matching-open): Say that we were unable to find
17602 the match within the limit, if we're limited (bug#5122).
17603
17604 * international/mule-cmds.el (prefer-coding-system): Add an
17605 example (bug#4869).
17606
17607 * progmodes/etags.el (tags-search): Document `file-list-form'
17608 (bug#4731).
17609
17610 2011-07-13 Lawrence Mitchell <wence@gmx.li>
17611
17612 * net/browse-url.el (browse-url-default-browser)
17613 (browse-url-browser-function): Make the default browser choice a
17614 bit more logical (bug#4300). Also clean up the doc string.
17615
17616 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
17617
17618 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
17619 binary endings (bug#4440).
17620
17621 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17622
17623 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
17624 which can be pretty annoying (bug#8971).
17625
17626 * jka-compr.el (jka-compr-verbose): New variable, and use
17627 throughout (bug#8971).
17628
17629 * info.el (Info-find-file): Fall back on the installation
17630 directory if we can't find the info node anywhere else.
17631
17632 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
17633
17634 * vc/vc.el (vc-revert-file):
17635 Don't set file time-stamp in the past. (Bug#5181)
17636
17637 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
17638
17639 * files.el (after-find-file): Give a better error message when
17640 trying to find a symlink that points to a file that doesn't exist
17641 (bug#4398).
17642
17643 * progmodes/cc-vars.el: Remove (probably) misleading comment
17644 (bug#4396).
17645
17646 2011-07-12 Johan Bockgård <bojohan@gnu.org>
17647
17648 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
17649
17650 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
17651
17652 * mouse-sel.el: Hack restoring functionality, while keeping
17653 compatibility with 2010-07-03 changes to mouse selection.
17654 (mouse-sel-primary-overlay): New var.
17655 (mouse-sel-selection-alist): Use it.
17656 (mouse-sel-mode): Doc fix; remove points that are default features
17657 of mouse.el.
17658
17659 2011-07-12 Johan Bockgård <bojohan@gnu.org>
17660
17661 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17662 Fix previous fix (bug#2490).
17663
17664 2011-07-12 Roland Winkler <winkler@gnu.org>
17665
17666 * textmodes/bibtex.el (bibtex-initialize):
17667 Use pop-to-buffer-same-window.
17668 (bibtex-search-entries): Fix interactive call.
17669
17670 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
17671
17672 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17673 Fontise bytecomp Error lines more correctly (bug#2490).
17674 Fix suggested by Johan Bockgård.
17675
17676 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
17677
17678 * dired-x.el (dired-guess-default): Use `delete-dups'.
17679
17680 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
17681
17682 * dired.el (dired-mark-prompt):
17683 * dired-aux.el (dired-read-shell-command): Doc fix.
17684
17685 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17686
17687 * mail/sendmail.el (sendmail-query-once):
17688 Use `customize-save-variable' unconditionally, now that it works under
17689 emacs -Q.
17690
17691 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
17692
17693 * cus-edit.el (custom-file): Take an optional no-error variable.
17694 (customize-save-variable): Set the variable, and give a warning if
17695 running under "emacs -q".
17696
17697 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
17698
17699 * loadhist.el (unload-feature-special-hooks):
17700 Add `auto-coding-functions', `fill-nobreak-predicate' and
17701 `find-directory-functions' (bug#5327).
17702
17703 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17704
17705 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
17706
17707 * cus-edit.el (custom-guess-name-alist): -alist variables should
17708 use the `alist' type (bug#3120). Suggested by Drew Adams.
17709
17710 * printing.el: Add documentation to all the `pr-toggle-' commands.
17711
17712 2011-07-11 Leo Liu <sdl.web@gmail.com>
17713
17714 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
17715 backends where it makes sense (bug#2623).
17716
17717 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17718
17719 * dired-x.el (dired-guess-default): Remove duplicate shell command
17720 entries (bug#2028).
17721 (dired-guess-default): Fix grammar in doc string (bug#2028).
17722 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
17723
17724 * subr.el (remove-duplicates): New conveniency function.
17725
17726 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
17727
17728 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
17729 (bug#1526).
17730
17731 2011-07-10 Martin Rudalics <rudalics@gmx.at>
17732
17733 * window.el (display-buffer-normalize-default): Don't invert
17734 meaning of even-window-heights. Reported by Eli Zaretskii
17735 <eliz@gnu.org>.
17736
17737 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
17738
17739 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
17740
17741 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
17742
17743 * window.el (display-buffer): Fix arguments to
17744 display-buffer-reuse-window in last change.
17745
17746 * faces.el (link): Use a less saturated blue on light backgrounds.
17747
17748 * startup.el (fancy-startup-text, fancy-about-text)
17749 (fancy-startup-tail): Use font-lock faces, for background safety.
17750
17751 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
17752
17753 * emulation/viper-cmd.el (viper-change-state-to-vi):
17754 Limit triggering of abbrev expansion (Bug#9038).
17755
17756 2011-07-09 Martin Rudalics <rudalics@gmx.at>
17757
17758 * window.el (display-buffer-default-specifiers): Remove.
17759 (display-buffer-macro-specifiers): Remove default specifiers.
17760 (display-buffer-alist): Default to nil.
17761 (display-buffer-reuse-window): New optional argument other-window.
17762 (display-buffer-pop-up-window): Allow splitting internal
17763 windows. Check whether a live window was created.
17764 (display-buffer-other-window-means-other-frame)
17765 (display-buffer-normalize-arguments): Rename to
17766 display-buffer-normalize-argument and rewrite. Set the
17767 other-window specifier.
17768 (display-buffer-normalize-special): New function.
17769 (display-buffer-normalize-options): Rename to
17770 display-buffer-normalize-default and rewrite.
17771 (display-buffer-normalize-options-inhibit): Remove.
17772 (display-buffer-normalize-specifiers): Rewrite.
17773 (display-buffer): Process other-window specifier and call
17774 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
17775 more faithfully.
17776 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
17777 (display-buffer-alist-set): Don't handle 'unset default values.
17778 (display-buffer-in-window, display-buffer-alist-set):
17779 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
17780 <tassilo@member.fsf.org>.
17781
17782 2011-07-09 Leo Liu <sdl.web@gmail.com>
17783
17784 * register.el (insert-register): Restore accidental change on
17785 2011-06-26. (Bug#9028)
17786
17787 2011-07-09 Glenn Morris <rgm@gnu.org>
17788
17789 * subr.el (remq): Handle the empty list. (Bug#9024)
17790
17791 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
17792
17793 * mail/sendmail.el (send-mail-function): No longer delay custom
17794 initialization.
17795 * custom.el (custom-initialize-delay): Doc fix.
17796
17797 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
17798
17799 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
17800
17801 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
17802
17803 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
17804 human-friendly prompt.
17805
17806 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
17807
17808 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
17809 provided by a particular plugin.
17810
17811 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
17812
17813 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
17814 save customizations (with "emacs -Q"), just set the variable
17815 instead of erroring out.
17816
17817 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
17818
17819 2011-07-08 Juri Linkov <juri@jurta.org>
17820
17821 * arc-mode.el (archive-zip-expunge, archive-zip-update)
17822 (archive-zip-update-case): Use 7z if found by `executable-find'.
17823 The order of searching the available programs is the same as in
17824 `archive-zip-extract' (bug#8968).
17825
17826 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
17827
17828 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
17829 (menu-bar-options-menu): Tweak descriptions.
17830
17831 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
17832
17833 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
17834 menu items into verb phrases (bug#1421). Also refill to fit under
17835 80 columns.
17836
17837 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
17838
17839 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
17840 (Info-read-node-name): Doc fix (Bug#1084).
17841
17842 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
17843 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
17844 (end-of-sexp, beginning-of-sexp)
17845 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
17846 (forward-symbol, forward-same-syntax, word-at-point)
17847 (sentence-at-point): Doc fix (Bug#1144).
17848
17849 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
17850
17851 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
17852 should cover it (bug#1281).
17853
17854 * cus-edit.el (custom-show): Mark as obsolete.
17855
17856 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
17857 negotiation fails, then possibly try again with a non-encrypted
17858 connection (bug#9017).
17859
17860 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
17861 be used.
17862
17863 2011-07-07 Richard Stallman <rms@gnu.org>
17864
17865 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
17866 property, and handle its changed format.
17867 Look for the correct line number.
17868 Use file's line contents (but not past first =) to find
17869 correct line in message.
17870
17871 2011-07-07 Kenichi Handa <handa@m17n.org>
17872
17873 * international/characters.el (build-unicode-category-table):
17874 Delete it.
17875 (unicode-category-table): Set it by unicode-property-table-internal.
17876
17877 * international/mule-cmds.el (char-code-property-alist): Move to
17878 to src/chartab.c.
17879 (get-char-code-property): Call unicode-property-table-internal to
17880 load a file. Call get-unicode-property-internal where necessary.
17881 (put-char-code-property): Call unicode-property-table-internal to
17882 load a file. Call put-unicode-property-internal where necessary.
17883 put-unicode-property-internal where necessary.
17884 (char-code-property-description):
17885 Call unicode-property-table-internal to load a file.
17886
17887 * international/charprop.el:
17888 * international/uni-bidi.el:
17889 * international/uni-category.el:
17890 * international/uni-combining.el:
17891 * international/uni-comment.el:
17892 * international/uni-decimal.el:
17893 * international/uni-decomposition.el:
17894 * international/uni-digit.el:
17895 * international/uni-lowercase.el:
17896 * international/uni-mirrored.el:
17897 * international/uni-name.el:
17898 * international/uni-numeric.el:
17899 * international/uni-old-name.el:
17900 * international/uni-titlecase.el:
17901 * international/uni-uppercase.el: Regenerate.
17902
17903 * loadup.el: Load international/charprop.el before
17904 international/characters.
17905
17906 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
17907
17908 * window.el (next-buffer, previous-buffer): Signal an error if
17909 called from a minibuffer window.
17910
17911 * bindings.el: Revert 2011-07-04 change.
17912
17913 2011-07-06 Richard Stallman <rms@gnu.org>
17914
17915 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
17916 (rmail-mime-insert-bulk, rmail-mime-insert-text):
17917 Treat markers like ints.
17918 (rmail-mime-entity): Doc fix.
17919
17920 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
17921
17922 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
17923 defcustom again for backwards compatibility.
17924
17925 * simple.el (shell-command-on-region): Fill.
17926
17927 * dired-aux.el (dired-kill-line): Add a doc string.
17928
17929 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
17930 to "\\sw\\|\\s_" (bug#358).
17931
17932 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
17933 (dired-unmark-backward): Ditto.
17934 (dired-flag-backup-files): Ditto.
17935
17936 * dired-x.el (dired-mark-sexp): Ditto.
17937
17938 2011-07-06 Richard Stallman <rms@gnu.org>
17939
17940 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
17941 (rmail-mime-entity): New arg TRUNCATED.
17942 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
17943 New functions.
17944 (rmail-mime-save): Warn if entity is truncated.
17945 (rmail-mime-toggle-hidden): Likewise, for showing.
17946 (rmail-mime-process-multipart): Record when an entity is truncated.
17947
17948 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
17949 if ENTITY is a string.
17950
17951 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
17952
17953 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
17954 of faces when `M-C-x'-ing their definitions (bug#8378).
17955 Also clean up the code slightly.
17956
17957 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
17958 because that makes the colors go away.
17959
17960 * mail/sendmail.el (send-mail-function): Change the default to
17961 `sendmail-query-once'.
17962 (sendmail-query-once): Add an autoload cookie.
17963
17964 * net/network-stream.el (network-stream-open-starttls): Try using
17965 a plain connection even if the server offered STARTTLS, and we
17966 kinda wanted to use it, if Emacs doesn't have any STARTTLS
17967 capability. This should make smtpmail.el work in slightly more
17968 configurations.
17969
17970 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
17971
17972 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
17973 New defun.
17974 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
17975
17976 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
17977
17978 * progmodes/sql.el: Version 3.0
17979 (sql-product-alist): Add product :completion-object,
17980 :completion-column, and :statement attributes.
17981 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
17982 (sql-mode-syntax-table): Mark all punctuation.
17983 (sql-font-lock-keywords-builder): Temporarily remove fallback on
17984 ansi keywords.
17985 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
17986 (sql-mode-oracle-font-lock-keywords): Improve.
17987 (sql-oracle-show-reserved-words): New function for development.
17988 (sql-product-font-lock): Simplify for source code buffers.
17989 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
17990 New functions.
17991 (sql-highlight-product): Set product specific syntax table.
17992 (sql-mode-map): Add statement movement functions.
17993 (sql-ansi-statement-starters, sql-oracle-statement-starters):
17994 New variable.
17995 (sql-statement-regexp, sql-beginning-of-statement)
17996 (sql-end-of-statement, sql-signum): New functions.
17997 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
17998 (sql-show-sqli-buffer): Bug fix.
17999 (sql-interactive-mode): Store connection data as buffer local.
18000 (sql-connect): Add NEW-NAME parameter. Redesign interaction
18001 with sql-interactive-mode.
18002 (sql-save-connection): Save buffer local settings.
18003 (sql-connection-menu-filter): Change menu entry name.
18004 (sql-product-interactive): Bug fix.
18005 (sql-preoutput-hold): New variable.
18006 (sql-interactive-remove-continuation-prompt): Bug fixes.
18007 (sql-debug-redirect): New variable.
18008 (sql-str-literal): New function.
18009 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
18010 Redesign.
18011 (sql-oracle-save-settings, sql-oracle-restore-settings)
18012 (sql-oracle-list-all, sql-oracle-list-table): New functions.
18013 (sql-completion-object, sql-completion-column)
18014 (sql-completion-sqlbuf): New variables.
18015 (sql-build-completions-1, sql-build-completions)
18016 (sql-try-completion): New functions.
18017 (sql-read-table-name): Use them.
18018 (sql-contains-names): New buffer local variable.
18019 (sql-list-all, sql-list-table): Use it.
18020 (sql-oracle-completion-types): New variable.
18021 (sql-oracle-completion-object, sql-sqlite-completion-object)
18022 (sql-postgres-completion-object): New functions.
18023
18024 2011-07-06 Glenn Morris <rgm@gnu.org>
18025
18026 * window.el (pop-to-buffer): Doc fix.
18027
18028 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
18029
18030 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
18031
18032 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
18033
18034 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
18035
18036 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
18037
18038 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
18039
18040 * button.el (button): Inherit from link face. Suggested by Dan
18041 Nicolaescu.
18042
18043 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
18044
18045 * progmodes/gdb-mi.el: Fit in 80 columns.
18046 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
18047 switch-to-buffer.
18048
18049 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
18050 if imenu is simply not configured (bug#8941).
18051
18052 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
18053
18054 * allout.el (allout-post-undo-hook): New allout outline-change
18055 event hook to signal undo activity.
18056 (allout-post-command-business): Run allout-post-undo-hook if an
18057 undo just occurred.
18058 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
18059 * allout-widgets.el (allout-widgets-after-undo-function):
18060 Ensure the integrity of the current item's decoration after it has been
18061 in the vicinity of an undo.
18062 (allout-widgets-mode): Include allout-widgets-after-undo-function
18063 on the new allout-post-undo-hook.
18064
18065 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
18066
18067 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
18068 Let define-derived-mode define it.
18069 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
18070 cycles of abbrev-table inheritance (bug#8998).
18071
18072 2011-07-05 Roland Winkler <winkler@gnu.org>
18073
18074 * textmodes/bibtex.el: Add support for biblatex.
18075 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
18076 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
18077 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
18078 (bibtex-entry-alist, bibtex-field-alist): New variables.
18079 (bibtex-entry-field-alist): Obsolete alias for
18080 bibtex-BibTeX-entry-alist.
18081 (bibtex-entry-alist, bibtex-field-alist): New widgets.
18082 (bibtex-set-dialect): New command.
18083 (bibtex-entry-type, bibtex-entry-head)
18084 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
18085 Bind via bibtex-set-dialect.
18086 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
18087 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
18088 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
18089 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
18090 Define via bibtex-set-dialect.
18091 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
18092 Obey bibtex-no-opt-remove-re.
18093 (bibtex-vec-push, bibtex-vec-incr): New functions.
18094 (bibtex-format-entry, bibtex-field-list)
18095 (bibtex-print-help-message, bibtex-validate)
18096 (bibtex-search-entries): Use new format of bibtex-entry-alist.
18097
18098 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
18099
18100 * progmodes/compile.el (compilation-goto-locus):
18101 * net/tramp-cmds.el (tramp-append-tramp-buffers):
18102 * bs.el (bs-cycle-next, bs-cycle-previous):
18103 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
18104 * bindings.el (mode-line-other-buffer):
18105 * autoinsert.el (auto-insert):
18106 * arc-mode.el (archive-extract):
18107 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
18108
18109 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
18110
18111 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
18112 Fix check of `emacs-lock-unlockable-modes'.
18113 Coerce true values of `emacs-lock--try-unlocking' to t.
18114
18115 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
18116
18117 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
18118 * emacs-lock.el: New file.
18119
18120 2011-07-05 Julien Danjou <julien@danjou.info>
18121
18122 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
18123 than `boundp' to check if face is set.
18124
18125 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
18126
18127 * register.el (registerv-make):
18128 * window.el (window-min-height): Fix typos in docstrings.
18129
18130 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
18131
18132 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
18133 Update doc string.
18134
18135 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
18136
18137 * server.el (server-execute): Catch quit and call
18138 `server-return-error' to pass the error back to emacsclient and
18139 close the connection (bug#8942).
18140
18141 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
18142
18143 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
18144 insecure exception for current topic. Also note that auto-saves
18145 are handled differently.
18146
18147 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
18148 State variables for tracking auto-save inhibition situation.
18149
18150 (allout-write-contents-hook-handler): Rename from
18151 'allout-write-file-hook-handler', and describe how it depends on
18152 write-contents-functions sensitivity to non-nil value to prevent
18153 file write.
18154
18155 (allout-auto-save-hook-handler): Remove. auto-save does not check
18156 this in individual buffers, only in the starting buffer, so this
18157 is not the right way for us to inhibit auto-save in a buffer
18158 according to its condition.
18159
18160 (allout-mode): Use new allout-write-contents-hook-handler, and
18161 only with write-contents-functions. Remove auto-save provisions -
18162 they're implemented elsewhere.
18163
18164 (allout-before-change-handler): If undo is in progress, note that
18165 for attention of allout-post-command-business.
18166
18167 (allout-post-command-business): If the command we're following was
18168 an undo, check for change in the status of encrypted items and
18169 adjust auto-save inhibitions accordingly.
18170
18171 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
18172 according to whether there are or aren't any plain-text topics
18173 pending encryption.
18174
18175 (allout-inhibit-auto-save-info-for-decryption):
18176 Adjust buffer-saved-size and some allout state to inhibit auto-saves
18177 if there are plain-text topics pending encryption.
18178
18179 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
18180 buffer-saved-size and some allout state to not inhibit auto-saves
18181 if there are no longer any plain-text topics pending encryption.
18182
18183 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
18184 No longer provide for exemption of the current topic.
18185
18186 2011-07-04 Juri Linkov <juri@jurta.org>
18187
18188 Add 7z operations to delete and save changed members (bug#8968).
18189 * arc-mode.el (archive-7z-expunge, archive-7z-update):
18190 New defcustoms.
18191 (archive-7z-write-file-member): New function.
18192 (archive-7z-summarize): Fix the number of dashes in the
18193 listing output.
18194
18195 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
18196
18197 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
18198 (bug#8958).
18199
18200 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
18201
18202 * bindings.el: Ignore next-buffer and previous-buffer in
18203 minibuffer-local-map.
18204
18205 * font-lock.el (font-lock-builtin-face): Change light background
18206 color to dark slate blue (Bug#6693).
18207
18208 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
18209
18210 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
18211
18212 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
18213
18214 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
18215 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18216 Add switch-to-buffer.
18217
18218 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
18219
18220 * isearch.el (isearch-search-fun-function): Clarify further the
18221 meaning of the function returned.
18222
18223 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
18224
18225 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
18226
18227 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
18228 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
18229 Use it.
18230 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
18231 `tramp-default-remote-path' does not exist.
18232 (tramp-send-command-and-read): New optional argument NOERROR.
18233 (tramp-open-connection-setup-interactive-shell)
18234 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
18235 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
18236 (tramp-process-sentinel): Flush also process' connection property.
18237 (tramp-sh-handle-start-file-process): Do not set process
18238 sentinel. It is done now ...
18239 (tramp-maybe-open-connection): ... here. (Bug#8929)
18240
18241 2011-07-04 MON KEY <monkey@sandpframing.com>
18242
18243 * play/animate.el (animate-string): Doc fixes and allow changing
18244 the buffer name (bug#5417).
18245
18246 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
18247
18248 * play/animate.el (animation-buffer-name): Rename from *animate*.
18249
18250 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
18251
18252 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
18253 This is simpler and helps future-proof the code.
18254 (timer-until): Use time-subtract and float-time.
18255 (timer--time-less-p): Use time-less-p.
18256
18257 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
18258
18259 * type-break.el (timep): Use the value of `float-time' to avoid a
18260 byte-compiler warning.
18261
18262 * server.el (server-eval-and-print): Return any result, even nil.
18263
18264 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
18265
18266 * type-break.el: Accept time formats that the builtins accept.
18267 (timep, type-break-time-difference): Accept any format that
18268 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
18269 This is simpler and helps future-proof the code.
18270 (type-break-time-difference): Round rather than ignoring
18271 subseconds components.
18272
18273 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18274
18275 * info.el (Info-apropos-matches): Make non-interactive, since it
18276 doesn't seem to do anything useful as a command (bug#8829).
18277
18278 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
18279
18280 * frame.el (frame-background-mode, frame-set-background-mode):
18281 Move from faces.el.
18282 (frame-default-terminal-background): New function.
18283
18284 * custom.el (custom-push-theme): Don't record faces in `changed'
18285 theme; this doesn't work correctly for per-frame face settings.
18286 (disable-theme): Use face-set-after-frame-default to reset faces.
18287 (custom--frame-color-default): New function.
18288
18289 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18290
18291 * dired.el (dired-flagging-regexp): Remove unused variable
18292 (bug#8769).
18293
18294 2011-03-29 Kevin Ryde <user42@zip.com.au>
18295
18296 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18297 `perl-Test2' extend to match possible "fail #N" rep count
18298 (bug#8377).
18299
18300 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18301
18302 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
18303 `smtpmail-via-smtp' now returns the error instead of nil.
18304
18305 * isearch.el (isearch-search-fun-function): Clarify the doc string
18306 (bug#8101).
18307
18308 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
18309
18310 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
18311 unnecessary spaces (bug#8987).
18312
18313 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18314
18315 * net/network-stream.el (open-network-stream): Use the
18316 :end-of-capability command thoughout.
18317
18318 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
18319
18320 * net/network-stream.el (open-network-stream): Add the
18321 :end-of-capability command parameter, used by pop3.el.
18322
18323 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18324
18325 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
18326
18327 * fringe.el (fringe-query-style): Remove redundant text " (type ?
18328 for list)" (bug#6475).
18329
18330 * files.el (file-expand-wildcards): Ignore non-readable
18331 sub-directories while trying to find matches instead of signaling
18332 an error (bug#6297).
18333
18334 * man.el (Man-reference-regexp): Allow matching possible
18335 word-wrapped references (bug#6289).
18336
18337 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
18338 for consistency with the other vc buffers (bug#6197).
18339 (vc-checkin): Ditto.
18340
18341 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
18342
18343 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
18344
18345 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18346
18347 * custom.el (defcustom): Clarify that :set is only used in the
18348 Customize user interface (bug#6089).
18349
18350 * progmodes/flymake.el (flymake-mode): If the buffer isn't
18351 associated with a file, refuse to run instead of erroring out
18352 (bug#6084).
18353
18354 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
18355 the doc string, since it appears that using `fill-column' always
18356 controls the width (bug#7845).
18357
18358 * simple.el (shell-command-on-region): Say where the error output
18359 went if `shell-command-default-error-buffer' is set (bug#6857).
18360
18361 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
18362
18363 * allout.el (allout-yank-processing): Adjust cursor position for
18364 backwards-deleted space.
18365
18366 (allout-rebullet-heading): Register changes with
18367 allout-exposure-changed-hook, so the modified topic is properly
18368 decorated.
18369
18370 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18371
18372 * minibuffer.el (completion-in-region): Document PREDICATE
18373 (bug#7136).
18374
18375 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
18376 of keyword/argument pairs (bug#6904).
18377
18378 * replace.el (multi-occur):
18379 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
18380
18381 2011-07-02 Drew Adams <drew.adams@oracle.com>
18382
18383 * dired.el (dired-mark-if): Make the message about whether it's
18384 marking or unmarking clearer (bug#8523).
18385
18386 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18387
18388 * disp-table.el (display-table-print-array): New function.
18389 (describe-display-table): Use it to print the vectors more pretty
18390 (Bug#8859).
18391
18392 2011-07-02 Martin Rudalics <rudalics@gmx.at>
18393
18394 * window.el (window-state-get-1): Don't assign clone numbers.
18395 Add clone-of item to list of window parameters.
18396 (window-state-put-2): Don't process clone numbers.
18397 (display-buffer-alist): Fix doc-string.
18398
18399 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
18400
18401 * subr.el (remq): Don't allocate if it's not needed.
18402 (keymap--menu-item-binding, keymap--menu-item-with-binding)
18403 (keymap--merge-bindings): New functions.
18404 (keymap-canonicalize): Use them to refine the canonicalization.
18405 * minibuffer.el (minibuffer-local-completion-map)
18406 (minibuffer-local-must-match-map): Move initialization from C.
18407 (minibuffer-local-filename-completion-map): Move initialization from C;
18408 don't inherit from anything here.
18409 (minibuffer-local-filename-must-match-map): Make obsolete.
18410 (completing-read-default): Use make-composed-keymap to combine
18411 minibuffer-local-filename-completion-map with either
18412 minibuffer-local-must-match-map or
18413 minibuffer-local-filename-completion-map.
18414
18415 2011-07-01 Glenn Morris <rgm@gnu.org>
18416
18417 * type-break.el (type-break-time-sum): Use dolist.
18418
18419 * textmodes/flyspell.el (flyspell-word-search-backward):
18420 Replace CL function.
18421
18422 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
18423
18424 * mouse.el (mouse--strip-first-event): New function.
18425 (function-key-map): Use it to map fringe clicks to normal clicks
18426 by default.
18427
18428 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
18429 (vc-bzr-revision-completion-table): Add support for annotate and date.
18430
18431 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
18432 inherit from parent.
18433
18434 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
18435
18436 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
18437 (dired-show-file-type): Doc fixup (bug#8818).
18438
18439 * dired.el (dired-mode): Fix up the doc string as suggested by
18440 Drew Adams (bug#8817).
18441
18442 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
18443 cookie, since the manual says that it should be possible to add
18444 this function to `find-file-hook' (bug#8709).
18445
18446 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
18447
18448 * progmodes/cfengine.el: Moved all cfengine3.el functionality
18449 here. Noted Ted Zlatanov as the maintainer.
18450 (cfengine-common-settings, cfengine-common-syntax): New functions
18451 to set up common things between `cfengine-mode' and
18452 `cfengine3-mode'.
18453 (cfengine3-mode): New mode.
18454 (cfengine3-defuns cfengine3-defuns-regex
18455 (cfengine3-class-selector-regex cfengine3-category-regex)
18456 (cfengine3-vartypes cfengine3-font-lock-keywords)
18457 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
18458 (cfengine3-indent-line): Add from cfengine3.el.
18459
18460 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
18461
18462 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
18463
18464 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
18465
18466 2011-07-01 Martin Rudalics <rudalics@gmx.at>
18467
18468 * window.el (same-window-buffer-names, same-window-regexps)
18469 (same-window-p, special-display-frame-alist)
18470 (special-display-popup-frame, special-display-function)
18471 (special-display-buffer-names, special-display-regexps)
18472 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
18473 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18474 (split-window-preferred-function, split-height-threshold)
18475 (split-width-threshold, even-window-heights)
18476 (display-buffer-mark-dedicated, window-splittable-p)
18477 (split-window-sensibly, window-safely-shrinkable-p):
18478 Un-obsolete.
18479 (display-buffer): Don't spread args with function specifier
18480 because special-display-popup-frame won't like it.
18481
18482 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
18483
18484 Time-stamp simplifications and fixes.
18485 These improve accuracy slightly, and future-proof the code
18486 against some potential changes to current-time format.
18487
18488 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
18489 by using time-since and float-time.
18490
18491 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
18492 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
18493 + NNN microseconds".
18494
18495 * type-break.el (type-break-time-sum): Rewrite using time-add.
18496
18497 * play/hanoi.el (hanoi-current-time-float): Remove.
18498 All uses replaced by float-time.
18499
18500 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
18501 This yields a more-accurate answer.
18502 (rng-time-to-float): Remove; no longer needed.
18503
18504 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
18505
18506 * calendar/timeclock.el (timeclock-seconds-to-time):
18507 Defalias to seconds-to-time, since they're the same thing.
18508
18509 * emacs-lisp/elp.el (elp-elapsed-time):
18510 * emacs-lisp/benchmark.el (benchmark-elapse):
18511 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
18512
18513 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
18514
18515 * window.el (bury-buffer): Don't iconify the only frame.
18516 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
18517 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
18518
18519 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
18520
18521 * eshell/em-smart.el (eshell-smart-display-navigate-list):
18522 Add mouse-yank-primary.
18523
18524 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
18525
18526 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
18527
18528 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
18529
18530 * emacs-lisp/find-func.el (find-library--load-name): New fun.
18531 (find-library-name): Use it to find relative load names when provided
18532 absolute file name (bug#8803).
18533
18534 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
18535
18536 * textmodes/flyspell.el (flyspell-word): Consider words that
18537 differ only in case as potential doublons (bug#5687).
18538
18539 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
18540 Remove two rather uninteresting debugging-like messages to make
18541 debbugs.el more silent.
18542
18543 * comint.el (comint-password-prompt-regexp): Accept "Response" as
18544 a password-like phrase.
18545
18546 2011-06-30 Masatake YAMATO <yamato@redhat.com>
18547
18548 * progmodes/cc-guess.el: New file.
18549
18550 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
18551
18552 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
18553 derived from `c-basic-common-init'.
18554
18555 * progmodes/cc-mode.el (top-level): Require cc-guess.
18556 (c-basic-common-init): Use `cc-choose-style-for-mode'.
18557
18558 2011-06-30 Lawrence Mitchell <wence@gmx.li>
18559
18560 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
18561
18562 2011-06-30 Alan Mackenzie <acm@muc.de>
18563
18564 * progmodes/cc-engine.el (c-guess-continued-construct):
18565 Correct the handling of template-args-cont, particularly for when font
18566 lock is disabled. Name this case as "CASE G".
18567
18568 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
18569
18570 * allout.el (allout-yank-processing): Fix injection of extra space
18571 between bullet and non-whitespace character in first topic when
18572 pasting, ensuring that the actual spacing in the pasted topic
18573 following the bullet char is preserved. This extra space was
18574 causing pasted encrypted topics to get a decrypted status even
18575 when the content was actually still encrypted. Now the decryption
18576 status from before the paste is preserved.
18577
18578 (allout-flag-region): Set all allout overlays so they evaporate
18579 when reduced to zero length (evanescent), to prevent overlay
18580 leakage.
18581
18582 2011-06-30 Glenn Morris <rgm@gnu.org>
18583
18584 * w32-fns.el (w32-charset-info-alist): Declare.
18585
18586 * find-dired.el (find-grep-options): Simplify.
18587
18588 * term/ns-win.el (ns-set-resource): Declare.
18589
18590 * ses.el (row, col): Declare dynamic variables honestly.
18591
18592 * textmodes/reftex-parse.el (index-tags): Declare.
18593
18594 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
18595
18596 * cus-edit.el (customize-push-and-save): New function.
18597
18598 * files.el (hack-local-variables-confirm): Use it.
18599
18600 * custom.el (load-theme): New arg NO-CONFIRM.
18601 Use customize-push-and-save (Bug#8720).
18602 (custom-enabled-themes): Doc fix.
18603
18604 * cus-theme.el (customize-create-theme)
18605 (custom-theme-merge-theme): Callers to load-theme changed.
18606
18607 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
18608
18609 * thingatpt.el (thing-at-point-short-url-regexp): Require that
18610 short URLs have at least one dot in them (bug #7614).
18611
18612 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
18613 nil, because using a pty is apparently too slow (bug #895).
18614
18615 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
18616
18617 * mail/sendmail.el (sendmail-query-once): New function.
18618 (sendmail-query-once-function): New variable.
18619
18620 2011-06-29 Glenn Morris <rgm@gnu.org>
18621
18622 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
18623
18624 * ses.el (top-level): Require cl when compiling.
18625 (ses-set-localvars): Fix error statement.
18626 Call it at compile time to silence a storm of warnings.
18627
18628 2011-06-29 Martin Rudalics <rudalics@gmx.at>
18629
18630 * window.el (normalize-live-buffer): Rename to
18631 window-normalize-buffer.
18632 (normalize-live-frame): Rename to window-normalize-frame.
18633 (normalize-any-window): Rename to window-normalize-any-window.
18634 (normalize-live-window): Rename to window-normalize-live-window.
18635 (make-window-atom): Rename to window-make-atom.
18636 (window-resize-reset): Rename to window--resize-reset.
18637 (window-resize-reset-1): Rename to window--resize-reset-1.
18638 (resize-mini-window): Rename to window--resize-mini-window.
18639 (resize-subwindows-skip-p): Rename to
18640 window--resize-subwindows-skip-p.
18641 (resize-subwindows-normal): Rename to
18642 window--resize-subwindows-normal.
18643 (resize-subwindows): Rename to window--resize-subwindows.
18644 (resize-other-windows): Rename to window--resize-siblings.
18645 (resize-this-window): Rename to window--resize-this-window.
18646 (resize-root-window): Rename to window--resize-root-window.
18647 (resize-root-window-vertically): Rename to
18648 window--resize-root-window-vertically.
18649 (normalize-buffer-to-display): Rename to
18650 window-normalize-buffer-to-display.
18651 (normalize-buffer-to-switch-to): Rename to
18652 window-normalize-buffer-to-switch-to.
18653 Correspondingly update all callers of the functions listed
18654 above.
18655 (display-buffer-alist, display-buffer-normalize-arguments)
18656 (display-buffer-normalize-options, display-buffer)
18657 (display-buffer-alist-set): Use "function" instead of
18658 "fun-with-args".
18659
18660 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
18661
18662 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
18663 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
18664 debbugs.gnu.org. Mention acknowledgment email.
18665
18666 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
18667
18668 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
18669 buffer multibyteness, since it shouldn't matter.
18670
18671 2011-06-28 Martin Rudalics <rudalics@gmx.at>
18672
18673 * window.el (display-buffer-in-side-window): Handle dedicated
18674 windows as in display-buffer-reuse-window.
18675 (display-buffer-normalize-alist): Use value of override
18676 specifier.
18677 (display-buffer-normalize-specifiers): Use value of
18678 other-window-means-other-frame specifier.
18679 (display-buffer-alist): Rewrite some texts in widgets.
18680 (display-buffer): Spread arguments when calling function
18681 specified by fun-with-args.
18682
18683 2011-06-28 Deniz Dogan <deniz@dogan.se>
18684
18685 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
18686 Unnest `let'.
18687
18688 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
18689 selectors (Bug#5732).
18690 (css-proprietary-nmstart-re): Use `regexp-opt'.
18691
18692 2011-06-27 Jari Aalto <jari.aalto@cante.net>
18693
18694 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
18695 (eshell-ls-date-format): New defcustom.
18696 (eshell-ls-file): Use it.
18697
18698 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
18699
18700 * help-fns.el (describe-variable): Fix message for terminal-local vars.
18701
18702 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
18703
18704 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
18705 (ange-ftp-make-tmp-name): New arg.
18706 (ange-ftp-file-local-copy): Use it.
18707
18708 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
18709
18710 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
18711 no-conversion (Bug#8870).
18712
18713 2011-06-27 Martin Rudalics <rudalics@gmx.at>
18714
18715 * window.el (window-right, window-left, window-child)
18716 (window-child-count, window-last-child)
18717 (window-iso-combination-p, walk-window-tree-1)
18718 (window-atom-check-1, window-tree-1, delete-window)
18719 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
18720 new naming conventions - window-vchild, window-hchild,
18721 window-next and window-prev are now called window-top-child,
18722 window-left-child, window-next-sibling and window-prev-sibling
18723 respectively.
18724 (resize-window-reset): Rename to window-resize-reset.
18725 (resize-window-reset-1): Rename to window-resize-reset-1.
18726 (resize-window): Rename to window-resize.
18727 (window-min-height, window-min-width)
18728 (resize-mini-window, resize-this-window, resize-root-window)
18729 (resize-root-window-vertically, adjust-window-trailing-edge)
18730 (enlarge-window, shrink-window, maximize-window)
18731 (minimize-window, delete-window, quit-restore-window)
18732 (split-window, balance-windows, balance-windows-area-adjust)
18733 (balance-windows-area, window-state-put-2)
18734 (display-buffer-even-window-sizes, display-buffer-set-height)
18735 (display-buffer-set-width, set-window-text-height)
18736 (fit-window-to-buffer): Rename all "resize-window" prefixed
18737 calls to use the "window-resize" prefix convention.
18738 (display-buffer-alist): Fix symbol for label specifier.
18739 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
18740 corresponding specifier.
18741 Reported by Juanma Barranquero <lekktu@gmail.com>.
18742
18743 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
18744
18745 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
18746 convention.
18747 (ses-call-printer): Does not pass an empty string to formatter when the
18748 cell is empty to keep from barking printer Calc math-format-value.
18749
18750 2011-06-27 Richard Stallman <rms@gnu.org>
18751
18752 * battery.el (battery-mode-line-limit): New variable.
18753 (battery-update): Handle it.
18754
18755 * mail/rmailmm.el (rmail-mime-process-multipart):
18756 Handle truncated messages.
18757
18758 2011-06-27 Glenn Morris <rgm@gnu.org>
18759
18760 * progmodes/flymake.el (flymake-err-line-patterns):
18761 Allow for column numbers in the ant/javac pattern. (Bug#8866)
18762
18763 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
18764
18765 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
18766 (ses--clean-!, ses--clean-_): New functions.
18767 (ses-range): Add configurability of readout order, and conversion
18768 to Calc vector.
18769
18770 * ses.el (ses-repair-cell-reference-all): New function.
18771 (ses-cell-symbol): Set macro as safe, so that it can be used in
18772 formulas.
18773
18774 * ses.el: Update cycle detection algorithm.
18775 (ses-localvars): Add ses--Dijkstra-attempt-nb and
18776 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
18777 (ses-set-localvars): New function.
18778 (ses-make-cell): Add property-list as a cell element.
18779 (ses-cell-property-get-fun, ses-cell-property-get)
18780 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
18781 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
18782 New functions.
18783 (ses-cell-property-set, ses-cell-property-pop)
18784 (ses-cell-property-get-handle): New macro.
18785 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
18786 New aliases, used for code readability.
18787 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
18788 cycle detection.
18789 (ses-self-reference-early-detection): New defcustom.
18790 (ses-formula-references): Robustify against self-referring cells.
18791 (ses-mode): Use ses-set-localvars.
18792 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
18793 before lauching the update processing.
18794 (ses-initialize-Dijkstra-attempt): New function.
18795 (ses-recalculate-cell): Update for cycle detection based on
18796 Dijkstra algorithm.
18797
18798 * ses.el: Fix commenting and indenting convention.
18799
18800 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
18801
18802 * bs.el (bs-cycle-next): Complete last change.
18803
18804 2011-06-27 Drew Adams <drew.adams@oracle.com>
18805
18806 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
18807
18808 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
18809
18810 * net/network-stream.el (network-stream-open-starttls):
18811 Don't re-get capabilities unless we've reestablished connection.
18812 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
18813
18814 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
18815 to binary to possibly avoid line encoding issues on Windows (among
18816 other things).
18817
18818 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
18819
18820 * net/network-stream.el (open-network-stream): Return an :error
18821 saying what the problem was, if possible.
18822
18823 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
18824 server.
18825
18826 * net/network-stream.el (network-stream-open-starttls): If we
18827 wanted to use STARTTLS, and the server offered it, but we weren't
18828 able to because we had no STARTTLS support, then close the connection.
18829 (open-network-stream): Return an :error element, if present.
18830
18831 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
18832
18833 * hl-line.el (hl-line-sticky-flag): Doc fix.
18834 (global-hl-line-sticky-flag): New option (Bug#8323).
18835 (global-hl-line-highlight): Obey it.
18836
18837 * vc/vc.el (vc-revert-show-diff): Default to t.
18838
18839 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
18840
18841 * allout-widgets.el (allout-widgets-post-command-business):
18842 Stop decorating intermediate isearch matches. They're not being
18843 undecorated when an isearch is continued past, and isearch
18844 automatically collapses them. This leads to "widget leaks", where
18845 decorated items accumulate in collapsed areas. Lines with lots of
18846 hidden widgets can slow down cursor travel, substantially.
18847 Too much complicated machinery would be needed to ensure undecoration,
18848 so we're doing without this nicety.
18849
18850 (allout-widgets-tally-string): Don't try to do a hash-table-count
18851 of allout-widgets-tally when it's nil. This eliminates spurious "Error
18852 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
18853 *Messages* when allout-widgets-maintain-tally is t.
18854
18855 2011-06-26 Martin Rudalics <rudalics@gmx.at>
18856
18857 * window.el (display-buffer-normalize-argument): Rename to
18858 display-buffer-normalize-arguments. Handle special meaning of
18859 LABEL argument. Respect special-display-function when popping up
18860 a new frame. Fix code searching for a window showing the buffer
18861 on another frame.
18862 (display-buffer-normalize-specifiers):
18863 Call display-buffer-normalize-arguments.
18864 (display-buffer-in-window): Don't undedicate the window if its
18865 buffer remains the same.
18866 Reported by Drew Adams <drew.adams@oracle.com>.
18867 (display-buffer-alist): Add choice for same-window macro
18868 specfier.
18869 (display-buffer): Mention special meaning of LABEL argument in
18870 doc-string. Fix quoting. Don't pop up a new frame even as
18871 fallback.
18872
18873 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
18874
18875 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
18876 avoid deleting the current window in some cases (bug#8911).
18877
18878 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
18879
18880 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
18881 (Bug#8934)
18882
18883 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
18884
18885 * net/network-stream.el (network-stream-open-starttls):
18886 Use built-in TLS support if `gnutls-available-p' is true.
18887 (network-stream-open-tls): Ditto.
18888
18889 2011-06-26 Leo Liu <sdl.web@gmail.com>
18890
18891 * register.el (registerv): New struct.
18892 (registerv-make): New function.
18893 (jump-to-register, describe-register-1, insert-register):
18894 Support the jump-func, print-func and insert-func slot of a registerv
18895 struct. (Bug#8415)
18896
18897 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
18898
18899 * vc/vc.el (vc-revert-show-diff): New defcustom.
18900 (vc-diff-internal): New arg specifying diff buffer.
18901 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
18902 reuse an existing *vc-diff* buffer (Bug#8927).
18903
18904 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
18905
18906 2011-06-26 Glenn Morris <rgm@gnu.org>
18907
18908 * progmodes/f90.el (f90-critical-indent): New option.
18909 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
18910 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
18911 (f90-mode): Doc fix.
18912 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
18913 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
18914 (f90-beginning-of-block, f90-next-block, f90-indent-region)
18915 (f90-match-end): Handle block, critical.
18916
18917 2011-06-25 Glenn Morris <rgm@gnu.org>
18918
18919 * calendar/diary-lib.el (diary-included-files): Doc fix.
18920 (diary-include-files): New function, extracted from
18921 diary-include-other-diary-files and diary-mark-included-diary-files.
18922 (diary-include-other-diary-files, diary-mark-included-diary-files):
18923 Just call diary-include-files.
18924 (diary-mark-entries): Reset diary-included-files on first call.
18925
18926 * calendar/diary-lib.el (diary-mark-entries)
18927 (diary-mark-included-diary-files):
18928 Visit included diary-files in temp buffers.
18929
18930 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
18931 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
18932 (f90-start-block-re, f90-imenu-generic-expression)
18933 (f90-looking-at-program-block-start, f90-no-block-limit):
18934 Add support for submodules.
18935
18936 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
18937 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
18938
18939 2011-06-25 Eli Zaretskii <eliz@gnu.org>
18940
18941 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
18942 buffer-file-type before setting its value, to avoid disastrous
18943 global effects on decoding files for DOS/Windows systems. (Bug#8780)
18944
18945 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
18946
18947 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
18948
18949 * ses.el (ses-unload-function):
18950 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
18951
18952 * proced.el (proced-unload-function):
18953 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
18954
18955 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
18956
18957 * server.el (server-create-window-system-frame): Add parameters arg.
18958 (server-process-filter): Doc fix. Handle frame-parameters.
18959
18960 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
18961
18962 Fix bug#8730, bug#8781.
18963
18964 * loadhist.el (unload--set-major-mode): New function.
18965 (unload-feature): Use it.
18966
18967 * progmodes/python.el (python-after-info-look): Add autoload cookie.
18968 (python-unload-function): New function.
18969
18970 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
18971
18972 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
18973
18974 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
18975
18976 * net/browse-url.el (browse-url-firefox-program): Add icecat to
18977 the candidates list.
18978
18979 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
18980
18981 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
18982
18983 2011-06-23 Richard Stallman <rms@gnu.org>
18984
18985 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
18986 (rmail-variables): Set next-error-move-function.
18987 (rmail-what-message): Take argument POS.
18988 (rmail-next-error-move): New function.
18989
18990 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
18991
18992 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
18993 messages for adjacent non-terminals.
18994
18995 2011-06-23 Richard Stallman <rms@gnu.org>
18996
18997 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
18998 (rmail-show-message-1): Preserve buffer modified flag.
18999 (rmail-start-mail): Don't specify use of rmail-mail-return;
19000 that's done by mail-bury now.
19001 (rmail-mail-return): Handle arg NEWBUF.
19002
19003 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
19004
19005 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
19006 SIZE is a number.
19007
19008 2011-06-23 Martin Rudalics <rudalics@gmx.at>
19009
19010 * window.el (get-lru-window, get-mru-window)
19011 (get-largest-window): Never return a minibuffer window.
19012 (display-buffer-pop-up-window): Fix a bug that could lead to
19013 reusing the minibuffer window.
19014 (display-buffer): Pass original specifier argument to
19015 display-buffer-function instead of the normalized one.
19016 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
19017
19018 2011-06-22 Leo Liu <sdl.web@gmail.com>
19019
19020 * minibuffer.el (completing-read-function)
19021 (completing-read-default): Move from minibuf.c.
19022
19023 2011-06-22 Richard Stallman <rms@gnu.org>
19024
19025 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
19026 to Rmail even if not started by a special Rmail command.
19027
19028 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
19029 Copy the buffer currently showing just one message.
19030
19031 2011-06-22 Roland Winkler <winkler@gnu.org>
19032
19033 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
19034 (bibtex-clean-entry): First delete the old key so that a
19035 customized algorithm for generating the new key does not get
19036 confused by the old key.
19037 (bibtex-url): Obey regexp of first step.
19038 (bibtex-search-entries): Do not use add-to-list with local
19039 list-var.
19040
19041 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
19042
19043 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
19044 stored a user name, then query for the password first, instead of
19045 waiting for SMTP to give an error message and the trying again.
19046
19047 2011-06-22 Lawrence Mitchell <wence@gmx.li>
19048
19049 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
19050 BUFFER in call-process.
19051
19052 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
19053
19054 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
19055 QUIT twice.
19056 (smtpmail-try-auth-methods): Require user name and password from
19057 auth-source.
19058
19059 2011-06-22 Martin Rudalics <rudalics@gmx.at>
19060
19061 * window.el (display-buffer-default-specifiers)
19062 (display-buffer-alist): Remove entries for pop-up-frame-alist.
19063 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
19064 (split-window): Normalize SIDE argument (Bug#8916).
19065
19066 * frame.el (pop-up-frame-alist, pop-up-frame-function)
19067 (special-display-frame-alist, special-display-popup-frame):
19068 Remove duplicate declarations. These are now in window.el.
19069
19070 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19071
19072 * mail/smtpmail.el (smtpmail-via-smtp):
19073 Set :use-starttls-if-possible so that we always use STARTTLS if the
19074 server supports it. SMTP servers that support STARTTLS commonly
19075 require it.
19076
19077 * net/network-stream.el (network-stream-open-starttls): Support
19078 upgrading to STARTTLS always, even if we don't have built-in support.
19079 (open-network-stream): Add the :always-query-capabilities keyword.
19080
19081 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
19082 upgrades with `open-network-stream', and rely solely on
19083 auth-source for all credentials. Big changes throughout the file,
19084 but in particular:
19085 (smtpmail-auth-credentials): Remove.
19086 (smtpmail-starttls-credentials): Remove.
19087 (smtpmail-via-smtp): Check for servers saying they want AUTH after
19088 MAIL FROM, too.
19089
19090 * net/network-stream.el (network-stream-open-starttls):
19091 Provide support for client certificates both for external and built-in
19092 STARTTLS.
19093 (auth-source): Require.
19094 (open-network-stream): Document the :client-certificate keyword.
19095 (network-stream-certificate): Change cert-cert to cert and
19096 cert-key to key.
19097
19098 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
19099
19100 * net/tramp-cache.el (top): Don't load the persistency file when
19101 "emacs -Q" has been called.
19102
19103 2011-06-21 Tim Harper <timcharper@gmail.com>
19104
19105 * term/ns-win.el (ns-initialize-window-system):
19106 Set application-specific `ApplePressAndHoldEnabled' system
19107 resource to NO as it is not yet supported by the NS port.
19108
19109 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
19110
19111 * misc.el (list-dynamic-libraries--refresh): Compute header here...
19112 (list-dynamic-libraries): ...not here.
19113
19114 2011-06-21 Leo Liu <sdl.web@gmail.com>
19115
19116 * subr.el (sha1): Implement sha1 using secure-hash.
19117
19118 2011-06-21 Martin Rudalics <rudalics@gmx.at>
19119
19120 * window.el (display-buffer-alist): In default value do not
19121 enforce searching a window on any but the selected frame.
19122 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
19123 (display-buffer-select-window): Remove function.
19124 (display-buffer-in-window): When a window on another frame gets
19125 reused, do not select it any more but just raise its frame if
19126 necessary (Bug#8851) and (Bug#8856).
19127 (display-buffer-normalize-options): Handle pop-up-frames related
19128 options more faithfully.
19129 (pop-to-buffer): Don't rely on `display-buffer' selecting the
19130 window if it is on another frame.
19131 (display-buffer-alist, display-buffer-default-specifiers):
19132 Don't make new frame unsplittable by default.
19133 (display-buffer-normalize-argument): Fix doc-string typo and use
19134 'same-frame-other-window instead of 'other-window when associating
19135 with display-buffer-macro-specifiers.
19136
19137 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
19138
19139 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
19140 New functions.
19141 (5x5-mode-map, 5x5-mode-menu): Bind them.
19142 (5x5-draw-grid): Tweak the solver's rendering.
19143
19144 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
19145
19146 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
19147 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
19148
19149 2011-06-21 Drew Adams <drew.adams@oracle.com>
19150
19151 * menu-bar.el: Use function variable instead of switch-to-buffer.
19152 (menu-bar-select-buffer-function): New variable.
19153 (menu-bar-update-buffers): Use it (bug#8876).
19154
19155 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
19156
19157 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
19158 variable's status.
19159
19160 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
19161
19162 * x-dnd.el (x-dnd-version-from-flags)
19163 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
19164 and long as number (Bug#8899).
19165 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
19166
19167 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
19168
19169 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
19170 (completion-try-completion, completion-all-completions): Compute the
19171 metadata argument if it's missing; make it optional (bug#8795).
19172
19173 * wid-edit.el: Use lex-bind and move towards completion-at-point.
19174 (widget-complete): Use new :completion-function property.
19175 (widget-completions-at-point): New function.
19176 (default): Use :completion-function instead of :complete.
19177 (widget-default-completions): Rename from widget-default-complete;
19178 Rewrite.
19179 (widget-string-complete, widget-file-complete, widget-color-complete):
19180 Remove functions.
19181 (file, symbol, function, variable, coding-system, color):
19182 * international/mule-cmds.el (default-input-method, charset)
19183 (language-info-custom-alist):
19184 * cus-edit.el (face): Use new property :completions.
19185
19186 * progmodes/pascal.el (pascal-completions-at-point): New function.
19187 (pascal-mode): Use it.
19188 (pascal-mode-map): Use completion-at-point.
19189 (pascal-toggle-completions): Make obsolete.
19190 (pascal-complete-word, pascal-show-completions):
19191 * progmodes/octave-mod.el (octave-complete-symbol):
19192 Redefine as obsolete alias.
19193 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
19194 Signal absence of completion info for old Octave,
19195 (inferior-octave-complete): Redefine as obsolete alias.
19196 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
19197 (meta-completions-at-point): Rename from meta-complete-symbol and
19198 adapt it for use on completion-at-point-functions.
19199 (meta-common-mode): Use it.
19200 (meta-looking-at-backward, meta-match-buffer): Remove.
19201 (meta-complete-symbol): Redefine as obsolete alias.
19202 (meta-common-mode-map): Use completion-at-point.
19203 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
19204 (makefile-mode-map): Use completion-at-point.
19205 (makefile-completions-at-point): Rename from makefile-complete and
19206 adapt it for use on completion-at-point-functions.
19207 (makefile-mode): Use it.
19208 (makefile-complete): Redefine as obsolete alias.
19209
19210 2011-06-20 Deniz Dogan <deniz@dogan.se>
19211
19212 * net/rcirc.el: Delete trailing whitespaces once and for all.
19213
19214 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
19215
19216 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
19217
19218 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
19219
19220 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
19221
19222 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
19223
19224 2011-06-19 Martin Rudalics <rudalics@gmx.at>
19225
19226 * window.el (display-buffer-other-window-means-other-frame):
19227 Call display-buffer-normalize-alist.
19228 (display-buffer-normalize-specifiers-1): Rename to
19229 display-buffer-normalize-argument. New argument other-frame.
19230 Rewrite.
19231 (display-buffer-normalize-specifiers-2): Rename to
19232 display-buffer-normalize-options.
19233 (display-buffer-normalize-alist-1): New function.
19234 (display-buffer-normalize-specifiers-3): Rename to
19235 display-buffer-normalize-alist.
19236 Call display-buffer-normalize-alist-1.
19237 (display-buffer-normalize-options-inhibit): New variable.
19238 (display-buffer-normalize-specifiers): Rewrite calling
19239 display-buffer-normalize-alist,
19240 display-buffer-normalize-argument, and
19241 display-buffer-normalize-options. Don't call the latter if
19242 display-buffer-normalize-options-inhibit is non-nil.
19243 (frame-auto-delete): New option.
19244 (window-deletable-p): Use frame-auto-delete.
19245 (window-list-no-nils, window-state-ignored-parameters)
19246 (window-state-get-1, window-state-get, window-state-put-list)
19247 (window-state-put-1, window-state-put-2, window-state-put):
19248 New functions.
19249 (display-buffer-normalize-options): Move special-display-p group
19250 after pop-up-frame group (Bug#8851) and (Bug#8856).
19251
19252 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
19253
19254 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
19255 groups (Bug#8776).
19256 (rx-submatch-n): New function.
19257 (rx): Document it.
19258
19259 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
19260 (Bug#8768).
19261
19262 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
19263
19264 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
19265
19266 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
19267 anytime existing face settings are present (Bug#8889).
19268
19269 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
19270 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
19271 Remove unused argument.
19272
19273 2011-06-18 Martin Rudalics <rudalics@gmx.at>
19274
19275 * window.el (display-buffer-default-specifiers):
19276 Remove pop-up-frame. Add pop-up-window-min-height,
19277 pop-up-window-min-width, and another reuse-window specifier
19278 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
19279 (display-buffer-normalize-specifiers-2):
19280 Handle split-height-threshold and split-width-threshold also when
19281 pop-up-windows is unset. Add a reuse-window specifier for the
19282 case popping up a new window fails.
19283 (special-display-popup-frame): Remove double quoting.
19284 (display-buffer-normalize-specifiers-1): Fix thinko.
19285
19286 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
19287
19288 * shell.el (shell-completion-vars): Set pcomplete-termination-string
19289 according to comint-completion-addsuffix.
19290
19291 * pcomplete.el: Convert to lexical binding and fix bug#8819.
19292 (pcomplete-suffix-list): Mark as obsolete.
19293 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
19294 pcomplete-seen in the closure.
19295 (pcomplete-comint-setup): Setup completion-at-point as well.
19296 (pcomplete--entries): New function.
19297 (pcomplete--env-regexp): New var.
19298 (pcomplete-entries): Rewrite to work with partial-completion and
19299 without relying on pcomplete-suffix-list.
19300 (pcomplete-pare-list): Remove, unused.
19301
19302 2011-06-17 Martin Rudalics <rudalics@gmx.at>
19303
19304 * window.el (display-buffer-alist): Set pop-up-window-min-height
19305 and pop-up-window-min-width in default value. Reported by
19306 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
19307 other-window-means-other-frame.
19308 (display-buffer-macro-specifiers): Comment out entry for
19309 other-window specifier.
19310 (display-buffer-other-window-means-other-frame): New function.
19311 (display-buffer-normalize-specifiers-1): New arguments
19312 buffer-name and label. Treat other-window case specially.
19313 (display-buffer-normalize-specifiers-2): Treat other-window case
19314 specially.
19315 (display-buffer-normalize-specifiers-3): New function.
19316 (display-buffer-normalize-specifiers):
19317 Call display-buffer-normalize-specifiers-3.
19318
19319 2011-06-17 Martin Rudalics <rudalics@gmx.at>
19320
19321 * window.el (same-window-p): Fix two typos introduced when
19322 adding with-no-warnings.
19323 (display-buffer-normalize-specifiers-1): Don't check
19324 pop-up-frames for 'unset initialization.
19325 (display-buffer-normalize-specifiers-2): Major rewrite using
19326 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
19327 (pop-up-frames, display-buffer-reuse-frames)
19328 (display-buffer-mark-dedicated): Don't initialize to 'unset.
19329 Suggested by David Engster <deng@randomsample.de>.
19330 (even-window-heights): Initialize to 'unset.
19331 (display-buffer-alist-set): Handle new 'unset initializations.
19332 (display-buffer-macro-specifiers): Don't pop up a new frame in the
19333 other window case.
19334
19335 2011-06-16 Martin Rudalics <rudalics@gmx.at>
19336
19337 * window.el (display-buffer-normalize-specifiers-1):
19338 Respect current value of pop-up-frames for most reasonable values of
19339 second argument of display-buffer (Bug#8865).
19340 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
19341 (switch-to-buffer-other-window-same-frame)
19342 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
19343 Adams (Bug#8875).
19344 (display-buffer): Don't check noninteractive when calling
19345 display-buffer-pop-up-frame.
19346 (display-buffer-pop-up-frame): Never pop up a frame in
19347 noninteractive mode (Bug#8857).
19348 (enlarge-window, shrink-window): Don't report an error when the
19349 window can't be resized as requested (Bug#8862).
19350
19351 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
19352
19353 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
19354
19355 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
19356
19357 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
19358
19359 2011-06-15 Alan Mackenzie <acm@muc.de>
19360
19361 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
19362 for declarators, disable knr checking to speed up for normal files.
19363 2: Refactor, replacing a sequence of nested if forms by a cond form.
19364
19365 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
19366
19367 * net/network-stream.el (open-network-stream): Add the keyword
19368 :always-query-capabilities for the case where you want to force a
19369 `plain' network connection, but the protocol still requires the
19370 capabilitiy command (i.e., SMTP and EHLO).
19371
19372 * subr.el (process-live-p): Rename from `process-alive-p' for
19373 consistency with other `-live-p' functions.
19374
19375 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
19376
19377 * window.el (same-window-buffer-names, same-window-regexps)
19378 (special-display-frame-alist, special-display-popup-frame)
19379 (special-display-function, special-display-buffer-names)
19380 (special-display-regexps, pop-up-frame-alist)
19381 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
19382 (pop-up-windows, split-window-preferred-function)
19383 (split-height-threshold, split-width-threshold, even-window-heights)
19384 (display-buffer-mark-dedicated): Don't encourage the use of
19385 display-buffer-alist from Elisp code.
19386
19387 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
19388
19389 * progmodes/python.el (python-mode): Derive from prog-mode.
19390 * progmodes/ps-mode.el (ps-mode):
19391 * progmodes/mixal-mode.el (mixal-mode):
19392 * progmodes/cfengine.el (cfengine-mode):
19393 * progmodes/ld-script.el (ld-script-mode): Likewise.
19394
19395 2011-06-15 Martin Rudalics <rudalics@gmx.at>
19396
19397 * window.el (display-buffer-alist): Trim default value to avoid
19398 popping up a new frame (Bug#8857) or reusing an arbitrary window
19399 on another frame.
19400 (display-buffer): Do not fall back on popping up a new frame in
19401 batch mode (Bug#8857).
19402
19403 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
19404
19405 * cus-theme.el (describe-theme-1): Use custom-theme-p.
19406 (custom-theme-summary): New function.
19407 (customize-themes): Use it.
19408
19409 2011-06-13 Glenn Morris <rgm@gnu.org>
19410
19411 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
19412
19413 2011-06-13 Martin Rudalics <rudalics@gmx.at>
19414
19415 * help.el (help-window): Remove variable.
19416 (help-window-point-marker, temp-buffer-max-height)
19417 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
19418 (help-print-return-message): Don't set help-window.
19419 (resize-temp-buffer-window): Rewrite cod eand doc-string.
19420 (help-window-setup-finish): Remove.
19421 (help-window-display-message, help-window-setup)
19422 (with-help-window): Major rewrite based on new
19423 display-buffer-window variable.
19424
19425 * help-mode.el (help-mode-finish): Remove help-window related
19426 code.
19427
19428 * view.el (view-exits-all-viewing-windows): Remove reference to
19429 view-return-to-alist in doc-string.
19430 (view-return-to-alist): Make obsolete.
19431 (view-buffer): Call pop-to-buffer-same-window and remove
19432 undo-window code.
19433 (view-buffer-other-window): Call pop-to-buffer-other-window and
19434 simplify code. Ignore second argument.
19435 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
19436 simplify code. Ignore second argument.
19437 (view-return-to-alist-update): Make obsolete.
19438 (view-mode-enter): Rename second argument to QUIT-RESTORE.
19439 Rewrite using quit-restore window parameters.
19440 (view-mode-exit): Rename second argument to EXIT-ONLY.
19441 Rewrite using quit-restore-window.
19442 (View-exit, View-exit-and-edit, View-leave, View-quit)
19443 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
19444 appropriate arguments.
19445 (view-end-message): Use quit-restore window parameter.
19446
19447 * window.el (display-buffer-function): Rewrite doc-string.
19448 (display-buffer-window, display-buffer-alist): New variables.
19449 (display-buffer-split-specifiers)
19450 (display-buffer-side-specifiers)
19451 (display-buffer-macro-specifiers): New constants.
19452 (display-buffer-even-window-sizes, display-buffer-set-height)
19453 (display-buffer-set-width, display-buffer-select-window)
19454 (display-buffer-in-window, display-buffer-reuse-window)
19455 (display-buffer-split-window-1, display-buffer-split-window)
19456 (display-buffer-split-atom-window, display-buffer-pop-up-window)
19457 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
19458 (display-buffer-in-side-window, normalize-buffer-to-display)
19459 (display-buffer-normalize-specifiers-1)
19460 (display-buffer-normalize-specifiers-2)
19461 (display-buffer-normalize-specifiers, display-buffer-frame):
19462 New functions.
19463 (display-buffer): Major rewrite.
19464 (display-buffer-other-window, display-buffer-other-frame)
19465 (pop-to-buffer, switch-to-buffer-other-window)
19466 (switch-to-buffer-other-frame): Rewrite.
19467 (display-buffer-same-window, display-buffer-same-frame)
19468 (display-buffer-same-frame-other-window)
19469 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
19470 (pop-to-buffer-other-window)
19471 (pop-to-buffer-same-frame-other-window)
19472 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
19473 (switch-to-buffer-other-window-same-frame): New functions.
19474 (same-window-p, special-display-p): Rewrite disabling warnings.
19475 Make obsolete.
19476 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
19477 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
19478 Make obsolete
19479 (same-window-buffer-names, same-window-regexps)
19480 (special-display-frame-alist, special-display-popup-frame)
19481 (special-display-function, special-display-buffer-names)
19482 (special-display-regexps, pop-up-frame-alist)
19483 (pop-up-frame-function, split-window-preferred-function)
19484 (split-height-threshold, split-width-threshold)
19485 (even-window-heights): Make obsolete.
19486
19487 2011-06-12 Glenn Morris <rgm@gnu.org>
19488
19489 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
19490 Misc simplifications.
19491
19492 2011-06-12 Martin Rudalics <rudalics@gmx.at>
19493
19494 * window.el (window-safely-shrinkable-p): Restore function which
19495 was inadvertently removed in change from 2011-06-11. Declare as
19496 obsolete.
19497
19498 * calendar/calendar.el (calendar-generate-window):
19499 Use window-iso-combined-p instead of combination of one-window-p and
19500 window-safely-shrinkable-p.
19501
19502 2011-06-12 Glenn Morris <rgm@gnu.org>
19503
19504 * progmodes/fortran.el (fortran-mode-syntax-table):
19505 * progmodes/f90.el (f90-mode-syntax-table):
19506 Set % to punctuation. (Bug#8820)
19507 (f90-find-tag-default): Remove, no longer needed.
19508
19509 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
19510
19511 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
19512
19513 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
19514
19515 * image.el (image-animated-p): Return animation delay in seconds.
19516 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
19517 (image-animate-timeout): Remove DELAY argument. Don't assume
19518 every subimage has the same delay; get it from image-animated-p.
19519 (image-animate): Caller changed.
19520
19521 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
19522
19523 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
19524 to ignored backtrace functions.
19525
19526 2011-06-11 Glenn Morris <rgm@gnu.org>
19527
19528 * calendar/appt.el (appt-disp-window-function): Doc fix.
19529 (appt-check): Handle overlapping appointments. (Bug#8337)
19530
19531 2011-06-11 Martin Rudalics <rudalics@gmx.at>
19532
19533 * window.el (window-tree-1, window-tree): New functions, moving
19534 the latter to window.el.
19535 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
19536 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
19537 (bw-refresh-edges): Remove.
19538 (balance-windows-1, balance-windows-2): New functions.
19539 (balance-windows): Rewrite in terms of window tree functions,
19540 balance-windows-1 and balance-windows-2.
19541 (bw-adjust-window): Remove.
19542 (balance-windows-area-adjust): New function with functionality of
19543 bw-adjust-window but using resize-window.
19544 (set-window-text-height): Rewrite doc-string.
19545 Use normalize-live-window and resize-window.
19546 (enlarge-window-horizontally, shrink-window-horizontally):
19547 Rename argument to DELTA.
19548 (window-buffer-height): New function.
19549 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
19550 Rewrite using new window resize routines.
19551 (kill-buffer-and-window, mouse-autoselect-window-select):
19552 Use ignore-errors instead of condition-case.
19553 (quit-window): Call delete-frame instead of delete-windows-on
19554 for the only buffer on frame.
19555
19556 2011-06-10 Martin Rudalics <rudalics@gmx.at>
19557
19558 * loadup.el (top-level): Load window before files for the sake
19559 of replace-buffer-in-windows.
19560
19561 * files.el (read-buffer-to-switch)
19562 (switch-to-buffer-other-window)
19563 (switch-to-buffer-other-frame, display-buffer-other-frame):
19564 Move to window.el.
19565
19566 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
19567 (previous-buffer): Move to window.el.
19568
19569 * bindings.el (unbury-buffer): Move to window.el.
19570
19571 * window.el (delete-other-windows-vertically): Move after
19572 definition of delete-other-windows.
19573 (other-window, delete-windows-on, replace-buffer-in-windows):
19574 Move here from window.c.
19575 (record-window-buffer, unrecord-window-buffer)
19576 (set-window-buffer-start-and-point, switch-to-prev-buffer)
19577 (switch-to-next-buffer): New functions.
19578 (get-next-valid-buffer, last-buffer, next-buffer): Move here
19579 from simple.el. Call switch-to-next-buffer.
19580 (previous-buffer): Move here from simple.el.
19581 Call switch-to-prev-buffer.
19582 (bury-buffer): Move here from buffer.c. Switch to previous
19583 buffer when window cannot be deleted.
19584 (unbury-buffer): Move here from bindings.el.
19585 (ctl-x-map): Move binding for other-window from window.c to
19586 here.
19587 (read-buffer-to-switch, switch-to-buffer-other-window)
19588 (switch-to-buffer-other-frame): Move here from files.el.
19589 (normalize-buffer-to-switch-to): New functions.
19590 (switch-to-buffer): Move here from buffer.c.
19591 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
19592
19593 2011-06-10 Martin Rudalics <rudalics@gmx.at>
19594
19595 * window.el (window-min-height, window-min-width): Move here
19596 from window.c. Add defcustoms and rewrite doc-strings.
19597 (resize-mini-window, resize-window): New functions.
19598 (adjust-window-trailing-edge, enlarge-window, shrink-window):
19599 Move here from window.c.
19600 (maximize-window, minimize-window): New functions.
19601 (delete-window, delete-other-windows, split-window): Move here
19602 from window.c.
19603 (window-split-min-size): New function.
19604 (split-window-keep-point): Mention split-window-above-each-other
19605 instead of split-window-vertically.
19606 (split-window-above-each-other, split-window-vertically):
19607 Rename split-window-vertically to split-window-above-each-other
19608 and provide defalias for old definition.
19609 (split-window-side-by-side, split-window-horizontally):
19610 Rename split-window-horizontally to split-window-side-by-side
19611 and provide defalias for the old definition.
19612 (ctl-x-map): Move bindings for delete-window,
19613 delete-other-windows and enlarge-window here from window.c.
19614 Replace bindings for split-window-vertically and
19615 split-window-horizontally by bindings for
19616 split-window-above-each-other and split-window-side-by-side.
19617
19618 * cus-start.el (all): Remove entries for window-min-height and
19619 window-min-width. Add entries for window-splits and
19620 window-nest.
19621
19622 2011-06-09 Glenn Morris <rgm@gnu.org>
19623
19624 * calendar/appt.el (appt-mode-line): New function.
19625 (appt-check, appt-disp-window): Use it.
19626
19627 * files.el (hack-one-local-variable-eval-safep):
19628 Allow minor-modes with explicit +/-1 arguments.
19629
19630 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
19631
19632 * term/xterm.el (xterm): Add defgroup.
19633 (xterm-extra-capabilities): Add defcustom to supply known xterm
19634 capabilities, skip querying them, or query them (default).
19635 (terminal-init-xterm): Use it.
19636 (terminal-init-xterm-modify-other-keys): New function to set up
19637 modifyOtherKeys support to simplify `terminal-init-xterm'.
19638
19639 2011-06-09 Martin Rudalics <rudalics@gmx.at>
19640
19641 * window.el (resize-window-reset, resize-window-reset-1)
19642 (resize-subwindows-skip-p, resize-subwindows-normal)
19643 (resize-subwindows, resize-other-windows, resize-this-window)
19644 (resize-root-window, resize-root-window-vertically)
19645 (window-deletable-p, window-or-subwindow-p)
19646 (frame-root-window-p): New functions.
19647
19648 2011-06-09 Glenn Morris <rgm@gnu.org>
19649
19650 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
19651 (ange-ftp-get-files): Use it.
19652
19653 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
19654
19655 * mail/sendmail.el (mail-recover-1, mail-recover):
19656 * files.el (recover-file, recover-session):
19657 Handle dired-listing-switches not being just a single short option.
19658
19659 2011-06-09 Glenn Morris <rgm@gnu.org>
19660
19661 * calendar/appt.el (appt-display-message, appt-disp-window):
19662 Handle lists of appointments.
19663
19664 2011-06-08 Martin Rudalics <rudalics@gmx.at>
19665
19666 * window.el (one-window-p): Move down in code.
19667 Rewrite doc-string.
19668 (window-current-scroll-bars): Rewrite doc-string.
19669 Normalize live window argument.
19670 (walk-windows, get-window-with-predicate, count-windows):
19671 Rewrite doc-string. Use window-list-1.
19672 (window-in-direction-2, window-in-direction, get-mru-window):
19673 New functions.
19674
19675 2011-06-08 Reuben Thomas <rrt@sc3d.org>
19676
19677 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
19678 Doc fix (Bug#8713).
19679
19680 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
19681
19682 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
19683
19684 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
19685
19686 * loadhist.el (unload-feature-special-hooks):
19687 Add `comint-output-filter-functions'.
19688
19689 2011-06-08 Ivan Kanis <gnu@kanis.fr>
19690
19691 * calendar/appt.el (appt-check): Move some initializations into the let.
19692
19693 2011-06-08 Martin Rudalics <rudalics@gmx.at>
19694
19695 * window.el (window-height): Defalias to window-total-height.
19696 (window-width): Defalias to window-body-width.
19697
19698 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
19699
19700 * image-mode.el (image-toggle-animation): New command.
19701 (image-mode-map): Bind it to RET.
19702 (image-mode): Update message.
19703 (image-toggle-display-image): Avoid a spurious cache flush.
19704 (image-transform-rotation): Doc fix.
19705 (image-transform-properties): Return quickly in the normal case.
19706 (image-animate-loop): Rename from image-animate-max-time.
19707
19708 * image.el (image-animate-max-time): Move to image-mode.el.
19709 (create-animated-image): Remove unnecessary function.
19710 (image-animate): Rename from image-animate-start. New arg.
19711 (image-animate-stop): Remove; just use image-animate-timer.
19712 (image-animate-timer): Use car-safe.
19713 (image-animate-timeout): Rename argument.
19714
19715 2011-06-07 Martin Rudalics <rudalics@gmx.at>
19716
19717 * window.el (get-lru-window, get-largest-window): Move here from
19718 window.c. Rename first argument to ALL-FRAMES.
19719 Rephrase doc-strings.
19720 (get-buffer-window-list): Rewrite using window-list-1.
19721 Rephrase doc-string.
19722 (window-safe-min-height, window-safe-min-width): New constants.
19723 (window-size-ignore, window-min-size, window-min-size-1)
19724 (window-sizable, window-sizable-p, window-size-fixed-1)
19725 (window-size-fixed-p, window-min-delta-1, window-min-delta)
19726 (window-max-delta-1, window-max-delta, window-resizable)
19727 (window-resizable-p, window-total-height, window-total-width)
19728 (window-body-width): New functions.
19729 (window-full-height-p, window-full-width-p): Rewrite using
19730 window-total-size.
19731 (window-body-height): Rewrite using window-body-size.
19732
19733 2011-06-06 Martin Rudalics <rudalics@gmx.at>
19734
19735 * window.el (window-right, window-left, window-child)
19736 (window-child-count, window-last-child, window-any-p)
19737 (normalize-live-buffer, normalize-live-frame)
19738 (normalize-any-window, normalize-live-window)
19739 (window-iso-combination-p, window-iso-combined-p)
19740 (window-iso-combinations)
19741 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
19742 (windows-with-parameter, window-with-parameter)
19743 (window-atom-root, make-window-atom, window-atom-check-1)
19744 (window-atom-check, window-side-check, window-check):
19745 New functions.
19746 (ignore-window-parameters, window-sides, window-sides-vertical)
19747 (window-sides-slots): New variables.
19748 (window-size-fixed): Move down in code. Minor doc-string fix.
19749
19750 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
19751
19752 * comint.el (comint-dynamic-complete-as-filename)
19753 (comint-dynamic-complete-filename): Correctly call
19754 completion-in-region.
19755
19756 2011-06-05 Deniz Dogan <deniz@dogan.se>
19757
19758 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
19759 in last change.
19760
19761 2011-06-05 Deniz Dogan <deniz@dogan.se>
19762
19763 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
19764 (rcirc): Use it to prompt for encryption.
19765
19766 2011-06-05 Roland Winkler <winkler@gnu.org>
19767
19768 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
19769 (bibtex-search-entries): New command bound to C-c C-a.
19770 (bibtex-display-entries): New function.
19771
19772 2011-06-05 Roland Winkler <winkler@gnu.org>
19773
19774 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
19775 (bibtex-insert-kill): After yanking insert newline if necessary.
19776 (bibtex-initialize): Call bibtex-string-files-init only once.
19777 (bibtex-mode): Do not call easy-menu-add.
19778 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
19779 (bibtex-yank): Set arg properly if nil.
19780
19781 2011-06-05 Roland Winkler <winkler@gnu.org>
19782
19783 * textmodes/bibtex.el (bibtex-search-entry-globally):
19784 New variable.
19785 (bibtex-search-entry): Use it.
19786
19787 2011-06-05 Roland Winkler <winkler@gnu.org>
19788
19789 * textmodes/bibtex.el (bibtex-entry-format): New option
19790 sort-fields.
19791 (bibtex-format-entry, bibtex-reformat): Honor this option.
19792 (bibtex-parse-entry): Return fields in proper order.
19793
19794 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
19795
19796 * doc-view.el (doc-view-remove-if): Move computation of result out
19797 of `dolist' to silence misleading lexical-binding warning.
19798
19799 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
19800
19801 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
19802 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
19803
19804 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
19805
19806 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
19807 "SunOS 5.10".
19808
19809 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
19810
19811 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
19812 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
19813 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
19814 (tramp-parse-putty):
19815 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
19816 (tramp-completion-function-alist-ssh)
19817 (tramp-completion-function-alist-telnet)
19818 (tramp-completion-function-alist-su)
19819 (tramp-completion-function-alist-putty): Set `tramp-autoload'
19820 cookie.
19821
19822 * net/tramp-ftp.el:
19823 * net/tramp-sh.el:
19824 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
19825 load "tramp.el" `tramp-set-completion-function'.
19826
19827 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
19828
19829 * shell.el: Require and use pcomplete.
19830 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
19831 (shell-completion-vars): Set pcomplete-default-completion-function.
19832
19833 2011-06-04 Deniz Dogan <deniz@dogan.se>
19834
19835 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
19836 `memq' (Bug#8799).
19837
19838 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
19839
19840 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
19841
19842 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
19843
19844 * bs.el (bs--mark-unmark, bs--nth-wrapper):
19845 * mpc.el (mpc-select-extend, mpc-songpointer-context):
19846 * vc/log-view.el (log-view-beginning-of-defun):
19847 * vc/smerge-mode.el (smerge-apply-resolution-patch)
19848 (smerge-refine-forward, smerge-refine-chopup-region):
19849 Silence warning for unused `dotimes' counter variables.
19850
19851 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
19852
19853 * net/tramp.el (tramp-with-progress-reporter): Rename from
19854 with-progress-reporter. Use `declare'.
19855 * net/tramp-smb.el:
19856 * net/tramp-sh.el:
19857 * net/tramp-gvfs.el: Update all uses.
19858
19859 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
19860
19861 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
19862 buffer isn't killed before making it current.
19863
19864 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
19865
19866 Silence various byte-compiler warnings.
19867 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
19868 `access-type' and new obsolescence format.
19869 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
19870 new format.
19871 (byte-compile-check-variable): New `access-type' argument.
19872 Only warn if the access-type is obsolete.
19873 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
19874 (byte-compile-variable-set): Adjust callers.
19875 * help-fns.el (describe-variable): Adjust to new obsolescence format.
19876 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
19877 setting it as obsolete.
19878 * simple.el (minibuffer-completing-symbol):
19879 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
19880 access as obsolete.
19881 * minibuffer.el (minibuffer-completing-file-name): Don't make it
19882 obsolete yet.
19883 * international/quail.el (quail-mouse-choose-completion): Remove unused
19884 code referring to obsolete var.
19885 (quail-choose-completion-string): Remove.
19886 * server.el (server-clients-with, server-kill-buffer-query-function)
19887 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
19888 * proced.el (proced-send-signal):
19889 * emacs-lisp/lisp.el (lisp-complete-symbol):
19890 Replace completion-annotate-function with completion-extra-properties.
19891
19892 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
19893
19894 * simple.el (goto-line): Use read-number.
19895 (overriding-map-is-bound): Remove.
19896 (saved-overriding-map): Change default.
19897 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
19898 Take the map as argument.
19899 (universal-argument, negative-argument, digit-argument): Use it.
19900 (restore-overriding-map): Adjust.
19901 (do-auto-fill): Use fill-forward-paragraph.
19902 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
19903
19904 * minibuffer.el (minibuffer-inactive-mode-map): New var.
19905 (minibuffer-inactive-mode): New major mode.
19906 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
19907 the *Messages* buffer" hack.
19908 (mouse-popup-menubar): Don't burp if the event is a normal key.
19909
19910 Miscellaneous tweaks.
19911 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
19912 lexical scoping as in subr.el's dolist and dotimes.
19913 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
19914 Silence compiler warning.
19915 * thingatpt.el (forward-whitespace): Trivial coding style fix.
19916 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
19917 * international/ccl.el (ccl-compile): Trivial simplification.
19918 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
19919 * emacs-lisp/testcover.el (testcover-end): Remove spurious
19920 `printflag' argument.
19921 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
19922 Purecopy the whole obsolescence data.
19923
19924 2011-06-01 Leo Liu <sdl.web@gmail.com>
19925
19926 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
19927 improve doc-string as suggested by Marco Pessotto
19928 <melmothx@gmail.com>.
19929 (rcirc-print): Fix last change.
19930
19931 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
19932
19933 * minibuffer.el (complete-with-action): Return nil for the metadata and
19934 boundaries of non-functional tables.
19935 (completion-table-dynamic): Return nil for the metadata.
19936 (completion-table-with-terminator): Add default case, using
19937 complete-with-action.
19938 (completion--metadata): New function.
19939 (completion-all-sorted-completions, minibuffer-completion-help): Use it
19940 to try and avoid pathological performance problems.
19941 (completion--embedded-envvar-table): Return `category' metadata.
19942
19943 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
19944
19945 * subr.el (process-alive-p): New tiny convenience function.
19946
19947 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
19948
19949 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
19950 content but also its previous major mode.
19951
19952 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
19953
19954 * emacs-lisp/debug.el (debug): Restore the previous content of the
19955 *Backtrace* buffer when we exit with C-M-c.
19956
19957 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
19958
19959 * minibuffer.el: Add metadata method to completion tables.
19960 (completion-category-overrides): New defcustom.
19961 (completion-metadata, completion--field-metadata)
19962 (completion-metadata-get, completion--styles)
19963 (completion--cycle-threshold): New functions.
19964 (completion-try-completion, completion-all-completions):
19965 Add `metadata' argument to choose completion-styles.
19966 (completion--do-completion): Use metadata to choose cycling.
19967 (completion-all-sorted-completions): Use metadata for sorting.
19968 Remove :completion-cycle-penalty which is not needed any more.
19969 (completion--try-word-completion): Add `metadata' argument.
19970 (minibuffer-completion-help): Check metadata for annotation function
19971 and sorting.
19972 (completion-file-name-table): Return `category' metadata.
19973 (minibuffer-completing-file-name): Make obsolete.
19974 * simple.el (minibuffer-completing-symbol): Make obsolete.
19975 * icomplete.el (icomplete-completions): Pass new `metadata' param to
19976 completion-try-completion.
19977
19978 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
19979
19980 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
19981
19982 2011-05-30 Leo Liu <sdl.web@gmail.com>
19983
19984 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
19985 (rcirc-print): Decode all incoming messages (bug#8744).
19986 (rcirc-decode-coding-system): Allow value nil for automatic coding
19987 system detection.
19988
19989 2011-06-01 Glenn Morris <rgm@gnu.org>
19990
19991 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
19992
19993 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
19994
19995 * image.el (image-animate-max-time): Allow nil and t values.
19996 Default to nil.
19997 (create-animated-image): Doc fix.
19998 (image-animate-start): Remove second arg; just use
19999 image-animate-max-time.
20000 (image-animate-timeout): Doc fix. Args changed.
20001
20002 * image-mode.el (image-toggle-display-image): Ensure that the
20003 image spec passed to the animate timer is the same object as in
20004 the buffer's display property (Bug#6981).
20005 (image-transform-properties): Doc fix.
20006
20007 * image.el (image-animate-max-time): Default to nil.
20008
20009 2011-05-29 Martin Rudalics <rudalics@gmx.at>
20010
20011 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
20012 entire buffer list (Bug#8184).
20013
20014 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
20015
20016 * image.el (imagemagick-types-inhibit)
20017 (imagemagick-register-types): Doc fix.
20018
20019 2011-05-29 Deniz Dogan <deniz@dogan.se>
20020
20021 * net/rcirc.el (rcirc): Use the user's stored encryption method by
20022 default.
20023
20024 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
20025
20026 * select.el: Don't perform clipboard-manager saving in hooks;
20027 leave the hooks empty.
20028
20029 2011-05-28 Leo Liu <sdl.web@gmail.com>
20030
20031 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
20032 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
20033 (occur-edit-mode): New major mode (Bug#8463).
20034 (occur-after-change-function): New function.
20035 (occur-engine): Give Occur tags a read-only property.
20036
20037 2011-05-28 Kevin Ryde <user42@zip.com.au>
20038
20039 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
20040
20041 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
20042
20043 * bindings.el (help-echo): Make the initial non-indicator dash
20044 empty on graphical terminals (Bug#7295).
20045
20046 * files.el (auto-mode-alist): Move config rule after the
20047 in-stripping one (Bug#8547).
20048
20049 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
20050
20051 * startup.el (normal-splash-screen): Remove gratuitous mode-line
20052 setting (Bug#8740).
20053
20054 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
20055
20056 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
20057 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
20058 (Bug#8539).
20059
20060 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
20061
20062 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
20063
20064 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
20065
20066 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
20067 (hs-hide-block-at-point, hs-find-block-beginning)
20068 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
20069 (Bug#8279).
20070
20071 2011-05-28 Glenn Morris <rgm@gnu.org>
20072
20073 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
20074
20075 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
20076
20077 * help-fns.el (describe-function-1): If the function is a derived
20078 major mode, print the parent mode.
20079
20080 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
20081 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
20082
20083 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
20084
20085 * minibuffer.el (completion--capf-wrapper): Check applicability before
20086 returning non-nil for non-exclusive completion data.
20087 * progmodes/etags.el (tags-completion-at-point-function):
20088 * info-look.el (info-lookup-completions-at-point): Mark as
20089 non-exclusive.
20090 (info-complete): Adjust accordingly.
20091
20092 * info-look.el: Convert to lexical-binding and completion-at-point.
20093 (info-lookup-completions-at-point): New function.
20094 (info-complete): Use it and completion-in-region.
20095
20096 2011-05-28 Drew Adams <drew.adams@oracle.com>
20097
20098 * isearch.el: Let M-e start with point at the first mismatched char.
20099 (isearch-fail-pos): New function.
20100 (isearch-edit-string): Use it.
20101
20102 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
20103
20104 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
20105
20106 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
20107
20108 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
20109 traversal functions for avl-trees.
20110 (avl-tree--stack): New struct.
20111 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
20112 (avl-tree-enter): Add optional `updatefun' arg.
20113 (avl-tree--do-enter): Add optional `updatefun' arg.
20114 Change return value.
20115 (avl-tree-delete): Add optional `test' and `nilflag' args.
20116 (avl-tree--do-delete): Add `test' and `nilflag' args.
20117 Change return value.
20118 (avl-tree-member): Add optional `nilflag'
20119 (avl-tree-member-p): New function.
20120 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
20121 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
20122 (avl-tree-stack-empty-p): New functions.
20123
20124 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
20125 avl-tree--del-balance1 and make it work both ways.
20126 (avl-tree--del-balance2): Remove.
20127 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
20128 make it work both ways.
20129 (avl-tree--enter-balance2): Remove.
20130 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
20131 New macros.
20132 (avl-tree--mapc, avl-tree-map): Add direction argument.
20133
20134 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
20135
20136 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
20137
20138 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
20139
20140 * select.el: Support clipboard managers with built-in function
20141 x-clipboard-manager-save, via delete-frame-functions and
20142 kill-emacs-hook.
20143 (xselect-convert-to-targets): Add MULTIPLE target to list.
20144 (xselect-convert-to-save-targets): New function.
20145
20146 2011-05-27 Kenichi Handa <handa@m17n.org>
20147
20148 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
20149 let-binding rfc2047-encode-encoded-words to nil.
20150
20151 2011-05-27 Glenn Morris <rgm@gnu.org>
20152
20153 * mail/emacsbug.el: Don't require url-util.
20154
20155 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
20156
20157 * files.el (set-auto-mode):
20158 Also respect mode: entries at the end of the file. (Bug#8586)
20159
20160 2011-05-26 Glenn Morris <rgm@gnu.org>
20161
20162 * files.el (hack-local-variables-prop-line, hack-local-variables):
20163 Downcase mode names, as seems to be traditional.
20164 (hack-local-variables, hack-local-variables-apply): Doc fixes.
20165
20166 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
20167 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
20168
20169 2011-05-25 Julien Danjou <julien@danjou.info>
20170
20171 * textmodes/rst.el (rst-define-level-faces): Do not define face
20172 symbol if it is already defined.
20173
20174 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
20175
20176 * play/5x5.el (5x5-new-game, 5x5-randomize):
20177 Reset 5x5-solver-output to nil when a new grid is cast.
20178 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
20179 these debugging traces, as defmacro breaks the compiled code.
20180
20181 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
20182
20183 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
20184
20185 2011-05-24 Leo Liu <sdl.web@gmail.com>
20186
20187 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
20188 (vc-bzr-sha1): Adapt.
20189
20190 * sha1.el: Remove. Function `sha1' is now builtin.
20191
20192 * bindings.el: Provide sha1 feature.
20193
20194 2011-05-24 Kenichi Handa <handa@m17n.org>
20195
20196 * mail/sendmail.el: Require `rfc2047'.
20197 (mail-insert-from-field): Do not perform RFC2047 encoding.
20198 (mail-encode-header): New function.
20199 (sendmail-send-it): Set buffer-file-coding-system of the work
20200 buffer to the return value of select-message-coding-system.
20201 Call mail-encode-header.
20202
20203 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
20204
20205 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
20206
20207 * mail/supercite.el (sc-default-cite-frame):
20208 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
20209
20210 2011-05-24 Glenn Morris <rgm@gnu.org>
20211
20212 * progmodes/python.el (brm-menu): Declare.
20213
20214 * emulation/viper.el (viper-set-hooks): Declare.
20215
20216 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
20217 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
20218 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
20219 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
20220 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
20221 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
20222
20223 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
20224
20225 Add an :exit-function for completion-at-point.
20226
20227 * minibuffer.el (completion--done): New fun.
20228 (completion--do-completion): Use it. New arg `expect-exact'.
20229 (minibuffer-complete, minibuffer-complete-word): Don't output message,
20230 since completion--do-completion does it for us now.
20231 (minibuffer-force-complete): Use completion--done and
20232 completion--replace. Handle sole-completion case with more care.
20233 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
20234 (completion-extra-properties): New var.
20235 (completion-annotate-function): Make obsolete.
20236 (minibuffer-completion-help): Adjust accordingly.
20237 Use completion-list-insert-choice-function.
20238 (completion-at-point, completion-help-at-point):
20239 Bind completion-extra-properties.
20240 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
20241 * simple.el (completion-list-insert-choice-function): New var.
20242 (completion-setup-function): Preserve it.
20243 (choose-completion): Pay attention to it, shuffle the code a bit.
20244 (choose-completion-string): New arg `insert-function'.
20245
20246 * textmodes/bibtex.el: Convert to lexical binding.
20247 (bibtex-mode-map): Use completion-at-point.
20248 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
20249 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
20250 (bibtex-complete): Define as obsolete alias.
20251 (bibtex-complete-internal): Remove.
20252 (bibtex-format-entry): Remove unused sub-group in regexp.
20253 * shell.el (shell--command-completion-data)
20254 (shell-environment-variable-completion):
20255 * pcomplete.el (pcomplete-completions-at-point):
20256 * comint.el (comint--complete-file-name-data): Use :exit-function
20257 instead of completion-table-with-terminator so it also works for
20258 choose-completion.
20259
20260 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
20261
20262 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
20263
20264 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
20265 (bug#8710).
20266
20267 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
20268
20269 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
20270
20271 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
20272 customization variable and implement: If non-nil, auto-fill will
20273 be inhibited while on topic's header line.
20274
20275 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
20276
20277 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
20278 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
20279 always have a solution in grid size = 5 cases.
20280 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
20281 (5x5-solver-output, 5x5-log-buffer): New vars.
20282 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
20283 Make these variables buffer local to achieve 5x5 multi-session-ness.
20284 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
20285 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
20286 (5x5-solve-suggest): New funs.
20287 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
20288 randomize a grid so that we ensure that there is always a solution.
20289 (5x5-make-random-grid): Allow other movement than flipping.
20290
20291 2011-05-23 Kevin Ryde <user42@zip.com.au>
20292
20293 * emacs-lisp/advice.el (ad-read-advised-function):
20294 Use `function-called-at-point' as the default, if it has
20295 advice and passes PREDICATE.
20296
20297 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
20298
20299 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
20300 byte-compile-lambda if it's actually a lambda.
20301
20302 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
20303 Fix function quoting. Use backquote better.
20304
20305 2011-05-22 Yuanle Song <sylecn@gmail.com>
20306
20307 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
20308 matching (Bug#8516).
20309
20310 2011-01-22 Jari Aalto <jari.aalto@cante.net>
20311
20312 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
20313 different face (Bug#8178).
20314
20315 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
20316
20317 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
20318 defface (Bug#8144).
20319
20320 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
20321
20322 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
20323 funcall as well (bug#8712). Warn when performing those conversions.
20324 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
20325
20326 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
20327
20328 2011-05-22 Glenn Morris <rgm@gnu.org>
20329
20330 * files.el (hack-local-variables-prop-line): Small simplifications.
20331 (hack-local-variables, hack-local-variables-prop-line):
20332 If MODE-ONLY, return the mode, rather than just `t'.
20333
20334 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
20335
20336 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
20337
20338 2011-05-21 Glenn Morris <rgm@gnu.org>
20339
20340 * files.el (hack-local-variables-prop-line, hack-local-variables):
20341 If only interested in the mode, don't bother doing the other stuff.
20342
20343 * image-mode.el (image-after-revert-hook):
20344 Redraw all frames on which the image is visible. (Bug#8567)
20345
20346 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
20347
20348 * wid-edit.el (widget-checklist-match-inline):
20349 Fix 2011-04-19 change. (Bug#8649)
20350
20351 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
20352
20353 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
20354 Also allow singlespace after single-letter capitals followed by a dot.
20355
20356 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
20357 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
20358
20359 2011-05-20 Nix <nix@esperi.org.uk>
20360
20361 * files.el (basic-save-buffer-2):
20362 Fix handling of break-hardlink-on-save with non-existent files.
20363
20364 2011-05-19 Deniz Dogan <deniz@dogan.se>
20365
20366 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
20367 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
20368
20369 2011-05-19 Glenn Morris <rgm@gnu.org>
20370
20371 * progmodes/f90.el (f90-type-def-re):
20372 Handle "type, bind(c)". (Bug#8691)
20373
20374 * emacs-lisp/autoload.el (batch-update-autoloads):
20375 Set autoload-excludes by parsing loadup.el rather than Makefiles.
20376
20377 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
20378
20379 * net/tramp.el (tramp-process-actions): Set "first-password-request"
20380 property for the correct connection in case of multihops.
20381
20382 2011-05-18 Glenn Morris <rgm@gnu.org>
20383
20384 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
20385 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
20386
20387 Rationalize calendar handling of day and month abbrev-arrays.
20388 * calendar/calendar.el (calendar-customized-p): New function.
20389 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
20390 (calendar-day-name-array, calendar-month-name-array): Doc fix.
20391 Add :set function.
20392 (calendar-abbrev-length, calendar-day-abbrev-array)
20393 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
20394 (calendar-day-abbrev-array, calendar-month-abbrev-array):
20395 Elements may no longer be nil.
20396 (calendar-day-name, calendar-month-name):
20397 Update for changed nature of abbrev arrays.
20398 * calendar/diary-lib.el (diary-name-pattern):
20399 Update for changed nature of abbrev arrays.
20400 (diary-mark-entries-1): Update calendar-make-alist calls.
20401 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
20402 * calendar/cal-html.el (cal-html-day-abbrev-array):
20403 Simply inherit from calendar-day-abbrev-array.
20404
20405 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
20406
20407 * progmodes/grep.el (grep-mode): Disable default
20408 compilation-directory-matcher setting (bug#8684).
20409
20410 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
20411
20412 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
20413 instead of "head" and "tail". There were problems with SunOS 5.9,
20414 and it performs better.
20415
20416 2011-05-17 Glenn Morris <rgm@gnu.org>
20417
20418 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
20419
20420 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
20421 Replace obsolete function.
20422
20423 * shell.el (pcomplete-parse-arguments-function): Declare.
20424
20425 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
20426 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
20427 (appt-check): Doc fixes.
20428 (appt-disp-window-function, appt-delete-window-function):
20429 Remove needless special case in custom :type.
20430 (appt-display-count): Default to 0, not nil.
20431 (appt-check): Reset appt-display-count to 0, not nil.
20432
20433 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
20434
20435 * progmodes/python.el (python-font-lock-keywords):
20436 Add the Python 3.X keyword "nonlocal" (bug#8639).
20437
20438 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
20439
20440 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
20441
20442 2011-05-16 Kevin Ryde <user42@zip.com.au>
20443
20444 * info-look.el (makefile-automake-mode): New setups, looking in
20445 automake manual, then makefile-mode.
20446 (makefile-mode): Remove automake manual, have it just in
20447 makefile-automake-mode since there's various things different or
20448 not relevant to plain make.
20449 (makefile-mode): Remove "other-modes" non-existent automake-mode,
20450 believe a hypothetical automake-mode would go to makefile-mode,
20451 not the other way around.
20452
20453 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
20454
20455 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
20456 hunk-end tags (Bug#8672).
20457
20458 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
20459 vc-annotate-show-diff-revision-at-line (Bug#8671).
20460
20461 2011-05-14 Glenn Morris <rgm@gnu.org>
20462
20463 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
20464 in the middle of an existing one with multiple authors. (Bug#8645)
20465 (change-log-font-lock-keywords): Also handle multiple author lines
20466 with leading tabs. (Bug#8644)
20467
20468 * calendar/appt.el (appt-check): Rename some local variables.
20469 Some simplification/reordering.
20470
20471 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
20472 (feedmail-sendmail-f-doesnt-sell-me-out)
20473 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
20474 (feedmail-debug-sit-for, feedmail-queue-express-hook)
20475 (feedmail-queue-runner-message-sender): Set :version.
20476 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
20477 (bbdb-dwim-net-address, vm-mail): Declare.
20478 (feedmail-binmail-gnulinuxish-template):
20479 Rename from feedmail-binmail-linuxish-template.
20480 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
20481 Use insert-buffer-substring.
20482
20483 2011-05-14 Bill Carpenter <bill@carpenter.org>
20484
20485 * mail/feedmail.el (feedmail-patch-level): Increase.
20486 (feedmail-debug): New custom group.
20487 (feedmail-confirm-outgoing-timeout)
20488 (feedmail-sendmail-f-doesnt-sell-me-out)
20489 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
20490 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
20491 (feedmail-sender-line, feedmail-from-line)
20492 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
20493 (feedmail-spray-this-address)
20494 (feedmail-spray-address-fiddle-plex-list)
20495 (feedmail-queue-use-send-time-for-date)
20496 (feedmail-queue-use-send-time-for-message-id)
20497 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
20498 (feedmail-buffer-eating-function):
20499 Doc fixes.
20500 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
20501 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
20502 (feedmail-message-action-scroll-down): New functions.
20503 (feedmail-queue-directory, feedmail-queue-draft-directory):
20504 Use expand-file-name.
20505 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
20506 Remove C-v help entry.
20507 (feedmail-queue-buffer-file-name): New variable.
20508 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
20509 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
20510 (feedmail-message-action-send-strong, feedmail-message-action-edit)
20511 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
20512 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
20513 (feedmail-message-action-toggle-spray)
20514 (feedmail-run-the-queue-no-prompts)
20515 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
20516 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
20517 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
20518 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
20519 (feedmail-envelope-deducer, feedmail-fiddle-from)
20520 (feedmail-fiddle-sender, feedmail-default-date-generator)
20521 (feedmail-fiddle-date, feedmail-fiddle-message-id)
20522 (feedmail-fiddle-spray-address)
20523 (feedmail-fiddle-list-of-spray-fiddle-plexes)
20524 (feedmail-fiddle-list-of-fiddle-plexes)
20525 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
20526 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
20527 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
20528 Change default. Doc fix.
20529 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
20530 (feedmail-binmail-linuxish-template): New constant.
20531 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
20532 Respect feedmail-sendmail-f-doesnt-sell-me-out.
20533 (feedmail-send-it): Add debug call.
20534 Use feedmail-queue-buffer-file-name, and
20535 feedmail-send-it-immediately-wrapper.
20536 (feedmail-message-action-send): Add debug call.
20537 Use feedmail-send-it-immediately-wrapper.
20538 (feedmail-queue-express-to-queue): Add debug call.
20539 Run feedmail-queue-express-hook.
20540 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
20541 (feedmail-message-action-help-blat):
20542 Rename from feedmail-queue-send-edit-prompt-help-first.
20543 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
20544 Check line-endings. Handle errors better.
20545 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
20546 Doc fix. Add debug call.
20547 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
20548 Use feedmail-queue-send-edit-prompt-inner.
20549 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
20550 (feedmail-queue-send-edit-prompt-inner): New function, extracted
20551 from feedmail-queue-send-edit-prompt.
20552 (feedmail-queue-send-edit-prompt-help)
20553 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
20554 (feedmail-tidy-up-slug): Add debug call.
20555 Respect feedmail-queue-slug-suspect-regexp.
20556 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
20557 (feedmail-dump-message-to-queue): Add debug call.
20558 Expand queue-directory.
20559 (feedmail-dump-message-to-queue): Change message slightly.
20560 Use feedmail-say-chatter.
20561 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
20562 (feedmail-send-it-immediately-wrapper): New function.
20563 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
20564 Insert empty string rather than newline. Handle full-frame case.
20565 Use catch/throw. Use feedmail-say-chatter.
20566 (feedmail-fiddle-from): Try mail-host-address.
20567 (feedmail-default-message-id-generator): Doc fix.
20568 Bind system-time-locale. Handle missing end.
20569 (feedmail-fiddle-x-mailer): Add debug call.
20570 Handle feedmail-x-mailer-line being nil.
20571 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
20572 Add debug call. Use buffer-substring-no-properties.
20573 (feedmail-say-debug, feedmail-say-chatter): New functions.
20574 (feedmail-find-eoh): Give an explicit error.
20575
20576 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
20577
20578 * net/newst-treeview.el (newsticker-treeview-face): Change default
20579 family from helvetica to sans.
20580 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
20581 etc/images/newsticker.
20582
20583 * net/newst-reader.el (newsticker-feed-face): Change default
20584 family from helvetica to sans.
20585
20586 * net/newst-plainview.el (newsticker-new-item-face)
20587 (newsticker-old-item-face, newsticker-immortal-item-face)
20588 (newsticker-obsolete-item-face, newsticker-date-face)
20589 (newsticker-statistics-face): Change default family from
20590 helvetica to sans.
20591 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
20592 etc/images/newsticker.
20593
20594 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
20595 (newsticker--process-auto-mark-filter-match): Tell user about
20596 auto-marking.
20597
20598 2011-05-13 Didier Verna <didier@xemacs.org>
20599
20600 Common Lisp indentation improvements on defmethod and lambda-lists.
20601 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
20602 TODO entries.
20603 (lisp-lambda-list-keyword-parameter-indentation)
20604 (lisp-lambda-list-keyword-parameter-alignment)
20605 (lisp-lambda-list-keyword-alignment): New customizable user options.
20606 (lisp-indent-defun-method): Improve docstring.
20607 (extended-loop-p): Fix comment.
20608 (lisp-indent-lambda-list-keywords-regexp): New variable.
20609 (lisp-indent-lambda-list): New function.
20610 (lisp-indent-259): Use it.
20611 (lisp-indent-defmethod): Support for more than one
20612 method qualifier and properly indent methods lambda-lists.
20613 (defgeneric): Provide a missing common-lisp-indent-function property.
20614
20615 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
20616
20617 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
20618 bounds for the empty string (bug#8667).
20619
20620 2011-05-13 Glenn Morris <rgm@gnu.org>
20621
20622 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
20623
20624 * mail/sendmail.el (sendmail-program): Try executable-find first.
20625 (sendmail-send-it): `sendmail-program' cannot be unbound.
20626
20627 * calendar/appt.el (appt-make-list): Simplify.
20628 (appt-time-msg-list): Doc fix.
20629 (appt-check): Change mode-line message at the time of the appointment.
20630
20631 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
20632
20633 * progmodes/ld-script.el (ld-script-keywords)
20634 (ld-script-builtins): Update keywords list.
20635
20636 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
20637
20638 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
20639
20640 * shell.el (shell-completion-vars): New function.
20641 (shell-mode):
20642 * simple.el (read-shell-command): Use it.
20643 (blink-matching-open): No need for " [...]" in minibuffer-message.
20644
20645 2011-05-12 Glenn Morris <rgm@gnu.org>
20646
20647 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
20648 (appt-check): Simplify.
20649
20650 2011-05-12 Eli Zaretskii <eliz@gnu.org>
20651
20652 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
20653 literal "/dev/null".
20654
20655 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
20656
20657 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
20658 Fix typo.
20659
20660 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
20661
20662 * progmodes/which-func.el (which-function):
20663 Use add-log-current-defun instead of add-log-current-defun-function,
20664 which might not be defined (Bug#8260).
20665
20666 2011-05-12 Glenn Morris <rgm@gnu.org>
20667
20668 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
20669 Let byte-compile-initial-macro-environment always take precedence.
20670
20671 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
20672
20673 * net/rcirc.el: Add support for SSL/TLS connections.
20674 (rcirc-server-alist): New field `encryption'.
20675 (rcirc): Check `encryption' settings.
20676 (rcirc-connect): New arg `encryption'. Use open-network-stream.
20677 Merge make-local-variable into `set'.
20678 (rcirc--connection-open-p): New function.
20679 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
20680 the process is not a network process (e.g. running gnutls-cli).
20681 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
20682 Make rcirc-(en|de)code-coding-system local here.
20683 (rcirc-mode): Merge make-local-variable into `set'.
20684 (rcirc-parent-buffer): Make permanent buffer-local.
20685 (rcirc-multiline-minor-mode): Don't do it here.
20686 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
20687 there's no server buffer.
20688
20689 2011-05-11 Glenn Morris <rgm@gnu.org>
20690
20691 * newcomment.el (comment-kill): Prefix "unused" local.
20692
20693 * term/w32console.el (get-screen-color): Declare.
20694
20695 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
20696 Handle symbol elements of byte-compile-initial-macro-environment.
20697
20698 2011-05-10 Leo Liu <sdl.web@gmail.com>
20699
20700 * bookmark.el (bookmark-bmenu-mode-map):
20701 Bind bookmark-bmenu-search to `/'.
20702
20703 * mail/footnote.el: Convert to utf-8 encoding.
20704 (footnote-unicode-string, footnote-unicode-regexp): New variable.
20705 (Footnote-unicode): New function.
20706 (footnote-style-alist): Add unicode style to the list.
20707 (footnote-style): Doc fix.
20708
20709 2011-05-10 Jim Meyering <meyering@redhat.com>
20710
20711 Fix doubled-word typos.
20712 * international/quail.el (quail-insert-kbd-layout): and and -> and
20713 * kermit.el: and and -> and
20714 * net/ldap.el (ldap-search-internal): to to -> to
20715 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
20716 * progmodes/js.el (js-mode): and and -> and
20717 * textmodes/artist.el (artist-move-to-xy): at at -> at
20718 (artist-draw-region-trim-line-endings): if if -> if
20719 And Safetyc -> Safety.
20720 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
20721
20722 2011-05-10 Glenn Morris <rgm@gnu.org>
20723 Stefan Monnier <monnier@iro.umontreal.ca>
20724
20725 * files.el (hack-one-local-variable-eval-safep):
20726 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
20727
20728 2011-05-10 Glenn Morris <rgm@gnu.org>
20729
20730 * calendar/diary-lib.el (diary-list-entries-hook)
20731 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
20732 (diary-nongregorian-marking-hook, diary-list-entries)
20733 (diary-include-other-diary-files, diary-mark-entries)
20734 (diary-mark-included-diary-files): Doc fixes.
20735
20736 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
20737
20738 * misc.el: Require tabulated-list.el during compilation.
20739
20740 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
20741
20742 * progmodes/compile.el (compilation-start):
20743 Run compilation-filter-hook for the async case too.
20744 (compilation-filter-hook): Doc fix.
20745
20746 2011-05-09 Deniz Dogan <deniz@dogan.se>
20747
20748 * wdired.el: Remove outdated installation comment. Fix usage
20749 comment.
20750
20751 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
20752
20753 * misc.el: Implement new command `list-dynamic-libraries'.
20754 (list-dynamic-libraries--loaded-only-p): New variable.
20755 (list-dynamic-libraries--refresh): New function.
20756 (list-dynamic-libraries): New command.
20757
20758 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
20759
20760 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20761 Fix the ant regexp to handle end-line and end-column info from jikes.
20762 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
20763 higher priority to avoid clobbering by gnu.
20764
20765 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
20766
20767 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
20768 if the face has existing theme settings (Bug#8454).
20769
20770 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
20771
20772 * progmodes/perl-mode.el (perl-imenu-generic-expression):
20773 Only match variables declared via `my' or `our' (Bug#8261).
20774
20775 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
20776 special file names `.' and `..' (Bug#8259).
20777
20778 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
20779
20780 * progmodes/grep.el (grep-mode-font-lock-keywords):
20781 Remove buffer-changing entries.
20782 (grep-filter): New function.
20783 (grep-mode): Add it to compilation-filter-hook.
20784
20785 * progmodes/compile.el (compilation-filter-hook)
20786 (compilation-filter-start): New defvars.
20787 (compilation-filter): Call compilation-filter-hook prior to
20788 updating the process mark.
20789
20790 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
20791
20792 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
20793
20794 2011-05-07 Eli Zaretskii <eliz@gnu.org>
20795
20796 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
20797 mailclient-send-it even if window-system is nil. (Bug#8595)
20798
20799 * term/w32console.el (terminal-init-w32console):
20800 Call get-screen-color and use its output to set the frame
20801 background-mode. (Bug#8597)
20802
20803 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
20804
20805 Make bytecomp.el understand that defmethod defines funs (bug#8631).
20806 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
20807 New functions.
20808 (defgeneric, eieio--defmethod): Use them.
20809 (eieio-defgeneric): Remove.
20810 (defmethod): Call defgeneric in a way visible to the byte-compiler.
20811
20812 2011-05-07 Glenn Morris <rgm@gnu.org>
20813
20814 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
20815 Use let rather than let*.
20816 (timeclock-find-discrep): Remove unused local.
20817
20818 * calendar/diary-lib.el (diary-comment-start): Doc fix.
20819
20820 * calendar/appt.el (appt-time-msg-list): Doc fix.
20821
20822 2011-05-06 Noah Friedman <friedman@splode.com>
20823
20824 * apropos.el (apropos-print-doc): Only use
20825 emacs-lisp-docstring-fill-column when it is bound to an integer,
20826 per that variable's documentation.
20827
20828 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
20829
20830 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
20831 and warnings are not silently discarded (e.g. use -d instead of -P).
20832
20833 2011-05-06 Glenn Morris <rgm@gnu.org>
20834
20835 * calendar/appt.el (appt-message-warning-time): Doc fix.
20836 (appt-warning-time-regexp): New option.
20837 (appt-make-list): Respect appt-message-warning-time.
20838
20839 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
20840 New options.
20841 (diary-add-to-list): Strip comments from the displayed string.
20842 (diary-mode): Set comment-start and comment-end.
20843
20844 * vc/diff-mode.el (smerge-refine-subst): Declare.
20845 (diff-refine-hunk): Don't require smerge-mode when compiling.
20846
20847 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
20848
20849 * simple.el (list-processes): Return nil as the docstring says.
20850
20851 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
20852
20853 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
20854 to "".
20855 (ange-ftp-write-region, ange-ftp-insert-file-contents)
20856 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
20857 determining of binary transfer. (Bug#7383)
20858
20859 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
20860
20861 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20862 Fix port computation bug. (Bug#8618)
20863
20864 2011-05-05 Glenn Morris <rgm@gnu.org>
20865
20866 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
20867
20868 * simple.el (shell-dynamic-complete-functions)
20869 (comint-dynamic-complete-functions): Declare.
20870
20871 * net/network-stream.el (gnutls-negotiate):
20872 * simple.el (tabulated-list-print): Fix declarations.
20873
20874 * progmodes/gud.el (syntax-symbol, syntax-point):
20875 Remove unnecessary and incorrect declarations.
20876
20877 * emacs-lisp/check-declare.el (check-declare-scan):
20878 Handle byte-compile-initial-macro-environment in bytecomp.el.
20879
20880 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
20881
20882 Fix earlier half-done eieio-defmethod change (bug#8338).
20883 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
20884 Streamline and change calling convention.
20885 (defmethod): Adjust accordingly and simplify.
20886 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
20887 new eieio--defmethod.
20888 (slot-boundp): Minor CSE simplification.
20889
20890 2011-05-05 Milan Zamazal <pdm@zamazal.org>
20891
20892 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
20893 (glasses-make-readable): Use glasses-separate-capital-groups.
20894
20895 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
20896
20897 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
20898 (warning-series): Doc fix.
20899 (display-warning): Don't try to create the buffer if we just found it.
20900
20901 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
20902
20903 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
20904 (autoload-find-generated-file): New function.
20905 (generate-file-autoloads): Bind generated-autoload-file to
20906 buffer-file-name.
20907 (update-file-autoloads, update-directory-autoloads):
20908 Use autoload-find-generated-file. If called interactively, prompt for
20909 output file (Bug#7989).
20910 (batch-update-autoloads): Doc fix.
20911
20912 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
20913
20914 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
20915
20916 2011-05-04 Glenn Morris <rgm@gnu.org>
20917
20918 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
20919 function, so it follows changes in calendar-date-style.
20920 (diary-fancy-date-matcher): New function.
20921 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
20922 (diary-fancy-font-lock-fontify-region-function):
20923 Use diary-fancy-date-pattern as a function.
20924
20925 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
20926 non-numbers for `year' etc pseudo-variables. (Bug#8583)
20927
20928 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
20929
20930 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
20931 instead of positional arguments. Allow :keylist and :crlfiles
20932 arguments.
20933 (open-gnutls-stream): Call it.
20934
20935 * net/network-stream.el (network-stream-open-starttls): Adjust to
20936 call `gnutls-negotiate' with :process and :hostname arguments.
20937
20938 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
20939
20940 * minibuffer.el (completion--message): New function.
20941 (completion--do-completion, minibuffer-complete)
20942 (minibuffer-force-complete, minibuffer-complete-word): Use it.
20943 (completion--do-completion): Don't ignore completion-auto-help when in
20944 icomplete-mode.
20945
20946 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
20947 internal encoding (e.g. tibetan zero is not whitespace).
20948 (global-whitespace-mode): Prefer save-current-buffer.
20949 (whitespace-trailing-regexp): Remove useless save-match-data.
20950 (whitespace-empty-at-bob-regexp): Minor simplification.
20951
20952 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
20953
20954 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
20955
20956 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
20957
20958 * textmodes/ispell.el (ispell-add-per-file-word-list):
20959 Use `concat' to create string for insertion.
20960
20961 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
20962
20963 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
20964 Avoid open-line which runs post-self-insert-hook.
20965 (bibtex-fill-entry): Remove unused `end' var.
20966
20967 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
20968
20969 * textmodes/ispell.el (ispell-add-per-file-word-list):
20970 Protect against `nil' value of `comment-start' (Bug#8579).
20971
20972 2011-05-03 Leo Liu <sdl.web@gmail.com>
20973
20974 * isearch.el (isearch-yank-pop): New command.
20975 (isearch-mode-map): Bind it to `M-y'.
20976 (isearch-forward): Mention it.
20977
20978 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
20979
20980 * simple.el (minibuffer-complete-shell-command): Remove.
20981 (minibuffer-local-shell-command-map): Use completion-at-point.
20982 (read-shell-command): Setup completion vars here instead.
20983 (read-expression-map): Bind TAB to symbol completion.
20984
20985 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
20986 error directly rather via storing it into `results'.
20987
20988 2011-05-02 Leo Liu <sdl.web@gmail.com>
20989
20990 * vc/diff.el: Fix description.
20991
20992 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20993
20994 * server.el (server-eval-at): New function.
20995
20996 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
20997
20998 * net/network-stream.el (open-network-stream): Take a :nowait
20999 parameter and pass it on to `make-network-process'.
21000 (network-stream-open-plain): Ditto.
21001
21002 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
21003
21004 * faces.el (face-spec-set-match-display): Don't match toolkit
21005 options on terminal frames.
21006
21007 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
21008
21009 * progmodes/pascal.el: Use lexical binding.
21010 (pascal-mode-map): Remove author preferences.
21011
21012 * pcomplete.el (pcomplete-std-complete): Don't abuse
21013 completion-at-point.
21014
21015 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
21016
21017 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
21018 removing code that has been dead since 1991 or so.
21019
21020 * startup.el (command-line): When warning about "_emacs", use a
21021 delayed warning to allow the user to filter it out.
21022
21023 2011-04-28 Deniz Dogan <deniz@dogan.se>
21024
21025 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
21026 user has not joined.
21027
21028 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
21029
21030 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
21031 aren't any completions at point.
21032
21033 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
21034
21035 * subr.el (display-delayed-warnings): New function.
21036 (delayed-warnings-hook): New variable.
21037
21038 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
21039
21040 * minibuffer.el (completion-at-point, completion-help-at-point):
21041 Don't presume that a given completion-at-point-function will always
21042 use the same calling convention.
21043
21044 * pcomplete.el (pcomplete-completions-at-point):
21045 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
21046 pcomplete-seen is non-nil.
21047 (pcomplete-comint-setup): Also recognize the new comint/shell
21048 completion functions.
21049 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
21050 pcomplete-seen is non-nil.
21051
21052 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
21053
21054 * calendar/icalendar.el (diary-lib): Add require statement.
21055 (icalendar--create-uid): Read out a uid from a text-property on
21056 the first character in the entry. This allows for code to add its
21057 own uid to the entry.
21058 (icalendar--convert-float-to-ical): Add export of
21059 `diary-float'-entries save for those with the optional DAY
21060 argument.
21061
21062 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
21063
21064 * subr.el (shell-quote-argument): Use alternate escaping strategy
21065 when we spot a variable reference in a string.
21066
21067 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
21068
21069 * cus-start.el (all): Define customization for debug-on-event.
21070
21071 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
21072
21073 * subr.el (shell-quote-argument): Escape correctly under Windows.
21074
21075 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
21076
21077 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
21078
21079 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
21080
21081 * net/tramp.el (tramp-process-actions): Add POS argument.
21082 Delete region between POS and (pos).
21083
21084 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
21085 Use `nil' position in `tramp-process-actions' call.
21086 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
21087
21088 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
21089 position in `tramp-process-actions' call.
21090
21091 * net/trampver.el: Update release number.
21092
21093 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
21094
21095 * custom.el (defcustom): Obey lexical-binding.
21096
21097 Fix octave-inf completion problems reported by Alexander Klimov.
21098 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
21099 Inherit from octave-mode-syntax-table.
21100 (inferior-octave-mode): Set info-lookup-mode.
21101 (inferior-octave-completion-at-point): New function.
21102 (inferior-octave-complete): Use it and completion-in-region.
21103 (inferior-octave-dynamic-complete-functions): Use it as well, and use
21104 comint-filename-completion.
21105 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
21106 symbol elements which shouldn't be word elements.
21107 (octave-font-lock-keywords, octave-beginning-of-defun)
21108 (octave-function-header-regexp): Adjust regexps accordingly.
21109 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
21110
21111 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
21112
21113 * net/gnutls.el (gnutls-errorp): Declare before first use.
21114
21115 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
21116
21117 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
21118 verify-error, and verify-hostname-error parameters. Check whether
21119 default trustfile exists before going to use it. Add missing
21120 argument to gnutls-message-maybe call. Return value.
21121 Reported by Claudio Bley <claudio.bley@gmail.com>.
21122 (open-gnutls-stream): Add usage example.
21123
21124 * net/network-stream.el (network-stream-open-starttls): Give host
21125 parameter to `gnutls-negotiate'.
21126 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
21127 * subr.el (shell-quote-argument): Escape correctly under Windows.
21128
21129 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
21130
21131 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
21132 Use correct match group (bug#8438).
21133
21134 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
21135
21136 * emacs-lisp/package.el (package-built-in-p): Fix typo.
21137 (package-menu--generate): New arg specifying packages to show.
21138 (package-menu-refresh, package-menu-execute, list-packages):
21139 Callers changed.
21140 (package-show-package-list): New function, replacing deleted
21141 package--list-packages (renamed because it is non-internal).
21142
21143 * finder.el (finder-list-matches): Use package-show-package-list
21144 instead of deleted package--list-packages.
21145
21146 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
21147 Based on a previous implementation by Juanma Barranquero (Bug#8366).
21148 (vc-annotate-mode-map): Bind it to RET.
21149
21150 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
21151
21152 * progmodes/etags.el (next-file): Don't use set-buffer to change
21153 buffers (Bug#8478).
21154
21155 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
21156
21157 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
21158
21159 * apropos.el (apropos-label-face): Avoid variable-pitch face.
21160 (apropos-accumulator): Doc fix.
21161 (apropos-function, apropos-macro, apropos-command)
21162 (apropos-variable, apropos-face, apropos-group, apropos-widget)
21163 (apropos-plist): Add face property.
21164 (apropos-symbols-internal): Fix indentation.
21165 (apropos-print): Simplify help, and recognize apropos-multi-type.
21166 (apropos-print-doc): Use button-type-get to extract the button's
21167 face property. Fill docstring (Bug#8352).
21168
21169 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
21170
21171 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
21172
21173 * play/mpuz.el (mpuz-silent): Doc fix.
21174 (mpuz-mode-map): Use mapc.
21175 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
21176 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
21177 Fix typos in docstrings.
21178
21179 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
21180 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
21181
21182 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
21183
21184 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
21185
21186 * minibuffer.el (completion--do-completion): Avoid the "Next char
21187 not unique" prompt if icomplete-mode is enabled (Bug#5849).
21188
21189 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
21190 mouse-2 into unread-command-events, it is interpreted correctly.
21191
21192 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
21193 (image-toggle-display): Doc fix.
21194
21195 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
21196
21197 * textmodes/page.el (what-page): Use line-number-at-pos to
21198 calculate line number (Bug#6825).
21199
21200 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
21201
21202 * eshell/esh-mode.el (find-tag-interactive): Declare function.
21203 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
21204 Pass argument NO-DEFAULT to `find-tag-interactive'.
21205
21206 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
21207
21208 Lexical-binding cleanup.
21209
21210 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
21211 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
21212 * progmodes/ada-prj.el (ada-prj-initialize-values)
21213 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
21214 (ada-prj-show-value):
21215 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
21216 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
21217 (antlr-invalidate-context-cache, antlr-options-menu-filter)
21218 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
21219 * progmodes/bug-reference.el (bug-reference-push-button):
21220 * progmodes/fortran.el (fortran-line-length):
21221 * progmodes/glasses.el (glasses-change):
21222 * progmodes/octave-mod.el (octave-fill-paragraph):
21223 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
21224 (python-pdbtrack-grub-for-buffer, python-sentinel):
21225 * progmodes/sql.el (sql-save-connection):
21226 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
21227 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
21228 Mark unused parameters.
21229
21230 * progmodes/compile.el (compilation--flush-directory-cache)
21231 (compilation--flush-parse, compile-internal): Mark unused parameters.
21232 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
21233 (compilation-next-error-function): Remove unused variable `timestamp'.
21234
21235 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
21236 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
21237
21238 * progmodes/dcl-mode.el (dcl-end-of-command):
21239 Remove unused variable `start'.
21240 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
21241 (dcl-option-value-basic, dcl-option-value-offset)
21242 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
21243 Mark unused parameters.
21244 (dcl-save-local-variable): Remove unused variable `val'.
21245 (mode): Declare.
21246
21247 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
21248 Mark unused parameters.
21249 (delphi-ignore-changes): Move before first use.
21250 (delphi-charset-token-at): Remove unused variable `start'.
21251 (delphi-else-start): Remove unused variable `if-count'.
21252 (delphi-comment-block-start, delphi-comment-block-end):
21253 Remove unused variable `kind'.
21254 (delphi-indent-line): Remove unused variable `new-point'.
21255
21256 * progmodes/ebrowse.el (ebrowse-files-list)
21257 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
21258 Mark unused parameters. Don't quote `lambda'.
21259 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
21260 Don't quote `lambda'.
21261 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
21262 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
21263 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
21264 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
21265 Use `ignore-errors'.
21266 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
21267 (ebrowse-view/find-file-and-search-pattern)
21268 (ebrowse-view/find-member-declaration/definition):
21269 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
21270 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
21271 Rename parameter PREFIX-ARG to PREFIX.
21272 (ebrowse-tags-read-name): Remove unused variables `start' and
21273 `member-info'.
21274 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
21275 to `tags-file'.
21276
21277 * progmodes/etags.el (local-find-tag-hook): Declare.
21278 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
21279 Mark unused parameters.
21280
21281 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
21282 (executable-interpret): Mark unused parameter.
21283
21284 * progmodes/flymake.el (flymake-process-sentinel)
21285 (flymake-after-change-function)
21286 (flymake-create-temp-with-folder-structure)
21287 (flymake-get-include-dirs-dot): Mark unused parameters.
21288 (flymake-safe-delete-directory): Remove unused variable `err'.
21289
21290 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
21291 (speedbar-timer-fn, speedbar-line-text)
21292 (speedbar-change-expand-button-char, speedbar-delete-subblock)
21293 (speedbar-center-buffer-smartly): Declare functions.
21294 (gdb-find-watch-expression): Remove unused variable `array'.
21295 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
21296 (gdb-starting): Mark unused parameters.
21297 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
21298 (gdb-table-string): Remove unused variable `res'.
21299 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
21300 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
21301 (gdb-display-buffer): Remove unused variable `cur-size'.
21302
21303 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
21304 allow lexical-binding compilation.
21305 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
21306 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
21307 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
21308 Mark unused parameters.
21309 (gud-gdb-marker-filter): Remove unused variable `match'.
21310 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
21311 lambda expressions and funcall them, instead of using `fset'.
21312
21313 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
21314 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
21315
21316 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
21317 variable `header-beg'; use `let'.
21318
21319 * progmodes/icon.el (indent-icon-exp): Remove unused variables
21320 `restart', `last-sexp' and `at-do'.
21321
21322 * progmodes/js.el (js--debug): Mark unused parameter.
21323 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
21324 (js--splice-into-items): Remove unused variable `item'.
21325 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
21326
21327 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
21328 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
21329 (makefile-complete): Remove unused variable `try'.
21330 (makefile-fill-paragraph, makefile-match-function-end):
21331 Mark unused parameters.
21332
21333 * progmodes/octave-inf.el (inferior-octave-complete):
21334 Remove unused variable `proc'.
21335 (inferior-octave-output-digest): Mark unused parameter.
21336
21337 * progmodes/perl-mode.el (perl-calculate-indent):
21338 Remove unused variable `err'.
21339
21340 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
21341 (prolog-indent-line): Mark unused parameters.
21342 (prolog-indent-line): Remove unused variable `beg'.
21343
21344 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
21345 (reporter-dont-compact-list): Declare.
21346
21347 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
21348 Remove unused variable `char'.
21349 (sh-debug): Mark unused parameter.
21350 (sh-get-indent-info): Remove unused variable `start'.
21351 (sh-calculate-indent): Remove unused variable `var'.
21352
21353 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
21354 (simula-electric-keyword): Remove unused variable `null'.
21355 (simula-search-backward, simula-search-forward): Remove unused
21356 variables `begin' and `end'.
21357
21358 * progmodes/vera-mode.el (vera-guess-basic-syntax):
21359 Remove unused variable `pos'.
21360 (vera-electric-tab, vera-comment-uncomment-region):
21361 Mark unused parameters.
21362 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
21363
21364 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
21365
21366 * emacs-lisp/package.el (package--builtins, package-alist)
21367 (package-load-descriptor, package-built-in-p, package-activate)
21368 (define-package, package-installed-p)
21369 (package-compute-transaction, package-buffer-info)
21370 (package--push): Doc fix. Distinguish more clearly between
21371 version strings and version lists.
21372
21373 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
21374
21375 Lexical-binding cleanup.
21376
21377 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
21378 (5x5-make-mutate-best):
21379 * play/fortune.el (fortune-in-buffer):
21380 * play/gomoku.el (gomoku-init-display):
21381 * play/solitaire.el (solitaire, solitaire-do-check):
21382 * play/tetris.el (tetris-default-update-speed-function):
21383 Mark unused parameters.
21384
21385 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
21386 (bubbles--shift): Remove unused variable `char-org'.
21387 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
21388 (bubbles--show-images): Remove unused variable `char'.
21389
21390 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
21391 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
21392 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
21393 (decipher-analyze-buffer): Use ?\s.
21394 (decipher-make-checkpoint): Remove unused variable `mapping'.
21395
21396 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
21397
21398 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
21399 Remove unused variable `result'; use `let'.
21400
21401 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
21402 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
21403 (gametree-children-shown-p, gametree-compute-reduced-score):
21404 Use `ignore-errors'.
21405
21406 * play/handwrite.el (ps-lpr-switches): Declare.
21407 (handwrite): Remove unused variables `pmin' and `lastp'.
21408
21409 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
21410
21411 * play/landmark.el (landmark-init-display)
21412 (landmark-update-naught-weights): Mark unused parameters.
21413 (landmark-y): Remove unused variable `noise'. Simplify.
21414 (landmark-human-plays): Remove unused variable `score'.
21415
21416 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
21417 (mpuz-try-proposal): Remove unused variable `game'.
21418
21419 * play/zone.el (life-patterns): Declare.
21420
21421 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
21422
21423 * vc/vc.el (ediff-vc-internal): Declare function.
21424
21425 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
21426
21427 * shell.el: Use lexical-binding and std completion UI.
21428 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
21429 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
21430 comint-preoutput-filter-functions rather than on
21431 comint-output-filter-functions.
21432 (shell-command-completion, shell--command-completion-data)
21433 (shell-filename-completion, shell-environment-variable-completion)
21434 (shell-c-a-p-replace-by-expanded-directory): New functions.
21435 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
21436 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
21437 (shell-dynamic-complete-environment-variable): Use them.
21438 (shell-dynamic-complete-as-environment-variable)
21439 (shell-dynamic-complete-as-command): Remove.
21440 (shell-match-partial-variable): Match past point.
21441 * comint.el: Clean up use of completion-at-point-functions.
21442 (comint-completion-at-point): New function.
21443 (comint-mode): Use it completion-at-point-functions.
21444 (comint-dynamic-complete): Make it obsolete.
21445 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
21446 (comint-c-a-p-replace-by-expanded-history): New function.
21447 (comint-dynamic-complete-functions)
21448 (comint-replace-by-expanded-history): Use it.
21449 * minibuffer.el (completion-table-with-terminator): Allow dynamic
21450 termination strings. Try harder to avoid second try-completion.
21451 (completion-in-region-mode-map): Disable bindings that don't work yet.
21452
21453 * comint.el: Use lexical-binding. Require CL.
21454 (comint-dynamic-complete-functions): Use comint-filename-completion.
21455 (comint-completion-addsuffix): Tweak custom type.
21456 (comint-filename-completion, comint--common-suffix)
21457 (comint--common-quoted-suffix, comint--table-subvert)
21458 (comint--complete-file-name-data): New functions.
21459 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
21460 (comint-dynamic-list-filename-completions): Use them.
21461 (comint-dynamic-simple-complete): Make obsolete.
21462
21463 * minibuffer.el (completion-in-region-mode):
21464 Keep completion-in-region-mode--predicate global.
21465 (completion-in-region--postch):
21466 Assume completion-in-region-mode--predicate is not null.
21467
21468 * progmodes/flymake.el (flymake-start-syntax-check-process):
21469 Obey `dir'. Simplify.
21470
21471 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
21472 we're in VC after all.
21473
21474 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
21475
21476 * vc/vc.el (vc-diff-build-argument-list-internal)
21477 (vc-version-ediff, vc-ediff): New commands.
21478 (vc-version-diff): Use vc-diff-build-argument-list-internal.
21479
21480 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
21481
21482 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
21483 add sanity check.
21484
21485 * obsolete/erc-hecomplete.el: Make obsolete.
21486 * obsolete/: Standardize obsolescence info in the header.
21487
21488 2011-04-20 Glenn Morris <rgm@gnu.org>
21489
21490 * calendar/solar.el (solar-horizontal-coordinates):
21491 Use the longitude argument rather than `calendar-longitude'.
21492 (solar-date-next-longitude): Remove unused locals.
21493
21494 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
21495
21496 * whitespace.el: New version 13.2.1.
21497
21498 2011-04-20 felix <EmacsWiki> (tiny change)
21499
21500 * whitespace.el (global-whitespace-mode): Keep highlight when
21501 switching between major modes on a file.
21502
21503 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
21504
21505 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
21506 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
21507 multi-line comments as well.
21508
21509 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
21510
21511 Lexical-binding cleanup.
21512
21513 * arc-mode.el (archive-mode-revert):
21514 * cmuscheme.el (scheme-interactively-start-process):
21515 * custom.el (custom-initialize-delay):
21516 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
21517 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
21518 * emacs-lock.el (emacs-lock-clear-sentinel):
21519 * ezimage.el (defezimage):
21520 * follow.el (follow-avoid-tail-recenter):
21521 * fringe.el (set-fringe-mode-1):
21522 * generic-x.el (bat-generic-mode-compile):
21523 * help-mode.el (help-info-variable, help-do-xref)
21524 (help-mode-revert-buffer):
21525 * help.el (view-emacs-todo):
21526 * iswitchb.el (iswitchb-completion-help):
21527 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
21528 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
21529 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
21530 * locate.el (locate-update):
21531 * longlines.el (longlines-encode-region)
21532 (longlines-after-change-function):
21533 * outline.el (outline-isearch-open-invisible):
21534 * ps-def.el (declare-function, charset-dimension, char-width)
21535 (encode-char):
21536 * ps-mule.el (ps-mule-plot-string):
21537 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
21538 (recentf-edit-list-select, recentf-edit-list-validate)
21539 (recentf-open-files-action):
21540 * rect.el (delete-whitespace-rectangle-line)
21541 (rectangle-number-line-callback):
21542 * register.el (window-configuration-to-register)
21543 (frame-configuration-to-register):
21544 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
21545 * select.el (xselect-convert-to-string, xselect-convert-to-length)
21546 (xselect-convert-to-targets, xselect-convert-to-delete)
21547 (xselect-convert-to-filename, xselect-convert-to-charpos)
21548 (xselect-convert-to-lineno, xselect-convert-to-colno)
21549 (xselect-convert-to-os, xselect-convert-to-host)
21550 (xselect-convert-to-user, xselect-convert-to-class)
21551 (xselect-convert-to-name, xselect-convert-to-integer)
21552 (xselect-convert-to-atom, xselect-convert-to-identity):
21553 * subr.el (declare, ignore, process-kill-without-query)
21554 (text-clone-maintain):
21555 * terminal.el (te-get-char, te-tic-sentinel):
21556 * tool-bar.el (tool-bar-make-keymap):
21557 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
21558 * type-break.el (type-break-mode, type-break-noninteractive-query):
21559 * view.el (View-back-to-mark):
21560 * wid-browse.el (widget-browse-action, widget-browse-widget)
21561 (widget-browse-widgets, widget-browse-sexp):
21562 * widget.el (define-widget-keywords):
21563 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
21564 Mark unused parameters.
21565
21566 * align.el (align-adjust-col-for-rule): Mark unused parameter.
21567 (align-areas): Remove unused variable `look'.
21568 (align-region): Remove unused variables `real-end' and `pos-list'.
21569
21570 * apropos.el (apropos-score-doc): Remove unused variable `i'.
21571
21572 * bindings.el (mode-line-modified, mode-line-remote):
21573 Mark unused parameters.
21574 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
21575
21576 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
21577 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
21578
21579 * comint.el (comint-history-isearch-pop-state)
21580 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
21581 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
21582 (comint-substitute-in-file-name): Doc fix.
21583
21584 * completion.el (cmpl-statistics-block): Mark unused parameter.
21585 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
21586 (save-completions-to-file, load-completions-from-file):
21587 Remove unused local variable `e'.
21588
21589 * composite.el (compose-chars): Remove unused variable `len'.
21590 (lgstring-insert-glyph): Remove unused variable `g'.
21591 (compose-glyph-string): Remove unused variables `ascent',
21592 `descent', `lbearing' and `rbearing'.
21593 (compose-glyph-string-relative): Remove unused variables
21594 `lbearing', `rbearing' and `wadjust'.
21595 (compose-gstring-for-graphic): Remove unused variables `header',
21596 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
21597 (compose-gstring-for-terminal): Remove unused variables `header'
21598 and `nchars'. Use `let', not `let*'.
21599
21600 * cus-edit.el (Custom-set, Custom-save, custom-reset)
21601 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
21602 (Custom-buffer-done, custom-buffer-create-internal)
21603 (custom-browse-visibility-action, custom-browse-group-tag-action)
21604 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
21605 (widget-magic-mouse-down-action, custom-toggle-parent)
21606 (custom-add-parent-links, custom-toggle-hide-variable)
21607 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
21608 (custom-toggle-hide-face, face, hook, custom-group-link-action)
21609 (custom-face-menu-create, custom-variable-menu-create, get)
21610 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
21611 (custom-reset-standard-save-and-update): Remove unused variable `value'.
21612 (customize-apropos): Remove unused variable `tests'.
21613 (custom-group-value-create): Remove unused variable `hidden-p'.
21614 (sort-fold-case): Declare.
21615
21616 * cus-theme.el (custom-reset-standard-faces-list)
21617 (custom-reset-standard-variables-list): Declare.
21618 (customize-create-theme, custom-theme-revert, custom-theme-write)
21619 (custom-theme-choose-mode, customize-themes, custom-theme-save):
21620 Mark unused parameters.
21621
21622 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
21623
21624 * delim-col.el (delimit-columns-max): Move defvar before first use.
21625
21626 * descr-text.el (describe-char-categories): Don't quote `lambda'.
21627 (describe-char): Don't quote `lambda'. Mark unused parameter.
21628
21629 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
21630 (auto-insert): Declare.
21631 (desktop-restore-file-buffer): Rename desktop-* parameters;
21632 mark unused ones.
21633 (desktop-create-buffer): Rename desktop-* parameters and bind them.
21634 (desktop-buffer): Rename desktop-* parameters.
21635
21636 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
21637 (dframe-reposition-frame-xemacs, dframe-help-echo)
21638 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
21639 Mark unused parameters.
21640
21641 * dired-aux.el (backup-extract-version-start, overwrite-query)
21642 (overwrite-backup-query, rename-regexp-query)
21643 (rename-non-directory-query): Declare.
21644 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
21645 (dired-add-entry): Remove unused variable `orig-file-name'.
21646 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
21647 Use parameter PRESERVE-TIME instead of accessing dynamic variable
21648 `dired-copy-preserve-time' directly.
21649 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
21650 (dired-insert-subdir-newpos): Rename unused variable `pos'.
21651
21652 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
21653 (dired-virtual-revert, dired-make-relative-symlink):
21654 Mark unused parameters.
21655 (manual-program): Declare.
21656 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
21657 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
21658 wrapped in `with-no-warnings' to avoid replacing one warning by another.
21659
21660 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
21661
21662 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
21663
21664 * echistory.el (electric-history-in-progress, Helper-return-blurb):
21665 Declare.
21666
21667 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
21668
21669 * electric.el (Electric-command-loop): Rename parameter
21670 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
21671
21672 * expand.el (expand-in-literal): Remove unused variable `here'.
21673
21674 * facemenu.el (facemenu-add-new-color):
21675 Remove unused variable `docstring'.
21676
21677 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
21678 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
21679 (face-attr-construct): Mark unused parameter. Doc fix.
21680 (read-color): Remove unused variable `hex-string'.
21681
21682 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
21683 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
21684 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
21685 (display-buffer-other-frame): Remove unused variable `old-window'.
21686 (kill-buffer-hook): Declare.
21687 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
21688 Mark unused parameters.
21689 (after-find-file): Pass 1 to `auto-save-mode', not t.
21690
21691 * files-x.el (auto-insert): Declare.
21692 (modify-file-local-variable-prop-line): Remove unused variable `val'.
21693
21694 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
21695 variable `buf'. Mark unused parameter.
21696 (find-lisp-insert-directory): Mark unused parameter.
21697
21698 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
21699 (format-encode-region): Remove unused variables `cur-buf' and `result'.
21700 (format-common-tail): Remove, unused.
21701 (format-deannotate-region): Remove unused variable `loc'.
21702 (format-annotate-region): Remove unused variable `p'.
21703 (format-annotate-single-property-change): Remove unused variables
21704 `default' and `tail'.
21705
21706 * forms.el (read-file-filter): Declare.
21707 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
21708
21709 * frame.el (frame-creation-function-alist): Mark unused parameter.
21710 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
21711
21712 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
21713 Remove unused parameters.
21714 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
21715 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
21716
21717 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
21718 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
21719 (hfy-prepare-tag-map): Mark unused parameters.
21720 (htmlfontify-buffer): Use `called-interactively-p'.
21721
21722 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
21723 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
21724 (ibuffer-do-occur): Mark unused parameters.
21725 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
21726 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
21727
21728 * ibuffer.el: Don't quote `lambda'.
21729 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
21730 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
21731 Mark unused parameters.
21732
21733 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
21734 (ido-completing-read): Mark unused parameters.
21735 (ido-copy-current-word): Mark unused parameters;
21736 remove unused variable `name'.
21737 (ido-sort-merged-list): Remove unused parameter `dirs'.
21738
21739 * ielm.el (ielm-input-sender): Mark unused parameter.
21740 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
21741 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
21742 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
21743 `ielm-string' as a dynamic variable accessible from the IELM prompt.
21744 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
21745
21746 * image-dired.el (image-dired-display-thumbs): Remove unused
21747 variables `curr-file' and `count'.
21748 (image-dired-remove-tag): Remove unused variable `start'.
21749 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
21750 variable `curr-file'
21751 (image-dired-rotate-original): Remove unused variable `temp-file'.
21752 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
21753 Remove unused variable `file'.
21754 (image-dired-gallery-generate): Remove unused variable `curr'.
21755 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
21756
21757 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
21758
21759 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
21760
21761 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
21762
21763 * isearch.el (minibuffer-history-symbol): Declare.
21764 (isearch-edit-string): Remove unused variable `err'.
21765 (isearch-message-prefix, isearch-message-suffix):
21766 Mark unused parameters.
21767
21768 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
21769
21770 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
21771
21772 * makesum.el (double-column): Remove unused variable `cnt'.
21773
21774 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
21775 (ido-ignore-item-temp-list): Declare.
21776
21777 * mouse-drag.el (mouse-drag-throw): Remove unused variables
21778 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
21779 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
21780 (mouse-drag-drag): Remove unused variables `mouse-delta' and
21781 `mouse-col-delta'.
21782
21783 * mouse-sel.el (mouse-extend-internal):
21784 Remove unused variable `orig-window-frame'.
21785
21786 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
21787 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
21788 Move declarations before first use.
21789 (pcomplete-opt): Mark unused parameters; doc fix.
21790
21791 * proced.el (proced-revert): Mark unused parameter.
21792 (proced-send-signal): Remove unused variable `err'.
21793
21794 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
21795 Rename parameter PREFIX-ARG to ARG.
21796 (ps-basic-plot-string, ps-basic-plot-whitespace):
21797 Mark unused parameters.
21798
21799 * replace.el (replace-count): Define.
21800 (occur-revert-function): Mark unused parameters.
21801 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
21802 (isearch-case-fold-search, isearch-string): Declare.
21803 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
21804 bind `case-fold-search'. Remove unused variables `beg' and `end',
21805 and simplify.
21806 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
21807 COUNT and bind `replace-count'.
21808 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
21809 to COUNT.
21810
21811 * savehist.el (print-readably, print-string-length): Declare.
21812
21813 * shadowfile.el (shadow-expand-cluster-in-file-name):
21814 Remove unused variable `cluster'.
21815 (shadow-copy-file): Remove unused variable `i'.
21816 (shadow-noquery, shadow-clusters, shadow-site-cluster)
21817 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
21818 (shadow-define-literal-group, shadow-define-regexp-group)
21819 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
21820
21821 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
21822 (shell): Use `called-interactively-p'.
21823 (shell-directory-tracker): Remove unused variable `chdir-failure'.
21824
21825 * simple.el (compilation-context-lines, comint-file-name-quote-list)
21826 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
21827 (delete-backward-char): Remove unused variable `ocol'.
21828 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
21829 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
21830 (event-apply-hyper-modifier, event-apply-shift-modifier)
21831 (event-apply-control-modifier, event-apply-meta-modifier):
21832 Mark unused parameters.
21833 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
21834 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
21835
21836 * speedbar.el (speedbar-ignored-directory-expressions)
21837 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
21838 (speedbar-find-file, speedbar-dir-follow)
21839 (speedbar-directory-buttons-follow, speedbar-tag-find)
21840 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
21841 (speedbar-buffers-line-directory, speedbar-buffer-click):
21842 Mark unused parameters.
21843 (speedbar-tag-file): Remove unused variable `mode'.
21844 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
21845
21846 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
21847
21848 * talk.el (talk): Remove unused variable `display'.
21849
21850 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
21851 (tar-write-region-annotate): Mark unused parameter.
21852
21853 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
21854 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
21855 Declare them, wrapped in `with-no-warnings' to avoid replacing one
21856 warning by another.
21857
21858 * time-stamp.el (time-stamp-string-preprocess):
21859 Remove unused variable `require-padding'.
21860
21861 * tree-widget.el (widget-glyph-enable): Declare.
21862 (tree-widget-action): Mark unused parameter.
21863
21864 * w32-fns.el (x-get-selection): Mark unused parameter.
21865 (autoload-make-program, generated-autoload-file): Declare.
21866
21867 * wdired.el (wdired-revert): Mark unused parameters.
21868 (wdired-xcase-word): Remove unused variable `err'.
21869
21870 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
21871 (whitespace-help-scroll): Remove unused variable `data-help'.
21872
21873 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
21874 (widget-image-insert, widget-after-change, default)
21875 (widget-default-format-handler, widget-default-notify)
21876 (widget-default-prompt-value, widget-info-link-action)
21877 (widget-url-link-action, widget-function-link-action)
21878 (widget-variable-link-action, widget-file-link-action)
21879 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
21880 (widget-field-prompt-internal, widget-field-action, widget-field-match)
21881 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
21882 (widget-insert-button-action, widget-delete-button-action, visibility)
21883 (widget-documentation-link-action, widget-documentation-string-action)
21884 (widget-const-prompt-value, widget-regexp-match, symbol)
21885 (widget-coding-system-prompt-value)
21886 (widget-key-sequence-value-to-external, sexp)
21887 (widget-sexp-value-to-internal, character, vector, cons)
21888 (widget-choice-prompt-value, widget-boolean-prompt-value)
21889 (widget-color--choose-action): Mark unused parameters.
21890 (widget-item-match-inline, widget-choice-match-inline)
21891 (widget-checklist-match, widget-checklist-match-inline)
21892 (widget-group-match): Rename parameter VALUES to VALS.
21893 (widget-field-value-set): Remove unused variable `size'.
21894 (widget-color-action): Remove unused variables `value' and `start'.
21895
21896 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
21897 variable `dir'. Doc fix.
21898 (windmove-find-other-window): Don't pass it.
21899
21900 * window.el (count-windows): Mark unused parameter.
21901 (bw-adjust-window): Remove unused variable `err'.
21902
21903 * woman.el (woman-file-name): Remove unused variable `default'.
21904 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
21905 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
21906 (global-font-lock-mode): Declare.
21907 (woman-decode-region): Mark unused parameter.
21908 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
21909
21910 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
21911 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
21912 (x-dnd-handle-moz-url): Remove unused variable `title'.
21913 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
21914
21915 * xml.el (xml-parse-tag, xml-parse-attlist):
21916 Remove unused variable `pos'.
21917
21918 2011-04-19 Glenn Morris <rgm@gnu.org>
21919
21920 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
21921 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
21922 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
21923 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
21924 * calendar/cal-html.el (cal-html-insert-minical):
21925 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
21926 (calendar-mark-date-pattern):
21927 Prefix "unused" locals.
21928
21929 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
21930 optional argument `style'.
21931
21932 * calendar/appt.el (appt-make-list):
21933 * calendar/cal-china.el (calendar-chinese-date-string):
21934 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
21935 (diary-hebrew-yahrzeit):
21936 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
21937 * calendar/calendar.el (calendar-generate-window):
21938 * calendar/time-date.el (time-to-days):
21939 Remove unused local variables.
21940
21941 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
21942
21943 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
21944 glyphless-char-display table.
21945 (tabulated-list-glyphless-char-display): New var.
21946
21947 2011-04-18 Sam Steingold <sds@gnu.org>
21948
21949 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
21950 to acknowledgments.
21951
21952 2011-04-17 Glenn Morris <rgm@gnu.org>
21953
21954 * calendar/diary-lib.el (diary-sexp-entry):
21955 * calendar/holidays.el (holiday-sexp):
21956 Set debug-on-error rather than the removed stack-trace-on-error.
21957
21958 2011-04-16 Glenn Morris <rgm@gnu.org>
21959
21960 * progmodes/f90.el: Use lexical-binding.
21961 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
21962
21963 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
21964
21965 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
21966 (mail-mode): Setup mailalias completion here instead.
21967 * mail/mailalias.el: Use lexical-binding.
21968 (pattern, mailalias-done): Declare dynamic.
21969 (mail-completion-at-point-function): New function, from mail-complete.
21970 (mail-complete): Use it.
21971 (mail-completion-expand): New function.
21972 (mail-get-names): Use it.
21973 (mail-directory, mail-directory-process, mail-directory-stream):
21974 Don't use `pattern' for lexically bound arg.
21975
21976 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
21977
21978 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
21979 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
21980 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
21981
21982 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
21983 (byte-save-window-excursion, byte-temp-output-buffer-setup)
21984 (byte-interactive-p): Define them again, for use when inlining
21985 old code.
21986
21987 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
21988
21989 * loadup.el: Use `string-to-number', not `string-to-int'.
21990
21991 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
21992
21993 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
21994 gud-gdb-complete-command.
21995 (gud-gdb-completions): New function, from gud-gdb-complete-command.
21996 (gud-gdb-completion-at-point): New function.
21997 (gud-gdb-completions): Remove.
21998
21999 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
22000
22001 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
22002 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
22003 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
22004 whether `executable-find' is bound.
22005
22006 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
22007
22008 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
22009
22010 * minibuffer.el (completion-in-region-mode-predicate)
22011 (completion-in-region-mode--predicate): New vars.
22012 (completion-in-region, completion-in-region--postch)
22013 (completion-in-region-mode): Use them.
22014 (completion--capf-wrapper): Also return the hook function.
22015 (completion-at-point, completion-help-at-point):
22016 Adjust and provide a predicate.
22017
22018 Preserve arg names for advice of subr and lexical functions (bug#8457).
22019 * help-fns.el (help-function-arglist): Consolidate the subr and
22020 new-byte-code cases. Add argument `preserve-names' to extract names
22021 from the docstring when needed.
22022 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
22023 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
22024 (ad-arglist): Use help-function-arglist's new arg.
22025 (ad-definition-type): Use cond.
22026
22027 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
22028
22029 * autorevert.el (auto-revert-handler):
22030 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
22031 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
22032 Don't quote lambda.
22033
22034 * image-mode.el (image-transform-set-scale):
22035 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
22036
22037 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
22038
22039 * net/network-stream.el (network-stream-open-starttls): Only do
22040 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
22041 Upgrades via gnutls-cli are too slow to be done opportunistically.
22042
22043 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
22044
22045 * dframe.el (dframe-current-frame): Remove spurious quote.
22046
22047 2011-04-12 Glenn Morris <rgm@gnu.org>
22048
22049 * calendar/cal-tex.el (cal-tex-end-document):
22050 Try to automatically use latin1 input if needed.
22051
22052 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
22053 Don't try to cons a mark onto an empty element.
22054
22055 2011-04-11 Leo Liu <sdl.web@gmail.com>
22056
22057 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
22058 buffers.
22059 (ido-kill-buffer-at-head): Support killing virtual buffers.
22060
22061 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
22062
22063 * minibuffer.el (completion-show-inline-help): New var.
22064 (completion--do-completion, minibuffer-complete)
22065 (minibuffer-force-complete, minibuffer-complete-word):
22066 Inhibit minibuffer messages if completion-show-inline-help is nil.
22067
22068 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
22069 to avoid interference from inline help (Bug#5849).
22070
22071 2011-04-10 Leo Liu <sdl.web@gmail.com>
22072
22073 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
22074 Fix typo.
22075
22076 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
22077
22078 * image-mode.el (image-toggle-display-image): Signal an error if
22079 not in Image mode.
22080 (image-transform-mode, image-transform-resize)
22081 (image-transform-set-rotation): Doc fix.
22082 (image-transform-set-resize): Delete.
22083 (image-transform-set-scale, image-transform-fit-to-height)
22084 (image-transform-fit-to-width): Handle image-toggle-display-image
22085 and image-transform-resize directly.
22086
22087 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
22088
22089 * doc-view.el (doc-view-fit-width-to-window)
22090 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
22091 New functions for fitting the shown image to the Emacs window size.
22092 (doc-view-mode-map): Add bindings for the new functions.
22093
22094 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
22095
22096 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
22097 Fix typo in docstring.
22098
22099 2011-04-08 Eli Zaretskii <eliz@gnu.org>
22100
22101 * files.el (file-size-human-readable): Produce one digit after
22102 decimal, like "ls -lh" does.
22103
22104 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
22105 the file size representation.
22106
22107 * simple.el (list-processes): If async subprocesses are not
22108 available, error out with a clear error message.
22109
22110 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
22111
22112 * help.el (help-form-show): New function, to be called from C.
22113 Put help-form output in a buffer named differently than *Help*.
22114
22115 2011-04-08 Eli Zaretskii <eliz@gnu.org>
22116
22117 * files.el (file-size-human-readable): New function.
22118
22119 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
22120 computing the representation inline. Don't require `cl'.
22121
22122 2011-04-08 Glenn Morris <rgm@gnu.org>
22123
22124 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
22125
22126 * net/browse-url.el (browse-url-firefox):
22127 Test system-type, not system-configuration.
22128
22129 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
22130 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
22131 Use log-edit-empty-buffer-p. (Bug#7598)
22132
22133 * net/rlogin.el (rlogin-process-connection-type): Simplify.
22134 (rlogin-mode-map): Initialize in the defvar.
22135 (rlogin): Use ignore-errors.
22136
22137 * replace.el (occur-mode-map): Some fixes for menu items.
22138
22139 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
22140
22141 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
22142
22143 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
22144
22145 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
22146 issuing unused warnings.
22147
22148 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
22149 macro directly.
22150
22151 * simple.el: Lisp reimplement of list-processes. Based on an
22152 earlier reimplementation by Leo Liu, but using tabulated-list.el.
22153 (process-menu-mode): New major mode.
22154 (list-processes--refresh, list-processes):
22155 (process-menu-visit-buffer): New functions.
22156
22157 * files.el (save-buffers-kill-emacs): Don't assume any return
22158 value of list-processes, which is undocumented anyway.
22159
22160 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
22161
22162 * emacs-lisp/tabulated-list.el: New file.
22163
22164 * emacs-lisp/package.el: Use Tabulated List mode.
22165 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
22166 (package-menu-mode): Derive from tabulated-list-mode. Set up the
22167 table format using Tabulated List mode variables.
22168 (package--push): New macro, replacing package-list-maybe-add.
22169 (package-menu--generate): Use package--push. Renamed from
22170 package--generate-package-list.
22171 (package-menu-refresh, list-packages): Use it.
22172 (package-menu--print-info): Rename from package-print-package.
22173 Return insertion data instead of inserting it directly.
22174 (package-menu-describe-package, package-menu-execute):
22175 Use tabulated-list-get-id.
22176 (package-menu-mark-delete, package-menu-mark-install)
22177 (package-menu-mark-unmark, package-menu-backup-unmark)
22178 (package-menu-mark-obsolete-for-deletion):
22179 Use tabulated-list-put-tag.
22180 (package--list-packages, package-menu-revert)
22181 (package-menu-get-package, package-menu-get-version)
22182 (package-menu-sort-by-column): Functions deleted.
22183 (package-menu-package-list, package-menu-sort-key): Vars deleted.
22184 (package-menu--status-predicate, package-menu--version-predicate)
22185 (package-menu--name-predicate)
22186 (package-menu--description-predicate): Handle arguments in the
22187 Tabulated List format.
22188 (package-list-packages-no-fetch): Call list-packages.
22189
22190 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
22191
22192 * files.el (after-find-file-from-revert-buffer): Remove variable.
22193 (after-find-file): Don't bind it.
22194 (revert-buffer-in-progress-p): New variable.
22195 (revert-buffer): Bind it.
22196 Pass nil for `after-find-file-from-revert-buffer'.
22197
22198 * saveplace.el (save-place-find-file-hook): Use new variable
22199 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
22200
22201 2011-04-06 Glenn Morris <rgm@gnu.org>
22202
22203 * Makefile.in (AUTOGEN_VCS): New variable.
22204 (autoloads): Use $AUTOGEN_VCS.
22205
22206 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
22207 * calendar/calendar.el (calendar-mode-map):
22208 Check for toolkit scroll bars. (Bug#8305)
22209
22210 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
22211
22212 * minibuffer.el (completion-in-region--postch)
22213 (completion-in-region-mode): Remove unnecessary messages.
22214
22215 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
22216
22217 * font-lock.el (font-lock-refresh-defaults):
22218 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
22219 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
22220
22221 * info.el (Info-directory-list, Info-read-node-name-2)
22222 (Info-split-parameter-string): Doc fixes.
22223 (Info-virtual-nodes): Reflow docstring.
22224 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
22225 (Info-apropos-toc-nodes, info-finder, Info-get-token)
22226 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
22227 Fix typos in docstrings.
22228 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
22229 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
22230 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
22231 (Info-restore-desktop-buffer): Mark unused parameters.
22232 (Info-directory-find-file, Info-directory-find-node)
22233 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
22234 (Info-virtual-index-find-node, Info-apropos-find-file)
22235 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
22236 Mark unused parameters; fix typos in docstrings.
22237 (Info-virtual-index): Remove unused local variable `nodename'.
22238
22239 2011-04-05 Deniz Dogan <deniz@dogan.se>
22240
22241 * net/rcirc.el: Update my e-mail address.
22242 (rcirc-mode-map): Remove M-o binding.
22243
22244 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
22245
22246 * startup.el (command-line): Save the cursor's theme-face
22247 directly, instead of using face-override-spec.
22248
22249 * custom.el (load-theme): Minor optimization in assigning faces.
22250
22251 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
22252
22253 * help-fns.el (describe-variable): Complete all variables having
22254 documentation, including keywords.
22255 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
22256
22257 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
22258
22259 Convert to lexical-binding.
22260
22261 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
22262 (bs--get-marked-string, bs--get-modified-string)
22263 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
22264 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
22265 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
22266
22267 * ehelp.el (electric-help-execute-extended)
22268 (electric-help-ctrl-x-prefix):
22269 * hexl.el (hexl-revert-buffer-function):
22270 * linum.el (linum-after-change, linum-after-scroll):
22271 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
22272
22273 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
22274
22275 2011-04-04 Daiki Ueno <ueno@unixuser.org>
22276
22277 * epa-dired.el:
22278 * epa-mail.el:
22279 * epa-hook.el:
22280 * epa-file.el:
22281 * epa.el:
22282 * epg.el: Use lexical binding.
22283
22284 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
22285
22286 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
22287
22288 * textmodes/flyspell.el (flyspell-word): Recognize default
22289 dictionary case for flyspell-mark-duplications-exceptions.
22290 Use regexp matching for languages.
22291 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
22292 default dictionary (Bug#7926).
22293
22294 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
22295
22296 * emacs-lisp/package.el (package--with-work-buffer):
22297 Recognize https URLs.
22298
22299 * net/network-stream.el: Move from gnus/proto-stream.el.
22300 Change prefix to network-stream throughout.
22301 (open-protocol-stream): Merge into open-network-stream, leaving
22302 open-protocol-stream as an alias. Handle nil BUFFER args.
22303
22304 * subr.el (open-network-stream): Move to net/network-stream.el.
22305
22306 2011-04-02 Glenn Morris <rgm@gnu.org>
22307
22308 * find-dired.el (find-exec-terminator): New option.
22309 (find-ls-option): Test for -ls support.
22310 (find-ls-subdir-switches): Test for -b in find-ls-option.
22311 (find-dired, find-grep-dired): Doc fixes.
22312 (find-dired): Use find-exec-terminator.
22313
22314 * find-dired.el (find-ls-option, find-ls-subdir-switches)
22315 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
22316 (find-name-arg): Remove purecopy.
22317
22318 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
22319 (grep-compute-defaults): Check for `-exec COMMAND +' support.
22320 Set grep-find-use-xargs, grep-find-command, and grep-find-template
22321 accordingly. Don't add the null-device if not needed.
22322
22323 * files.el (save-some-buffers): Doc fix.
22324
22325 2011-04-02 Eli Zaretskii <eliz@gnu.org>
22326
22327 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
22328
22329 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
22330
22331 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
22332 Use `dolist' rather than `mapcar'.
22333
22334 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
22335
22336 Add lexical binding.
22337
22338 * subr.el (apply-partially): Use new closures rather than CL.
22339 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
22340 (dolist, dotimes): Use slightly different expansion for lexical code.
22341 (functionp): Move to C.
22342 (letrec): New macro.
22343 (with-wrapper-hook): Use it and apply-partially instead of CL.
22344 (eval-after-load): Preserve lexical-binding.
22345 (save-window-excursion, with-output-to-temp-buffer): Turn them
22346 into macros.
22347
22348 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
22349
22350 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
22351 than the arglist.
22352 (help-add-fundoc-usage): Don't add `Not documented'.
22353 (help-function-arglist): Handle closures, subroutines, and new
22354 byte-code-functions.
22355 (help-make-usage): Remove leading underscores.
22356 (describe-function-1): Handle closures.
22357 (describe-variable): Use special-variable-p for completion.
22358
22359 * files.el (lexical-binding): Declare safe.
22360
22361 * emacs-lisp/pcase.el: Don't use destructuring-bind.
22362 (pcase--memoize): Rename from pcase-memoize. Change weakness.
22363 (pcase): Add `let' pattern.
22364 Change memoization so it actually works.
22365 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
22366 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
22367 <let>: New case.
22368
22369 * emacs-lisp/macroexp.el: Use lexical binding.
22370 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
22371 Don't convert ' to #' without checking that it's indeed quoting
22372 a lambda.
22373
22374 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
22375 Use eval-sexp-add-defvars.
22376 (eval-sexp-add-defvars): New fun.
22377
22378 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
22379
22380 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
22381 Don't autoload.
22382 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
22383 than the internal `byte-compile-lambda'.
22384 (defmethod): Don't hide code under quotes.
22385 (eieio-defmethod): New `code' argument.
22386
22387 * emacs-lisp/eieio-comp.el: Remove.
22388
22389 * emacs-lisp/edebug.el (edebug-eval-defun)
22390 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
22391 (edebug-toggle): Avoid `eval'.
22392
22393 * emacs-lisp/disass.el (disassemble-internal): Handle new
22394 `closure' objects.
22395 (disassemble-1): Handle new byte codes.
22396
22397 * emacs-lisp/cl.el (pushnew): Silence warning.
22398
22399 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
22400 (cl-byte-compile-throw): Remove.
22401 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
22402
22403 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
22404 closures.
22405
22406 * emacs-lisp/cconv.el: New file.
22407
22408 * emacs-lisp/bytecomp.el: Use lexical binding instead of
22409 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
22410 (byte-compile-initial-macro-environment):
22411 Handle declare-function here.
22412 (byte-compile--lexical-environment): New var.
22413 (byte-stack-ref, byte-stack-set, byte-discardN)
22414 (byte-discardN-preserve-tos): New lap codes.
22415 (byte-interactive-p): Don't use any more.
22416 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
22417 New macros.
22418 (byte-compile-lapcode): Use them and handle new lap codes.
22419 (byte-compile-obsolete): Remove.
22420 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
22421 (byte-compile-arglist-warn): Check late def of inlinable funs.
22422 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
22423 since they should have been expanded by now.
22424 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
22425 (byte-compile-from-buffer): Remove unused second arg.
22426 (byte-compile-preprocess): New function.
22427 (byte-compile-toplevel-file-form): New function to distinguish
22428 file-form calls from outside from file-form calls from hunk-handlers.
22429 (byte-compile-file-form): Simplify.
22430 (byte-compile-file-form-defsubst): Remove.
22431 (byte-compile-file-form-defmumble): Simplify now that
22432 byte-compile-lambda always returns a byte-code-function.
22433 (byte-compile): Preprocess.
22434 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
22435 Remove, not used any more.
22436 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
22437 (byte-compile-make-args-desc): New funs.
22438 (byte-compile-lambda): Handle lexical functions. Always return
22439 a byte-code-function.
22440 (byte-compile-reserved-constants): New var, to make up room for
22441 closed-over variables.
22442 (byte-compile-constants-vector): Obey it.
22443 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
22444 (byte-compile-macroexpand-declare-function): New function.
22445 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
22446 byte-code-functions.
22447 (byte-compile-form): Check obsolescence here.
22448 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
22449 (byte-compile-variable-ref): Remove.
22450 (byte-compile-dynamic-variable-op): New fun.
22451 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
22452 (byte-compile-variable-set): New funs.
22453 (byte-compile-discard): Add 2 args.
22454 (byte-compile-stack-ref, byte-compile-stack-set)
22455 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
22456 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
22457 macroexpand-all instead.
22458 (byte-compile-quote-form): Remove.
22459 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
22460 (byte-compile-bind, byte-compile-unbind): New funs.
22461 (byte-compile-let): Handle let* and lexical binding.
22462 (byte-compile-let*): Remove.
22463 (byte-compile-catch, byte-compile-unwind-protect)
22464 (byte-compile-track-mouse, byte-compile-condition-case):
22465 Handle a new :fun-body form, used for lexical scoping.
22466 (byte-compile-save-window-excursion)
22467 (byte-compile-with-output-to-temp-buffer): Remove.
22468 (byte-compile-defun): Simplify.
22469 (byte-compile-stack-adjustment): New fun.
22470 (byte-compile-out): Use it.
22471 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
22472
22473 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
22474 handler any more.
22475
22476 * emacs-lisp/byte-opt.el: Use lexical binding.
22477 (byte-inline-lapcode): Remove (to bytecomp).
22478 (byte-compile-inline-expand): Pay attention to inlining to/from
22479 lexically bound code.
22480 (byte-compile-unfold-lambda): Don't handle byte-code-functions
22481 any more.
22482 (byte-optimize-form-code-walker): Don't handle save-window-excursion
22483 any more and don't call compiler-macros.
22484 (byte-compile-splice-in-already-compiled-code): Remove.
22485 (byte-code): Don't inline any more.
22486 (disassemble-offset): Receive `bytes' as argument rather than via
22487 dynamic scoping.
22488 (byte-compile-tag-number): Declare before first use.
22489 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
22490 `return' even if make-spliceable.
22491 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
22492 obsolete interactive-p.
22493 (byte-optimize-lapcode): Optimize new lap-codes.
22494 Don't trip up on new form of `byte-constant' lap code.
22495
22496 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
22497
22498 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
22499
22500 * custom.el (custom-initialize-default, custom-declare-variable):
22501 Use `defvar'.
22502
22503 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
22504 New variables.
22505 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
22506 (COMPILE_FIRST): Add macroexp and cconv.
22507 * makefile.w32-in: Mirror changes in Makefile.in.
22508
22509 * vc/cvs-status.el:
22510 * vc/diff-mode.el:
22511 * vc/log-edit.el:
22512 * vc/log-view.el:
22513 * vc/smerge-mode.el:
22514 * textmodes/bibtex-style.el:
22515 * textmodes/css-mode.el:
22516 * startup.el:
22517 * uniquify.el:
22518 * minibuffer.el:
22519 * newcomment.el:
22520 * reveal.el:
22521 * server.el:
22522 * mpc.el:
22523 * emacs-lisp/smie.el:
22524 * doc-view.el:
22525 * dired.el:
22526 * abbrev.el: Use lexical binding.
22527
22528 2011-04-01 Eli Zaretskii <eliz@gnu.org>
22529
22530 * info.el (info-display-manual): New function.
22531
22532 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
22533
22534 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
22535
22536 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
22537
22538 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
22539 an entry for that server in rcirc-authinfo. (Bug#8385)
22540
22541 2011-03-31 Glenn Morris <rgm@gnu.org>
22542
22543 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
22544
22545 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
22546
22547 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
22548
22549 * progmodes/python.el (python-default-interpreter)
22550 (python-python-command-args, python-jython-command-args)
22551 (python-which-shell, python-which-args, python-which-bufname)
22552 (python-file-queue, python-comint-output-filter-function)
22553 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
22554 variables and functions.
22555
22556 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
22557
22558 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
22559 (completion-in-region-mode): New minor mode.
22560 (completion-in-region): Use it.
22561 (completion-in-region--data, completion-in-region-mode-map): New vars.
22562 (completion-in-region--postch): New function.
22563 (completion--capf-misbehave-funs, completion--capf-safe-funs):
22564 New vars.
22565 (completion--capf-wrapper): New function.
22566 (completion-at-point): Use it to track well-behavedness of
22567 hook functions.
22568 (completion-help-at-point): New command.
22569
22570 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
22571
22572 * vc/add-log.el (add-change-log-entry): Don't use whitespace
22573 syntax class to search for whitespace on a single line
22574 (Message-ID: <4D938140.4030905@redhat.com>).
22575
22576 2011-03-30 Leo Liu <sdl.web@gmail.com>
22577
22578 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
22579 New commands.
22580 (edit-abbrevs-map): Bind them here.
22581 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
22582
22583 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
22584
22585 * allout.el (allout-hide-by-annotation, allout-flag-region):
22586 Reduce possibility of overlay leakage by making them volatile.
22587
22588 * allout-widgets.el (allout-widgets-tally): Define as nil so the
22589 hash is not shared between buffers. Mode initialization is
22590 responsible for giving it a useful starting value.
22591 (allout-item-span): Reduce possibility of overlay leakage by
22592 making them volatile.
22593 (allout-widgets-count-buttons-in-region): Add diagnostic function
22594 for tracking down button overlay leaks.
22595
22596 2011-03-29 Leo Liu <sdl.web@gmail.com>
22597
22598 * ido.el (ido-read-internal): Use the default history var
22599 minibuffer-history if no HISTORY is specified.
22600
22601 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
22602
22603 * net/imap.el (imap-shell-open, imap-process-connection-type):
22604 Use imap-process-connection-type for 'shell' streams as well as
22605 Kerberos, SSL, other subprocesses.
22606
22607 2011-03-28 Leo Liu <sdl.web@gmail.com>
22608
22609 * abbrev.el (abbrev-table-empty-p): New function.
22610 (prepare-abbrev-list-buffer): Place empty abbrev tables after
22611 nonempty ones. (Bug#5937)
22612
22613 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
22614
22615 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
22616
22617 2011-03-27 Leo Liu <sdl.web@gmail.com>
22618
22619 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
22620 for foreground and background colors.
22621 (ansi-color-make-color-map): Adapt.
22622
22623 2011-03-25 Leo Liu <sdl.web@gmail.com>
22624
22625 * midnight.el (midnight-time-float): Remove. Note it calculates
22626 the microsecond component incorrectly and seconds-to-time does the
22627 same job.
22628 Remove redundant (require 'timer).
22629
22630 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
22631 (ido-completions): Remove unused arguments. (Bug#8329)
22632
22633 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
22634
22635 * minibuffer.el (completion--flush-all-sorted-completions):
22636 Remove itself from hook.
22637 (completion-at-point): Let the functions perform the completion
22638 immediately and return nil or t.
22639 * comint.el (comint-dynamic-complete-functions): Now identical to
22640 completion-at-point-functions.
22641 (comint-dynamic-list-input-ring): Remove unused var `index'.
22642 (comint--match-partial-filename, comint--unquote&expand-filename):
22643 New funs, split from comint-match-partial-filename.
22644 (comint-dynamic-complete): Use completion-at-point.
22645 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
22646
22647 2011-03-24 Drew Adams <drew.adams@oracle.com>
22648
22649 * thingatpt.el: Support `defun'.
22650
22651 2011-03-23 Leo Liu <sdl.web@gmail.com>
22652
22653 * abbrevlist.el: Move to obsolete/abbrevlist.el.
22654
22655 * help-mode.el (help-mode-finish): Tweak regexp.
22656
22657 2011-03-23 Glenn Morris <rgm@gnu.org>
22658
22659 * eshell/esh-opt.el (eshell-eval-using-options):
22660 Do not bind unused local variable `eshell-option-stub'.
22661
22662 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
22663
22664 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
22665
22666 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
22667 keymap variable in `with-no-warnings' to avoid a warning when the
22668 keymap has been already `defconst'ed.
22669
22670 2011-03-22 Leo Liu <sdl.web@gmail.com>
22671
22672 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
22673 encode all chars in abbrevs; otherwise use emacs-mule or
22674 utf-8-emacs. (Bug#8308)
22675
22676 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
22677
22678 * simple.el (backward-delete-char-untabify):
22679 Avoid warning about using `delete-backward-char'.
22680
22681 * image.el (image-type-file-name-regexps): Make it variable.
22682 `imagemagick-register-types' modifies it, and the user may want
22683 to add new extensions for known image types.
22684 (imagemagick-register-types): Throw error if not using ImageMagick.
22685
22686 2011-03-22 Leo Liu <sdl.web@gmail.com>
22687
22688 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
22689 located before rcirc-prompt-end-marker.
22690 (rcirc-complete): Error if point is not after rcirc prompt.
22691 Handle the case when table is nil.
22692 (rcirc-user-authenticated): Define to fix compiler warning.
22693
22694 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
22695
22696 * custom.el (custom--inhibit-theme-enable): Make it affect only
22697 custom-theme-set-variables and custom-theme-set-faces.
22698 (provide-theme): Ignore custom--inhibit-theme-enable.
22699 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
22700 (custom-enabling-themes): Delete variable.
22701 (enable-theme): Accept only loaded themes as arguments.
22702 Ignore the special custom-enabled-themes variable.
22703 (custom-enabled-themes): Forbid themes from setting this.
22704 Eliminate use of custom-enabling-themes.
22705 (custom-push-theme): Quote "changed" custom var entry.
22706
22707 2011-03-21 Leo Liu <sdl.web@gmail.com>
22708
22709 * ido.el (ido-read-internal): Add ido-selected to history instead
22710 of user input.
22711
22712 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
22713
22714 * subr.el (deferred-action-list, deferred-action-function):
22715 Mark obsolete.
22716
22717 2011-03-21 Leo Liu <sdl.web@gmail.com>
22718
22719 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
22720 change on 2011-02-13 (bug#8309).
22721
22722 * minibuffer.el (read-file-name-function): Change default value.
22723 (read-file-name--defaults): Rename from read-file-name-defaults.
22724 (read-file-name-default): Rename from read-file-name.
22725 (read-file-name): Call read-file-name-function.
22726
22727 2011-03-21 Glenn Morris <rgm@gnu.org>
22728
22729 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
22730 Doc fixes.
22731
22732 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
22733
22734 * cus-theme.el: Add missing provide statement.
22735 (customize-create-theme): Extract theme value correctly.
22736 (custom-theme-visit-theme): Autoload.
22737 (customize-create-theme): Prompt before inserting default faces.
22738
22739 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
22740
22741 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
22742 units and musical notes.
22743
22744 2011-03-20 Leo Liu <sdl.web@gmail.com>
22745
22746 * ido.el (ido-read-internal): Use completing-read-default.
22747 (ido-completing-read): Fix compatibility with completing-read.
22748
22749 2011-03-20 Christian Ohler <ohler@gnu.org>
22750
22751 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
22752 (ert-delete-all-tests): Use `called-interactively-p' rather than
22753 `interactive-p'.
22754 (ert--make-xrefs-region): Respect END.
22755
22756 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
22757
22758 * dired-aux.el (dired-create-directory): Signal an error if the
22759 directory already exists (Bug#8246).
22760
22761 * facemenu.el (list-colors-display): Call list-faces-display
22762 inside with-help-window.
22763 (list-colors-print): Use display property to align the final
22764 column, instead of checking window-width.
22765
22766 2011-03-19 Eli Zaretskii <eliz@gnu.org>
22767
22768 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
22769 windows-nt systems.
22770 (emerge-protect-metachars): Quote correctly for ms-dos and
22771 windows-nt systems.
22772
22773 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
22774
22775 * info.el (info-initialize): Replace all uses of `:' with
22776 path-separator for compatibility with non-Unix systems.
22777 Cache quoting of path-separator. (Bug#8258)
22778
22779 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
22780
22781 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
22782 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
22783 (mouse-avoidance-mode): Fix typos in docstrings.
22784
22785 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
22786
22787 * startup.el (package-subdirectory-regexp): Move from package.el.
22788 Omit \\` and \\', and let callers add them.
22789
22790 * emacs-lisp/package.el (package-strip-version)
22791 (package-load-all-descriptors): Add \\` and \\' to
22792 package-subdirectory-regexp before using it.
22793 (package-untar-buffer): New arg DIR; ensure that file untars only
22794 into this expected directory. Remove superfluous delete-region.
22795 (package-unpack): Caller changed.
22796 (package-tar-file-info): Use package-subdirectory-regexp.
22797
22798 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
22799
22800 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
22801 diff-mode-shared-map (bug#8284).
22802 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
22803
22804 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
22805
22806 * calendar/time-date.el (format-seconds): Use assoc instead of
22807 assoc-string, since assoc-string doesn't exist in XEmacs.
22808
22809 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
22810
22811 * custom.el (custom-known-themes): Reflow docstring.
22812 (custom-theme-load-path): Fix typo in docstring.
22813 (load-theme): Fix typo in error message.
22814 (custom-available-themes, custom-variable-theme-value):
22815 Use `let', not `let*'.
22816
22817 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
22818
22819 * calc/README: Mention inclusion of musical notes.
22820
22821 * calc/calc-units.el (calc-lu-quant): Rename from
22822 `calc-logunits-quantity'.
22823 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
22824 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
22825 (calc-db): Rename from `calc-dblevel'.
22826 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
22827 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
22828 (calc-np): Rename from `calc-nplevel'.
22829 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
22830 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
22831 (calc-lu-plus): Rename from `calc-logunits-add'.
22832 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
22833 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
22834 (calc-lu-minus): Rename from `calc-logunits-sub'.
22835 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
22836 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
22837 (calc-lu-times): Rename from `calc-logunits-mul'.
22838 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
22839 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
22840 (calc-lu-divide): Rename from `calc-logunits-div'.
22841 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
22842 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
22843
22844 * calc/calc-ext.el (calc-init-extensions): Update the names of the
22845 functions being autoloaded.
22846
22847 * calc/calc.el (calc-lu-power-reference): Rename from
22848 `calc-logunits-power-reference'.
22849 (calc-lu-field-reference): Rename from
22850 `calc-logunits-field-reference'.
22851
22852 * calc/calc-help.el (calc-l-prefix-help):
22853 Mention musical note functions.
22854
22855 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
22856
22857 * minibuffer.el (completion-all-sorted-completions):
22858 Use :completion-cycle-penalty text property if present.
22859
22860 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
22861
22862 * allout.el (allout-yank-processing): Adjust for new rebulleting
22863 regime so bullet being yanked is used without prompting the user
22864 for a choice.
22865
22866 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
22867
22868 * startup.el (command-line): Warn the user that _emacs is deprecated.
22869
22870 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
22871
22872 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
22873 (delphi-verbose, delphi-comment-face, delphi-string-face)
22874 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
22875 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
22876 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
22877 (delphi-new-comment-line, delphi-font-lock-defaults)
22878 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
22879 Fix typos in docstrings.
22880
22881 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
22882
22883 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
22884 Invert the roles of character and string values for INSTEAD, so a
22885 string is used for the more common case of a defaulting prompt.
22886
22887 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
22888
22889 * progmodes/ruby-mode.el (ruby-backward-sexp):
22890 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
22891 * play/gamegrid.el (gamegrid-make-face):
22892 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
22893 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
22894 * notifications.el (notifications-notify):
22895 * net/xesam.el (xesam-search-engines):
22896 * net/quickurl.el (quickurl-list-insert):
22897 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
22898
22899 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
22900
22901 * startup.el (command-line): Update package subdirectory regexp.
22902
22903 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
22904
22905 * allout.el (allout-abbreviate-flattened-numbering)
22906 (allout-mode-deactivate-hook): Fix up obsolescence "date".
22907
22908 * subr.el (read-char-choice): Only show the cursor after the prompt,
22909 not after the answer.
22910
22911 2011-03-15 Kevin Ryde <user42@zip.com.au>
22912
22913 * help-fns.el (variable-at-point): Skip leading quotes, if any
22914 (bug#8253).
22915
22916 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
22917
22918 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
22919 warning message.
22920
22921 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
22922
22923 * shell.el (shell): When called interactively, offer to change the
22924 shell file name on remote hosts.
22925
22926 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
22927
22928 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
22929 integration for LDAP parameters. The host, base, user or binddn,
22930 and secret tokens can be specified in a netrc file, for instance.
22931 This is optional because an `auth-source' parameter must be
22932 specified in the search attributes.
22933
22934 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
22935
22936 * help.el (describe-mode): Link to the mode's definition (bug#8185).
22937
22938 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
22939
22940 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
22941 into declaration. Remove redundant and harmful binding.
22942
22943 2011-03-12 Eli Zaretskii <eliz@gnu.org>
22944
22945 * files.el (file-ownership-preserved-p): Pass `integer' as an
22946 explicit 2nd argument to `file-attributes'. If the file's owner
22947 is the Administrators group on Windows, and the current user is
22948 Administrator, consider that a match.
22949
22950 * server.el (server-ensure-safe-dir): Consider server directory
22951 safe on MS-Windows if its owner is the Administrators group while
22952 the current Emacs user is Administrator. Use `=' to compare
22953 numerical UIDs, since they could be integers or floats.
22954
22955 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
22956
22957 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
22958
22959 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
22960
22961 Sync with Tramp 2.2.1.
22962
22963 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
22964
22965 * net/trampver.el: Update release number.
22966
22967 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
22968
22969 * progmodes/compile.el (compilation--previous-directory): Fix up
22970 various nil/dead-marker mismatches (bug#8014).
22971 (compilation-directory-properties, compilation-error-properties):
22972 Don't call it at a position past the one we're about to change.
22973
22974 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
22975 Disable obsolescence warnings in the file that declares it.
22976
22977 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
22978
22979 * allout-widgets.el (allout-widgets-tally):
22980 Initialize allout-widgets-tally as a hash table rather than nil to
22981 prevent mode-line redisplay warnings. Also, clarify the module
22982 description and fix a comment typo.
22983
22984 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
22985
22986 * help-fns.el (describe-variable): Don't complete keywords.
22987 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
22988
22989 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
22990
22991 * emacs-lisp/package.el (package-version-join): Impose a standard
22992 string representation for pre/alpha/beta version lists.
22993 (package-unpack-single): Standardize the directory name by passing
22994 it through package-version-join.
22995 (package-strip-rcs-id): Accept any version string that does not
22996 signal an error in version-to-list.
22997
22998 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
22999
23000 * simple.el (delete-trailing-whitespace): Return nil for the
23001 benefit of `write-file-functions'.
23002
23003 2011-03-10 Glenn Morris <rgm@gnu.org>
23004
23005 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
23006
23007 * vc/vc-git.el (vc-git-program): New option.
23008 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
23009 (vc-git--call): Use it.
23010
23011 * eshell/esh-util.el (eshell-condition-case): Doc fix.
23012
23013 * cus-edit.el (Custom-newline): If no button at point, look
23014 for a subgroup button at start-of-line. (Bug#2298)
23015
23016 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
23017
23018 2011-03-10 Julien Danjou <julien@danjou.info>
23019
23020 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
23021 `cursor-type' is nil.
23022
23023 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
23024
23025 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
23026
23027 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
23028
23029 * allout.el: Change so yank of distinctive-bullet items
23030 preserves the existing header prefix, rebulleting it if necessary,
23031 rather than replacing it. This is necessary for proper operation
23032 of cooperative addons like allout-widgets.
23033 (allout-make-topic-prefix, allout-rebullet-heading):
23034 Change SOLICIT arg to INSTEAD, and interpret additionally a string
23035 value as alternate bullet to be used, instead of prompting the user
23036 for a bullet character.
23037
23038 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
23039
23040 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23041 Do not use `tramp-file-name-port', because this returns also
23042 `tramp-default-port'.
23043
23044 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
23045
23046 * net/rcirc.el (rcirc-handler-001): Remove useless
23047 with-rcirc-process-buffer.
23048 (rcirc-check-auth-status): Swap arguments to string-match.
23049
23050 2011-03-09 Glenn Morris <rgm@gnu.org>
23051
23052 * shell.el (shell-mode):
23053 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
23054
23055 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
23056 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
23057
23058 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
23059
23060 * emacs-lisp/package.el (package-refresh-contents)
23061 (package-menu-execute): Use condition-case-no-debug.
23062
23063 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
23064
23065 * simple.el (shell-command-to-string): Use `process-file'.
23066
23067 * emacs-lisp/package.el (package-tar-file-info): Handle also
23068 remote files.
23069
23070 * emacs-lisp/package-x.el (package-upload-buffer-internal):
23071 Use `equal' for upload base check.
23072
23073 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
23074
23075 * textmodes/texinfo.el (texinfo-environments):
23076 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
23077
23078 2011-03-08 Glenn Morris <rgm@gnu.org>
23079
23080 * cus-start.el (cursor-in-non-selected-windows):
23081 Fix :set quoting oddness. (Bug#8192)
23082
23083 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
23084 in some setf expressions. (Bug#2159)
23085
23086 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
23087
23088 * custom.el (custom-available-themes): Return themes in
23089 alphabetical order.
23090
23091 See ChangeLog.15 for earlier changes.
23092
23093 ;; Local Variables:
23094 ;; coding: utf-8
23095 ;; End:
23096
23097 Copyright (C) 2011-2013 Free Software Foundation, Inc.
23098
23099 This file is part of GNU Emacs.
23100
23101 GNU Emacs is free software: you can redistribute it and/or modify
23102 it under the terms of the GNU General Public License as published by
23103 the Free Software Foundation, either version 3 of the License, or
23104 (at your option) any later version.
23105
23106 GNU Emacs is distributed in the hope that it will be useful,
23107 but WITHOUT ANY WARRANTY; without even the implied warranty of
23108 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23109 GNU General Public License for more details.
23110
23111 You should have received a copy of the GNU General Public License
23112 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.