* lisp/doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
[bpt/emacs.git] / lisp / ChangeLog
1 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
4 (doc-view-pdf->png-converter-function): Use mupdf if available.
5 (doc-view-djvu->png-converter-function)
6 (doc-view-ps->png-converter-function): Remove.
7 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
8 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
9 (doc-view-already-converted-p): Adjust accordingly.
10 (doc-view-mode-p): Simplify.
11 (doc-view-enlarge): Use setq-local.
12 (doc-view-pdf->png-converter-ghostscript)
13 (doc-view-djvu->png-converter-ddjvu)
14 (doc-view-pdf->png-converter-mupdf): Rework to call
15 doc-view-start-process directly.
16 (doc-view-pdf/ps->png): Simplify accordingly.
17 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
18 (doc-view-document->bitmap): Rename from doc-view-document->png.
19 (doc-view-convert-current-doc): Merge pdf and djvu cases.
20 (doc-view-set-slice-from-bounding-box): Fix completion table.
21 (doc-view-mode): Use add-hook for after-revert-hook.
22
23 2013-01-10 Glenn Morris <rgm@gnu.org>
24
25 * emacs-lisp/authors.el (authors-ignored-files)
26 (authors-valid-file-names, authors-renamed-files-alist):
27 Add some more entries.
28
29 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
30
31 * image-mode.el (image-mode-winprops): Don't throw away the fallback
32 `t' pseudo-window entry.
33
34 2013-01-10 Alan Mackenzie <acm@muc.de>
35
36 Fix bugs in the c-parse-state mechanism. Reuse some markers
37 instead of continually generating new ones.
38
39 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
40 (c-state-old-cpp-end-marker): New variables.
41 (c-append-lower-brace-pair-to-state-cache): Start a backward
42 search for "}" definitively outside CPP constructs.
43 (c-remove-stale-state-cache): Inform the caller of a need to
44 search back for a brace pair in certain circumstances.
45 (c-state-maybe-marker): New macro.
46 (c-parse-state): Reuse markers when appropriate.
47
48 2013-01-10 Glenn Morris <rgm@gnu.org>
49
50 * simple.el (execute-extended-command): Doc fix.
51 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
52
53 2013-01-10 Chong Yidong <cyd@gnu.org>
54
55 * faces.el (read-face-name): Doc fix.
56
57 2013-01-10 Roland Winkler <winkler@gnu.org>
58
59 * emacs-lisp/crm.el: Allow any regexp for separators.
60 (crm-default-separator): All spaces around the default comma separator.
61 (crm--completion-command): New macro.
62 (crm-completion-help, crm-complete, crm-complete-word): Use it.
63 (crm-complete-and-exit): Handle non-single-char separators.
64
65 2013-01-09 Elias Pipping <pipping@lavabit.com>
66
67 * doc-view.el: Add support for DjVu (bug#13164).
68 (doc-view-djvu->png-converter-function): New config var.
69 (doc-view-single-page-converter-function, doc-view--image-type)
70 (doc-view--image-file-extension): New vars.
71 (doc-view-mode): Initialize them.
72 (doc-view-goto-page): Use them.
73 (doc-view-mode-p): Add support for ddjvu.
74 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
75 (doc-view-set-up-single-converter): New funs.
76 (doc-view-pdf/ps->png): Extend for djvu.
77 (doc-view-document->png): Rename from doc-view-pdf->png.
78 (doc-view-convert-current-doc): Handle djvu.
79 (doc-view-insert-image, doc-view-display)
80 (doc-view-already-converted-p): Don't hardcode png.
81 (doc-view-set-doc-type): Recognize djvu docs.
82
83 2013-01-09 Elias Pipping <pipping@lavabit.com>
84
85 * doc-view.el: Add support for mupdf converter (bug#13164).
86 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
87 (doc-view-ps->png-converter-function): New config vars.
88 (doc-view-pdf->png-converter-ghostscript)
89 (doc-view-ps->png-converter-ghostscript)
90 (doc-view-pdf->png-converter-mupdf): New functions.
91 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
92
93 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
94
95 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
96 first in session cache: When `tramp-own-remote-path' is in
97 `tramp-remote-path', the remote path is only set in the session
98 cache.
99
100 2013-01-09 Glenn Morris <rgm@gnu.org>
101
102 * emacs-lisp/trace.el (trace-function-foreground)
103 (trace-function-background): Doc fix.
104
105 2013-01-09 Juri Linkov <juri@jurta.org>
106
107 * international/mule-cmds.el (read-char-by-name): Move let-binding
108 of completion-ignore-case around completing-read to fix regression
109 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
110 `string-match-p' using the nil value of `case-fold-search' and
111 `completion-ignore-case' in `completion-pcm--all-completions'.
112 (Bug#12615).
113
114 2013-01-09 Glenn Morris <rgm@gnu.org>
115
116 * progmodes/compile.el (compilation-parse-errors):
117 Fix typo. (Bug#13369)
118
119 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
120
121 * comint.el (comint-send-input): Check size of buffer before
122 waiting for process output, in case already accepted. (Bug#13290)
123
124 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
125
126 Spelling fixes.
127 * net/tramp-adb.el (tramp-adb-get-toolbox):
128 Fix misspelling of 'unknown'.
129
130 2013-01-08 Juri Linkov <juri@jurta.org>
131
132 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
133 * progmodes/flymake.el (flymake-errline, flymake-warnline):
134 Use underline style wave on terminals that support it. (Bug#13000)
135
136 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
137
138 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
139 the predicate returns nil.
140
141 * simple.el: Use lexical-binding.
142 (primitive-undo): Use pcase.
143 (minibuffer-history-isearch-push-state): Use a closure.
144
145 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
146
147 * simple.el (primitive-undo): Move from undo.c.
148
149 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
150
151 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
152 (cvs-mode-remove-handled): Use it (bug#13380).
153
154 * emacs-lisp/nadvice.el (advice--tweak): New function.
155 (advice--remove-function, advice--subst-main): Use it.
156
157 * emacs-lisp/advice.el: Update commentary.
158
159 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
160
161 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
162 Remove spurious entry.
163
164 2013-01-08 Glenn Morris <rgm@gnu.org>
165
166 * net/tramp.el (tramp-default-host-alist): Add :version.
167
168 2013-01-08 Juri Linkov <juri@jurta.org>
169
170 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
171 single completion. (Bug#12456)
172 (info--manual-names): Expand node completions into an explicit list
173 before appending it to another list. Filter out internal buffers
174 with the leading space in the buffer name. (Bug#10771)
175
176 2013-01-08 Juri Linkov <juri@jurta.org>
177
178 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
179 that defaults to the Top node.
180 (Info-goto-node, Info-read-node-name): Doc fix to mention that
181 the short format (FILENAME) goes to the Top node.
182 (Info-build-node-completions): Rename arg `file' to `filename'.
183 (Bug#13365)
184
185 2013-01-07 Bastien Guerry <bzg@gnu.org>
186
187 * menu-bar.el (menu-bar-search-documentation-menu):
188 Use `apropos-user-option' and fix the help message.
189
190 2013-01-07 Bastien Guerry <bzg@gnu.org>
191
192 * apropos.el (apropos-do-all): Update docstring.
193 (apropos-user-option-button): New face.
194 (apropos-user-option): Rename from `apropos-variable' and update
195 docstring.
196 (apropos-variable): Rewrite, now show all variables by default.
197 (apropos-print): Mention "User option" instead of "Variable" when
198 printing doc for user options. (Bug#13276)
199
200 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
201
202 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
203 Handle filename correctly, when parsing "source -> target" symlink
204 output.
205 (tramp-adb-handle-set-file-times): New defun.
206
207 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
208
209 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
210 advice list when the interactive-spec of ad-Advice-* changes.
211
212 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
213
214 * wid-edit.el (widget-default-get): Work for inlined elements.
215 (Bug#12670)
216
217 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
218
219 * net/tramp.el (tramp-default-host-alist): New defcustom.
220 (tramp-find-host): Use it.
221 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
222 `eshell-directory-change-hook'.
223
224 * net/tramp-adb.el (top): Add adb specific entry in
225 `tramp-default-host-alist'.
226 (tramp-adb-file-name-host): Remove function.
227 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
228 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
229
230 * net/tramp-sh.el: Move eshell integration code to tramp.el.
231
232 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
233
234 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
235
236 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
237
238 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
239 consist of more than one digit.
240 (tramp-adb-file-name-handler-alist):
241 Use `tramp-handle-file-exists-p' consistently.
242 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
243 (tramp-adb-handle-file-exists-p): Remove function.
244 (tramp-adb-file-name-host): New defun.
245 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
246 Use it.
247 (tramp-adb-maybe-open-connection): Set "remote-path" property.
248
249 2013-01-06 Chong Yidong <cyd@gnu.org>
250
251 * vc/vc.el (vc-next-action): Detect buffer modifications
252 conflicting with locking VCS operation (Bug#11490).
253
254 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
255
256 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
257
258 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
259 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
260
261 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
262
263 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
264 parsing of ls output using regular expression (handle filenames
265 with spaces). Use virtual device number.
266 (tramp-do-parse-file-attributes-with-ls): New defun (Code
267 cleanup).
268
269 2013-01-04 Daiki Ueno <ueno@gnu.org>
270
271 * epg.el: Silence byte-compiler warnings.
272 (epg--start): Use delete-char instead of delete-backward-char.
273 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
274
275 2013-01-04 Daiki Ueno <ueno@gnu.org>
276
277 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
278 Suggested by Eli Zaretskii <eliz@gnu.org>.
279
280 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
281
282 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
283 non-negative integers. Otherwise, the default values are used.
284 (tramp-convert-file-attributes): Convert uid and gid to integers.
285
286 2013-01-04 Glenn Morris <rgm@gnu.org>
287
288 * term.el (term-handle-colors-array): Ensure face attributes
289 are fully specified, not nil. (Bug#13337)
290
291 * term.el (term-default-fg-color, term-default-bg-color):
292 Fix custom type.
293
294 * progmodes/etags.el (tags-compression-info-list): Doc fix.
295 (tag-find-file-of-tag-noselect): Check auto-compression-mode
296 rather than 'jka-compr being loaded. (Bug#13338)
297
298 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
299
300 * icomplete.el (icomplete-completions):
301 Honor icomplete-prospects-height once more following
302 2012-11-29 changes. (Bug#13224)
303
304 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
305
306 * subr.el (internal--called-interactively-p--get-frame): Find aliases
307 of called-interactively-p as well (bug#13237).
308
309 * view.el (view--enable, view--disable): Rename from view-mode-enable
310 and view-mode-disable and assume it's called from view-mode.
311 (view-mode-enable, view-mode-disable): Redefine as obsolete
312 compatibility layer above view-mode.
313 (view-mode-enter): Call `view-mode'.
314
315 * files.el (after-find-file): Call `view-mode'.
316
317 * doc-view.el (doc-view-scale-internally): New var.
318 (doc-view-enlarge, doc-view-insert-image): Obey it.
319
320 2013-01-03 Daiki Ueno <ueno@gnu.org>
321
322 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
323 exist. (Bug#13344)
324
325 2013-01-03 Glenn Morris <rgm@gnu.org>
326
327 * mail/rmail.el (rmail-set-header-1): Ignore case.
328 Handle multi-line headers. (Bug#13330)
329
330 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
331 Handle paragraph starting at beginning of buffer.
332
333 * subr.el (eval-after-load): Don't purecopy the form, so that it
334 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
335
336 * emacs-lisp/byte-run.el (defun): Place cl declarations
337 after any interactive spec. (Bug#13265)
338
339 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
340
341 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
342 defun. Don't check for DECL if DOCSTRING isn't a string.
343 (defun): Likewise.
344
345 2013-01-02 Glenn Morris <rgm@gnu.org>
346
347 * eshell/em-cmpl.el (eshell-pcomplete):
348 More thoroughly imitate pcomplete. (Bug#13293)
349
350 * files.el (parse-colon-path): Doc fix. (Bug#12351)
351 Return nil for empty path elements. (Bug#13296)
352
353 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
354
355 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
356 order to improve efficiency (Based on Daniel Colascione's
357 <dancol@dancol.org> patch). (Bug#13182)
358
359 2013-01-02 Glenn Morris <rgm@gnu.org>
360
361 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
362
363 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
364
365 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
366 neither DOCSTRING nor DECL was given. (Bug#13316)
367
368 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
369
370 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
371 `error' call.
372 (tramp-do-copy-or-rename-file): Ignore errors when calling
373 `set-file-extended-attributes'.
374
375 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
376 Add handler for `file-acl'.
377 (tramp-smb-handle-file-acl): New defun.
378
379 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
380
381 * calc/README: Mention ISO 8601 week-numbering dates.
382
383 2013-01-01 Martin Rudalics <rudalics@gmx.at>
384
385 * view.el (view-mode-enable): New argument run-view-mode-hook.
386 Run view-mode-hook only when it's non-nil (Bug#13315).
387 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
388 argument t.
389
390 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
391
392 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
393 (No device connected, invalid device name). (Bug #13299)
394
395 2012-12-31 Martin Rudalics <rudalics@gmx.at>
396
397 * window.el (window-resizable--p): Rename to window-resizable-p.
398 (window-resize-no-error): New function.
399
400 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
401 broken in fix from 2012-12-28.
402
403 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
404
405 * subr.el (special-form-p): Don't signal errors on undef aliases.
406
407 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
408
409 * calc/calc-forms.el (math-parse-date): Try using
410 `math-parse-iso-date' when it looks like it might be needed.
411 Allow times of 24:00.
412 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
413 of 24:00.
414
415 2012-12-30 Glenn Morris <rgm@gnu.org>
416
417 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
418 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
419 (rmail-summary-displayed, rmail-summary): Declare.
420 (mairix-rmail-display): Just require rmail.
421
422 2012-12-30 Chong Yidong <cyd@gnu.org>
423
424 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
425 check for the tarball contents.
426
427 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
428
429 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
430 tarfile content listings (Bug#13136).
431
432 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
433
434 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
435 Insert the undecoded text of the message being forwarded. (Bug#9521)
436
437 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
438
439 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
440 integers, if they are real numbers. (Bug#13282)
441
442 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
443 Return `t' on success.
444
445 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
446 Add handler for `set-file-selinux-context'.
447
448 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
449
450 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
451 (tramp-sh-handle-set-file-acl): Return `t' on success.
452
453 2012-12-29 Eli Zaretskii <eliz@gnu.org>
454
455 * files.el (backup-buffer-copy, basic-save-buffer-2):
456 If set-file-extended-attributes fails, fall back on set-file-modes
457 instead of signaling an error. (Bug#13298)
458 (basic-save-buffer): Likewise.
459
460 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
461
462 * progmodes/python.el: Support other commands triggering
463 python-indent-line so indentation cycling continues to work.
464 (python-indent-trigger-commands): New defcustom.
465 (python-indent-line): Use it.
466
467 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
468
469 * progmodes/python.el (python-shell-send-region): Add blank lines
470 for non sent code so backtraces remain correct.
471
472 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
473
474 * progmodes/python.el: Remove cl dependency.
475 (python-syntax-count-quotes): Replace incf call.
476 (python-fill-string): Replace setf call.
477
478 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
479
480 * info.el (info-other-window): New arg, for consistency with info.
481
482 2012-12-28 Martin Rudalics <rudalics@gmx.at>
483
484 * mail/rmail.el (rmail-maybe-display-summary):
485 Rewrite (Bug#13066).
486
487 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
488
489 * epg.el (epg--start): Modify process-environment locally.
490
491 2012-12-28 Daiki Ueno <ueno@gnu.org>
492
493 * epg.el: Support pinentry-curses.
494 Suggested by Werner Koch in
495 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
496 (epg-agent-file, epg-agent-mtime): New variable.
497 (epg--start): Record the modified time of gpg-agent socket file,
498 to restore Emacs frame after pinentry-curses termination.
499 (epg-wait-for-completion): Restore Emacs frame here.
500
501 2012-12-27 Juri Linkov <juri@jurta.org>
502
503 * info.el (Info-file-completions): New variable.
504 (Info-read-node-name-1): Complete node names in the Info file
505 when a file name is given. Call `Info-build-node-completions'
506 with a file name.
507 (Info-build-node-completions): Add new arg `file'. When it is
508 non-nil, visit it in a temporary buffer and cache its completions in
509 `Info-current-file-completions'. Move most of the function body to
510 `Info-build-node-completions-1'.
511 (Info-build-node-completions-1): New function with the body from
512 `Info-build-node-completions'. (Bug#12456)
513
514 2012-12-27 Juri Linkov <juri@jurta.org>
515
516 * frame.el (frame-maximization-style): Remove user option.
517 (cycle-frame-maximized): Remove function.
518 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
519 (toggle-frame-fullscreen): New command bound to <f11> instead of
520 `toggle-frame-maximized'.
521 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
522
523 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
524
525 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
526
527 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
528 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
529 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
530 for `file-accessible-directory-p'. (Bug#13275)
531
532 2012-12-27 Sam Steingold <sds@gnu.org>
533
534 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
535 continuations, see <http://stackoverflow.com/questions/3582436>.
536
537 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
538
539 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
540 "module" and "def" to have indentation before them.
541 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
542
543 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
544
545 2012-12-27 Alan Mackenzie <acm@muc.de>
546
547 Speed up fontification where there's large brace blocks.
548 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
549 to a call of c-beginning-of-decl-1.
550
551 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
552
553 * comint.el (comint-adjust-window-point): New function.
554 (comint-postoutput-scroll-to-bottom):
555 Call comint-adjust-window-point (Bug#13248).
556
557 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
558
559 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
560 Rakefile regexp.
561 (auto-mode-alist): Associate .gemspec files with ruby-mode
562 (https://bugs.ruby-lang.org/issues/5453).
563
564 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
565
566 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
567 Suppress coloring, if possible (required for BusyBox based systems like
568 CyanogenMod).
569 (tramp-adb-handle-file-attributes)
570 (tramp-adb-handle-insert-directory)
571 (tramp-adb-handle-file-name-all-completions): Use it.
572 (tramp-adb-get-toolbox): New defun. Check for remote shell
573 implementation (BusyBox or Toolbox).
574
575 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
576
577 * startup.el (initial-buffer-choice): Allow function as value
578 (Bug#13251).
579 (command-line-1): Handle case where initial-buffer-choice
580 specifies a function.
581 * server.el (server-execute): Handle case where
582 initial-buffer-choice specifies a function.
583
584 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
585
586 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
587 its own function.
588 (smtpmail-try-auth-methods): Forget the user name/password if the
589 login is unsuccessful (bug#12424).
590
591 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
592
593 * notifications.el (notifications-notify): Protect body with
594 `with-demoted-errors'.
595
596 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
597 Check properties of remote device. Restart connection, if there is a
598 change.
599
600 2012-12-21 Chong Yidong <cyd@gnu.org>
601
602 * sort.el (sort-subr): Doc fix (Bug#13056).
603
604 2012-12-21 Bastien Guerry <bzg@gnu.org>
605
606 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
607
608 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
609
610 * simple.el (process-file): Overwrite stderr file, if exists.
611
612 2012-12-21 Daiki Ueno <ueno@gnu.org>
613
614 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
615 (epg-error): Set `error-message' property.
616
617 2012-12-21 Chong Yidong <cyd@gnu.org>
618
619 * international/mule-cmds.el (read-char-by-name): Signal an error
620 if the user does not supply a valid character (Bug#13177).
621
622 * simple.el (transpose-subr-1): Preserve marker positions by
623 changing the insertion sequence (Bug#13122).
624
625 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
626
627 * simple.el (kill-region): Deactivate mark even for empty regions
628 (Bug#13169).
629
630 2012-12-21 Chong Yidong <cyd@gnu.org>
631
632 * help-fns.el (describe-variable): Make sure we get the right
633 buffer name (Bug#13105). Suggested by Kelly Dean.
634
635 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
636
637 * comint.el (comint-redirect-previous-input-string): New variable.
638 (comint-redirect-setup, comint-redirect-cleanup)
639 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
640 (comint-redirect-preoutput-filter): Fix verbose message.
641
642 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
643
644 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
645 is too long for Tramp. See discussion in
646 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
647
648 * progmodes/compile.el (compilation-start): Remove line escape
649 template.
650
651 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
652
653 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
654 Adjust comment.
655
656 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
657
658 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
659 following non-comment text (bug#13207).
660 (lm-header-multiline): Continuation lines need to be indented more than
661 the first line.
662 (lm-homepage): New function.
663 (lm-with-file): Don't be confused if narrowing is in effect.
664
665 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
666
667 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
668 very beginning of a hunk (e.g. killing the first line).
669
670 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
671
672 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
673 and text properties from returned ACL string.
674 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
675 for "setfacl" command.
676
677 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
678
679 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
680 `tramp-cleanup-this-connection', when the process has died.
681 (Bug#13151)
682
683 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
684
685 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
686
687 2012-12-17 Kevin Ryde <user42@zip.com.au>
688
689 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
690
691 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
692
693 Add support for preserving ACL entries of files.
694
695 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
696 `set-file-acl' handlers.
697
698 * net/tramp-adb.el (tramp-adb-handle-copy-file):
699 Handle PRESERVE-EXTENDED-ATTRIBUTES.
700
701 * net/tramp-compat.el (tramp-compat-copy-file):
702 Handle PRESERVE-EXTENDED-ATTRIBUTES.
703
704 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
705 Add `file-acl' and `set-file-acl' handlers.
706 (tramp-gvfs-handle-copy-file):
707 Handle PRESERVE-EXTENDED-ATTRIBUTES.
708 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
709 New defuns.
710
711 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
712 Add `file-acl' and `set-file-acl' handlers.
713 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
714 (tramp-sh-handle-set-file-acl): New defuns.
715 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
716 Handle PRESERVE-EXTENDED-ATTRIBUTES.
717
718 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
719 Add `file-acl' and `set-file-acl' handlers.
720 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
721
722 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
723
724 * help-macro.el (make-help-screen): Instead of switch-to-buffer
725 use pop-to-buffer with NORECORD argument t. As buffer name, use
726 *Metahelp* with a leading space (Bug#13190).
727
728 2012-12-16 Romain Francoise <romain@orebokech.com>
729
730 * files.el (file-extended-attributes)
731 (set-file-extended-attributes): New functions.
732 (backup-buffer): Use them to handle both SELinux context and ACL
733 entries.
734 (backup-buffer-copy): Work with an alist of extended attributes,
735 rather than an SELinux context.
736 (basic-save-buffer-2): Ditto.
737
738 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
739
740 * battery.el (battery-bsd-apm): New function.
741
742 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
743
744 * calc/calc.el (calc-standard-date-formats): Adjust one of the
745 standard date formats.
746
747 2012-12-15 Juri Linkov <juri@jurta.org>
748
749 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
750 `isearch-insert-char-by-name'.
751 (with-isearch-suspended): New defmacro with body mostly from
752 `isearch-edit-string' except the part that sets
753 `isearch-new-string' and `isearch-new-message'.
754 (isearch-edit-string): Use new macro `with-isearch-suspended' with
755 body that sets `isearch-new-string' and `isearch-new-message'.
756 (isearch-insert-char-by-name): New command.
757 * international/mule-cmds.el (read-char-by-name): Let-bind
758 `enable-recursive-minibuffers' to t.
759 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
760
761 2012-12-15 Juri Linkov <juri@jurta.org>
762
763 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
764 (Bug#13175)
765
766 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
767
768 * dired-x.el (dired-guess-shell-command): Put colon at the end of
769 the prompt. (Bug#13045)
770
771 2012-12-14 Glenn Morris <rgm@gnu.org>
772
773 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
774 Try to include filename in non-bytecomp warning. (Bug#13132)
775
776 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
777
778 Fix permissions bugs with setgid directories etc. (Bug#13125)
779 * files.el (backup-buffer): Don't rely on 9th output of
780 file-attributes, as it's now a placeholder. Instead, use the new
781 optional arg of file-ownership-preserved-p.
782 (file-ownership-preserved-p): New optional arg GROUP.
783 Fix mishandling of setuid directories that would cause this
784 function to return t when it should have returned nil.
785 Document what happens if the file does not exist, and when
786 it's not known whether the ownership will be preserved.
787 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
788 Likewise.
789 (tramp-get-local-gid): Use group-gid for integer, as that's
790 faster and more reliable.
791
792 2012-12-14 Julien Danjou <julien@danjou.info>
793
794 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
795 Update keywords list, data type and PL/pgSQL.
796
797 2012-12-14 Dave Abrahams <dave@boostpro.com>
798
799 * vc/ediff-util.el (ediff-buffer-type): New function.
800 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
801 rather than taking it as as argument.
802 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
803
804 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
805
806 * json.el: Add pretty-print option (bug#12634).
807 (json-encoding-separator, json-encoding-default-indentation)
808 (json--encoding-current-indentation, json-encoding-pretty-print)
809 (json-encoding-lisp-style-closings): New vars.
810 (json--with-indentation): New macro.
811 (json-encode-hash-table, json-encode-alist, json-encode-plist)
812 (json-encode-array): Use it to obey json-encoding-pretty-print.
813 (json-pretty-print-buffer, json-pretty-print): New commands.
814
815 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
816
817 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
818 Extract `ruby-syntax-propertize-expansions'.
819 (ruby-syntax-propertize-expansions): Only change syntax on
820 certain string delimiters, to punctuation. This way the common
821 functions like forward-word and thing-at-point still work.
822 (ruby-match-expression-expansion): Improve readability.
823 (ruby-block-contains-point): New function.
824 (ruby-add-log-current-method): Handle several edge cases.
825
826 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
827
828 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
829 unload-feature finishes even when aborting an ongoing edebug session.
830 Also, do not worry about edebug-mode, unload-feature takes care of it.
831
832 2012-12-13 Andreas Schwab <schwab@suse.de>
833
834 * net/tls.el (tls-program): Update customize type.
835
836 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
837
838 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
839 (edebug-setup-hook, cl-read-load-hooks): Use it.
840 (edebug-unload-function): New function. (Bug#13163)
841
842 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
843
844 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
845 Otherwise, there could be errors in autoloading. (Bug#13151)
846
847 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
848
849 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
850 sequences.
851
852 2012-12-13 Alan Mackenzie <acm@muc.de>
853
854 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
855 * progmodes/cc-engine.el (c-backward-comments): Add code to work
856 around `forward-comment' not recognizing ^M as whitespace.
857
858 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
859
860 * progmodes/python.el (python-skeleton-class)
861 (python-skeleton-def): Do not add space after defun name.
862
863 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
864
865 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
866 (cl--symbol-function): Remove (now that funbound is like nil).
867
868 2012-12-12 Glenn Morris <rgm@gnu.org>
869
870 * button.el (button--area-button-p): Fix typo.
871
872 2012-12-12 Sam Steingold <sds@gnu.org>
873
874 * frame.el (frame-maximization-style): New user option.
875 (toggle-frame-maximized): Toggle frame maximization according to
876 `frame-maximization-style', bound to <f11>.
877 (cycle-frame-maximized): Cycle between all maximization styles and
878 non-maximized frame, bound to shift-<f11>.
879
880 2012-12-12 David Cadé <codename68@gmail.com>
881
882 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
883
884 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
885
886 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
887 (eieio-override-prin1): Don't quote kewords and booleans.
888 (object-write) <eieio-default-superclass>: Don't put closing parens
889 on new line, avoid needless empty lines, align values that are objects
890 with the slot keyword (instead of beginning on the same line).
891 (eieio-list-prin1): Align value with slot keyword; increase
892 eieio-print-depth before printing members of the list.
893
894 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
895
896 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
897 a display text-property.
898 (report-emacs-bug-hook): Don't bother deleting it any more.
899
900 * hilit-chg.el (highlight-save-buffer-state): Delete.
901 Use with-silent-modifications instead.
902 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
903
904 * button.el: Handle buttons in display text-properties.
905 (button--area-button-p, button--area-button-string):
906 Use (STRING . STRING-POS) representation instead of just STRING.
907
908 2012-12-11 Eli Zaretskii <eliz@gnu.org>
909
910 * makefile.w32-in (compile4-SH): Fix a typo that caused term
911 subdirectory be skipped.
912
913 2012-12-11 Glenn Morris <rgm@gnu.org>
914
915 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
916
917 * progmodes/f90.el (f90-line-continued, f90-indent-region):
918 Treat preprocessor lines embedded in continuations like comments.
919 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
920
921 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
922
923 * calc/calc.el (calc-standard-date-formats): Add more date
924 formats.
925 * calc/calc-forms.el (math-parse-iso-date): New function.
926 (math-parse-date): Use `math-parse-iso-date' when appropriate.
927 (math-parse-iso-date-validate): Add extra error checking.
928 (calc-date-notation): Add ability to access new date formats.
929
930 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
931
932 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
933 font-lock as well as when there's no text-property.
934
935 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
936
937 * hi-lock.el: Refine the choice of default face.
938 (hi-lock-keyword->face): New function. Use it wherever we used
939 cadadadr instead.
940 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
941 (hi-lock--last-face): Remove var.
942 (hi-lock--unused-faces): New var to replace it.
943 (hi-lock-read-face-name): Use/maintain it.
944 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
945 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
946 if it has another face.
947
948 2012-12-10 Eli Zaretskii <eliz@gnu.org>
949
950 * subr.el (w32notify-handle-event): New function.
951 (inotify-handle-event): Doc fix.
952
953 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
954
955 * subr.el (inotify-event-p, inotify-handle-event): New functions.
956
957 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
958
959 * simple.el (just-one-space): Doc fix.
960
961 2012-12-10 Eli Zaretskii <eliz@gnu.org>
962
963 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
964
965 2012-12-10 Le Wang <l26wang@gmail.com>
966
967 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
968 narrowed buffer (bug#12361).
969
970 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
971
972 * vc/vc-hooks.el (vc-state): Doc fix.
973
974 2012-12-10 Glenn Morris <rgm@gnu.org>
975
976 * mail/rmail.el (rmail-maybe-display-summary):
977 Preserve buffer, in case select-window changes it. (Bug#13066)
978
979 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
980
981 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
982 cl-load-hook where they belong.
983
984 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
985
986 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
987
988 2012-12-09 Eli Zaretskii <eliz@gnu.org>
989
990 Parallelize byte compilation on MS-Windows.
991 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
992 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
993 (WINS_BASIC): Define as concatenation of the above.
994 (compile): Subdivide into 4 separate and independent jobs that can
995 be run in parallel.
996 (compile0-CMD, compile0-SH): New targets for compiling
997 COMPILE_FIRST files, which are prerequisites for the rest of the
998 byte-compilation.
999 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
1000 New targets for parallel compilation with cmd.exe.
1001 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
1002 compiling under a Unixy shell.
1003
1004 2012-12-09 Chong Yidong <cyd@gnu.org>
1005
1006 * simple.el (set-mark-default-inactive): Delete this
1007 accidentally-introduced option.
1008 (set-mark-command, exchange-point-and-mark): Remove calls.
1009
1010 2012-12-09 Glenn Morris <rgm@gnu.org>
1011
1012 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
1013 Respect a defcustom's :set function, if appropriate. (Bug#109)
1014 (eval-defun): Doc fix.
1015
1016 2012-12-08 Juri Linkov <juri@jurta.org>
1017
1018 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
1019 (Info-fontify-node, Info-bookmark-make-record): Remove the
1020 file extension from Info-current-file (Bug#13016).
1021
1022 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
1023
1024 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
1025 point, still provide some default.
1026 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
1027 names, since we don't use it right now. Actually return the list.
1028 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
1029
1030 2012-12-07 Chong Yidong <cyd@gnu.org>
1031
1032 * novice.el (disabled-command-function): Remove a spurious help
1033 xref (Bug#13043). Suggested by Kelly Dean.
1034
1035 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
1036 syntax is specified (Bug#13025).
1037
1038 * info.el (Info-set-mode-line): Remove the file extension from
1039 Info-current-file if there is one (Bug#13016).
1040
1041 2012-12-07 Glenn Morris <rgm@gnu.org>
1042
1043 * mail/rmail.el (rmail-mime-decoded): New permanent local.
1044 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
1045 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
1046 and rmail-mime-decoded. (Bug#9841)
1047
1048 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
1049 (batch-unrmail, unrmail): Doc fixes.
1050 (unrmail): Respect unrmail-mbox-format.
1051 * mail/rmail.el (rmail-mbox-format): New option.
1052 (rmail-show-message-1): Respect rmail-mbox-format.
1053
1054 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
1055
1056 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
1057
1058 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1059
1060 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
1061 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
1062 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
1063 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
1064 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
1065 (cl-progv): Don't rely on dynamic scoping to find the body.
1066 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
1067 (cl--proclaims-deferred): Rename from the "cl-" prefix.
1068 (cl-declaim): Use backquotes.
1069 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
1070 Use "cl--" prefix for the object's tag.
1071
1072 * ses.el: Use advice-add/remove.
1073 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
1074 (copy-region-as-kill, yank): Use advice-add.
1075 (ses-unload-function): Use advice-remove.
1076
1077 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
1078
1079 * button.el: Make them work in header-lines (bug#12817).
1080 (button-map): Add bindings for header-line and mode-line use.
1081 (button-get, button-put, button-label): `button' may now be a string.
1082 (button-activate): Don't make it a defsubst.
1083 (button--area-button-p, button--area-button-string): New functions.
1084 (make-text-button): Fix the return value when `beg' was a string.
1085 (push-button): Handle the mode-line case.
1086
1087 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1088
1089 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
1090 (sql-signum): Remove. Use `cl-signum' instead.
1091 (sql-read-passwd): Remove; use read-passwd instread.
1092 (sql-get-login-ext): Use read-string.
1093 (sql-get-login): Use dolist and pcase.
1094 (sql--completion-table): Rename from sql-try-completion.
1095 Use complete-with-action.
1096 (sql-mode): Don't change abbrev-all-caps globally.
1097 (sql-connect): Don't rely on dynamic scoping for `new-name'.
1098 (sql-postgres-completion-object): Initialize vars in their `let'.
1099 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
1100 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
1101 (sql-comint-interbase): Use a single append, without setq.
1102 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
1103
1104 * hi-lock.el: Rework the default face and the serialize regexp code.
1105 (hi-lock--auto-select-face-defaults): Remove.
1106 (hi-lock-string-serialize-serial): Remove.
1107 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
1108 make weak.
1109 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
1110 equal string.
1111 (hi-lock-set-pattern): Adjust accordingly.
1112 (hi-lock--regexps-at-point): Simplify accordingly.
1113 (hi-lock--auto-select-face-defaults): Remove.
1114 (hi-lock--last-face): New var to replace it.
1115 (hi-lock-read-face-name): Rewrite (bug#11095).
1116 (hi-lock-unface-buffer): Arrange for the face to be the next default.
1117
1118 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
1119
1120 * net/tramp.el (tramp-replace-environment-variables):
1121 Hide compiler warning.
1122 (tramp-file-name-for-operation): Remove `executable-find',
1123 `start-process', `call-process' and `call-process-region'.
1124
1125 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
1126
1127 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
1128 compatibility.
1129
1130 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
1131
1132 2012-12-06 Chong Yidong <cyd@gnu.org>
1133
1134 * ffap.el (ffap-replace-file-component): Fix typo.
1135
1136 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1137
1138 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
1139 fix open-paren-like token test (bug#12785).
1140
1141 2012-12-06 Glenn Morris <rgm@gnu.org>
1142
1143 * mail/rmailsum.el (rmail-new-summary): Tweak for
1144 rmail-maybe-display-summary changing buffer. (Bug#13066)
1145
1146 2012-12-06 Juri Linkov <juri@jurta.org>
1147
1148 * info.el (Info-fontify-node): Don't hide the last newline.
1149 (Bug#12272)
1150
1151 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
1152
1153 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
1154 so as to enable message-read-from-minibuffer to expand mail aliases.
1155
1156 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1157
1158 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
1159 the `intangible' property.
1160 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
1161
1162 2012-12-05 Deniz Dogan <deniz@dogan.se>
1163
1164 * net/rcirc.el (rcirc-urls): Update documentation.
1165 (rcirc-condition-filter): New function.
1166 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
1167 and exclude consecutive duplicate URLs (Bug#6082).
1168
1169 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
1170
1171 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1172 Check return code of copy command.
1173
1174 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
1175 Use group `tramp'. Add version.
1176
1177 2012-12-05 Chong Yidong <cyd@gnu.org>
1178
1179 * ffap.el (ffap-url-regexp): Don't require matching at front of
1180 string (Bug#4952).
1181 (ffap-url-p): If only a substring matches, return that.
1182 (ffap-url-at-point): Use the return value of ffap-url-p.
1183 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
1184 (find-file-at-point, dired-at-point, dired-at-point-prompter)
1185 (ffap-guess-file-name-at-point): Likewise.
1186 (ffap-replace-file-component): Fix typo.
1187
1188 * info.el (info-display-manual): Add existing Info buffers, whose
1189 files may not be in Info-directory-list, to the completion.
1190 (info--manual-names): New helper function.
1191
1192 2012-12-05 Glenn Morris <rgm@gnu.org>
1193
1194 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
1195 New functions, for detecting and resolving conflicts. (Bug#10709)
1196
1197 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
1198
1199 * hi-lock.el (hi-lock-auto-select-face): New user variable.
1200 (hi-lock-auto-select-face-defaults): New buffer local variable.
1201 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
1202 (hi-lock-unface-buffer): Prompt user with useful defaults.
1203 With prefix arg, unhighlight all hi-lock patterns in buffer.
1204
1205 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1206
1207 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
1208
1209 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
1210
1211 * Makefile.in (TRAMP_SRC):
1212 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
1213
1214 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
1215
1216 * net/tramp-adb.el: New package.
1217
1218 2012-12-04 Chong Yidong <cyd@gnu.org>
1219
1220 * terminal.el: Move to obsolete/.
1221
1222 * longlines.el: Move to obsolete/.
1223
1224 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
1225 Remove code referring to longlines mode.
1226
1227 2012-12-03 Juri Linkov <juri@jurta.org>
1228
1229 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
1230
1231 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1232
1233 * textmodes/ispell.el (ispell-init-process)
1234 (ispell-start-process, ispell-internal-change-dictionary):
1235 Make sure personal dictionary name is expanded after initial
1236 `default-directory' value. Use expanded strings for
1237 keep/restart checks and for value (Bug#13019).
1238
1239 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
1240
1241 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
1242
1243 2012-12-03 Leo Liu <sdl.web@gmail.com>
1244
1245 * files.el (dir-locals-read-from-file): Check file non-empty
1246 before reading. (Bug#13038)
1247
1248 2012-12-03 Glenn Morris <rgm@gnu.org>
1249
1250 * jka-cmpr-hook.el (jka-compr-get-compression-info):
1251 Remove any version extension before checking filename. (Bug#13006)
1252 (jka-compr-compression-info-list): Belated :version bump.
1253
1254 2012-12-03 Chong Yidong <cyd@gnu.org>
1255
1256 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
1257
1258 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
1259 (buffer-menu): Doc fix (Bug#12294).
1260
1261 2012-12-03 Roland Winkler <winkler@gnu.org>
1262
1263 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
1264 of diary-show-all-entries in the diary buffer (Bug#12994).
1265
1266 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
1267
1268 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
1269 "<STDIN>". This is binary safe.
1270
1271 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
1272
1273 * calc/calc-forms.el (math-absolute-from-iso-dt)
1274 (math-date-to-iso-dt, math-parse-iso-date-validate)
1275 (math-iso-dt-to-date): New functions.
1276 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
1277 (math-fd-isoweekday): New variables.
1278 (calc-date-notation, math-parse-standard-date, math-format-date)
1279 (math-format-date-part): Add support for more formatting codes.
1280
1281 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
1282
1283 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
1284 current buffer's file name when called interactively (Bug#12488).
1285
1286 2012-12-02 Juri Linkov <juri@jurta.org>
1287
1288 * info.el (info-display-manual): Don't clobber an existing Info
1289 buffer (Bug#10770). Add completion (Bug#10771).
1290
1291 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
1292
1293 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
1294 before using it for comparison (Bug#5297).
1295
1296 2012-12-01 Jari Aalto <jari.aalto@cante.net>
1297
1298 * textmodes/css-mode.el (css-current-defun-name): New function.
1299 (css-mode): Use it.
1300
1301 * textmodes/sgml-mode.el (html-current-defun-name): New function.
1302 (html-mode): Use it.
1303
1304 2012-12-01 Chong Yidong <cyd@gnu.org>
1305
1306 Modularize add-log-current-defun (Bug#2224).
1307 Suggested by Jari Aalto.
1308
1309 * vc/add-log.el (add-log-current-defun-function): Doc fix.
1310 (add-log-current-defun): Move mode-specific code to other files.
1311 (add-log-lisp-like-modes, add-log-c-like-modes)
1312 (add-log-tex-like-modes): Variables deleted.
1313
1314 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
1315 (lisp-mode-variables): Use it.
1316
1317 * progmodes/cc-mode.el (c-common-init):
1318 * progmodes/cperl-mode.el (cperl-mode): Set a value for
1319 add-log-current-defun-function.
1320
1321 * progmodes/m4-mode.el (m4-current-defun-name): New function.
1322 (m4-mode): Use it.
1323
1324 * progmodes/perl-mode.el (perl-current-defun-name): New.
1325 (perl-mode): Use it.
1326
1327 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
1328 Use lisp-current-defun-name.
1329
1330 * textmodes/tex-mode.el (tex-current-defun-name): New.
1331 (tex-common-initialization): Use it.
1332
1333 * textmodes/texinfo.el (texinfo-current-defun-name): New.
1334 (texinfo-mode): Use it.
1335
1336 2012-12-01 Chong Yidong <cyd@gnu.org>
1337
1338 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
1339 * progmodes/autoconf.el (autoconf-mode):
1340 * progmodes/js.el (js-mode):
1341 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
1342 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
1343 * progmodes/perl-mode.el (perl-mode):
1344 * progmodes/sh-script.el (sh-mode, sh-set-shell):
1345 * textmodes/css-mode.el (css-mode):
1346 * textmodes/sgml-mode.el (html-mode, sgml-mode)
1347 (sgml-tags-invisible, sgml-guess-indent):
1348 * textmodes/tex-mode.el (tex-common-initialization)
1349 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
1350 (doctex-mode, plain-tex-mode, latex-mode):
1351 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
1352
1353 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
1354
1355 * vc/vc-hg.el (vc-hg-next-revision):
1356 Ensure use of default "tip" output format. (Bug#6968)
1357
1358 2012-12-01 Kim F. Storm <storm@cua.dk>
1359
1360 * startup.el (fancy-startup-tail): Add a clickable link
1361 (Bug#2176).
1362
1363 2012-12-01 Chong Yidong <cyd@gnu.org>
1364
1365 * startup.el (fancy-startup-tail): Improve the message about
1366 auto-save files (Bug#2176).
1367
1368 * files.el (recover-session): Improve the descriptive message, and
1369 use substitute-command-keys.
1370
1371 2012-12-01 Glenn Morris <rgm@gnu.org>
1372
1373 * ido.el (ido-file-internal):
1374 Handle other-window, other-frame for dired. (Bug#13036)
1375
1376 2012-11-30 Glenn Morris <rgm@gnu.org>
1377
1378 * icomplete.el (icomplete-separator): Fix :version.
1379
1380 2012-11-30 Chong Yidong <cyd@gnu.org>
1381
1382 * shell.el (shell): For C-u M-x shell, use an inactive shell
1383 buffer as the default (Bug#1975).
1384 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
1385 (shell-mode): Use them to reapply ansi colorization if Shell mode
1386 is re-enabled.
1387
1388 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
1389
1390 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
1391
1392 2012-11-30 Samuel Bronson <naesten@gmail.com>
1393
1394 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
1395 flag to xargs, for compatibility with BSD xargs (Bug#11703).
1396
1397 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
1398
1399 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
1400 by move-to-column (Bug#3234).
1401
1402 2012-11-30 Chong Yidong <cyd@gnu.org>
1403
1404 * longlines.el (longlines-wrap-line, longlines-encode-region):
1405 Preserve text properties (Bug#1425).
1406
1407 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
1408
1409 * vc/vc.el (vc-register): Allow registering a file which is
1410 already registered with a different backend (Bug#10589).
1411
1412 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
1413 Stefan Monnier <monnier@iro.umontreal.ca>
1414
1415 * icomplete.el: Change separator; add ido-style commands.
1416 (icomplete-show-key-bindings): Remove custom var.
1417 (icomplete-get-keys): Remove function.
1418 (icomplete-forward-completions, icomplete-backward-completions):
1419 New commands.
1420 (icomplete-minibuffer-map): New var.
1421 (icomplete-minibuffer-setup): Use it.
1422 (icomplete-exhibit): Don't delay if the list of completions is known.
1423 (icomplete-separator): New custom.
1424 (icomplete-completions): Use it.
1425 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
1426 (minibuffer-force-complete-and-exit): New command.
1427 (minibuffer--complete-and-exit): New function extracted from
1428 minibuffer-complete-and-exit.
1429 (minibuffer-complete-and-exit): Use it.
1430
1431 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
1432 error message when the file doesn't exist (bug#12974).
1433
1434 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1435
1436 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
1437
1438 2012-11-29 Glenn Morris <rgm@gnu.org>
1439
1440 * files.el (hack-dir-local-variables): Warn if try to set
1441 coding via dir-locals, since it doesn't work. (Bug#7169)
1442
1443 Add desktop support for restoring vc-dir buffers. (Bug#10606)
1444 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
1445 Set buffer-local value of desktop-save-buffer.
1446 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
1447 New functions.
1448 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
1449 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
1450
1451 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
1452 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
1453 Doc fix.
1454 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
1455 Doc fixes.
1456
1457 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
1458
1459 * calc/calc-forms.el (calc-date-notation): Fix regexp
1460 used to find time codes. Fix symbol for seconds.
1461
1462 2012-11-27 Glenn Morris <rgm@gnu.org>
1463
1464 * emacs-lisp/derived.el (derived-mode-make-docstring):
1465 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
1466
1467 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1468
1469 * textmodes/table.el (table-insert): Don't use `symbol-name' on
1470 lexically scoped variables (bug#13005).
1471
1472 2012-11-27 Glenn Morris <rgm@gnu.org>
1473
1474 * vc/vc-hooks.el (vc-mistrust-permissions):
1475 Default to t, to avoid data-loss. (Bug#11490)
1476
1477 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
1478
1479 * progmodes/python.el (python-indent-guess-indent-offset):
1480 If indentation is guessed make python-indent-offset buffer-local.
1481
1482 Fix Imenu regression.
1483 * progmodes/python.el (python-nav-beginning-of-defun):
1484 Fix forward movement when statement(s) separates point from defun.
1485 (python-imenu-prev-index-position): New function.
1486
1487 2012-11-27 Eli Zaretskii <eliz@gnu.org>
1488
1489 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
1490
1491 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
1492 Don't set buffer-file-type. Return nil. (Bug#12989)
1493
1494 2012-11-27 Glenn Morris <rgm@gnu.org>
1495
1496 * hippie-exp.el (hippie-expand-try-functions-list):
1497 Re-autoload it. (Bug#12982)
1498
1499 2012-11-27 Eli Zaretskii <eliz@gnu.org>
1500
1501 * descr-text.el (describe-char-padded-string):
1502 Call internal-char-font only on GUI frames. (Bug#11964)
1503
1504 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
1505
1506 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
1507 and obsoletion message.
1508
1509 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1510
1511 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
1512 the constructs to keep outside of the `cl-block' (bug#12977).
1513
1514 2012-11-27 Chong Yidong <cyd@gnu.org>
1515
1516 * mouse.el (mouse-drag-line): Even if the line is not draggable,
1517 keep reading until we get the up-event anyway, in order to process
1518 the up-event for mouse-1-click-follows-link (Bug#12971).
1519
1520 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
1521
1522 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
1523 base function is not yet defined (bug#12965).
1524 (ad-activate-advised-definition): Use ad-compile-function.
1525 (ad-activate): Use cond.
1526
1527 2012-11-25 Leo Liu <sdl.web@gmail.com>
1528
1529 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
1530 (Bug#12979)
1531
1532 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
1533
1534 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
1535 reftex-section-info-function in order to be compatible with
1536 Texinfo integration.
1537
1538 * textmodes/reftex.el (reftex-section-pre-regexp)
1539 (reftex-section-post-regexp, reftex-section-info-function):
1540 New variable.
1541 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
1542 reftex-section-post-regexp, and reftex-section-info-function in order
1543 to be compatible with Texinfo integration.
1544
1545 * textmodes/reftex-toc.el (reftex-toc-promote-action):
1546 use reftex-section-pre-regexp variable in order to be compatible with
1547 Texinfo integration.
1548
1549 2012-11-25 Chong Yidong <cyd@gnu.org>
1550
1551 * faces.el: Make face-spec-set more analogous to setq.
1552 (face-spec-set): Change the third arg to specify whether this
1553 function is being called via defface, customize, or a third party.
1554 Set the appropriate symbol properties. Clear the override spec if
1555 setting via Custom. Initialize face if necessary. (Bug#4988)
1556 (face-spec-recalc): Allow theme faces to completely replace the
1557 defface spec, in the same way as custom faces (Bug#8454).
1558
1559 * cus-face.el (custom-declare-face): Move face initialization to
1560 face-spec-set.
1561 (custom-theme-set-faces): Don't initialize the face name here, as
1562 that is now done in face-spec-set.
1563
1564 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
1565 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
1566 Simplify by using the new arg to face-spec-set.
1567
1568 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
1569 reset face-override-spec too, and use custom-declare-face.
1570
1571 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
1572
1573 * term/ns-win.el (ns-initialize-window-system): Move creation of
1574 fontsets here (Bug#11964).
1575
1576 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
1577
1578 * ses.el (ses-rename-cell): Correct bug on mode-line update after
1579 cell renaming.
1580
1581 2012-11-24 Chong Yidong <cyd@gnu.org>
1582
1583 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
1584 obsolete.
1585
1586 * custom.el (custom-theme-set-variables): Use a topological sort
1587 for ordering by custom dependencies (Bug#12952).
1588 (custom--sort-vars, custom--sort-vars-1): New functions.
1589
1590 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
1591
1592 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
1593 lexical-binding (bug#12938).
1594
1595 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
1596
1597 * image-mode.el (image-transform-check-size): Use assertions only
1598 for images of type imagemagick.
1599
1600 Otherwise no error, image-transform-fit-to-{width,height} is
1601 silently ignored, as before. Doc fix.
1602
1603 2012-11-24 Chong Yidong <cyd@gnu.org>
1604
1605 * faces.el (color-defined-p): Doc fix (Bug#12853).
1606
1607 2012-11-24 Juri Linkov <juri@jurta.org>
1608
1609 * dired.el (dired-mark): Add optional arg `interactive'.
1610 Check for `use-region-p' if `interactive' is non-nil.
1611 (dired-unmark, dired-flag-file-deletion): Add optional arg
1612 `interactive'. Call `dired-mark' with the arg `interactive'.
1613 (Bug#10624)
1614
1615 * wdired.el: Revert 2012-10-17 change partly and replace it with
1616 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
1617 (wdired-finish-edit): Add marks for new file names to
1618 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
1619 after `revert-buffer'.
1620 (wdired-do-renames): Remove calls to `dired-remove-file',
1621 `dired-add-file', `dired-add-entry'. (Bug#11795)
1622
1623 2012-11-24 Alan Mackenzie <acm@muc.de>
1624
1625 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
1626
1627 Fix bugs in the state cache. Enhance a debugging mechanism.
1628 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
1629 "brace at column zero" strategy for C++.
1630 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
1631 (c-parse-state-point): New variable.
1632 (c-record-parse-state-state): Record old parse state with
1633 `copy-tree'. Record previous value of point.
1634 (c-debug-parse-state-double-cons): New debugging function.
1635 (c-debug-parse-state): Call the above new function.
1636 (c-toggle-parse-state-debug): Output a confirmatory message.
1637
1638 * progmodes/cc-mode.el (c-before-change, c-after-change):
1639 Call c-invalidate-state-cache from `c-before-change' instead of
1640 `c-after-change'.
1641
1642 2012-11-23 Chong Yidong <cyd@gnu.org>
1643
1644 * find-cmd.el (find-constituents): Add executable, ipath,
1645 readable, samefile, writable, daystart, regextype (Bug#12856).
1646
1647 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
1648
1649 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
1650
1651 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
1652
1653 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
1654 definition. This fixes a bootstrap failure.
1655 (calc-gregorian-switch): In menu, put dates before regions.
1656 This is easier to follow, lines up better in the menu, and lets us
1657 coalesce regions that switch at the same time. Give country
1658 names, not "Vatican", as that's better for non-expert users.
1659 Use names that are stable between the date of switch and now, e.g.,
1660 Bohemia and Moravia (which existed then and now) and not
1661 Czechoslovakia (which didn't exist then and doesn't exist now).
1662 What is now the U.S. mostly did not switch at the same time as
1663 Britain, so omit the U.S. Correct spelling of "Britain".
1664 Catholic Switzerland was too much of a mess, so omit it.
1665
1666 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
1667
1668 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
1669 after the variable is changed.
1670
1671 2012-11-21 Daniel Colascione <dancol@dancol.org>
1672
1673 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
1674 in SQL declarations for font-lock.
1675 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
1676
1677 2012-11-21 Glenn Morris <rgm@gnu.org>
1678
1679 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
1680 (face-italic-p): Add optional argument "inherit".
1681
1682 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
1683 Remove -p suffix from names, for consistency with other set-face-*.
1684 (set-face-inverse-video): Fix interactive spec.
1685 * play/gamegrid.el (gamegrid-make-mono-tty-face):
1686 * textmodes/table.el (table--update-cell-face):
1687 Use set-face-inverse-video rather than now obsolete alias.
1688
1689 2012-11-21 Eli Zaretskii <eliz@gnu.org>
1690
1691 * simple.el (line-move): Don't call line-move-partial if
1692 scroll-conservatively is in effect. (Bug#12927)
1693
1694 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1695
1696 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
1697 Fallback on completion-at-point rather than
1698 pcomplete-expand-and-complete, and only if pcomplete actually failed.
1699 (eshell-cmpl-initialize): Setup completion-at-point.
1700
1701 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
1702
1703 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
1704
1705 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
1706
1707 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
1708 are remote, check out-of-band property for both.
1709
1710 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1711
1712 * window.el (switch-to-buffer): Re-add the warning that was lost in the
1713 code rewrite.
1714
1715 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
1716
1717 More minor time fixes.
1718 * calendar/time-date.el: Commentary fix.
1719 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
1720 too much other code depends on (0 0) time stamps.
1721 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
1722 Add a couple of FIXME comments.
1723
1724 Minor cleanup for times as lists of four integers.
1725 * files.el (dir-locals-directory-cache):
1726 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
1727 Doc fixes.
1728 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
1729 * ps-bdf.el (bdf-file-newer-than-time):
1730 Process four-integers time stamps, not two. Doc fixes.
1731
1732 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
1733
1734 * uniquify.el (uniquify-managed): Use defvar-local.
1735 (rename-buffer, create-file-buffer): Advise with advice-add.
1736 (uniquify-unload-function): Unadvise accordingly.
1737
1738 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
1739 (trace-buffer): Don't purecopy.
1740 (trace-entry-message, trace-exit-message): Add `context' arg.
1741 (trace--timer): New var.
1742 (trace-make-advice): Adjust for use in nadvice.
1743 Add `context' argument. Delay `display-buffer' via a timer.
1744 (trace-function-internal): Use advice-add.
1745 (trace--read-args): New function.
1746 (trace-function-foreground, trace-function-background): Use it.
1747 (trace-function): Rename to trace-function-foreground and redefine as
1748 an alias to that new name.
1749 (untrace-function, untrace-all): Adjust to the use of nadvice.
1750
1751 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
1752
1753 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
1754
1755 * subr.el (called-interactively-p-functions): New var.
1756 (internal--called-interactively-p--get-frame): New macro.
1757 (called-interactively-p, interactive-p): Rewrite in Lisp.
1758 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
1759 (called-interactively-p-functions): Use it.
1760 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
1761 (called-interactively-p-functions): Use it.
1762 * allout.el (allout-called-interactively-p): Don't assume
1763 called-interactively-p is a subr.
1764
1765 2012-11-20 Glenn Morris <rgm@gnu.org>
1766
1767 * profiler.el (profiler-report-mode-map): Add a menu.
1768 No need to bind `q' because we derive from special-mode.
1769 (profiler-report-find-entry): Handle calls from the menu-bar.
1770
1771 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
1772
1773 * emacs-lisp/byte-run.el (defun-declarations-alist):
1774 Allow a compiler-macro to be a lambda expression.
1775
1776 * progmodes/python.el: Use cl-lib. Move var declarations outside of
1777 eval-when-compile.
1778 (python-syntax-context): Add compiler-macro.
1779 (python-font-lock-keywords): Simplify with De Morgan.
1780
1781 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
1782
1783 * files.el (load-file): Require match in minibuffer selection, as was
1784 the case in Emacs-20 before we changed the spec to allow .elc files
1785 (bug#12935).
1786
1787 * json.el: Don't require cl since we don't use it.
1788 * color.el: Don't require cl.
1789 (color-complement): `caddr' -> `nth 2'.
1790
1791 * calendar/time-date.el (time-to-seconds): De-obsolete.
1792
1793 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
1794
1795 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
1796 year numbers.
1797 (math-date-to-julian-dt): Adjust the initial approximation for the
1798 year to deal with the new definition of the DATE.
1799
1800 2012-11-19 Daniel Colascione <dancol@dancol.org>
1801
1802 * term/w32-win.el (cygwin-convert-path-from-windows):
1803 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
1804
1805 2012-11-18 Chong Yidong <cyd@gnu.org>
1806
1807 * filecache.el (file-cache--read-list): New function.
1808 (file-cache-add-directory-list, file-cache-add-file-list)
1809 (file-cache-delete-file-list, file-cache-delete-directory-list):
1810 Use it to read a list of files or directories (Bug#12846).
1811 (file-cache-add-file, file-cache-add-directory)
1812 (file-cache-delete-file-list, file-cache-delete-file-regexp)
1813 (file-cache-delete-directory): Print an message.
1814
1815 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
1816
1817 * calc/calc-forms.el (math-date-to-dt): Use integer date when
1818 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
1819
1820 2012-11-18 Glenn Morris <rgm@gnu.org>
1821
1822 * image.el (insert-image, insert-sliced-image): Doc fix.
1823
1824 2012-11-18 Chong Yidong <cyd@gnu.org>
1825
1826 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
1827 (Bug#12810).
1828
1829 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
1830
1831 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
1832 response when the target file is in a subdirectory (Bug#12757).
1833
1834 2012-11-18 Chong Yidong <cyd@gnu.org>
1835
1836 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
1837
1838 2012-11-18 Glenn Morris <rgm@gnu.org>
1839
1840 * emacs-lisp/cl-lib.el (face-underline-p):
1841 Use set-face-underline rather than the alias set-face-underline-p.
1842
1843 * window.el (with-temp-buffer-window): Doc fix.
1844 * subr.el (with-output-to-temp-buffer):
1845 Add doc xref to with-temp-buffer-window.
1846
1847 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
1848
1849 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
1850 * calc/calc.el (math-format-date-cache): Declare.
1851
1852 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
1853
1854 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
1855 It also uses January 1, 1 AD as its day number 1.
1856 * calc/calc-forms.el (math-julian-date-beginning)
1857 (math-julian-date-beginning-int): Implement this.
1858
1859 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
1860
1861 * descr-text.el (quail-find-key):
1862 * dired.el (desktop-file-name):
1863 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
1864 * generic-x.el (comint-mode, comint-exec):
1865 * image-dired.el (widget-forward):
1866 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
1867 (speedbar-change-expand-button-char)
1868 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
1869 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
1870 * printing.el (easy-menu-add-item, easy-menu-remove-item)
1871 (widget-field-action, widget-value-set):
1872 * speedbar.el (imenu--make-index-alist):
1873 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
1874 (ring-length, ring-insert):
1875 * vcursor.el (compare-windows-skip-whitespace):
1876 * woman.el (dired-get-filename):
1877 Declare functions.
1878
1879 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
1880
1881 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1882
1883 * calc/calc.el (calc-gregorian-switch): New variable.
1884
1885 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
1886 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
1887 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
1888 (math-leap-year-p): Add option to distinguish between Julian
1889 and Gregorian calendars.
1890 (math-day-number): Use `math-day-in-year' to do the computations.
1891 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
1892 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
1893 to do the computations.
1894 (math-date-to-dt): Use `math-date-to-julian-dt' and
1895 `math-date-to-gregorian-dt' to do the computations.
1896 (calcFunc-weekday, math-format-date-part): Use the new version of
1897 the DATE to determine the weekday.
1898 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
1899 when necessary.
1900
1901 2012-11-17 Eli Zaretskii <eliz@gnu.org>
1902
1903 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
1904 Cygwin; otherwise use 'file:'. (Bug#12914)
1905 (cygwin-convert-path-from-windows): Declare, to avoid
1906 byte-compiler warnings.
1907
1908 2012-11-17 Andreas Politz <politza@fh-trier.de>
1909
1910 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
1911 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
1912 prefix and negative numeric prefix args (Bug#12795).
1913
1914 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
1915
1916 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
1917 Don't signal an error with a score that is too low to add to the
1918 list of top scores. (Bug#12779)
1919
1920 2012-11-17 Chong Yidong <cyd@gnu.org>
1921
1922 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
1923
1924 * filecache.el (file-cache-add-file): Handle relative file name in
1925 the argument (Bug#12694).
1926
1927 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
1928
1929 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
1930
1931 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
1932
1933 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
1934
1935 * emacs-lisp/cl-lib.el: Set more meaningful version number.
1936
1937 2012-11-16 Martin Rudalics <rudalics@gmx.at>
1938
1939 * window.el (enlarge-window, shrink-window): Don't mention return
1940 value in doc-string (Bug#12896).
1941 (window--display-buffer): Don't resize frames - it won't work
1942 with all window managers and defeat pop-up-frame-alist.
1943 (display-buffer-alist): In doc-string explain that CONDITION can
1944 be a function and which arguments are passed to it (Bug#12854).
1945 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
1946 expressions (Bug#12854).
1947 (display-buffer): Pass ACTION argument to
1948 display-buffer-assq-regexp.
1949
1950 2012-11-16 Glenn Morris <rgm@gnu.org>
1951
1952 * window.el (fit-frame-to-buffer-bottom-margin)
1953 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
1954
1955 * faces.el (face-underline-p): Use face-attribute-specified-or.
1956
1957 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
1958
1959 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
1960
1961 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
1962
1963 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
1964
1965 2012-11-16 Glenn Morris <rgm@gnu.org>
1966
1967 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
1968 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
1969
1970 * faces.el (face-underline-p): Doc fix. Handle :underline being
1971 things other than `t' (a string, a list).
1972 (face-inverse-video-p): Doc fix.
1973 (set-face-underline): Rename it back from set-face-underline-p.
1974 Doc fix. Allow interactive input of values other than t.
1975 (read-face-attribute): Apply formatting to :underline,
1976 since like :box and :stipple it can take list values.
1977
1978 * term.el (ansi-term): Don't let C-x escape-char binding
1979 clobber the more standard C-c binding. (Bug#12842)
1980
1981 * subr.el (set-temporary-overlay-map): Doc fix.
1982
1983 2012-11-16 Martin Rudalics <rudalics@gmx.at>
1984
1985 * window.el (record-window-buffer)
1986 (display-buffer-record-window): When copying the markers to
1987 window-point preserve window-point-insertion-type. (Bug#12588)
1988
1989 2012-11-16 Glenn Morris <rgm@gnu.org>
1990
1991 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
1992 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
1993 Use new names for hooks rather than obsolete aliases.
1994
1995 2012-11-15 Daniel Colascione <dancol@dancol.org>
1996
1997 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
1998 prefix instead of "file:" so that when FILE-NAME begins with "//",
1999 as it does when the target file is on a network share, url-handler
2000 isn't confused.
2001
2002 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2003
2004 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
2005 a preactivated advice from an old advice.el; they're not compatible!
2006
2007 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
2008
2009 * emacs-lisp/nadvice.el (advice--make-interactive-form):
2010 Fix string-spec case.
2011
2012 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
2013
2014 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2015
2016 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
2017 (advice--buffer-local-function-sample): New var.
2018 (advice--set-buffer-local, advice--buffer-local): New functions.
2019 (add-function, remove-function): Use them.
2020
2021 2012-11-15 Drew Adams <drew.adams@oracle.com>
2022
2023 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
2024
2025 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2026
2027 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
2028 potential binding of print-gensym to t, and prettify (back)quotes in
2029 case they appear in args's default values (bug#12884).
2030
2031 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2032
2033 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
2034 (advice-eval-interactive-spec): New function.
2035 (advice--make-interactive-form): Support around advice (bug#12844).
2036
2037 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
2038
2039 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
2040 more strict. Add docstring.
2041 (ruby-expression-expansion-re): Extract from
2042 `ruby-match-expression-expansion'.
2043 (ruby-syntax-propertize-function): After everything else, search
2044 for expansions in string literals, mark their insides as
2045 whitespace syntax and save match data for font-lock.
2046 (ruby-font-lock-keywords): Use the 2nd group from expression
2047 expansion matches.
2048 (ruby-match-expression-expansion): Use the match data saved to the
2049 text property in ruby-syntax-propertize-function.
2050
2051 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2052
2053 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
2054 (bug#12879).
2055
2056 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
2057
2058 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
2059 start/end keyword a bit harder. Works with different values of N.
2060 Add more comments.
2061 (ruby-end-of-block): Update accordingly.
2062
2063 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
2064
2065 * woman.el (woman-file-name): Don't mess with unread-command-events
2066 (bug#12861).
2067
2068 * emacs-lisp/advice.el: Layer on top of nadvice.el.
2069 Remove out of date self-require hack.
2070 (ad-do-advised-functions): Use simple `dolist'.
2071 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
2072 (ad-advice-definition): Redefine as functions.
2073 (ad-advice-classes): Move before first use.
2074 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
2075 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
2076 (ad--defalias-fset): Remove functions.
2077 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
2078 (ad-get-orig-definition): Rewrite.
2079 (ad-make-advised-definition-docstring): Change base docstring.
2080 (ad-real-orig-definition): Rewrite.
2081 (ad-map-arglists): Change name of called function.
2082 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
2083 (ad-make-advised-definition): Simplify.
2084 (ad-assemble-advised-definition): Tweak for new calling context.
2085 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
2086 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
2087 function and call ad-activate if needed.
2088 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
2089 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
2090 (ad-compile-function): Compile ad-Advice-*.
2091 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
2092 (ad-start-advice, ad-stop-advice): Remove.
2093
2094 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
2095
2096 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
2097 period before class method names, not after. Remove handling of
2098 one impossible case. Add comments.
2099
2100 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
2101
2102 * emacs-lisp/advice.el: Remove support for freezing.
2103 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
2104 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
2105 Remove support for `freeze'.
2106
2107 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
2108 override the default.
2109 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
2110 cl--dotimes/dolist.
2111 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
2112 `cl' is loaded.
2113
2114 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
2115 from add-advice.
2116 (advice--strip-macro): New function.
2117 (advice--defalias-fset): Use them to handle macros.
2118 (advice-add): Use them.
2119 (advice-member-p): Correctly handle macros.
2120
2121 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
2122
2123 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2124 Never font-lock the beginning of singleton class as heredoc.
2125
2126 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
2127
2128 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
2129
2130 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
2131
2132 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
2133 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
2134 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
2135
2136 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
2137
2138 Fix end-of-defun misbehavior.
2139 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
2140 python-beginning-of-defun-function. Handle nested defuns
2141 correctly.
2142 (python-nav-end-of-defun): Rename from
2143 python-end-of-defun-function. Ensure forward movement.
2144 (python-info-current-defun): Reimplement to work as intended
2145 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
2146 parent defuns as soon as possible.
2147
2148 2012-11-13 Glenn Morris <rgm@gnu.org>
2149
2150 * progmodes/flymake.el (flymake-error-bitmap)
2151 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
2152 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
2153
2154 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
2155
2156 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
2157 backward, always stop at indentation. Reverts the change from
2158 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
2159
2160 2012-11-13 Glenn Morris <rgm@gnu.org>
2161
2162 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
2163 Add ibuffer-filter-by-derived-mode.
2164
2165 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
2166 the same name shadowing each other.
2167
2168 * window.el (with-temp-buffer-window): Doc tweak.
2169
2170 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
2171
2172 * help.el (temp-buffer-max-height):
2173 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
2174 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
2175
2176 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
2177
2178 * emacs-lisp/nadvice.el: New package.
2179 * subr.el (special-form-p): New function.
2180 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
2181 (elp-all-instrumented-list): Remove var.
2182 (elp-not-profilable): Remove elp-wrapper.
2183 (elp-profilable-p): Use autoloadp and special-form-p.
2184 (elp--advice-name): New const.
2185 (elp-instrument-function): Use advice-add.
2186 (elp--instrumented-p): New predicate.
2187 (elp-restore-function): Use advice-remove.
2188 (elp-restore-all, elp-reset-all): Use mapatoms.
2189 (elp-set-master): Use elp--instrumented-p.
2190 (elp--make-wrapper): Rename from elp-wrapper, return a function
2191 suitable for advice-add. Use cl-inf.
2192 (elp-results): Use mapatoms+elp--instrumented-p.
2193 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
2194 (debug-function-list): Remove var.
2195 (debug): Rename arg, and then let-bind it explicitly inside.
2196 (debugger-setup-buffer): Rename arg.
2197 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
2198 (debugger-frame-number): Adjust to new debug-on-entry setup.
2199 (debug--implement-debug-on-entry): Rename from
2200 implement-debug-on-entry, add argument.
2201 (debugger-special-form-p): Remove, use special-form-p instead.
2202 (debug-on-entry): Use advice-add.
2203 (debug--function-list): New function.
2204 (cancel-debug-on-entry): Use it, along with advice-remove.
2205 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
2206 (debugger-list-functions): Use debug--function-list instead of
2207 debug-function-list.
2208 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
2209 (ad-special-form-p): Remove, use special-form-p instead.
2210 (ad-set-advice-info): Use add-function and remove-function.
2211 (ad--defalias-fset): Adjust accordingly.
2212
2213 2012-11-10 Glenn Morris <rgm@gnu.org>
2214
2215 * mail/emacsbug.el (report-emacs-bug-tracker-url)
2216 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
2217 (report-emacs-bug-create-existing-bugs-buffer)
2218 (report-emacs-bug-parse-query-results)
2219 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
2220
2221 * term.el (term-default-fg-color, term-default-bg-color):
2222 Make obsolete, rather than just saying "deprecated" in the doc.
2223
2224 * term.el (term): Rename from `term-face'.
2225 (term-current-face, ansi-term-color-vector)
2226 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
2227 Update all users.
2228
2229 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
2230
2231 * server.el (server-create-window-system-frame): Handle Nextstep
2232 specially (Bug#12780).
2233
2234 2012-11-10 Glenn Morris <rgm@gnu.org>
2235
2236 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
2237 Unautoload, and make obsolete. (Bug#7449)
2238
2239 2012-11-10 Chong Yidong <cyd@gnu.org>
2240
2241 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
2242 rename from diff-remove-trailing-whitespace (Bug#12831).
2243
2244 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
2245
2246 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
2247 miscompilation of trace.el.
2248
2249 2012-11-10 Glenn Morris <rgm@gnu.org>
2250
2251 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
2252
2253 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
2254
2255 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
2256 (bug#12812).
2257
2258 2012-11-10 Chong Yidong <cyd@gnu.org>
2259
2260 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
2261 a defcustom with an appropriate :set function.
2262 (minibuffer-default--in-prompt-regexps): New function.
2263
2264 2012-11-10 Glenn Morris <rgm@gnu.org>
2265
2266 * emacs-lisp/cl.el (define-setf-expander, defsetf)
2267 (define-modify-macro): Doc fixes.
2268
2269 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
2270 (gv-define-simple-setter): Update doc of `fix-return'.
2271
2272 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
2273
2274 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
2275 twice when `fix-return' is set (bug#12813).
2276
2277 * emacs-lisp/cl.el (defsetf): Pass the third arg to
2278 gv-define-simple-setter (bug#12812).
2279
2280 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
2281 (bug#12756).
2282
2283 2012-11-10 Glenn Morris <rgm@gnu.org>
2284
2285 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
2286
2287 * emacs-lisp/cl-extra.el (cl-prettyexpand):
2288 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
2289 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
2290 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
2291
2292 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
2293
2294 2012-11-10 Leo Liu <sdl.web@gmail.com>
2295
2296 * ido.el (ido-set-matches-1): Improve flex matching performance by
2297 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
2298
2299 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2300
2301 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
2302 (ad--defalias-fset): New function.
2303 (ad-safe-fset): Remove.
2304 (ad-make-freeze-definition): Use cl-letf*.
2305
2306 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2307
2308 * subr.el (dolist): Don't bind VAR in RESULT.
2309
2310 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
2311 (fset, documentation): Don't save real def since we don't advise.
2312 (ad-do-advised-functions): Remove problematic `result-form'.
2313 (ad-safe-fset): `ad-real-fset' => `fset'.
2314 (ad-read-advised-function): Don't assume that ad-do-advised-functions
2315 uses CL's dolist internally.
2316 (ad-arglist): Remove unused arg `name'.
2317 (ad-docstring, ad-make-advised-docstring):
2318 `ad-real-documentation' => `documentation'.
2319 (warning-suppress-types): Declare.
2320 (ad-set-arguments): Simple CSE.
2321 (ad-recover-normality): Sanity check.
2322
2323 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
2324 (funcall '(lambda ..) ..) into ((lambda ..) ..).
2325
2326 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
2327
2328 * ses.el: symbol to coordinate mapping is made by symbol property
2329 `ses-cell'. This means that the same mapping is done for all SES
2330 sheets. That is good enough for cells with standard A1 names, but
2331 not for named cell. So a hash map is added for the latter.
2332 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
2333 (ses-sym-rowcol): Use hashmap for named cell.
2334 (ses-is-cell-sym-p): New defun.
2335 (ses-decode-cell-symbol): New defun.
2336 (ses-create-cell-variable): Add cell to hashmap when name is not
2337 A1-like.
2338 (ses-rename-cell): Check that cell new name is not already in
2339 spreadsheet with the use of ses-is-cell-sym-p
2340 (ses-rename-cell): Use hash map for named cells, but accept also
2341 renaming back to A1-like.
2342
2343 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2344
2345 * emacs-lisp/advice.el: Use new dynamic docstrings.
2346 (ad-make-advised-definition-docstring, ad-advised-definition-p):
2347 Use dynamic-docstring-function instead of ad-advice-info.
2348 (ad--make-advised-docstring): New function extracted from
2349 ad-make-advised-docstring.
2350 (ad-make-advised-docstring): Use it.
2351 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
2352 from sql-help.
2353 (sql-help): Use it with dynamic-docstring-function.
2354
2355 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
2356
2357 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2358
2359 * files.el (hack-one-local-variable--obsolete): New function.
2360 (hack-one-local-variable): Use it for obsolete settings.
2361
2362 * subr.el (locate-user-emacs-file): If both old and new name exist, use
2363 the new name.
2364
2365 * progmodes/js.el (js--filling-paragraph): New var.
2366 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
2367 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
2368 less sneaky.
2369
2370 2012-11-08 Julien Danjou <julien@danjou.info>
2371
2372 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
2373 `auto-mode-alist' (Bug#12835).
2374
2375 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2376
2377 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
2378 (perl--prettify-symbols-alist): New const.
2379 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
2380 New functions.
2381 (perl-font-lock-keywords-2): Use them.
2382 (perl-electric-noindent-p): New function.
2383 (perl-mode): Use it to set up electric-indent-mode.
2384 (perl-electric-terminator, perl-indent-command): Mark obsolete.
2385 (perl-mode-map): Remove bindings for them.
2386 (perl-imenu-generic-expression, perl-outline-level):
2387 Match functions&packages in column>0.
2388
2389 * env.el (env--substitute-vars-regexp): New const.
2390 (substitute-env-vars): Use it. Add `only-defined' arg.
2391 * net/tramp.el (tramp-replace-environment-variables): Use it.
2392
2393 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
2394 Byte-compile *before* eval in eval-and-compile.
2395 (byte-compile-log-warning): Remove redundant inhibit-read-only.
2396 (byte-compile-file-form-autoload): Don't hide actual definition.
2397 (byte-compile-maybe-guarded): Accept `functionp' as well.
2398
2399 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
2400
2401 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
2402
2403 * notifications.el (notifications-get-server-information-method):
2404 New defconst.
2405 (notifications-get-capabilities): Fix docstring.
2406 (notifications-get-server-information): New defun.
2407
2408 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2409
2410 * textmodes/ispell.el (ispell-region): Standard re-indent for better
2411 readability.
2412
2413 * textmodes/ispell.el: Experimental support for support debugging.
2414 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
2415 buffer for ispell.
2416 (ispell-print-if-debug): New function to print stuff to
2417 `ispell-debug-buffer' if debugging is enabled.
2418 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
2419 show some debugging info.
2420 (ispell-buffer-with-debug): New function that creates a debugging
2421 buffer and calls `ispell-buffer' with debugging enabled.
2422
2423 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
2424 comment in autoconf mode. (Bug#12768)
2425
2426 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
2427
2428 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
2429 frame-first-window, frame-root-window, frame-selected-window,
2430 minibuffer-selected-window, minibuffer-window,
2431 window-absolute-pixel-edges, window-at, window-body-height,
2432 window-body-width, window-display-table, window-combination-limit,
2433 window-frame, window-fringes, window-inside-absolute-pixel-edges,
2434 window-inside-edges, window-inside-pixel-edges, window-left-child,
2435 window-left-column, window-margins, window-next-buffers,
2436 window-next-sibling, window-new-normal, window-new-total,
2437 window-normal-size, window-parameter, window-parameters, window-parent,
2438 window-pixel-edges, window-point, window-prev-buffers,
2439 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
2440 window-start, window-text-height, window-top-child, window-top-line,
2441 window-total-height, window-total-width and window-use-time to the list
2442 of functions without side-effects.
2443 (toplevel): Add window-valid-p to the list of error-free functions
2444 without side-effects.
2445
2446 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2447
2448 * textmodes/ispell.el (ispell-program-name):
2449 Update spellchecker parameters when customized.
2450
2451 2012-11-04 Glenn Morris <rgm@gnu.org>
2452
2453 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
2454
2455 2012-11-04 Chong Yidong <cyd@gnu.org>
2456
2457 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
2458 same-window-* variables.
2459
2460 2012-11-04 Juri Linkov <juri@jurta.org>
2461
2462 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
2463 (isearch-describe-key, isearch-describe-mode): Use a display
2464 action instead of binding same-window-* variables (Bug#10040).
2465
2466 2012-11-03 Glenn Morris <rgm@gnu.org>
2467
2468 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
2469 Rename handler properties back from cl-- to cl-. (Bug#12788)
2470
2471 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
2472
2473 2012-11-03 Eli Zaretskii <eliz@gnu.org>
2474
2475 * term/pc-win.el: Don't load term/internal from here.
2476
2477 * loadup.el: Load term/internal from here.
2478
2479 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
2480
2481 * progmodes/python.el (inferior-python-mode): Fix hang in
2482 jit-lock (Bug#12645).
2483
2484 2012-11-03 Martin Rudalics <rudalics@gmx.at>
2485
2486 * window.el (switch-to-visible-buffer)
2487 (switch-to-buffer-preserve-window-point): Fix doc-strings.
2488
2489 2012-11-03 Glenn Morris <rgm@gnu.org>
2490
2491 * emacs-lisp/cl-lib.el (cl--random-time):
2492 Rename from cl-random-time. (Bug#12773)
2493 (cl--gensym-counter, cl--random-state): Update callers.
2494 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
2495
2496 2012-11-03 Chong Yidong <cyd@gnu.org>
2497
2498 * cus-start.el: Make cursor-type customizable (Bug#11633).
2499
2500 2012-11-02 Glenn Morris <rgm@gnu.org>
2501
2502 * filecache.el: No need to load find-lisp when compiling.
2503 (find-lisp-find-files): Autoload it.
2504 (file-cache-add-directory-recursively): Don't require find-lisp.
2505
2506 * image.el (image-type-from-file-name): Trivial simplification.
2507
2508 * emacs-lisp/bytecomp.el (byte-compile-eval):
2509 Decouple "noruntime" and "cl-functions" warnings.
2510
2511 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
2512
2513 * play/gomoku.el (gomoku-display-statistics): Update mode line
2514 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
2515
2516 2012-10-31 Martin Rudalics <rudalics@gmx.at>
2517
2518 * window.el (quit-restore-window): If the window has been
2519 created on an existing frame and ended up as the sole window on
2520 that frame, do not delete it (Bug#12764).
2521
2522 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
2523
2524 * progmodes/sh-script.el (sh--inside-noncommand-expression):
2525 Rename from sh--inside-arithmetic-expression, handle more cases
2526 (bug#11263).
2527
2528 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
2529 (sh-font-lock-open-heredoc): Use it (bug#12770).
2530
2531 2012-10-30 Glenn Morris <rgm@gnu.org>
2532
2533 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
2534
2535 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
2536
2537 2012-10-29 Chong Yidong <cyd@gnu.org>
2538
2539 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
2540 function key is stored in a keyboard macro (Bug#4894).
2541
2542 * thingatpt.el (number-at-point): Apply a thing-at-point property.
2543
2544 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2545
2546 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
2547 header comments".
2548 (diff-unified->context, diff-context->unified)
2549 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
2550
2551 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
2552
2553 * files.el (find-alternate-file): Only ask one question (bug#12487).
2554
2555 2012-10-29 Chong Yidong <cyd@gnu.org>
2556
2557 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
2558 Suggested by Dan Nicolaescu (Bug#6326).
2559
2560 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
2561
2562 * startup.el (fancy-about-screen): Don't message (Bug#12680).
2563
2564 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
2565
2566 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
2567
2568 * face-remap.el (face-remap-add-relative): Handle the case where a
2569 face-remapping-alist entry is a cons cell (Bug#12762).
2570
2571 2012-10-29 Kevin Ryde <user42@zip.com.au>
2572
2573 * woman.el (woman-parse-numeric-value): Handle picas correctly
2574 (Bug#12639).
2575
2576 2012-10-29 Glenn Morris <rgm@gnu.org>
2577
2578 * emacs-lisp/cl.el (defsetf): Doc fix.
2579
2580 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2581
2582 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
2583 syntax to the matching opener, if any (bug#12547).
2584 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
2585 matching open as a "case-(".
2586 (sh-smie-rc-grammar): Add a corresponding rule for it.
2587
2588 2012-10-28 Daniel Hackney <dan@haxney.org>
2589
2590 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
2591 "PKGNAME-autoloads.el" in case we created it.
2592
2593 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2594
2595 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
2596 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
2597 (completion--twq-all): Disable too-strict assertions.
2598
2599 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
2600
2601 2012-10-27 Eli Zaretskii <eliz@gnu.org>
2602
2603 * profiler.el (profiler-report-make-entry-part): Fix help-echo
2604 text to match the real keybindings.
2605
2606 2012-10-27 Juri Linkov <juri@jurta.org>
2607
2608 * wdired.el (wdired-keep-marker-rename): New defcustom.
2609 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
2610 (Bug#11795)
2611
2612 * dired.el (dired-keep-marker-rename): Add reference to
2613 `wdired-keep-marker-rename' in the docstring.
2614 Add default character value ?R to display initially in
2615 Customization UI instead of ?@.
2616
2617 2012-10-27 Martin Rudalics <rudalics@gmx.at>
2618
2619 * window.el (display-buffer): In doc-string describe
2620 window-height and window-width alist entries.
2621
2622 * time.el (display-time-world): Restore fit-window-to-buffer
2623 behavior.
2624
2625 2012-10-27 Chong Yidong <cyd@gnu.org>
2626
2627 * subr.el (insert-buffer-substring-as-yank): Doc fix.
2628
2629 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
2630
2631 * minibuffer.el (completion-category-overrides): New completion
2632 category `bookmark' (bug#11131).
2633
2634 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
2635
2636 * emacs-lisp/advice.el (ad-assemble-advised-definition):
2637 Silence bogus compiler warnings for ad-do-it.
2638
2639 * bookmark.el (bookmark-completing-read): Set the completion category
2640 to `bookmark' (bug#11131).
2641
2642 2012-10-26 Bastien <bzg@altern.org>
2643 Stefan Monnier <monnier@iro.umontreal.ca>
2644
2645 * face-remap.el: Use lexical-binding.
2646 (text-scale-adjust): Improve docstring. Use itself for the temporary
2647 overlay-map bindings, so as to repeat the "Use..." message each time.
2648
2649 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
2650
2651 * emacs-lisp/macroexp.el (macroexp--expand-all):
2652 Obey byte-compile-warning-enabled-p (bug#12486).
2653
2654 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
2655 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
2656
2657 2012-10-26 Martin Rudalics <rudalics@gmx.at>
2658
2659 * mouse.el (mouse-drag-line): Move last form into preceding when
2660 clause (Bug#12731).
2661
2662 * help.el (resize-temp-buffer-window): Fix doc-string.
2663
2664 2012-10-25 David Engster <deng@randomsample.de>
2665
2666 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
2667 Remove. This feature is already integrated in imenu.
2668
2669 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
2670 always loaded. Require `speedbar' unconditionally.
2671
2672 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2673
2674 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
2675
2676 * minibuffer.el (minibuffer-force-complete): Fix thinko.
2677
2678 * net/ldap.el (ldap-search-internal): The official ldif format starts
2679 with a "version: 1" header (bug#12724).
2680
2681 * emacs-lisp/package.el (package-installed-p): Warn if not ready
2682 (bug#12721).
2683
2684 2012-10-25 Glenn Morris <rgm@gnu.org>
2685
2686 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
2687
2688 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2689
2690 * minibuffer.el (minibuffer-force-complete): Use one more marker
2691 for the temporary-overlay-map command (bug#12619).
2692
2693 2012-10-24 Chong Yidong <cyd@gnu.org>
2694
2695 * time.el (display-time-world-mode): Derive from special-mode.
2696 (display-time-world): Use display-buffer (Bug#12708).
2697 (display-time-world-mode-map): Variable deleted.
2698 (display-time-world-display): Wrap the final delete-char inside
2699 inhibit-read-only.
2700
2701 2012-10-24 Chong Yidong <cyd@gnu.org>
2702
2703 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
2704 Doc fix.
2705
2706 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
2707
2708 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2709
2710 * minibuffer.el (completion--all-sorted-completions-location): New var.
2711 (completion--cache-all-sorted-completions)
2712 (completion--flush-all-sorted-completions): Use it.
2713 (completion-in-region, completion-in-region--postch)
2714 (completion-at-point, completion-help-at-point): Use markers in
2715 completion-in-region--data (bug#12619).
2716
2717 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2718
2719 * progmodes/compile.el (compilation-start): Try to handle common
2720 quoting of `cd' argument (bug#12640).
2721
2722 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
2723 (bug#12671).
2724
2725 2012-10-23 Glenn Morris <rgm@gnu.org>
2726
2727 * progmodes/gud.el (gud-menu-map):
2728 Check gdb-active-process is bound. (Bug#12358)
2729
2730 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2731
2732 * repeat.el (repeat): Set real-this-command (bug#12232).
2733
2734 * htmlfontify.el (hfy-post-html-hook):
2735 * filesets.el (filesets-cache-fill-content-hook):
2736 * arc-mode.el (archive-extract-hook):
2737 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
2738 * net/rcirc.el (rcirc-sentinel-functions)
2739 (rcirc-receive-message-functions, rcirc-activity-functions)
2740 (rcirc-print-functions):
2741 * net/dbus.el (dbus-event-error-functions):
2742 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
2743 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
2744 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
2745 * term/sun.el (sun-raw-prefix-hooks):
2746 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
2747
2748 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
2749
2750 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2751 Set `tramp-chunksize' to 1. This improves the performance.
2752 (tramp-smb-wait-for-output): Add timeout to
2753 `tramp-accept-process-output' calls.
2754
2755 2012-10-23 Chong Yidong <cyd@gnu.org>
2756
2757 * faces.el (font-list-limit): Define as an obsolete variable.
2758
2759 * startup.el (command-line):
2760 * cus-start.el: Don't refer to font-list-limit.
2761
2762 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
2763
2764 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2765
2766 * subr.el (internal-temp-output-buffer-show): Rename from
2767 temp-output-buffer-show, since previously compiled files expect this name.
2768
2769 2012-10-23 Glenn Morris <rgm@gnu.org>
2770
2771 * image.el (image-type-from-file-name): If multiple types match,
2772 return the first one that is supported. (Bug#9045)
2773
2774 2012-10-22 Glenn Morris <rgm@gnu.org>
2775
2776 * image.el (imagemagick-enabled-types): Doc fix.
2777
2778 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
2779
2780 * progmodes/which-func.el (which-func-current): The hash-table may have
2781 an explicit nil (bug#12338).
2782
2783 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2784
2785 * electric.el (electric-pair-delete-selection-self-insert-function):
2786 Rename to electric-pair-will-use-region, return a boolean.
2787 (electric-pair-mode): Adjust accordingly. Don't require delsel.
2788
2789 * delsel.el (delete-selection-helper): Use a function instead of a hook.
2790 (delete-selection-pre-hook): Use use-region-p.
2791 (delete-selection-self-insert-function): Remove.
2792 (self-insert-command): Obey self-insert-uses-region-functions.
2793 (self-insert-iso): Revert to previous setting, since we don't actually
2794 know what that command does.
2795 (delete-selection-self-insert-hooks): Remove.
2796
2797 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
2798
2799 * delsel.el (delete-selection-helper): New function, extracted from
2800 delete-selection-pre-hook.
2801 (delete-selection-pre-hook): Use it.
2802 (delete-selection-self-insert-function): New function.
2803 (delete-selection-self-insert-hooks): New hook.
2804 (self-insert-command, self-insert-iso): Use it.
2805 * electric.el (electric-pair-syntax): New function, extracted from
2806 electric-pair-post-self-insert-function.
2807 (electric-pair-post-self-insert-function): Use it.
2808 (electric-pair-delete-selection-self-insert-function): New function.
2809 (electric-pair-mode): Require delsel and setup
2810 delete-selection-self-insert-hooks (bug#11520).
2811
2812 2012-10-20 Chong Yidong <cyd@gnu.org>
2813
2814 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
2815 no changes to show (Bug#12586).
2816
2817 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
2818 list explicitly (Bug#12571).
2819
2820 2012-10-20 Arne Jørgensen <arne@arnested.dk>
2821
2822 * progmodes/flymake.el (flymake-create-temp-inplace):
2823 Use file-truename.
2824
2825 2012-10-20 Eli Zaretskii <eliz@gnu.org>
2826
2827 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
2828
2829 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
2830
2831 * calc/calc-units.el (math-extract-units): Properly extract powers
2832 of units.
2833
2834 2012-10-20 Daniel Colascione <dancol@dancol.org>
2835
2836 * frame.el (make-frame): Set x-display-name as we used to in order
2837 to unbreak creating an X11 frame from an Emacs daemon started
2838 without a display.
2839
2840 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2841
2842 * minibuffer.el (minibuffer-force-complete): Make the next completion use
2843 the same completion-field (bug#12221).
2844
2845 2012-10-19 Martin Rudalics <rudalics@gmx.at>
2846
2847 * emacs-lisp/debug.el (debug): Record height of debugger window
2848 also when debugger will be back (Bug#8789).
2849
2850 2012-10-18 Chong Yidong <cyd@gnu.org>
2851
2852 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
2853 Convert to defcustom.
2854 (gdb-get-source-file): Don't bind pop-up-windows.
2855
2856 * progmodes/gud.el (gud-display-line): Don't specially re-use
2857 other frames for the gdb-mi case (Bug#12648).
2858
2859 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
2860
2861 * emacs-lisp/advice.el: Clean up commentary a bit.
2862 (ad-do-advised-functions, ad-with-originals): Use `declare'.
2863 (byte-code-function-p): Never redefine.
2864
2865 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
2866
2867 2012-10-18 Glenn Morris <rgm@gnu.org>
2868
2869 * dired.el (dired-sort-toggle): Some ls implementations only allow
2870 a single option string. (Bug#12666)
2871
2872 * minibuffer.el (completion-cycle-threshold): Doc fix.
2873
2874 2012-10-17 Kenichi Handa <handa@gnu.org>
2875
2876 * international/mule.el (set-keyboard-coding-system):
2877 Recover input meta mode when the new coding system doesn not use 8-bit.
2878 Supply TERMINAL arg to set-input-meta-mode.
2879
2880 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
2881
2882 * wdired.el (wdired-old-marks): New variable.
2883 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
2884 (wdired-do-renames): Move point with renamed file and don't lose
2885 mark status (Bug#11795).
2886
2887 2012-10-16 Juri Linkov <juri@jurta.org>
2888
2889 * replace.el (query-replace-help): Mention multi-buffer replacement
2890 keys in the Help message. (Bug#12655)
2891
2892 2012-10-15 Chong Yidong <cyd@gnu.org>
2893
2894 * emacs-lisp/byte-run.el (defsubst): Doc fix.
2895
2896 2012-10-14 Eli Zaretskii <eliz@gnu.org>
2897
2898 * window.el (display-buffer): Doc fix.
2899
2900 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2901 Adjust the msft regexp to the output of Studio 2010, and move msft
2902 before edg-1. See the discussion on emacs-devel,
2903 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
2904 for the details.
2905
2906 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
2907
2908 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
2909 (oset): Move uses of object-class-fast macro after its definition.
2910
2911 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
2912
2913 2012-10-13 Chong Yidong <cyd@gnu.org>
2914
2915 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
2916 enabled, re-enable it (Bug#11963).
2917
2918 2012-10-13 Martin Rudalics <rudalics@gmx.at>
2919
2920 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
2921 non-nil, restore window configuration (Bug#12623).
2922
2923 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2924
2925 * help-fns.el (describe-variable, describe-function-1):
2926 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
2927
2928 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
2929
2930 2012-10-12 Glenn Morris <rgm@gnu.org>
2931
2932 * mail/rmailsum.el (rmail-header-summary):
2933 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
2934
2935 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
2936
2937 * progmodes/python.el (python-mode-map):
2938 Replace subtitute-key-definition with proper command remapping.
2939 (python-nav--up-list): Fix behavior for blocks on the same level.
2940
2941 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2942
2943 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
2944
2945 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
2946 changes to the format of load-history.
2947
2948 * international/mule-cmds.el (read-char-by-name): Move let-binding of
2949 completion-ignore-case in case that var is buffer-local (bug#12615).
2950
2951 2012-10-11 Kenichi Handa <handa@gnu.org>
2952
2953 * international/eucjp-ms.el: Re-generated.
2954
2955 2012-10-10 Kenichi Handa <handa@gnu.org>
2956
2957 * select.el (xselect--encode-string): If a coding is specified for
2958 selection, and that is compatible with COMPOUND_TEXT, use it.
2959
2960 2012-10-10 Martin Rudalics <rudalics@gmx.at>
2961
2962 * window.el (switch-to-buffer-preserve-window-point): New option.
2963 (switch-to-buffer):
2964 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
2965
2966 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2967
2968 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
2969 Don't document nil as a useful value (bug#12583).
2970
2971 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
2972
2973 * net/tramp.el (tramp-debug-message):
2974 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
2975 (with-tramp-progress-reporter): Rename from
2976 `tramp-with-progress-reporter'.
2977 (with-tramp-file-property, with-tramp-connection-property):
2978 Move from tramp-cache.el, rename from `with-file-property' and
2979 `with-connection-property', respectively.
2980
2981 * net/tramp-cache.el: Remove `with-file-property' and
2982 `with-connection-property'.
2983
2984 * net/tramp.el:
2985 * net/tramp-gvfs.el:
2986 * net/tramp-sh.el:
2987 * net/tramp-smb.el: Adapt callees.
2988
2989 * net/trampver.el: Update release number.
2990
2991 2012-10-09 Glenn Morris <rgm@gnu.org>
2992
2993 * w32-fns.el (set-message-beep):
2994 * term/w32-win.el (set-message-beep): Update declarations.
2995
2996 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2997
2998 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
2999 (mode-line-widen, mode-line-input-method-map)
3000 (mode-line-coding-system-map, mode-line-remote)
3001 (mode-line-unbury-buffer, mode-line-bury-buffer)
3002 (mode-line-next-buffer, mode-line-previous-buffer):
3003 Replace save-selected-window+select-window => with-selected-window.
3004
3005 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
3006 * progmodes/cc-vars.el (bq-process): Remove, unused.
3007
3008 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
3009
3010 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
3011
3012 Implemented `backward-up-list'-like navigation.
3013 * progmodes/python.el (python-nav-up-list)
3014 (python-nav-backward-up-list): New functions.
3015 (python-mode-map): Define substitute key for backward-up-list to
3016 python-nav-backward-up-list.
3017
3018 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
3019
3020 * progmodes/python.el (python-fill-paragraph): Rename from
3021 python-fill-paragraph-function. Fixed fill-paragraph for
3022 decorators (Bug#12605).
3023
3024 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
3025
3026 * progmodes/python.el (python-shell-output-filter): Handle extra
3027 carriage return in OSX (Bug#12409).
3028
3029 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
3030
3031 Fix shell handling of unbalanced quotes and parens in output.
3032 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
3033 (python-syntax-propertize-function): Use it.
3034 (python-shell-output-syntax-table): New var.
3035 (inferior-python-mode): Prevent unbalanced parens/quotes from
3036 previous output mess with current input context.
3037
3038 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
3039
3040 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
3041 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
3042
3043 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
3044
3045 * ffap.el (ffap-replace-file-component): Support Tramp file name
3046 syntax, not only ange-ftp's one.
3047
3048 2012-10-08 Glenn Morris <rgm@gnu.org>
3049
3050 * cus-start.el (message-log-max): Set :version.
3051
3052 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
3053
3054 2012-10-08 Martin Rudalics <rudalics@gmx.at>
3055
3056 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
3057 the minibuffer window (Bug#10851).
3058
3059 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
3060
3061 Enhancements on forward-sexp movement.
3062 * progmodes/python.el (python-nav-beginning-of-statement)
3063 (python-nav-end-of-statement): Return point-marker.
3064 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
3065 (python-info-current-symbol)
3066 (python-info-statement-starts-block-p): Rename from
3067 python-info-beginning-of-block-p.
3068 (python-info-statement-ends-block-p): Rename from
3069 python-info-end-of-block-p.
3070 (python-info-beginning-of-statement-p)
3071 (python-info-end-of-statement-p)
3072 (python-info-beginning-of-block-p, python-info-end-of-block-p):
3073 New functions.
3074
3075 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3076
3077 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
3078 frame-selected-windows.
3079
3080 2012-10-08 Daniel Colascione <dancol@dancol.org>
3081
3082 * battery.el (battery-status-function): Check for
3083 w32-battery-status itself, not system-time windows-nt.
3084
3085 * frame.el: Require cl-lib.
3086 (display-format-alist): New variable mapping frame types to
3087 functions that initialize them.
3088 (window-system-for-display): New function: interprets
3089 display-format-alist.
3090 (make-frame-on-display): Remove existing display-selection logic
3091 and just forward to make-frame, which will now DTRT.
3092 (make-frame): Restructure to use window-system-for-display to
3093 figure out how to create a frame on a given display.
3094 (display-mouse-p): Look for frame-type w32, not a particular
3095 system-type.
3096
3097 * loadup.el: Load w32 lisp code when we have the w32 feature.
3098
3099 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
3100 system-type windows-nt.
3101
3102 * server.el (server-create-window-system-frame): Look for window
3103 type.
3104 (server-proces-filter): Only force a window system when windows-nt
3105 _and_ w32. Explain why.
3106
3107 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
3108 of window systems we configure for the mode.
3109
3110 * startup.el (command-line): Mark window system is initialized
3111 after we've done it.
3112
3113 * common-win.el (x-select-text): Look for w32, not windows-nt.
3114
3115 * ns-win.el: Require cl-lib. Add ourselves to
3116 display-format-alist.
3117 (ns-initialize-window-system): Assert we're not initialized twice.
3118
3119 * w32-win.el: Enable lexical binding; require cl-lib; add
3120 ourselves to display-format-alist.
3121 (w32-handle-dropped-file): Convert incoming dropped files from
3122 Windows paths to Cygwin ones before passing them on to the rest of
3123 Emacs.
3124 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
3125 (w32-initialize-window-system): Assert we're not initialized twice.
3126
3127 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
3128 (x-initialize-window-system): Assert we're not initialized twice.
3129
3130 * w32-common-fns.el: New File.
3131 (w32-version, w32-using-nt, w32-get-clipboard-data)
3132 (w32-set-clipboard-data, x-set-selection, x-get-selection)
3133 (w32-charset-info-alist, x-last-selected, text)
3134 (x-get-selection-value, x-selection-value): Move here.
3135
3136 * w32-fns.el: Require w32-common-fns.
3137 (w32-version, w32-using-nt, w32-get-clipboard-data)
3138 (w32-set-clipboard-data, x-set-selection, x-get-selection)
3139 (w32-charset-info-alist, x-last-selected, text)
3140 (x-get-selection-value, x-selection-value): Move to
3141 w32-common-fns.
3142
3143 * w32-vars.el:
3144 (w32-allow-system-shell, w32-system-shells): Define only in
3145 non-cygwin case.
3146
3147 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3148
3149 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
3150 (read-passwd): Remove a few more potential sources of leaks.
3151
3152 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
3153
3154 * progmodes/python.el (inferior-python-mode)
3155 (python-shell-make-comint): Fix initialization of local
3156 variables copied from parent buffer.
3157
3158 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
3159
3160 * term/ns-win.el (ns-read-file-name): Update declaration to match
3161 nsfns.m.
3162 (ns-respond-to-change-font): Change fontsize separatly so we are sure
3163 it is set when font is acted upon.
3164
3165 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
3166
3167 Enhancements to indentation.
3168 * progmodes/python.el (python-indent-context): Give priority to
3169 inside-string context. Make comments indentation markers.
3170 (python-indent-region): Do not mess with strings, unless it's the
3171 enclosing set of quotes.
3172
3173 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3174
3175 * window.el (internal--before-save-selected-window)
3176 (internal--after-save-selected-window): New functions extracted from
3177 save-selected-window. Make sure we return the `alist' we construct.
3178 (save-selected-window): Use them.
3179
3180 * textmodes/tex-mode.el (tex-recenter-output-buffer):
3181 Use with-selected-window.
3182
3183 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
3184 forms that define macros (bug#12593).
3185
3186 2012-10-07 Kenichi Handa <handa@gnu.org>
3187
3188 * international/mule-conf.el (compound-text-with-extensions):
3189 Add :mime-charset property as x-ctext.
3190
3191 2012-10-07 Stefan Merten <smerten@oekonux.de>
3192
3193 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
3194 (rst-indent-literal-normal, rst-indent-literal-minimized)
3195 (rst-indent-comment): Correct :version tag.
3196 (rst-official-cvs-rev): Correct version string.
3197
3198 2012-10-07 Glenn Morris <rgm@gnu.org>
3199
3200 * mail/rmailmm.el (rmail-mime-process-multipart):
3201 Do not confuse a multipart message with an epilogue
3202 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
3203
3204 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
3205
3206 Fix shell output retrieval and comint-prompt-regexp init.
3207 * progmodes/python.el (inferior-python-mode):
3208 (python-shell-make-comint): Fix initialization of
3209 comint-prompt-regexp from copied file local variables.
3210 (python-shell-fetched-lines): Remove var.
3211 (python-shell-output-filter-in-progress): Rename from
3212 python-shell-fetch-lines-in-progress.
3213 (python-shell-output-filter-buffer): Rename from
3214 python-shell-fetch-lines-string.
3215 (python-shell-fetch-lines-filter): Delete function.
3216 (python-shell-output-filter): New function.
3217 (python-shell-send-string-no-output): Use them.
3218
3219 2012-10-07 Glenn Morris <rgm@gnu.org>
3220
3221 * hi-lock.el (hi-lock-process-phrase):
3222 Try to make it less fragile. (Bug#7161)
3223
3224 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
3225
3226 2012-10-06 Glenn Morris <rgm@gnu.org>
3227
3228 * ehelp.el (electric-help-mode): Use help-mode rather than
3229 non-existent mode `help'.
3230 (electric-help-map): Use button-buffer-map. (Bug#10917)
3231
3232 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
3233 (reftex-create-bibtex-footer): Fix custom types.
3234
3235 * progmodes/sh-script.el (sh-indent-after-continuation):
3236 Add explicit :group.
3237
3238 * textmodes/rst.el (rst-preferred-decorations)
3239 (rst-shift-basic-offset): Clarify obsolescence versions.
3240
3241 * profiler.el (profiler): Add missing group :version tag.
3242 * avoid.el (mouse-avoidance-banish-position):
3243 * proced.el (proced-renice-command):
3244 * calc/calc.el (calc-ensure-consistent-units):
3245 * calendar/icalendar.el (icalendar-import-format-uid):
3246 * net/tramp.el (tramp-save-ad-hoc-proxies):
3247 * progmodes/bug-reference.el (bug-reference-bug-regexp):
3248 * progmodes/flymake.el (flymake-error-bitmap)
3249 (flymake-warning-bitmap, flymake-fringe-indicator-position):
3250 * progmodes/sh-script.el (sh-indent-after-continuation):
3251 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
3252 (verilog-before-save-font-hook, verilog-after-save-font-hook):
3253 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
3254 (vhdl-array-index-record-field-in-sensitivity-list)
3255 (vhdl-indent-comment-like-next-code-line):
3256 * textmodes/reftex-vars.el (reftex-ref-style-alist)
3257 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
3258 (reftex-cite-key-separator, reftex-create-bibtex-header)
3259 (reftex-create-bibtex-footer):
3260 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
3261 (rst-indent-literal-normal, rst-indent-literal-minimized)
3262 (rst-indent-comment): Add missing custom :version tags.
3263
3264 * calendar/timeclock.el (timeclock-modeline-display):
3265 Add missing obsolete alias for renamed user option.
3266
3267 * strokes.el (strokes-modeline-string):
3268 * emulation/crisp.el (crisp-mode-modeline-string):
3269 * eshell/esh-mode.el (eshell-status-in-modeline):
3270 Aliases to defcustoms must come before the defcustom.
3271
3272 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
3273 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
3274 (cal-tex-cursor-week-monday): Doc fixes.
3275 (cal-tex-cursor-week2-summary): Doc fix.
3276 Rename from cal-tex-cursor-week-at-a-glance.
3277
3278 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
3279 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
3280
3281 * calendar/calendar.el (calendar-mode-map):
3282 Add cal-tex-cursor-week2-summary.
3283
3284 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
3285
3286 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
3287
3288 * subr.el (read-passwd-map): New var.
3289 (read-passwd): Use `read-string' again.
3290 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
3291
3292 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
3293
3294 * register.el (append-to-register, prepend-to-register):
3295 Deactivate mark, as does `copy-to-register' (bug#12389).
3296
3297 2012-10-06 Chong Yidong <cyd@gnu.org>
3298
3299 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
3300
3301 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
3302
3303 * international/characters.el: Fix simple mistake ((car chars) ->
3304 elt), delete duplicated code.
3305
3306 2012-10-06 Glenn Morris <rgm@gnu.org>
3307
3308 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
3309
3310 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
3311
3312 * color.el (color-hsl-to-rgb): Fix incorrect results for
3313 small and large hue values. (Bug#12559)
3314
3315 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
3316
3317 Enhancements to docstring formatting when filling paragraphs.
3318 * progmodes/python.el (python-fill-docstring-style): Rename from
3319 python-fill-string-style. Added new style.
3320 (python-fill-string): Use new style. Better checks for
3321 docstrings.
3322
3323 2012-10-05 Glenn Morris <rgm@gnu.org>
3324
3325 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
3326
3327 * color.el (color-name-to-rgb, color-rgb-to-hex)
3328 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
3329 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
3330 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
3331 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
3332
3333 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
3334
3335 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
3336
3337 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
3338 to get the correct size across symlinks.
3339
3340 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
3341
3342 2012-10-04 Juri Linkov <juri@jurta.org>
3343
3344 * replace.el (query-replace-interactive): Declare obsolete.
3345 (query-replace-read-from): Add the last incremental search string
3346 to the list of default values accessible via M-n.
3347 (map-query-replace-regexp): Use `read-regexp'.
3348 (query-replace, query-replace-regexp, query-replace-regexp-eval)
3349 (map-query-replace-regexp, replace-string, replace-regexp):
3350 Fix docstrings to replace mentions of `query-replace-interactive'
3351 with alternatives. (Bug#12526)
3352
3353 2012-10-04 Juri Linkov <juri@jurta.org>
3354
3355 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
3356 (dired-pop-to-buffer): Declare obsolete.
3357 (dired-mark-pop-up): Doc fix.
3358
3359 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
3360
3361 Allow user to set docstring style for fill-paragraph.
3362 * progmodes/python.el
3363 (python-fill-comment-function, python-fill-string-function)
3364 (python-fill-decorator-function, python-fill-paren-function):
3365 Remove :safe for defcustoms.
3366 (python-fill-string-style): New defcustom
3367 (python-fill-paragraph-function): Enhance context detection.
3368 (python-fill-string): Honor python-fill-string-style settings.
3369
3370 2012-10-04 Martin Rudalics <rudalics@gmx.at>
3371
3372 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
3373 after setting its buffer (Bug#10805).
3374
3375 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
3376
3377 Fix cornercase for string syntax.
3378 * progmodes/python.el (python-syntax-propertize-function):
3379 Simplify and enhance the regexp for unescaped quotes. Now it also
3380 matches quotes in weird situations like the single quote in
3381 "something\"'".
3382 (python-syntax-stringify): Simplify num-quotes detecting code.
3383
3384 2012-10-03 Glenn Morris <rgm@gnu.org>
3385
3386 * help-macro.el (three-step-help):
3387 Revert 2012-09-29 change. (Bug#12567)
3388
3389 2012-10-03 Martin Rudalics <rudalics@gmx.at>
3390
3391 * menu-bar.el (kill-this-buffer): Don't do anything when
3392 `menu-frame' is not alive or visible (Bug#8184).
3393
3394 * emacs-lisp/debug.el (debug): When quitting the debugger window
3395 restore current buffer (Bug#12502).
3396
3397 2012-10-02 Chong Yidong <cyd@gnu.org>
3398
3399 * progmodes/hideif.el (hif-lookup, hif-defined):
3400 Handle semantic-c-takeover-hideif.
3401
3402 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
3403
3404 Change sampling interval units from ms to ns.
3405 * profiler.el (profiler-sampling-interval): Change units
3406 from ms to ns, multiplying the default by 1000000 so that
3407 it remains 1 ms.
3408 (profiler-report-cpu-line-format): Give enough room for
3409 the maximum counters on 64-bit hosts.
3410 (profiler-report-render-calltree-1): Call them "CPU samples",
3411 not "Time (ms)", since they are not milliseconds now (and
3412 never really were).
3413
3414 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
3415
3416 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
3417 Fix querying BBDB for entries without a last name (Bug#11580).
3418
3419 2012-10-02 Chong Yidong <cyd@gnu.org>
3420
3421 * emacs-lisp/eieio.el: Restore Version header.
3422
3423 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
3424
3425 * vc/diff-mode.el (diff--auto-refine-data): New var.
3426 (diff-hunk): Use it to delay refinement.
3427 (diff-mode): Remove overlays when we turn off font-lock.
3428
3429 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
3430 (table-initialize-table-fixed-width-mode)
3431 (table-set-table-fixed-width-mode): Remove functions.
3432 (table-command-list): Move initialization into declaration.
3433 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
3434 (table-with-cache-buffer): Use `declare'.
3435 (table-span-cell): Simplify via CSE.
3436 (table-fixed-width-mode): Use define-minor-mode.
3437 (table-call-interactively, table-funcall, table-apply): Remove.
3438 (table-function): New function, to replace them.
3439
3440 * bookmark.el (bookmark-search-pattern): Remove var.
3441 (bookmark-read-search-input): Remove function.
3442 (bookmark-bmenu-search): Reimplement using a minibuffer.
3443
3444 * faces.el (modeline): Remove obsolete face name.
3445
3446 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
3447 and give a non-nil default value.
3448 (add-change-log-entry): Simplify accordingly.
3449
3450 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
3451
3452 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
3453 (vc-git-log-edit-toggle-amend): New function.
3454 (vc-git-log-edit-toggle-signoff): New function.
3455 (vc-git-log-edit-mode): New major mode.
3456 (vc-git-log-edit-mode-map): Keymap for it.
3457 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
3458
3459 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
3460 header names.
3461 (log-edit-toggle-header): New function.
3462 (log-edit-extract-headers): Accept function values in HEADERS alist.
3463
3464 2012-10-01 David Engster <deng@randomsample.de>
3465
3466 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
3467 from symbol property and change message to be more consistent with
3468 Emacs proper.
3469 (eieio-describe-generic): Add filename for each implementation.
3470 Fix indices for generic and normal methods.
3471 (eieio-method-def, eieio-class-def): New buttons.
3472 (eieio-help-find-method-definition)
3473 (eieio-help-find-class-definition): New functions.
3474 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
3475 class, constructor and method definitions.
3476
3477 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
3478 information in symbol property.
3479 (scoped-class): Remove.
3480 (eieio-slot-name-index, call-next-method): Check if it is bound.
3481
3482 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
3483
3484 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
3485 (eieio-custom-mode): New major mode.
3486 (eieio-customize-object): Use it.
3487
3488 2012-10-01 Eric Ludlam <zappo@gnu.org>
3489
3490 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
3491 specifying the expected class, and whether subclassing is allowed.
3492 (eieio-persistent-convert-list-to-object):
3493 (eieio-persistent-validate/fix-slot-value)
3494 (eieio-persistent-slot-type-is-class-p): New functions.
3495 (eieio-named::slot-missing): Doc fix.
3496
3497 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
3498 Stop using unused publd variable.
3499
3500 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
3501 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
3502 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
3503 (eieio-speedbar-handle-click): Do not specify a class for the
3504 method. Fixes method invocation order problems with EDE.
3505
3506 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3507
3508 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
3509 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
3510
3511 2012-10-01 Karl Fogel <kfogel@red-bean.com>
3512
3513 * bookmark.el (bookmark-version-control): Give tags in the
3514 :type choices (Bug#12309), and improve doc string.
3515 (bookmark-write-file): Bind `print-circle' to `t' to allow
3516 circular custom bookmark types. (Bug#12503)
3517
3518 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
3519
3520 Revert the FOLLOW-SYMLINKS change for file-attributes.
3521 * files.el (remote-file-name-inhibit-cache, after-find-file):
3522 * time.el (display-time-file-nonempty-p): Undo last change.
3523
3524 * profiler.el (profiler-sampling-interval): Change default back to 1.
3525 See Stefan Monnier in
3526 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
3527
3528 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
3529
3530 Shell output catching a la gud-gdb.
3531 * progmodes/python.el (python-shell-fetch-lines-in-progress)
3532 (python-shell-fetch-lines-string, python-shell-fetched-lines):
3533 New Vars.
3534 (python-shell-fetch-lines-filter): New function.
3535 (python-shell-send-string-no-output): Use them.
3536
3537 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
3538
3539 * profiler.el (profiler-sampling-interval): Rename from
3540 profiler-sample-interval.
3541 (profiler-sampling-interval): Default to 10.
3542 (profiler-find-profile): New command (was profiler-find-log).
3543 (profiler-find-profile-other-window): New command.
3544 (profiler-find-profile-other-frame): New command.
3545 (profiler-profile): Introduce API-level data structure.
3546
3547 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
3548
3549 file-attributes has a new optional arg FOLLOW-SYMLINKS.
3550 * files.el (remote-file-name-inhibit-cache):
3551 * time.el (display-time-file-nonempty-p): Use it.
3552 * files.el (after-find-file): Don't chase links before calling
3553 file-exists-p, as file-exists-p already does the right thing.
3554
3555 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
3556
3557 Merge from standalone RefTeX repository.
3558
3559 The following ChangeLog entries are shortened versions of the
3560 original ones with file paths adapted. A not so strongly edited
3561 version of the original ChangeLog can be found in the commit log.
3562
3563 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
3564 (reftex-arg-cite): Use `reftex-cite-key-separator'.
3565 Correctly handle new value type returned by `reftex-citation'.
3566
3567 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
3568 that entries with whitespace at various places are found.
3569 Doc fix. Include entries that are cross-referenced from cited entries.
3570 Include @String definitions in the resulting bib file. Add header
3571 and footer defined in `reftex-create-bibtex-header' and
3572 `reftex-create-bibtex-footer'.
3573 (reftex-do-citation): Make it possible again to insert
3574 non-existent entries. Save match data when asking for optional
3575 arguments. Return all keys, not just the first one.
3576 (reftex-all-used-citation-keys): Fix regexp to correctly extract
3577 all citations in the same line.
3578 (reftex-parse-bibtex-entry): Accept additional optional argument
3579 `raw' and keep quotes or braces if it is non-nil. Match fields
3580 containing hyphens besides word constituents.
3581 (reftex-get-string-refs): New function.
3582 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
3583 and ask if it should be reread in case it did.
3584 (reftex-pop-to-bibtex-entry)
3585 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
3586 entries with spaces or tabs in front of arguments.
3587 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
3588 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
3589 Match entries containing numbers and symbol constituents.
3590 (reftex-do-citation, reftex-figure-out-cite-format):
3591 Use `reftex-cite-key-separator'.
3592
3593 * textmodes/reftex-dcr.el: Move provide statement to end of file.
3594 (reftex-mouse-view-crossref): Explain why point is set.
3595
3596 * textmodes/reftex-global.el: Whitespace changes.
3597
3598 * textmodes/reftex-index.el: Move provide statement to end of
3599 file.
3600 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
3601 (reftex-index-visit-phrases-buffer): Set marker when visiting
3602 buffer. This allows for returning from the phrases file to the
3603 file one was just editing instead of the file where the last
3604 phrases was added from.
3605 (reftex-index-phrases-syntax-table): New variable. Give ?\"
3606 punctuation syntax as it usually is not used as string quote in
3607 TeX-related modes and may occur unmatched. The change also
3608 prevents fontification of quoted content.
3609 (reftex-index-phrases-mode): Use it.
3610
3611 * textmodes/reftex-parse.el (reftex-parse-from-file):
3612 Move backward one char if a `\' was matched after a section macro.
3613 (reftex-parse-from-file): Use beginning of match instead of end as
3614 bound.
3615
3616 * textmodes/reftex-ref.el: Adapt creation of
3617 `reftex-<package>-<macro>' functions to new structure of
3618 `reftex-ref-style-alist'.
3619 (reftex-reference): Use `reftex-ref-style-list' function.
3620 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
3621 reference macro if `reftex-ref-macro-prompt' is non-nil.
3622 (reftex-reference): Pass refstyle to `reftex-format-special'.
3623 Determine reference macro by looking at
3624 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
3625 Use only one special format function.
3626 (reftex-varioref-vref, reftex-fancyref-fref)
3627 (reftex-fancyref-Fref): Remove definitions. The functions are now
3628 generated from `reftex-ref-style-alist'.
3629 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
3630 Remove.
3631 (reftex-format-special): New function.
3632
3633 * textmodes/reftex-sel.el
3634 (reftex-select-cycle-ref-style-internal): Adapt to new structure
3635 of `reftex-ref-style-alist'. Remove code for testing macro type.
3636 (reftex-select-toggle-varioref)
3637 (reftex-select-toggle-fancyref): Remove.
3638 (reftex-select-cycle-ref-style-internal)
3639 (reftex-select-cycle-ref-style-forward)
3640 (reftex-select-cycle-ref-style-backward): New functions.
3641 (reftex-select-label-map): Use `v' and `V' for general cycling
3642 through reference styles. Add `p' for switching between number
3643 and page reference types.
3644
3645 * textmodes/reftex-toc.el (reftex-re-enlarge):
3646 Call `enlarge-window' only if there is something to do because in Emacs
3647 the horizontal version throws an error even if the parameter is 0.
3648
3649 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
3650 (reftex-plug-into-AUCTeX): Doc fix.
3651 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
3652 string. Adapt to new name.
3653 (reftex-ref-style-alist): Change structure so that it is not
3654 possible to use multiple different package names within a style.
3655 Remove the symbols for symbols for macro type distinction.
3656 Add characters for macro selection.
3657 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
3658 (reftex-create-bibtex-footer): New variables.
3659 (reftex-format-ref-function): Mention third argument of special
3660 format function.
3661 (reftex-ref-style-alist, reftex-ref-style-default-list):
3662 New variables.
3663 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
3664 to new implementation. Mark as obsolete. Add compatibility code
3665 for honoring the variable values in case they are set.
3666 (reftex-cite-format-builtin, reftex-bibliography-commands):
3667 Add support for ConTeXt.
3668 (reftex-format-ref-function, reftex-format-cite-function):
3669 Fix custom type.
3670 (reftex-cite-key-separator): New variable.
3671
3672 * textmodes/reftex.el (reftex-syntax-table-for-bib)
3673 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
3674 `reftex-syntax-table' because parens have to retain their paren
3675 syntax in order for parsing of BibTeX entries like @book(...) to
3676 work.
3677 (reftex-in-comment): Do not error out if `comment-start-skip' is
3678 not set. Deal correctly with escaped comment characters.
3679 (reftex-tie-multifile-symbols): Add doc string.
3680 Initialize `reftex-ref-style-list'.
3681 (reftex-untie-multifile-symbols): Add doc string.
3682 (reftex-add-index-macros): Doc fix.
3683 (reftex-ref-style-activate, reftex-ref-style-toggle)
3684 (reftex-ref-style-list): New functions.
3685 (reftex-mode-menu): Use them. Adapt to new structure of
3686 `reftex-ref-style-alist'.
3687 (reftex-select-with-char): Kill the RefTeX Select buffer when
3688 done.
3689 (reftex-remove-if): New function.
3690 (reftex-erase-all-selection-and-index-buffers)
3691 (reftex-mode-menu): Reference styles are now computed from
3692 `reftex-ref-style-alist'. Fix typo.
3693 (reftex-report-bug): New function.
3694 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
3695 algorithms with O(n log n). Introduce optional argument SORT (not
3696 yet used).
3697
3698 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
3699
3700 Enhancements for triple-quote string syntax.
3701 * progmodes/python.el (python-syntax-propertize-function):
3702 Match both quote cases in one regexp.
3703 (python-syntax-stringify): Handle matches properly.
3704
3705 2012-09-30 Juri Linkov <juri@jurta.org>
3706
3707 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
3708 to nil around the call to `insert' to prevent
3709 directory time modification by lock_file. (Bug#2295)
3710 * tar-mode.el (tar-summarize-buffer): Idem.
3711
3712 2012-09-30 Juri Linkov <juri@jurta.org>
3713
3714 * facemenu.el (list-colors-sort): Add option "Luminance".
3715 (list-colors-sort-key): Implement it.
3716
3717 * vc/diff-mode.el (diff-refine-removed):
3718 * vc/ediff-init.el (ediff-fine-diff-A):
3719 * vc/smerge-mode.el (smerge-refined-removed):
3720 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
3721
3722 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
3723
3724 * term/ns-win.el (x-file-dialog): New function.
3725
3726 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
3727
3728 * ido.el (ido-max-directory-size): Default to nil; the current
3729 default is small for POSIX systems, and impractical on Windows 7
3730 now that lstat returns directory sizes for NTFS.
3731
3732 2012-09-30 Martin Rudalics <rudalics@gmx.at>
3733
3734 In buffer display functions handle window-height/window-width
3735 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
3736 * window.el (window--display-buffer): New argument ALIST.
3737 Obey window-height and window-width alist entries.
3738 (window--try-to-split-window): New argument ALIST.
3739 Bind window-combination-limit to t when the window's size shall be
3740 changed and window-combination-limit equals `window-size'.
3741 (display-buffer-in-atom-window)
3742 (display-buffer-in-major-side-window)
3743 (display-buffer-in-side-window, display-buffer-same-window)
3744 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3745 (display-buffer-pop-up-window, display-buffer-below-selected)
3746 (display-buffer-at-bottom, display-buffer-in-previous-window)
3747 (display-buffer-use-some-window): Adjust all callers of
3748 window--display-buffer and window--try-to-split-window.
3749 (fit-frame-to-buffer): New option.
3750 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
3751 is non-nil.
3752 (display-buffer-in-major-side-window): Evaluate window-height /
3753 window-width alist entries.
3754
3755 * help.el (temp-buffer-resize-frames)
3756 (temp-buffer-resize-regexps): Remove options.
3757 (temp-buffer-resize-mode): Adjust doc-string.
3758 (resize-temp-buffer-window): Don't consult
3759 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
3760 temp-buffer-resize-frames.
3761
3762 * dired.el (dired-mark-pop-up):
3763 Call display-buffer-below-selected with a fit-window-to-buffer alist
3764 entry.
3765
3766 2012-09-30 Chong Yidong <cyd@gnu.org>
3767
3768 * server.el (server-host): Document the security implications.
3769 (server-auth-key): Doc fix.
3770
3771 * startup.el (initial-buffer-choice): Doc fix.
3772
3773 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
3774
3775 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
3776 restriction change.
3777
3778 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
3779
3780 * help-fns.el (help-fns--obsolete): Fix last change.
3781
3782 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
3783
3784 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
3785 (minor-mode-map-alist): Remove redundant code.
3786
3787 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
3788 visited in a buffer.
3789 (cvs-insert-visited-file): New function.
3790 (find-file-hook): Use it.
3791
3792 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
3793
3794 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
3795 chose face.
3796 (log-edit-empty-buffer-p): Don't require a space after a header.
3797
3798 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
3799
3800 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
3801
3802 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
3803 a proper minor-mode.
3804
3805 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
3806
3807 2012-09-29 Glenn Morris <rgm@gnu.org>
3808
3809 * winner.el (winner-mode): Remove variable (let define-minor-mode
3810 handle it).
3811 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
3812 Doc fixes.
3813 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
3814 (winner-mode): Use define-minor-mode.
3815
3816 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
3817 the full definition in loaddefs, rather than duplicating it.
3818
3819 * help-macro.el (three-step-help): No need to autoload defcustom.
3820
3821 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
3822 (inferior-lisp-program, inferior-lisp-load-command)
3823 (inferior-lisp-prompt, inferior-lisp-mode-hook):
3824 No need to autoload defcustoms.
3825
3826 * hippie-exp.el (hippie-expand-try-functions-list)
3827 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
3828 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
3829 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
3830 (hippie-expand-only-buffers): No need to autoload defcustoms.
3831 * progmodes/vhdl-mode.el (vhdl-line-expand):
3832 Explicitly load hippie-exp, so it does not get autoloaded
3833 while hippie-expand-try-functions-list is let-bound.
3834
3835 2012-09-28 Glenn Morris <rgm@gnu.org>
3836
3837 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
3838
3839 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
3840 Only "cl.el" counts as cl these days.
3841
3842 2012-09-28 Juri Linkov <juri@jurta.org>
3843
3844 Display archive errors in the echo area instead of inserting
3845 to the file buffer.
3846
3847 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
3848 to STDERR-TEST that can be a regexp matching a successful output.
3849 Create a temporary file and redirect stderr to it. Search for
3850 STDERR-TEST in the stderr output and display it in the echo area
3851 if no match is found.
3852 (archive-extract-by-file): New function like
3853 `archive-extract-by-stdout' but extracting archives to files
3854 and looking for successful matches in stdout. Function body is
3855 mostly copied from `archive-rar-extract'.
3856 (archive-rar-extract): Use `archive-extract-by-file'.
3857 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
3858
3859 2012-09-28 Leo Liu <sdl.web@gmail.com>
3860
3861 * pcomplete.el (pcomplete-show-completions):
3862 Use minibuffer-message to make pcomplete usable in minibuffer.
3863
3864 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
3865
3866 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3867
3868 * type-break.el: Use lexical-binding.
3869 (type-break-mode): Use define-minor-mode.
3870
3871 * emacs-lisp/pcase.el (pcase--mark-used): New.
3872 (pcase--u1): Use it (bug#12512).
3873
3874 * custom.el (load-theme): Set buffer-file-name so the load is recorded
3875 in load-history with the right file name.
3876
3877 2012-09-28 Tassilo Horn <tsdh@gnu.org>
3878
3879 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
3880 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
3881 (doc-view-get-bounding-box): Make bounding box slicing work for
3882 ODF and DVI documents.
3883
3884 2012-09-28 Glenn Morris <rgm@gnu.org>
3885
3886 * type-break.el (type-break-mode, type-break-interval)
3887 (type-break-good-rest-interval, type-break-keystroke-threshold):
3888 No need to autoload.
3889 (type-break-good-rest-interval, type-break-keystroke-threshold):
3890 Add :set-after.
3891
3892 2012-09-28 Chong Yidong <cyd@gnu.org>
3893
3894 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
3895 Add :version tag.
3896
3897 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
3898
3899 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
3900
3901 2012-09-27 Glenn Morris <rgm@gnu.org>
3902
3903 * faces.el (x-display-name): Declare (for without-x builds).
3904
3905 * linum.el (linum-format): Don't autoload it. Improve :type.
3906
3907 * progmodes/tcl.el: Don't require outline when compiling.
3908 (outline-regexp, outline-level): Declare.
3909 * textmodes/sgml-mode.el: Don't require outline when compiling.
3910 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
3911
3912 * term.el (term-ansi-reset):
3913 Try setting term-ansi-face-already-done to nil. (Bug#11785)
3914
3915 * vc/vc.el (vc-next-action): Only gripe about committing read-only
3916 files for RCS and SCCS. (Bug#9781)
3917
3918 2012-09-27 Chong Yidong <cyd@gnu.org>
3919
3920 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
3921 change; value should be t.
3922
3923 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
3924
3925 * image-mode.el: Use lexical-binding.
3926 (image-mode-winprops): Use t to stand for the window of
3927 a buffer that's not displayed.
3928 * doc-view.el (doc-view-new-window-function): Handle the new
3929 t in winprops.
3930 (doc-view-enlarge): Make it a real nop if the size is not changed.
3931 (doc-view-display): Handle the case where the buffer is not (yet?)
3932 displayed in any window.
3933 (doc-view-saved-settings): New var.
3934 (doc-view-mode): Use it.
3935 (doc-view-fallback-mode): Set it.
3936
3937 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
3938 Set lexical-binding.
3939 (minibuffer-eldef-shorten-default): New var.
3940 (minibuffer-default-in-prompt-regexps): Use it for new default.
3941 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
3942
3943 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
3944
3945 * international/uni-bidi.el:
3946 * international/uni-category.el:
3947 * international/uni-name.el:
3948 * international/uni-numeric.el: Regenerate.
3949
3950 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
3951 Stefan Monnier <monnier@iro.umontreal.ca>
3952
3953 * profiler.el: New file.
3954
3955 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
3956
3957 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
3958 (testcover-reinstrument): Simplify with CSE.
3959
3960 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
3961
3962 * window.el (temp-buffer-window-setup): Fix typo in docstring.
3963
3964 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
3965
3966 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
3967 (verilog-auto-input, verilog-auto-insert-lisp)
3968 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
3969 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
3970 (verilog-auto-unused, verilog-auto-wire)
3971 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
3972 newline. Reported by Andrew Jones.
3973 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
3974 Reported by Brad Dobbie.
3975 (verilog-batch-delete-trailing-whitespace):
3976 Create verilog-batch-delete-trailing-whitespace.
3977 Reported by Brad Dobbie.
3978 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
3979 parameters from another module. Reported by Dan Katz.
3980 (verilog-auto, verilog-auto-assign-modport)
3981 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
3982 AUTOINOUTMODPORT for UVM interface module shell generation.
3983 Reported by Brad Dobbie.
3984 (verilog-auto-inst-interfaced-ports): Make default nil, as more
3985 standard behavior.
3986 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
3987 Reported by Matt Martin.
3988
3989 2012-09-25 Martin Rudalics <rudalics@gmx.at>
3990
3991 * window.el (window--resize-child-windows): When resizing child
3992 windows proportionally, process them in reverse order to
3993 preserve the "when splitting a window the new one gets the odd
3994 line" behavior.
3995 (window--resize-root-window-vertically): When resizing the
3996 minibuffer window try to affect only windows at the bottom of the
3997 frame. (Bug#12419)
3998
3999 2012-09-25 Chong Yidong <cyd@gnu.org>
4000
4001 * subr.el (declare): Doc fix.
4002
4003 * help-fns.el (help-fns--obsolete): Handle macros properly.
4004
4005 2012-09-25 Chong Yidong <cyd@gnu.org>
4006
4007 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
4008 this function obsolete.
4009
4010 * calendar/cal-x.el (calendar-two-frame-setup)
4011 (calendar-only-one-frame-setup, calendar-one-frame-setup):
4012 * calendar/calendar.el (american-calendar, european-calendar)
4013 (calendar-for-loop):
4014 * comint.el (comint-dynamic-simple-complete)
4015 (comint-dynamic-complete-as-filename, comint-unquote-filename):
4016 * desktop.el (desktop-load-default):
4017 * dired-x.el (dired-omit-here-always)
4018 (dired-hack-local-variables, dired-default-directory):
4019 * emacs-lisp/derived.el (derived-mode-class):
4020 * emacs-lisp/timer.el (timer-set-time-with-usecs):
4021 * emacs-lock.el (toggle-emacs-lock):
4022 * epa.el (epa-display-verify-result):
4023 * epg.el (epg-sign-keys, epg-start-sign-keys)
4024 (epg-passphrase-callback-function):
4025 * eshell/esh-util.el (eshell-for):
4026 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
4027 (eshell-add-to-window-buffer-names):
4028 * files.el (locate-file-completion):
4029 * imenu.el (imenu-example--create-c-index)
4030 (imenu-example--create-lisp-index)
4031 (imenu-example--lisp-extract-index-name)
4032 (imenu-example--name-and-position):
4033 * international/mule-cmds.el (princ-list):
4034 * international/mule-diag.el (decode-codepage-char):
4035 * international/mule-util.el (detect-coding-with-priority):
4036 * iswitchb.el (iswitchb-read-buffer):
4037 * mail/mailalias.el (mail-complete):
4038 * mail/sendmail.el (mail-sent-via):
4039 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
4040 (mouse-major-mode-menu):
4041 * password-cache.el (password-read-and-add):
4042 * pcomplete.el (pcomplete-parse-comint-arguments):
4043 * progmodes/sh-script.el (sh-maybe-here-document):
4044 * replace.el (query-replace-regexp-eval):
4045 * savehist.el (savehist-load):
4046 * simple.el (choose-completion-delete-max-match):
4047 * term.el (term-dynamic-simple-complete):
4048 * vc/ediff-init.el (ediff-check-version):
4049 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
4050 * vc/vc.el (vc-diff-switches-list):
4051 * view.el (view-return-to-alist-update): Likewise.
4052
4053 * subr.el (eval-next-after-load, makehash, insert-string)
4054 (assoc-ignore-representation, assoc-ignore-case): Use declare to
4055 mark obsolete.
4056 (mode-line-inverse-video): Variable deleted.
4057
4058 * international/mule-util.el (string-to-sequence): Remove.
4059
4060 * calendar/calendar.el (calendar-version):
4061 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
4062 (icalendar-convert-diary-to-ical):
4063 * cus-edit.el (custom-mode):
4064 * ansi-color.el (ansi-color-unfontify-region):
4065 * international/latin1-disp.el (latin1-char-displayable-p):
4066 * progmodes/cwarn.el (turn-on-cwarn-mode):
4067 * progmodes/which-func.el (which-func-update-1):
4068 Use define-obsolete-function-alias.
4069
4070 * net/newst-backend.el (newsticker-cache-filename):
4071 * net/newst-treeview.el (newsticker-groups-filename):
4072 Fix incorrect obsolescence declaration.
4073
4074 * allout.el (allout-passphrase-hint-string): Likewise.
4075 (allout-init): Use a declare form to mark obsolete.
4076
4077 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
4078 this applies to functions.
4079
4080 * iswitchb.el (iswitchb-read-buffer): Move code of
4081 iswitchb-define-mode-map here, and delete that obsolete function.
4082
4083 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
4084 font-lock-reference-face.
4085
4086 2012-09-25 Glenn Morris <rgm@gnu.org>
4087
4088 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
4089 Doc fixes.
4090
4091 * eshell/em-term.el (eshell-term-name):
4092 Default to term-term-name. (Bug#12485)
4093
4094 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
4095
4096 * progmodes/python.el (python-shell-send-buffer): Better handling
4097 of "if __name__ == '__main__':" conditionals when sending the buffer.
4098
4099 2012-09-24 Glenn Morris <rgm@gnu.org>
4100
4101 * eshell/esh-cmd.el (eshell-find-alias-function):
4102 Tighten up file-name regexp. (Bug#12499)
4103
4104 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
4105
4106 Enhancements for triple-quote string syntax.
4107 * progmodes/python.el (python-quote-syntax): Remove.
4108 (python-syntax-propertize-function): New value.
4109 (python-syntax-count-quotes, python-syntax-stringify):
4110 New functions.
4111
4112 2012-09-24 Chong Yidong <cyd@gnu.org>
4113
4114 * mail/supercite.el (sc-version): Remove obsolete function.
4115 (sc-describe): Don't mark as obsolete, since it is bound.
4116 (sc-submit-bug-report): Remove.
4117
4118 * vc/log-edit.el (cvs-changelog-full-paragraphs)
4119 (cvs-commit-buffer-require-final-newline): Remove.
4120 (log-edit-require-final-newline)
4121 (log-edit-changelog-full-paragraphs): Default to t.
4122
4123 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
4124 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
4125 * vc/vc.el (vc-checkout-carefully): Likewise.
4126
4127 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
4128 (emerge-version): Remove.
4129
4130 * progmodes/compile.el (compile-internal): Remove.
4131 (compilation-parse-errors-function): Fix typo.
4132
4133 * international/mule.el (set-char-table-default): Remove.
4134 (set-coding-priority, make-coding-system, generic-char-p)
4135 (charset-list, charset-bytes, charset-id): Use declare to mark
4136 functions as obsolete.
4137
4138 * vc/pcvs-defs.el (cvs-buffer-name-alist)
4139 (cvs-invert-ignore-marks): Remove references to obsolete vars.
4140 * vc/vc-hooks.el (vc-default-registered): Don't use
4141 vc-master-templates.
4142
4143 * font-lock.el (font-lock-reference-face):
4144 Use define-obsolete-variable-alias.
4145
4146 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
4147 * calendar/calendar.el (calendar-font-lock-keywords):
4148 * calendar/diary-lib.el (diary-font-lock-keywords)
4149 (diary-fancy-font-lock-keywords):
4150 * textmodes/reftex-sel.el (reftex-insert-docstruct):
4151 * textmodes/reftex-index.el (reftex-insert-index):
4152 * textmodes/reftex-cite.el (reftex-format-bib-entry):
4153 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4154 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
4155 * progmodes/prolog.el (prolog-font-lock-keywords):
4156 * progmodes/idlwave.el (idlwave-idl-keywords):
4157 * progmodes/ada-mode.el (ada-font-lock-keywords):
4158 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
4159
4160 2012-09-24 Glenn Morris <rgm@gnu.org>
4161
4162 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
4163
4164 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
4165
4166 * progmodes/python.el (python-indent-line): More consistent cursor
4167 movement behavior.
4168
4169 2012-09-23 Stefan Merten <smerten@oekonux.de>
4170
4171 * textmodes/rst.el: Fix compiler warning.
4172
4173 2012-09-23 Roland Winkler <winkler@gnu.org>
4174
4175 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
4176 Transcribe also LaTeX hyphenation.
4177 (bibtex-reformat): Bug fix. Do not quote twice the elements of
4178 bibtex-reformat-previous-options.
4179
4180 2012-09-23 Roland Winkler <winkler@gnu.org>
4181
4182 * proced.el (proced-renice-command): New variable.
4183 (proced-marked-processes): New function.
4184 (proced-with-processes-buffer): New macro.
4185 (proced-send-signal): Use them.
4186 (proced-renice): New command bound to r.
4187
4188 2012-09-23 Roland Winkler <winkler@gnu.org>
4189
4190 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
4191 ibuffer-saved-filter-groups has one element, shortcut the call of
4192 completing-read. (Bug#12331)
4193
4194 2012-09-23 Chong Yidong <cyd@gnu.org>
4195
4196 * bindings.el (mode-line-toggle-read-only):
4197 * bs.el (bs-toggle-readonly):
4198 * buff-menu.el (Buffer-menu-toggle-read-only):
4199 * dired.el (dired-toggle-read-only):
4200 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
4201
4202 2012-09-23 Chong Yidong <cyd@gnu.org>
4203
4204 * image.el (image-type-available-p): Adapt to init-image-library
4205 argument changes.
4206
4207 2012-09-22 Juri Linkov <juri@jurta.org>
4208
4209 * dired.el (dired-mode-map): Add [remap read-only-mode] for
4210 `dired-toggle-read-only'. (Bug#12462)
4211
4212 2012-09-22 Martin Rudalics <rudalics@gmx.at>
4213
4214 * subr.el (temp-output-buffer-show): New function.
4215 (with-output-to-temp-buffer): Call temp-output-buffer-show
4216 instead of internal-temp-output-buffer-show.
4217
4218 2012-09-22 Chong Yidong <cyd@gnu.org>
4219
4220 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
4221 (Bug#12462).
4222
4223 * repeat.el (repeat): Doc fix (Bug#12348).
4224
4225 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
4226 (Bug#10909).
4227
4228 * simple.el (shell-command-on-region): Doc fix.
4229 (read-only-mode): Doc fix.
4230
4231 2012-09-22 Eli Zaretskii <eliz@gnu.org>
4232
4233 * emacs-lisp/timer.el (run-with-idle-timer)
4234 (timer-activate-when-idle): Warn against reinvoking an idle timer
4235 from within its own timer action. (Bug#12447)
4236
4237 2012-09-22 Martin Rudalics <rudalics@gmx.at>
4238
4239 * cus-start.el (window-combination-limit): Add new optional
4240 values.
4241 * window.el (temp-buffer-window-show)
4242 (window--try-to-split-window): Handle new values of
4243 window-combination-limit (Bug#1806).
4244 (split-window): Test window-combination-limit for t instead of
4245 non-nil.
4246 (display-buffer-at-bottom): New buffer display action function.
4247 * help.el (temp-buffer-resize-regexps): New option.
4248 (temp-buffer-resize-mode): Rewrite doc-string.
4249 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
4250 Don't resize reused window. Suggested by Glenn Morris.
4251
4252 2012-09-22 Stefan Merten <smerten@oekonux.de>
4253
4254 * textmodes/rst.el: Revamp section title faces.
4255 (rst-official-version)
4256 (rst-package-emacs-version-alist): Sync with official version
4257 V1.4.0.
4258 (rst-faces-defaults, rst-set-level-default)
4259 (rst-level-face-max, rst-level-face-base-color)
4260 (rst-level-face-base-light, rst-level-face-format-light)
4261 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
4262 (rst-adornment-faces-alist): Match new setup.
4263 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
4264 (rst-level-5, rst-level-6): New faces.
4265
4266 2012-09-22 Chong Yidong <cyd@gnu.org>
4267
4268 * simple.el (undo): Handle indirect buffers (Bug#8207).
4269
4270 2012-09-21 Leo Liu <sdl.web@gmail.com>
4271
4272 IDO: Disable match re-ordering for buffer switching.
4273 * ido.el (ido-buffer-disable-smart-matches): New variable.
4274 (ido-set-matches-1): Use it. (Bug#2042)
4275
4276 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
4277
4278 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
4279 Fix 2011-05-17 change. (Bug#12418)
4280
4281 2012-09-21 Leo Liu <sdl.web@gmail.com>
4282
4283 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
4284
4285 2012-09-21 Glenn Morris <rgm@gnu.org>
4286
4287 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
4288 Be more robust about locating simple.el.
4289
4290 2012-09-21 Glenn Morris <rgm@gnu.org>
4291
4292 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
4293
4294 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
4295
4296 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
4297
4298 2012-09-20 Juri Linkov <juri@jurta.org>
4299
4300 * replace.el (query-replace-read-from): Use `read-regexp' instead
4301 of `read-from-minibuffer' when `regexp-flag' is non-nil.
4302 (occur-read-primary-args): Use `read-regexp' instead of
4303 `read-string'.
4304 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
4305 `read-from-minibuffer'.
4306 * isearch.el (isearch-occur): Use `read-regexp' instead of
4307 `read-string'.
4308 * dired.el (dired-read-regexp): Use `read-regexp' instead of
4309 `read-from-minibuffer'.
4310 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
4311 of `read-string'. (Bug#7567)
4312
4313 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
4314 and allow accepting a list of strings prepended to a list of
4315 standard default values. Doc fix. (Bug#12321)
4316
4317 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
4318
4319 * replace.el (read-regexp): Don't add ": " when PROMPT already
4320 ends with a colon and space. (Bug#12321)
4321
4322 2012-09-20 Tassilo Horn <tsdh@gnu.org>
4323
4324 * doc-view.el (doc-view-display): Better fix for the cl-assertion
4325 error.
4326
4327 2012-09-20 Stefan Merten <smerten@oekonux.de>
4328
4329 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
4330 Fixes feature request bug#11711.
4331 (rst-mode): Create `imenu-create-index-function'.
4332 (rst-get-stripped-line): Delete after refactoring.
4333 (rst-section-tree, rst-section-tree-rec)
4334 (rst-section-tree-point): Refactor and document properly.
4335 (rst-imenu-find-adornments-for-position)
4336 (rst-imenu-convert-cell, rst-imenu-create-index):
4337 New function.
4338
4339 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4340
4341 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
4342 (macroexp--expand-all): Use it.
4343 (macroexp--funcall-and-return): Remove by folding it into its sole
4344 caller (macroexp--warn-and-return).
4345 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
4346 Use macroexp--obsolete-warning.
4347
4348 * calc/calc.el: Fix last change by removing the whole chunk, since it
4349 was only needed back when Calc was not bundled.
4350
4351 2012-09-20 Martin Rudalics <rudalics@gmx.at>
4352
4353 * emacs-lisp/debug.el (debug): Restore assignment to
4354 debugger-old-buffer removed on 2012-09-08.
4355
4356 2012-09-20 Juri Linkov <juri@jurta.org>
4357
4358 * dired-aux.el (dired-diff): Remove (require 'diff) since
4359 `diff-latest-backup-file' is now autoloaded.
4360
4361 2012-09-20 Chong Yidong <cyd@gnu.org>
4362
4363 * vc/diff.el (diff-latest-backup-file): Autoload.
4364
4365 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4366
4367 * calc/calc.el: Remove redundant autoload shape check.
4368 (sel-mode): Don't defvar.
4369 (calc-get-stack-element): Add `sel-mode' arg instead.
4370 (calc-top, calc-top-list): Pass it this additional argument.
4371 * calc/calc-store.el (calc-store-map):
4372 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
4373 (calc-map-equation, calc-outer-product, calc-inner-product):
4374 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
4375
4376 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
4377
4378 2012-09-19 Juri Linkov <juri@jurta.org>
4379
4380 * dired-aux.el (dired-diff): Add (require 'diff) because
4381 `diff-latest-backup-file' is not autoloaded.
4382 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
4383 of `dired-get-filename' to t to not report error when there is
4384 no default file on the current line.
4385
4386 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4387
4388 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
4389 macroexp--eval-if-compile.
4390 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
4391 (macroexp--expand-all): Use them (bug#12371).
4392
4393 * doc-view.el (doc-view-guess-paper-size)
4394 (doc-view-scale-bounding-box): Fix unbound `caddr'.
4395
4396 2012-09-19 Tassilo Horn <tsdh@gnu.org>
4397
4398 New feature: set optimal slice from BoundingBox information.
4399 * doc-view.el (doc-view-mode-map): Add keybinding.
4400 (doc-view-menu): Add menu entry.
4401 (doc-view-set-slice): Adapt docstring.
4402 (doc-view-get-bounding-box, doc-view-guess-paper-size)
4403 (doc-view-scale-bounding-box)
4404 (doc-view-set-slice-from-bounding-box): New functions.
4405 (doc-view-paper-sizes): New defvar.
4406
4407 2012-09-19 Glenn Morris <rgm@gnu.org>
4408
4409 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
4410 (byte-compile-log-warning): Autoload. (Bug#12371)
4411
4412 * calendar/calendar.el (calendar-american-month-header)
4413 (calendar-european-month-header, calendar-iso-month-header)
4414 (calendar-month-header): New options.
4415 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
4416 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
4417
4418 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
4419
4420 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
4421
4422 2012-09-18 Juri Linkov <juri@jurta.org>
4423
4424 * dired-aux.el (dired-diff): Restore original functionality of
4425 getting the default value, but keep new feature of using the
4426 latest existing backup file (`diff-latest-backup-file').
4427
4428 2012-09-18 Juri Linkov <juri@jurta.org>
4429
4430 * dired.el (dired-mark): If the region is active in Transient Mark
4431 mode, mark all files in the active region. Doc fix.
4432 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
4433 Doc fix. (Bug#10624)
4434
4435 2012-09-18 Juri Linkov <juri@jurta.org>
4436
4437 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
4438 attributes for M-n are pulled from the file at point.
4439 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
4440 Suggested by Drew Adams. (Bug#10624)
4441
4442 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
4443
4444 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
4445 whitespace after "end".
4446 (ruby-do-end-to-brace): Collapse block to one line if it fits
4447 within fill-column.
4448
4449 2012-09-18 Martin Rudalics <rudalics@gmx.at>
4450
4451 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
4452 value.
4453 (debug): Don't remove debugger window when debugger is expected
4454 to be back.
4455
4456 2012-09-18 Chong Yidong <cyd@gnu.org>
4457
4458 * custom.el (defface): Doc fix.
4459
4460 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
4461
4462 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
4463
4464 * progmodes/compile.el (compilation-start): Use compilation-always-kill
4465 to initialize query-on-exit; then test that instead (bug#12288).
4466
4467 2012-09-17 Stefan Merten <smerten@oekonux.de>
4468
4469 * textmodes/rst.el: Add support for `testcover'.
4470 (rst-defcustom-testcover, rst-testcover-add-compose)
4471 (rst-testcover-add-1value): New functions.
4472 (rst-portable-mark-active-p): Replace by `use-region-p'.
4473 (rst-update-section, rst-classify-adornment)
4474 (rst-find-title-line): Mark `1value' forms.
4475 (rst-classify-adornment): Remove superfluous form.
4476 (rst-update-section, rst-get-adornments-around)
4477 (rst-adornment-complete-p, rst-get-next-adornment)
4478 (rst-adjust, rst-promote-region)
4479 (rst-display-adornments-hierarchy, rst-straighten-adornments)
4480 (rst-find-pfx-in-region, rst-section-tree-rec)
4481 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
4482 (rst-toc-node, rst-toc, rst-forward-section)
4483 (rst-iterate-leftmost-paragraphs)
4484 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
4485 (rst-bullet-list-region)
4486 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
4487 (rst-compile-find-conf, rst-compile)
4488 (rst-repeat-last-character): Fix style.
4489
4490 2012-09-17 Chong Yidong <cyd@gnu.org>
4491
4492 * comint.el (comint--complete-file-name-data): Don't add a space
4493 if the status is `sole'; that adds a gratuitous space in the
4494 completion-cycling case (Bug#12092).
4495
4496 * pcomplete.el (pcomplete-completions-at-point): Likewise.
4497
4498 2012-09-17 Richard Stallman <rms@gnu.org>
4499
4500 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
4501 only in the mime-shown mode, not in raw mode.
4502 (rmail-mime): Toggle off mime by displaying the message without
4503 mime processing. (Bug#12305)
4504
4505 * mail/rmail.el (rmail-retry-failure):
4506 Turn off mime processing first. (Bug#12037)
4507
4508 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
4509
4510 2012-09-17 Chong Yidong <cyd@gnu.org>
4511
4512 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
4513 (shell-dynamic-complete-functions): Convert to defcustom.
4514 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
4515
4516 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
4517 * comint.el (comint-prompt-read-only):
4518 * custom.el (defcustom):
4519 * hi-lock.el (hi-lock-mode):
4520 * ibuffer.el (ibuffer-formats):
4521 * ielm.el (ielm-prompt-read-only):
4522 * novice.el (disable-command):
4523 * saveplace.el (toggle-save-place):
4524 * speedbar.el (speedbar-supported-extension-expressions):
4525 * startup.el (auto-save-list-file-prefix, init-file-user)
4526 (after-init-hook, inhibit-startup-echo-area-message):
4527 * strokes.el (strokes-help):
4528 * time-stamp.el (time-stamp):
4529 * calendar/calendar.el (calendar, diary-file):
4530 * calendar/diary-lib.el (diary-mail-entries, diary)
4531 (diary-list-entries-hook):
4532 * calendar/holidays.el (holidays, calendar-holidays):
4533 * calendar/lunar.el (lunar-phases):
4534 * calendar/solar.el (sunrise-sunset):
4535 * emulation/edt.el (edt-load-keys):
4536 * emulation/viper.el (viper-mode):
4537 * eshell/em-alias.el (eshell-command-aliases-list):
4538 * eshell/esh-util.el (eshell-convert-numeric-arguments):
4539 * international/ogonek.el (ogonek-information):
4540 * net/tramp-cmds.el (tramp-bug):
4541 * net/quickurl.el (quickurl-reread-hook-postfix):
4542 * play/decipher.el (decipher-font-lock-keywords):
4543 * progmodes/cc-styles.el (c-set-style):
4544 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
4545 * progmodes/inf-lisp.el (inferior-lisp-prompt):
4546 * progmodes/octave-mod.el (octave-mode):
4547 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
4548 * progmodes/verilog-mode.el (verilog-read-defines):
4549 * textmodes/two-column.el (2C-mode): Likewise.
4550
4551 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
4552
4553 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
4554 that holds many addresses.
4555
4556 2012-09-16 Chong Yidong <cyd@gnu.org>
4557
4558 * align.el (align-areas): Call the indication function with
4559 positions instead of markers for arguments (Bug#12343).
4560
4561 * files.el (parse-colon-path): Use split-string (Bug#12351).
4562
4563 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4564 (display-buffer-function): Mark as obsolete.
4565
4566 * progmodes/compile.el (compilation-parse-errors): Accept list
4567 values similar to font-lock-keywords (Bug#12136).
4568 Suggested by Oleksandr Manzyuk.
4569 (compilation-error-regexp-alist): Doc fix.
4570
4571 2012-09-15 Glenn Morris <rgm@gnu.org>
4572
4573 * version.el (emacs-bzr-version-bzr): New function.
4574 (emacs-bzr-get-version): Add optional EXTERNAL argument.
4575
4576 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
4577 checkouts, check the parent dirstate matches the branch.
4578 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
4579 empty string.
4580
4581 * version.el (emacs-bzr-version): Doc fix.
4582 (emacs-bzr-version-dirstate): New function.
4583 (emacs-bzr-get-version): For lightweight checkouts, if the parent
4584 is local try and check that it matches the branch. If not, just
4585 use dirstate information. (Bug#12441)
4586
4587 2012-09-14 Juri Linkov <juri@jurta.org>
4588
4589 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
4590 (Bug#12399)
4591
4592 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4593
4594 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
4595
4596 * emacs-lisp/edebug.el: Miscellaneous cleanup.
4597 Remove obsolete byte-compiler hack that tried to silence some warnings.
4598 (edebug-submit-bug-report): Remove.
4599 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
4600 Remove aliases, use the un-prefixed name instead.
4601 (edebug-pop-to-buffer): Consider other frames.
4602 (edebug-original-read):: Make it more obvious that it's always defined.
4603 (edebug--make-form-data-entry, edebug--form-data-name)
4604 (edebug--form-data-begin, edebug--form-data-end): Rename from the
4605 single-dashed name, and implement with cl-defstruct.
4606 (edebug-set-form-data-entry): Use the standard accessors.
4607 (edebug-make-top-form-data-entry): Use push.
4608 (edebug-no-match): Drop useless `funcall'.
4609 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
4610 to functions.
4611 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
4612 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
4613 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
4614 (easy-menu-define, with-custom-print): Remove redundant specs.
4615 (edebug-outside-overriding-local-map)
4616 (edebug-outside-overriding-terminal-local-map): Remove, unused.
4617 (edebug--display): Bind unread-command-events directly to nil rather
4618 than binding it to unread-command-events and later setting it to nil.
4619 (edebug--display): Kill edebug-eval-buffer here...
4620 (edebug--recursive-edit): ...rather than here.
4621 Bind standard-output and standard-input.
4622 (edebug-eval): Check cl-macroexpand-all is fboundp.
4623 (edebug-temp-display-freq-count): Fix last change.
4624
4625 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
4626 * subr.el (noreturn, 1value): Add `debug' spec.
4627 * emacs-lisp/advice.el: Require cl-lib.
4628 (ad-copy-tree): Remove, use copy-tree instead.
4629 (ad-dolist): Remove use dolist or cl-dolist instead.
4630 (ad-do-return): Remove, use cl-return instead.
4631 (defadvice): Add `debug' spec.
4632
4633 2012-09-13 Juri Linkov <juri@jurta.org>
4634
4635 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
4636 (Bug#12399)
4637
4638 2012-09-13 Glenn Morris <rgm@gnu.org>
4639
4640 * calc/calc.el (math-compose-expr):
4641 * calc/calc-ext.el (math-compose-expr):
4642 * progmodes/cc-defs.el (cl-macroexpand-all):
4643 * progmodes/cc-langs.el (delete-duplicates, mapcan)
4644 (cl-macroexpand-all): Update declarations.
4645
4646 * vc/vc.el: No need to require ediff.
4647 (ediff-load-version-control): Declare.
4648 (ediff-vc-internal): Fix declaration.
4649 (vc-version-ediff): Require ediff.
4650
4651 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
4652
4653 Use a more backwards-compatible timer format (Bug#12430).
4654 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
4655 being right after USECS, as that better supports old code that
4656 inadvisedly looked directly at the timer vector.
4657
4658 2012-09-13 Kenichi Handa <handa@gnu.org>
4659
4660 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
4661 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
4662 `coding-priority' property of these language environment.
4663
4664 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
4665
4666 Fix glitches caused by addition of psec to timers (Bug#12430).
4667 * image.el (image-animate-timer):
4668 * time.el (display-time-world-timer):
4669 Use timer--function and timer--args rather than raw access to
4670 timer vector.
4671
4672 2012-09-13 Glenn Morris <rgm@gnu.org>
4673
4674 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
4675 If not compiling a file, try using load-file-name.
4676
4677 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4678
4679 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
4680 Fix last change.
4681 (edebug-update-eval-list): Use `push'.
4682
4683 * emacs-lisp/edebug.el: Use lexical-binding.
4684 Remove the "edebug-" prefix from non-dynamically-scoped variables.
4685 Mark unused args with underscore.
4686 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
4687 (edebug-form-data): Use defvar-local.
4688 (edebug-make-before-and-after-form, edebug-make-after-form):
4689 Use backquote.
4690 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
4691 Not dynamically scoped any more.
4692 (edebug--enter-trace): Add arguments `function' and `args'.
4693 Rename from edebug-enter-trace.
4694 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
4695 (edebug--update-coverage): Add `after-index' and `value' args.
4696 Rename from edebug-update-coverage.
4697 (edebug-slow-after): Call it accordingly.
4698 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
4699 edebug-recursive-edit.
4700 (edebug--display): Call it accordingly. Add args `value',
4701 `offset-index', and `arg-mode'. Rename from edebug-display.
4702 (edebug-debugger, edebug): Call it accordingly.
4703 (edebug-eval-display-list): Use dolist.
4704
4705 2012-09-12 Juri Linkov <juri@jurta.org>
4706
4707 * info.el (Info-search): Don't check for isearch-mode and
4708 isearch-regexp before let-binding search-spaces-regexp to
4709 Info-search-whitespace-regexp.
4710 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
4711 search-whitespace-regexp if isearch-lax-whitespace or
4712 isearch-regexp-lax-whitespace is non-nil.
4713 (Info-mode): Don't set local variable search-whitespace-regexp.
4714 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
4715
4716 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4717
4718 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
4719 (debugger-env-macro): Remove support for unread-command-char.
4720
4721 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
4722 the temporary map re-appearing on emulation-mode-map-alists.
4723
4724 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
4725 since 22.1.
4726
4727 * ehelp.el (with-electric-help): Accept functions in
4728 electric-help-form-to-execute.
4729 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
4730 And replace unread-command-char -> unread-command-events.
4731
4732 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
4733
4734 Sync with Tramp 2.2.6.
4735
4736 * net/tramp.el (tramp-accept-process-output): Don't use
4737 JUST-THIS-ONE in the XEmacs case.
4738
4739 * net/trampver.el: Update release number.
4740
4741 2012-09-12 Martin Rudalics <rudalics@gmx.at>
4742
4743 * emacs-lisp/debug.el (debugger-previous-window-height):
4744 New variable.
4745 (debug): When debugger-jumping-flag is non-nil try to restore
4746 height of debugger window. (Bug#8789)
4747
4748 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4749
4750 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
4751 overriding-local-map and pre/post-command-hook here.
4752 (edebug-recursive-edit): Do it here instead (bug#12345).
4753 (edebug-outside-unread-command-char): Remove all uses of
4754 unread-command-char.
4755
4756 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
4757 inhibit-debugger is bound instead.
4758
4759 2012-09-11 Bastien Guerry <bzg@gnu.org>
4760
4761 * subr.el (set-temporary-overlay-map): Add a docstring.
4762 (Bug#12346)
4763
4764 2012-09-11 Bastien Guerry <bzg@gnu.org>
4765
4766 * minibuffer.el (completion-table-subvert): Fix docstring.
4767 (Bug#12347)
4768
4769 2012-09-11 Bastien Guerry <bzg@gnu.org>
4770
4771 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
4772
4773 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
4774
4775 * progmodes/sql.el: Version 3.1
4776 (sql-db2-escape-newlines): New variable.
4777 (sql-escape-newlines-filter): Use it.
4778
4779 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
4780
4781 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
4782
4783 2012-09-10 Dan Nicolaescu <dann@gnu.org>
4784
4785 * vc/diff-mode.el (diff-mode-menu):
4786 Bind diff-remove-trailing-whitespace.
4787
4788 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4789
4790 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
4791 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
4792 (emacs-lisp-byte-code-mode): New functions.
4793 (eval-sexp-add-defvars): Don't skip defvars in column >0.
4794 (eval-defun-2): Remove bogus interactive spec.
4795 (lisp-indent-line): Remove redundant whole-exp code, now done in
4796 indent-according-to-mode.
4797 (save-match-data): Remove redundant indent data.
4798
4799 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
4800 Use `declare'.
4801
4802 2012-09-09 Juri Linkov <juri@jurta.org>
4803
4804 * replace.el (replace-regexp-lax-whitespace): New defcustom.
4805 (replace-lax-whitespace, query-replace-regexp)
4806 (query-replace-regexp-eval, replace-regexp): Doc fix.
4807 (perform-replace, replace-highlight): Let-bind
4808 isearch-lax-whitespace to replace-lax-whitespace and
4809 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
4810
4811 * isearch.el (isearch-query-replace): Let-bind
4812 replace-lax-whitespace to isearch-lax-whitespace and
4813 replace-regexp-lax-whitespace to
4814 isearch-regexp-lax-whitespace. (Bug#10885)
4815
4816 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
4817
4818 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
4819
4820 2012-09-09 Alan Mackenzie <acm@muc.de>
4821
4822 * progmodes/cc-engine.el (c-state-cache-init):
4823 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
4824 (c-record-parse-state-state):
4825 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
4826
4827 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
4828
4829 * register.el (register-separator): Rename from
4830 separator-register. All uses changed. Doc fix.
4831 (register): Fix version.
4832
4833 2012-09-09 Chong Yidong <cyd@gnu.org>
4834
4835 * replace.el (query-replace-map): Bind four new symbols for
4836 requesting window scrolling.
4837
4838 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
4839 query-replace-map (Bug#8948).
4840
4841 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
4842
4843 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
4844 since they are now in query-replace-map.
4845
4846 * window.el (scroll-other-window-down): Make the arg optional.
4847
4848 2012-09-09 Chong Yidong <cyd@gnu.org>
4849
4850 * files.el (hack-local-variables-confirm): Use quit-window to kill
4851 the *Local Variables* buffer.
4852
4853 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
4854
4855 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
4856 not just expect to be at its beginning. Adjust callees.
4857 Succeed when do-end block has no space before the pipe character.
4858 (ruby-brace-to-do-end): When the original block is one-liner,
4859 convert to multiline. Reindent the result.
4860
4861 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
4862
4863 * register.el (register): New group.
4864 (separator-register): New user option.
4865 (increment-register): Route it to `append-to-register', if
4866 register contains text. Implication is that `C-x r +' can now be
4867 used for appending to a text register (bug#12217).
4868 (append-to-register, prepend-to-register): Add separator based on
4869 `separator-register'.
4870
4871 2012-09-08 Alan Mackenzie <acm@muc.de>
4872
4873 AWK Mode: make auto-newline work when there's "==" in the pattern.
4874 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
4875 correctly.
4876 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
4877 Test more rigorously for "=" token.
4878
4879 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
4880
4881 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
4882 Only fail when reached LIMIT.
4883
4884 2012-09-08 Chong Yidong <cyd@gnu.org>
4885
4886 * dired.el (dired-mode-map): Don't bind M-=.
4887
4888 * dired-aux.el (dired-diff): Use backup file as default.
4889
4890 2012-09-08 Drew Adams <drew.adams@oracle.com>
4891
4892 * subr.el (add-to-history): Fix delete usage (Bug#12314).
4893
4894 2012-09-08 Chong Yidong <cyd@gnu.org>
4895
4896 * subr.el (syntax-after, syntax-class): Doc fix.
4897
4898 2012-09-08 Martin Rudalics <rudalics@gmx.at>
4899
4900 * window.el (display-buffer-in-previous-window): New buffer
4901 display action function.
4902
4903 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
4904 (debugger-previous-window): New variable.
4905 (debug): Rewrite using display-buffer-in-previous-window,
4906 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
4907
4908 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
4909
4910 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
4911
4912 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
4913
4914 * progmodes/python.el (python-shell-send-string):
4915 When default-directory is remote, create temp file on remote
4916 filesystem.
4917 (python-shell-send-file): When file is remote, pass local view of
4918 file paths to remote Python interpreter. (Bug#12340)
4919
4920 2012-09-07 Chong Yidong <cyd@gnu.org>
4921
4922 * window.el (switch-to-buffer): Doc fix (Bug#12181).
4923
4924 * files.el (after-find-file): Don't fail on a read-only buffer if
4925 require-final-newline is `visit' or `visit-save' (Bug#11156).
4926
4927 * subr.el (read-char-choice): Allow quitting via ESC ESC.
4928
4929 * userlock.el (ask-user-about-supersession-threat):
4930 Use read-char-choice (Bug#12093).
4931
4932 2012-09-07 Chong Yidong <cyd@gnu.org>
4933
4934 * subr.el (buffer-narrowed-p): New function.
4935
4936 * ses.el (ses-widen):
4937 * simple.el (count-words--buffer-message):
4938 * net/browse-url.el (browse-url-of-buffer): Use it.
4939
4940 * simple.el (count-words-region): Don't signal an error if there
4941 is a non-nil prefix arg and the mark is not set.
4942
4943 * help.el (describe-key-briefly): Allow the message to be seen
4944 when invoked from the minibuffer (Bug#7014).
4945
4946 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
4947
4948 * progmodes/ruby-mode.el (ruby-end-of-defun)
4949 (ruby-beginning-of-defun): Simplify, allow indentation before
4950 block beginning and end keywords.
4951 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
4952 (ruby-end-of-defun): Expect that the point is at the beginning of
4953 the defun.
4954
4955 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4956
4957 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
4958 (bug#12367).
4959 (cl--make-usage-args): Strip _ from argument names.
4960
4961 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4962
4963 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
4964 obsolete alias speedbar-key-map.
4965 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
4966 (vhdl-index-menu-init): Don't use obsolete variable
4967 font-lock-maximum-size.
4968
4969 2012-09-06 Chong Yidong <cyd@gnu.org>
4970
4971 * frame.el (window-system-version): Mark as obsolete.
4972
4973 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
4974 of obsolete variable speedbar-key-map.
4975
4976 2012-09-06 Juri Linkov <juri@jurta.org>
4977
4978 * replace.el (replace-lax-whitespace): New defcustom.
4979 (query-replace, query-replace-regexp, query-replace-regexp-eval)
4980 (replace-string, replace-regexp): Mention it in docstrings.
4981 (perform-replace, replace-highlight): Let-bind
4982 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
4983 to the values of replace-lax-whitespace and regexp-flag.
4984 Don't let-bind search-whitespace-regexp. (Bug#10885)
4985
4986 * isearch.el (isearch-query-replace): Let-bind
4987 replace-lax-whitespace instead of let-binding
4988 replace-search-function and replace-re-search-function.
4989 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
4990 and isearch-regexp-lax-whitespace to lazy-highlight variables.
4991 (isearch-toggle-symbol): Set isearch-regexp to nil
4992 in isearch-word mode (like in isearch-toggle-word).
4993
4994 2012-09-06 Juri Linkov <juri@jurta.org>
4995
4996 * replace.el (replace-search-function)
4997 (replace-re-search-function): Set default values to nil.
4998 (perform-replace): Let-bind isearch-related variables based on
4999 replace-related values, call `isearch-search-fun' and let-bind
5000 the result to `search-function'. Remove code that sets
5001 `search-function' and `search-string' separately for
5002 `delimited-flag'.
5003 (replace-highlight): Add new argument `delimited-flag' and
5004 rename other arguments to the names used in `perform-replace'.
5005 Let-bind `isearch-word' to the argument `delimited-flag'.
5006 (Bug#10885, bug#10887)
5007
5008 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
5009
5010 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
5011 ruby-beginning-of-indent, simplify, allow all keywords to have
5012 indentation before them.
5013 (ruby-beginning-of-indent): Adjust for above. Search until the
5014 found point is not inside a string or comment.
5015 (ruby-font-lock-keywords): Allow symbols to start with "@"
5016 character, give them higher priority than variables.
5017 (ruby-syntax-propertize-function)
5018 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
5019 matchers. Expression expansions are not comments when inside a
5020 string, and there comment syntax status is irrelevant.
5021 (ruby-match-expression-expansion): New function. Check that
5022 expression expansion is inside a string, and it's not escaped.
5023 (ruby-font-lock-keywords): Use it.
5024
5025 2012-09-05 Martin Rudalics <rudalics@gmx.at>
5026
5027 * help.el (temp-buffer-max-height): New default value.
5028 (temp-buffer-resize-frames): New option.
5029 (resize-temp-buffer-window): Optionally resize frame.
5030
5031 * window.el (fit-frame-to-buffer-bottom-margin): New option.
5032 (fit-frame-to-buffer): New function.
5033
5034 2012-09-05 Glenn Morris <rgm@gnu.org>
5035
5036 * emulation/cua-rect.el (cua--init-rectangles):
5037 * textmodes/picture.el (picture-mode-map):
5038 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
5039 like forward-char and backward-char. (Bug#12317)
5040
5041 2012-09-05 Leo Liu <sdl.web@gmail.com>
5042
5043 * progmodes/flymake.el (flymake-warning-re): New variable.
5044 (flymake-parse-line): Use it.
5045
5046 2012-09-05 Glenn Morris <rgm@gnu.org>
5047
5048 * calendar/holidays.el (holiday-christian-holidays):
5049 Rename an entry. (Bug#12289)
5050
5051 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5052
5053 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
5054 (bug#12222).
5055
5056 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5057
5058 * loadup.el: Load macroexp. Remove hack.
5059 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
5060 (macroexp--expand-all): Use it to get better warnings.
5061 (macroexp--backtrace, macroexp--trim-backtrace-frame)
5062 (internal-macroexpand-for-load): New functions.
5063 (macroexp--pending-eager-loads): New var.
5064 (emacs-startup-hook): New hack to replace one in loadup.el.
5065 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
5066 (cl--compiler-macro-cXXr): Move to top, before they can be used.
5067 (cl-psetf): Simplify.
5068 (cl-defstruct): Add indent rule.
5069
5070 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
5071
5072 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
5073 over `user-mail-address' for the SMTP MAIL FROM envelope.
5074 (smtpmail-via-smtp): Ditto.
5075
5076 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
5077
5078 * progmodes/ruby-mode.el: Clean up keybindings.
5079 (ruby-mode-map): Don't bind ruby-electric-brace,
5080 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
5081 backward-kill-word, reindent-then-newline-and-indent.
5082 (ruby-mark-defun): Remove.
5083 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
5084 (ruby-mode): Set local beginning-of-defun-function and
5085 end-of-defun-function values.
5086
5087 2012-09-03 Martin Rudalics <rudalics@gmx.at>
5088
5089 * window.el (temp-buffer-window-setup-hook)
5090 (temp-buffer-window-show-hook): New hooks.
5091 (temp-buffer-window-setup, temp-buffer-window-show)
5092 (with-temp-buffer-window): New functions.
5093 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
5094 (special-display-popup-frame): Make sure the window used shows BUFFER.
5095
5096 * help.el (temp-buffer-resize-mode): Fix doc-string.
5097 (resize-temp-buffer-window): New optional argument WINDOW.
5098
5099 * files.el (recover-file, save-buffers-kill-emacs):
5100 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
5101
5102 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
5103
5104 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
5105 remote definition of `default-directory', ensure we can connect.
5106
5107 2012-09-02 Juri Linkov <juri@jurta.org>
5108
5109 Toggle whitespace matching mode with M-s SPC.
5110 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
5111
5112 * isearch.el (search-whitespace-regexp): Doc fix.
5113 Remove cons cell customization.
5114 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
5115 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
5116 New variables.
5117 (isearch-forward, isearch-forward-regexp): Doc fix.
5118 (isearch-toggle-lax-whitespace): New command.
5119 (search-forward-lax-whitespace, search-backward-lax-whitespace)
5120 (re-search-forward-lax-whitespace)
5121 (re-search-backward-lax-whitespace): New functions.
5122 (isearch-whitespace-regexp): Remove function.
5123 (isearch-query-replace): Let-bind replace-search-function and
5124 replace-re-search-function.
5125 (isearch-occur): Let-bind search-spaces-regexp according to the
5126 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
5127 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
5128 condition for C-q SPC.
5129 (isearch-search-fun-default): Use new functions mentioned above.
5130 (isearch-search-forward, isearch-search-backward): Remove functions.
5131 (isearch-search): Don't let-bind search-spaces-regexp.
5132 (isearch-lazy-highlight-space-regexp): Remove variable.
5133 (isearch-lazy-highlight-lax-whitespace)
5134 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
5135 (isearch-lazy-highlight-new-loop): Use them.
5136 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
5137
5138 2012-09-02 Chong Yidong <cyd@gnu.org>
5139
5140 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
5141
5142 2012-09-02 Glenn Morris <rgm@gnu.org>
5143
5144 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
5145
5146 2012-09-01 Glenn Morris <rgm@gnu.org>
5147
5148 * term.el: Tidy up menu definitions.
5149 (term-mode-map): Use easymenu for In/Out, Complete menus.
5150 (term-pager-break-map): Initialize in the defvar.
5151 (term-terminal-menu, term-signals-menu): Define with easymenu.
5152 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
5153 (term-pager-menu): New, extracted from term-process-pager.
5154 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
5155 (term-update-mode-line): Propertize line/char and page items.
5156 (term-process-pager): Move keymap initialization elsewhere.
5157
5158 2012-09-01 Martin Rudalics <rudalics@gmx.at>
5159
5160 * window.el (switch-to-prev-buffer): Handle additional values of
5161 BURY-OR-KILL argument. Don't switch in minibuffer window.
5162 (switch-to-next-buffer): Don't switch in minibuffer window.
5163 (quit-restore-window): New function based on quit-window.
5164 Handle additional values of former KILL argument.
5165 (quit-window): Call quit-restore-window with appropriate
5166 interpretation of KILL argument.
5167 (display-buffer-below-selected): New buffer display action
5168 function.
5169
5170 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
5171
5172 * minibuffer.el (completion-at-point-functions): Complete docstring
5173 (bug#12254).
5174
5175 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
5176
5177 Better seed support for (random).
5178 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
5179 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
5180 * play/mpuz.el, play/tetris.el, play/zone.el:
5181 * calc/calc-comb.el (math-init-random-base):
5182 * play/blackbox.el (bb-init-board):
5183 * play/life.el (life):
5184 * server.el (server-use-tcp):
5185 * type-break.el (type-break):
5186 Remove unnecessary call to (random t).
5187 * net/sasl.el (sasl-unique-id-function):
5188 Change (random t) to (random), now that the latter is more random.
5189 * play/life.el (life-initialized): Remove no-longer-needed var.
5190
5191 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
5192
5193 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
5194 Consider frame's buffer predicate when choosing the buffer.
5195 (Bug#12081)
5196
5197 2012-08-30 Richard Stallman <rms@gnu.org>
5198
5199 * simple.el (special-mode-map): Delete binding for `z'.
5200
5201 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
5202
5203 * progmodes/compile.el (compilation-always-kill): Doc fix.
5204
5205 2012-08-30 Chong Yidong <cyd@gnu.org>
5206
5207 * window.el (display-buffer-reuse-frames): Make the obsolescence
5208 message more informative.
5209
5210 2012-08-30 Glenn Morris <rgm@gnu.org>
5211
5212 * paren.el (show-paren-delay):
5213 Add a :set function. Doc fix. (Bug#12297)
5214
5215 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
5216
5217 * progmodes/compile.el (compilation-always-kill): New var.
5218 (compilation-start): Use it.
5219
5220 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5221
5222 * simple.el (read-only-mode): Move from files.el for bootstrapping.
5223 * files.el (read-only-mode): Move to simple.el.
5224
5225 * files.el (read-only-mode): New minor mode.
5226 (toggle-read-only): Use it and mark obsolete.
5227 (find-file--read-only):
5228 * vc/vc.el (vc-next-action, vc-checkout):
5229 * vc/vc-cvs.el (vc-cvs-checkout):
5230 * obsolete/vc-mcvs.el (vc-mcvs-update):
5231 * ffap.el (ffap--toggle-read-only): Update callers.
5232
5233 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
5234
5235 * eshell/esh-ext.el (eshell-external-command): Do not examine
5236 remote shell scripts.
5237 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
5238
5239 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
5240 "/usr/local/sbin".
5241
5242 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5243
5244 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
5245
5246 2012-08-28 Leo Liu <sdl.web@gmail.com>
5247
5248 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
5249 completion-at-point. (Bug#12220)
5250
5251 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
5252
5253 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
5254
5255 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5256
5257 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
5258 be buffer-local; add delete-trailing-whitespace (bug#12259).
5259
5260 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
5261
5262 * progmodes/hideif.el (hif-compress-define-list):
5263 Fix typo. (Bug#11951)
5264
5265 2012-08-28 Dan Nicolaescu <dann@gnu.org>
5266
5267 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
5268 buffer local setting.
5269
5270 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
5271 rcirc-encode-coding-system.
5272
5273 2012-08-28 Leo Liu <sdl.web@gmail.com>
5274
5275 * net/rcirc.el (rcirc-split-message): New function.
5276 (rcirc-send-message): Use it. (Bug#12051)
5277
5278 2012-08-28 Juri Linkov <juri@jurta.org>
5279
5280 * info.el (Info-fontify-node): Hide empty lines at the end of
5281 the node. (Bug#12272)
5282
5283 2012-08-27 Drew Adams <drew.adams@oracle.com>
5284
5285 * dired.el (dired-pop-to-buffer): Make window start at beginning
5286 of buffer (Bug#12281).
5287
5288 2012-08-26 Chong Yidong <cyd@gnu.org>
5289
5290 * window.el (special-display-regexps, special-display-frame-alist)
5291 (special-display-buffer-names, special-display-function)
5292 (display-buffer-reuse-frames): Mark as obsolete.
5293
5294 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
5295
5296 * help.el (help-print-return-message): Don't treat
5297 display-buffer-reuse-frames specially.
5298
5299 2012-08-26 Chong Yidong <cyd@gnu.org>
5300
5301 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
5302 New variable, replacing gdb-frame-parameters.
5303 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
5304 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
5305 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
5306 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
5307 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
5308 the functions directly with gdb-display-buffer-other-frame-action.
5309 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
5310 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
5311 (gdb-display-stack-buffer, gdb-display-locals-buffer)
5312 (gdb-display-registers-buffer): Define directly.
5313 (def-gdb-display-buffer): Macro deleted.
5314 (gdb-display-buffer): Remove second and third args, callers don't
5315 use them. Defer to the default display-buffer behavior, apart
5316 from making windows dedicated.
5317 (gdb-setup-windows): Don't call display-buffer unnecessarily.
5318
5319 * progmodes/gud.el (gud-display-line): Just use display-buffer.
5320
5321 * window.el (display-buffer-pop-up-frame): Handle a
5322 pop-up-frame-parameters alist entry.
5323 (display-buffer): Document it.
5324
5325 2012-08-26 Chong Yidong <cyd@gnu.org>
5326
5327 * isearch.el (search-whitespace-regexp): Make string and nil
5328 values apply to both ordinary and regexp search. Allow a cons
5329 cell value to distinguish between the two.
5330 (isearch-whitespace-regexp, isearch-search-forward)
5331 (isearch-search-backward): New functions.
5332 (isearch-occur, isearch-search-fun-default, isearch-search)
5333 (isearch-lazy-highlight-new-loop): Use them.
5334 (isearch-forward, isearch-forward-regexp): Doc fix.
5335
5336 2012-08-26 Chong Yidong <cyd@gnu.org>
5337
5338 * faces.el (help-argument-name): Always inherit from italic
5339 (Bug#12213).
5340
5341 2012-08-25 Martin Rudalics <rudalics@gmx.at>
5342
5343 * window.el (window--even-window-heights): Even heights when
5344 WINDOW and the selected window form a vertical combination.
5345 (display-buffer-use-some-window): Provide that window used gets
5346 sized back by quit-window. (Bug#11880) and (Bug#12091)
5347
5348 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
5349
5350 Fix file time stamp problem with bzr and CVS (Bug#12001).
5351 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
5352 in the file's time stamp, since the version control system loses
5353 that information.
5354
5355 2012-08-22 Juri Linkov <juri@jurta.org>
5356
5357 * info.el (Info-fontify-node): Hide the suffix of the
5358 Info file name in the header line. (Bug#12187)
5359
5360 2012-08-22 Glenn Morris <rgm@gnu.org>
5361
5362 * calendar/cal-tex.el (cal-tex-weekly-common):
5363 Restore leading blank page.
5364
5365 2012-08-22 Le Wang <l26wang@gmail.com>
5366
5367 * misc.el (forward-to-word, backward-to-word): Activate or extend
5368 the region under `shift-select-mode'. (Bug#12231)
5369
5370 2012-08-22 Bastien Guerry <bzg@gnu.org>
5371
5372 * progmodes/executable.el (executable-prefix): Set to "#!" instead
5373 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
5374 gives details on why the space is never needed.
5375
5376 2012-08-22 Martin Rudalics <rudalics@gmx.at>
5377
5378 * window.el (walk-window-tree, window-with-parameter):
5379 New optional argument MINIBUF to control whether these functions
5380 should run on the minibuffer window.
5381 (window-at-side-list): Don't operate on minibuffer window.
5382 (window-in-direction): Simplify and rewrite doc-string.
5383 (window--size-ignore): Rename to window--size-ignore-p.
5384 Update callers.
5385 (display-buffer-in-atom-window, window--major-non-side-window)
5386 (window--major-side-window, display-buffer-in-major-side-window)
5387 (delete-side-window, display-buffer-in-side-window):
5388 New functions.
5389 (window--side-check, window-deletable-p, delete-window)
5390 (delete-other-windows, split-window): Handle side windows and
5391 atomic windows appropriately.
5392 (window--display-buffer): Call display-buffer-record-window also
5393 when the window buffer did not change.
5394
5395 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
5396
5397 * help-fns.el (help-fns--key-bindings):
5398 Abbreviate non-symbol remap targets. (Bug#12174)
5399
5400 2012-08-22 Martin Rudalics <rudalics@gmx.at>
5401
5402 * dired.el (dired-mark-remembered): Don't clobber point.
5403 (Bug#11795)
5404
5405 2012-08-22 Glenn Morris <rgm@gnu.org>
5406
5407 * progmodes/bug-reference.el (bug-reference): New custom group.
5408 (bug-reference-bug-regexp): Make it a defcustom.
5409
5410 2012-08-22 Daiki Ueno <ueno@unixuser.org>
5411
5412 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
5413 (js-paren-indent-offset, js-square-indent-offset)
5414 (js-curly-indent-offset): Add :safe (Bug#12257).
5415
5416 2012-08-22 Edward O'Connor <hober0@gmail.com>
5417
5418 * json.el (json-key-format): Add error properties.
5419 (json-encode-key): New function.
5420 (json-encode-hash-table, json-encode-alist, json-encode-plist):
5421 Use json-encode-key.
5422
5423 2012-08-22 Glenn Morris <rgm@gnu.org>
5424
5425 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
5426 (cal-tex-leftday, cal-tex-rightday): Remove functions.
5427 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
5428 Update for above change.
5429
5430 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
5431
5432 * cus-face.el (custom-face-attributes): Fix customize type for the
5433 :underline attribute. (Bug#11805)
5434
5435 2012-08-21 Martin Rudalics <rudalics@gmx.at>
5436
5437 * window.el (window-point-1, set-window-point-1): Remove.
5438 (window-in-direction, record-window-buffer)
5439 (set-window-buffer-start-and-point, split-window-below)
5440 (window--state-get-1, display-buffer-record-window):
5441 Replace calls to window-point-1 and set-window-point-1 by calls to
5442 window-point and set-window-point respectively.
5443
5444 2012-08-21 Glenn Morris <rgm@gnu.org>
5445
5446 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
5447 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
5448 Use it.
5449
5450 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
5451 (cal-tex-shortday): New function.
5452 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
5453 (cal-tex-cursor-filofax-daily): Use the above.
5454
5455 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
5456 New functions.
5457 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
5458 (cal-tex-cursor-filofax-week): Use them.
5459
5460 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
5461 New constants.
5462 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
5463 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
5464
5465 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
5466 (cal-tex-end-document): Don't rely on buffer name.
5467
5468 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
5469 Use cal-tex-vspace.
5470 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
5471 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
5472 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
5473 Use cal-tex-arg.
5474
5475 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
5476 (cal-tex-cursor-week, cal-tex-cursor-week2)
5477 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
5478 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
5479 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
5480 (cal-tex-insert-preamble, cal-tex-b-document)
5481 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
5482 Improve cal-tex-cmd usage.
5483
5484 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
5485 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
5486 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
5487 (cal-tex-weekly-paper): New function.
5488 (cal-tex-cursor-week, cal-tex-cursor-week2)
5489 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
5490 (cal-tex-cursor-day): Use it.
5491
5492 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
5493 (cal-tex-cursor-filofax-week): Remove leading blank page.
5494
5495 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
5496 Add autoload cookie. For now at least, don't use color, since
5497 no other cal-tex function does.
5498
5499 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
5500 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
5501 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
5502
5503 2012-08-21 Juri Linkov <juri@jurta.org>
5504
5505 * info.el (Info-file-attributes): New variable.
5506 (info-insert-file-contents): Add file attributes to
5507 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
5508 `Info-toc-nodes' when previous modtime of the Info file is less
5509 than new modtime.
5510 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
5511 of info.el. (Bug#12230)
5512
5513 2012-08-20 Glenn Morris <rgm@gnu.org>
5514
5515 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
5516 * calendar/holidays.el (calendar-holiday-list):
5517 Report errors with display-warning rather than beep'n'sleep.
5518
5519 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
5520
5521 * net/tramp.el (tramp-accept-process-output): Accept only output
5522 from PROC. Otherwise, process filters and sentinels might be
5523 confused. (Bug#12145)
5524
5525 2012-08-20 Chong Yidong <cyd@gnu.org>
5526
5527 * descr-text.el (describe-text-properties-1): Use overlays-in to
5528 report on empty overlays (Bug#3322).
5529
5530 2012-08-20 Glenn Morris <rgm@gnu.org>
5531
5532 * mail/rmailout.el (rmail-output-read-file-name):
5533 Trap and report errors in rmail-output-file-alist elements.
5534
5535 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
5536 since most non-font-lock faces are not also variables).
5537
5538 2012-08-20 Edward Reingold <reingold@iit.edu>
5539
5540 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
5541 New function. (Bug12160)
5542
5543 2012-08-19 Glenn Morris <rgm@gnu.org>
5544
5545 * mail/rmailout.el (rmail-output-read-file-name):
5546 Fix previous change (when the alist is nil or does not match).
5547
5548 2012-08-19 Chong Yidong <cyd@gnu.org>
5549
5550 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
5551 (Bug#12228).
5552
5553 2012-08-18 Chong Yidong <cyd@gnu.org>
5554
5555 * simple.el (yank-handled-properties): New defcustom.
5556 (yank-excluded-properties): Add font-lock-face and category.
5557 (yank): Doc fix.
5558
5559 * subr.el (remove-yank-excluded-properties):
5560 Obey yank-handled-properties. The special handling of font-lock-face
5561 and category is now done this way, instead of being hard-coded.
5562 (insert-for-yank-1): Remove font-lock-face handling.
5563 (yank-handle-font-lock-face-property)
5564 (yank-handle-category-property): New function.
5565
5566 2012-08-17 Glenn Morris <rgm@gnu.org>
5567
5568 * mail/rmailout.el (rmail-output-read-file-name):
5569 Check rmail-output-file-alist against the full message body
5570 in the correct rmail buffer. (Bug#12214)
5571
5572 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
5573
5574 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
5575 Eliminate superfluous prompt. (Bug#12203)
5576
5577 2012-08-17 Chong Yidong <cyd@gnu.org>
5578
5579 * mouse.el (mouse-appearance-menu): If x-select-font returns a
5580 font spec, set the font directly (Bug#3228).
5581
5582 2012-08-17 Martin Rudalics <rudalics@gmx.at>
5583
5584 * window.el (delete-window): Fix last fix.
5585
5586 2012-08-16 Martin Rudalics <rudalics@gmx.at>
5587
5588 * window.el (window-valid-p): Move to window.c.
5589 (window-child, window-child-count, window-last-child)
5590 (window-normalize-window, window-combined-p)
5591 (window-combinations, window-atom-root, window-min-size)
5592 (window-sizable, window-sizable-p, window-size-fixed-p)
5593 (window-min-delta, window-max-delta, window--resizable)
5594 (window--resizable-p, window-resizable, window-total-size)
5595 (window-full-height-p, window-full-width-p, window-body-size)
5596 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
5597 (minimize-window, window-deletable-p, delete-window)
5598 (delete-other-windows, set-window-buffer-start-and-point)
5599 (next-buffer, previous-buffer, split-window, balance-windows-2)
5600 (set-window-text-height, window-buffer-height)
5601 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
5602 (truncated-partial-width-window-p): Minor code adjustments.
5603 In doc-strings state whether the argument window has to denote a
5604 live, valid or any window.
5605
5606 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
5607
5608 * progmodes/subword.el (subword-forward-function)
5609 (subword-backward-function, subword-forward-regexp)
5610 (subword-backward-regexp): New variables.
5611 (subword-forward, subword-forward-internal, subword-backward-internal):
5612 Use new variables, eg so that different "word" definitions
5613 can be easily used. (Bug#11411)
5614
5615 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5616
5617 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
5618 for composite selectors.
5619 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
5620 operation just because we can't find a previous revision.
5621
5622 2012-08-15 Chong Yidong <cyd@gnu.org>
5623
5624 * frame.el (set-frame-font): Accept font objects.
5625
5626 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5627
5628 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
5629
5630 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
5631
5632 * man.el (Man-overstrike-face, Man-underline-face)
5633 (Man-reverse-face): Remove variables.
5634 (Man-overstrike, Man-underline, Man-reverse): New faces.
5635 (Man-fontify-manpage): Use them instead of the variables.
5636 (Man-cleanup-manpage): Comment change.
5637 (Man-ansi-color-map): New variable.
5638 (Man-fontify-manpage): Use it.
5639 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
5640
5641 Implement ANSI SGR parameters 22-27 (bug#12146).
5642 * ansi-color.el (ansi-colors): Doc fix.
5643 (ansi-color-context, ansi-color-context-region): Doc fix.
5644 (ansi-color--find-face): New function.
5645 (ansi-color-apply, ansi-color-apply-on-region): Use it.
5646 Rename the local variable `face' to `codes' since it is now a list of
5647 ansi codes. Doc fix.
5648 (ansi-color-get-face): Remove.
5649 (ansi-color-parse-sequence): New function, derived from
5650 ansi-color-get-face.
5651 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
5652 codes 22-27.
5653
5654 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
5655
5656 * subr.el (read-passwd): Allow use from a minibuffer.
5657
5658 2012-08-14 Eli Zaretskii <eliz@gnu.org>
5659
5660 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
5661 inside comments and strings as identifiers.
5662
5663 * progmodes/gud.el (gud-tooltip-print-command): Quote the
5664 expression to evaluate. This allows to evaluate expressions with
5665 embedded whitespace.
5666 (gud-tooltip-tips): Add a blank before the newline in the
5667 message-box text, for the benefit of message-box emulation on
5668 MS-Windows.
5669
5670 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
5671 messages from GDB, pop them up in a tooltip to give feedback to
5672 user.
5673 (gdb-tooltip-print-1): Quote the expression to evaluate.
5674 This allows to evaluate expressions with embedded whitespace.
5675 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
5676 if the TTY name is nil or empty (which happens when communicating
5677 with the inferior via pipes, e.g. on MS-Windows).
5678 (gdb-internals): If GDB sends a "&\n" empty debugging message,
5679 don't send that to the GUD buffer.
5680
5681 2012-08-14 Glenn Morris <rgm@gnu.org>
5682
5683 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
5684 Optimize away setq-default with no args, as for setq. (Bug#12195)
5685
5686 2012-08-14 Chong Yidong <cyd@gnu.org>
5687
5688 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
5689
5690 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
5691 (Bug#12085).
5692
5693 2012-08-14 Glenn Morris <rgm@gnu.org>
5694
5695 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
5696
5697 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
5698
5699 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
5700 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5701 Use cached shell name.
5702
5703 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
5704
5705 * progmodes/python.el (python-shell-send-string):
5706 (python-shell-send-setup-code): Do not use `format' with `message'.
5707
5708 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
5709
5710 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
5711 (ruby-percent-literal-beg-re): New constant.
5712 (ruby-syntax-general-delimiters-goto-beg): Rename to
5713 `ruby-syntax-enclosing-percent-literal', improve literal type check.
5714 (ruby-syntax-propertize-general-delimiters): Rename to
5715 `ruby-syntax-propertize-percent-literal', it's a shorter and more
5716 popular term. Adjust comments everywhere.
5717 (ruby-syntax-propertize-percent-literal): Only propertize when not
5718 inside a simple string or comment. When the literal is unclosed,
5719 leave the text after it unpropertized.
5720 (ruby-syntax-methods-before-regexp): New constant.
5721 (ruby-syntax-propertize-function): Use it to recognize regexps.
5722 Don't look at the text after regexp, just use the whitelist.
5723
5724 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
5725
5726 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
5727 non-nil always load the compiled file if it exists. (Bug#12197)
5728
5729 2012-08-14 Chong Yidong <cyd@gnu.org>
5730
5731 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
5732 (hi-lock-set-pattern): When deciding whether to use font lock or
5733 overlays, look at font-lock-mode instead of font-lock-fontified
5734 (Bug#12168).
5735 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
5736 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
5737
5738 2012-08-14 Daiki Ueno <ueno@unixuser.org>
5739
5740 * subr.el (internal--after-with-selected-window): Fix typo
5741 (Bug#12193).
5742
5743 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
5744
5745 Use `completion-table-dynamic' for completion functions.
5746 * progmodes/python.el
5747 (python-shell-completion--do-completion-at-point)
5748 (python-shell-completion--get-completions):
5749 Remove functions.
5750 (python-shell-completion-complete-at-point): New function.
5751 (python-completion-complete-at-point): Use it.
5752
5753 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
5754
5755 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
5756 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
5757
5758 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5759
5760 * subr.el (function-get): Refine `autoload' arg so it can also
5761 autoload functions for gv.el (bug#12191).
5762 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
5763 autoloads macros.
5764
5765 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
5766 Prefer pcase-let over destructuring-bind.
5767 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
5768 Also, remove whitespace as we go, rather than after accumulating the
5769 various places.
5770
5771 * subr.el (internal--before-with-selected-window)
5772 (internal--after-with-selected-window): Fix typo seleted->selected.
5773 (with-selected-window): Adjust callers.
5774 Reported by Dmitry Gutov <dgutov@yandex.ru>.
5775
5776 2012-08-13 Bastien Guerry <bzg@gnu.org>
5777
5778 * window.el (special-display-popup-frame): Minor docstring
5779 enhancement. (Bug#12172)
5780
5781 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
5782
5783 * tar-mode.el (tar-header-data-end): Only ignore size for files of
5784 type 1-6.
5785 (tar-header-block-summarize, tar-get-descriptor): Handle pax
5786 extended headers.
5787
5788 * files.el (hack-local-variables-filter): Remove useless eval.
5789
5790 2012-08-13 Martin Rudalics <rudalics@gmx.at>
5791
5792 * subr.el (with-selected-window): Fix last change.
5793
5794 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5795
5796 * subr.el (internal--before-with-seleted-window)
5797 (internal--after-with-seleted-window): New functions.
5798 (with-selected-window): Use them, to replace dependency on
5799 tty-top-frame.
5800
5801 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
5802
5803 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
5804 binding for `newline'.
5805 (ruby-move-to-block): When moving backward, stop at block opening,
5806 not indentation.
5807 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
5808 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
5809 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
5810 `ruby-toggle-block'.
5811
5812 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5813
5814 * ibuffer.el (ibuffer-do-toggle-read-only):
5815 * dired.el (dired-toggle-read-only):
5816 * buff-menu.el (Buffer-menu-toggle-read-only):
5817 * bindings.el (mode-line-toggle-read-only):
5818 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
5819
5820 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
5821
5822 * descr-text.el (describe-char): Put the overlays over the
5823 "displayed as" character.
5824
5825 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
5826
5827 * calc/calc-units.el (math-default-units-table): Give an
5828 initial value.
5829 (math-put-default-units): Add options to put composite units and
5830 unit systems in the default units table.
5831 (calc-convert-units): Send composite units to
5832 `math-put-default-units' when appropriate.
5833
5834 2012-08-11 Glenn Morris <rgm@gnu.org>
5835
5836 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
5837
5838 * tutorial.el (help-with-tutorial):
5839 * emacs-lisp/copyright.el (copyright-update-directory):
5840 * emacs-lisp/autoload.el (autoload-find-generated-file)
5841 (autoload-find-file): Disable local eval: (for insurance).
5842
5843 * files.el (hack-local-variables-filter): If an eval: form is not
5844 known to be safe, and enable-local-variables is :safe, then ignore
5845 the form totally, as is done for non-eval forms. (Bug#12155)
5846 This is CVE-2012-3479.
5847
5848 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
5849
5850 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
5851 (rx-form): Simplify.
5852
5853 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
5854
5855 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
5856 ?, _, and : are symbol constituents, ! is not (but kinda should be).
5857 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
5858 (ruby-syntax-propertize-function): Adjust for changes in
5859 `ruby-syntax-propertize-heredoc'.
5860
5861 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
5862
5863 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
5864 binding (use `M-;' instead).
5865 (ruby-singleton-class-p): New function.
5866 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
5867
5868 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
5869
5870 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
5871
5872 2012-08-10 Chong Yidong <cyd@gnu.org>
5873
5874 * progmodes/python.el (python-shell-get-process-name): Don't mess
5875 with same-window-buffer-names.
5876
5877 * eshell/eshell.el (eshell-add-to-window-buffer-names)
5878 (eshell-remove-from-window-buffer-names): Make obsolete.
5879 (eshell-buffer-name, eshell-unload-hook): Don't use them.
5880 (eshell): Just use pop-to-buffer-same-window instead.
5881
5882 2012-08-10 Chong Yidong <cyd@gnu.org>
5883
5884 * bindings.el: Bind M-= back to count-words-region.
5885
5886 * simple.el (count-words-region): Accept a prefix arg for acting
5887 on the entire buffer.
5888 (count-words--buffer-message): New helper function.
5889
5890 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
5891
5892 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
5893 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
5894 (event-start, event-end): Use posn-at-point to return a more
5895 informative posn.
5896 (posnp): New function.
5897 * mouse.el (popup-menu-normalize-position): Use it.
5898
5899 2012-08-10 Masatake YAMATO <yamato@redhat.com>
5900
5901 * mouse.el (popup-menu-normalize-position): New function.
5902 (popup-menu): Use `popup-menu-normalize-position' to normalize
5903 the form for POSITION argument.
5904
5905 * term/x-win.el (x-menu-bar-open):
5906 Use the value returend from (posn-at-point) as position
5907 passed to `popup-menu'.
5908
5909 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
5910
5911 * calc/calccomp.el (math-compose-expr): Add extra argument
5912 indicating that parentheses should be put around products in
5913 denominators. Give multiplication precedence over division during
5914 composition.
5915
5916 2012-08-09 Chong Yidong <cyd@gnu.org>
5917
5918 * man.el (Man-switches, Man-sed-command, Man-awk-command)
5919 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
5920 (Man-untabify-command, manual-program): Convert to defcustom
5921 (Bug#10429).
5922
5923 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
5924
5925 * descr-text.el (describe-char): Don't insert extra newlines
5926 (Bug#10127).
5927
5928 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
5929 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
5930
5931 * align.el (align-region): Delete temporary markers (Bug#10047).
5932 Plus some code cleanups.
5933
5934 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
5935
5936 * progmodes/python.el (python-pdbtrack-tracked-buffer)
5937 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
5938 (python-shell-internal-last-output): Use make-local-variable
5939 instead of make-variable-buffer-local.
5940
5941 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
5942
5943 * progmodes/python.el: Enhancements to forward-sexp.
5944 (python-nav-forward-sexp): Rename from
5945 python-nav-forward-sexp-function.
5946 (python-nav--forward-sexp, python-nav--backward-sexp):
5947 New functions.
5948
5949 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
5950
5951 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
5952 modes and simplification modes.
5953
5954 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5955
5956 * delsel.el (delete-selection-pre-hook): Don't propagate the
5957 file-supersession signals (bug#12161).
5958
5959 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5960
5961 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
5962 (cl-map-extents): Add compatibility aliases (bug#12135).
5963
5964 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
5965
5966 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
5967 tests by `ignore-error'.
5968 (tramp-find-shell): Open also a new shell, when cache is already
5969 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
5970
5971 2012-08-08 Juri Linkov <juri@jurta.org>
5972
5973 * bookmark.el: Add `defaults' property to the bookmark record.
5974 (bookmark-current-buffer): Doc fix.
5975 (bookmark-make-record): Add `defaults' property with default values
5976 to the bookmark record.
5977 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
5978 with `bookmark-insert-current-bookmark'.
5979 (bookmark-set): Get `defaults' property from the bookmark record
5980 and use it in `read-from-minibuffer'.
5981 (bookmark-insert-current-bookmark): Remove function.
5982
5983 * info.el (Info-bookmark-make-record): Add `defaults' property
5984 with values of canonical Info node name, the current Info file
5985 name and the current Info node name. (Bug#12107)
5986
5987 2012-08-08 Juri Linkov <juri@jurta.org>
5988
5989 * files.el (basic-save-buffer): Use `buffer-name' as the default
5990 of `read-file-name' when buffer is not visiting a file (bug#12128).
5991
5992 2012-08-08 Juri Linkov <juri@jurta.org>
5993
5994 * info.el (Info-isearch-search): Doc fix.
5995 (Info-search): Change search-failed message from "initial node" to
5996 "end of node" (bug#12078).
5997 (Info-isearch-search): Change `isearch-string-state' to
5998 `isearch--state-string'.
5999
6000 2012-08-08 Glenn Morris <rgm@gnu.org>
6001
6002 * language/persian.el: Remove file.
6003 * language/misc-lang.el: Move unique part of persian.el here.
6004 * loadup.el: Remove language/persian.
6005
6006 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
6007
6008 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
6009
6010 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
6011
6012 * progmodes/python.el: Fix defsubst warning.
6013 (python-syntax-context) Rename from python-info-ppss-context.
6014 (python-syntax-context-type): Rename from
6015 python-info-ppss-context-type.
6016 (python-syntax-comment-or-string-p): Rename from
6017 python-info-ppss-comment-or-string-p.
6018
6019 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
6020
6021 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
6022
6023 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
6024
6025 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
6026 a defcustom that is quoted with backquote.
6027
6028 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
6029 Fix handling of interactive spec when the body uses return.
6030 (math-do-arg-check, math-define-function-body): Use backquote forms.
6031 * calc/calc-ext.el (math-defcache): Likewise.
6032 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
6033 * allout.el (allout-new-exposure): Likewise.
6034 * calc/calcalg2.el (math-tracing-integral): Likewise.
6035 * info.el (Info-last-menu-item): Likewise.
6036 * emulation/vip.el (vip-loop): Likewise.
6037 * textmodes/artist.el (artist-funcall): Likewise.
6038 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
6039 Construct menu-item directly.
6040
6041 * progmodes/autoconf.el (font-lock-syntactic-keywords):
6042 Don't declare.
6043
6044 2012-08-07 Chong Yidong <cyd@gnu.org>
6045
6046 * simple.el (deactivate-mark): Preserve text properties when
6047 saving the primary selection (Bug#8384).
6048
6049 2012-08-07 Kevin Ryde <user42@zip.com.au>
6050
6051 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
6052 (woman-parse-numeric-value): On a bad .IP line, issue a warning
6053 and continue processing (Bug#12110).
6054
6055 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
6056
6057 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
6058 syntax-propertize-function (bug#10095).
6059
6060 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
6061
6062 * help-fns.el (help-fns--key-bindings, help-fns--signature)
6063 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
6064 describe-function-1.
6065 (describe-function-1): Use them. Move compiler macro after sig.
6066 (help-fns--compiler-macro): Use function-get. Assume we're already in
6067 standard-output. Adjust layout to new call order.
6068
6069 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
6070 re-binding a symbol that has a symbol-macro (bug#12119).
6071
6072 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
6073
6074 * language/persian.el: New file. (Bug#11812)
6075 * loadup.el: Add language/persian.el.
6076
6077 2012-08-06 Chong Yidong <cyd@gnu.org>
6078
6079 * window.el (window--maybe-raise-frame): New function.
6080 (window--display-buffer): Split off from here.
6081 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6082 (display-buffer-pop-up-window, display-buffer-use-some-window):
6083 Obey an inhibit-switch-frame action alist entry.
6084 (display-buffer): Update doc.
6085
6086 * replace.el (occur-after-change-function): Avoid losing focus by
6087 using the inhibit-switch-frame display parameter (Bug#12139).
6088
6089 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
6090
6091 Make internal shell process buffer names start with space.
6092 * progmodes/python.el (python-shell-make-comint): Add optional
6093 argument INTERNAL.
6094 (run-python-internal): Use it.
6095 (python-shell-internal-get-or-create-process): Check for new
6096 internal buffer names.
6097
6098 2012-08-06 Glenn Morris <rgm@gnu.org>
6099
6100 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
6101 Do less getting and setting of environment variables.
6102
6103 2012-08-05 Chong Yidong <cyd@gnu.org>
6104
6105 * proced.el (proced): Add substitution string to docstring to
6106 trigger autoloading of the proced library on C-h f (Bug#1768).
6107
6108 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6109 Don't show defvars which have no second argument (Bug#8638).
6110
6111 * imenu.el (imenu-generic-expression): Move documentation here
6112 from imenu--generic-function.
6113 (imenu--generic-function): Refer to imenu-generic-expression.
6114
6115 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
6116
6117 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
6118 indentation declaration.
6119 (viper-loop): Add indentation declaration (Bug#7025).
6120
6121 2012-08-05 Chong Yidong <cyd@gnu.org>
6122
6123 * help-fns.el (describe-variable): Add hyperlink for
6124 directory-local variables files. Improve buffer-local and
6125 permanent-local reporting; suggested by MON KEY (Bug#6644).
6126
6127 * help-mode.el (help-dir-local-var-def): New button type.
6128
6129 * files.el (kill-buffer-hook): Provide a defvar.
6130
6131 2012-08-05 Glenn Morris <rgm@gnu.org>
6132
6133 * eshell/esh-ext.el (eshell/addpath):
6134 Also update eshell-path-env. (Bug#12013)
6135
6136 2012-08-05 Chong Yidong <cyd@gnu.org>
6137
6138 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
6139
6140 * fringe.el (fringe-styles): Add docstring.
6141 (fringe--check-mode): New function.
6142 (set-fringe-mode, set-fringe-style): Use it.
6143 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
6144
6145 * files.el (set-auto-mode): Fix invalid setq call.
6146
6147 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6148
6149 * isearch.el: Misc simplification; use defstruct.
6150 (isearch-mode-map): Dense maps now work like sparse ones.
6151 (isearch--state): New defstruct.
6152 (isearch-string-state, isearch-message-state, isearch-point-state)
6153 (isearch-success-state, isearch-forward-state)
6154 (isearch-other-end-state, isearch-word-state, isearch-error-state)
6155 (isearch-wrapped-state, isearch-barrier-state)
6156 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
6157 replaced by defstruct's accessors.
6158 (isearch--set-state): Rename from isearch-top-state and change
6159 calling convention.
6160 (isearch-push-state): Use new isearch--get-state.
6161 (isearch-toggle-word): Disable regexp when enabling word.
6162 (isearch-message-prefix): Remove unused arg _c-q-hack.
6163 (isearch-message-suffix): Remove unused arg _ellipsis.
6164
6165 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
6166
6167 * simple.el (list-processes--refresh): For a server use :host or
6168 :local as the address.
6169 (list-processes): Doc fix.
6170
6171 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
6172
6173 * lisp/mpc.el: Support password in host argument.
6174 (mpc--proc-connect): Parse and use new password element.
6175 Set mpc-proc variable instead of returning process.
6176 (mpc-proc): Adjust accordingly.
6177
6178 2012-08-03 Eli Zaretskii <eliz@gnu.org>
6179
6180 * whitespace.el (whitespace-display-mappings): Use Unicode
6181 codepoints, instead of emacs-mule codepoints. See
6182 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
6183 for the details.
6184
6185 * files.el (file-truename): Don't skip symlink-chasing part on
6186 windows-nt. Incorporate the resolution of 8+3 short aliases on
6187 Windows into the loop that recursively chases symlinks.
6188 Compare directory and its parent case-insensitively on MS-Windows and
6189 MS-DOS.
6190
6191 2012-08-03 Chong Yidong <cyd@gnu.org>
6192
6193 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
6194
6195 * sort.el (sort-regexp-fields): Doc fix.
6196
6197 2012-08-03 Tassilo Horn <tsdh@gnu.org>
6198
6199 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
6200 labels regex position point at the expected place.
6201
6202 2012-08-03 MON KEY <monkey@sandpframing.com>
6203
6204 * net/imap.el (imap-interactive-login, imap-authenticate)
6205 (imap-mailbox-lsub, imap-mailbox-list)
6206 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
6207 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
6208 (imap-parse-response): Doc fix.
6209
6210 2012-08-03 João Távora <joaotavora@gmail.com>
6211
6212 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
6213 if sexp scanning does not move point (Bug#5734).
6214
6215 2012-08-02 Tassilo Horn <tsdh@gnu.org>
6216
6217 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
6218 Add listings, minted, and ctable packages.
6219 (reftex-label-alist-builtin): Move listings, minted, and ctable
6220 entries before LaTeX.
6221 (reftex-label-alist): Docfix.
6222
6223 2012-08-02 Bastien Guerry <bzg@gnu.org>
6224
6225 * replace.el (occur): Fix docstring (bug#12122).
6226
6227 2012-08-02 Glenn Morris <rgm@gnu.org>
6228
6229 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
6230
6231 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
6232
6233 Obsolete alias inactivate-current-input-method-function (Bug#10150).
6234 * international/mule-cmds.el: Create
6235 inactivate-current-input-method-function as an obsolete alias for
6236 deactivate-current-input-method-function. See Katsumi Yamaoka in
6237 <http://bugs.gnu.org/10150#46>.
6238
6239 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
6240
6241 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
6242 of nested `if's.
6243
6244 2012-08-01 Glenn Morris <rgm@gnu.org>
6245
6246 * progmodes/autoconf.el (autoconf-definition-regexp):
6247 Add AH_TEMPLATE, adjust submatch numbering.
6248 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
6249 (autoconf-current-defun-function): Update for above change.
6250 (autoconf-current-defun-function): First skip to end of current word.
6251
6252 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
6253
6254 * calendar/cal-html.el (cal-html-insert-agenda-days):
6255 Fix typo. (Bug#12018)
6256
6257 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
6258
6259 Shell processes: enhancements to startup and CEDET compatibility.
6260 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
6261 (python-shell-make-comint): accept-process-output at startup.
6262 (run-python-internal): Set inferior-python-mode-hook to nil.
6263 (python-shell-internal-get-or-create-process): call sit-for.
6264 (python-preoutput-result): Add obsolete alias.
6265 (python-shell-internal-send-string): Use it.
6266 (python-shell-send-setup-code): Remove call to
6267 accept-process-output.
6268
6269 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
6270
6271 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
6272 (Bug#12108)
6273
6274 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
6275
6276 * calc-mode.el (calc-basic-simplification-mode): Rename from
6277 `calc-limited-simplification-mode'.
6278 (calc-alg-simplification-mode): New function.
6279 (calc-set-simplify-mode): Adjust message.
6280
6281 * calc.el (calc-set-mode-line): Adjust mode line display for
6282 basic simplification mode.
6283
6284 * calc-help.el (calc-m-prefix-help): Update help message.
6285
6286 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
6287 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
6288
6289 2012-07-31 Bastien Guerry <bzg@gnu.org>
6290
6291 * man.el (man): Fix comment. (bug#12101)
6292
6293 2012-07-31 Martin Rudalics <rudalics@gmx.at>
6294
6295 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
6296 Don't return a non-nil value when no suitable buffer was found.
6297
6298 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
6299
6300 * progmodes/python.el (run-python-internal): Disable font lock for
6301 internal shells.
6302
6303 2012-07-30 Stefan Merten <smerten@oekonux.de>
6304
6305 * textmodes/rst.el: Silence `checkdoc-ispell'.
6306 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
6307 (rst-official-version, rst-official-cvs-rev)
6308 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
6309 (rst-mode-map): New key binding.
6310
6311 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
6312
6313 Update .PHONY listings in makefiles.
6314 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
6315 autoloads, update-subdirs, updates, bzr-update, update-authors,
6316 compile-onefile, compile-calc, backup-compiled-files,
6317 compile-after-backup, compile-one-process, mh-autoloads,
6318 bootstrap-clean, distclean, maintainer-clean.
6319
6320 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
6321
6322 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
6323 (calc-set-mode-line): Don't display "AlgSimp ".
6324
6325 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
6326 (calc-lim-simplify-mode): New function.
6327 (calc-set-simplify-mode): Default to 'alg.
6328 (calc-default-simplify-mode): Make algebraic simplifications
6329 the default.
6330
6331 * calc/calc-ext.el (calc-init-extensions): Remove binding for
6332 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
6333
6334 * calc/calc-help.el (calc-m-prefix-help): Change messages to
6335 indicate new simplification modes.
6336
6337 * calc/README: Mention new default simplification mode.
6338
6339 * calc/calc.el (math-normalize-error): New variable.
6340 (math-normalize): Set `math-normalize-error' to t
6341 when there's an error.
6342
6343 * calc/calc-alg.el (math-simplify): Don't simplify when
6344 `math-normalize' returns an error.
6345
6346 2012-07-29 Eli Zaretskii <eliz@gnu.org>
6347
6348 * international/mule-cmds.el (set-locale-environment): Revert last
6349 change, since display-graphic-p returns nil when this function is
6350 called during startup. Instead...
6351
6352 * term/w32console.el (terminal-init-w32console): ...setup the
6353 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
6354
6355 2012-07-29 Juri Linkov <juri@jurta.org>
6356
6357 * simple.el (goto-line): Don't display default line number in the
6358 prompt because it should be displayed by `read-number' (bug#9952).
6359 Add the current line number to the defaults of `goto-line' to
6360 allow its easier modification by users with `M-n' (bug#9201).
6361
6362 * subr.el (read-number): Support multiple default values like in
6363 other minibuffer reading functions. Replace `read' with
6364 `string-to-number' for consistency with `number-to-string'.
6365
6366 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
6367
6368 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
6369 * emulation/viper-init.el (viper-deactivate-input-method-action):
6370 Rename from viper-inactivate-input-method-action.
6371 (viper-deactivate-input-method):
6372 Rename from viper-inactivate-input-method.
6373 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
6374 * international/mule-cmds.el (deactivate-input-method):
6375 Rename from inactivate-input-method.
6376 Also run input-method-deactivate-hook.
6377 (deactivate-current-input-method-function):
6378 Rename from inactivate-current-input-method-function.
6379 (input-method-deactivate-hook): New hook.
6380 (input-method-inactivate-hook): Mark obsolete.
6381 (inactivate-input-method): Mark obsolete.
6382
6383 * international/quail.el (quail-activate):
6384 Also run quail-deactivate-hook.
6385 (quail-deactivate): Rename from quail-inactivate.
6386 * international/robin.el (robin-activate):
6387 Also run robin-deactivate-hook.
6388 (robin-deactivate): Rename from robin-inactivate.
6389
6390 2012-07-29 Chong Yidong <cyd@gnu.org>
6391
6392 * simple.el (indicate-copied-region): New function.
6393 (kill-ring-save): Split off from here.
6394
6395 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
6396 (kill-rectangle): Set deactivate-mark to t on read-only error.
6397
6398 * register.el (copy-to-register, copy-rectangle-to-register):
6399 Deactivate the mark, and use indicate-copied-region (Bug#10056).
6400 (append-to-register, prepend-to-register): Call indicate-copied-region.
6401
6402 2012-07-29 Juri Linkov <juri@jurta.org>
6403
6404 * simple.el (async-shell-command-buffer): New defcustom.
6405 (shell-command): Use it. (Bug#4719)
6406
6407 2012-07-28 Eli Zaretskii <eliz@gnu.org>
6408
6409 * international/mule-cmds.el (set-locale-environment): In a
6410 console session on MS-Windows, set up keyboard and terminal
6411 encoding from the OEM codepage, not the ANSI codepage.
6412 (Bug#12055)
6413
6414 2012-07-28 Chong Yidong <cyd@gnu.org>
6415
6416 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
6417 gdb-get-location.
6418
6419 2012-07-28 Leo Liu <sdl.web@gmail.com>
6420
6421 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
6422 the alist (bug#12029).
6423
6424 2012-07-28 Eli Zaretskii <eliz@gnu.org>
6425
6426 * makefile.w32-in (custom-deps, finder-data, updates, compile)
6427 (compile-always, compile-first)
6428 ($(lisp)/calendar/cal-loaddefs.el)
6429 ($(lisp)/calendar/diary-loaddefs.el)
6430 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
6431 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
6432 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
6433 instead of on update-subdirs.
6434 (bootstrap-clean): Delete $(lisp)/subdirs.el.
6435
6436 2012-07-28 Chong Yidong <cyd@gnu.org>
6437
6438 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
6439 directory if vc-deduce-backend returns nil (Bug#7350).
6440
6441 * simple.el (delete-trailing-lines): New option.
6442 (delete-trailing-whitespace): Obey it (Bug#11879).
6443
6444 2012-07-28 David Engster <deng@randomsample.de>
6445
6446 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
6447 Explanation of new 'symbol-qnames feature in doc-strings.
6448 (xml-maybe-do-ns): Return expanded names as plain symbols if
6449 'symbol-qnames was provided in XML-NS argument (Bug#11916).
6450 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
6451
6452 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
6453
6454 Consistent completion in inferior python with emacs -nw.
6455 * progmodes/python.el (inferior-python-mode): replace "<tab>"
6456 binding in inferior-python-mode-map with "\t".
6457 (python-shell-completion-complete-at-point)
6458 (python-completion-complete-at-point): Remove interactive spec.
6459
6460 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
6461
6462 * calc/calccomp.el (math-compose-expr): Undo previous change.
6463
6464 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
6465
6466 * progmodes/python.el (python-mode-map): Add keybinding for
6467 run-python.
6468 (python-shell-make-comint): Fix pop-to-buffer call.
6469 (run-python): Autoload. New arg SHOW.
6470 (python-shell-get-or-create-process): Do not pop python process
6471 buffer.
6472
6473 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
6474
6475 * notifications.el (notifications-on-action-signal)
6476 (notifications-on-closed-signal): Use also the bus address for the map.
6477 (notifications-notify, notifications-close-notification)
6478 (notifications-get-capabilities): Add optional argument BUS.
6479
6480 2012-07-27 Tassilo Horn <tsdh@gnu.org>
6481
6482 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
6483 Add support for the lstlisting and minted environments, and for the
6484 ctable macro.
6485 * textmodes/reftex.el (reftex-compile-variables): Also recognize
6486 labels written in keyvals syntax.
6487
6488 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
6489
6490 * calc/calccomp.el (math-compose-expr): Use parentheses when
6491 there is a product in the denominator of a fraction.
6492
6493 2012-07-26 Eli Zaretskii <eliz@gnu.org>
6494
6495 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
6496 ($(lisp)/calendar/diary-loaddefs.el)
6497 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
6498 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
6499 Fixes failures in parallel bootstrap because subdirs.el is being
6500 rewritten while the autoload files are built at the same time,
6501 which needs to load subdirs.el.
6502
6503 2012-07-26 Martin Rudalics <rudalics@gmx.at>
6504
6505 * mouse.el (popup-menu): Fix doc-string and re-indent code.
6506 (mouse-drag-line): Don't exit tracking when a switch-frame or
6507 switch-window event occurs (Bug#12006).
6508
6509 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6510
6511 * mouse.el (popup-menu): Fix last change.
6512
6513 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6514
6515 Autoload from Lisp with more care. Follow aliases when looking for
6516 function properties.
6517 * subr.el (autoloadp): New function.
6518 (symbol-file): Use it.
6519 (function-get): New function.
6520 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
6521 autoload-do-load.
6522 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
6523 (lisp-indent-function):
6524 * emacs-lisp/gv.el (gv-get):
6525 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
6526 * emacs-lisp/byte-opt.el (byte-optimize-form):
6527 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
6528 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
6529 Use function-get.
6530 * emacs-lisp/cl.el: Don't propagate function properties any more.
6531
6532 * speedbar.el (speedbar-add-localized-speedbar-support):
6533 * emacs-lisp/disass.el (disassemble-internal):
6534 * desktop.el (desktop-load-file):
6535 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
6536 (describe-function-1):
6537 * emacs-lisp/find-func.el (find-function-noselect):
6538 * emacs-lisp/elp.el (elp-instrument-function):
6539 * emacs-lisp/advice.el (ad-has-proper-definition):
6540 * apropos.el (apropos-safe-documentation, apropos-macrop):
6541 * emacs-lisp/debug.el (debug-on-entry):
6542 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
6543 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
6544 * calc/calc.el (name): Use autoloadp & autoload-do-load.
6545
6546 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
6547
6548 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
6549 function, not an obsolete variable (Bug#12046).
6550
6551 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
6552
6553 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
6554
6555 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
6556
6557 * emacs-lisp/pp.el (pp-display-expression): Select old selected
6558 window only if it is still live (Bug#12034).
6559
6560 2012-07-25 Martin Rudalics <rudalics@gmx.at>
6561
6562 * subr.el (redirect-frame-focus): Add advertised calling
6563 convention (Bug#12030).
6564
6565 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
6566
6567 Prefer typical American spelling for "acknowledgment".
6568 * vc/add-log.el (change-log-acknowledgment): Rename from
6569 change-log-acknowledgement, with an alias for the old name.
6570
6571 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
6572
6573 * calc-alg.el (math-simplify-divide): Don't cross multiply
6574 in an equation when the lhs is a variable.
6575
6576 2012-07-24 Julien Danjou <julien@danjou.info>
6577
6578 * net/netrc.el (netrc-find-service-number, netrc-store-data):
6579 Remove, unused.
6580
6581 2012-07-23 Eli Zaretskii <eliz@gnu.org>
6582
6583 * startup.el (command-line): Don't display an empty user name in
6584 the error message about non-existent home directory, when
6585 init-file-user was set to an empty string. See
6586 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
6587 for the details and context.
6588
6589 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
6590
6591 * ses.el (ses-cell-formula-aset): New macro.
6592 (ses-cell-references-aset): New macro.
6593 (ses-cell-p): New function.
6594 (ses-rename-cell): Do no longer rely on complex operations like
6595 ses-cell-set-formula or ses-set-cell to change the cell and handle
6596 the undo at the same time, but rather use lower level new macros
6597 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
6598 the undo directly. Refresh the mode line.
6599
6600 2012-07-21 Leo Liu <sdl.web@gmail.com>
6601
6602 * progmodes/cc-cmds.el (c-defun-name):
6603 Use match-string-no-properties instead for consistency.
6604
6605 2012-07-20 Leo Liu <sdl.web@gmail.com>
6606
6607 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
6608 (Bug#7879)
6609
6610 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
6611
6612 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
6613
6614 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
6615 * progmodes/bug-reference.el, misearch.el: Provide themselves
6616 (bug#11915).
6617
6618 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
6619 of narrowed buffer (bug#11966).
6620
6621 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
6622
6623 * ses.el (ses-rename-cell): Set new name also in reference list of
6624 cells of which the renamed cell depends.
6625
6626 2012-07-20 Masatake YAMATO <yamato@redhat.com>
6627
6628 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
6629 to check whether menu-bar is shown or not. If not shown,
6630 show the menu-bar as a popup menu instead of using tmm.
6631 * mouse.el (popup-menu): Accept `point' as `position' argument.
6632
6633 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
6634
6635 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
6636 up inside string symbol literal (bug#11923).
6637
6638 2012-07-20 Eli Zaretskii <eliz@gnu.org>
6639
6640 * startup.el (fancy-startup-text): Read the whole tutorial, not
6641 just its first 256 bytes. Prevents gibberish in display of the
6642 tutorial title.
6643
6644 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
6645
6646 Drop idle buffer compaction due to an absence of the
6647 proved efficiency.
6648 * compact.el: Remove.
6649
6650 2012-07-19 Sam Steingold <sds@gnu.org>
6651
6652 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
6653 vc-bzr-pull & vc-bzr-merge-branch.
6654 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
6655 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
6656 for consistency with compilation-error-regexp-alist.
6657 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
6658 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
6659 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
6660 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
6661
6662 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
6663
6664 * emacs-lisp/chart.el: Use lexical-binding.
6665 (chart-emacs-storage): Don't hardcode the list of entries.
6666
6667 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
6668
6669 Next round of tweaks caused by Fgarbage_collect changes.
6670 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
6671
6672 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
6673
6674 Compact buffers when idle.
6675 * compact.el: New file.
6676
6677 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
6678
6679 * subr.el (eventp): Presume that if it looks vaguely like an event,
6680 it's an event (bug#10190).
6681
6682 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
6683
6684 Enhancements to ppss related code (thanks Stefan).
6685 * progmodes/python.el (python-indent-context)
6686 (python-indent-calculate-indentation, python-indent-dedent-line)
6687 (python-indent-electric-colon, python-nav-forward-block)
6688 (python-mode-abbrev-table)
6689 (python-info-assignment-continuation-line-p): Simplify checks
6690 for ppss context.
6691 (python-info-continuation-line-p): Cleanup.
6692 (python-info-ppss-context): Do not catch 'quote.
6693 (python-info-ppss-context-type)
6694 (python-info-ppss-comment-or-string-p): Simplify.
6695
6696 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
6697
6698 * progmodes/python.el: Enhancements to eldoc support.
6699 (python-info-current-symbol): New function.
6700 (python-eldoc-at-point): Use python-info-current-symbol.
6701 (python-info-current-defun): Fix cornercase on first defun scan.
6702 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
6703 and signal error when no inferior python process is available.
6704
6705 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
6706
6707 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
6708 assume it's always t.
6709 (vc-git-registered): Remove caching, the function is only called
6710 once.
6711 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
6712
6713 2012-07-18 Chong Yidong <cyd@gnu.org>
6714
6715 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
6716
6717 * simple.el (count-words): Report on narrowing (Bug#9959).
6718
6719 * bindings.el: Bind M-= to count-words.
6720
6721 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
6722
6723 2012-07-18 Masatake YAMATO <yamato@redhat.com>
6724
6725 * progmodes/sh-script.el (sh-imenu-generic-expression):
6726 Capture a function with `function' keyword and without parentheses
6727 like "function FOO" (bug#11856).
6728
6729 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
6730
6731 * window.el (split-window-sensibly): Make WINDOW argument
6732 optional.
6733
6734 2012-07-18 Chong Yidong <cyd@gnu.org>
6735
6736 * subr.el (keyboard-translate): Doc fix (Bug#7261).
6737
6738 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
6739 and make C-x 8 RET exit isearch (Bug#11439).
6740
6741 * international/iso-transl.el: Move isearch-mode-map key
6742 definitions to isearch.el.
6743
6744 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
6745
6746 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
6747 (eieio-defclass): Use gv-define-setter when possible.
6748
6749 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
6750
6751 Reflect recent changes in Fgarbage_collect.
6752 * emacs-lisp/chart.el (chart-emacs-storage): Change to
6753 reflect new format of data returned by Fgarbage_collect.
6754
6755 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
6756
6757 New utility functions + python-info-ppss-context fix (Bug#11910).
6758 * progmodes/python.el (python-info-beginning-of-block-statement-p)
6759 (python-info-ppss-comment-or-string-p): New functions.
6760 (python-info-ppss-context): Small fix for string check.
6761
6762 2012-07-17 Juri Linkov <juri@jurta.org>
6763
6764 * dired-aux.el (dired-do-async-shell-command): Doc fix.
6765 (dired-do-async-shell-command): Don't add `*' at the end of the
6766 command (Bug#11815).
6767 (dired-do-shell-command): Doc fix.
6768 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
6769 Join the individual commands using either "&" or ";" as the
6770 separator depending on the values of these trailing characters.
6771 At the end re-add the trailing "&". (Bug#10598)
6772
6773 * simple.el (async-shell-command): Sync the interactive spec with
6774 `shell-command'. Doc fix.
6775 (shell-command): Doc fix.
6776
6777 2012-07-17 Juri Linkov <juri@jurta.org>
6778
6779 * descr-text.el (describe-char): Fix format args. (Bug#10129)
6780
6781 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
6782
6783 Final renames and doc fixes for movement commands (bug#11899).
6784 * progmodes/python.el (python-nav-beginning-of-statement):
6785 Rename from python-nav-statement-start.
6786 (python-nav-end-of-statement): Rename from
6787 python-nav-statement-end.
6788 (python-nav-beginning-of-block): Rename from
6789 python-nav-block-start.
6790 (python-nav-end-of-block): Rename from python-nav-block-end.
6791
6792 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
6793
6794 * progmodes/python.el (python-shell-send-string-no-output):
6795 Allow accept-process-output to quit, keeping shell process ready for
6796 future interactions (Bug#11868).
6797
6798 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
6799
6800 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
6801
6802 * emacs-lisp/elint.el (elint-find-args-in-code):
6803 Use help-function-arglist, so as to handle lexical byte-code.
6804
6805 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
6806 change (bug#11826).
6807
6808 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
6809
6810 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
6811 Avoid spuriously marking the buffer as modified because of c-is-sws.
6812
6813 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
6814 as not-a-comment (bug#11946).
6815
6816 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
6817 for uninterned vars.
6818
6819 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
6820 Use read-event since we don't really want to read chars but bytes.
6821
6822 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
6823 $$..$$ but also $..$ using regexps (bug#11953).
6824 Use tex-verbatim for \url and \path.
6825 (tex-font-lock-keywords): Define as defconst like the others.
6826 (tex-common-initialization): Don't use font-lock-syntax-table any more.
6827
6828 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
6829
6830 * international/mule-cmds.el (ucs-insert): Make it an obsolete
6831 alias for insert-char.
6832
6833 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
6834
6835 * progmodes/python.el: Simplified imenu implementation.
6836 (python-nav-jump-to-defun): Remove command.
6837 (python-mode-map): Use `imenu' instead.
6838 (python-nav-list-defun-positions-cache)
6839 (python-imenu-include-defun-type, python-imenu-make-tree)
6840 (python-imenu-subtree-root-label, python-imenu-index-alist):
6841 Remove vars.
6842 (python-nav-list-defun-positions, python-nav-read-defun)
6843 (python-imenu-tree-assoc, python-imenu-make-element-tree)
6844 (python-imenu-make-tree, python-imenu-create-index):
6845 Remove functions.
6846 (python-mode): Update to interact with imenu by setting
6847 `imenu-extract-index-name-function' only.
6848
6849 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
6850
6851 * progmodes/python.el: Enhancements to navigation commands.
6852 (python-nav-backward-sentence)
6853 (python-nav-forward-sentence): Remove.
6854 (python-nav-backward-statement, python-nav-forward-statement)
6855 (python-nav-statement-start, python-nav-statement-end)
6856 (python-nav-backward-block, python-nav-forward-block)
6857 (python-nav-block-start, python-nav-block-end)
6858 (python-nav-forward-sexp-function)
6859 (python-info-current-line-comment-p)
6860 (python-info-current-line-empty-p): New functions.
6861 (python-indent-context): Use `python-nav-statement-start'.
6862
6863 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
6864
6865 * eshell/em-ls.el (eshell/ls): Use `apply'.
6866
6867 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
6868 multi-hops, instead of Tramp internals.
6869
6870 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
6871
6872 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
6873 when F1 and F2 are located on different hosts.
6874
6875 2012-07-14 Chong Yidong <cyd@gnu.org>
6876
6877 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
6878 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
6879 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
6880 (xterm-mouse--read-event-sequence-1000)
6881 (xterm-mouse--read-event-sequence-1006): New functions. For old
6882 mouse protocol, handle M-mouse-X events correctly.
6883 (xterm-mouse-event): New arg specifying mouse protocol.
6884 (turn-on-xterm-mouse-tracking-on-terminal)
6885 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
6886 sequence to toggle extended coordinates on newer XTerms.
6887 This appears to be harmless on terminals which do not support this.
6888
6889 2012-07-14 Leo Liu <sdl.web@gmail.com>
6890
6891 Add fringe bitmap indicators for flymake. (Bug#11253)
6892 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
6893 (flymake-make-overlay): New arg BITMAP.
6894 (flymake-error-bitmap, flymake-warning-bitmap)
6895 (flymake-fringe-indicator-position): New user variables.
6896
6897 * fringe.el: New bitmap exclamation-mark.
6898
6899 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
6900
6901 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
6902 also (Bug#7879).
6903
6904 2012-07-14 Chong Yidong <cyd@gnu.org>
6905
6906 * electric.el (electric-pair-post-self-insert-function): Fix pair
6907 insertion in empty-region case (Bug#11520).
6908
6909 2012-07-14 Chong Yidong <cyd@gnu.org>
6910
6911 * bindings.el: Consolidate ctl-x-r-map bindings.
6912 Bind copy-rectangle-as-kill to C-x r w.
6913
6914 * rect.el, register.el: Move bindings to bindings.el.
6915
6916 2012-07-14 Reuben Thomas <rrt@sc3d.org>
6917
6918 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
6919
6920 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
6921
6922 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
6923
6924 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
6925
6926 * bindings.el (top): Use `mapc' instead of `mapcar'.
6927
6928 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
6929
6930 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
6931
6932 * progmodes/sql.el (sql-comint): Suppress the check for program on
6933 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
6934 (Bug#11908)
6935
6936 2012-07-13 Chong Yidong <cyd@gnu.org>
6937
6938 * bindings.el: Assign a non-nil permanent-local property to
6939 per-buffer variables which lack a default value (Bug#11930).
6940
6941 * help-fns.el (describe-variable): In the "automatically becomes
6942 local" notice, take note of permanent-local variables.
6943
6944 2012-07-13 Chong Yidong <cyd@gnu.org>
6945
6946 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
6947 to allow printing the message when called from Lisp.
6948
6949 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6950 Remove toggle-read-only.
6951
6952 * bs.el (bs-toggle-readonly):
6953 * buff-menu.el (Buffer-menu-toggle-read-only):
6954 Remove with-no-warnings around toggle-read-only.
6955
6956 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
6957 Remove with-no-warnings around toggle-read-only.
6958 (ffap-read-only, ffap-read-only-other-window)
6959 (ffap-read-only-other-frame): Callers changed.
6960
6961 * help-mode.el: Don't require view package.
6962 (help-mode-finish): Set buffer-read-only instead of calling
6963 toggle-read-only.
6964
6965 * bindings.el (mode-line-toggle-read-only):
6966 * dired.el (dired-toggle-read-only):
6967 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
6968 with non-nil second arg.
6969
6970 * emacs-lisp/eieio-custom.el (eieio-customize-object):
6971 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
6972 directly.
6973
6974 2012-07-12 Eli Zaretskii <eliz@gnu.org>
6975
6976 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
6977 not incf.
6978
6979 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
6980
6981 More CL cleanups and reduction of use of cl.el.
6982 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
6983 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
6984 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
6985 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
6986 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
6987 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
6988 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
6989 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
6990 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
6991 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
6992 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
6993 * eshell/em-cmpl.el, eshell/em-banner.el:
6994 * calendar/parse-time.el: Use cl-lib.
6995 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
6996 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
6997 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
6998 * term/ns-win.el, term.el, shell.el, ps-samp.el:
6999 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
7000 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
7001 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
7002 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
7003 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
7004 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
7005 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
7006 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
7007 `lambda' rather than with `quote'.
7008 (eshell-do-opt): Adjust accordingly.
7009 (eshell-process-option): Simplify.
7010 * eshell/esh-var.el:
7011 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
7012 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
7013 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
7014 to `pcase--dontcare'.
7015 * emacs-lisp/cl.el (labels): Mark obsolete.
7016 (cl--letf, letf): Move to cl-lib.
7017 (cl--letf*, letf*): Remove.
7018 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
7019 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
7020 (cl-progv): Rewrite.
7021 (cl--letf, cl-letf): Move from cl.el.
7022 (cl-letf*): New macro.
7023 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
7024
7025 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
7026
7027 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
7028
7029 2012-07-11 Chong Yidong <cyd@gnu.org>
7030
7031 * vc/log-edit.el (log-edit-vc-backend): New variable.
7032 (log-edit): Doc fix.
7033
7034 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
7035 argument of log-edit to set up all local variables.
7036 (vc-start-logentry): New optional arg specifying VC backend.
7037
7038 * vc/vc.el (vc-checkin): Use it.
7039 (vc-deduce-fileset): Handle Log Edit buffers.
7040 (vc-diff): Make first argument optional too.
7041
7042 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
7043
7044 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
7045
7046 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
7047 command, just in case. The function is not needed anymore.
7048 (eshell-external-command): Do not call `eshell-remote-command'.
7049
7050 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
7051
7052 Reduce use of (require 'cl).
7053 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
7054 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
7055 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
7056 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
7057 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
7058 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
7059 * battery.el, avoid.el, abbrev.el: Use cl-lib.
7060 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
7061 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
7062 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
7063 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
7064 * calculator.el, autorevert.el, apropos.el: Don't require CL.
7065 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
7066 (byte-compile-unfold-bcf, byte-compile-check-variable):
7067 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
7068 (byte-compile-nilconstp):
7069 * emacs-lisp/autoload.el (make-autoload): Use pcase.
7070 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
7071
7072 * emacs-lisp/gv.el (cond): Make it a valid place.
7073 (if): Simplify slightly.
7074
7075 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
7076 (pcase--self-quoting-p): New function.
7077 (pcase--u1): Use it.
7078
7079 2012-07-10 Glenn Morris <rgm@gnu.org>
7080
7081 * emacs-lisp/authors.el (authors-fixed-entries):
7082 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
7083
7084 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
7085
7086 Rename configure.in to configure.ac (Bug#11603).
7087 * emacs-lisp/authors.el (authors-canonical-file-name):
7088 * progmodes/autoconf.el (autoconf-mode):
7089 Prefer configure.ac to configure.in.
7090
7091 2012-07-08 Chong Yidong <cyd@gnu.org>
7092
7093 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
7094 Implement the mouse-1-click-follows-link handling properly.
7095
7096 * info.el (Info-link-keymap): Use follow-link mechanism for
7097 header-line links (Bug#374).
7098
7099 * simple.el (deactivate-mark): Do not set the primary selection
7100 if another program has acquired it (Bug#11772).
7101
7102 2012-07-07 Kevin Ryde <user42@zip.com.au>
7103
7104 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
7105 (woman-decode-region): Replace escaped-escapes without destroying
7106 bold or underline (Bug#11552).
7107 (woman2-process-escapes): Handle nofill regions (Bug#11591).
7108
7109 2012-07-07 Chong Yidong <cyd@gnu.org>
7110
7111 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
7112 (interprogram-cut-function, interprogram-paste-function):
7113 Mention that we typically mean the clipboard.
7114
7115 2012-07-06 Glenn Morris <rgm@gnu.org>
7116
7117 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
7118
7119 * files.el (toggle-read-only): Restrict message to interactive use.
7120
7121 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
7122
7123 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
7124
7125 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
7126
7127 2012-07-06 Glenn Morris <rgm@gnu.org>
7128
7129 * Makefile.in (compile-one-process): Rename from "recompile".
7130
7131 * Makefile.in (bzr-update): "compile" is the same as "recompile
7132 autoloads", but parallelizable, so use that instead.
7133
7134 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
7135
7136 * window.el (quit-window): Always restore window height when
7137 it's saved in quit-restore parameter (Bug#11810).
7138
7139 2012-07-06 Glenn Morris <rgm@gnu.org>
7140
7141 * simple.el (kill-whole-line): Doc tweak.
7142
7143 2012-07-06 Eli Zaretskii <eliz@gnu.org>
7144
7145 * files.el (file-relative-name): Compare file names
7146 case-insensitively if on MS-Windows or MS-DOS, or if
7147 read-file-name-completion-ignore-case is non-nil. Don't use
7148 case-fold-search for this purpose. (Bug#11827)
7149
7150 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
7151
7152 * calendar/cal-dst.el (calendar-current-time-zone):
7153 Return calendar-current-time-zone-cache if non-nil.
7154
7155 2012-07-17 Masatake YAMATO <yamato@redhat.com>
7156 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
7157
7158 * calendar/cal-dst.el (calendar-current-time-zone):
7159 Return calendar-current-time-zone-cache if non-nil.
7160
7161 2012-07-06 Glenn Morris <rgm@gnu.org>
7162
7163 * Makefile.in (cvs-update): Remove old alias.
7164
7165 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
7166
7167 Sync with Tramp 2.2.6-pre.
7168
7169 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
7170 compatible declaration.
7171
7172 * net/tramp-cmds.el (tramp-append-tramp-buffers):
7173 Protect `list-load-path-shadows' call.
7174
7175 * net/tramp-compat.el (top): Require packages, which aren't
7176 autoloaded anymore for XEmacs. Protect call of
7177 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
7178 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
7179 it hurts at least for SXEmacs.
7180 (tramp-compat-temporary-file-directory): In XEmacs, there is no
7181 standard-value for `temporary-file-directory'.
7182
7183 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
7184 Redirect stderr to /dev/null.
7185 (tramp-sh-handle-write-region): uid and gid can be floats.
7186 Reported by Russell Sim <russell.sim@gmail.com>.
7187 (tramp-sh-handle-vc-registered): Hide errors.
7188 (tramp-vc-file-name-handler): Use dummy results for `process-file'
7189 and `start-file-process'.
7190 (tramp-maybe-open-connection): Check also whether `non-essential'
7191 is bound.
7192
7193 2012-07-04 Chong Yidong <cyd@gnu.org>
7194
7195 * xml.el (xml--parse-buffer): Use xml-syntax-table.
7196 (xml-parse-tag): Likewise, and avoid changing entity tables.
7197 (xml-syntax-table): Define from scratch, making sure not to give
7198 x2000 and other Unicode spaces whitespace syntax, since those are
7199 not spaces in XML.
7200 (xml-parse-fragment): Delete unused function.
7201 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
7202 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
7203 (xml-entity-ref, xml-pe-reference-re)
7204 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
7205 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
7206 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
7207 (xml-entity-value-re): Use syntax references in regexps where
7208 possible; no need to define inside a let-binding.
7209 (xml-parse-dtd): Use xml-pe-reference-re.
7210 (xml-entity-or-char-ref-re): New defconst.
7211 (xml-parse-string, xml-substitute-special): Use it.
7212
7213 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
7214
7215 * files.el (locate-dominating-file): Allow `name' to be a predicate.
7216 (find-file--read-only): New function.
7217 (find-file-read-only, find-file-read-only-other-window)
7218 (find-file-read-only-other-frame): Use it.
7219 (insert-file-contents-literally): Don't `fset'.
7220 (get-free-disk-space): Use locate-dominating-file.
7221
7222 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
7223 function is already compiled.
7224
7225 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
7226
7227 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
7228
7229 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
7230 files on the same host.
7231
7232 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
7233
7234 * help-fns.el (describe-function-1): Only call
7235 help-fns--autoloaded-p when we have a file name. (Bug#11848)
7236
7237 2012-07-03 Chong Yidong <cyd@gnu.org>
7238
7239 * xml.el: Protect parser against XML bombs.
7240 (xml-entity-expansion-limit): New variable.
7241 (xml-parse-string, xml-substitute-special): Use it.
7242 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
7243
7244 2012-07-03 Glenn Morris <rgm@gnu.org>
7245
7246 * progmodes/bug-reference.el (bug-reference-bug-regexp):
7247 Allow linking to specific messages in debbugs reports (eg 123#5).
7248
7249 2012-07-02 Chong Yidong <cyd@gnu.org>
7250
7251 * xml.el: Fix entity and character reference expansion, allowing
7252 them to expand into markup as per XML spec.
7253 (xml-default-ns): New variable.
7254 (xml-entity-alist): Use XML spec definitions for lt and amp.
7255 (xml-parse-region): Make first two arguments optional.
7256 Discard text properties.
7257 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
7258 All callers changed.
7259 (xml-parse-tag): Call xml-parse-tag-1. For backward
7260 compatibility, this function should not modify buffer contents.
7261 (xml-parse-tag-1): Fix opening-tag regexp.
7262 (xml-parse-string): Rewrite, handling entity and character
7263 references properly.
7264 (xml--entity-replacement-text): Signal an error if a parameter
7265 entity is undefined.
7266
7267 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
7268
7269 * comint.el (comint-output-filter): Filter out repeated prompts.
7270
7271 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
7272 and file-name-absolute-p.
7273 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
7274 internal calls.
7275
7276 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
7277
7278 Spelling fixes.
7279 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
7280 Rename from byte-compile--refiy-function. All uses changed.
7281
7282 2012-07-01 Chong Yidong <cyd@gnu.org>
7283
7284 * xml.el (xml--parse-buffer): New function. Move most of
7285 xml-parse-region here.
7286 (xml-parse-region): Copy region into a temporary buffer, since
7287 parameter entity substitution requires changing buffer contents.
7288 Use xml--parse-buffer.
7289 (xml-parse-file): Use xml--parse-buffer.
7290 (xml-parse-dtd): Make parameter entity substitution work right.
7291 Use proper regexps for ELEMENT declarations (Bug#7172).
7292
7293 2012-06-30 Glenn Morris <rgm@gnu.org>
7294
7295 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
7296
7297 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
7298 Remove outdated and unnecessary dbus declarations.
7299
7300 2012-06-30 Eli Zaretskii <eliz@gnu.org>
7301
7302 * emacs-lisp/timer.el (timer-until): Subtract results of
7303 float-time, instead of taking float-time of the result of
7304 time-subtract, since float-time signals an error for negative time
7305 arguments.
7306
7307 2012-06-30 Chong Yidong <cyd@gnu.org>
7308
7309 * xml.el (xml-*-re): Convert defvars into defconsts, and
7310 eval-and-compile them so eval-and-compile works on derivatives.
7311 (xml--entity-replacement-text): Use eval-and-comple.
7312
7313 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
7314
7315 * vc/vc-git.el (vc-git-registered): Use cache property
7316 `git-registered'.
7317 (vc-git-mode-line-string): Call `vc-working-revision' instead of
7318 `vc-git-working-revision' in order to benefit from the cache.
7319 (vc-git-root): Use cache property `git-root'. (Bug#11757)
7320
7321 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
7322
7323 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
7324 removed (likely outside Emacs). (Bug#11757)
7325
7326 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
7327
7328 * emacs-lisp/cl-lib.el: Require macroexp.
7329
7330 2012-06-30 Chong Yidong <cyd@gnu.org>
7331
7332 * xml.el: Implement XML parameter entities.
7333 (xml-parameter-entity-alist): New variable.
7334 (xml-parse-region, xml-parse-fragment): Preserve previous values
7335 of xml-entity-alist and xml-parameter-entity-alist, so that
7336 repeated calls on different documents do not change them.
7337 (xml-parse-tag): Fix doctype regexp.
7338 (xml--entity-replacement-text): New function.
7339 (xml-parse-dtd): Use it. Don't handle system entities; doing that
7340 properly requires url retrieval which is unimplemented.
7341 (xml-escape-string): Doc fix.
7342
7343 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
7344
7345 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
7346
7347 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
7348
7349 * fringe.el (fringe-mode): Doc fix.
7350
7351 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
7352
7353 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
7354 is non-nil.
7355 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
7356 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
7357
7358 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
7359
7360 * calendar/cal-dst.el (calendar-current-time-zone):
7361 Return calendar-current-time-zone-cache if non-nil.
7362
7363 2012-06-29 Masatake YAMATO <yamato@redhat.com>
7364
7365 * progmodes/which-func.el (which-func-format):
7366 Add mouse-face. (Bug#11698)
7367
7368 2012-06-29 Leo Liu <sdl.web@gmail.com>
7369
7370 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
7371
7372 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
7373
7374 * minibuffer.el (minibuffer-confirm-exit-commands):
7375 Add completion-at-point (bug#11725).
7376
7377 2012-06-29 Glenn Morris <rgm@gnu.org>
7378
7379 * progmodes/f90.el (f90-font-lock-keywords-2):
7380 Add some preprocessor elements. (Bug#10499)
7381
7382 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
7383
7384 * progmodes/cperl-mode.el (cperl-update-syntaxification):
7385 Use syntax-propertize (bug#11739).
7386
7387 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
7388
7389 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
7390
7391 2012-06-28 Julien Danjou <julien@danjou.info>
7392
7393 * term.el (term-handle-colors-array): Use a set of new faces to
7394 color the terminal. Also uses :inverse-video property.
7395 (term-default-fg-color): Set to nil by default, deprecate in favor
7396 of `term-face'.
7397 (term-default-bg-color): Set to nil by default, deprecate in favor
7398 of `term-face'.
7399 (term-current-face): Use `term-face' by default.
7400 (term-bold-attribute): Variable deleted.
7401
7402 2012-06-28 Glenn Morris <rgm@gnu.org>
7403
7404 * simple.el (completion-list-mode-finish):
7405 Don't use toggle-read-only. (Since completion-list-mode has
7406 a special mode-class, it wasn't doing anything extra anyway.)
7407
7408 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
7409
7410 Make inlining of other-mode interpreted functions work (bug#11799).
7411 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
7412 (byte-compile): Use it to fix compilation of lexical-binding closures.
7413 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
7414 function, if needed.
7415
7416 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7417
7418 * help-mode.el (help-make-xrefs): Don't just withstand
7419 cyclic-variable-indirection but any error in documentation-property.
7420
7421 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
7422 memory use.
7423 * bindings.el (bindings--define-key): New function.
7424 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
7425 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
7426 * bindings.el: Use it to purecopy define-key bindings.
7427
7428 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
7429
7430 * emacs-lisp/cl.el (flet): Mark obsolete.
7431 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
7432 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
7433 * progmodes/js.el (js-c-fill-paragraph):
7434 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
7435 (ebrowse-switch-member-buffer-to-derived-class):
7436 * play/5x5.el (5x5-solver): Use cl-flet.
7437
7438 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
7439 (cl--symbol-function): New macro.
7440 (cl--letf, cl--letf*): Use it.
7441
7442 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
7443 Strip "toggle-" if any.
7444
7445 2012-06-27 Glenn Morris <rgm@gnu.org>
7446
7447 * info.el (Info-default-directory-list): Move here from paths.el.
7448 * paths.el: Remove file, which is now empty.
7449 * loadup.el: No longer load "paths".
7450
7451 * custom.el (custom-initialize-delay): Doc fix.
7452
7453 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7454 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
7455 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
7456 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
7457 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
7458 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
7459 * eshell/eshell.el (eshell-defgroup): Remove alias.
7460
7461 2012-06-27 Chong Yidong <cyd@gnu.org>
7462
7463 * help.el (help-enable-auto-load): New variable.
7464
7465 * help-fns.el (help-fns--autoloaded-p): New function.
7466 (describe-function-1): Refer to a function as "autoloaded" if it
7467 was autoloaded at any time in the past. Perform autoloading if
7468 help-enable-auto-load is non-nil.
7469
7470 2012-06-26 Eli Zaretskii <eliz@gnu.org>
7471
7472 * makefile.w32-in (compile, compile-always): Depend on
7473 update-subdirs, not on subdirs.el. Otherwise, several different
7474 sub-targets of 'bootstrap' running in parallel could
7475 simultaneously write to subdirs.el, producing a garbled file.
7476
7477 2012-06-26 Sam Steingold <sds@gnu.org>
7478
7479 * files.el (file-name-base): New convenience function.
7480 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
7481 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
7482 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
7483 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
7484 * textmodes/ispell.el, textmodes/reftex-ref.el:
7485 * textmodes/tex-mode.el: Use it.
7486 Did not touch cedet and org because they are maintained elsewhere.
7487
7488 2012-06-26 Martin Rudalics <rudalics@gmx.at>
7489
7490 * calendar/calendar.el (calendar-exit): Don't try to delete or
7491 iconify last frame. See:
7492 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
7493
7494 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
7495
7496 * server.el (server-process-filter): Remember dir in the
7497 process's `server-client-directory' properties.
7498
7499 2012-06-24 Chong Yidong <cyd@gnu.org>
7500
7501 * xml.el (xml-parse-tag): Correctly handle comment embedded in
7502 non-tag text.
7503
7504 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
7505
7506 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
7507
7508 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
7509
7510 * help-fns.el (describe-variable): Don't croak when doc is not found.
7511 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
7512 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
7513 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
7514 * emacs-lisp/smie.el (smie-next-sexp): CSE.
7515 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
7516 ((lambda ..) ..).
7517 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
7518
7519 2012-06-23 Chong Yidong <cyd@gnu.org>
7520
7521 * info.el (Info-mouse-follow-link): Accept symbol values of
7522 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
7523 (Info-fontify-node): Use Info-link-keymap for all navigation
7524 buttons, with link-args property to perform the desired action.
7525 (Info-link-keymap): Doc fix.
7526 (Info-next-link-keymap, Info-prev-link-keymap)
7527 (Info-up-link-keymap): Delete now-unused keymaps.
7528
7529 2012-06-23 Chong Yidong <cyd@gnu.org>
7530
7531 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
7532
7533 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
7534 system abbrevs.
7535
7536 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
7537
7538 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
7539
7540 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
7541 (bug#11719).
7542
7543 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
7544 the requote function doesn't work properly (bug#11714).
7545
7546 2012-06-23 Glenn Morris <rgm@gnu.org>
7547
7548 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
7549
7550 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7551
7552 Further GV/CL cleanups.
7553 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
7554 gv-expander.
7555 (gv--defun-declaration): New function.
7556 (defun-declarations-alist): Use it.
7557 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
7558 (gv-place): Autoload.
7559 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
7560 original definition of dotimes and dolist.
7561 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
7562 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
7563 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
7564 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
7565 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
7566 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
7567 to the function's definition.
7568 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
7569 * window.el:
7570 * files.el:
7571 * faces.el:
7572 * env.el: Don't use CL.
7573
7574 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
7575
7576 Support higher-resolution time stamps (Bug#9000).
7577
7578 * calendar/time-date.el (with-decoded-time-value): New arg
7579 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
7580 (encode-time-value): New optional arg PICO. New type 3.
7581 (time-to-seconds) [!float-time]: Support the new picoseconds
7582 component if it's used.
7583 (seconds-to-time, time-subtract, time-add):
7584 Support ps-resolution time stamps as well.
7585
7586 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
7587 (timerp): Timer vectors now have length 9, not 8.
7588 (timer--time): Support new-style (4-part) time stamps.
7589 (timer-next-integral-multiple-of-time): Time stamps now have
7590 picosecond resolution, so take a bit more care about rounding.
7591 (timer-relative-time, timer-inc-time): New optional arg psecs.
7592 (timer-set-time-with-usecs): Set psecs to 0.
7593 (timer--activate): Check psecs component, too.
7594
7595 * proced.el (proced-time-lessp): Support ps-resolution stamps.
7596
7597 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7598
7599 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
7600 Move the non-essential binding to the post/pre-command-hook where it is
7601 more obviously correct.
7602
7603 * subr.el (read-passwd): Don't use a history at all.
7604 * savehist.el (savehist-save): Remove password saved accidentally
7605 because of the above bug.
7606
7607 2012-06-22 Bastien Guerry <bzg@gnu.org>
7608
7609 * files.el (toggle-read-only): Display a message telling whether
7610 the buffer is read-only or not (bug#11726).
7611
7612 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7613
7614 * emacs-lisp/gv.el: New file.
7615 * subr.el (push, pop): Extend to generalized variables.
7616 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
7617 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
7618 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
7619 gv-define-simple-setter, and gv-define-expander.
7620 Remove setf-methods defined in gv. Rename cl-setf -> setf.
7621 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
7622 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
7623 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
7624 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
7625 gv-letplace.
7626 (cl-defstruct): Don't define setf-method any more.
7627 * emacs-lisp/cl.el (flet): Don't autoload.
7628 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
7629 (define-setf-expander, defsetf, define-modify-macro)
7630 (cl-struct-setf-expander): Move from cl-lib.el.
7631 * emacs-lisp/syntax.el:
7632 * emacs-lisp/ewoc.el:
7633 * emacs-lisp/smie.el:
7634 * emacs-lisp/cconv.el:
7635 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
7636 (timer--time): Use gv-define-simple-setter.
7637 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
7638 to avoid coding-system problems in subr.el. Adjust all users.
7639 (macroexp--maxsize, macroexp-small-p): New functions.
7640 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
7641 * scroll-bar.el (scroll-bar-mode):
7642 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
7643 (normal-erase-is-backspace-mode): Don't use the `eq' place.
7644 * winner.el (winner-configuration, winner-make-point-alist)
7645 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
7646 * files.el (locate-file-completion-table): Avoid list*.
7647
7648 2012-06-22 Chong Yidong <cyd@gnu.org>
7649
7650 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
7651 (dired-create-files): Doc fix (Bug#11329).
7652 (dired-do-copy): Doc fix (Bug#11334).
7653 (dired-mark-read-string): Doc fix (Bug#11553).
7654
7655 * dired.el (dired-recursive-copies, dired-recursive-deletes):
7656 Doc fix (Bug#11326).
7657 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
7658 (dired-dwim-target): Doc fix.
7659
7660 * wdired.el (wdired-mode): Doc fix.
7661
7662 2012-06-22 Glenn Morris <rgm@gnu.org>
7663
7664 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
7665 (pcmpl-rpm-cache-stamp-file): New constant.
7666 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
7667 (pcmpl-rpm-packages): Optionally cache list of packages.
7668
7669 * pcmpl-rpm.el (pcmpl-rpm): New group.
7670 (pcmpl-rpm-query-options): New option.
7671 (pcmpl-rpm-packages): No need to inline it.
7672 Use pcmpl-rpm-query-options.
7673
7674 * calendar/calendar.el (calendar-in-read-only-buffer):
7675 Avoid some needless mode changes.
7676
7677 2012-06-21 Chong Yidong <cyd@gnu.org>
7678
7679 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
7680 (desktop-path): Remove . from the default value (Bug#10977).
7681 (desktop-read): Use user-emacs-directory if desktop-path is nil.
7682
7683 2012-06-20 Chong Yidong <cyd@gnu.org>
7684
7685 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
7686
7687 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
7688
7689 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
7690 (bug#11201).
7691
7692 2012-06-20 Chong Yidong <cyd@gnu.org>
7693
7694 * term.el (term-window-width): Handle the case of a missing right
7695 fringe (Bug#8837).
7696 (term-check-size): Use window-text-height (Bug#5445).
7697 (term-mode): Use define-derived-mode. Minor cleanups.
7698 Set font-lock-defaults (Bug#7692).
7699 (term-move-columns, term-insert-char, term-emulate-terminal)
7700 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
7701
7702 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
7703
7704 * net/ange-ftp.el (ange-ftp-get-passwd):
7705 Bind `enable-recursive-minibuffers'.
7706 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
7707
7708 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
7709
7710 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
7711
7712 2012-06-19 Glenn Morris <rgm@gnu.org>
7713
7714 * progmodes/python.el (python-mode): Derive from prog-mode.
7715
7716 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
7717
7718 * emulation/edt.el (edt-default-menu-bar-update-buffers)
7719 (edt-user-menu-bar-update-buffers): New functions.
7720 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
7721
7722 2012-06-19 Chong Yidong <cyd@gnu.org>
7723
7724 * subr.el (with-selected-window): Preserve the selected window's
7725 terminal's top-frame (Bug#4702).
7726
7727 * window.el (save-selected-window): Likewise.
7728
7729 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7730
7731 * progmodes/python.el (python-rx-constituents): Move backquote.
7732 (python-skeleton-define, python-define-auxiliary-skeleton):
7733 Use `declare'.
7734
7735 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
7736
7737 * minibuffer.el (read-file-name-default): Revert the patch from
7738 2012-06-17.
7739
7740 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7741
7742 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
7743 (pcase--u1, pcase--q1): Don't use apply-partially.
7744
7745 2012-06-18 Glenn Morris <rgm@gnu.org>
7746
7747 * progmodes/python.el (python-proc, python-buffer)
7748 (python-send-receive, python-send-string): Fix obsolete versions.
7749
7750 2012-06-18 Martin Rudalics <rudalics@gmx.at>
7751
7752 * window.el (special-display-p): Completely remove stringp
7753 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
7754
7755 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
7756
7757 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
7758
7759 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
7760
7761 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
7762 * net/tramp-sh.el (tramp-maybe-open-connection):
7763 Throw if `non-essential' is non-nil.
7764
7765 2012-06-17 Martin Rudalics <rudalics@gmx.at>
7766
7767 * window.el (special-display-p): Signal an error if BUFFER-NAME
7768 is not a string (Bug#11713).
7769
7770 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
7771
7772 * progmodes/python.el (python-info-beginning-of-backslash):
7773 Rename from python-info-beginning-of-backlash, as a spelling fix.
7774
7775 2012-06-17 Chong Yidong <cyd@gnu.org>
7776
7777 * term.el (term-emulate-terminal): If term-check-size is called,
7778 move point to the process mark without resetting point (Bug#4635).
7779
7780 2012-06-17 Glenn Morris <rgm@gnu.org>
7781
7782 * international/mule-cmds.el (mule-menu-keymap)
7783 (set-language-environment, set-locale-environment): Doc tweaks.
7784
7785 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
7786
7787 * cus-face.el (custom-face-attributes): Add wave-style underline
7788 attribute.
7789 * faces.el (set-face-attribute): Update docstring to describe
7790 wave-style underline attribute.
7791
7792 2012-06-16 Chong Yidong <cyd@gnu.org>
7793
7794 * term/xterm.el (terminal-init-xterm): Discard input before
7795 querying background mode (Bug#10959).
7796
7797 2012-06-16 Stefan Merten <smerten@oekonux.de>
7798
7799 * textmodes/rst.el: Added and corrected some comments.
7800 (rst-re-alist-def): Improve symbol syntax.
7801 (rst-mode-syntax-table): Correct syntax entries.
7802 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
7803 (rst-official-version, rst-official-cvs-rev): Update version
7804 information.
7805
7806 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
7807
7808 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
7809 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
7810
7811 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
7812
7813 * progmodes/python.el: New python.el merge.
7814 (python-guess-indent): Obsolete var.
7815 (python-indent-guess-indent-offset): New defcustom.
7816 (python-indent): Obsolete var.
7817 (python-indent-offset): New defcustom.
7818 (python-python-command, python-jython-command): Delete var.
7819 (python-shell-interpreter): New defcustom.
7820 (python-pdbtrack-do-tracking-p): Delete var.
7821 (python-pdbtrack-activate): New defcustom.
7822 (python-use-skeletons): Obsolete var.
7823 (python-skeleton-autoinsert): New defcustom.
7824 (inferior-python-filter-regexp, python-continuation-offset)
7825 (python-honour-comment-indentation, python-indent-string-contents)
7826 (python-jython-packages, python-mode-hook)
7827 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
7828 (python-shell-prompt-alist)
7829 (python-source-modes): Delete defcustoms.
7830 (python-check-buffer-name, python-eldoc-setup-code)
7831 (python-eldoc-string-code, python-ffap-setup-code)
7832 (python-ffap-string-code, python-fill-comment-function)
7833 (python-fill-decorator-function, python-fill-paren-function)
7834 (python-fill-string-function, python-imenu-include-defun-type)
7835 (python-imenu-make-tree, python-imenu-subtree-root-label)
7836 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
7837 (python-shell-compilation-regexp-alist)
7838 (python-shell-completion-module-string-code)
7839 (python-shell-completion-pdb-string-code)
7840 (python-shell-completion-setup-code)
7841 (python-shell-completion-string-code)
7842 (python-shell-enable-font-lock, python-shell-exec-path)
7843 (python-shell-extra-pythonpaths)
7844 (python-shell-internal-buffer-name, python-shell-interpreter-args)
7845 (python-shell-process-environment)
7846 (python-shell-prompt-block-regexp)
7847 (python-shell-prompt-output-regexp)
7848 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
7849 (python-shell-send-setup-max-wait, python-shell-setup-codes)
7850 (python-shell-virtualenv-path): New defcustoms.
7851 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
7852 (inferior-python-mode-syntax-table, python--prompt-regexp)
7853 (python-buffer, python-command python-python-command)
7854 (python-default-template, python-imports, python-indent-index)
7855 (python-indent-list, python-indent-list-length)
7856 (python-mode-running, python-pdbtrack-is-tracking-p)
7857 (python-preoutput-continuation, python-preoutput-leftover)
7858 (python-preoutput-result, python-preoutput-skip-next-prompt)
7859 (python-prev-dir/file, python-recursing)
7860 (python-saved-check-command, python-version-checked)
7861 (python-which-func-length-limit)
7862 (view-return-to-alist): Delete vars.
7863 (python-check-custom-command, python-dotty-syntax-table)
7864 (python-imenu-index-alist, python-indent-current-level)
7865 (python-indent-dedenters, python-indent-levels)
7866 (python-nav-beginning-of-defun-regexp)
7867 (python-nav-list-defun-positions-cache)
7868 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
7869 (python-shell-internal-buffer)
7870 (python-skeleton-available): New vars.
7871 (def-python-skeleton): Delete macro.
7872 (python-skeleton-define): New macro.
7873 (python-define-auxiliary-skeleton, python-rx): New macros.
7874 (python-insert-class): Delete command.
7875 (python-skeleton-class): New command.
7876 (python-insert-def): Delete command.
7877 (python-skeleton-def): New command.
7878 (python-insert-for): Delete command.
7879 (python-skeleton-for): New command.
7880 (python-insert-if): Delete command.
7881 (python-skeleton-if): New command.
7882 (python-insert-try/except, python-insert-try/finally): Delete commands.
7883 (python-skeleton-try): New command.
7884 (python-insert-while): Delete command.
7885 (python-skeleton-while): New command.
7886 (python-backspace): Delete command.
7887 (python-indent-dedent-line-backspace): New command.
7888 (python-electric-colon): Delete command.
7889 (python-indent-electric-colon): New command.
7890 (python-guess-indent): Delete command.
7891 (python-indent-guess-indent-offset): New command.
7892 (python-shift-left): Delete command.
7893 (python-indent-shift-left): New command.
7894 (python-shift-right): Delete command.
7895 (python-indent-shift-right): New command.
7896 (python-find-function): Delete command.
7897 (python-nav-jump-to-defun): New command.
7898 (python-next-statement): Delete command.
7899 (python-nav-forward-sentence): New command.
7900 (python-previous-statement): Delete command.
7901 (python-nav-backward-sentence): New command.
7902 (python-fill-paragraph): Delete command.
7903 (python-fill-paragraph-function): New command.
7904 (python-send-buffer): Delete command.
7905 (python-shell-send-buffer): New command.
7906 (python-send-defun): Delete command.
7907 (python-shell-send-defun): New command.
7908 (python-send-region, python-send-region-and-go): Delete commands.
7909 (python-shell-send-region)
7910 (python-shell-switch-to-shell): New commands.
7911 (python-send-string): Delete command.
7912 (python-shell-send-string): New command.
7913 (python-switch-to-python): Delete command.
7914 (python-shell-switch-to-shell): New command.
7915 (python-describe-symbol): Delete command.
7916 (python-eldoc-at-point): New command.
7917 (python--set-prompt-regexp, python-args-to-list)
7918 (python-after-info-look, python-check-version)
7919 (python-check-comint-prompt, python-find-imports)
7920 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
7921 (python-unload-function, python-expand-template)
7922 (python-maybe-jython, python-preoutput-filter)
7923 (python-pdbtrack-get-source-buffer)
7924 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
7925 (python-pdbtrack-toggle-stack-tracking)
7926 (python-pdbtrack-track-stack-file, python-initial-text)
7927 (python-first-word, python-comment-line-p, python-send-command)
7928 (python-setup-brm, python-sentinel, python-set-proc)
7929 (python-skip-out, python-input-filter, python-outdent-p)
7930 (python-outline-level, python-backslash-continuation-line-p)
7931 (python-end-of-block, python-end-of-statement, python-mark-block)
7932 (python-beginning-of-block, python-beginning-of-statement)
7933 (python-blank-line-p, python-beginning-of-string)
7934 (python-open-block-statement-p): Delete functions.
7935 (python-indent-line, python-indent-line-1): Delete functions.
7936 (python-indent-line): New function.
7937 (python-indentation-levels): Delete function.
7938 (python-indent-calculate-levels): New function.
7939 (python-proc): Delete function.
7940 (python-shell-get-process): New function.
7941 (python-send-receive): Delete function.
7942 (python-shell-send-string-no-output): New function.
7943 (python-module-path): Delete function.
7944 (python-ffap-module-path): New function.
7945 (python-completion-at-point)
7946 (python-symbol-completions): Delete functions.
7947 (python-completion-complete-at-point): New function.
7948 (python-load-file): Delete function.
7949 (python-shell-send-file): New function.
7950 (python-calculate-indentation): Delete function.
7951 (python-indent-calculate-indentation): New function.
7952 (python-skip-comments/blanks): Delete function.
7953 (python-util-forward-comment): New function.
7954 (python-continuation-line-p): Delete function.
7955 (python-info-continuation-line-p): New function.
7956 (python-which-func, python-current-defun): Delete function.
7957 (python-info-current-defun): New function.
7958 (python-beginning-of-defun): Delete function.
7959 (python-nav-beginning-of-defun): New function.
7960 (python-close-block-statement-p)
7961 (python-block-end-p): Delete function.
7962 (python-info-closing-block): New function.
7963 (python-comint-output-filter-function)
7964 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
7965 (python-fill-comment, python-fill-decorator, python-fill-paren)
7966 (python-fill-string, python-imenu-make-element-tree)
7967 (python-imenu-make-tree, python-imenu-tree-assoc)
7968 (python-indent-context, python-indent-dedent-line)
7969 (python-indent-line-function)
7970 (python-indent-post-self-insert-function)
7971 (python-indent-toggle-levels)
7972 (python-info-assignment-continuation-line-p)
7973 (python-info-beginning-of-backlash)
7974 (python-info-block-continuation-line-p)
7975 (python-info-closing-block-message)
7976 (python-info-line-ends-backslash-p)
7977 (python-info-looking-at-beginning-of-defun)
7978 (python-info-ppss-context, python-info-ppss-context-type)
7979 (python-nav-list-defun-positions, python-nav-read-defun)
7980 (python-nav-sentence-end, python-nav-sentence-start)
7981 (python-pdbtrack-comint-output-filter-function)
7982 (python-pdbtrack-set-tracked-buffer)
7983 (python-shell-calculate-exec-path)
7984 (python-shell-calculate-process-environment)
7985 (python-shell-completion--do-completion-at-point)
7986 (python-shell-completion--get-completions)
7987 (python-shell-completion-complete-at-point)
7988 (python-shell-completion-complete-or-indent)
7989 (python-shell-get-or-create-process)
7990 (python-shell-get-process-name)
7991 (python-shell-internal-get-or-create-process)
7992 (python-shell-internal-get-process-name)
7993 (python-shell-internal-send-string, python-shell-make-comint)
7994 (python-shell-parse-command, python-shell-send-setup-code)
7995 (python-skeleton-add-menu-items)
7996 (python-util-clone-local-variables, python-util-position)
7997 (run-python-internal, python-indentation-levels)
7998 (python-nav-beginning-of-defun)
7999 (python-completion-complete-at-point): New functions.
8000 (run-python): Change arguments. New API requirements.
8001
8002 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8003
8004 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
8005 (bug#11649).
8006
8007 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
8008 (macroexp--expand-all): Use it.
8009
8010 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
8011 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
8012 Use `cl-function' instead.
8013
8014 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
8015
8016 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
8017 Suggested by Stefan Monnier while discussing bug#11657.
8018
8019 2012-06-14 Sam Steingold <sds@gnu.org>
8020
8021 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
8022
8023 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
8024
8025 * play/doctor.el (doctor-doc): Remove parameter and use
8026 doctor-sent instead of sent.
8027 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
8028
8029 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8030
8031 * files.el: Require cl-lib.
8032 (file-name-non-special): Replace case -> cl-case.
8033
8034 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
8035
8036 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
8037 mapping from #' to function*.
8038
8039 2012-06-13 Chong Yidong <cyd@gnu.org>
8040
8041 * mouse.el (mouse-drag-track): Do not set the mark if the user
8042 releases the mouse without selecting anything (Bug#11588).
8043
8044 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8045
8046 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
8047 as well (bug#11646).
8048
8049 * loadup.el: Count byte-code functions as well.
8050
8051 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
8052 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
8053
8054 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
8055 (bug#11649). Add cl-defun and cl-defmacro.
8056
8057 2012-06-13 Drew Adams <drew.adams@oracle.com>
8058
8059 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
8060 Fix last change.
8061
8062 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
8063
8064 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
8065 Otherwise, it blocks in batch mode.
8066
8067 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
8068
8069 * help-mode.el (bookmark-make-record-default): Declare.
8070
8071 2012-06-13 Chong Yidong <cyd@gnu.org>
8072
8073 * emacs-lisp/package.el (list-packages): Compute a list of
8074 packages that are newly-available since the last list-packages
8075 invocation.
8076 (package-menu--new-package-list): New var.
8077 (package-menu--generate, package-menu--print-info)
8078 (package-menu--status-predicate, package-menu-mark-install):
8079 Handle new status label "new".
8080
8081 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8082
8083 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
8084 conversion to backquotes.
8085
8086 2012-06-12 Chong Yidong <cyd@gnu.org>
8087
8088 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
8089 Rename from gud-inhibit-global-bindings.
8090
8091 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
8092
8093 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
8094 hook from nxml-glyph-set-hook.
8095
8096 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
8097 declaration.
8098
8099 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
8100
8101 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
8102 Convert to defcustom.
8103
8104 2012-06-12 Drew Adams <drew.adams@oracle.com>
8105
8106 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
8107 New functions.
8108 (help-mode): Use them.
8109
8110 2012-06-11 Glenn Morris <rgm@gnu.org>
8111
8112 * progmodes/fortran.el (fortran-font-lock-keywords-3):
8113 Use preprocessor face for directives.
8114 (fortran-directive-re): Doc fix.
8115
8116 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8117
8118 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
8119 conversion to backquotes (bug#11652).
8120
8121 Fix compiler-expansion of CL's cXXr functions (bug#11673).
8122 * emacs-lisp/cl-lib.el (cl--defalias): New function.
8123 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
8124 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
8125 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
8126 (cl-ninth, cl-tenth): Mark them as inlinable.
8127 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
8128 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
8129 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
8130 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
8131 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
8132 (cl-list*, cl-adjoin): Don't put an autoload manually.
8133 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
8134 (cl--compiler-macro-list*): Add autoload cookie.
8135 (cl--compiler-macro-cXXr): New function.
8136
8137 * help-fns.el (help-fns--compiler-macro): New function extracted from
8138 describe-function-1; follow aliases and use `compiler-macro' property.
8139 (describe-function-1): Use it.
8140
8141 2012-06-11 Chong Yidong <cyd@gnu.org>
8142
8143 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
8144 is uninstalled, if imagemagick is installed.
8145
8146 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8147
8148 * emacs-lisp/cl-lib.el: Use lexical-binding.
8149 (cl-map-extents, cl-maclisp-member): Remove.
8150 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
8151 (cl--set-substring, cl--block-wrapper, cl--block-throw)
8152 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
8153 * emacs-lisp/cl-extra.el: Use lexical-binding.
8154 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
8155 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
8156 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
8157 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
8158 * emacs-lisp/cl-seq.el: Use lexical-binding.
8159 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
8160 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
8161 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
8162 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
8163 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
8164 CL's internals.
8165
8166 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
8167
8168 Sync with Tramp 2.2.6-pre.
8169
8170 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
8171 `print-length' and `print-level' to nil, in order to avoid
8172 truncation. Reported by Christopher Schmidt
8173 <christopher@ristopher.com>.
8174
8175 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
8176
8177 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
8178 New defmacro.
8179 (tramp-compat-copy-directory): Add optional argument
8180 COPY-CONTENTS. It is not handled yet.
8181
8182 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
8183 (tramp-ftp-file-name-p): Simplify.
8184
8185 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
8186 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
8187 connection vector.
8188
8189 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
8190 (tramp-methods): Do not use `tramp-password-end-of-line'.
8191 (tramp-completion-function-alist-putty): Handle UNIX case.
8192 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
8193 (tramp-do-file-attributes-with-stat)
8194 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
8195 gid as real numbers. They could run out of integer range on cygwin.
8196 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
8197 (tramp-sh-handle-expand-file-name): Handle hops.
8198 (tramp-open-connection-setup-interactive-shell):
8199 Use `tramp-cleanup'. Move check for busyboxes ...
8200 (tramp-find-shell): ... here. Simplify implementation.
8201 Set "remote-shell" property also for alternative shells.
8202 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
8203 If failing, a regular file would be written otherwise.
8204 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
8205 (tramp-find-inline-encoding): Cache the coding commands in the
8206 process cache. Apply test command on the remote side, if defined.
8207 (tramp-find-inline-compress): Cache the compress commands in the
8208 process cache.
8209 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
8210 when requested. Handle hops.
8211 (tramp-current-connection): New defvar.
8212 (tramp-maybe-open-connection): Use `tramp-cleanup'.
8213 Throw `suppress', if there was a failed connection shortly before.
8214 Handle user interrupt. (Bug#10187)
8215 (tramp-get-inline-compress, tramp-get-inline-coding):
8216 Read connection properties from the process cache.
8217
8218 * net/tramp-smb.el (tramp-smb-server-version)
8219 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
8220 New defconsts.
8221 (tramp-smb-prompt): Extend for powershell prompt.
8222 (tramp-smb-file-name-handler-alist): Add handlers for
8223 `process-file', `shell-command' and `start-file-process'.
8224 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
8225 (tramp-smb-winexe-shell-command-switch): New defcustoms.
8226 (tramp-smb-file-name-p): Simplify.
8227 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
8228 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
8229 (tramp-smb-shell-quote-argument): New defuns.
8230 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
8231 Implement using "tar". By this, time-stamps are preserved.
8232 (tramp-smb-handle-copy-file): Handle also the case of directories.
8233 (tramp-smb-do-file-attributes-with-stat)
8234 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
8235 Use `tramp-get-connection-buffer').
8236 (tramp-smb-handle-rename-file): Use "rename", when source and
8237 target are on the same share.
8238 (tramp-smb-maybe-open-connection): Handle wrong passwords.
8239 Use `tramp-smb-server-version'.
8240 (tramp-smb-wait-for-output): Remove prompt.
8241
8242 * net/tramp.el (top): Require 'cl.
8243 (tramp-methods, tramp-rsh-end-of-line):
8244 Remove `tramp-password-end-of-line' from docstring.
8245 (tramp-save-ad-hoc-proxies): New defcustom.
8246 (tramp-completion-function-alist): Adapt docstring.
8247 (tramp-default-password-end-of-line): Remove defcustom.
8248 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
8249 (tramp-user-regexp, tramp-file-name-regexp-unified)
8250 (tramp-file-name-regexp-url): Extend regexp by hop separator.
8251 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
8252 (tramp-remote-file-name-spec-regexp): New defconst.
8253 (tramp-file-name-structure): Extend structure for hops.
8254 (tramp-get-method-parameter): Move up.
8255 (tramp-file-name-p, tramp-dissect-file-name)
8256 (with-parsed-tramp-file-name): Handle hops.
8257 (tramp-file-name-hop): New defun.
8258 (tramp-make-tramp-file-name): New optional arg HOP.
8259 (tramp-message-show-progress-reporter-message): New defvar.
8260 (tramp-with-progress-reporter): Use it. We cannot use
8261 `tramp-message-show-message' here, because this suppresses also
8262 error buffers.
8263 (tramp-error-with-buffer): Suppress buffer view, if
8264 `tramp-message-show-message' is nil.
8265 Use `tramp-get-connection-buffer'.
8266 (tramp-cleanup): New defun.
8267 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
8268 (tramp-file-name-handler): If `debug-on-error' is set, propagate
8269 an error unchanged.
8270 (tramp-completion-handle-file-name-all-completions): Handle hops.
8271 Fix an error when called from ido.
8272 (tramp-completion-dissect-file-name): Use better local variable
8273 name. Add hop to the vector.
8274 (tramp-handle-insert-file-contents): Use progress-reporter for the
8275 whole scenario.
8276 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
8277 to `t'.
8278 (tramp-check-for-regexp): Simplify search.
8279 (tramp-enter-password): Remove it. Move implementation ...
8280 (tramp-action-password): ... here.
8281 (tramp-mode-string-to-int, tramp-local-host-p)
8282 (tramp-make-tramp-temp-file, tramp-read-passwd)
8283 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
8284 Set tramp-autoload cookie.
8285
8286 * net/trampver.el: Update release number.
8287
8288 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8289 Michael Albinus <michael.albinus@gmx.de>
8290
8291 * net/tramp.el (tramp-set-completion-function): Fix docstring.
8292 (tramp-parse-group, tramp-parse-file)
8293 (tramp-parse-shostkeys-sknownhosts): New defuns.
8294 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
8295 (tramp-parse-shosts-group, tramp-parse-sconfig)
8296 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
8297 (tramp-parse-sknownhosts, tramp-parse-hosts)
8298 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
8299 Use them.
8300 (tramp-parse-passwd-group, tramp-parse-netrc-group)
8301 (tramp-parse-putty-group): Don't narrow.
8302 (tramp-parse-putty): Make a loop.
8303 (tramp-file-name-handler): Catch the `suppress' signal.
8304
8305 2012-06-11 Chong Yidong <cyd@gnu.org>
8306
8307 * image.el (imagemagick-register-types): Put the ImageMagick entry
8308 at the end of image-type-file-name-regexps.
8309
8310 2012-06-11 Johan Bockgård <bojohan@gnu.org>
8311
8312 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
8313 (pcase, pcase-let*, pcase-dolist): Use them.
8314
8315 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8316
8317 * emacs-lisp/pcase.el (pcase--let*): New function.
8318 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
8319 (pcase--expand): Use macroexp-let².
8320
8321 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
8322
8323 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
8324 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
8325 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
8326 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
8327 * emacs-lisp/derived.el: Use pcase instead of `cl'.
8328 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
8329
8330 2012-06-10 Glenn Morris <rgm@gnu.org>
8331
8332 * mail/rmail.el (rmail-yank-current-message): Leave point at
8333 correct position. (Bug#11660)
8334
8335 2012-06-10 Chong Yidong <cyd@gnu.org>
8336
8337 * allout-widgets.el: Fix code header.
8338
8339 2012-06-10 Chong Yidong <cyd@gnu.org>
8340
8341 * cus-edit.el (customize-changed-options-previous-release):
8342 Bump to 24.1.
8343
8344 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
8345
8346 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
8347
8348 2012-06-09 Chong Yidong <cyd@gnu.org>
8349
8350 * ebuff-menu.el (electric-buffer-list): Preserve header line.
8351
8352 2012-06-09 Martin Rudalics <rudalics@gmx.at>
8353
8354 * window.el (special-display-popup-frame): Don't use
8355 window--display-buffer (Bug#11651).
8356
8357 2012-06-09 Eli Zaretskii <eliz@gnu.org>
8358
8359 Fix parallel builds: make sure loaddefs.el is not being written
8360 while Lisp files are compiled.
8361 (compile): Don't depend on 'mh-autoloads'.
8362 (compile-CMD, compile-SH): Depend on 'autoloads'.
8363 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
8364
8365 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
8366
8367 2012-06-09 Chong Yidong <cyd@gnu.org>
8368
8369 * face-remap.el (face-remap-add-relative, face-remap-set-base)
8370 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
8371 Doc fixes (Bug#11225).
8372
8373 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
8374
8375 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
8376 a function if there's a clear indication that it has a compiler-macro.
8377 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
8378 (macro-declarations-alist): Add arglist to declaration functions.
8379 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
8380 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
8381 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
8382 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
8383 Also add autoload to find the compiler macro.
8384 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
8385 (cl--compiler-macro-member, cl--compiler-macro-assoc)
8386 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
8387 (cl--compiler-macro-get): New functions, replacing calls to
8388 cl-define-compiler-macro.
8389 (cl-typep) [compiler-macro]: Use macroexp-let².
8390
8391 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
8392
8393 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
8394 string properly, fixes Bug#11473.
8395
8396 2012-06-08 Chong Yidong <cyd@gnu.org>
8397
8398 * faces.el (set-face-attribute): Doc fix.
8399 (modify-face): Don't use :bold and :italic.
8400 (error, warning, success): Tweak definitions.
8401
8402 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
8403 (custom-modified, custom-set, custom-changed, custom-themed)
8404 (custom-saved, custom-button, custom-button-mouse)
8405 (custom-button-pressed, custom-state, custom-comment-tag)
8406 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
8407 (custom-group-subtitle): Use new-style face specs.
8408 (custom-invalid-face, custom-rogue-face, custom-modified-face)
8409 (custom-set-face, custom-changed-face, custom-saved-face)
8410 (custom-button-face, custom-button-pressed-face)
8411 (custom-documentation-face, custom-state-face)
8412 (custom-comment-face, custom-comment-tag-face)
8413 (custom-variable-tag-face, custom-variable-button-face)
8414 (custom-face-tag-face, custom-group-tag-face-1)
8415 (custom-group-tag-face): Remove obsolete face alias.
8416
8417 * epa.el (epa-validity-high, epa-validity-medium)
8418 (epa-validity-low, epa-mark, epa-field-name, epa-string)
8419 (epa-field-name, epa-field-body):
8420 * font-lock.el (font-lock-comment-face, font-lock-string-face)
8421 (font-lock-keyword-face, font-lock-builtin-face)
8422 (font-lock-function-name-face, font-lock-variable-name-face)
8423 (font-lock-type-face, font-lock-constant-face):
8424 * ido.el (ido-first-match, ido-only-match, ido-subdir)
8425 (ido-virtual, ido-indicator, ido-incomplete-regexp):
8426 * speedbar.el (speedbar-button-face, speedbar-file-face)
8427 (speedbar-directory-face, speedbar-tag-face)
8428 (speedbar-selected-face, speedbar-highlight-face)
8429 (speedbar-separator-face):
8430 * whitespace.el (whitespace-newline, whitespace-space)
8431 (whitespace-hspace, whitespace-tab, whitespace-trailing)
8432 (whitespace-line, whitespace-space-before-tab)
8433 (whitespace-space-after-tab, whitespace-indentation)
8434 (whitespace-empty):
8435 * emulation/cua-base.el (cua-global-mark):
8436 * eshell/em-prompt.el (eshell-prompt):
8437 * net/newst-plainview.el (newsticker-new-item-face)
8438 (newsticker-old-item-face, newsticker-immortal-item-face)
8439 (newsticker-obsolete-item-face, newsticker-date-face)
8440 (newsticker-statistics-face, newsticker-default-face):
8441 * net/newst-reader.el (newsticker-feed-face)
8442 (newsticker-extra-face, newsticker-enclosure-face):
8443 * net/newst-treeview.el (newsticker-treeview-face)
8444 (newsticker-treeview-new-face, newsticker-treeview-old-face)
8445 (newsticker-treeview-immortal-face)
8446 (newsticker-treeview-obsolete-face)
8447 (newsticker-treeview-selection-face):
8448 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
8449 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
8450 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
8451 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
8452 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
8453 (nxml-outline-active-indicator, nxml-outline-ellipsis):
8454 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
8455 (mpuz-text):
8456 * progmodes/vera-mode.el (vera-font-lock-number)
8457 (vera-font-lock-function, vera-font-lock-interface):
8458 * textmodes/table.el (table-cell): Use new-style face specs, and
8459 don't use the old :bold and :italic attributes.
8460
8461 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
8462 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
8463 (ebrowse-member-class, ebrowse-progress): Likewise.
8464 (ebrowse-tree-mark-face, ebrowse-root-class-face)
8465 (ebrowse-file-name-face, ebrowse-default-face)
8466 (ebrowse-member-attribute-face, ebrowse-member-class-face)
8467 (ebrowse-progress-face): Remove obsolete faces.
8468
8469 * progmodes/flymake.el (flymake-errline, flymake-warnline):
8470 Inherit from error and warning faces respectively.
8471
8472 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
8473 Likewise.
8474 (flyspell-incorrect-face, flyspell-duplicate-face):
8475 Remove obsolete aliases.
8476
8477 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
8478
8479 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
8480 Avoid infloop.
8481
8482 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
8483
8484 * startup.el (argv, argi): Make lexically scoped.
8485 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
8486 * emacs-lisp/cl-macs.el: Use lexical-binding.
8487 Rename cl-bind-* to cl--bind-*.
8488 * files.el: Don't require `cl' since it doesn't use it.
8489 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
8490
8491 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
8492
8493 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
8494 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
8495 instead of calling external sort utility.
8496 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
8497
8498 2012-06-08 Eli Zaretskii <eliz@gnu.org>
8499
8500 * descr-text.el (describe-char): Mention how to insert the
8501 character, if the current input method doesn't support it.
8502 See the discussion in this thread for the details:
8503 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
8504
8505 2012-06-08 Sam Steingold <sds@gnu.org>
8506
8507 * bindings.el (global-map): Bind XF86Forward to next-buffer and
8508 XF86Back to previous-buffer.
8509 (minibuffer-local-map): Bind them to next-history-element and
8510 previous-history-element respectively.
8511 * help-mode.el (help-mode-map): Bind them to help-go-forward and
8512 help-go-back respectively.
8513 * info.el (Info-mode-map): Bind them to Info-history-forward and
8514 Info-history-back respectively.
8515 These are the keys next to Up on the ThinkPad keyboard.
8516
8517 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
8518
8519 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
8520 * emacs-lisp/cl-macs.el: Provide itself.
8521 (cl--labels-convert-cache): New var.
8522 (cl--labels-convert): New function.
8523 (cl-flet, cl-labels): New implementation with new semantics, relying on
8524 lexical-binding.
8525 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
8526 (cl-closure-vars, cl--function-convert-cache)
8527 (cl--function-convert): Move from cl-macs.el.
8528 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
8529 rename by removing the "cl-" prefix.
8530 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
8531
8532 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8533
8534 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
8535 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
8536 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
8537 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
8538 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
8539 (cl-hash-table-count): Add old compatibility aliases.
8540
8541 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
8542 Use macroexpand-all-environment instead.
8543 (cl--old-macroexpand): New var.
8544 (cl--sm-macroexpand): New function.
8545 (cl-symbol-macrolet): Use it during macro expansion.
8546 (cl--function-convert-cache): New var.
8547 (cl--function-convert): New function, extracted from
8548 cl-macroexpand-all.
8549 (cl-lexical-let): Use it.
8550
8551 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
8552 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
8553 (cl-member): Remove old alias.
8554
8555 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
8556 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
8557 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
8558 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
8559 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
8560 (cl-macroexpand-cmacs): Remove var.
8561 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
8562 Use macroexpand-all instead.
8563
8564 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8565
8566 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
8567 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
8568 (macroexp-copyable-p): New functions and macros.
8569 * emacs-lisp/edebug.el (edebug-unwrap):
8570 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
8571 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
8572 (pcase--let*): Remove.
8573 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
8574 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
8575 macroexp-const-p instead.
8576 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
8577
8578 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
8579 instead of "cl-" for internal definitions. Use macroexp-const-p.
8580 (cl-old-bc-file-form): Remove var.
8581 (cl-const-exprs-p): Remove fun.
8582 (cl-labels, cl-macrolet): Use backquote.
8583 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
8584 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
8585 (cl-define-setf-expander): Rename from cl-define-setf-method.
8586 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
8587
8588 * international/mule-cmds.el: Don't require CL.
8589 (view-hello-file): Don't use `letf'.
8590
8591 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8592
8593 * tmm.el (tmm-prompt): Use string-prefix-p.
8594 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
8595 (tmm-add-prompt): Use minibuffer-completion-help.
8596 (tmm-delete-map): Remove.
8597
8598 * subr.el (kbd): Make it its own function.
8599
8600 2012-06-07 Stefan Merten <smerten@oekonux.de>
8601
8602 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
8603 Silence compiler warnings. Fix versions.
8604 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
8605 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
8606 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
8607 (rst-package-emacs-version-alist): Correct Emacs version to
8608 represent major merge with upstream.
8609 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
8610
8611 2012-06-06 Glenn Morris <rgm@gnu.org>
8612
8613 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
8614 Only print environment variables if set.
8615
8616 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
8617
8618 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
8619 (macroexp--cons): Rename from maybe-cons.
8620 (macroexp--accumulate): Rename from macroexp-accumulate.
8621 (macroexp--all-forms): Rename from macroexpand-all-forms.
8622 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
8623 (macroexp--expand-all): Rename from macroexpand-all-1.
8624
8625 2012-06-06 Sam Steingold <sds@gnu.org>
8626
8627 * calendar/calendar.el (calendar-in-read-only-buffer):
8628 Call `special-mode' to enable the standard read-only keybindings.
8629
8630 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
8631
8632 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
8633 with "loading" messages (bug#11635).
8634
8635 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
8636
8637 * files.el (enable-remote-dir-locals): New option.
8638 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
8639
8640 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
8641 Ensure, that the temp directory is local.
8642
8643 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
8644 `temporary-file-directory'.
8645
8646 * progmodes/python.el (python-send-region): Ensure, that the
8647 temporary file is created also in the remote case.
8648
8649 2012-06-06 Glenn Morris <rgm@gnu.org>
8650
8651 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
8652 (vc-rcs-update-changelog): Use it.
8653
8654 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
8655
8656 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
8657 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
8658 (vc-sccs-diff): Replace use of the external vcdiff script.
8659
8660 2012-06-05 Glenn Morris <rgm@gnu.org>
8661
8662 * ledit.el: Move to obsolete/.
8663
8664 2012-06-05 Sam Steingold <sds@gnu.org>
8665
8666 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
8667 patch (Bug#11140).
8668
8669 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8670
8671 * emacs-lisp/cust-print.el: Move to obsolete.
8672
8673 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
8674 compiler-macro expansion.
8675
8676 Add native compiler-macro support.
8677 * emacs-lisp/macroexp.el (macroexpand-all-1):
8678 Support compiler-macros directly. Properly follow aliases and apply
8679 the compiler macros more thoroughly.
8680 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
8681 macroexpand now properly follows aliases.
8682 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
8683 (cl-compiler-macroexpand): Use new prop.
8684 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
8685
8686 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
8687
8688 2012-06-05 Martin Rudalics <rudalics@gmx.at>
8689
8690 * window.el (get-lru-window, get-mru-window, get-largest-window):
8691 New argument NOT-SELECTED to avoid picking the selected window.
8692 (window--display-buffer-1, window--display-buffer-2): Replace by
8693 new function window--display-buffer
8694 (display-buffer-same-window, display-buffer-reuse-window)
8695 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8696 Use window--display-buffer.
8697 (display-buffer-use-some-window): Remove temporary dedication
8698 hack by calling get-lru-window and get-largest-window with
8699 NOT-SELECTED argument non-nil. Call window--display-buffer.
8700
8701 2012-06-05 Glenn Morris <rgm@gnu.org>
8702
8703 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
8704 Replace external vcdiff script.
8705
8706 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
8707
8708 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
8709
8710 2012-06-04 Chong Yidong <cyd@gnu.org>
8711
8712 * image.el (imagemagick-types-inhibit): Revert last change.
8713 Add INFO and M.
8714 (imagemagick-enabled-types): Remove CIN and EPS*.
8715
8716 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
8717
8718 * emacs-lisp/cl-lib.el: Rename from cl.el.
8719 * emacs-lisp/cl.el: New compatibility file.
8720 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
8721 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
8722 to obey the "cl-" prefix.
8723 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
8724
8725 2012-06-03 Glenn Morris <rgm@gnu.org>
8726
8727 * emacs-lisp/authors.el (authors-aliases): Addition.
8728
8729 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
8730 Fix :version.
8731
8732 2012-06-03 Stefan Merten <smerten@oekonux.de>
8733
8734 * textmodes/rst.el: Add comments.
8735 (rst-transition, rst-adornment): New faces.
8736 (rst-adornment-faces-alist): Make default safe to reevaluate.
8737 Fixes
8738 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
8739 Improve customization tags.
8740 (rst-define-level-faces): Clarify meaning.
8741
8742 2012-06-03 Chong Yidong <cyd@gnu.org>
8743
8744 * progmodes/compile.el (compilation-mode-line-fail)
8745 (compilation-mode-line-run, compilation-mode-line-exit):
8746 New faces.
8747 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
8748
8749 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
8750
8751 * progmodes/which-func.el (which-func-update-ediff-windows):
8752 New function. Use it in ediff-select-hook (Bug#11478).
8753
8754 2012-06-03 Chong Yidong <cyd@gnu.org>
8755
8756 * bindings.el: Remove explicit help text from format-mode-line.
8757 It is now supplied by mode-line-default-help-echo.
8758 (mode-line-front-space, mode-line-end-spaces)
8759 (mode-line-misc-info): New variables.
8760 (mode-line-modes, mode-line-position): Move the default value to
8761 the variable definition.
8762 (mode-line-default-help-echo): New defcustom.
8763 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
8764 (mode-line-modified-help-echo): New functions.
8765 (mode-line-mule-info, mode-line-modified): Use them.
8766 (mode-line-eol-desc, propertized-buffer-identification):
8767 Consistency fixes for help text.
8768 (mode-line-coding-system-map): Allow using mouse-3 to invoke
8769 set-buffer-file-coding-system (Bug#289).
8770 (mode-line-mule-info-help-echo): Update help text.
8771
8772 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8773
8774 * simple.el (execute-extended-command): Set real-this-command
8775 (bug#11506).
8776
8777 2012-06-02 Chong Yidong <cyd@gnu.org>
8778
8779 Remove incorrect uses of "modeline" in comments, docstrings, and
8780 function/variable names (Bug#10329).
8781
8782 * cus-edit.el (mode-line):
8783 * dframe.el (dframe-mouse-hscroll):
8784 * emacs-lisp/re-builder.el:
8785 * emacs-lisp/easy-mmode.el (define-minor-mode):
8786 * frame.el (set-frame-name):
8787 * help.el (lookup-minor-mode-from-indicator):
8788 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
8789 * progmodes/cc-cmds.el (c-toggle-auto-newline)
8790 (c-toggle-hungry-state):
8791 * progmodes/antlr-mode.el (antlr-language-alist):
8792 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
8793 * progmodes/vhdl-mode.el (vhdl-mode):
8794 * progmodes/which-func.el (which-func, which-func-cleanup-function):
8795 * term/ns-win.el (ns-face-at-pos):
8796 * term/sup-mouse.el (sup-mouse-report):
8797 * textmodes/flyspell.el (flyspell-mode-line-string):
8798 * textmodes/ispell.el (ispell-highlight-face):
8799 * textmodes/reftex-global.el:
8800 * vc/vc-arch.el (vc-arch-mode-line-string):
8801 * vc/vc-cvs.el (vc-cvs-mode-line-string):
8802 * vc/vc-git.el (vc-git-mode-line-string):
8803 * vc/vc-hooks.el (vc-display-status)
8804 (vc-default-mode-line-string):
8805 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
8806
8807 * ansi-color.el (ansi-color-faces-vector): Change default faces.
8808
8809 * dired.el (dired-sort-set-mode-line): Rename from
8810 dired-sort-set-modeline. All callers changed.
8811
8812 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
8813 eshell-status-in-modeline.
8814
8815 * foldout.el (foldout-mode-line-string): Rename from
8816 foldout-modeline-string. All callers changed.
8817 (foldout-update-mode-line): Rename from foldout-update-modeline.
8818
8819 * subr.el (redraw-modeline): Make into obsolete alias.
8820
8821 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
8822 timeclock-modeline-display. Make old name an alias.
8823 (timeclock-update-mode-line): Likewise. All callers changed.
8824 (timeclock-mode-line-display): No need to check before using
8825 add-hook.
8826 (timeclock-relative, timeclock-day-over-hook)
8827 (timeclock-use-elapsed, timeclock-mode-string)
8828 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
8829
8830 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
8831 crisp-mode-modeline-string.
8832
8833 * play/solitaire.el (solitaire-build-mode-line): Rename from
8834 solitaire-build-modeline. All callers changed.
8835
8836 * play/zone.el (zone-hiding-mode-line): Rename from
8837 zone-hiding-modeline. All callers changed.
8838 (zone): Remove unusued `modeline-hidden-level' property.
8839
8840 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
8841 xscheme-modeline-initialize. All callers changed.
8842
8843 * strokes.el (strokes-lighter): Rename from
8844 strokes-modeline-string.
8845
8846 * textmodes/sgml-mode.el (html-face-tag-alist)
8847 (html-tag-face-alist): Use mode-line face instead of obsolete
8848 alias modeline.
8849
8850 2012-06-02 Stefan Merten <smerten@oekonux.de>
8851
8852 * textmodes/rst.el: Always require `cl'.
8853 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
8854
8855 2012-06-02 Chong Yidong <cyd@gnu.org>
8856
8857 * image.el (imagemagick-enabled-types): Rename from
8858 imagemagick-types-enable. Add many more types.
8859 (imagemagick-types-inhibit): Change default to nil.
8860 (imagemagick-filter-types): Caller changed.
8861
8862 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8863
8864 * emacs-lisp/cl-macs.el: Use backquotes.
8865 (cl-transform-function-property): Use eval-and-compile rather than
8866 abusing `require'.
8867 (defstruct): Use declare-function instead of with-no-warnings.
8868
8869 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
8870 (byte-compile-output-docform): Re-add the print-circle bindings.
8871 (byte-compile-fix-header): Use #$ just because it's shorter.
8872 (byte-compile-output-file-form): Remove defun/defmacro.
8873
8874 2012-06-01 Martin Rudalics <rudalics@gmx.at>
8875
8876 * simple.el (choose-completion): Remove now obsolete binding for
8877 owindow.
8878
8879 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
8880
8881 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
8882 in order to avoid "Stack overflow in regexp matcher".
8883
8884 2012-05-31 Glenn Morris <rgm@gnu.org>
8885
8886 * image.el: For clarity, call imagemagick-register-types at
8887 top-level, rather than relying on a custom :initialize.
8888 (imagemagick-types-enable): New option. (Bug#11557)
8889 (imagemagick-filter-types): New function. (Bug#7406)
8890 (imagemagick-register-types): Use imagemagick-filter-types.
8891 If disabling support, remove elements altogether rather
8892 than using an impossible regexp.
8893 (imagemagick-types-inhibit): Give it the default init function.
8894
8895 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8896
8897 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
8898 Handle arbitrary file name lengths (Bug#11585).
8899
8900 2012-05-31 Martin Rudalics <rudalics@gmx.at>
8901
8902 * desktop.el (desktop-read): Clear previous and next buffers for
8903 all windows and bury *Messages* buffer (bug#11556).
8904
8905 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8906
8907 Add `declare' for `defun'. Align `defmacro's with it.
8908 * emacs-lisp/easy-mmode.el (define-minor-mode)
8909 (define-globalized-minor-mode): Don't autoload the var definitions.
8910 * emacs-lisp/byte-run.el: Use lexical-binding.
8911 (defun-declarations-alist, macro-declarations-alist): New vars.
8912 (defmacro, defun): Use them.
8913 (make-obsolete, define-obsolete-function-alias)
8914 (make-obsolete-variable, define-obsolete-variable-alias):
8915 Use `declare'.
8916 (macro-declaration-function): Mark obsolete.
8917 * emacs-lisp/autoload.el: Use lexical-binding.
8918 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
8919
8920 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8921
8922 * textmodes/ispell.el (ispell-with-no-warnings):
8923 Define as a macro.
8924 (ispell-kill-ispell, ispell-change-dictionary):
8925 Use `called-interactively-p' for Emacs instead of obsolete
8926 `interactive-p'.
8927
8928 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8929
8930 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
8931 (macro-declaration-function): Move var from C code.
8932 (macro-declaration-function): Define function with defalias.
8933 * emacs-lisp/macroexp.el (macroexpand-all-1):
8934 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
8935 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
8936 defun/defmacro any more.
8937 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
8938 Provide fallback for unknown arglist.
8939 (byte-compile-arglist-warn): Change calling convention.
8940 (byte-compile-output-file-form): Move print-vars binding.
8941 (byte-compile-output-docform): Simplify accordingly.
8942 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
8943 (byte-compile-defmacro-declaration): Remove.
8944 (byte-compile-file-form-defmumble): Generalize to defalias.
8945 (byte-compile-output-as-comment): Return byte-positions.
8946 Simplify callers accordingly.
8947 (byte-compile-lambda): Use `assert'.
8948 (byte-compile-defun, byte-compile-defmacro): Remove.
8949 (byte-compile-file-form-defalias):
8950 Use byte-compile-file-form-defmumble.
8951 (byte-compile-defalias-warn): Remove.
8952
8953 2012-05-29 Stefan Merten <smerten@oekonux.de>
8954
8955 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
8956 possible. Fix authors. Improve comments. Improve loading of `cl'.
8957
8958 (rst-mode-abbrev-table): Merge definition.
8959 (rst-mode): Make sure `font-lock-defaults' is buffer local.
8960 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
8961
8962 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
8963
8964 * calendar/icalendar.el
8965 (icalendar-export-region): Export UID properly.
8966
8967 2012-05-29 Leo Liu <sdl.web@gmail.com>
8968 * calendar/icalendar.el (icalendar-import-format):
8969 Add `icalendar-import-format-uid' (Bug#11525).
8970 (icalendar-import-format-uid): New.
8971 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
8972 Export UID.
8973
8974 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8975
8976 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
8977 different alternative patterns.
8978 (pcase-codegen): Be more careful to preserve identity.
8979 (pcase--u1): Don't forget to mark vars as used.
8980
8981 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
8982 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
8983 (byte-compile-from-buffer): ...rather than here.
8984
8985 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
8986 functions from byte-compile-function-environment.
8987
8988 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
8989
8990 * window.el (window-deletable-p): Avoid deleting the root window
8991 of a frame with an active minibuffer.
8992
8993 2012-05-29 Martin Rudalics <rudalics@gmx.at>
8994
8995 * simple.el (choose-completion): Use quit-window (Bug#11567).
8996
8997 2012-05-29 Chong Yidong <cyd@gnu.org>
8998
8999 * whitespace.el (whitespace-cleanup): Fix usage of
9000 whitespace-empty-at-bob-regexp (Bug#11492).
9001
9002 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9003
9004 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
9005 revert (Bug#11488).
9006
9007 2012-05-29 Juri Linkov <juri@jurta.org>
9008
9009 * isearch.el (isearch-mode-map): Bind `M-s _' to
9010 `isearch-toggle-symbol'. Bind `M-s c' to
9011 `isearch-toggle-case-fold'.
9012 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
9013 (isearch-forward): Add `M-s _' to the docstring.
9014 (isearch-forward-symbol, isearch-toggle-case-fold)
9015 (isearch-symbol-regexp): New functions. (Bug#11381)
9016
9017 2012-05-29 Juri Linkov <juri@jurta.org>
9018
9019 * isearch.el (isearch-word): Add docstring. (Bug#11381)
9020 (isearch-occur, isearch-search-and-update): If `isearch-word' is
9021 a function, call it to get the regexp.
9022 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
9023 property `isearch-message-prefix' instead of the string "word ".
9024 (isearch-search-fun-default): For the case of `isearch-word',
9025 return a lambda that calls re-search-forward/re-search-backward
9026 with a regexp returned by `word-search-regexp' or by the function
9027 in `isearch-word'.
9028
9029 2012-05-29 Juri Linkov <juri@jurta.org>
9030
9031 * isearch.el (isearch-search-fun-default): New function.
9032 (isearch-search-fun): Move default part to the new function
9033 `isearch-search-fun-default'.
9034 (isearch-search-fun-function): Set the default value to
9035 `isearch-search-fun-default'. (Bug#11381)
9036
9037 * comint.el (comint-history-isearch-end):
9038 Use `isearch-search-fun-default'.
9039 (comint-history-isearch-search): Use `isearch-search-fun-default'
9040 and remove spacial case for `isearch-word'.
9041 (comint-history-isearch-wrap): Remove spacial case for
9042 `isearch-word'.
9043
9044 * hexl.el (hexl-isearch-search-function):
9045 Use `isearch-search-fun-default'.
9046
9047 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
9048 Use `word-search-regexp' for `isearch-word'.
9049
9050 * misearch.el (multi-isearch-search-fun):
9051 Use `isearch-search-fun-default'.
9052
9053 * simple.el (minibuffer-history-isearch-search):
9054 Use `isearch-search-fun-default' and remove spacial case for
9055 `isearch-word'.
9056 (minibuffer-history-isearch-wrap): Remove spacial case for
9057 `isearch-word'.
9058
9059 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
9060 Remove spacial case for `isearch-word'.
9061 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
9062
9063 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9064
9065 Decrease XEmacs incompatibilities.
9066 * textmodes/flyspell.el (flyspell-check-pre-word-p):
9067 Use `string-match'.
9068 (flyspell-delete-region-overlays): Use alternative definition for
9069 XEmacs.
9070 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
9071 (flyspell-word): Use `process-kill-without-query' if XEmacs.
9072 (flyspell-mode-on): Use `interactive-p' if XEmacs.
9073 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
9074 `define-obsolete-face-alias' under XEmacs, but old method.
9075
9076 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
9077 `with-no-warnings' definition or Emacs alias.
9078 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
9079 (ispell-word): Do not use `region-p' if XEmacs.
9080
9081 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9082
9083 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
9084 Check for `ispell-dictionary-base-alist' instead of full
9085 `ispell-dictionary-alist'.
9086 (ispell-init-process): Show spellchecker when starting new Ispell
9087 process.
9088
9089 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
9090
9091 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
9092 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
9093
9094 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
9095
9096 * version.el (motif-version-string, gtk-version-string)
9097 (ns-version-string): Declare.
9098
9099 2012-05-27 Juri Linkov <juri@jurta.org>
9100
9101 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
9102 after the `eval-defun-1' specialcaseing
9103 like in `edebug-eval-defun' (bug#10181).
9104
9105 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
9106 like in `eval-defun-1'.
9107
9108 2012-05-27 Eli Zaretskii <eliz@gnu.org>
9109
9110 * mail/sendmail.el (mail-yank-region):
9111 Recognize rmail-yank-current-message in addition to insert-buffer.
9112 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
9113 a *mail* buffer created through rmail-start-mail with sendmail as
9114 mail-user-agent.
9115
9116 2012-05-27 Chong Yidong <cyd@gnu.org>
9117
9118 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
9119 Default to 256 (Bug#11267).
9120
9121 * help.el (describe-mode): Doc fix.
9122
9123 2012-05-26 Glenn Morris <rgm@gnu.org>
9124
9125 * w32-fns.el (w32-init-info): Remove.
9126 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
9127
9128 * info.el (info-initialize): For self-contained NS builds, put the
9129 included info/ directory at the front. (Bug#2791)
9130
9131 * paths.el (Info-default-directory-list): Make it a defcustom,
9132 mainly so that we can use custom-initialize-delay.
9133
9134 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
9135
9136 * subr.el (buffer-has-markers-at): Mark obsolete.
9137
9138 * subr.el (lambda): Use declare.
9139
9140 * emacs-lisp/lisp-mode.el (lambda):
9141 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
9142
9143 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9144
9145 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
9146
9147 2012-05-26 Glenn Morris <rgm@gnu.org>
9148
9149 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
9150
9151 2012-05-25 Glenn Morris <rgm@gnu.org>
9152
9153 * paths.el: Remove no-byte-compile.
9154 * loadup.el: No need to load paths.el uncompiled.
9155
9156 * image.el (imagemagick-types-inhibit): Doc fix.
9157
9158 * version.el: Remove no-byte-compile and associated formatting.
9159 * loadup.el: No need to load version.el uncompiled. AFAICS, this
9160 is ancient code from when there was an "inc-vers.el".
9161
9162 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9163
9164 * progmodes/gdb-mi.el: Minor style changes.
9165 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
9166 Turn into minor modes.
9167 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
9168 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
9169 (gdb-shell): Remove unneeded let-binding.
9170 (gdb-get-many-fields): Eliminate O(n²) behavior.
9171
9172 2012-05-25 Eli Zaretskii <eliz@gnu.org>
9173
9174 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
9175 platforms that don't link in fontset.c.
9176
9177 2012-05-25 Juri Linkov <juri@jurta.org>
9178
9179 Use the same diff color scheme as in modern VCSes (bug#10181).
9180
9181 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
9182 to avoid confusion with `diff-added' that now uses green colors.
9183 (diff-removed): Use shades of red.
9184 (diff-added): Use shades of green.
9185 (diff-changed): Leave just the yellow color.
9186 (diff-use-changed-face): New variable.
9187 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
9188 how to highlight context diff changes.
9189 (diff-refine-change): Use shades of yellow.
9190 (diff-refine-removed): New face that uses shades of red.
9191 (diff-refine-added): New face that uses shades of green.
9192 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
9193 `diff-refine-removed' in the call to `smerge-refine-subst'
9194 depending on the value of `diff-use-changed-face'.
9195
9196 * vc/smerge-mode.el (smerge-mine): Use shades of red.
9197 (smerge-other): Use shades of green.
9198 (smerge-base): Use shades of yellow.
9199 (smerge-refined-change): Empty face.
9200 (smerge-refined-removed): New face that uses shades of red.
9201 (smerge-refined-added): New face that uses shades of green.
9202 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
9203 args `props-r' and `props-a', and use them. Doc fix.
9204 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
9205 on its value use different faces `smerge-refined-change',
9206 `smerge-refined-removed', `smerge-refined-added' in the call to
9207 `smerge-refine-subst'.
9208
9209 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
9210 Add face condition `min-colors 88' with shades of red.
9211 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
9212 `min-colors 88' with shades of green.
9213 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
9214 `min-colors 88' with shades of yellow.
9215
9216 2012-05-24 Glenn Morris <rgm@gnu.org>
9217
9218 * paths.el (prune-directory-list, remote-shell-program): Move to...
9219 * files.el (prune-directory-list, remote-shell-program): ...here.
9220 For the latter, delay initialization, prefer ssh, just search PATH.
9221
9222 * paths.el (term-file-prefix): Move to faces.el (the only user).
9223 * faces.el (term-file-prefix): Move here, make it a defcustom.
9224
9225 * paths.el (news-directory, news-path, news-inews-program):
9226 Move to gnus/nnspool.el.
9227
9228 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
9229
9230 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
9231 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
9232 Make the latter a defcustom, with a delayed initialization.
9233
9234 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
9235 These were deleted from Gnus itself late 2010.
9236
9237 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
9238
9239 * progmodes/which-func.el (which-func-ff-hook):
9240 Check against user-error, not error.
9241
9242 * emacs-lisp/edebug.el (top): Do not load or set up loading of
9243 cl-specs.el, which no longer exists.
9244
9245 2012-05-22 Glenn Morris <rgm@gnu.org>
9246
9247 * info.el (info-emacs-bug): New command.
9248 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
9249 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
9250
9251 2012-05-21 Glenn Morris <rgm@gnu.org>
9252
9253 * makefile.w32-in (update-subdirs-SH):
9254 * Makefile.in (update-subdirs): Update for moved update-subdirs.
9255
9256 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
9257
9258 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
9259
9260 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9261 Simplify Maven regexp, and make sure the file can't start with a space
9262 (bug#11517).
9263
9264 2012-05-21 Glenn Morris <rgm@gnu.org>
9265
9266 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9267 Scrap superfluous subshells.
9268
9269 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
9270
9271 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
9272 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
9273
9274 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
9275
9276 * calc/calc.el (calc-ensure-consistent-units): New variable.
9277
9278 * calc/calc-units.el (math-consistent-units-p)
9279 (math-check-unit-consistency): New functions.
9280 (calc-quick-units, calc-convert-units):
9281 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
9282 is non-nil.
9283 (calc-extract-units): Fix typo.
9284
9285 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
9286
9287 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
9288
9289 * textmodes/flyspell.el: Commenting style, plus code simplifications.
9290 (flyspell-default-deplacement-commands): Don't spell check after
9291 repeated window/frame switches (e.g. triggered by mouse-movement).
9292 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
9293 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
9294 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
9295 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
9296 Remove unused vars.
9297 (flyspell-get-casechars, flyspell-get-not-casechars):
9298 Simplify; Don't bother removing a ] just to add it back.
9299 * textmodes/ispell.el (ispell-program-name): Use executable-find.
9300
9301 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9302
9303 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
9304 New functions.
9305 (math-function-table): Add support for more C functions.
9306
9307 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9308
9309 * textmodes/flyspell.el (flyspell-check-pre-word-p)
9310 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
9311 Protect delay handling for otherchars against empty otherchars.
9312
9313 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
9314
9315 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
9316 their respective macro declarations.
9317 * skeleton.el (define-skeleton):
9318 * progmodes/compile.el (define-compilation-mode):
9319 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
9320 (define-ibuffer-filter):
9321 * emacs-lisp/generic.el (define-generic-mode):
9322 * emacs-lisp/easy-mmode.el (define-minor-mode)
9323 (define-globalized-minor-mode):
9324 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
9325 * emacs-lisp/byte-run.el (defsubst):
9326 * custom.el (deftheme): Add doc-string metadata.
9327
9328 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9329
9330 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
9331
9332 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9333
9334 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
9335
9336 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
9337 * emacs-lisp/cl-macs.el: Idem.
9338 * emacs-lisp/cl-specs.el: Remove.
9339
9340 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9341
9342 Minor renaming of internal CL functions and variables.
9343 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
9344 (cl--position): Rename from cl-position.
9345 (cl--delete-duplicates): Rename from cl-delete-duplicates.
9346 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
9347 (cl--random-state): Rename from *random-state*.
9348
9349 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9350
9351 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
9352 parens around the arg list (bug#11499).
9353
9354 2012-05-17 Juri Linkov <juri@jurta.org>
9355
9356 * isearch.el (word-search-regexp, word-search-backward)
9357 (word-search-forward, word-search-backward-lax)
9358 (word-search-forward-lax): Move functions from search.c
9359 (bug#10145, bug#11381).
9360
9361 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9362
9363 * textmodes/flyspell.el (flyspell-check-pre-word-p)
9364 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
9365 Delay for otherchars as for normal word components.
9366
9367 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
9368
9369 * minibuffer.el (completion--sifn-requote): Fix last change.
9370 (minibuffer-local-must-match-filename-map):
9371 Move define-obsolete-variable-alias before its var.
9372
9373 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9374
9375 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
9376
9377 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
9378 behavior.
9379 (completion--string-equal-p): New function.
9380 (completion--twq-all): Use it to get better assertion failure data.
9381
9382 Only handle ".." and '..' quoting in shell-mode (bug#11466).
9383 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
9384 (shell--requote-argument): New functions.
9385 (shell-completion-vars): Use them.
9386 (shell--parse-pcomplete-arguments): Rename from
9387 shell-parse-pcomplete-arguments.
9388 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
9389 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
9390 Obey comint-file-name-quote-list.
9391
9392 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
9393 (smie-indent-keyword): Use it.
9394
9395 2012-05-14 Stefan Merten <smerten@oekonux.de>
9396
9397 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
9398
9399 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
9400
9401 * net/rlogin.el (rlogin-mode-map): Fix last change.
9402
9403 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
9404
9405 * mail/smtpmail.el (smtpmail-send-command): Send the command and
9406 the following \r\n using a single `process-send-string', since the
9407 Lotus SMTP server refuses to accept any commands if they are sent
9408 with two `process-send-string's (Bug#11444).
9409
9410 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
9411
9412 * shell.el (shell-parse-pcomplete-arguments):
9413 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
9414
9415 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
9416
9417 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
9418 (image-transform-scale, image-transform-right-angle-fudge): New vars.
9419 (image-transform-width, image-transform-fit-width): New functions.
9420 (image-transform-properties): Use them.
9421 (image-transform-check-size): New function.
9422 (image-toggle-display-image): Use it (for testing).
9423 (image-transform-set-rotation): Reduce angle mod 360.
9424 Delete obsolete comment.
9425
9426 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
9427
9428 * image-mode.el: Fix scaling (bug#11399).
9429 (image-transform-resize): Doc fix.
9430 (image-transform-properties): Default scale is 1 and height should
9431 be an integer.
9432
9433 2012-05-13 Johan Bockgård <bojohan@gnu.org>
9434
9435 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
9436 than hard-coding `car', to fix misbehavior when moving forward.
9437
9438 2012-05-13 Chong Yidong <cyd@gnu.org>
9439
9440 * emacs-lisp/tabulated-list.el (tabulated-list-format)
9441 (tabulated-list-entries, tabulated-list-padding)
9442 (tabulated-list-sort-key): Make permanent-local.
9443
9444 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
9445 (electric-buffer-list): Put electric buffer menu
9446 command descriptions in this docstring, instead of the docstring
9447 of electric-buffer-menu-mode. Code cleanups.
9448 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
9449 Electric-buffer-menu-mode.
9450 (electric-buffer-update-highlight): Minor code cleanup.
9451
9452 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
9453
9454 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
9455 (Bug#11447)
9456
9457 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9458
9459 Move define-obsolete-variable-alias before the var's definition.
9460 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
9461 * tooltip.el (tooltip-hook):
9462 * textmodes/reftex-toc.el (reftex-toc-map):
9463 * textmodes/reftex-sel.el (reftex-select-label-map)
9464 (reftex-select-bib-map):
9465 * textmodes/reftex-index.el (reftex-index-map)
9466 (reftex-index-phrases-map):
9467 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
9468 * progmodes/meta-mode.el (meta-mode-map):
9469 * novice.el (disabled-command-hook):
9470 * loadhist.el (unload-hook-features-list):
9471 * frame.el (blink-cursor):
9472 * files.el (find-file-not-found-hooks, write-file-hooks)
9473 (write-contents-hooks):
9474 * emulation/tpu-edt.el (GOLD-map):
9475 * emacs-lock.el (emacs-lock-from-exiting):
9476 * emacs-lisp/generic.el (generic-font-lock-defaults):
9477 * emacs-lisp/chart.el (chart-map):
9478 * dos-fns.el (register-name-alist):
9479 * dired-x.el (dired-omit-files-p):
9480 * desktop.el (desktop-enable):
9481 * cus-edit.el (custom-mode-hook):
9482 * buff-menu.el (buffer-menu-mode-hook):
9483 * bookmark.el (bookmark-read-annotation-text-func)
9484 (bookmark-exit-hooks):
9485 * allout.el (allout-mode-deactivate-hook)
9486 (allout-exposure-change-hook, allout-structure-added-hook)
9487 (allout-structure-deleted-hook, allout-structure-shifted-hook):
9488 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
9489 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
9490 comes before the corresponding variable's definition.
9491
9492 2012-05-12 Chong Yidong <cyd@gnu.org>
9493
9494 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
9495 (Buffer-menu-mouse-select): Restore function (Bug#11459).
9496 (Buffer-menu-mode-map): Bind it.
9497 (Buffer-menu--pretty-name): Add a mouse-face property.
9498
9499 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
9500
9501 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
9502 (prolog-upper-case-string, prolog-lower-case-string)
9503 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
9504 (prolog-use-smie, prolog-smie-grammar): New vars.
9505 (prolog-smie-forward-token, prolog-smie-backward-token)
9506 (prolog-smie-rules): New funs.
9507 (prolog-comment-indent): Remove.
9508 (prolog-mode-variables): Use default comment indentation instead.
9509 Setup SMIE.
9510 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
9511 (prolog-mode): Don't call them any more.
9512 (prolog-electric-colon, prolog-electric-dash)
9513 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
9514
9515 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
9516
9517 * minibuffer.el (completion--twq-all): Again, allow case differences.
9518
9519 * term.el: Move keymap initialization code to be more idiomatic.
9520 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
9521 (term-terminal-menu): Move initialization into declaration.
9522 (term-escape-char): Let the user set it in her .emacs.
9523
9524 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
9525 Provide SMIE-based indentation (not enabled by default yet).
9526 (sh-mode-map): Don't bind electric keys.
9527 Use electric-pair-mode instead of skeleton-pair.
9528 (sh-assignment-regexp): Fit within 80 columns.
9529 (sh-indent-supported): Specify actual shell name instead of boolean.
9530 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
9531 (sh-maybe-here-document): Use it. Make obsolete.
9532 (sh-electric-here-document-mode) New minor mode.
9533 (sh-mode): Use it. Don't set sh-indent-supported-here here.
9534 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
9535 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
9536 (sh-smie-rc-grammar, sh-use-smie): New vars.
9537 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
9538 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
9539 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
9540 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
9541 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
9542 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
9543 (sh-set-shell): Use smie-setup if requested.
9544
9545 * term.el (term-set-escape-char): Properly set term-escape-char.
9546 See http://stackoverflow.com/questions/10524656.
9547
9548 2012-05-10 Chong Yidong <cyd@gnu.org>
9549
9550 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
9551 Use url-generic-parse-url, and handle host names and Windows
9552 filenames properly.
9553 (ffap-url-unwrap-remote): Use url-generic-parse-url.
9554 (ffap-url-unwrap-remote): Accept list values, specifying a list of
9555 URL schemes to work on.
9556 (ffap--toggle-read-only): New function.
9557 (ffap-read-only, ffap-read-only-other-window)
9558 (ffap-read-only-other-frame): Use it.
9559 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
9560 necessary for ffap-url-unwrap-remote.
9561
9562 2012-05-10 Dave Abrahams <dave@boostpro.com>
9563
9564 * cus-start.el (create-lockfiles): Add it.
9565
9566 2012-05-09 Chong Yidong <cyd@gnu.org>
9567
9568 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
9569 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
9570
9571 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9572
9573 * shell.el (shell-completion-vars): Fix last change (bug#11348).
9574
9575 2012-05-09 Chong Yidong <cyd@gnu.org>
9576
9577 * ansi-color.el (ansi-color-process-output): Check for validity of
9578 comint-last-output-start before using it. This avoids a bad
9579 interaction with gdb-mi's input/output buffer.
9580
9581 2012-05-09 Glenn Morris <rgm@gnu.org>
9582
9583 * files.el (dir-locals-read-from-file):
9584 Mention dir-locals in any error message.
9585
9586 2012-05-09 Chong Yidong <cyd@gnu.org>
9587
9588 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
9589 package (Bug#11410).
9590
9591 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
9592 variables into description.
9593
9594 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9595
9596 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
9597 shell-delimiter-argument-list (bug#11348).
9598 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
9599
9600 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
9601
9602 * textmodes/rst.el: Silence byte-compiler warnings.
9603 (rst-re-alist, rst-reset-section-caches): Move around.
9604 (rst-re): Use `characterp', not `char-valid-p'.
9605 (font-lock-beg, font-lock-end): Declare.
9606
9607 * progmodes/idlw-shell.el (specs): Remove reference to deleted
9608 variable `idlwave-shell-activate-alt-keybindings' and simplify.
9609
9610 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
9611
9612 2012-05-08 Glenn Morris <rgm@gnu.org>
9613
9614 * files.el (auto-mode-alist): Treat ".make" like ".mk".
9615
9616 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9617
9618 * vc/log-edit.el: Add GNU coding standards highlighting.
9619 (log-edit-font-lock-gnu-style)
9620 (log-edit-font-lock-gnu-keywords): New vars.
9621 (log-edit-font-lock-keywords): New fun.
9622 (log-edit-mode): Don't fold case in font-lock.
9623 (log-edit-font-lock-keywords): Do not assume case-folding.
9624
9625 * imenu.el: Misc cleanup. Make docstrings out of comments.
9626 Use lexical-binding.
9627 (imenu--index-alist, imenu--last-menubar-index-alist)
9628 (imenu-menubar-modified-tick): Use defvar-local.
9629 (imenu--split-menu): Remove unused var.
9630 (imenu--cleanup-seen): Declare as global.
9631 (imenu--cleanup): Use dolist.
9632
9633 * subr.el (defvar-local): Add debug spec and doc-string position.
9634
9635 2012-05-08 Glenn Morris <rgm@gnu.org>
9636
9637 * language/burmese.el, language/cham.el, language/czech.el:
9638 * language/english.el, language/georgian.el, language/greek.el:
9639 * language/japanese.el, language/khmer.el, language/korean.el:
9640 * language/lao.el, language/misc-lang.el, language/romanian.el:
9641 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
9642 * language/thai.el, language/utf-8-lang.el:
9643 Remove no-byte-compile setting.
9644
9645 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
9646
9647 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9648
9649 * progmodes/make-mode.el (makefile-browse):
9650 Remove unnecessary interactive. (Bug#11324)
9651
9652 2012-05-07 Glenn Morris <rgm@gnu.org>
9653
9654 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
9655
9656 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
9657
9658 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9659
9660 * loadup.el: Preload newcomment.el.
9661 * newcomment.el: Move autoload-only code to toplevel.
9662
9663 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
9664 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
9665 Handle new :right-align column property.
9666 (tabulated-list-print-col): Idem, plus use `display' text-property to
9667 try and preserve alignment for variable pitch fonts.
9668
9669 2012-05-07 Chong Yidong <cyd@gnu.org>
9670
9671 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
9672 (tabulated-list-use-header-line): New var.
9673 (tabulated-list-init-header): Use it.
9674 (tabulated-list-print-fake-header): New function.
9675 (tabulated-list-print): Use it.
9676 (tabulated-list-sort-button-map): Add non-header-line commands.
9677 (tabulated-list-init-header): Add column name property to basic
9678 labels as well.
9679 (tabulated-list-col-sort): Handle non-header-line button case.
9680 (tabulated-list--sort-by-column-name): Fix a corner case.
9681
9682 * buff-menu.el (list-buffers--refresh):
9683 Handle Buffer-menu-use-header-line.
9684
9685 2012-05-06 Chong Yidong <cyd@gnu.org>
9686
9687 * buff-menu.el: Convert to Tabulated List mode.
9688 (Buffer-menu-buffer+size-width): Make obsolete.
9689 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
9690 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
9691 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
9692 documentation into docstring of buffer-menu.
9693 (Buffer-menu-toggle-files-only): Add an informative message.
9694 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
9695 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
9696 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
9697 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
9698 (Buffer-menu-execute, Buffer-menu-select)
9699 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
9700 (Buffer-menu-bury): Use Tabulated List machinery.
9701 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
9702 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
9703 Delete.
9704 (list-buffers--refresh): New function.
9705 (list-buffers-noselect): Use it.
9706 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
9707 (Buffer-menu--pretty-file-name): New helper functions.
9708
9709 * loadup.el: Preload tabulated-list.
9710
9711 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
9712 tabulated-list-sort-column.
9713 (tabulated-list-init-header): Add the initial aligning space even
9714 if tabulated-list-padding is zero.
9715
9716 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
9717
9718 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
9719 whose cdr is not a cons cell correctly (bug#11038).
9720
9721 2012-05-06 Chong Yidong <cyd@gnu.org>
9722
9723 * emacs-lisp/tabulated-list.el (tabulated-list-format):
9724 Accept additional plist in column descriptors.
9725 (tabulated-list-init-header): Obey it.
9726 (tabulated-list-get-entry): New function.
9727 (tabulated-list-put-tag): Use it. Use string-width instead of
9728 length.
9729 (tabulated-list--column-number): New function.
9730 (tabulated-list-print): Use it.
9731 (tabulated-list-print-col): New function.
9732 Set `tabulated-list-column-name' property on each column's text.
9733 (tabulated-list-print-entry): Use it.
9734 (tabulated-list-delete-entry, tabulated-list-set-col):
9735 New functions.
9736 (tabulated-list-sort-column): New command (Bug#11337).
9737
9738 * buff-menu.el (list-buffers): Move C-x C-b binding from
9739 buff-menu.el to bindings.el.
9740
9741 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
9742 :advertised-binding feature.
9743
9744 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
9745
9746 * progmodes/compile.el (compilation-internal-error-properties):
9747 Calculate start position correctly when end-col is set but
9748 end-line is not (Bug#11382).
9749
9750 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
9751
9752 * man.el (Man-unindent): Use text-property-default-nonsticky to
9753 prevent untabify from inheriting face properties (Bug#11408).
9754
9755 2012-05-05 Stefan Merten <smerten@oekonux.de>
9756
9757 * textmodes/rst.el: Major merge with upstream development up to
9758 Docutils SVN r7399 / rst.el V1.2.1.
9759
9760 Clarify maintainership and authors.
9761
9762 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
9763 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
9764 (rst-official-version, rst-official-cvs-rev, rst-version)
9765 (rst-package-emacs-version-alist): New functions and variables
9766 for version information.
9767
9768 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
9769 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
9770 (rst-mode-syntax-table, rst-mode): New and corrected functions
9771 and variables representing reStructuredText features.
9772
9773 (rst-re): New function for reStructuredText regexes. Use in
9774 many places.
9775
9776 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
9777 (rst-mode-map): Rebind keys.
9778
9779 (rst-mode-lazy, rst-font-lock-keywords)
9780 (rst-font-lock-extend-region)
9781 (rst-font-lock-extend-region-internal)
9782 (rst-font-lock-extend-region-extend)
9783 (rst-font-lock-find-unindented-line-limit)
9784 (rst-font-lock-find-unindented-line-match)
9785 (rst-adornment-level, rst-font-lock-adornment-level)
9786 (rst-font-lock-adornment-match)
9787 (rst-font-lock-handle-adornment-pre-match-form)
9788 (rst-font-lock-handle-adornment-matcher): Major revision of
9789 font-locking. Integrate with other code. Use `jit-lock-mode'.
9790
9791 (rst-preferred-adornments, rst-adjust-hook)
9792 (rst-new-adornment-down, rst-preferred-bullets)
9793 (rst-preferred-bullets, rst-indent, rst-indent-width)
9794 (rst-indent-field, rst-indent-literal-normal)
9795 (rst-indent-literal-minimized, rst-indent-comment): Change,
9796 extend and improve customization.
9797
9798 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
9799 (rst-normalize-cursor-position, rst-get-decoration)
9800 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
9801 (rst-rstrip, rst-toc-insert-find-delete-contents)
9802 (rst-shift-fill-region, rst-compute-bullet-tabs)
9803 (rst-debug-print-tabs, rst-debug-mark-found)
9804 (rst-shift-region-guts, rst-shift-region-right)
9805 (rst-shift-region-left, rst-use-char-classes)
9806 (rst-font-lock-keywords-function)
9807 (rst-font-lock-indentation-point)
9808 (rst-font-lock-find-unindented-line-begin)
9809 (rst-font-lock-find-unindented-line-end)
9810 (rst-font-lock-find-unindented-line)
9811 (rst-font-lock-adornment-point, rst-font-lock-level)
9812 (rst-adornment-level-alist): Remove functions and variables.
9813
9814 (rst-compare-adornments, rst-get-adornment-match)
9815 (rst-suggest-new-adornment, rst-get-adornments-around)
9816 (rst-adornment-complete-p, rst-get-next-adornment)
9817 (rst-adjust-adornment, rst-display-adornments-hierarchy)
9818 (rst-straighten-adornments): Standardize function names to
9819 use "adornment" instead of "decoration". Correct callers.
9820 Similar standardizing in many places.
9821
9822 (rst-update-section, rst-adjust, rst-promote-region)
9823 (rst-enumerate-region, rst-bullet-list-region)
9824 (rst-repeat-last-character): Correct use of `interactive'.
9825
9826 (rst-classify-adornment, rst-find-all-adornments)
9827 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
9828 (rst-find-leftmost-column, rst-repeat-last-character):
9829 Refactor functions.
9830
9831 (rst-find-title-line, rst-reset-section-caches)
9832 (rst-get-adornments-around, rst-adjust-adornment-work)
9833 (rst-arabic-to-roman, rst-roman-to-arabic)
9834 (rst-insert-list-pos, rst-insert-list-new-item)
9835 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
9836 New functions.
9837
9838 (rst-all-sections, rst-section-hierarchy)
9839 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
9840 New variables.
9841
9842 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
9843 configuration instead of only buffer. Change where necessary.
9844
9845 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
9846 (rst-shift-region, rst-adaptive-fill): New functions for
9847 indentation and filling.
9848
9849 (rst-comment-line-break, rst-comment-indent)
9850 (rst-comment-insert-comment, rst-comment-region)
9851 (rst-uncomment-region): New functions for handling comments.
9852
9853 (rst-compile): Quote shell arguments.
9854
9855 (rst-compile-pdf-preview, rst-compile-slides-preview):
9856 Delete temporary files after use.
9857
9858 2012-05-05 Glenn Morris <rgm@gnu.org>
9859
9860 * calendar/cal-html.el: Optionally include holidays in the output.
9861 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
9862 (cal-html-holidays): New option.
9863 (cal-html-css-default): Add holiday entry.
9864 (holiday-in-range): Autoload it.
9865 (cal-html-htmlify-entry): Add optional class argument.
9866 (cal-html-htmlify-list): Add optional holidays argument.
9867 (cal-html-insert-agenda-days): Include holidays in the output.
9868 (cal-html-one-month): Maybe include holidays.
9869
9870 * calendar/holidays.el (holiday-in-range):
9871 Move here from cal-tex-list-holidays.
9872 * calendar/cal-tex.el (cal-tex-list-holidays):
9873 Make it an obsolete alias for holiday-in-range. Update all callers.
9874
9875 2012-05-05 Chong Yidong <cyd@gnu.org>
9876
9877 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
9878 Nextstep.
9879
9880 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
9881
9882 * files.el (file-auto-mode-skip): New var.
9883 (set-auto-mode-1): Use it.
9884
9885 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9886
9887 * repeat.el: Use lexical-binding.
9888 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
9889 (repeat-undo-count): Remove.
9890 (repeat):
9891 * progmodes/octave-mod.el (octave-abbrev-start):
9892 * progmodes/f90.el (f90-abbrev-start):
9893 * face-remap.el (text-scale-adjust):
9894 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
9895
9896 * emacs-lisp/pcase.el (pcase--let*): New function.
9897 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
9898 a bit more.
9899 (pcase--split-pred): Be more clever about ruling out overlap between
9900 a predicate and some constant pattern.
9901 (pcase--q1): Use `null' instead of (eq foo nil).
9902
9903 * subr.el (setq-local, defvar-local): New macros.
9904 (kbd): Redefine as an alias.
9905 (with-selected-window): Leave unrelated frames alone.
9906 (set-temporary-overlay-map): New function.
9907
9908 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9909
9910 * subr.el (user-error): New function.
9911 * window.el (switch-to-buffer):
9912 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
9913 (smerge-match-conflict):
9914 * simple.el (previous-matching-history-element)
9915 (next-matching-history-element, goto-history-element, undo-more)
9916 (undo-start):
9917 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
9918 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
9919 (next-file, tags-loop-scan, list-tags, complete-tag):
9920 * progmodes/compile.el (compilation-loop):
9921 * mouse.el (mouse-minibuffer-check):
9922 * man.el (Man-bgproc-sentinel, Man-goto-page):
9923 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
9924 (Info-history-forward, Info-follow-reference, Info-menu)
9925 (Info-extract-menu-item, Info-extract-menu-counting)
9926 (Info-forward-node, Info-backward-node, Info-next-menu-item)
9927 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
9928 (Info-next-reference, Info-prev-reference, Info-index)
9929 (Info-index-next, Info-follow-nearest-node)
9930 (Info-copy-current-node-name):
9931 * imenu.el (imenu--make-index-alist)
9932 (imenu-default-create-index-function, imenu-add-to-menubar):
9933 * files.el (basic-save-buffer, recover-file):
9934 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
9935 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
9936 (checkdoc-message-text, checkdoc-defun):
9937 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
9938 * cus-edit.el (customize-changed-options, customize-rogue)
9939 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
9940 (custom-variable-mark-to-reset-standard)
9941 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
9942 (custom-file):
9943 * completion.el (check-completion-length):
9944 * comint.el (comint-search-arg)
9945 (comint-previous-matching-input-string-position)
9946 (comint-previous-matching-input)
9947 (comint-replace-by-expanded-history-before-point, comint-send-input)
9948 (comint-copy-old-input, comint-backward-matching-input)
9949 (comint-goto-process-mark, comint-set-process-mark):
9950 * calendar/calendar.el (calendar-cursor-to-date): Use it.
9951 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
9952
9953 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9954
9955 * dabbrev.el (dabbrev--ignore-case-p): New function.
9956 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
9957 Use it.
9958
9959 * files.el (automount-dir-prefix): Mark as obsolete.
9960
9961 2012-05-04 Glenn Morris <rgm@gnu.org>
9962
9963 * patcomp.el, play/bruce.el: Move to obsolete/.
9964
9965 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
9966
9967 Fix minor Y10k bugs.
9968 * arc-mode.el (archive-unixdate):
9969 * autoinsert.el (auto-insert-alist):
9970 * calc/calc-forms.el (math-this-year):
9971 * emacs-lisp/copyright.el (copyright-current-year)
9972 (copyright-update-year, copyright):
9973 * tar-mode.el (tar-clip-time-string):
9974 * time.el (display-time-update):
9975 Don't assume years have 4 digits.
9976
9977 2012-05-04 Chong Yidong <cyd@gnu.org>
9978
9979 * dos-w32.el (file-name-buffer-file-type-alist)
9980 (direct-print-region-use-command-dot-com):
9981 * ffap.el (ffap-menu-regexp):
9982 * find-file.el (ff-special-constructs):
9983 * follow.el (follow-debug):
9984 * forms.el (forms--debug):
9985 * iswitchb.el (iswitchb-all-frames):
9986 * ido.el (ido-all-frames):
9987 * emacs-lisp/timer.el (timer-max-repeats):
9988 * mail/feedmail.el (feedmail-mail-send-hook)
9989 (feedmail-mail-send-hook-queued):
9990 * mail/footnote.el (footnote-signature-separator):
9991 * mail/mailabbrev.el (mail-alias-separator-string)
9992 (mail-abbrev-mode-regexp):
9993 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
9994 * progmodes/idlwave.el (idlwave-libinfo-file)
9995 (idlwave-default-completion-case-is-down)
9996 (idlwave-library-routines): Convert defvars to defcustoms.
9997
9998 * mail/rmail.el (rmail-decode-mime-charset):
9999 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
10000 (idlwave-shell-fix-inserted-breaks)
10001 (idlwave-shell-activate-alt-keybindings)
10002 (idlwave-shell-use-breakpoint-glyph):
10003 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
10004
10005 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10006
10007 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
10008
10009 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
10010
10011 * progmodes/verilog-mode.el (font-lock-keywords):
10012 Fix mis-highligting auto. Reported by Craig Barner.
10013 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
10014 defines from global name space. Reported by Dan Dever.
10015 (verilog-auto-reset, verilog-auto-reset-widths)
10016 (verilog-auto-tieoff): Support using unbased numbers for
10017 AUTORESET and AUTOTIEOFF.
10018 (verilog-submit-bug-report): Update variable list.
10019 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
10020 parenthesis from not matching. Reported by Michael Rytting.
10021 (verilog-auto-template-lint): Fix hash error when linting modules
10022 with no used templates.
10023 (verilog-warn, verilog-warn-error)
10024 (verilog-warn-fatal): When non-interactive report multiple
10025 warnings before exiting. Suggested by Brad Dobbie.
10026 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
10027 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
10028 to report unused template errors. Reported by Brad Dobbie.
10029 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
10030 nets, bug438. Reported by Vns Blore.
10031 (verilog-auto-inout-module, verilog-auto-reg)
10032 (verilog-read-decls, verilog-read-sub-decls-sig)
10033 (verilog-signals-edit-wire-reg, verilog-signals-with):
10034 Fix passing of Verilog data types in ANSI input/output ports
10035 such as "output logic" into the AUTOs. Special case "wire" and
10036 "reg" for backwards compatibility presuming Verilog 2001.
10037 (verilog-auto-ascii-enum): Add "auto enum" as alias.
10038 (verilog-preprocess): Fix replication of preprocess output.
10039 Reported by Brad Dobbie.
10040 (verilog-auto-inst-interfaced-ports):
10041 Create verilog-auto-inst-interfaced-ports, bug429.
10042 Reported by Julian Gorfajn.
10043 (verilog-after-save-font-hook)
10044 (verilog-before-save-font-hook): New variable.
10045 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
10046 (verilog-save-font-mods): Wrap disabling fontification, reported
10047 by David Rogoff.
10048 (verilog-do-indent, verilog-pretty-declarations-auto)
10049 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
10050 Reported by Pierre-David Pfister.
10051 (verilog-set-auto-endcomments): Fix endtask auto comments outside
10052 of class declarations, bug292. Reported by Kevin Heilman.
10053 (verilog-read-decls): Fix 'parameter type' not appearing in
10054 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
10055 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
10056 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
10057 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
10058 Reported by David Kravitz.
10059
10060 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
10061
10062 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
10063 assignment with tests in ifs and for loops.
10064 (verilog-extended-complete-re, verilog-complete-reg): Change so
10065 that DPI inport functions don't look like fuction declarations.
10066 (verilog-pretty-expr): Don't line up assignment
10067 operations to the test and increment in if and for loops
10068 (verilog-extended-complete-re, verilog-complete-reg): Change so
10069 that DPI inport functions don't look like fuction declarations.
10070
10071 2012-05-03 Kenichi Handa <handa@m17n.org>
10072
10073 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
10074 decoding, and show a warning message without signaling an error
10075 (Bug#11282).
10076
10077 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10078
10079 * emacs-lisp/bytecomp.el
10080 (byte-compile-file-form-custom-declare-variable): Compile all elements,
10081 since cconv.el might have introduced :fun-body, internal-make-closure,
10082 and friends for bytecomp to handle (bug#11391).
10083 * custom.el (defcustom): Avoid ((λ ..) ..).
10084
10085 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
10086
10087 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
10088
10089 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
10090
10091 * notifications.el (dbus-debug):
10092 * term/linux.el (gpm-mouse-enable):
10093 * term/screen.el (xterm-register-default-colors): Declare.
10094
10095 2012-05-02 Chong Yidong <cyd@gnu.org>
10096
10097 * cus-start.el (gc-cons-percentage, exec-suffixes)
10098 (dos-display-scancodes, dos-hyper-key, dos-super-key)
10099 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
10100 (make-cursor-line-fully-visible, void-text-area-pointer)
10101 (font-list-limit): Add customization data.
10102
10103 * allout.el (allout-exposure-change-functions)
10104 (allout-structure-added-functions)
10105 (allout-structure-deleted-functions)
10106 (allout-structure-shifted-functions): Rename abnormal hooks from
10107 *-hook, and convert to defcustoms.
10108 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
10109 Convert to defcustoms.
10110 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
10111
10112 * allout-widgets.el: Hook callers changed.
10113
10114 2012-05-02 Eli Zaretskii <eliz@gnu.org>
10115
10116 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
10117 the yanked message in preference to the default value of
10118 buffer-file-coding-system.
10119
10120 2012-05-02 Martin Rudalics <rudalics@gmx.at>
10121
10122 * window.el (display-buffer--action-function-custom-type):
10123 Fix entry.
10124
10125 2012-05-02 Alan Mackenzie <acm@muc.de>
10126
10127 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
10128
10129 2012-05-01 Glenn Morris <rgm@gnu.org>
10130
10131 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
10132
10133 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
10134
10135 * cus-edit.el (custom-variable-documentation): Simplify with format.
10136
10137 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10138 Stefan Monnier <monnier@iro.umontreal.ca>
10139
10140 * simple.el (suggest-key-bindings, execute-extended-command):
10141 Move from keyboard.c.
10142
10143 2012-05-01 Chong Yidong <cyd@gnu.org>
10144
10145 * follow.el: Eliminate advice.
10146 (set-process-filter, process-filter, sit-for): Advice deleted.
10147 (follow-mode-off-hook): Obsolete hook removed.
10148 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
10149 Vars deleted.
10150 (follow-auto): Use a :set function.
10151 (follow-mode): Rewritten. Don't advise process filters.
10152 (follow-switch-to-current-buffer-all, follow-scroll-up)
10153 (follow-scroll-down): Assume follow-mode is bound.
10154 (follow-comint-scroll-to-bottom)
10155 (follow-align-compilation-windows): New functions.
10156 (follow--window-sorter): New function.
10157 (follow-all-followers): Use it to explicitly sort windows by their
10158 positions; don't make assumptions about next-window order.
10159 (follow-windows-start-end, follow-delete-other-windows-and-split)
10160 (follow-calc-win-start): Doc fix.
10161 (follow-windows-aligned-p, follow-select-if-visible): Don't call
10162 vertical-motion unnecessarily.
10163 (follow-adjust-window): New function.
10164 (follow-post-command-hook): Use it.
10165 (follow-call-set-process-filter, follow-call-process-filter)
10166 (follow-intercept-process-output, follow-tidy-process-filter-alist)
10167 (follow-stop-intercept-process-output, follow-generic-filter):
10168 Functions deleted.
10169 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
10170 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
10171 New functions, replacing advice on scroll-bar-* commands.
10172 (follow-mwheel-scroll): New function (Bug#4112).
10173
10174 * comint.el (comint-adjust-point): New function.
10175 (comint-postoutput-scroll-to-bottom): Use it.
10176 Call follow-comint-scroll-to-bottom for Follow mode buffers.
10177
10178 2012-05-01 Glenn Morris <rgm@gnu.org>
10179
10180 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
10181 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
10182 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
10183 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
10184 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
10185 Remove no-byte-compile setting.
10186
10187 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
10188
10189 * minibuffer.el (completion-table-with-quoting): Fix compatibility
10190 all-completions code to not return a number in the last cdr.
10191
10192 2012-04-30 Leo Liu <sdl.web@gmail.com>
10193
10194 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
10195 read-only error.
10196
10197 2012-04-29 Chong Yidong <cyd@gnu.org>
10198
10199 * follow.el (follow-calc-win-end): Rewrite to handle partial
10200 screen lines correctly (Bug#8390).
10201 (follow-avoid-tail-recenter): Minor cleanup.
10202
10203 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10204
10205 Avoid the obsolete `assoc' package.
10206 * speedbar.el (speedbar-refresh): Avoid adelete.
10207 (speedbar-file-lists): Simplify and avoid aput.
10208 * man.el (Man--sections, Man--refpages): New vars, replacing
10209 Man-sections-alist and Man-refpages-alist.
10210 (Man-build-section-alist, Man-build-references-alist):
10211 Use them; avoid aput.
10212 (Man--last-section, Man--last-refpage): New vars.
10213 (Man-follow-manual-reference): Use them.
10214 Use the `default' arg of completing-read.
10215 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
10216
10217 2012-04-27 Chong Yidong <cyd@gnu.org>
10218
10219 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
10220
10221 * startup.el (x-apply-session-resources): New function.
10222
10223 * term/ns-win.el (ns-initialize-window-system):
10224 * term/w32-win.el (w32-initialize-window-system):
10225 * term/x-win.el (x-initialize-window-system): Use it to properly
10226 set menu-bar-mode and other vars from X resources, even if the
10227 initial frame is not a window-system frame (Bug#2299).
10228
10229 * subr.el (read-key): Avoid running filter function when setting
10230 up temporary tool bar entries (Bug#9922).
10231
10232 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
10233
10234 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
10235 (Bug#11344)
10236
10237 2012-04-27 Chong Yidong <cyd@gnu.org>
10238
10239 * select.el (xselect--encode-string): New function, split from
10240 xselect-convert-to-string.
10241 (xselect-convert-to-string): Use it.
10242 (xselect-convert-to-filename, xselect-convert-to-os)
10243 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
10244 returned strings are properly encoded (Bug#11315).
10245
10246 2012-04-27 Chong Yidong <cyd@gnu.org>
10247
10248 * simple.el (delete-active-region): Move to killing custom group.
10249
10250 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
10251
10252 * progmodes/which-func.el (which-func-current): Quote %
10253 characters for mode-line processing.
10254
10255 2012-04-27 Chong Yidong <cyd@gnu.org>
10256
10257 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
10258 reaching eob (Bug#11286).
10259
10260 2012-04-27 Eli Zaretskii <eliz@gnu.org>
10261
10262 * progmodes/gdb-mi.el (gdb-control-level): New variable.
10263 (gdb): Make it buffer-local and init to zero.
10264 (gdb-control-commands-regexp): New variable.
10265 (gdb-send): Don't wrap in "-interpreter-exec console" if
10266 gdb-control-level is positive. Increment gdb-control-level
10267 whenever the command matches gdb-control-commands-regexp, and
10268 decrement it each time the command is "end". (Bug#11279)
10269
10270 2012-04-27 Martin Rudalics <rudalics@gmx.at>
10271
10272 * window.el (adjust-window-trailing-edge, enlarge-window)
10273 (shrink-window, window-resize):
10274 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
10275 windows (Bug#11276).
10276
10277 2012-04-27 Chong Yidong <cyd@gnu.org>
10278
10279 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
10280 fix "missing prefix" warning. All callers changed.
10281
10282 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10283
10284 * emacs-lisp/assoc.el: Move to obsolete/.
10285
10286 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10287
10288 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
10289
10290 * term/ns-win.el (ns-define-service):
10291 * progmodes/pascal.el (pascal-goto-defun):
10292 * progmodes/js.el (js--read-tab):
10293 * progmodes/etags.el (tags-lazy-completion-table):
10294 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
10295 * emacs-lisp/ewoc.el (ewoc--wrap):
10296 * emacs-lisp/assoc.el (aput, adelete, amake):
10297 * doc-view.el (doc-view-convert-current-doc):
10298 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
10299
10300 2012-04-26 Chong Yidong <cyd@gnu.org>
10301
10302 * image.el (image-type-from-buffer): Only return supported image
10303 type (Bug#9045).
10304
10305 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
10306 value, for symmetry with diff-end-of-hunk.
10307 (diff-split-hunk, diff-find-source-location)
10308 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
10309 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
10310 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
10311 compute the relevant hunk or file properly (Bug#6005).
10312 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
10313
10314 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10315
10316 * vc/vc-mtn.el:
10317 * vc/vc-hg.el:
10318 * vc/vc-git.el:
10319 * vc/vc-dir.el:
10320 * vc/vc-cvs.el:
10321 * vc/vc-bzr.el:
10322 * vc/vc-arch.el:
10323 * vc/vc.el: Replace lexical-let by lexical-binding.
10324 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
10325 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
10326 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
10327
10328 2012-04-26 Chong Yidong <cyd@gnu.org>
10329
10330 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
10331 (diff-mode-shared-map): Bind it to / and [remap undo].
10332
10333 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
10334 (ediff-window-setup-function): Use it as the default, to set up
10335 windows based on whether the current frame is graphical (Bug#2138).
10336 (ediff-choose-window-setup-function-automatically): Make obsolete.
10337
10338 * vc/ediff-init.el: Always define ediff-pixel-width/height.
10339
10340 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10341
10342 * ffap.el: Remove old code for obsolete package.
10343 (ffap-complete-as-file-p): Remove.
10344
10345 Use completion-table-with-quoting for comint and pcomplete.
10346 * comint.el (comint--unquote&requote-argument)
10347 (comint--unquote-argument, comint--requote-argument): New functions.
10348 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
10349 (comint-quote-filename): Use regexp-opt-charset.
10350 (comint--common-suffix, comint--common-quoted-suffix)
10351 (comint--table-subvert): Remove.
10352 (comint-unquote-function, comint-requote-function): New vars.
10353 (comint--complete-file-name-data): Use them with
10354 completion-table-with-quoting.
10355 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
10356 * pcomplete.el (pcomplete-arg-quote-list)
10357 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
10358 (pcomplete-unquote-argument-function): Default to non-nil.
10359 (pcomplete-unquote-argument): Simplify.
10360 (pcomplete--common-quoted-suffix): Remove.
10361 (pcomplete-requote-argument-function): New var.
10362 (pcomplete--common-suffix): New function.
10363 (pcomplete-completions-at-point): Use completion-table-with-quoting
10364 and completion-table-subvert.
10365
10366 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
10367 (minibuffer--double-dollars): Preserve properties.
10368 (completion--sifn-requote): New function.
10369 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
10370
10371 * minibuffer.el: Add support for completion of quoted/escaped data.
10372 (completion-table-with-quoting, completion-table-subvert): New funs.
10373 (completion--twq-try, completion--twq-all): New functions.
10374 (completion--nth-completion): New function.
10375 (completion-try-completion, completion-all-completions): Use it.
10376
10377 2012-04-25 Leo Liu <sdl.web@gmail.com>
10378
10379 * progmodes/python.el (python-pdbtrack-get-source-buffer):
10380 Use compilation-message if available to find real filename.
10381
10382 2012-04-25 Chong Yidong <cyd@gnu.org>
10383
10384 * vc/diff-mode.el (diff-setup-whitespace): New function.
10385 (diff-mode): Use it.
10386
10387 * vc/diff.el (diff-sentinel):
10388 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
10389 Whitespace mode variables based on diff style (Bug#8612).
10390
10391 2012-04-25 Leo Liu <sdl.web@gmail.com>
10392
10393 * progmodes/python.el (python-send-region): Add suffix .py to the
10394 temp file.
10395
10396 * files.el (auto-mode-alist): Use javascript-mode instead.
10397
10398 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
10399
10400 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
10401
10402 * net/soap-client.el (soap-resolve-references-for-sequence-type)
10403 (soap-resolve-references-for-array-type): Hack to prevent self
10404 references, see Bug#9.
10405 (soap-parse-envelope): Report the contents of the 'detail' node
10406 when receiving a fault reply.
10407 (soap-parse-envelope): Report the contents of the entire 'detail' node.
10408
10409 * net/soap-inspect.el (soap-sample-value-for-simple-type)
10410 (soap-inspect-simple-type): New function.
10411
10412 * net/soap-client.el (soap-simple-type): New struct.
10413 (soap-default-xsd-types, soap-default-soapenc-types)
10414 (soap-decode-basic-type, soap-encode-basic-type):
10415 support unsignedInt and double basic types.
10416 (soap-resolve-references-for-simple-type)
10417 (soap-parse-simple-type, soap-encode-simple-type): New function.
10418 (soap-parse-schema): Parse xsd:simpleType declarations.
10419
10420 * net/soap-client.el (soap-default-xsd-types)
10421 (soap-default-soapenc-types): Add integer, byte and anyURI types.
10422 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
10423 the local name of "soapenc:Array".
10424 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
10425 decoding integer, byte and anyURI xsd types.
10426
10427 2012-04-25 Chong Yidong <cyd@gnu.org>
10428
10429 * cus-edit.el (custom-buffer-create-internal): Update header text.
10430
10431 2012-04-25 Eli Zaretskii <eliz@gnu.org>
10432
10433 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
10434 settings on 'system-type', not on 'window-system'. On MS-Windows,
10435 set interactive-mode on in GDB.
10436
10437 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10438
10439 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
10440 (ruby-syntax-propertize-regexp): Remove.
10441 (ruby-syntax-propertize-function): Split regexp into chunks.
10442 Match following code directly.
10443
10444 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
10445
10446 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
10447 (ruby-syntax-propertize-regexp): New function.
10448 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
10449 by a special keyword.
10450
10451 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
10452 (ruby-syntax-general-delimiters-goto-beg)
10453 (ruby-syntax-propertize-general-delimiters): New functions.
10454 (ruby-syntax-propertize-function): Use them to handle GDL.
10455 (ruby-font-lock-keywords): Move old handling of GDL...
10456 (ruby-font-lock-syntactic-keywords): .. to here.
10457 (ruby-calculate-indent): Adjust indentation for GDL.
10458
10459 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
10460
10461 * notifications.el (top): Remove unneeded declarations.
10462 (notifications-specification-version): Change to "1.2".
10463 (notifications-interface, notifications-notify-method)
10464 (notifications-close-notification-method): Fix docstring.
10465 (notifications-get-capabilities-method): New defconst.
10466 (notifications-notify): Add :action-items, :resident and
10467 :transient hints. Change "image_data" to "image-data" and
10468 "image_path" to "image-path".
10469 (notifications-get-capabilities): New defun.
10470
10471 2012-04-24 Leo Liu <sdl.web@gmail.com>
10472
10473 * progmodes/python.el: Move hideshow setup to the end.
10474
10475 2012-04-24 Martin Rudalics <rudalics@gmx.at>
10476
10477 * window.el (handle-select-window): Clear echo area since this is
10478 no more done by read_char (Bug#11304).
10479
10480 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10481
10482 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
10483 and `/ M' to filter-derived-mode.
10484 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
10485 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
10486 (ibuffer-mark-by-mode): Use default rather than initial-input.
10487 (ibuffer-filter-by-derived-mode): Autoload and require-match.
10488
10489 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
10490
10491 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
10492 (ibuffer-filter-by-derived-mode): New filter.
10493 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
10494
10495 2012-04-23 Andreas Politz <politza@fh-trier.de>
10496
10497 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
10498
10499 2012-04-23 Chong Yidong <cyd@gnu.org>
10500
10501 * cus-edit.el (customize-apropos, customize-apropos-options):
10502 Disable matching of non-option variables (Bug#11176).
10503 (customize-option, customize-option-other-window)
10504 (customize-changed-options): Doc fix.
10505 (customize-apropos-options, customize-apropos-faces)
10506 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
10507
10508 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
10509 Fix word list splitting (Bug#11132).
10510 (apropos-symbol, apropos-keybinding, apropos-label)
10511 (apropos-property, apropos-function-button)
10512 (apropos-variable-button, apropos-misc-button): New faces.
10513 (apropos-symbol-face, apropos-keybinding-face)
10514 (apropos-label-face, apropos-property-face, apropos-match-face):
10515 Variables removed (Bug#8396).
10516 (apropos-library-button, apropos-format-plist, apropos-print)
10517 (apropos-print-doc, apropos-describe-plist): Callers changed.
10518
10519 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
10520
10521 * net/xesam.el (xesam-mode-map): Use let-bound map in
10522 initialization. (Bug#11292)
10523
10524 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10525
10526 Preserve ispell session localwords when switching back to
10527 original buffer.
10528
10529 * textmodes/ispell.el (ispell-buffer-session-localwords):
10530 New buffer-local variable to hold buffer session localwords.
10531 (ispell-kill-ispell): Add option 'clear to delete session
10532 localwords.
10533 (ispell-command-loop, ispell-change-dictionary)
10534 (ispell-buffer-local-words): Preserve session localwords when
10535 needed.
10536
10537 * textmodes/flyspell.el (flyspell-process-localwords)
10538 (flyspell-do-correct): Preserve session localwords when needed.
10539
10540 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10541
10542 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
10543 using obsolete `translation-table-for-input'.
10544 (ispell-word, ispell-process-line, ispell-complete-word):
10545 Use plain `insert' instead of removed `ispell-insert-word'.
10546
10547 2012-04-22 Chong Yidong <cyd@gnu.org>
10548
10549 * cus-edit.el (custom-variable-menu)
10550 (custom-variable-reset-saved, custom-face-menu)
10551 (custom-face-reset-saved): If there is no saved value, make the
10552 "reset-saved" operation bring back the default (Bug#9509).
10553 (custom-face-state): Properly detect themed faces.
10554
10555 * faces.el (face-spec-set): Stop supporting deprecated form of
10556 third arg.
10557
10558 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
10559
10560 Move functions from C to Lisp. Make non-blocking method calls
10561 the default. Implement further D-Bus standard interfaces.
10562
10563 * net/dbus.el (dbus-message-internal): Declare function.
10564 Remove unneeded function declarations.
10565 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
10566 (dbus-message-type-method-return, dbus-message-type-error)
10567 (dbus-message-type-signal): Declare variables. Remove local
10568 definitions.
10569 (dbus-interface-dbus, dbus-interface-peer)
10570 (dbus-interface-introspectable, dbus-interface-properties)
10571 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
10572 Adapt docstring.
10573 (dbus-interface-objectmanager): New defconst.
10574 (dbus-call-method, dbus-call-method-asynchronously)
10575 (dbus-send-signal, dbus-method-return-internal)
10576 (dbus-method-error-internal, dbus-register-service)
10577 (dbus-register-signal, dbus-register-method): New defuns, moved
10578 from dbusbind.c
10579 (dbus-call-method-handler, dbus-setenv)
10580 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
10581 New defuns.
10582 (dbus-call-method-non-blocking): Make it an obsolete function.
10583 (dbus-unregister-object, dbus-unregister-service)
10584 (dbus-handle-event, dbus-register-property)
10585 (dbus-property-handler): Obey the new structure of
10586 `bus-registered-objects'.
10587 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
10588 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
10589 Use `dbus-call-method'.
10590
10591 2012-04-22 Chong Yidong <cyd@gnu.org>
10592
10593 * cus-edit.el (custom-commands, custom-reset-menu)
10594 (Custom-reset-standard): Tweak labels.
10595 (custom-reset-button-menu): Change default to t.
10596 (custom-buffer-create-internal): For the custom-reset-button-menu
10597 case, put the revert button first.
10598 (custom-group-subtitle): New face.
10599 (custom-group-value-create): Align docstring to a specific column.
10600
10601 * wid-edit.el (widget-documentation-link-add): Don't handle
10602 indentation in this function.
10603 (widget-documentation-string-indent-to): New function.
10604 (widget-documentation-string-value-create): Use it.
10605
10606 * autorevert.el (auto-revert):
10607 * epg-config.el (epg):
10608 * ibuffer.el (ibuffer):
10609 * mpc.el (mpc):
10610 * ses.el (ses):
10611 * eshell/eshell.el (eshell):
10612 * net/ange-ftp.el (ange-ftp):
10613 * progmodes/ebnf2ps.el (postscript):
10614 * progmodes/flymake.el (flymake):
10615 * progmodes/prolog.el (prolog):
10616 * progmodes/verilog-mode.el (verilog-mode):
10617 * progmodes/which-func.el (which-func):
10618 * term/xterm.el (xterm):
10619 * textmodes/picture.el (picture):
10620 * textmodes/tildify.el (tildify):
10621 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
10622 customization buffers.
10623
10624 2012-04-22 Alan Mackenzie <acm@muc.de>
10625
10626 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
10627 Adding a ) can hide the resulting (..) from searches. Fix it.
10628 Bound the backward search to the position of the existing (.
10629
10630 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
10631
10632 * progmodes/verilog-mode.el (verilog-mode): Check whether
10633 which-func-modes is t before adding verilog-mode.
10634 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
10635
10636 2012-04-21 Leo Liu <sdl.web@gmail.com>
10637
10638 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
10639
10640 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
10641
10642 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
10643 filling of the last column of a table (Bug#5635).
10644 (woman-find-next-control-line): New arg, specifying an additional
10645 regexp component for the control line.
10646 (woman2-roff-buffer): Use it.
10647 (woman-break-table): New function.
10648 (woman2-TS): Use it.
10649
10650 2012-04-21 Chong Yidong <cyd@gnu.org>
10651
10652 * woman.el (woman-set-buffer-display-table, woman-decode-region)
10653 (woman-horizontal-escapes, woman-negative-vertical-space)
10654 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
10655 (WoMan-warn-ignored): Use ?\s instead of ?\ .
10656
10657 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10658
10659 * minibuffer.el (completion-file-name-table): Complete user names.
10660
10661 2012-04-20 Leo Liu <sdl.web@gmail.com>
10662
10663 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
10664 and pcase-let*.
10665
10666 2012-04-20 Chong Yidong <cyd@gnu.org>
10667
10668 * server.el (server-execute): Respect initial-buffer-choice if it
10669 is a string and there are no files to open (Bug#2825).
10670 (server-create-window-system-frame, server-create-tty-frame):
10671 Don't switch buffers here.
10672 (server-process-filter): Only try to open a window system frame if
10673 compiled with graphical support (Bug#8314).
10674
10675 2012-04-20 Dan Nicolaescu <dann@gnu.org>
10676
10677 * battery.el (battery-echo-area-format): Display remaining time
10678 for sysfs backend too (Bug#11269).
10679 (battery-linux-sysfs): Fix conditional for the charge.
10680
10681 2012-04-20 Chong Yidong <cyd@gnu.org>
10682
10683 * progmodes/gdb-mi.el (gdb): Revert previous change.
10684 (gdb-inferior-io--init-proc): New function.
10685 (gdb-init-1): Use it.
10686 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
10687 responsible for allocating a new pty and hooking it to gdb when
10688 the old pty gets an EIO due to process exit.
10689 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
10690 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
10691 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
10692
10693 2012-04-20 Eli Zaretskii <eliz@gnu.org>
10694
10695 * window.el (window-min-size, window-sizable, window-min-delta)
10696 (window-max-delta, window--resizable, window-resizable)
10697 (window-total-size, window-full-height-p, window-full-width-p)
10698 (window-in-direction, window--resize-mini-window, window-resize)
10699 (window--resize-child-windows-normal)
10700 (window--resize-child-windows, window--resize-siblings)
10701 (window--resize-this-window, adjust-window-trailing-edge)
10702 (enlarge-window, shrink-window): Doc fixes.
10703
10704 2012-04-20 Chong Yidong <cyd@gnu.org>
10705
10706 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
10707 New function to call delete-process on the gdb-inferior buffer's pty.
10708 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
10709 pty process (Bug#11273).
10710 (gdb-update): New arg to suppress talking to the gdb process.
10711 (gdb-done-or-error): Use it.
10712 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
10713 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
10714 sentinel not being called.
10715
10716 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
10717
10718 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
10719
10720 2012-04-20 Glenn Morris <rgm@gnu.org>
10721
10722 * net/network-stream.el (open-network-stream): Doc fix.
10723
10724 2012-04-20 Chong Yidong <cyd@gnu.org>
10725
10726 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
10727
10728 2012-04-20 Alan Mackenzie <acm@muc.de>
10729
10730 Ensure searching for keywords is case sensitive.
10731
10732 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
10733 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
10734 (c-defun-name, c-mark-function, c-cpp-define-name)
10735 (c-comment-indent, c-scan-conditionals, c-indent-defun)
10736 (c-context-line-break): Bind case-fold-search to nil.
10737
10738 * progmodes/cc-mode.el (c-font-lock-fontify-region):
10739 Bind case-fold-search to nil.
10740
10741 2012-04-20 Chong Yidong <cyd@gnu.org>
10742
10743 * mail/sendmail.el (mail-bury): Call return action with the right
10744 Rmail buffer (Bug#11242).
10745
10746 * server.el (server-process-filter): Handle corner case where both
10747 tty and nowait options are present (Bug#11102).
10748
10749 2012-04-20 Eli Zaretskii <eliz@gnu.org>
10750
10751 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
10752 (top level): Put into the executable the ident-style '$Id:' tag on
10753 windows-nt as well.
10754
10755 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10756
10757 * electric.el (electric-indent-post-self-insert-function): Check that
10758 electric-indent-mode is enabled in current buffer.
10759
10760 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
10761
10762 * imenu.el (imenu-progress-message): Restore; it is "used" in
10763 erc/erc-imenu.el and net/snmp-mode.el.
10764
10765 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
10766
10767 * avoid.el (mouse-avoidance-mode): Mark unused arg.
10768 (mouse-avoidance-nudge-mouse): Remove unused binding.
10769
10770 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
10771
10772 * descr-text.el (describe-char):
10773 * progmodes/python.el (python-describe-symbol):
10774 Don't call `toggle-read-only', set `buffer-read-only'.
10775
10776 * imenu.el (imenu-default-goto-function): Mark unused args.
10777 (imenu-progress-message): Remove obsolete macro; all callers changed.
10778
10779 * subr.el (keymap-canonicalize): Remove unused binding.
10780 (read-passwd): Mark unused arg.
10781
10782 * tutorial.el (tutorial--display-changes): Remove unused binding.
10783 (tutorial--save-tutorial-to): Remove unused variable.
10784
10785 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
10786 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
10787 (package-generate-autoloads, package-menu--generate)
10788 (package-menu--find-upgrades): Remove unused bindings.
10789
10790 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
10791 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
10792 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
10793 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
10794 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
10795 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
10796 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
10797 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
10798 (cua-delete-char-rectangle): Mark unused args.
10799 (cua-align-rectangle): Remove unused binding.
10800
10801 * mail/rmail.el (compilation--message->loc)
10802 (epa--find-coding-system-for-mime-charset): Declare.
10803
10804 * net/dbus.el (dbus-register-service): Declare.
10805 (dbus-name-owner-changed-handler): Remove unused binding.
10806
10807 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
10808 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
10809 (nxml-scan-backward-within): Mark unused arg.
10810 (nxml-dynamic-markup-word): Remove unused binding.
10811
10812 * mouse.el (mouse-menu-major-mode-map):
10813 * emacs-lisp/authors.el (authors-scan-change-log)
10814 (authors-add-to-author-list):
10815 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
10816 * emacs-lisp/smie.el (smie-auto-fill):
10817 * mail/sendmail.el (mail-bury):
10818 * mail/unrmail.el (unrmail):
10819 * net/tls.el (open-tls-stream):
10820 * textmodes/picture.el (picture-mouse-set-point):
10821 Remove unused bindings.
10822
10823 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
10824
10825 * net/tramp.el (tramp-action-password): Let-bind
10826 `enable-recursive-minibuffers' to t.
10827
10828 2012-04-18 Sam Steingold <sds@gnu.org>
10829
10830 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
10831 instead of 'string to accommodate values like [f11].
10832 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
10833 * progmodes/gdb-mi.el: Likewise.
10834
10835 2012-04-18 Leo Liu <sdl.web@gmail.com>
10836
10837 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
10838 current buffer.
10839 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
10840 LOCAL is nil.
10841
10842 2012-04-18 Chong Yidong <cyd@gnu.org>
10843
10844 * simple.el (line-move): Use forward-line if in batch mode
10845 (Bug#11053).
10846
10847 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
10848
10849 * files.el (after-find-file): Do not try to add a final newline if
10850 the buffer is read-only (Bug#11156).
10851
10852 2012-04-17 Richard Stallman <rms@gnu.org>
10853
10854 * mail/rmail.el (rmail-start-mail):
10855 Pass (rmail-mail-return...) for the return-action.
10856 Pass (rmail-yank-current-message...) for the yank-action.
10857 (rmail-yank-current-message): New function.
10858 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
10859 (rmail-reply): Likewise.
10860 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
10861
10862 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
10863 buffer, not the last. Reject temp buffers. Use the rmail-mode
10864 buffer, not newbuf.
10865
10866 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
10867
10868 * server.el (server-ensure-safe-dir): Simplify.
10869
10870 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10871
10872 * emacs-lisp/smie.el: Provide smarter auto-filling.
10873 (smie-auto-fill): New function.
10874 (smie-setup): Use it.
10875
10876 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
10877
10878 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
10879
10880 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
10881 (comment-indent): Use it.
10882
10883 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
10884
10885 * ses.el: The overall change is to add cell renaming, that is
10886 setting fancy names for cell symbols other than name matching
10887 "\\`[A-Z]+[0-9]+\\'" regexp .
10888 (ses-localvars): Add ses--renamed-cell-symb-list.
10889 (ses-create-cell-variable): New defun.
10890 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
10891 (ses-relocate-formula): Relocate formulas only for cells the
10892 symbols of which are not renamed, i.e. symbols whose names do not
10893 match regexp "\\`[A-Z]+[0-9]+\\'".
10894 (ses-relocate-all): Relocate values only for cells the symbols of
10895 which are not renamed.
10896 (ses-load): Create cells variables as the (ses-cell ...) are read,
10897 in order to check row col consistency with cell symbol name only
10898 for cells that are not renamed.
10899 (ses-replace-name-in-formula): New defun.
10900 (ses-rename-cell): New defun.
10901
10902 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
10903
10904 * progmodes/perl-mode.el (perl-indent-parens-as-block):
10905 New option (bug#11118).
10906 (perl-calculate-indent): Respect it.
10907
10908 2012-04-17 Glenn Morris <rgm@gnu.org>
10909
10910 * dired-aux.el (dired-mark-read-string): Doc fix.
10911
10912 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
10913
10914 * dired-aux.el (dired-mark-read-string): Offer optional completion.
10915 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
10916
10917 2012-04-17 Glenn Morris <rgm@gnu.org>
10918
10919 * mouse.el (mouse-drag-track):
10920 * speedbar.el (speedbar-frame-mode):
10921 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
10922
10923 2012-04-16 Leo Liu <sdl.web@gmail.com>
10924
10925 * progmodes/python.el: Trivial cleanup.
10926
10927 2012-04-16 Glenn Morris <rgm@gnu.org>
10928
10929 * vc/vc.el (vc-string-prefix-p):
10930 * vc/pcvs-util.el (cvs-string-prefix-p):
10931 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
10932 * mpc.el (mpc-string-prefix-p):
10933 Make all of these into obsolete aliases for string-prefix-p.
10934 Update callers.
10935 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
10936
10937 * textmodes/two-column.el: Move custom options to the start.
10938 (frame-width): Remove compat definition.
10939 (2C-associate-buffer, 2C-dissociate):
10940 Use with-current-buffer rather than save-excursion.
10941 (2C-dissociate): Force a mode-line update.
10942 (2C-autoscroll): Use ignore-errors.
10943
10944 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
10945 Autoload trivia.
10946
10947 * emacs-lisp/cl-extra.el (*random-state*):
10948 Remove unnecessary declaration.
10949
10950 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
10951
10952 * play/cookie1.el (cookie-snarf):
10953 Give an explicit error if input file cannot be read.
10954
10955 * play/yow.el (yow-file): Use expand-file-name rather than concat.
10956
10957 * progmodes/perl-mode.el (c-macro-expand):
10958 Remove unnecessary autoload (it is in loaddefs.el).
10959
10960 * textmodes/picture.el (picture-desired-column)
10961 (picture-update-desired-column): Convert comments to doc-strings.
10962 (picture-substitute): Remove function.
10963 (picture-mode-map): Initialize in the defvar.
10964
10965 * woman.el: Remove eval-after-load for tar-mode.
10966 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
10967 (woman-tar-extract-file): Autoload it.
10968
10969 * frame.el (automatic-hscrolling): Make this alias obsolete.
10970
10971 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10972
10973 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
10974 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
10975 (ispell-dictionary-base-alist): Revert to original XEmacs
10976 friendly version for default. [:alpha:] will be added in
10977 `ispell-set-spellchecker-params' if needed.
10978
10979 2012-04-16 Chong Yidong <cyd@gnu.org>
10980
10981 * image.el (imagemagick--file-regexp): New variable.
10982 (imagemagick-register-types): Use it.
10983 (imagemagick-types-inhibit): Add :set function. Allow new value
10984 of t to inhibit all types.
10985
10986 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
10987 so we can preload it.
10988
10989 * loadup.el (fboundp): Preload regexp-opt, needed by
10990 imagemagick-register-types.
10991
10992 2012-04-15 Chong Yidong <cyd@gnu.org>
10993
10994 * frame.el (scrolling): Remove nearly unused customization group.
10995
10996 * scroll-all.el (scroll-all-mode): Move to windows group.
10997
10998 2012-04-15 Chong Yidong <cyd@gnu.org>
10999
11000 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
11001
11002 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11003
11004 Avoid the use of ((lambda ...) ...) in lexical-binding code.
11005 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
11006
11007 2012-04-15 Glenn Morris <rgm@gnu.org>
11008
11009 * simple.el (process-file-side-effects): Doc fix.
11010
11011 2012-04-15 Glenn Morris <rgm@gnu.org>
11012
11013 * international/mule-cmds.el (set-language-environment): Doc fix.
11014
11015 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
11016
11017 * server.el (server-auth-key, server-generate-key): Doc fixes.
11018 (server-get-auth-key): Doc fix. Use `string-match-p'.
11019 (server-start): Reflow docstring.
11020
11021 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
11022
11023 * server.el (server-generate-key): `called-interactively-p'
11024 requires a parameter.
11025
11026 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
11027
11028 * server.el (server-auth-key): New variable.
11029 (server-generate-key, server-get-auth-key): New function.
11030 (server-start): Use the new variable and functions to allow
11031 setting a permanent server key (bug#9423).
11032
11033 2012-04-14 Leo Liu <sdl.web@gmail.com>
11034
11035 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
11036
11037 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
11038
11039 Spelling fixes.
11040 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
11041 Emacs uses American spelling.
11042
11043 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
11044
11045 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
11046 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
11047 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
11048 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
11049
11050 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11051
11052 * progmodes/which-func.el (which-func-modes): Change default.
11053
11054 2012-04-14 Kim F. Storm <storm@cua.dk>
11055
11056 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
11057 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
11058
11059 2012-04-14 Chong Yidong <cyd@gnu.org>
11060
11061 * custom.el (custom-theme-set-variables): Doc fix.
11062
11063 2012-04-14 Glenn Morris <rgm@gnu.org>
11064
11065 * international/mule.el (set-auto-coding-for-load): Doc fix.
11066
11067 2012-04-14 Alan Mackenzie <acm@muc.de>
11068
11069 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
11070 imenu work again for Objective C Mode. Correct the *-index values,
11071 these having been disturbed by a previous change in 2011-08.
11072
11073 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
11074 Correct two search limits.
11075
11076 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11077
11078 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
11079
11080 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
11081
11082 * international/characters.el: Fix sorting.
11083
11084 2012-04-14 Eli Zaretskii <eliz@gnu.org>
11085
11086 * international/characters.el: Add more missing Latin case pairs.
11087
11088 2012-04-14 Glenn Morris <rgm@gnu.org>
11089
11090 * files.el (dir-locals-set-class-variables): Doc fix.
11091
11092 2012-04-14 Eli Zaretskii <eliz@gnu.org>
11093
11094 * international/characters.el: Add set-case-syntax-pair call for
11095 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
11096 counterpart. (Bug#11209)
11097
11098 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
11099
11100 2012-04-14 Glenn Morris <rgm@gnu.org>
11101
11102 * calendar/holidays.el (calendar-check-holidays): Doc fix.
11103
11104 2012-04-14 Eli Zaretskii <eliz@gnu.org>
11105
11106 * textmodes/ispell.el (ispell-dictionary-base-alist):
11107 Add data for Hebrew.
11108
11109 2012-04-14 Chong Yidong <cyd@gnu.org>
11110
11111 * net/rcirc.el (rcirc-cmd-quit):
11112 Revert 2012-03-18 change (Bug#11192).
11113
11114 2012-04-14 Glenn Morris <rgm@gnu.org>
11115
11116 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
11117
11118 2012-04-14 Eli Zaretskii <eliz@gnu.org>
11119
11120 * minibuffer.el (completion-in-region-mode-map):
11121 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
11122
11123 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
11124
11125 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
11126
11127 2012-04-13 Masatake YAMATO <yamato@redhat.com>
11128
11129 * minibuffer.el (minibuffer-local-filename-syntax): New variable
11130 to allow `C-M-f' and `C-M-b' to move to the nearest path
11131 separator (bug#9511).
11132
11133 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
11134
11135 * avoid.el: Require cl when compiling. And also move the
11136 `provide' to the end.
11137
11138 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11139
11140 * avoid.el (mouse-avoidance-banish-position): New variable.
11141 (mouse-avoidance-banish-destination): Use it (bug#10165).
11142
11143 2012-04-13 Leo Liu <sdl.web@gmail.com>
11144
11145 * progmodes/which-func.el (which-func-modes): Add objc-mode.
11146
11147 2012-04-13 Ken Brown <kbrown@cornell.edu>
11148
11149 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
11150 this is no longer needed now that cygstart understands file:// URLs.
11151 (browse-url-filename-alist): For the same reason, don't modify
11152 file:// URLs on Cygwin.
11153
11154 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
11155
11156 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
11157 the region on shift if the binding is already shifted (bug#11221).
11158
11159 2012-04-12 Glenn Morris <rgm@gnu.org>
11160
11161 * mail/mailpost.el: Move to obsolete/.
11162
11163 2012-04-12 Drew Adams <drew.adams@oracle.com>
11164
11165 * imenu.el (imenu--generic-function): Ignore invisible definitions
11166 (bug#10123).
11167
11168 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
11169
11170 * hexl.el (hexl-bits): New variable.
11171 (hexl-options): Mention the variable in the doc string.
11172 (hexl-rulerise, hexl-line-displen): New functions.
11173 (hexl-mode): Mention the new variable.
11174 (hexl-mode, hexl-current-address, hexl-current-address):
11175 Use the displen.
11176 (hexl-ascii-start-column): New function.
11177 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
11178 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
11179
11180 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11181
11182 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
11183 '("-i" ENCODING), in 2 separate command-line arguments, to specify
11184 the encoding, as expected by hunspell.
11185
11186 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
11187
11188 * battery.el (battery--linux-sysfs-regexp): New const.
11189 (battery-status-function): Use it. Remove yeeloong special case.
11190 (battery-yeeloong-sysfs): Remove.
11191 (battery-echo-area-format): Remove yeeloong special case.
11192
11193 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
11194
11195 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
11196 Reported by Noah Friedman.
11197
11198 * subr.el (read-passwd): Use read-string.
11199
11200 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11201
11202 * vcursor.el (vcursor-move): Increase the priority of the overlay
11203 (bug#9663).
11204
11205 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
11206
11207 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
11208 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
11209
11210 2012-04-11 William Stevenson <yhvh2000@gmail.com>
11211
11212 * textmodes/artist.el (artist-mode): Convert artist-mode to use
11213 define-minor-mode (bug#10760).
11214
11215 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
11216
11217 * progmodes/grep.el (rgrep): Tweak the find command line so
11218 that directories matching `grep-find-ignored-files' won't be
11219 pruned (bug#10351).
11220
11221 2012-04-11 Chong Yidong <cyd@gnu.org>
11222
11223 * startup.el (command-line): Remove support for long-obsolete
11224 variable font-lock-face-attributes.
11225
11226 2012-04-11 Glenn Morris <rgm@gnu.org>
11227
11228 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
11229
11230 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
11231
11232 * window.el (window--state-get-1): Obey window-point-insertion-type.
11233
11234 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
11235
11236 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
11237 to previous function when point is on the first character of a
11238 function. Take care of that in `narrow-to-defun' (bug#6157).
11239
11240 2012-04-11 Glenn Morris <rgm@gnu.org>
11241
11242 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
11243 not just file-errors.
11244
11245 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
11246 (vc-bzr-sha1): Use internal sha1.
11247
11248 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
11249
11250 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
11251
11252 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
11253
11254 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
11255 that start in the middle of the line (bug#10496).
11256
11257 2012-04-10 Dan Nicolaescu <dann@gnu.org>
11258
11259 * battery.el (battery-linux-proc-acpi): Only one battery is
11260 discharged at a time, but that seems to confuse battery.el when
11261 computing `rate-type' for the battery not being discharged
11262 (bug#10332).
11263
11264 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11265
11266 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
11267
11268 * international/quail.el: Use dolist and simplify.
11269 (quail-define-package, quail-update-keyboard-layout)
11270 (quail-define-rules): Use dolist.
11271 (quail-insert-kbd-layout, quail-get-translation): CSE.
11272
11273 * tmm.el: Use dolist, remove left over hook.
11274 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
11275 Use dolist.
11276 (calendar-load-hook): Don't mess with it.
11277
11278 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
11279 Use derived-mode-p. Run the diff asynchronously.
11280
11281 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
11282
11283 * obsolete/mouse-sel.el: Add an Obsolete-since header.
11284
11285 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
11286
11287 * misc.el: Display absolute path of loaded DLLs (bug#10424).
11288 (list-dynamic-libraries--loaded): New function.
11289 (list-dynamic-libraries--refresh): Use it.
11290
11291 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
11292
11293 * progmodes/python.el (python-fill-paragraph):
11294 Make python-fill-region in a multiline string work when font-lock is
11295 disabled (bug#7018).
11296
11297 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
11298
11299 * language/european.el (cp775): Add oem/legacy (en)coding on
11300 DOS/MS Windows for the Baltic languages. There are still plenty
11301 of texts written in this encoding/codepage (bug#6519).
11302
11303 2012-04-10 Glenn Morris <rgm@gnu.org>
11304
11305 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
11306 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
11307
11308 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
11309
11310 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
11311 next-line "n" and previous-line "p" in order to make recentf more
11312 consistent with ibuffer, dired or org-mode (bug#9387).
11313
11314 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
11315
11316 * image.el (put-image): Return the overlay created instead of the
11317 optional input string (bug#7834). Note that this may break code
11318 that is (for some reason or other) depending on `put-image'
11319 returning the string.
11320
11321 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
11322
11323 * simple.el (zap-to-char): Allow zapping using input methods
11324 (bug#1580).
11325
11326 * textmodes/fill.el (fill-region): Leave point and mark where they
11327 were before filling (bug#5399).
11328
11329 2012-04-09 Glenn Morris <rgm@gnu.org>
11330
11331 * version.el (emacs-bzr-get-version):
11332 Handle lightweight checkouts of local branches.
11333
11334 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
11335
11336 * international/characters.el: Recover lost case pairs. (Bug#11209)
11337
11338 2012-04-09 Chong Yidong <cyd@gnu.org>
11339
11340 * custom.el (custom-variable-p): Return nil for non-symbol
11341 arguments instead of signaling an error.
11342 (user-variable-p): Obsolete alias for custom-variable-p.
11343
11344 * apropos.el (apropos-variable):
11345 * files-x.el (read-file-local-variable):
11346 * simple.el (set-variable):
11347 * woman.el (woman-mini-help):
11348 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
11349
11350 2012-04-09 Glenn Morris <rgm@gnu.org>
11351
11352 * startup.el (normal-top-level): Don't look for leim-list.el
11353 in places where it will not be found. (Bug#910)
11354
11355 * international/mule-cmds.el (set-default-coding-systems):
11356 * files.el (normal-mode):
11357 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
11358 This function was removed with ucs-tables.el in 2008.
11359
11360 2012-04-08 Eli Zaretskii <eliz@gnu.org>
11361
11362 * textmodes/ispell.el (ispell-check-version): For hunspell, set
11363 ispell-encoding8-command to "-i", without a trailing space.
11364 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
11365 separate command-line arguments, to specify the encoding, since
11366 that's how hunspell expects it.
11367
11368 2012-04-08 Glenn Morris <rgm@gnu.org>
11369
11370 * loadup.el: Load bindings before cus-start.
11371 This reduces somewhat the number of "rogue" settings in emacs -Q.
11372
11373 2012-04-07 Glenn Morris <rgm@gnu.org>
11374
11375 * version.el (emacs-bzr-get-version): New function.
11376 (emacs-bzr-version): New variable.
11377 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
11378 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
11379
11380 2012-04-07 Eli Zaretskii <eliz@gnu.org>
11381
11382 * international/uni-bidi.el, international/uni-category.el:
11383 * international/uni-combining.el, international/uni-decimal.el:
11384 * international/uni-decomposition.el, international/uni-digit.el:
11385 * international/uni-lowercase.el, international/uni-mirrored.el:
11386 * international/uni-name.el, international/uni-numeric.el:
11387 * international/uni-titlecase.el, international/uni-uppercase.el:
11388 Update for Unicode 6.1.
11389
11390 2012-04-07 Eli Zaretskii <eliz@gnu.org>
11391
11392 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
11393
11394 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
11395
11396 * window.el (shrink-window): Mention the `window-min-height'
11397 variable in the doc string.
11398
11399 2012-04-05 Bastien Guerry <bzg@altern.org>
11400
11401 * color.el (color-lighten-name): Fix typo.
11402
11403 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11404
11405 * server.el (server--on-display-p): New function.
11406 (server--on-display-p): Use it.
11407
11408 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
11409
11410 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
11411 (bug#11145).
11412
11413 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11414
11415 * comint.el (comint--common-quoted-suffix): Check string boundary
11416 before comparing (bug#11158).
11417 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
11418
11419 2012-04-04 Chong Yidong <cyd@gnu.org>
11420
11421 * minibuffer.el (completion-extra-properties): Doc fix.
11422
11423 * subr.el (delayed-warnings-hook): Doc fix.
11424
11425 2012-04-04 Daiki Ueno <ueno@unixuser.org>
11426
11427 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
11428 selection (Bug#11159).
11429 (epa-insert-keys): Inform that the default public key will be
11430 exported if no key is selected.
11431
11432 2012-04-04 Richard Stallman <rms@gnu.org>
11433
11434 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
11435
11436 2012-04-03 Chong Yidong <cyd@gnu.org>
11437
11438 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
11439 mail-insert-file, not its obsolete alias mail-attach-file.
11440
11441 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
11442
11443 * notifications.el (notifications-notify): Fix docstring.
11444
11445 2012-04-02 Glenn Morris <rgm@gnu.org>
11446
11447 * emacs-lisp/authors.el (authors-aliases): Another addition.
11448
11449 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
11450
11451 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
11452 `tramp-compat-call-process' instead of `tramp-local-call-process'.
11453 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
11454
11455 2012-04-01 Chong Yidong <cyd@gnu.org>
11456
11457 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
11458 Handle root directory properly.
11459 (copy-directory): Caller changed.
11460
11461 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
11462 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
11463
11464 2012-03-31 Glenn Morris <rgm@gnu.org>
11465
11466 * term/xterm.el (xterm-extra-capabilities): Doc fix.
11467
11468 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
11469
11470 * calendar/calendar.el (calendar-window-list)
11471 (calendar-hide-window): Restore. (Bug#11140)
11472 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
11473
11474 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
11475
11476 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11477
11478 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
11479 Check if file is a symlink (Bug#10489).
11480
11481 * files.el (copy-directory): Likewise.
11482
11483 2012-03-30 Chong Yidong <cyd@gnu.org>
11484
11485 * image.el (imagemagick-types-inhibit)
11486 (imagemagick-register-types): Doc fix.
11487
11488 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11489
11490 * textmodes/ispell.el (ispell-get-extended-character-mode):
11491 Disable extended-char-mode for hunspell. hunspell does not support it
11492 and treats ~word as ordinary words in pipe mode.
11493
11494 2012-03-30 Glenn Morris <rgm@gnu.org>
11495
11496 * tutorial.el (help-with-tutorial): Ensure local variables don't
11497 happen to make the buffer read-only. (Bug#11127)
11498
11499 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
11500
11501 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
11502 (perl-calculate-indent): Return `noindent' in strings.
11503
11504 2012-03-28 Sam Steingold <sds@gnu.org>
11505
11506 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
11507 instead of the broken adhockery which does not prevent calendar
11508 buffers from being displayed at random after exit.
11509 (calendar-window-list, calendar-hide-window): Remove the broken
11510 adhockery.
11511
11512 2012-03-28 Glenn Morris <rgm@gnu.org>
11513
11514 * replace.el (query-replace-map): Doc fix.
11515
11516 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
11517
11518 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
11519 contents. (Bug#11109)
11520
11521 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11522
11523 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
11524 (bug#11077).
11525 (avl-tree--check, avl-tree--check-node): New funs.
11526
11527 2012-03-27 Martin Rudalics <rudalics@gmx.at>
11528
11529 * window.el (switch-to-visible-buffer): New option.
11530 (switch-to-prev-buffer, switch-to-next-buffer):
11531 Observe switch-to-visible-buffer. Make sure that checking for a window
11532 showing a buffer already is done on the same frame.
11533
11534 2012-03-27 Glenn Morris <rgm@gnu.org>
11535
11536 * startup.el (mail-host-address): Doc fix.
11537
11538 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11539
11540 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
11541 than 197 variables.
11542
11543 2012-03-26 Ami Fischman <ami@fischman.org>
11544
11545 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
11546
11547 2012-03-26 Glenn Morris <rgm@gnu.org>
11548
11549 * files.el (save-buffers-kill-emacs): Doc fix.
11550
11551 * startup.el (normal-top-level, command-line, command-line-1):
11552 Give them doc strings.
11553
11554 2012-03-25 Eli Zaretskii <eliz@gnu.org>
11555
11556 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
11557 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
11558
11559 2012-03-25 Chong Yidong <cyd@gnu.org>
11560
11561 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
11562 theme if it was previously enabled before (Bug#11031).
11563
11564 * cus-theme.el (custom-theme-write-faces): Retrieve current face
11565 spec with custom-face-get-current-spec if its :shown-value is not
11566 determined yet (Bug#9337).
11567 (customize-create-theme, custom-theme-revert): Doc fixes.
11568
11569 * button.el (button-at): Minor addition to docstring.
11570
11571 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
11572
11573 * vc/vc.el (vc-merge): Fix a prompt.
11574
11575 2012-03-24 Chong Yidong <cyd@gnu.org>
11576
11577 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
11578 point (Bug#9623).
11579
11580 * button.el (button-at): Minor addition to docstring.
11581
11582 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
11583
11584 * newcomment.el (comment-choose-indent): No space after BOL.
11585
11586 2012-03-22 Sam Steingold <sds@gnu.org>
11587
11588 * window.el (switch-to-prev-buffer): Revert last patch because the
11589 bug turned out to be an advertised feature (Elisp manual 28.14).
11590
11591 2012-03-22 Glenn Morris <rgm@gnu.org>
11592
11593 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
11594 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
11595
11596 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
11597
11598 * net/network-stream.el (network-stream-open-starttls): Make error
11599 message under Windows be less misleading.
11600
11601 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
11602
11603 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
11604 understands (bug#9942).
11605
11606 2012-03-22 Chong Yidong <cyd@gnu.org>
11607
11608 * simple.el (end-of-visible-line): Handle return value of
11609 next-single-property-change properly (Bug#9371).
11610
11611 2012-03-22 Kenichi Handa <handa@m17n.org>
11612
11613 * international/quail.el (quail-insert-kbd-layout): Fix previous
11614 change. To avoid unwanted bidi reordering, use
11615 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
11616
11617 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
11618
11619 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
11620 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
11621 (ruby-beginning-of-indent): Be more careful with the difference
11622 between word-boundary and symbol boundary.
11623 (ruby-mode-syntax-table): Make : a symbol constituent.
11624
11625 2012-03-21 Andreas Politz <politza@fh-trier.de>
11626
11627 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
11628
11629 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
11630
11631 * progmodes/etags.el (tags-completion-at-point-function):
11632 Improve last fix.
11633
11634 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
11635
11636 2012-03-21 Sam Steingold <sds@gnu.org>
11637
11638 * progmodes/etags.el (tags-completion-at-point-function):
11639 Avoid the error when point is inside the pattern.
11640
11641 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
11642
11643 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
11644 line (Bug#10855).
11645
11646 2012-03-21 Drew Adams <drew.adams@oracle.com>
11647
11648 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
11649
11650 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
11651
11652 * ido.el (ido-set-current-directory, ido-read-internal)
11653 (ido-choose-completion-string, ido-completion-help): Handle nil
11654 value of ido-completion-buffer (Bug#11008).
11655
11656 2012-03-21 Sam Steingold <sds@gnu.org>
11657
11658 * window.el (switch-to-prev-buffer): Do not switch to a visible
11659 window previous buffer, just like with the frame previous buffers.
11660
11661 2012-03-21 Chong Yidong <cyd@gnu.org>
11662
11663 * faces.el (make-face, make-empty-face, copy-face):
11664 * face-remap.el (face-remap-add-relative, face-remap-set-base):
11665 Doc fixes.
11666
11667 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
11668
11669 * wid-edit.el (widget-complete-field): Remove (bug#11051).
11670 (widget-complete): Remove broken use of it.
11671
11672 2012-03-20 Chong Yidong <cyd@gnu.org>
11673
11674 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11675 Use string-width and truncate-string-width to handle arbitrary
11676 characters.
11677
11678 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
11679
11680 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
11681 to draw rectangles, not squares. (Regression introduced by revno
11682 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
11683
11684 2012-03-18 Chong Yidong <cyd@gnu.org>
11685
11686 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
11687 it is not yet defined (for temacs).
11688
11689 2012-03-18 Leo Liu <sdl.web@gmail.com>
11690
11691 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
11692 prefix.
11693
11694 2012-03-17 Eli Zaretskii <eliz@gnu.org>
11695
11696 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
11697 (ispell-choices-win-default-height, ispell-silently-savep)
11698 (ispell-dictionary-alist, ispell-encoding8-command)
11699 (ispell-check-version, ispell-aspell-find-dictionary)
11700 (ispell-valid-dictionary-list, ispell-words-keyword)
11701 (ispell-get-word, ispell-internal-change-dictionary)
11702 (ispell-region, ispell-skip-region-list)
11703 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
11704 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
11705 (ispell-message-text-end, ispell-message)
11706 (ispell-buffer-local-parsing): Doc fix.
11707
11708 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
11709
11710 * htmlfontify.el: Add support for code block fontification for ODT
11711 export (Bug #9914).
11712 (hfy-optimisations): Define new option
11713 `body-text-only'
11714 (hfy-fontify-buffer): Honor above setting.
11715 (hfy-begin-span, hfy-end-span): New routines factored out form
11716 `hfy-fontify-buffer'.
11717 (hfy-begin-span-handler, hfy-end-span-handler): New variables
11718 that permit insertion of custom tags.
11719 (hfy-fontify-buffer): Use above handlers.
11720 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
11721 (hfy-face-to-css): Re-defined to be a variable.
11722 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
11723 over multiple runs. This is made possible by having the caller let
11724 bind a special variable `hfy-user-sheet-assoc'.
11725 (htmlfontify-string): New defun.
11726 (hfy-compile-face-map): Make sure that the last char in the
11727 buffer is correctly fontified.
11728 (hfy-face-resolve-face): Whitespace only change.
11729
11730 2012-03-17 Eli Zaretskii <eliz@gnu.org>
11731
11732 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
11733 message more clear.
11734
11735 2012-03-16 Leo Liu <sdl.web@gmail.com>
11736
11737 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
11738
11739 2012-03-16 Alan Mackenzie <acm@muc.de>
11740
11741 Further optimize the handling of large macros.
11742
11743 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
11744 limit to a call of `c-literal-limits'.
11745 (c-determine-+ve-limit): New function.
11746 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
11747 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
11748 In CASE 5B, restrict a search limit to 500.
11749 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
11750
11751 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
11752 Restrict macro bounds to +-500 from after-change's BEG END.
11753
11754 2012-03-16 Leo Liu <sdl.web@gmail.com>
11755
11756 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
11757
11758 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
11759
11760 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
11761 `special-mode' setting of `buffer-read-only'. (Bug#11010)
11762
11763 2012-03-16 Glenn Morris <rgm@gnu.org>
11764
11765 * view.el (view-buffer, view-buffer-other-window)
11766 (view-buffer-other-frame): Doc fixes re special mode-class.
11767
11768 * subr.el (eval-after-load): If named feature is provided not from
11769 a file, run after-load forms. (Bug#10946)
11770
11771 * calendar/calendar.el (calendar-insert-at-column):
11772 Handle non-unit-width characters a bit better. (Bug#10978)
11773
11774 2012-03-15 Chong Yidong <cyd@gnu.org>
11775
11776 * emacs-lisp/ring.el (ring-extend): New function.
11777 (ring-insert+extend): Extend the ring correctly (Bug#11019).
11778
11779 * comint.el (comint-read-input-ring)
11780 (comint-add-to-input-history): Grow comint-input-ring lazily.
11781
11782 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11783
11784 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
11785 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
11786
11787 * imenu.el: Fix multiple inheritance breakage (bug#9199).
11788 (imenu-add-to-menubar): Don't add a redundant index.
11789 (imenu-update-menubar): Handle a dynamically composed keymap.
11790
11791 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
11792
11793 * mail/sendmail.el (mail-encode-header):
11794 Bind rfc2047-encode-encoded-words to nil.
11795
11796 2012-03-13 Glenn Morris <rgm@gnu.org>
11797
11798 * calendar/calendar.el (calendar-string-spread):
11799 Handle non-unit-width characters a bit better. (Bug#10978)
11800
11801 2012-03-13 Leo Liu <sdl.web@gmail.com>
11802
11803 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
11804 directory and file as argument (Bug#10822).
11805
11806 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
11807
11808 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
11809 For dynamically generated code, follow $PC.
11810 (gdb-disassembly-handler-custom): Handle no function name case.
11811
11812 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
11813
11814 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
11815 * emulation/ws-mode.el (ws-query-replace):
11816 * sort.el (sort-regexp-fields):
11817 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
11818
11819 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11820
11821 * dabbrev.el: Fix cycle completion order (bug#10963).
11822 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
11823 (dabbrev-completion): Don't use an obarray; provide
11824 a cycle-sort-function.
11825
11826 2012-03-12 Leo Liu <sdl.web@gmail.com>
11827
11828 * simple.el (kill-new): Use equal-including-properties for comparison.
11829 (kill-do-not-save-duplicates): Doc fix.
11830
11831 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11832
11833 * dabbrev.el: Fix cycle completion (bug#10963).
11834 Use lexical binding and wrap to 80 columns.
11835 (dabbrev-completion): Delay computing the list of completions.
11836
11837 2012-03-12 Kenichi Handa <handa@m17n.org>
11838
11839 * international/quail.el (quail-insert-kbd-layout): Surround each
11840 row by LRO and PDF instead of inserting many LRMs. Pad the left
11841 and right of each non-spacing marks. Insert invisible space
11842 between lower and upper characters to prevent composition.
11843
11844 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11845
11846 * minibuffer.el (minibuffer-complete): Don't get confused when the
11847 function is run twice via different commands (bug#10958).
11848 (complete-with-action): Fix docstring.
11849
11850 2012-03-12 Chong Yidong <cyd@gnu.org>
11851
11852 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
11853 (nxml-completion-at-point-function): New function.
11854 (nxml-mode): Use it.
11855 (nxml-bind-meta-tab-to-complete-flag): Default to t.
11856
11857 * emacs-lisp/package.el (package-unpack, package-unpack-single):
11858 Load generated autoloads file before byte compiling (Bug#10970).
11859 (package--make-autoloads-and-compile): New helper fun.
11860
11861 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
11862
11863 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
11864
11865 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
11866
11867 * autorevert.el (auto-revert-handler): Ensure, that
11868 file-readable-p is applied only for local files or in
11869 auto-revert-tail-mode.
11870
11871 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
11872
11873 * server.el (server-eval-at): Handle non-tcp connections.
11874 Decode result string.
11875
11876 * server.el (server-msg-size): New constant.
11877 (server-reply-print): New function.
11878 (server-eval-and-print): Use it.
11879 (server-eval-at): Use server-quote-arg and server-unquote-arg.
11880 Handle -print-nonl.
11881
11882 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
11883
11884 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
11885 (Bug#10987).
11886
11887 2012-03-11 Chong Yidong <cyd@gnu.org>
11888
11889 * simple.el (goto-line): Doc fix (Bug#9938).
11890
11891 * subr.el (save-window-excursion): Doc fix (Bug#9979).
11892
11893 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
11894 when finished (Bug#10963).
11895
11896 2012-03-11 Martin Rudalics <rudalics@gmx.at>
11897
11898 * window.el (split-window-below): Fix bug in case where
11899 split-window-keep-point is nil (Bug#10971).
11900
11901 2012-03-11 Juri Linkov <juri@jurta.org>
11902
11903 * replace.el (replace-highlight): Set isearch-word to nil
11904 unconditionally. (Bug#10887)
11905
11906 2012-03-10 Eli Zaretskii <eliz@gnu.org>
11907
11908 * net/mairix.el (mairix-replace-invalid-chars): Rename from
11909 mairix-replace-illegal-chars; all callers changed. Don't remove
11910 ^, ~, and = characters: they are meaningful in mairix search specs.
11911 (mairix-widget-create-query): Add usage information about mairix
11912 search forms: negating words, searching for substrings, etc.
11913
11914 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
11915
11916 * international/fontset.el (font-encoding-alist): Add an entry for
11917 ksx1001 (Bug#5667).
11918
11919 2012-03-10 Richard Stallman <rms@gnu.org>
11920
11921 * mail/sendmail.el (mail-encode-header):
11922 Set rfc2047-encode-encoded-words.
11923
11924 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
11925
11926 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
11927 view buffer means not swapped.
11928 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
11929 (rmail-write-region-annotate): Error if real text has disappeared.
11930
11931 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
11932
11933 2012-03-10 Chong Yidong <cyd@gnu.org>
11934
11935 * emulation/cua-rect.el (cua--init-rectangles):
11936 * emulation/cua-base.el (cua--init-keymaps):
11937 Add delete-forward-char to remappings (Bug#9666).
11938
11939 2012-03-10 Martin Rudalics <rudalics@gmx.at>
11940
11941 * speedbar.el (speedbar-unhighlight-one-tag-line):
11942 Avoid unhighlighting due to frame switching (Bug#10275).
11943
11944 2012-03-10 Chong Yidong <cyd@gnu.org>
11945
11946 * minibuffer.el (completion-in-region, completion-help-at-point):
11947 Give the completion field overlay a high priority (Bug#6830).
11948
11949 * dired.el (dired-goto-file): Recognize absolute file name
11950 listings (Bug#7126).
11951 (dired-goto-file-1): New helper function.
11952 (dired-toggle-read-only): Inhibit warnings.
11953
11954 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
11955
11956 * net/dbus.el (dbus-property-handler): Return empty array if
11957 there are no properties.
11958
11959 2012-03-09 Leo Liu <sdl.web@gmail.com>
11960
11961 * savehist.el (savehist-printable): Stricter check for string
11962 value (Bug#10937).
11963
11964 2012-03-09 Eli Zaretskii <eliz@gnu.org>
11965
11966 * mail/smtpmail.el (smtpmail-send-it):
11967 Bind coding-system-for-write to *-unix, so that FCC files are kept in
11968 valid mbox format.
11969
11970 2012-03-09 Glenn Morris <rgm@gnu.org>
11971
11972 * files.el (dir-locals-find-file):
11973 Don't check result is regular, readable.
11974 (dir-locals-read-from-file): Demote errors.
11975
11976 2012-03-08 Eli Zaretskii <eliz@gnu.org>
11977
11978 * international/quail.el (quail-insert-kbd-layout):
11979 Insert invisible LRM characters before each character in a keyboard
11980 layout cell, to prevent their reordering by bidi display engine.
11981 For details, see the discussion in
11982 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
11983
11984 2012-03-08 Alan Mackenzie <acm@muc.de>
11985
11986 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
11987 the starting position; make it extend the marked region when
11988 invoked repeatedly - all under appropriate circumstances.
11989 Fixes bugs #5525, #10906.
11990
11991 2012-03-08 Glenn Morris <rgm@gnu.org>
11992
11993 * files.el (locate-dominating-file, dir-locals-find-file):
11994 Undo 2012-03-06 change.
11995
11996 2012-03-07 Eli Zaretskii <eliz@gnu.org>
11997
11998 * international/quail.el (quail-help):
11999 Force bidi-paragraph-direction be left-to-right. See discussion in
12000 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
12001 for the reason.
12002
12003 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
12004
12005 Avoid superfluous registering of signals. (Bug#10807)
12006
12007 * notifications.el (notifications-on-action-object)
12008 (notifications-on-close-object): New defvars.
12009 (notifications-on-action-signal, notifications-on-closed-signal):
12010 Unregister the signal if not needed any longer.
12011 (notifications-notify): Register `notifications-action-signal' or
12012 `notifications-closed-signal', if :on-action or :on-close has been
12013 passed as argument.
12014
12015 2012-03-07 Chong Yidong <cyd@gnu.org>
12016
12017 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
12018 non-X platforms.
12019
12020 2012-03-06 Glenn Morris <rgm@gnu.org>
12021
12022 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
12023 (x-disown-selection-internal, x-get-selection-internal):
12024 Doc fix (add arglist signatures). (Bug#10783)
12025
12026 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
12027
12028 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
12029 Handle breakpoints with no "type".
12030
12031 2012-03-06 Glenn Morris <rgm@gnu.org>
12032
12033 * files.el (locate-dominating-file): Add optional predicate argument.
12034 (dir-locals-find-file): Make use of above change.
12035
12036 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
12037
12038 * info.el (Info-insert-dir): Also try "dir.gz".
12039
12040 2012-03-06 Glenn Morris <rgm@gnu.org>
12041
12042 * files.el (dir-locals-find-file):
12043 Ignore non-readable or non-regular files. (Bug#10928)
12044
12045 * files.el (locate-dominating-file): Doc fix.
12046
12047 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
12048
12049 * calendar/calendar.el (calendar-set-mode-line):
12050 `getenv' returns a string. (Bug#10951)
12051
12052 2012-03-05 Leo Liu <sdl.web@gmail.com>
12053
12054 * simple.el (backward-delete-char-untabify): Constrain point to
12055 field (Bug#10939).
12056
12057 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
12058
12059 2012-03-05 Chong Yidong <cyd@gnu.org>
12060
12061 * simple.el (count-words): If called from Lisp, return the word
12062 count, for symmetry with `count-lines'. Arglist changed.
12063 (count-words--message): Args changed. Consolidate counting code
12064 from count-words and count-words-region.
12065 (count-words-region): Caller changed.
12066 (count-lines-region): Make it an obsolete alias.
12067
12068 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
12069
12070 * saveplace.el (save-place-to-alist)
12071 (save-place-ignore-files-regexp): Allow value nil to disable this
12072 feature.
12073
12074 2012-03-04 Chong Yidong <cyd@gnu.org>
12075
12076 * faces.el (face-spec-reset-face): For the default face, reset the
12077 attributes to default values (Bug#10748).
12078
12079 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12080
12081 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
12082 previous patch: Check `message-send-mail-function', and not the
12083 default function (bug#10897).
12084
12085 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
12086
12087 * notifications.el (notifications-on-action-signal)
12088 (notifications-on-closed-signal): Check for unique service name of
12089 incoming event. Fix error in removing entry.
12090 (top): Register for signals with wildcard service name.
12091 (notifications-notify): Use daemon unique service name for map entries.
12092
12093 2012-03-04 Chong Yidong <cyd@gnu.org>
12094
12095 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
12096
12097 2012-03-04 Glenn Morris <rgm@gnu.org>
12098
12099 * abbrev.el (copy-abbrev-table, abbrev-table-p)
12100 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
12101 (expand-abbrev, define-abbrev-table): Doc fixes.
12102
12103 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12104
12105 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
12106 `message-default-send-mail-function' and not `send-mail-function'
12107 when doing the prompting for `sendmail-query-once' before sending
12108 in Message buffers (bug#10897).
12109
12110 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
12111 This is inconsistent with all the other stream functions, which leave
12112 the setting up to the higher levels (if so wanted) (bug#10931).
12113
12114 2012-03-02 Alan Mackenzie <acm@muc.de>
12115
12116 Depessimize the handling of very large macros.
12117
12118 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
12119 (c-macro-cache-syntactic): New variables to implement a one
12120 element macro cache.
12121 (c-invalidate-macro-cache): New function.
12122 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
12123 Adapt to use the new cache.
12124 (c-state-safe-place): Use better the cache of safe positions.
12125 (c-state-semi-nonlit-pos-cache)
12126 (c-state-semi-nonlit-pos-cache-limit):
12127 New variables for...
12128 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
12129 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
12130 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
12131 Use c-state-semi-safe-place.
12132
12133 * progmodes/cc-langs.el (c-get-state-before-change-functions):
12134 Add c-invalidate-macro-cache to the C, C++, Obj entries.
12135
12136 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
12137
12138 * jka-compr.el (jka-compr-call-process):
12139 Apply `file-accessible-directory-p' only when the default directory is
12140 not remote.
12141
12142 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
12143
12144 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
12145 access of FILE2, if FILE1 does not exist.
12146
12147 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
12148 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
12149
12150 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
12151 Add "PAGER=" to `process-environment'.
12152
12153 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
12154
12155 * progmodes/sql.el: Bug fix
12156 (sql-get-login-ext): Save login values in globals.
12157 (sql-get-login): Use new version of `sql-get-login-ext'.
12158 (sql-interactive-mode): Set global `sql-connection' to nil.
12159 (sql-connect): Set global values for connection.
12160 (sql-product-interactive): Save global values as buffer local.
12161
12162 2012-02-29 Leo Liu <sdl.web@gmail.com>
12163
12164 * abbrev.el (define-abbrevs): Reset sys to nil.
12165
12166 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12167
12168 * files.el (file-equal-p): Rename from `files-equal-p'.
12169 Return nil when one or both files don't exist.
12170 (file-subdir-of-p): Now only top directory must exists,
12171 return nil if it doesn't.
12172 (copy-directory): No need to test with `file-subdir-of-p' after
12173 creating dir.
12174 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
12175 to `file-equal-p'.
12176
12177 2012-02-28 Glenn Morris <rgm@gnu.org>
12178
12179 * shell.el (shell-mode):
12180 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
12181 * play/landmark.el (landmark-font-lock-face-O):
12182 * play/handwrite.el (handwrite):
12183 * play/gomoku.el (gomoku-O):
12184 * net/browse-url.el (browse-url-browser-display):
12185 * international/mule.el (define-charset):
12186 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
12187 * filesets.el (filesets-find-file-delay):
12188 * eshell/em-xtra.el (eshell-xtra):
12189 * eshell/em-unix.el (eshell-grep):
12190 * emulation/viper.el (viper-mode):
12191 * emacs-lisp/regexp-opt.el (regexp-opt-group):
12192 * emacs-lisp/easymenu.el (easy-menu-define):
12193 * calendar/timeclock.el (timeclock-use-display-time):
12194 * bs.el (bs-mode):
12195 * bookmark.el (bookmark-save-flag):
12196 Doc fix (standardize possessive apostrophe usage).
12197
12198 2012-02-27 Chong Yidong <cyd@gnu.org>
12199
12200 * emulation/viper-cmd.el (viper-intercept-ESC-key):
12201 Fix key-binding lookup for ESC key (Bug#9146).
12202
12203 * font-lock.el (font-lock-specified-p): Rename from
12204 font-lock-spec-present. Callers changed.
12205
12206 2012-02-27 Daniel Hackney <dan@haxney.org>
12207
12208 * emacs-lisp/package.el (package-compute-transaction):
12209 Handle holding a package version to t in package-load-list.
12210
12211 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
12212
12213 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
12214 (tramp-get-inode, tramp-get-device): Use cached values.
12215
12216 2012-02-26 Alan Mackenzie <acm@muc.de>
12217
12218 Check there is a font-lock specification before doing initial
12219 fontification.
12220
12221 * font-core.el (font-lock-mode): Move the conditional from
12222 :after-hook to font-lock-initial-fontify.
12223 (font-lock-default-function): Move the check for a specification
12224 to font-lock-spec-present.
12225
12226 * font-lock.el (font-lock-initial-fontify): Call ...
12227 (font-lock-spec-present): New function.
12228
12229 2012-02-26 Jim Blandy <jimb@red-bean.com>
12230
12231 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
12232 (gdb-send): Apply it to the operand of the '-interpreter-exec
12233 console' command, so that we can pass arguments with (say) quotes
12234 in them. Store exact string sent in gdb-debug-log (Bug#10765).
12235
12236 2012-02-26 Chong Yidong <cyd@gnu.org>
12237
12238 * help-fns.el (describe-function-1): Clarify description of
12239 remapping (Bug#10844).
12240
12241 * files.el (files-equal-p): Doc fix.
12242 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
12243 and quit the loop once a mismatch is found.
12244
12245 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
12246
12247 * bs.el (bs--show-with-configuration): Don't throw an error
12248 if the window cannot be split; otherwise, subsequent calls to
12249 bs-show fail, restoring a stale window config. (Bug#10882)
12250
12251 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
12252
12253 * term/ns-win.el (global-map): Bind ns-drag-file to
12254 ns-find-file (Bug#5855, Bug#10050).
12255
12256 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
12257
12258 * calendar/parse-time.el (parse-time-string): Allow extractor to
12259 return nil.
12260
12261 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
12262
12263 * net/tramp.el (tramp-file-name-for-operation):
12264 Add `files-equal-p' and `file-subdir-of-p'.
12265
12266 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
12267 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
12268 Add COPY-CONTENTS argument.
12269
12270 2012-02-25 Chong Yidong <cyd@gnu.org>
12271
12272 Add custom groups for VC backends, for consistency with vc-bzr.
12273
12274 * vc/vc-arch.el (vc-arch):
12275 * vc/vc-cvs.el (vc-cvs):
12276 * vc/vc-git.el (vc-git):
12277 * vc/vc-hg.el (vc-hg):
12278 * vc/vc-mtn.el (vc-mtn):
12279 * vc/vc-rcs.el (vc-rcs):
12280 * vc/vc-sccs.el (vc-sccs):
12281 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
12282 All relevant defcustoms reassigned.
12283
12284 2012-02-25 Chong Yidong <cyd@gnu.org>
12285
12286 * newcomment.el (comment-styles): Add autoload (Bug#10868).
12287
12288 * term/x-win.el (x-initialize-window-system): Reduce default for
12289 x-selection-timeout to 5 seconds (Bug#8869).
12290
12291 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12292
12293 * files.el (files-equal-p, file-subdir-of-p): New functions.
12294 (copy-directory): Error when trying to copy a directory on itself.
12295 Add missing copy-contents arg to tramp handler.
12296 * dired-aux.el (dired-copy-file-recursive): Same.
12297 (dired-create-files): Modify destination when source is equal to
12298 dest when copying files.
12299 Return also when dest is a subdir of source. (Bug#10489)
12300
12301 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
12302
12303 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
12304 (Bug#10874)
12305
12306 2012-02-23 Alan Mackenzie <acm@muc.de>
12307
12308 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
12309 parameter "after-hook:" to allow the expansion to run code after
12310 the execution of the mode hooks.
12311
12312 * font-lock.el (font-lock-initial-fontify): New function extracted
12313 from font-lock-mode-internal.
12314
12315 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
12316 :after-hook.
12317
12318 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
12319
12320 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
12321 (completion--cache-all-sorted-completions): New function.
12322 (completion-all-sorted-completions): Use it.
12323 (completion--do-completion, minibuffer-force-complete):
12324 Use it to re-instate the flush hook.
12325
12326 * icomplete.el (icomplete-completions): Replace last fix with a better
12327 one (bug#10850).
12328
12329 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
12330
12331 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
12332 when it might call us back infinitely (bug#10797).
12333
12334 2012-02-23 Glenn Morris <rgm@gnu.org>
12335
12336 * minibuffer.el (completion-category-overrides): Doc fix.
12337
12338 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
12339
12340 * minibuffer.el (completion-table-with-context): Fix inf-loop.
12341 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
12342
12343 2012-02-23 Glenn Morris <rgm@gnu.org>
12344
12345 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
12346 (authors-obsolete-files-regexps, authors-ignored-files)
12347 (authors-ambiguous-files, authors-renamed-files-alist):
12348 Add more entries.
12349
12350 2012-02-23 Juri Linkov <juri@jurta.org>
12351
12352 * isearch.el (isearch-occur): Sync interactive spec with occur's
12353 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
12354
12355 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
12356
12357 2012-02-22 Juri Linkov <juri@jurta.org>
12358
12359 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
12360 (ucs-insert): Doc fix. Check for hex digits in the string.
12361 Don't display `nil' in the error message. (Bug#10857)
12362
12363 2012-02-22 Alan Mackenzie <acm@muc.de>
12364
12365 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
12366
12367 2012-02-22 Glenn Morris <rgm@gnu.org>
12368
12369 * ffap.el (ffap-c-path):
12370 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
12371
12372 2012-02-22 Chong Yidong <cyd@gnu.org>
12373
12374 * custom.el (load-theme): Doc fix.
12375
12376 2012-02-22 Glenn Morris <rgm@gnu.org>
12377
12378 * dired-x.el (dired-guess-shell-alist-default):
12379 Remove escape sequences from nroff output. (Bug#172)
12380
12381 2012-02-21 Glenn Morris <rgm@gnu.org>
12382
12383 * vc/emerge.el (emerge-defvar-local):
12384 Set `permanent-local' property rather than unused `preserved'.
12385
12386 * textmodes/picture.el (picture-delete-char): New alias.
12387 (picture-mode-map): Use it. (Bug#10860)
12388 (picture-mode): Doc fix.
12389
12390 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
12391
12392 * newcomment.el (uncomment-region-default): Remove unused binding.
12393
12394 2012-02-21 Glenn Morris <rgm@gnu.org>
12395
12396 * textmodes/picture.el (picture-motion, picture-motion-reverse)
12397 (picture-self-insert, picture-tab-chars): Doc fix.
12398 (picture-mode-map): Fix C-a, C-e.
12399
12400 2012-02-20 Glenn Morris <rgm@gnu.org>
12401
12402 * emacs-lisp/authors.el (authors-aliases): Add another entry.
12403
12404 2012-02-20 Leo Liu <sdl.web@gmail.com>
12405
12406 * icomplete.el (icomplete-completions): Check FROM arg before
12407 passing to substring (Bug#10850).
12408
12409 2012-02-19 Chong Yidong <cyd@gnu.org>
12410
12411 * comint.el: Require ansi-color.
12412 (comint-output-filter-functions): Add ansi-color-process-output.
12413
12414 * ansi-color.el: Don't set comint-output-filter-functions; it is
12415 now in the initial value defined in comint.el.
12416 (ansi-color-apply-face-function): New variable.
12417 (ansi-color-apply-on-region): Use it.
12418 (ansi-color-apply-overlay-face): New function.
12419
12420 * shell.el (shell): No need to require ansi-color.
12421 (shell-mode): Use ansi-color-apply-face-function to highlight
12422 color escapes using font-lock-face property (Bug#10835).
12423
12424 2012-02-19 Chong Yidong <cyd@gnu.org>
12425
12426 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
12427 mode-line formats (Bug#10839).
12428
12429 2012-02-18 Glenn Morris <rgm@gnu.org>
12430
12431 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
12432
12433 * mail/undigest.el (unforward-rmail-message): Doc fix.
12434
12435 * saveplace.el (save-place-ignore-files-regexp): Add :version.
12436
12437 2012-02-18 Eli Zaretskii <eliz@gnu.org>
12438
12439 * international/characters.el (script-list): Sync with the latest
12440 Unicode Character Database.
12441
12442 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
12443
12444 * international/titdic-cnv.el: Remove duplicate coding tag.
12445 * language/cham.el: Likewise.
12446 * language/tai-viet.el: Likewise.
12447
12448 2012-02-18 Glenn Morris <rgm@gnu.org>
12449
12450 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
12451 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
12452 (calendar-bahai-all-holidays-flag, calendar-other-dates):
12453 * calendar/diary-lib.el (diary-abbreviated-year-flag):
12454 * calendar/holidays.el (holiday-bahai-holidays)
12455 (calendar-holidays, list-holidays):
12456 Use utf-8 Bahá'í in doc-strings, menus, etc.
12457
12458 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
12459
12460 * saveplace.el (save-place-ignore-files-regexp): New variable
12461 allowing for excluding files from saving their location of point.
12462 The default value matches the temporary commit message editing
12463 files from Git, SVN, Bazaar, and Mercurial.
12464 (save-place-to-alist): Use it.
12465
12466 2012-02-17 Lawrence Mitchell <wence@gmx.li>
12467 Stefan Monnier <monnier@iro.umontreal.ca>
12468
12469 * newcomment.el (uncomment-region-default): Don't leave extra space
12470 when an arg is provided (bug#8150).
12471
12472 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
12473
12474 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
12475
12476 2012-02-17 Glenn Morris <rgm@gnu.org>
12477
12478 * net/socks.el: Require network-stream. (Bug#10599)
12479
12480 2012-02-17 Kenichi Handa <handa@m17n.org>
12481
12482 * international/charprop.el:
12483 * international/uni-name.el:
12484 * international/uni-old-name.el:
12485 * international/uni-comment.el: Regenerate.
12486
12487 2012-02-16 Glenn Morris <rgm@gnu.org>
12488
12489 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
12490 Interactively in calendar buffer, give an error if not on a date.
12491
12492 2012-02-15 Glenn Morris <rgm@gnu.org>
12493
12494 * shell.el (shell-delimiter-argument-list):
12495 Revert 2011-02-17 change. (Bug#8027)
12496
12497 2012-02-15 Chong Yidong <cyd@gnu.org>
12498
12499 * minibuffer.el (completion-at-point-functions): Doc fix.
12500
12501 * custom.el (defcustom): Doc fix; note use of defvar.
12502
12503 2012-02-15 Glenn Morris <rgm@gnu.org>
12504
12505 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
12506 Doc fixes.
12507
12508 2012-02-14 Glenn Morris <rgm@gnu.org>
12509
12510 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
12511
12512 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
12513
12514 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
12515 way the ports list is computed.
12516 (smtpmail-query-smtp-server): Prompt the user for a port number if
12517 we can't connect to any of the standard ports (bug#10810).
12518
12519 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
12520
12521 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
12522
12523 2012-02-13 Glenn Morris <rgm@gnu.org>
12524
12525 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
12526
12527 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
12528
12529 * net/gnutls.el (gnutls-trustfiles): New variable.
12530 (gnutls-negotiate): Use it.
12531
12532 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
12533
12534 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
12535 does its stuff if Gnus is running.
12536
12537 2012-02-13 Alan Mackenzie <acm@muc.de>
12538
12539 Fix a loop in c-set-fl-decl-start.
12540
12541 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
12542 c-backward-syntactic-ws actually moves backwards.
12543
12544 2012-02-13 Leo Liu <sdl.web@gmail.com>
12545
12546 * net/rcirc.el (rcirc-markup-attributes): Move point to the
12547 beginning so that all \C-o chars are removed.
12548
12549 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
12550
12551 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
12552
12553 2012-02-12 Alan Mackenzie <acm@muc.de>
12554
12555 Fix infinite loop with long macros.
12556 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
12557
12558 2012-02-12 Chong Yidong <cyd@gnu.org>
12559
12560 * window.el (display-buffer): Doc fix (Bug#10785).
12561
12562 2012-02-12 Glenn Morris <rgm@gnu.org>
12563
12564 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
12565 (x-disown-selection-internal, x-get-selection-internal):
12566 Sync docs with the xselect.c versions.
12567
12568 * allout-widgets.el: Add missing license notice.
12569
12570 2012-02-11 Glenn Morris <rgm@gnu.org>
12571
12572 * select.el (x-get-selection-internal, x-own-selection-internal)
12573 (x-disown-selection-internal):
12574 * x-dnd.el (x-get-selection-internal): Update declarations.
12575
12576 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
12577
12578 * window.el (window-sides-slots):
12579 * tool-bar.el (tool-bar-position):
12580 * term/xterm.el (xterm-extra-capabilities):
12581 * ses.el (ses-self-reference-early-detection):
12582 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
12583 (verilog-auto-wire-type)
12584 (verilog-auto-delete-trailing-whitespace)
12585 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
12586 (verilog-auto-tieoff-declaration):
12587 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
12588 (sql-oracle-statement-starters, sql-oracle-scan-on):
12589 * progmodes/prolog.el (prolog-align-comments-flag)
12590 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
12591 (prolog-left-indent-regexp, prolog-paren-indent-p)
12592 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
12593 (prolog-types, prolog-mode-specificators)
12594 (prolog-determinism-specificators, prolog-directives)
12595 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
12596 (prolog-electric-dot-flag)
12597 (prolog-electric-dot-full-predicate-template)
12598 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
12599 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
12600 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
12601 (prolog-program-switches, prolog-prompt-regexp)
12602 (prolog-debug-on-string, prolog-debug-off-string)
12603 (prolog-trace-on-string, prolog-trace-off-string)
12604 (prolog-zip-on-string, prolog-zip-off-string)
12605 (prolog-use-standard-consult-compile-method-flag)
12606 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
12607 (prolog-imenu-max-lines, prolog-info-predicate-index)
12608 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
12609 (prolog-char-quote-workaround):
12610 * progmodes/cc-vars.el (c-defun-tactic):
12611 * net/tramp.el (tramp-encoding-command-interactive)
12612 (tramp-local-end-of-line):
12613 * net/soap-client.el (soap-client):
12614 * net/netrc.el (netrc-file):
12615 * net/gnutls.el (gnutls):
12616 * minibuffer.el (completion-category-overrides)
12617 (completion-cycle-threshold)
12618 (completion-pcm-complete-word-inserts-delimiters):
12619 * man.el (Man-name-local-regexp):
12620 * mail/feedmail.el (feedmail-display-full-frame):
12621 * international/characters.el (glyphless-char-display-control):
12622 * eshell/em-ls.el (eshell-ls-date-format):
12623 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
12624 (lisp-lambda-list-keyword-parameter-indentation)
12625 (lisp-lambda-list-keyword-parameter-alignment):
12626 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
12627 * dired-x.el (dired-omit-verbose):
12628 * cus-theme.el (custom-theme-allow-multiple-selections):
12629 * calc/calc.el (calc-highlight-selections-with-faces)
12630 (calc-lu-field-reference, calc-lu-power-reference)
12631 (calc-note-threshold):
12632 * battery.el (battery-mode-line-limit):
12633 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
12634 (archive-7z-update):
12635 * allout.el (allout-prefixed-keybindings)
12636 (allout-unprefixed-keybindings)
12637 (allout-inhibit-auto-fill-on-headline)
12638 (allout-flattened-numbering-abbreviation):
12639 * allout-widgets.el (allout-widgets-auto-activation)
12640 (allout-widgets-icons-dark-subdir)
12641 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
12642 (allout-widgets-theme-dark-background)
12643 (allout-widgets-theme-light-background)
12644 (allout-widgets-item-image-properties-emacs)
12645 (allout-widgets-item-image-properties-xemacs)
12646 (allout-widgets-run-unit-tests-on-load)
12647 (allout-widgets-time-decoration-activity)
12648 (allout-widgets-hook-error-post-time)
12649 (allout-widgets-track-decoration):
12650 Add missing :version tags to new defcustoms and defgroups.
12651
12652 * progmodes/sql.el (sql-ansi-statement-starters)
12653 (sql-oracle-statement-starters): Add custom type.
12654
12655 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
12656 (prolog-system-version): Give it a type.
12657
12658 2012-02-11 Eli Zaretskii <eliz@gnu.org>
12659
12660 * term/pc-win.el (x-select-text, x-selection-owner-p)
12661 (x-own-selection-internal, x-disown-selection-internal)
12662 (x-get-selection-internal): Sync doc strings and argument lists
12663 with xselect.c, common-win.el and x-win.el. (Bug#10783)
12664
12665 2012-02-11 Leo Liu <sdl.web@gmail.com>
12666
12667 * progmodes/python.el (python-end-of-statement): Fix infinite
12668 loop. (Bug#10788)
12669
12670 2012-02-10 Glenn Morris <rgm@gnu.org>
12671
12672 * international/mule-cmds.el (unify-8859-on-encoding-mode)
12673 (unify-8859-on-decoding-mode): Properly mark as obsolete.
12674
12675 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
12676
12677 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
12678 about SMTP before checking the From header.
12679
12680 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
12681 into own function for reuse by emacsbug.el.
12682
12683 2012-02-10 Leo Liu <sdl.web@gmail.com>
12684
12685 * subr.el (condition-case-unless-debug): Rename from
12686 condition-case-no-debug. All callers changed.
12687 (with-demoted-errors): Fix caller.
12688
12689 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
12690 * nxml/rng-valid.el (rng-do-some-validation):
12691 * emacs-lisp/package.el (package-refresh-contents)
12692 (package-menu-execute):
12693 * desktop.el (desktop-create-buffer):
12694 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
12695
12696 2012-02-10 Glenn Morris <rgm@gnu.org>
12697
12698 * textmodes/bibtex.el:
12699 Add missing :version tags for new/changed defcustoms.
12700
12701 * files.el (remote-file-name-inhibit-cache): Doc fixes.
12702
12703 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
12704
12705 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
12706 (smtpmail-via-smtp): Use it, or fall back on the From address.
12707 (smtpmail-send-it): Ditto.
12708
12709 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
12710
12711 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
12712 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
12713 (byte-compile-tmp-var): New const.
12714 (byte-compile-defvar): Use it to minimize .elc size.
12715 Just use `defvar' rather than simulate it (bug#10761).
12716
12717 2012-02-09 Glenn Morris <rgm@gnu.org>
12718
12719 * files.el (rename-uniquely): Doc fix. (Bug#3806)
12720
12721 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
12722 Add :version tags.
12723
12724 * progmodes/compile.el (compilation-error-screen-columns)
12725 (compilation-first-column, compilation-filter-start): Doc fixes.
12726
12727 * vc/log-view.el (log-view-toggle-entry-display):
12728 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
12729
12730 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
12731 (report-emacs-bug-can-use-xdg-email):
12732 (report-emacs-bug-insert-to-mailer): Doc fixes.
12733 (report-emacs-bug): Message fix.
12734
12735 * net/browse-url.el (browse-url-can-use-xdg-open)
12736 (browse-url-xdg-open): Doc fixes.
12737
12738 * electric.el (electric-indent-mode, electric-pair-mode)
12739 (electric-layout-rules, electric-layout-mode): Doc fixes.
12740 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
12741
12742 2012-02-08 Martin Rudalics <rudalics@gmx.at>
12743
12744 * server.el (server-unselect-display): Don't inadvertently kill
12745 the current buffer. (Bug#10729)
12746
12747 2012-02-08 Glenn Morris <rgm@gnu.org>
12748
12749 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
12750 (sql-list-table): Doc fixes.
12751
12752 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
12753 Comment out (does nothing).
12754
12755 * completion.el (dynamic-completion-mode):
12756 * dirtrack.el (dirtrack-debug-mode):
12757 * electric.el (electric-layout-mode):
12758 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
12759 * face-remap.el (text-scale-mode, buffer-face-mode):
12760 * iimage.el (iimage-mode):
12761 * image-mode.el (image-transform-mode):
12762 * minibuffer.el (completion-in-region-mode):
12763 * scroll-lock.el (scroll-lock-mode):
12764 * simple.el (next-error-follow-minor-mode):
12765 * tar-mode.el (tar-subfile-mode):
12766 * tooltip.el (tooltip-mode):
12767 * vcursor.el (vcursor-use-vcursor-map):
12768 * wid-browse.el (widget-minor-mode):
12769 * emulation/tpu-edt.el (tpu-edt-mode):
12770 * emulation/tpu-extras.el (tpu-cursor-free-mode):
12771 * international/iso-ascii.el (iso-ascii-mode):
12772 * language/thai-util.el (thai-word-mode):
12773 * mail/supercite.el (sc-minor-mode):
12774 * net/goto-addr.el (goto-address-mode):
12775 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
12776 * progmodes/cwarn.el (cwarn-mode):
12777 * progmodes/flymake.el (flymake-mode):
12778 * progmodes/glasses.el (glasses-mode):
12779 * progmodes/hideshow.el (hs-minor-mode):
12780 * progmodes/pascal.el (pascal-outline-mode):
12781 * textmodes/enriched.el (enriched-mode):
12782 * vc/smerge-mode.el (smerge-mode):
12783 Doc fixes (minor mode argument).
12784
12785 2012-02-07 Eli Zaretskii <eliz@gnu.org>
12786
12787 * ls-lisp.el (ls-lisp-sanitize): New function.
12788 (ls-lisp-insert-directory): Use it to fix or remove any elements
12789 in file-alist with missing attributes. (Bug#4673)
12790
12791 2012-02-07 Alan Mackenzie <acm@muc.de>
12792
12793 Fix spurious recognition of c-in-knr-argdecl.
12794
12795 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
12796 putative K&R region.
12797
12798 2012-02-07 Alan Mackenzie <acm@muc.de>
12799
12800 * progmodes/cc-engine.el (c-forward-objc-directive):
12801 Prevent looping in "#pragma mark @implementation".
12802
12803 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
12804
12805 * notifications.el (notifications-on-closed-signal): Make `reason'
12806 optional. (Bug#10744)
12807
12808 2012-02-07 Glenn Morris <rgm@gnu.org>
12809
12810 * emacs-lisp/easy-mmode.el (define-minor-mode):
12811 Doc fixes for the macro and the mode it defines.
12812
12813 * image.el (imagemagick-types-inhibit): Doc fix.
12814
12815 * cus-start.el (imagemagick-render-type): Add it.
12816
12817 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
12818
12819 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
12820 Set the default at load time, too, so that `font-lock-fontify-buffer'
12821 can be called without setting up the entire mode first. This fixes
12822 a bug in `mm-inline-text' with C MIME parts.
12823
12824 2012-02-06 Chong Yidong <cyd@gnu.org>
12825
12826 * simple.el (list-processes--refresh): Delete exited processes
12827 (Bug#8094).
12828
12829 * comint.el (comint-next-prompt): next-single-char-property-change
12830 and prev-single-char-property-change never return nil (Bug#8657).
12831
12832 * custom.el (defcustom): Doc fix (Bug#9711).
12833
12834 2012-02-05 Chong Yidong <cyd@gnu.org>
12835
12836 * cus-edit.el (custom-variable-reset-backup): Quote the value
12837 before storing it in the customized-value property (Bug#6712).
12838 (custom-display): Add a customization type tag.
12839 (custom-buffer-create-internal): Improve tooltip message.
12840
12841 * wid-edit.el (widget-field-value-get): New optional arg to
12842 suppress trailing whitespace truncation.
12843 (character): Use it (Bug#2689).
12844
12845 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
12846
12847 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
12848 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
12849
12850 2012-02-05 Chong Yidong <cyd@gnu.org>
12851
12852 * cus-edit.el (custom-variable-value-create): For mismatched
12853 types, show the current value (Bug#7600).
12854
12855 * custom.el (defcustom): Doc fix.
12856
12857 2012-02-05 Glenn Morris <rgm@gnu.org>
12858
12859 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
12860
12861 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
12862
12863 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
12864 (pp-buffer): Use `ignore-errors', `looking-at-p'.
12865 (pp-last-sexp): Use `looking-at-p'.
12866
12867 2012-02-04 Glenn Morris <rgm@gnu.org>
12868
12869 * files.el (revert-buffer):
12870 Doc fix (mention revert-buffer-in-progress-p).
12871
12872 * emacs-lisp/ert-x.el (ert-simulate-command):
12873 Check deferred-action-list (which is obsolete) is bound.
12874
12875 * subr.el (with-wrapper-hook): Doc fixes.
12876
12877 * simple.el (filter-buffer-substring-functions)
12878 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
12879
12880 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
12881
12882 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
12883 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
12884
12885 2012-02-04 Leo Liu <sdl.web@gmail.com>
12886
12887 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
12888
12889 2012-02-04 Glenn Morris <rgm@gnu.org>
12890
12891 * image.el (image-extension-data): Add obsolete alias.
12892
12893 * isearch.el (isearch-update): Doc fix.
12894
12895 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
12896
12897 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
12898
12899 2012-02-03 Glenn Morris <rgm@gnu.org>
12900
12901 * image.el (image-animated-p): Doc fix. Use image-animated-types.
12902 (image-animate-timeout): Doc fix.
12903
12904 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
12905
12906 2012-02-02 Glenn Morris <rgm@gnu.org>
12907
12908 * server.el (server-auth-dir): Doc fix.
12909 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
12910
12911 * subr.el (run-mode-hooks): Doc fix.
12912
12913 2012-02-02 Juri Linkov <juri@jurta.org>
12914
12915 * image-mode.el (image-toggle-display-image): Remove tautological
12916 `major-mode' from the `derived-mode-p' test.
12917
12918 2012-02-02 Kenichi Handa <handa@m17n.org>
12919
12920 * composite.el (compose-region): Cancel previous change.
12921
12922 2012-02-02 Kenichi Handa <handa@m17n.org>
12923
12924 * composite.el (compose-region, compose-string): Signal error for
12925 a null string component (Bug#6988).
12926
12927 2012-02-01 Chong Yidong <cyd@gnu.org>
12928
12929 * view.el (view-buffer-other-window, view-buffer-other-frame):
12930 Handle special modes like view-buffer (Bug#10650).
12931 (view-buffer): Simplify.
12932
12933 * frame.el (set-frame-font): Tweak meaning of third argument.
12934
12935 * dynamic-setting.el (font-setting-change-default-font):
12936 Use set-frame-font (Bug#9982).
12937
12938 2012-02-01 Glenn Morris <rgm@gnu.org>
12939
12940 * progmodes/compile.el (compilation-internal-error-properties):
12941 Respect compilation-first-column in the "*compilation*" buffer.
12942
12943 * emacs-lisp/easy-mmode.el (define-minor-mode):
12944 Relax :variable's test for a named function.
12945
12946 2012-01-31 Alan Mackenzie <acm@muc.de>
12947
12948 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
12949 off by one error.
12950
12951 2012-01-31 Chong Yidong <cyd@gnu.org>
12952
12953 * frame.el (set-frame-font): New arg ALL-FRAMES.
12954
12955 * menu-bar.el (menu-set-font): Use set-frame-font.
12956
12957 * faces.el (face-spec-reset-face): Don't apply unspecified
12958 attribute values to the default face.
12959
12960 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
12961
12962 * progmodes/cwarn.el (cwarn): Remove dead link.
12963 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
12964 Remove * from defcustom docstrings.
12965 (turn-on-cwarn-mode): Make obsolete.
12966 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
12967 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
12968
12969 2012-01-31 Glenn Morris <rgm@gnu.org>
12970
12971 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
12972 Fix :variable handling of mode a symbol not equal to modefun.
12973 Allow named functions to be used as the cdr of :variable.
12974
12975 2012-01-30 Glenn Morris <rgm@gnu.org>
12976
12977 * emacs-lisp/authors.el (authors-fixed-entries):
12978 Remove reference to deleted file rnewspost.el.
12979
12980 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
12981
12982 * window.el (window-with-parameter): Remove unused variable `windows'.
12983 (window--side-check): Remove unused variable `code'.
12984 (window--resize-siblings): Remove unused variable `first'.
12985 (adjust-window-trailing-edge): Remove unused variable `failed'.
12986 (window-deletable-p, window--delete): Remove unused variable `buffer'.
12987 Use `let', not `let*'.
12988 (balance-windows-2): Remove unused variable `found'.
12989 (window--state-put-2): Remove unused variable `splits'.
12990 (window-state-put): Remove unused variable `selected'.
12991 (same-window-p): Use `string-match-p'.
12992 (display-buffer-assq-regexp): Remove unused variable `value'.
12993 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12994 Mark argument ALIST as ignored.
12995 (pop-to-buffer): Remove unused variable `old-window'.
12996
12997 2012-01-29 Eli Zaretskii <eliz@gnu.org>
12998
12999 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
13000 and .lzma compressed files.
13001
13002 2012-01-29 Chong Yidong <cyd@gnu.org>
13003
13004 * frame.el (window-system-default-frame-alist): Doc fix.
13005
13006 * dynamic-setting.el (font-setting-change-default-font): Don't
13007 change the default face if SET-FONT argument is non-nil (Bug#9982).
13008
13009 2012-01-29 Samuel Bronson <naesten@gmail.com>
13010
13011 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
13012
13013 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
13014
13015 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
13016 breakpoints in files outside current directory (Bug#6098).
13017
13018 2012-01-29 Chong Yidong <cyd@gnu.org>
13019
13020 * progmodes/python.el: Require ansi-color at top-level.
13021
13022 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
13023 Define and use in Emacs Lisp mode (Bug#9360).
13024 (lisp-mode-abbrev-table): Add doc.
13025 (lisp-mode-variables): Don't set local-abbrev-table.
13026 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
13027
13028 2012-01-28 Roland Winkler <winkler@gnu.org>
13029
13030 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
13031
13032 2012-01-28 Roland Winkler <winkler@gnu.org>
13033
13034 * textmodes/bibtex.el (bibtex-entry-alist): New function.
13035 (bibtex-set-dialect): Use it. Either set global values of
13036 dialect-dependent variables or bind these variables buffer-locally
13037 (Bug#10254).
13038 (bibtex-mode): Call bibtex-set-dialect via
13039 hack-local-variables-hook.
13040 (bibtex-dialect): Update docstring.
13041 Add safe-local-variable predicate.
13042 (bibtex-entry-alist, bibtex-field-alist): Initialize via
13043 bibtex-set-dialect.
13044 (bibtex-mode-map): Define menu for each dialect.
13045 (bibtex-entry): Fix docstring.
13046
13047 2012-01-28 Chong Yidong <cyd@gnu.org>
13048
13049 * eshell/esh-arg.el (eshell-quote-argument): New function.
13050
13051 * eshell/esh-ext.el (eshell-invoke-batch-file):
13052 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
13053 first arg to eshell-parse-command (Bug#10523).
13054
13055 2012-01-28 Drew Adams <drew.adams@oracle.com>
13056
13057 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
13058 `default-directory' is non-nil.
13059
13060 2012-01-28 Eli Zaretskii <eliz@gnu.org>
13061
13062 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
13063 line that displays system-configuration-options. (Bug#9924)
13064
13065 2012-01-28 Drew Adams <drew.adams@oracle.com>
13066
13067 * descr-text.el (describe-char): Show information about POS, in
13068 addition to information about the character at POS. Improve and
13069 update the doc string. Change "code point" to "code point in
13070 charset", to avoid confusion with the character's Unicode code
13071 point shown above that. (Bug#10129)
13072
13073 2012-01-28 Eli Zaretskii <eliz@gnu.org>
13074
13075 * descr-text.el (describe-char): Show the raw character, not only
13076 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
13077 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
13078 for the reasons.
13079
13080 2012-01-28 Phil Hagelberg <phil@hagelb.org>
13081
13082 * emacs-lisp/package.el (package-install):
13083 Run package-refresh-contents if there is no archive yet (Bug#9798).
13084
13085 2012-01-28 Chong Yidong <cyd@gnu.org>
13086
13087 * emacs-lisp/package.el (package-maybe-load-descriptor):
13088 New function, split from package-maybe-load-descriptor.
13089 (package-maybe-load-descriptor): Use it.
13090 (package-download-transaction): Fully load required packages
13091 inside the loop, so that `require' calls work (Bug#10593).
13092 (package-install): No need to call package-initialize now.
13093
13094 2012-01-28 Chong Yidong <cyd@gnu.org>
13095
13096 * simple.el (deactivate-mark): Doc fix (Bug#8614).
13097
13098 * tooltip.el (tooltip-mode): Doc fix.
13099 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
13100
13101 * frame.el (set-cursor-color): Doc fix (Bug#352).
13102
13103 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
13104 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
13105
13106 * cus-edit.el (custom-buffer-create-internal): Fix search button
13107 action (Bug#10542).
13108 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
13109
13110 2012-01-27 Eduard Wiebe <usenet@pusto.de>
13111
13112 * dired.el (dired-mark-files-regexp):
13113 Include any subdirectory components. (Bug#10445)
13114
13115 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
13116
13117 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
13118 Handle [host]:port syntax. (Bug#10533)
13119
13120 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
13121
13122 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
13123
13124 2012-01-26 Glenn Morris <rgm@gnu.org>
13125
13126 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
13127 * term.el (term-raw-escape-map): Use Control-X-prefix.
13128 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
13129
13130 2012-01-25 Martin Rudalics <rudalics@gmx.at>
13131
13132 * window.el (window-state-get, window--state-get-1): Don't deal
13133 with fixed-sizeness of windows. Simplify code.
13134
13135 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
13136
13137 * window.el (window--state-get-1, window--state-put-2):
13138 Don't save and restore the mark.
13139
13140 2012-01-25 Chong Yidong <cyd@gnu.org>
13141
13142 * custom.el (custom-variable-p): Doc fix.
13143
13144 2012-01-25 Glenn Morris <rgm@gnu.org>
13145
13146 * dired.el (dired-goto-file): Handle some of the more common
13147 characters that `ls -b' escapes. (Bug#10596)
13148
13149 * progmodes/compile.el (compilation-next-error-function):
13150 Respect compilation-first-column in the "*compilation*" buffer.
13151 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
13152
13153 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
13154
13155 2012-01-24 Glenn Morris <rgm@gnu.org>
13156
13157 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
13158
13159 2012-01-24 Julien Danjou <julien@danjou.info>
13160
13161 * color.el (color-rgb-to-hsl): Fix value computing.
13162 (color-hue-to-rgb): New function.
13163 (color-hsl-to-rgb): New function.
13164 (color-clamp, color-saturate-hsl, color-saturate-name)
13165 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
13166 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
13167
13168 2012-01-24 Glenn Morris <rgm@gnu.org>
13169
13170 * vc/vc-rcs.el (vc-rcs-create-tag):
13171 * vc/vc-sccs.el (vc-sccs-create-tag):
13172 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
13173
13174 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
13175
13176 * eshell/esh-util.el (eshell-read-hosts-file):
13177 Skip comment lines. (Bug#10549)
13178
13179 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
13180
13181 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
13182
13183 * subr.el (display-delayed-warnings): Doc fix.
13184 (collapse-delayed-warnings): New function to collapse identical
13185 adjacent warnings.
13186 (delayed-warnings-hook): Add it.
13187
13188 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
13189
13190 * net/tramp.el (tramp-action-login): Set connection property "login-as".
13191
13192 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
13193 (tramp-default-user-alist): Don't add "pscp".
13194 (tramp-do-copy-or-rename-file-out-of-band): Use connection
13195 property "login-as", if set. (Bug#10530)
13196
13197 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
13198
13199 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
13200 "plink1" and "psftp". (Bug#10530)
13201
13202 2012-01-21 Kenichi Handa <handa@m17n.org>
13203
13204 * international/mule-cmds.el (prefer-coding-system): Show a
13205 warning message if the default value of file-name-coding-system
13206 was not changed.
13207
13208 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
13209
13210 * windmove.el (windmove-reference-loc):
13211 Fix windmove-reference-loc miscalculation.
13212
13213 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
13214
13215 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
13216 default unit.
13217
13218 2012-01-21 Glenn Morris <rgm@gnu.org>
13219
13220 * international/mule.el (auto-coding-alist): Add .tbz.
13221
13222 * files.el (local-enable-local-variables): Doc fix.
13223 (inhibit-local-variables-regexps): Rename from
13224 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
13225 Doc fix. Add some extensions from auto-coding-alist.
13226 (inhibit-local-variables-suffixes):
13227 Rename from inhibit-first-line-modes-suffixes. Doc fix.
13228 (inhibit-local-variables-p):
13229 New function, extracted from set-auto-mode-1.
13230 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
13231 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
13232 (hack-local-variables): Doc fix. Make the mode-only case
13233 respect enable-local-variables and friends.
13234 Respect inhibit-local-variables-regexps for file-locals, but
13235 not for directory-locals.
13236 (set-visited-file-name):
13237 Take account of inhibit-local-variables-regexps.
13238 Whether it applies may change as the file name is changed.
13239 * jka-cmpr-hook.el (jka-compr-install):
13240 * jka-compr.el (jka-compr-uninstall):
13241 Update for inhibit-first-line-modes-suffixes name change.
13242
13243 2012-01-20 Martin Rudalics <rudalics@gmx.at>
13244
13245 * help-macro.el (make-help-screen): Temporarily restore original
13246 binding for minor-mode-map-alist (Bug#10454).
13247
13248 2012-01-19 Julien Danjou <julien@danjou.info>
13249
13250 * color.el (color-name-to-rgb): Use the white color to find the max
13251 color component value and return correctly computed values.
13252 (color-name-to-rgb): Add missing float conversion for max value.
13253
13254 2012-01-19 Martin Rudalics <rudalics@gmx.at>
13255
13256 * window.el (window--state-get-1, window-state-get): Do not use
13257 special state value for window-persistent-parameters.
13258 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
13259 (window--state-put-2): Reset all window parameters to nil before
13260 assigning values of persistent parameters.
13261
13262 2012-01-18 Alan Mackenzie <acm@muc.de>
13263
13264 Eliminate sluggishness and hangs in fontification of "semicolon
13265 deserts".
13266
13267 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
13268 Change value 10000 -> 3000.
13269 (c-state-safe-place): Reformulate so it doesn't stack up an
13270 infinite number of wrong entries in c-state-nonlit-pos-cache.
13271 (c-determine-limit-get-base, c-determine-limit): New functions to
13272 determine backward search limits disregarding literals.
13273 (c-find-decl-spots): Amend commenting.
13274 (c-cheap-inside-bracelist-p): New function which detects "={".
13275
13276 * progmodes/cc-fonts.el
13277 (c-make-font-lock-BO-decl-search-function): Give a limit to a
13278 backward search.
13279 (c-font-lock-declarations): Fix an occurrence of point being
13280 undefined. Check additionally for point being in a bracelist or
13281 near a macro invocation without a semicolon so as to avoid a
13282 fruitless time consuming search for a declarator. Give a more
13283 precise search limit for declarators using the new
13284 c-determine-limit.
13285
13286 2012-01-18 Glenn Morris <rgm@gnu.org>
13287
13288 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
13289 (set-auto-mode): Doc fixes.
13290
13291 2012-01-17 Glenn Morris <rgm@gnu.org>
13292
13293 * isearch.el (search-nonincremental-instead): Fix doc typo.
13294
13295 * dired.el (dired-insert-directory): Handle newlines in directory name.
13296 (dired-build-subdir-alist): Unescape newlines in directory name.
13297
13298 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
13299
13300 * net/tramp.el (tramp-local-end-of-line): New defcustom.
13301 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
13302 (tramp-action-terminal): Use it. (Bug#10530)
13303
13304 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
13305
13306 * minibuffer.el (completion--replace): Strip properties (bug#10062).
13307
13308 2012-01-16 Martin Rudalics <rudalics@gmx.at>
13309
13310 * window.el (window-state-ignored-parameters): Remove variable.
13311 (window--state-get-1): Rename argument MARKERS to IGNORE.
13312 Handle persistent window parameters. Make copy of clone-of
13313 parameter only if requested. (Bug#10348)
13314 (window--state-put-2): Install a window parameter only if it has
13315 a non-nil value or an existing parameter shall be overwritten.
13316
13317 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
13318
13319 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
13320
13321 2012-01-14 Eli Zaretskii <eliz@gnu.org>
13322
13323 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
13324 don't pass the (nil) value of `upnode' to string-match.
13325
13326 2012-01-14 Chong Yidong <cyd@gnu.org>
13327
13328 * startup.el (command-line): Fix X resource class for cursorColor.
13329 Fix values recognized by the cursorBlink resource.
13330
13331 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
13332
13333 * epg.el (epg--make-temp-file): Avoid permission race condition
13334 when running on old Emacs versions (bug#10403).
13335
13336 2012-01-14 Glenn Morris <rgm@gnu.org>
13337
13338 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
13339
13340 2012-01-13 Alan Mackenzie <acm@muc.de>
13341
13342 Fix filling for when filladapt mode is enabled.
13343
13344 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
13345 c-mask-paragraph, pass in `fill-paragraph' rather than
13346 `fill-region-as-paragraph'. (This is a reversion of a previous
13347 change.)
13348 * progmodes/cc-mode.el (c-basic-common-init):
13349 Make fill-paragraph-handle-comment buffer local and set it to nil.
13350
13351 2012-01-13 Glenn Morris <rgm@gnu.org>
13352
13353 * dired.el (dired-switches-escape-p): New function.
13354 (dired-insert-directory): Use dired-switches-escape-p.
13355 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
13356
13357 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
13358
13359 2012-01-12 Glenn Morris <rgm@gnu.org>
13360
13361 * mail/sendmail.el (mail-mode): Update paragraph-separate for
13362 changes in adaptive-fill-regexp. (Bug#10276)
13363
13364 2012-01-11 Alan Mackenzie <acm@muc.de>
13365
13366 Fix Emacs bug #10463 - put `widen's around the critical spots.
13367
13368 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
13369 widen around each invocation of c-state-pp-to-literal. Remove an
13370 unused let variable.
13371
13372 2012-01-11 Glenn Morris <rgm@gnu.org>
13373
13374 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
13375 Doc fix.
13376
13377 2012-01-10 Chong Yidong <cyd@gnu.org>
13378
13379 * net/network-stream.el (network-stream-open-starttls):
13380 Avoid emitting a confusing error message when the server gives a bad
13381 response to the capability command.
13382
13383 2012-01-10 Glenn Morris <rgm@gnu.org>
13384
13385 * mail/unrmail.el (unrmail): Tweak previous change.
13386
13387 2012-01-09 Chong Yidong <cyd@gnu.org>
13388
13389 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
13390
13391 2012-01-08 Alan Mackenzie <acm@muc.de>
13392
13393 Optimize font locking in long enum definitions.
13394
13395 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
13396 arm to a cond form to handle enums.
13397 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
13398 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
13399
13400 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
13401
13402 * files.el (move-file-to-trash): Preserve default file modes on error.
13403 (Bug#10401)
13404
13405 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
13406
13407 * faces.el (set-face-attribute): Clarify the meaning of the nil
13408 frame (bug#10294).
13409
13410 * subr.el (with-selected-frame): Mention that the selected frame
13411 is restored (bug#9980).
13412
13413 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
13414 (bug#9759).
13415
13416 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
13417 (password-read): Don't autoload unused function.
13418
13419 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
13420
13421 * progmodes/which-func.el (which-func-mode): Turn into a
13422 non-interactive function and mark as obsolete (bug#10428).
13423
13424 2012-01-06 Chong Yidong <cyd@gnu.org>
13425
13426 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
13427 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
13428 functions, along with 1 and -1.
13429
13430 2012-01-06 Eli Zaretskii <eliz@gnu.org>
13431
13432 * time.el (display-time-load-average)
13433 (display-time-default-load-average): Doc fixes. See the thread
13434 starting at
13435 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
13436 for the details.
13437
13438 2012-01-06 Glenn Morris <rgm@gnu.org>
13439
13440 * mail/unrmail.el (unrmail): Give an explicit error if the input file
13441 has no messages. (Bug#10377)
13442
13443 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
13444 than Info-edit. (Bug#10385)
13445
13446 * time.el (display-time-load-average, display-time-next-load-average):
13447 Doc fixes.
13448
13449 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
13450 local setting of buffer-read-only to the input buffer. (Bug#10419)
13451
13452 * calendar/calendar.el (calendar-mode):
13453 Locally set scroll-margin to 0. (Bug#10379)
13454
13455 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
13456
13457 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
13458
13459 2012-01-05 Glenn Morris <rgm@gnu.org>
13460
13461 * eshell/em-unix.el (diff-no-select): Autoload it.
13462 (eshell/diff): Use diff-no-select. (Bug#10420)
13463
13464 2012-01-05 Chong Yidong <cyd@gnu.org>
13465
13466 * shell.el (shell-dynamic-complete-functions): Revert last change.
13467 (shell-command-completion-function): New function.
13468 (shell-completion-vars): Use it to implement
13469 shell-completion-execonly (Bug#10417).
13470
13471 * custom.el (enable-theme): Don't set custom-safe-themes.
13472
13473 * cus-theme.el (custom-theme-merge-theme):
13474 Ignore custom-enabled-themes and custom-safe-themes.
13475
13476 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
13477
13478 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
13479 first prompt in `sql-interacive-mode'.
13480 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
13481 keywords.
13482 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
13483 (sql-product-interactive): Bug fix: Set `sql-buffer' in
13484 context of original buffer. Invoke `sql-login-hook'.
13485
13486 2012-01-04 Eli Zaretskii <eliz@gnu.org>
13487
13488 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
13489 letters in cite-prefix.
13490
13491 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13492
13493 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
13494
13495 2012-01-03 Chong Yidong <cyd@gnu.org>
13496
13497 * shell.el (shell-dynamic-complete-functions):
13498 Put pcomplete-completions-at-point, so as to try
13499 comint-filename-completion first (Bug#10417).
13500
13501 2012-01-02 Richard Stallman <rms@gnu.org>
13502
13503 * battery.el (battery-status-function):
13504 Detect when to use battery-yeeloong-sysfs.
13505 (battery-echo-area-format): Add string for Yeeloong.
13506 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
13507 (battery-yeeloong-sysfs): New function.
13508
13509 2012-01-02 Chong Yidong <cyd@gnu.org>
13510
13511 * dirtrack.el (dirtrack-list): Eliminate unused third element.
13512 (dirtrack): Merge code for handling relative filenames in prompt
13513 from shell-dir-cookie-watcher.
13514 (dirtrack-debug-message): New arg to avoid excess format calls.
13515
13516 * shell.el (shell-dir-cookie-re): Variable deleted.
13517 (shell-dir-cookie-watcher): Function deleted.
13518 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
13519 with dirtrack-mode.
13520
13521 2012-01-01 Eli Zaretskii <eliz@gnu.org>
13522
13523 * term/w32-win.el (dynamic-library-alist) <gnutls>:
13524 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
13525 libgnutls-26.dll.
13526
13527 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
13528
13529 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
13530
13531 2011-12-31 Eli Zaretskii <eliz@gnu.org>
13532
13533 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
13534 headers of non-MIME messages, when rmail-enable-mime is non-nil.
13535
13536 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
13537
13538 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
13539 also for alternative shells.
13540 (tramp-open-connection-setup-interactive-shell): Check, whether
13541 the shell is a busybox.
13542 (tramp-send-command): Don't suppress multiple prompts for
13543 busyboxes, it hurts.
13544
13545 2011-12-28 Chong Yidong <cyd@gnu.org>
13546
13547 * progmodes/gdb-mi.el (gdb-get-source-file-list)
13548 (gdb-get-source-file): Move mode line update to
13549 gdb-get-source-file (Bug#10087).
13550
13551 2011-12-25 Chong Yidong <cyd@gnu.org>
13552
13553 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
13554 gud-gdb-marker-filter without taking it as an argument.
13555 (gud-gdb-run-command-fetch-lines): Caller changed.
13556 (gud-gdb-completion-function): New variable.
13557 (gud-gdb-completion-at-point): Use it.
13558 (gud-gdb-completions-1): Split from gud-gdb-completions.
13559
13560 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
13561 function as separate arguments.
13562 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
13563 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
13564 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
13565 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
13566 (gdb-stopped, def-gdb-auto-update-trigger)
13567 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
13568 (gdb-get-changed-registers, gdb-get-main-selected-frame):
13569 Callers changed.
13570 (gud-gdbmi-completions): New function.
13571 (gdb): Use it for generating the completion table.
13572
13573 2011-12-24 Alan Mackenzie <acm@muc.de>
13574
13575 Introduce a mechanism to widen the region used in context font
13576 locking. Use this to protect declarations from losing their contexts.
13577
13578 * progmodes/cc-langs.el (c-before-font-lock-functions):
13579 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
13580 (c-before-context-fontification-functions): New defvar, a list of
13581 functions to be run just before context (etc.) font locking.
13582
13583 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
13584 New, functionality extracted from
13585 c-neutralize-syntax-in-and-mark-CPP.
13586 (c-in-after-change-fontification): New variable.
13587 (c-after-change): Set c-in-after-change-fontification.
13588 (c-set-fl-decl-start): Rejig its interface, so it can be called
13589 from both after-change and context fontifying.
13590 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
13591 New functions.
13592 (c-standard-font-lock-fontify-region-function): New variable.
13593 (c-font-lock-fontify-region): New function.
13594
13595 2011-12-24 Juri Linkov <juri@jurta.org>
13596
13597 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
13598 (Bug#10348)
13599
13600 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
13601
13602 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
13603 existence of source file. (Bug#10325)
13604
13605 2011-12-23 Alan Mackenzie <acm@muc.de>
13606
13607 Fix unstable fontification inside templates.
13608
13609 * progmodes/cc-langs.el (c-before-font-lock-functions):
13610 Newly created from the singular version. The (c c++ objc) entry now
13611 additionally has c-set-fl-decl-start. The other languages (apart
13612 from AWK) have that as a single entry.
13613
13614 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13615 The functionality for "local" declarations has been extracted to
13616 c-set-fl-decl-start.
13617
13618 * progmodes/cc-mode.el (c-common-init, c-after-change):
13619 Changes due to pluralisation of c-before-font-lock-functions.
13620 (c-set-fl-decl-start): New function, extracted from
13621 c-font-lock-enclosing-decls and enhanced.
13622
13623 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
13624
13625 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
13626
13627 2011-12-22 Juri Linkov <juri@jurta.org>
13628
13629 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
13630
13631 2011-12-22 Chong Yidong <cyd@gnu.org>
13632
13633 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
13634
13635 2011-12-21 Drew Adams <drew.adams@oracle.com>
13636
13637 * files.el (file-remote-p): Fix docstring. (Bug#10319)
13638
13639 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
13640
13641 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
13642
13643 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
13644
13645 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
13646 highlighting and support. Fix up comments for capitalization.
13647 (cfengine-mode-debug): New var.
13648 (cfengine3-mode): Change the modeline indicator to "CFE3".
13649 (cfengine3-font-lock-keywords): Improve defun highlighting.
13650 (cfengine2-actions): Rename from `cfengine-actions'.
13651 (cfengine2-font-lock-keywords): Rename from
13652 `cfengine-font-lock-keywords'.
13653 (cfengine2-imenu-expression): Rename from
13654 `cfengine-imenu-expression'.
13655 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
13656 (cfengine2-beginning-of-defun): Rename from
13657 `cfengine-beginning-of-defun'.
13658 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
13659 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
13660 (cfengine2-mode): Rename from `cfengine-mode'. Change the
13661 modeline indicator to "CFE2".
13662 (cfengine-mode): Defalias to `cfengine-auto-mode'.
13663 (cfengine-mode-abbrevs): Mark obsolete.
13664
13665 2011-12-21 Chong Yidong <cyd@gnu.org>
13666
13667 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
13668 filename argument.
13669
13670 2011-12-20 Martin Rudalics <rudalics@gmx.at>
13671
13672 * window.el (window-normalize-buffer-to-display): Remove.
13673 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
13674
13675 2011-12-19 Chong Yidong <cyd@gnu.org>
13676
13677 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
13678 Don't signal an error in a predicate function; return non-nil.
13679 (vc-dir-mark-file): Move the error here.
13680 (vc-dir-mark-unmark): If acting on the region, keep going if one
13681 of the entries cannot be marked/unmarked.
13682 (vc-dir-mark-all-files): If current entry is a directory, mark
13683 only child files, as documented.
13684
13685 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
13686
13687 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
13688 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
13689 addition.
13690
13691 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
13692
13693 * term/ns-win.el (ns-get-selection-internal)
13694 (ns-store-selection-internal): Declare.
13695 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
13696 Declare as obsolete.
13697 (ns-get-pasteboard, ns-paste-secondary):
13698 Use ns-get-selection-internal.
13699 (ns-set-pasteboard, ns-copy-including-secondary):
13700 Use ns-store-selection-internal.
13701
13702 2011-12-17 Chong Yidong <cyd@gnu.org>
13703
13704 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
13705 (vc-deduce-fileset): Doc fix.
13706
13707 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
13708
13709 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
13710
13711 2011-12-13 Sam Steingold <sds@gnu.org>
13712
13713 * man.el (Man-getpage-in-background): When running under a
13714 window-system, ignore $MANWIDTH and $COLUMNS.
13715
13716 2011-12-15 Kenichi Handa <handa@m17n.org>
13717
13718 * language/ethio-util.el: Change coding tag to utf-8-emacs.
13719 (setup-ethiopic-environment-internal): Comment out key-binding for
13720 ethio-toggle-punctuation.
13721
13722 2011-12-13 Alan Mackenzie <acm@muc.de>
13723
13724 Add the switch statement to AWK Mode.
13725
13726 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
13727 "default" to the keywords regexp.
13728
13729 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
13730 expression as the rest.
13731 (c-nonlabel-token-key): Allow string literals for AWK.
13732 Refactor for the other modes.
13733
13734 Large brace-block initialisation makes CC Mode slow: Fix.
13735 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13736 routines. Limit backward searching in c-font-lock-enclosing.decl.
13737
13738 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
13739 pp-state and literal type in addition to the limits.
13740 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13741 (c-state-literal-at): Use the above new defun.
13742 (c-slow-in-literal, c-fast-in-literal): Remove.
13743 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13744
13745 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
13746 being in a literal. Add a limit for backward searching.
13747
13748 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
13749 c-slow-in-literal.
13750
13751 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
13752
13753 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
13754
13755 2011-12-13 Martin Rudalics <rudalics@gmx.at>
13756
13757 * window.el (delete-other-windows): Use correct frame in call to
13758 window-with-parameter.
13759
13760 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
13761
13762 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
13763 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
13764 (makefile-gmake-statements, makefile-makepp-statements):
13765 Use it and add new makepp keywords.
13766 (makefile-makepp-font-lock-keywords): Add new patterns.
13767 (makefile-match-function-end): Match new [...] and [[...]].
13768
13769 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
13770
13771 * ses.el (ses-call-printer-return, ses-cell-property-get)
13772 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
13773 (ses-create-cell-variable, ses-reset-header-string)
13774 (ses-cell-set-formula, ses-repair-cell-reference-all)
13775 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
13776 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
13777 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
13778 (ses-aset-with-undo, ses-load, ses-truncate-cell)
13779 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
13780 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
13781 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
13782 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
13783 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
13784 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
13785 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
13786 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
13787
13788 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
13789
13790 * ses.el: The overall change is to add cell renaming, that is
13791 setting fancy names for cell symbols other than name matching
13792 "\\`[A-Z]+[0-9]+\\'" regexp .
13793 (ses-create-cell-variable): New defun.
13794 (ses-relocate-formula): Relocate formulas only for cells the
13795 symbols of which are not renamed, i.e. symbols whose names do not
13796 match regexp "\\`[A-Z]+[0-9]+\\'".
13797 (ses-relocate-all): Relocate values only for cells the symbols of
13798 which are not renamed.
13799 (ses-load): Create cells variables as the (ses-cell ...) are read,
13800 in order to check row col consistency with cell symbol name only
13801 for cells that are not renamed.
13802 (ses-replace-name-in-formula): New defun.
13803 (ses-rename-cell): New defun.
13804
13805 2011-12-11 Chong Yidong <cyd@gnu.org>
13806
13807 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
13808 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
13809
13810 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
13811
13812 * window.el (other-window): Fix docstring.
13813
13814 2011-12-10 Eli Zaretskii <eliz@gnu.org>
13815
13816 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
13817 `from' or `to' address before taking its substring.
13818 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
13819 encoded name is chopped in the middle of the encoded string, and
13820 thus displayed encoded.
13821
13822 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
13823
13824 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
13825
13826 2011-12-10 Eli Zaretskii <eliz@gnu.org>
13827
13828 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
13829 to use texinfo-update-node and commands that call it if the
13830 Texinfo file uses @node lines without next/prev/up pointers.
13831 Correct outdated description about texinfo-master-menu.
13832 (texinfo-all-menus-update, texinfo-master-menu)
13833 (texinfo-update-node, texinfo-every-node-update)
13834 (texinfo-multiple-files-update): Doc fix. Warn against updating
13835 all the @node lines.
13836 (texinfo-master-menu): Only call texinfo-update-node if the prefix
13837 argument is numeric. Explain better in the doc string what the
13838 function really does.
13839 (texinfo-insert-master-menu-list): Improve the error message
13840 displayed if there's no menu in the Top node.
13841 (Bug#2975) See also this thread:
13842 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
13843
13844 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
13845
13846 * speedbar.el (speedbar-supported-extension-expressions):
13847 Add .adb and .ads, commonly used for Ada source code (bug#10256).
13848
13849 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
13850
13851 * printing.el (pr-mode-alist):
13852 * simple.el (filter-buffer-substring-functions)
13853 (completion-list-insert-choice-function):
13854 * window.el (window-with-parameter, window-atom-root)
13855 (window-sides-slots, window-size-fixed, window-min-delta)
13856 (window-max-delta, window--resize-mini-window)
13857 (window--resize-child-windows-normal, window-tree)
13858 (delete-other-windows, quit-window, split-window)
13859 (display-buffer-record-window, special-display-buffer-names)
13860 (special-display-regexps, special-display-popup-frame)
13861 (same-window-p, split-window-sensibly)
13862 (display-buffer-overriding-action, display-buffer-alist)
13863 (display-buffer-base-action, display-buffer, switch-to-buffer)
13864 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
13865 (fit-window-to-buffer, recenter-positions)
13866 (mouse-autoselect-window-state, mouse-autoselect-window-select):
13867 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
13868 and remove unneeded backslashes in docstrings.
13869
13870 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
13871
13872 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
13873
13874 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
13875 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
13876 end in ".mk".
13877 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
13878 when reading the makefile (bug#10116).
13879
13880 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
13881
13882 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
13883 (bug#10116).
13884
13885 2011-12-06 Glenn Morris <rgm@gnu.org>
13886
13887 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
13888
13889 2011-12-06 Chong Yidong <cyd@gnu.org>
13890
13891 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
13892
13893 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
13894
13895 * textmodes/table.el (table-shorten-cell): Fix typo.
13896
13897 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
13898
13899 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
13900
13901 2011-12-05 Eli Zaretskii <eliz@gnu.org>
13902
13903 * descr-text.el (describe-char): Fix display of strong
13904 right-to-left characters and directional embeddings and overrides.
13905
13906 * simple.el (what-cursor-position): Fix display of codepoints of
13907 strong right-to-left characters.
13908
13909 2011-12-05 Chong Yidong <cyd@gnu.org>
13910
13911 * faces.el (read-color): Doc fix.
13912
13913 2011-12-05 Glenn Morris <rgm@gnu.org>
13914
13915 * align.el (align--set-marker): Add doc-string.
13916 Don't try to move something that is not a marker. (Bug#10216)
13917
13918 2011-12-04 Glenn Morris <rgm@gnu.org>
13919
13920 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
13921 overly zealous deletion of trailing whitespace.
13922
13923 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
13924
13925 * server.el (server-delete-client): On Windows, do not try to delete
13926 the only terminal.
13927 (server-process-filter): On Windows, treat requests for a tty frame as
13928 if they were for a GUI frame if the running server is in GUI mode.
13929
13930 2011-12-03 Glenn Morris <rgm@gnu.org>
13931
13932 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
13933
13934 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13935
13936 * electric.el: Streamline electric-indent's hook.
13937 (electric-indent-chars): Revert to simple list.
13938 (electric-indent-functions): New var.
13939 (electric-indent-post-self-insert-function): Use it.
13940
13941 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
13942 there's no inferior buffer (bug#10196).
13943 (prolog-consult-compile): Don't use toggle-read-only.
13944
13945 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
13946
13947 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
13948 interrupt. (Bug#10187)
13949
13950 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
13951
13952 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
13953 (bug#9160).
13954
13955 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
13956 (bug#10191).
13957
13958 2011-12-02 Juri Linkov <juri@jurta.org>
13959
13960 * info.el (Info-search): Display "end of manual" when Isearch
13961 reaches the end of single-file Info manual. (Bug#9918)
13962
13963 2011-12-02 Eli Zaretskii <eliz@gnu.org>
13964
13965 * isearch.el (isearch-message-prefix): Run the input method part
13966 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
13967
13968 2011-12-02 Juri Linkov <juri@jurta.org>
13969
13970 * isearch.el (isearch-occur): Use `word-search-regexp' for
13971 `isearch-word'.
13972 (isearch-search-and-update): Add condition for `isearch-word' and
13973 call `word-search-regexp'. (Bug#10145)
13974
13975 2011-12-01 Glenn Morris <rgm@gnu.org>
13976
13977 * eshell/em-hist.el (eshell-hist-initialize):
13978 Handle eshell-history-size nil and HISTSIZE set or unset.
13979 (eshell-history-file-name, eshell-history-size): Fix custom type.
13980
13981 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
13982
13983 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
13984
13985 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
13986
13987 * progmodes/verilog-mode.el (verilog-pretty-expr):
13988 Rework verilog-pretty-expr to handle new assignment operators in system
13989 verilog, such as += *= and the like.
13990 (verilog-assignment-operator-re): Regular expression to find the
13991 assigment operator in a verilog assignment.
13992 (verilog-assignment-operation-re): Regular expression to find an
13993 assignment statement for pretty-expr.
13994 (verilog-in-attribute-p): Query returns true if point is in an
13995 attribute context; used to skip these for expression line up from
13996 pretty-expr.
13997 (verilog-in-parameter-p): Query returns true if point is in an
13998 parameter definition context; used to skip these for expression
13999 line up from pretty-expr.
14000 (verilog-in-parenthesis-p): Query returns true if point is in a
14001 parenthetical expression, specifically ( ) but not [ ] or { };
14002 used by pretty-expr.
14003 (verilog-just-one-space): If there is no space, don't add one.
14004 (verilog-get-lineup-indent-2): Specifically skip just attribute
14005 contexts for expression lineup, rather than skipping all
14006 parenthetical expressions.
14007 (verilog-calculate-indent): Fix comment, and fix indent.
14008 (verilog-do-indent): Indent declarations in lists (suggested by
14009 Joachim Lechner).
14010 (verilog-mode-abbrev-table): Populate abbrev mode with the various
14011 skeleton items.
14012 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
14013 by Alain Mellan).
14014
14015 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
14016
14017 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
14018 parameters with embedded comments. Reported by Ray Stevens.
14019 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
14020 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
14021 Reported by Tim Holt.
14022 (verilog-auto): Fix AUTOing a upper module then AUTOing module
14023 instantiated by upper module causing wrong expansion until AUTOed a
14024 second time. Reported by K C Buckenmaier.
14025 (verilog-diff-auto): Fix showing .* as a difference when
14026 `verilog-auto-star-save' off. Reported by Dan Dever.
14027 (verilog-auto-reset, verilog-read-always-signals)
14028 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
14029 temporary signals in reset list if
14030 verilog-auto-reset-blocking-in-non is nil, and match assignment
14031 style to each signal's assignment type, bug381.
14032 Reported by Thomas Esposito.
14033 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
14034 (verilog-uvm-statement-re): Support UVM indentation and
14035 highlighting, with old OVM keywords only.
14036 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
14037 Support AUTOTIEOFF creating non-wire data types.
14038 Suggested by Jonathan Greenlaw.
14039 (verilog-auto-insert-lisp, verilog-delete-to-paren)
14040 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
14041 (verilog-inject-sense, verilog-read-inst-pins)
14042 (verilog-read-sub-decls, verilog-read-sub-decls-line):
14043 Fix mismatching parenthesis inside commented out code when deleting
14044 AUTOINST, bug383. Reported by Jonathan Greenlaw.
14045 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
14046 non-numeric vector width. Reported by Alex Reed.
14047 (verilog-auto-ascii-enum): Add "onehot" option to work around not
14048 detecting signals with parameter widths. Reported by Alex Reed.
14049 (verilog-auto-delete-trailing-whitespace):
14050 With `verilog-auto-delete-trailing-whitespace' remove trailing
14051 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
14052 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
14053 Fix verilog-scan-cache corruption when running user AUTO expansion
14054 hooks that call indentation routines.
14055 (verilog-simplify-range-expression): Fix typo ignoring lower case
14056 identifiers.
14057 (verilog-delete-auto): Fix delete-autos to also remove user created
14058 automatics, as long as they start with AUTO.
14059 (verilog-batch-diff-auto, verilog-diff-auto)
14060 (verilog-diff-function): Add `verilog-diff-auto' and bind to
14061 "C-c?" to report differences in AUTO expansion, ignoring spaces.
14062 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
14063 (verilog-in-paren-quick, verilog-re-search-backward-quick)
14064 (verilog-re-search-forward-quick, verilog-syntax-ppss):
14065 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
14066 is disabled and its cache will get corrupt, causing AUTOS not to
14067 expand. Instead use only -quick functions.
14068 (verilog-scan-region): Fix scanning over escaped quotes.
14069 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
14070 (verilog-re-search-backward-quick)
14071 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
14072 related functions now ignore strings, to fix misparsing of strings
14073 with magic comments embedded in them.
14074 (verilog-read-auto-template):
14075 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
14076 Reported by Brad Dobbie.
14077 (verilog-read-auto-template):
14078 Fix 'verilog-auto-inst-template-numbers' with comments.
14079 Reported by Brad Dobbie.
14080 (verilog-auto-inst, verilog-auto-inst-param)
14081 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
14082 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
14083 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
14084 debugging templates without merge conflicts, bug357.
14085 Reported by Brad Dobbie.
14086 (verilog-read-auto-template):
14087 Fix verilog-auto-inst-template-numbers with multiple templates.
14088 Reported by Brad Dobbie.
14089 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
14090 abbrevs so user won't be asked to save.
14091 (verilog-read-auto-lisp-present): Fix to start at beginning of
14092 buffer in case called outside of verilog-auto.
14093 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
14094 to "X-2". Reported by Matthew Myers.
14095 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
14096 all inputs from module templates. Reported by Leith Johnson.
14097 (verilog-module-inside-filename-p): Fix locating programs as with
14098 modules.
14099 (verilog-auto-inst-port): Fix vl-width expressions when using
14100 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
14101 (verilog-decls-get-regs, verilog-decls-get-signals,
14102 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
14103 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
14104 verilog-read-decls): Combine reg and wire structures into one var
14105 structure to represent SystemVerilog concepts.
14106 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
14107 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
14108 (verilog-auto-wire-type, verilog-insert-definition):
14109 Add verilog-auto-wire-type and AUTOLOGIC to support using
14110 SystemVerilog "logic" keyword instead of "wire"/"reg".
14111 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
14112 to declares outputs that also have assignments (presumably in an
14113 ifdef or generate if so there's not a driver conflict).
14114 Reported by Matthew Myers.
14115 (verilog-auto-declare-nettype, verilog-insert-definition):
14116 Add verilog-auto-declare-nettype to fix declarations using
14117 `default_nettype none. Reported by Julian Gorfajn.
14118 (verilog-read-always-signals-recurse, verilog-read-decls)
14119 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
14120 malformed end statement, bug325. Reported by Joshua Wise and
14121 Andrew Drake.
14122 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
14123 (verilog-inst-comment-re): Fix not deleting Interfaced comment
14124 when expanding .* in interfaces, bug320.
14125 Reported by Pierre-David Pfister.
14126 (verilog-read-module-name): Fix import statements between module
14127 name and open parenthesis, bug317.
14128 Reported by Pierre-David Pfister.
14129 (verilog-simplify-range-expression): Fix simplification of
14130 multiplications inside AUTOWIRE connections, bug303.
14131 (verilog-auto-inst-port): Support parameter expansion in
14132 multidimensional arrays.
14133 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
14134 after "assert property". Reported by Julian Gorfajn.
14135 (verilog-simplify-range-expression): Fix "couldn't merge" errors
14136 with multiplication, bug303.
14137 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
14138 Reported by Jan Frode Lonnum.
14139
14140 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
14141
14142 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
14143 (hfy-shell-file-name, hfy-shell):
14144 * international/fontset.el (x-decompose-font-name): Fix typos.
14145
14146 2011-11-29 Ken Brown <kbrown@cornell.edu>
14147
14148 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
14149 (gdb-version): Remove defvar.
14150 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
14151 (gdb-gud-context-command, gdb-non-stop-handler)
14152 (gdb-current-context-command, gdb-stopped): Use it.
14153 (gdb-init-1): Enable pretty printing here.
14154 (gdb-non-stop-handler): Don't enable pretty-printing here.
14155 Check to see if the target supports non-stop mode; if not, turn off
14156 non-stop mode. Use the following.
14157 (gdb-check-target-async): New defun.
14158 (gud-watch, gdb-stopped): Fix whitespace.
14159 (gdb-get-source-file): Don't try to display the source file if
14160 `gdb-main-file' is nil.
14161
14162 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
14163
14164 * align.el: Try to generate fewer markers (bug#10047).
14165 (align--set-marker): New macro.
14166 (align-region): Use it.
14167
14168 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
14169
14170 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
14171
14172 2011-11-29 Chong Yidong <cyd@gnu.org>
14173
14174 * indent.el (indent-for-tab-command, indent-according-to-mode):
14175 Doc fix.
14176 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
14177
14178 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
14179
14180 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
14181 aware of remote file names. (Bug#10124)
14182
14183 2011-11-29 Chong Yidong <cyd@gnu.org>
14184
14185 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
14186
14187 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
14188
14189 * files.el (find-file): Don't use force-same-window (bug#10144).
14190 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
14191 use pop-to-buffer if the selected window can't be used.
14192 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
14193
14194 2011-11-28 Eli Zaretskii <eliz@gnu.org>
14195
14196 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
14197 special-mode-map.
14198
14199 2011-11-28 Chong Yidong <cyd@gnu.org>
14200
14201 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
14202
14203 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
14204
14205 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
14206 gdb-get-source-file-list on gdb-create-source-file-list.
14207
14208 2011-11-26 Eli Zaretskii <eliz@gnu.org>
14209
14210 * whitespace.el (whitespace-newline): Use a different foreground
14211 color for 16-color light-background displays.
14212
14213 2011-11-24 Chong Yidong <cyd@gnu.org>
14214
14215 * window.el (display-buffer--special-action): Doc fix.
14216
14217 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
14218
14219 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
14220 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
14221 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
14222 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
14223 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
14224 (avl-tree-stack-first):
14225 * emacs-lisp/cconv.el (cconv--analyse-use):
14226 * net/gnutls.el (gnutls-negotiate): Fix typos.
14227
14228 2011-11-24 Glenn Morris <rgm@gnu.org>
14229
14230 * lpr.el (lpr-windows-system, lpr-lp-system):
14231 * mail/binhex.el (binhex-begin-line):
14232 * progmodes/grep.el (grep-history, grep-find-history):
14233 * textmodes/flyspell.el:
14234 * vc/pcvs-defs.el (cvs-global-menu):
14235 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
14236 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
14237 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
14238
14239 * net/tls.el: Fix case of "GnuTLS".
14240
14241 * paths.el (rmail-file-name): Format doc-string for make-docfile.
14242
14243 * version.el (emacs-build-system): Give it a doc-string.
14244
14245 2011-11-24 Juri Linkov <juri@jurta.org>
14246
14247 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
14248
14249 2011-11-24 Glenn Morris <rgm@gnu.org>
14250
14251 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
14252 if called on a non-mime message just toggle the headers. (Bug#8006)
14253
14254 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
14255
14256 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
14257 (allout-lead-with-comment-string, allout-structure-deleted-hook)
14258 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
14259 (allout-rebullet-heading, allout-open-sibtopic)
14260 (allout-toggle-current-subtree-encryption)
14261 (allout-toggle-subtree-encryption, allout-encrypt-string)
14262 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
14263 (allout-distinctive-bullets-string, allout-auto-activation):
14264 * window.el (window-normalize-buffer-to-display):
14265 * progmodes/verilog-mode.el (verilog-batch-indent):
14266 * textmodes/bibtex.el (bibtex-field-braces-opt)
14267 (bibtex-field-strings-opt):
14268 * vc/cvs-status.el (cvs-tree-merge):
14269 Fix typos.
14270
14271 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
14272
14273 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
14274 `non-essential' to t, in order to avoid remote connections.
14275
14276 2011-11-23 Eli Zaretskii <eliz@gnu.org>
14277
14278 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
14279 On MS-DOS and MS-Windows, compare with loaddefs.el
14280 case-insensitively.
14281
14282 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
14283
14284 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
14285
14286 2011-11-23 Glenn Morris <rgm@gnu.org>
14287
14288 * paths.el (rmail-file-name): Reformat the doc-string so that it
14289 is picked up.
14290
14291 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
14292 (rmail-auto-file): Ignore case in the "special" field names,
14293 as mail-fetch-field does for all others.
14294
14295 * mail/rmail.el (rmail-forward):
14296 * mail/rmailkwd.el (rmail-set-label):
14297 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
14298 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
14299
14300 * mail/rmail.el (rmail-current-message): Doc fix.
14301
14302 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
14303
14304 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
14305
14306 * server.el (server-eval-and-print): Allow C-g (bug#6585).
14307
14308 2011-11-22 Glenn Morris <rgm@gnu.org>
14309
14310 * mail/rmailmm.el (test-rmail-mime-handler)
14311 (test-rmail-mime-bulk-handler)
14312 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
14313
14314 2011-11-21 Juri Linkov <juri@jurta.org>
14315
14316 * calc/calc.el (calc-read-key-sequence):
14317 Let-bind `input-method-function' to nil. (Bug#10018)
14318
14319 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14320
14321 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
14322 Tell the caller that the next line needs recomputation, even
14323 though it doesn't start a sexp (bug#10094).
14324
14325 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
14326
14327 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
14328
14329 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
14330
14331 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
14332 Use force-same-window.
14333
14334 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
14335
14336 * descr-text.el (describe-char-unicode-data):
14337 * json.el (json-string-escape):
14338 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
14339 (Footnote-unicode, Footnote-style-p):
14340 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
14341
14342 2011-11-20 Chong Yidong <cyd@gnu.org>
14343
14344 * window.el (replace-buffer-in-windows): Restore interactive spec.
14345
14346 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
14347
14348 * electric.el (electric-indent-mode): Fix last change (too optimistic).
14349
14350 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
14351 (byte-compile-global-not-obsolete-vars): New var.
14352 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
14353 Use it.
14354 (byte-compile-warn-obsolete): Align text with the one in *Help*.
14355
14356 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
14357
14358 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
14359 * progmodes/pascal.el (electric-pascal-equal):
14360 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
14361 * xml.el (xml-substitute-special): Fix typos.
14362
14363 2011-11-20 Glenn Morris <rgm@gnu.org>
14364
14365 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
14366 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
14367 Doc fixes.
14368 (rmail-decode-mime-charset): Mark as obsolete.
14369
14370 * mail/rmailsum.el (rmail-message-regexp-p-1):
14371 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
14372 Before using mime functions, check they are set. (Bug#10077)
14373
14374 2011-11-19 Juri Linkov <juri@jurta.org>
14375
14376 * info.el (Info-finder-find-node): Use `package--builtins' instead
14377 of `package-alist'. Use node names formed by the pattern "Keyword "
14378 and the keyword name.
14379
14380 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
14381
14382 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
14383
14384 2011-11-19 Juri Linkov <juri@jurta.org>
14385
14386 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
14387 that calls `revert-buffer' on all Info buffers. (Bug#9915)
14388 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
14389 `old-history', `old-history-forward'. Add let-binding
14390 `window-selected'. Remove calls to `kill-buffer',
14391 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
14392 before calling `Info-find-node', so `Info-find-node-2' will reread
14393 the Info file. Restore window positions only when `window-selected'
14394 is non-nil.
14395
14396 2011-11-19 Juri Linkov <juri@jurta.org>
14397
14398 * isearch.el (isearch-lazy-highlight-new-loop):
14399 Remove condition `(not isearch-error)'. (Bug#9918)
14400
14401 * misearch.el (multi-isearch-search-fun): Add condition
14402 `(not bound)' to ignore lazy-highlighting search.
14403 Add the search-failed message "end of multi" when the end of
14404 multi-sequence is reached. Uncapitalize the search-failed
14405 message "Repeat for next buffer".
14406
14407 * info.el (Info-search): Add the search-failed message
14408 "end of the manual" when the end of the manual is reached
14409 in Isearch mode.
14410
14411 2011-11-19 Juri Linkov <juri@jurta.org>
14412
14413 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
14414 Use non-destructive `remove' instead of `delete' because
14415 `Info-history-list' stored to `Info-isearch-initial-history-list' in
14416 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
14417
14418 2011-11-19 Juri Linkov <juri@jurta.org>
14419
14420 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
14421 to nil instead of binding `search-ring' and `regexp-search-ring'.
14422 (Bug#9185)
14423
14424 2011-11-19 Eli Zaretskii <eliz@gnu.org>
14425
14426 * simple.el (line-move): Force movement by logical lines for any
14427 hscrolled window, not only when auto-hscroll-mode is on.
14428 (line-move-visual): Update doc string to that effect. (Bug#10076)
14429
14430 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
14431
14432 * language/european.el (macintosh): Define as alias for mac-roman.
14433
14434 2011-11-19 Eli Zaretskii <eliz@gnu.org>
14435
14436 * mail/rmailmm.el (rmail-mime-display-header)
14437 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
14438 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
14439 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
14440 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
14441 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
14442 of a raw aref.
14443 (rmail-mime-entity-segment): To get past the tagline, move forward
14444 2 more lines, to account for the 2 empty lines that precede and
14445 follow the line with the buttons.
14446 (rmail-mime-update-tagline): Move one more line, to get past the
14447 empty line that follows the buttons in the tagline. (Bug#9520)
14448
14449 2011-11-19 Martin Rudalics <rudalics@gmx.at>
14450
14451 * window.el (window-max-delta-1, window-min-delta-1)
14452 (window-min-size-1, window-state-get-1, window-state-put-1)
14453 (window-state-put-2): Use "window--" prefix.
14454
14455 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
14456
14457 * emacs-lisp/smie.el: Improve warnings and conflict detection.
14458 (smie-warning-count): New var.
14459 (smie-set-prec2tab): Use it.
14460 (smie-bnf->prec2): Improve warnings. Add docstring.
14461 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
14462 (smie-bnf--set-class): New function.
14463 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
14464 corner case.
14465
14466 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
14467 (compilation-error-properties, compilation-move-to-column):
14468 Handle compilation-first-column while in the target buffer.
14469
14470 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
14471 Don't hardcode point-min==1.
14472
14473 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
14474 (eshell-rewrite-for-command): Remove workaround.
14475 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
14476 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
14477 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
14478
14479 * files-x.el (modify-file-local-variable): Obey commenting conventions.
14480
14481 2011-11-17 Glenn Morris <rgm@gnu.org>
14482
14483 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
14484 Ignore buffer-local generated-autoload-file if it is the same
14485 as the global value. (Bug#10049)
14486
14487 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
14488
14489 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
14490 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
14491 (reftex-toc-previous-heading, reftex-toc-max-level)
14492 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
14493 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
14494 (reftex-toc-do-promote, reftex-toc-promote-prepare)
14495 (reftex-toc-promote-action, reftex-toc-extract-section-number)
14496 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
14497 (reftex-toc-rename-label, reftex-toc-visit-location)
14498 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
14499 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
14500 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
14501 leaving "*toc*" only for references to the buffer.
14502
14503 2011-11-17 Martin Rudalics <rudalics@gmx.at>
14504
14505 * window.el (window-resize, delete-window, split-window):
14506 Replace window-splits by window-combination-resize.
14507 * cus-start.el (window-splits): Replace by window-combination-resize.
14508
14509 2011-11-17 Glenn Morris <rgm@gnu.org>
14510
14511 * progmodes/sh-script.el (sh-font-lock-keywords-var):
14512 Make bash entry derive from sh entry, not shell entry.
14513
14514 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
14515
14516 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
14517 local file name.
14518
14519 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
14520
14521 * menu-bar.el (menu-bar-file-menu):
14522 * printing.el (pr-ps-utility):
14523 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
14524 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
14525 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
14526 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
14527 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
14528 (icalendar--convert-cyclic-to-ical)
14529 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
14530 (icalendar--convert-ical-to-diary)
14531 (icalendar--convert-recurring-to-diary)
14532 (icalendar--convert-non-recurring-all-day-to-diary)
14533 (icalendar-import-format-sample):
14534 * progmodes/idlw-shell.el (idlwave-shell-mode):
14535 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
14536 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
14537 (vhdl-ps-print-init): Fix typos.
14538
14539 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
14540
14541 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
14542 FSF and collapse date sequence, obscure author/maintainer email address
14543 better, remove extra version line, track relocation of author's webpage.
14544
14545 * progmodes/python.el (python-pdbtrack-input-prompt)
14546 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
14547 regular python pdb prompts. Adjustments shamelessly taken exactly as
14548 suggested in EmacsWiki page (tiny change):
14549 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
14550
14551 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
14552
14553 * expand.el (expand-pos, expand-index, expand-point):
14554 Remove redundant info from docstring.
14555 (expand-add-abbrevs): Doc fix.
14556 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
14557 (expand-sample-perl-mode-expand-list): Fix typos.
14558
14559 * net/dbus.el (dbus-event-member-name):
14560 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
14561 * term/pc-win.el (msdos-create-frame-with-faces):
14562 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
14563
14564 2011-11-16 Martin Rudalics <rudalics@gmx.at>
14565
14566 * window.el (split-window, window-state-get-1)
14567 (window-state-put-1, window-state-put-2): Rename occurrences of
14568 window-nest to window-combination-limit.
14569 * cus-start.el (window-nest): Rename to window-combination-limit.
14570
14571 2011-11-16 Chong Yidong <cyd@gnu.org>
14572
14573 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
14574 regexp (Bug#10033).
14575
14576 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
14577
14578 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
14579 `completing-read' will remove *Completions* and will preserve
14580 current-buffer for us.
14581 (tmm-add-prompt): Users of *Completions* will always (re)set its
14582 major mode.
14583 (tmm-old-comp-map): Remove.
14584
14585 2011-11-16 Glenn Morris <rgm@gnu.org>
14586
14587 * mail/rmailedit.el: Require rmailmm when compiling.
14588 (rmail-old-mime-state): New declaration.
14589 (rmail-edit-current-message): If editing a mime message,
14590 edit the "raw" message from the mbox buffer.
14591 (rmail-cease-edit): Handle mime messages. (Bug#9840)
14592
14593 2011-11-15 Glenn Morris <rgm@gnu.org>
14594
14595 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
14596 which wasn't being used. Add optional arg to force given state.
14597 (rmail-mime): Add optional arg to force given state.
14598
14599 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
14600
14601 * allout.el (allout-encryption-plaintext-sanitization-regexps):
14602 * frame.el (display-mm-dimensions-alist):
14603 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
14604 (outline-move-subtree-down):
14605 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
14606 (newsticker--treeview-do-get-node):
14607 * net/quickurl.el (quickurl-list-buffer-name):
14608 * progmodes/dcl-mode.el (dcl-mode):
14609 * progmodes/gdb-mi.el (gdb-mapcar*):
14610 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
14611
14612 2011-11-15 Glenn Morris <rgm@gnu.org>
14613
14614 * mail/rmail.el (rmail-file-coding-system): It's only ever used
14615 in a boolean sense, so just make it a boolean, and fix the doc.
14616 (rmail-show-mime-function, rmail-mime-feature)
14617 (rmail-require-mime-maybe): Doc fixes.
14618 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
14619
14620 * mail/rmailmm.el (rmail-show-mime): Doc fix.
14621
14622 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
14623
14624 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
14625 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
14626 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
14627 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
14628
14629 2011-11-15 Glenn Morris <rgm@gnu.org>
14630
14631 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
14632 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
14633 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
14634 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
14635 (rmail-mime, rmail-show-mime): Doc fixes.
14636
14637 * term/ns-win.el (mode-line-frame-identification):
14638 Leave it alone. (Bug#10051)
14639
14640 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
14641
14642 * mail/rmailout.el (rmail-output-to-rmail-buffer):
14643 Handle empty buffers. (Bug#9978)
14644
14645 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
14646
14647 * international/mule.el (define-charset):
14648 * mail/rmailmm.el (rmail-mime-find-header-encoding):
14649 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
14650 * progmodes/verilog-mode.el (verilog-backward-token):
14651 * textmodes/ispell.el (lookup-words):
14652 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
14653
14654 2011-11-14 Glenn Morris <rgm@gnu.org>
14655
14656 * progmodes/executable.el
14657 (executable-make-buffer-file-executable-if-script-p):
14658 Handle file-modes returning nil.
14659
14660 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
14661 message - not necessary, and causes problems. (Bug#9831)
14662
14663 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
14664
14665 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
14666
14667 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
14668 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
14669 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
14670
14671 2011-11-12 Martin Rudalics <rudalics@gmx.at>
14672
14673 * window.el (window-resize, delete-window): Use window-splits
14674 variable instead of function.
14675 (window-state-get-1, window-state-put-2, window-state-put):
14676 Don't deal with windows' splits status.
14677
14678 2011-11-12 Glenn Morris <rgm@gnu.org>
14679
14680 * apropos.el (apropos-do-all, apropos-library, apropos-value)
14681 (apropos-documentation): Doc fixes.
14682
14683 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
14684
14685 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
14686 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
14687
14688 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
14689
14690 * electric.el (electric-indent-post-self-insert-function): Make it
14691 possible for a char to only indent in some circumstances.
14692 (electric-indent-mode): Simplify.
14693
14694 2011-11-11 Martin Rudalics <rudalics@gmx.at>
14695
14696 * window.el (windows-with-parameter): Remove unused function.
14697 (windows-at-side): Rename to window-at-side-list.
14698 (window-check, window-atom-check, window-atom-check-1)
14699 (window-side-check, window-size-ignore, window-size-fixed-1)
14700 (window-in-direction-2): Prefix with "window--".
14701 (window-tree-1): Rename to window--subtree, fix doc-string.
14702
14703 2011-11-11 Glenn Morris <rgm@gnu.org>
14704
14705 * subr.el (eval-after-load): If FILE is already loaded,
14706 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
14707
14708 2011-11-10 Glenn Morris <rgm@gnu.org>
14709
14710 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
14711 Call svn via vc-svn-command rather than vc-do-command.
14712 (vc-svn-command): Add --non-interactive. (Bug#9993)
14713 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
14714
14715 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14716 Add toggle-read-only. (Bug#7292)
14717 * files.el (toggle-read-only): Mention that it should only
14718 be used interactively. (Bug#10006)
14719
14720 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
14721
14722 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14723 Adjust regexp for OCaml warnings.
14724
14725 * electric.el (electric-pair-post-self-insert-function): Let user
14726 turn it off buffer-locally (bug#9932).
14727
14728 * progmodes/python.el (python-beginning-of-statement):
14729 Rewrite (bug#2703).
14730
14731 * progmodes/compile.el: Better handle TABs (bug#9749).
14732 (compilation-internal-error-properties)
14733 (compilation-next-error-function): Obey the target buffer's
14734 compilation-error-screen-columns.
14735
14736 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
14737
14738 * progmodes/meta-mode.el: Remove obsolete comments.
14739 (meta-right-comment-regexp, meta-ignore-comment-regexp):
14740 Fix typos in docstrings.
14741
14742 2011-11-09 Martin Rudalics <rudalics@gmx.at>
14743
14744 * window.el (window-size-fixed-p): Rewrite doc-string.
14745 (window-resizable-p): Rename to window--resizable-p. Update callers.
14746 (window--resizable): New function. Make all callers of
14747 window-resizable call window--resizable instead.
14748 (window-resizable): Rewrite in terms of window--resizable.
14749
14750 2011-11-08 Glenn Morris <rgm@gnu.org>
14751
14752 * progmodes/delphi.el (delphi-mode-syntax-table):
14753 Let define-derived-mode define a proper syntax table. (Bug#9994)
14754
14755 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
14756
14757 * window.el: Stay away from defsubst.
14758 (window-list-no-nils): Remove.
14759 (window-state-get-1, window-state-get): Use backquote instead.
14760
14761 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14762
14763 * emacs-lisp/find-func.el (find-function-read):
14764 Fix incorrect use of default argument in `completing-read'.
14765
14766 2011-11-08 Martin Rudalics <rudalics@gmx.at>
14767
14768 * window.el (display-buffer-function, special-display-function):
14769 Mention display-buffer-record-window but do not mention
14770 help-setup parameter in doc-strings.
14771 (window-min-delta): Fix doc-string typo.
14772
14773 2011-11-08 Chong Yidong <cyd@gnu.org>
14774
14775 * window.el (window-total-height, window-total-width): Doc fix.
14776 (window-body-size): Move from C.
14777 (window-body-height, window-body-width): Move to C.
14778
14779 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
14780
14781 * window.el: Make special-display like display-buffer-alist (bug#9532).
14782 (display-buffer--special-action): New function, morphed
14783 from display-buffer--special.
14784 (display-buffer): Use it to handle special-display-buffers at higher
14785 priority (just after display-buffer-alist).
14786 (display-buffer-fallback-action, display-buffer--other-frame-action)
14787 (pop-to-buffer-same-window): Remove display-buffer--special.
14788
14789 2011-11-07 Glenn Morris <rgm@gnu.org>
14790
14791 * calendar/cal-menu.el (cal-menu-set-date-title):
14792 Do nothing if not in a calendar. (Bug#9976)
14793
14794 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
14795
14796 * files.el (find-file): Always use selected-window.
14797
14798 2011-11-07 Martin Rudalics <rudalics@gmx.at>
14799
14800 * window.el (window-combinations): Make WINDOW argument
14801 mandatory. Rewrite doc-string.
14802 (walk-window-subtree, window-atom-check, window-min-delta)
14803 (window-max-delta, window--resize-this-window)
14804 (window--resize-root-window-vertically, window-tree)
14805 (balance-windows, window-state-put): Rewrite doc-strings as to
14806 not mention the term "subwindow".
14807 (window--resize-subwindows-skip-p): Rename to
14808 window--resize-child-windows-skip-p.
14809 (window--resize-subwindows-normal): Rename to
14810 window--resize-child-windows-normal.
14811 (window--resize-subwindows): Rename to
14812 window--resize-child-windows.
14813 (window-or-subwindow-p): Rename to window--in-subtree-p.
14814
14815 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
14816
14817 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
14818 Ensure that mbox format messages end in two newlines (Bug#9974).
14819
14820 2011-11-06 Chong Yidong <cyd@gnu.org>
14821
14822 * window.el (window-combination-p): Function deleted; its
14823 side-effect is not used in any existing code.
14824 (window-combinations, window-combined-p): Call window-*-child
14825 directly.
14826
14827 2011-11-05 Chong Yidong <cyd@gnu.org>
14828
14829 * window.el (window-valid-p): Rename from window-any-p.
14830 (window-size-ignore, window-state-get): Callers changed.
14831 (window-normalize-window): Rename from window-normalize-any-window.
14832 New arg LIVE-ONLY, replacing window-normalize-live-window.
14833 (window-normalize-live-window): Delete.
14834 (window-combination-p, window-combined-p, window-combinations)
14835 (walk-window-subtree, window-atom-root, window-min-size)
14836 (window-sizable, window-sizable-p, window-size-fixed-p)
14837 (window-min-delta, window-max-delta, window-resizable)
14838 (window-resizable-p, window-full-height-p, window-full-width-p)
14839 (window-current-scroll-bars, window-point-1, set-window-point-1)
14840 (window-at-side-p, window-in-direction, window-resize)
14841 (adjust-window-trailing-edge, maximize-window, minimize-window)
14842 (window-deletable-p, delete-window, delete-other-windows)
14843 (record-window-buffer, unrecord-window-buffer)
14844 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
14845 (quit-window, split-window, window-state-put)
14846 (set-window-text-height, fit-window-to-buffer)
14847 (shrink-window-if-larger-than-buffer): Callers changed.
14848
14849 2011-11-04 Eli Zaretskii <eliz@gnu.org>
14850
14851 * mail/rmail.el (rmail-simplified-subject): Decode subject with
14852 rfc2047-decode-string.
14853 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
14854 warnings.
14855
14856 * window.el (window-body-height, window-body-width): Mention in
14857 the doc string that the return values are in frame's canonical
14858 units. (Bug#9949)
14859
14860 2011-11-03 Alan Mackenzie <acm@muc.de>
14861
14862 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
14863 change in cc-engine.el.
14864
14865 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
14866
14867 * window.el (switch-to-buffer): Use `force-same-window' interactively.
14868
14869 2011-11-02 Martin Rudalics <rudalics@gmx.at>
14870
14871 * window.el (quit-window): Call unrecord-window-buffer after
14872 showing another buffer in the window. (Bug#9937)
14873 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
14874
14875 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
14876
14877 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
14878 Accept status with more than 9 shelves. (Bug#9935)
14879 Reported by Colin D Bennett <colin@gibibit.com>.
14880
14881 2011-11-01 Martin Rudalics <rudalics@gmx.at>
14882
14883 * help.el (with-help-window): Don't reference
14884 temp-buffer-show-specifiers in doc-string.
14885
14886 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
14887
14888 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
14889 menu-item.
14890
14891 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14892
14893 * whitespace.el: New version 13.2.2.
14894 (whitespace-newline-mode): Disable properly. Reported by Sarah
14895 <EmacsWiki>.
14896
14897 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
14898
14899 * net/newst-treeview.el: Remove "Time-stamp".
14900 (newsticker--group-manage-orphan-feeds): Do not call
14901 newsticker--treeview-tree-update.
14902 (newsticker-treeview-update, newsticker-treeview):
14903 Call newsticker--treeview-tree-update if necessary.
14904
14905 2011-10-30 Martin Rudalics <rudalics@gmx.at>
14906
14907 * window.el (window-iso-combination-p, window-iso-combined-p)
14908 (window-iso-combinations): Remove "iso-" infix.
14909 Suggested by Chong Yidong.
14910 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
14911 (window-max-delta-1, window-resize, window--resize-siblings)
14912 (window--resize-this-window, adjust-window-trailing-edge)
14913 (split-window, balance-windows-1)
14914 (shrink-window-if-larger-than-buffer):
14915 * calendar/calendar.el (calendar-generate-window):
14916 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
14917
14918 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
14919
14920 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
14921 in place (bug#9907).
14922 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
14923 (eshell-rewrite-if-command, eshell-rewrite-for-command)
14924 (eshell-structure-basic-command, eshell-rewrite-while-command)
14925 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
14926 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
14927 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
14928 (eshell-do-pipelines-synchronously, eshell-eval-command):
14929 Use backquotes and prefer setq to set.
14930 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
14931 (eshell-macrop): Use functionp.
14932 (eshell-do-eval): Handle multiple expressions in `while' body.
14933
14934 2011-10-30 Chong Yidong <cyd@gnu.org>
14935
14936 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
14937 instead of set-mark (Bug#9810).
14938
14939 2011-10-30 Chong Yidong <cyd@gnu.org>
14940
14941 * window.el (split-window-below, split-window-right): Rename from
14942 split-window-above-each-other and split-window-side-by-side
14943 respectively. All callers changed.
14944 (split-window-sensibly, split-window-sensibly): Use them.
14945 (split-window-keep-point): Doc fix.
14946
14947 * isearch.el: Add isearch-scroll property to split-window-below
14948 and split-window-right.
14949
14950 * follow.el (follow-mode):
14951 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
14952 * progmodes/ada-xref.el (ada-gdb-application):
14953 * emulation/vip.el (vip-buffer-in-two-windows):
14954 * image-dired.el (image-dired-dired-with-window-configuration):
14955 * dired-x.el (dired-do-find-marked-files):
14956 * dired.el (dired-pop-to-buffer):
14957 * bs.el (bs--show-with-configuration):
14958 * vc/emerge.el (emerge-setup-windows):
14959 * textmodes/two-column.el (2C-two-columns):
14960 * textmodes/reftex-toc.el (reftex-toc):
14961 * progmodes/gdb-mi.el (gdb-setup-windows):
14962 * progmodes/fortran.el (fortran-window-create):
14963 * net/newst-treeview.el (newsticker--treeview-window-init):
14964 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
14965 * emulation/tpu-edt.el (tpu-gold-map):
14966 * emulation/crisp.el (crisp-mode-map):
14967 * calendar/calendar.el (calendar-basic-setup): Callers changed.
14968
14969 2011-10-29 Chong Yidong <cyd@gnu.org>
14970
14971 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
14972
14973 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
14974
14975 * textmodes/flyspell.el (flyspell-word): Fix char offset for
14976 forged Ispell output (Bug#7904).
14977
14978 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
14979
14980 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14981
14982 * doc-view.el: Avoid ugly errors about not finding nil.
14983 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
14984 (doc-view-dvipdf-program, doc-view-unoconv-program)
14985 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
14986 Avoid nil or absolute file name as default value.
14987 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
14988
14989 2011-10-28 Alan Mackenzie <acm@muc.de>
14990
14991 * progmodes/cc-defs.el (c-version): -> 5.32.2.
14992
14993 2011-10-28 Alan Mackenzie <acm@muc.de>
14994
14995 Amend the handling of c-beginning/end-of-defun in nested declaration
14996 scopes.
14997
14998 * progmodes/cc-vars.el (c-defun-tactic): Move here from
14999 cc-langs.el. Change it to a defcustom.
15000
15001 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
15002 cc-vars.el.
15003
15004 * progmodes/cc-engine.el (c-beginning-of-statement-1):
15005 Prevent "class foo : bar" being spuriously recognized as a label.
15006
15007 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
15008 Add parameter `inclusive' (to include enclosing braces in the region).
15009 (c-widen-to-enclosing-decl-scope): New function.
15010 (c-while-widening-to-decl-block): New macro.
15011 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
15012 outward for defun boundaries, and correspondingly change symbol
15013 `respect-enclosure' to `go-outward'.
15014 (c-declaration-limits): Change algorithm to report only the "innermost"
15015 defun's boundaries.
15016
15017 2011-10-28 Deniz Dogan <deniz@dogan.se>
15018
15019 * net/rcirc.el (rcirc-mode): Use hard newlines.
15020
15021 2011-10-28 Alan Mackenzie <acm@muc.de>
15022
15023 Amend to indent and fontify macros "which include their own semicolon"
15024 correctly, using the "virtual semicolon" mechanism.
15025
15026 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
15027
15028 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
15029 Recode to scan one line at a time rather than having \n and \r
15030 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
15031 (c-forward-label): Amend for virtual semicolons.
15032 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
15033
15034 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
15035 of the new C macros.
15036
15037 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
15038 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
15039 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
15040 (c-opt-cpp-macro-define): Make into a full language variable.
15041 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
15042 AWK Mode (including \n, \r) removed, no longer needed.
15043
15044 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
15045 Invoke c-make-macro-with-semi-re.
15046
15047 * progmodes/cc-vars.el (c-macro-with-semi-re):
15048 (c-macro-names-with-semicolon): New variables.
15049 (c-make-macro-with-semi-re): New function.
15050
15051 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
15052
15053 * vc/log-edit.el: Fill empty field rather than adding new one.
15054 (log-edit-add-field): New function.
15055 (log-edit-insert-changelog): Use it.
15056
15057 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
15058
15059 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
15060
15061 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
15062
15063 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
15064 (gdb--check-interpreter): New function.
15065 (gdb): Use it.
15066
15067 2011-10-27 Glenn Morris <rgm@gnu.org>
15068
15069 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
15070 (least-positive-float, least-negative-float)
15071 (least-positive-normalized-float, least-negative-normalized-float)
15072 (float-epsilon, float-negative-epsilon):
15073 Remove unnecessary declarations.
15074
15075 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
15076 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
15077 (least-positive-float, least-negative-float)
15078 (least-positive-normalized-float, least-negative-normalized-float)
15079 (float-epsilon, float-negative-epsilon): Add doc-strings,
15080 based on those in cl.texi.
15081
15082 * files.el (set-visited-file-name): If the major-mode changed,
15083 reload the local variables. (Bug#9796)
15084
15085 2011-10-27 Chong Yidong <cyd@gnu.org>
15086
15087 * subr.el (change-major-mode-after-body-hook): New hook.
15088 (run-mode-hooks): Run it.
15089
15090 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
15091 Use change-major-mode-before-body-hook.
15092
15093 * simple.el (fundamental-mode):
15094 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
15095 change introducing fundamental-mode-hook.
15096
15097 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
15098
15099 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
15100
15101 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
15102
15103 * ido.el (ido-file-name-all-completions-1): Do not require
15104 tramp.el explicitly. (Bug#7583)
15105
15106 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
15107
15108 * progmodes/octave-mod.el:
15109 * progmodes/octave-inf.el: Update maintainer.
15110
15111 2011-10-26 Chong Yidong <cyd@gnu.org>
15112
15113 * subr.el (with-wrapper-hook): Rewrite doc.
15114
15115 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
15116
15117 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
15118 filenames "/method:foo:". (Bug#9793)
15119
15120 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
15121
15122 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
15123 (bug#9865).
15124
15125 2011-10-24 Glenn Morris <rgm@gnu.org>
15126
15127 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
15128
15129 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
15130
15131 * notifications.el: Add the requirement of a running D-Bus session
15132 bus to the Commentary.
15133
15134 2011-10-24 Juri Linkov <juri@jurta.org>
15135
15136 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
15137 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
15138 (Bug#9364)
15139
15140 2011-10-24 Juri Linkov <juri@jurta.org>
15141
15142 * info.el (Info-following-node-name-re): Add newline to the list
15143 of allowed characters for leading space. (Bug#9824)
15144
15145 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
15146
15147 * progmodes/octave-inf.el (inferior-octave-mode-map):
15148 Fix C-c C-h binding.
15149 * progmodes/octave-mod.el (octave-help): Remove.
15150
15151 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
15152
15153 Sync with Tramp 2.2.3.
15154
15155 * net/tramp-cache.el (top): Pacify byte-compiler using
15156 `init-file-user' and `site-run-file'.
15157
15158 * net/trampver.el: Update release number.
15159
15160 2011-10-23 Chong Yidong <cyd@gnu.org>
15161
15162 * files.el (toggle-read-only): Remove obsolete comment about
15163 version control.
15164
15165 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
15166 for toggle-read-only. Note that this hasn't called vc-next-action
15167 since 2008-05-02, though it wasn't documented at the time.
15168
15169 * vc/ediff-init.el (ediff-toggle-read-only-function):
15170 Use toggle-read-only.
15171
15172 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
15173
15174 Fix bug #9560, sporadic wrong indentation; improve instrumentation
15175 of c-parse-state.
15176
15177 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
15178 correct faulty logical expression.
15179 (c-parse-state-state, c-record-parse-state-state):
15180 (c-replay-parse-state-state): New defvar/defuns.
15181 (c-debug-parse-state): Use new functions.
15182
15183 2011-10-22 Martin Rudalics <rudalics@gmx.at>
15184
15185 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
15186 last fix. Use window-in-direction correctly.
15187
15188 2011-10-21 Chong Yidong <cyd@gnu.org>
15189
15190 * progmodes/idlwave.el (idlwave-mode):
15191 * progmodes/vera-mode.el (vera-mode): No need to set
15192 require-final-newline; that's done in prog-mode.
15193 Suggested by Stefan Monnier.
15194
15195 2011-10-21 Martin Rudalics <rudalics@gmx.at>
15196
15197 * mouse.el (mouse-drag-window-above)
15198 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
15199 (mouse-drag-mode-line-1, mouse-drag-header-line)
15200 (mouse-drag-vertical-line-rightward-window): Remove.
15201 (mouse-drag-line): New function.
15202 (mouse-drag-mode-line, mouse-drag-header-line)
15203 (mouse-drag-vertical-line): Call mouse-drag-line.
15204 * window.el (window-at-side-p, windows-at-side): New functions.
15205
15206 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
15207
15208 * tar-mode.el (tar-grind-file-mode):
15209 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
15210
15211 2011-10-21 Chong Yidong <cyd@gnu.org>
15212
15213 * progmodes/idlwave.el (idlwave-mode):
15214 * progmodes/vera-mode.el (vera-mode):
15215 Use mode-require-final-newline.
15216
15217 2011-10-20 Glenn Morris <rgm@gnu.org>
15218
15219 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
15220
15221 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
15222
15223 * emulation/cua-base.el (cua-set-mark): Fix case of string.
15224
15225 2011-10-20 Chong Yidong <cyd@gnu.org>
15226
15227 * emulation/cua-base.el (cua-mode):
15228 * mail/footnote.el (footnote-mode):
15229 * mail/mailabbrev.el (mail-abbrevs-mode):
15230 * net/xesam.el (xesam-minor-mode):
15231 * progmodes/bug-reference.el (bug-reference-mode):
15232 * progmodes/cap-words.el (capitalized-words-mode):
15233 * progmodes/compile.el (compilation-minor-mode)
15234 (compilation-shell-minor-mode):
15235 * progmodes/gud.el (gud-tooltip-mode):
15236 * progmodes/hideif.el (hide-ifdef-mode):
15237 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
15238 * progmodes/subword.el (subword-mode):
15239 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
15240 * progmodes/which-func.el (which-function-mode):
15241 * term/tvi970.el (tvi970-set-keypad-mode):
15242 * term/vt100.el (vt100-wide-mode):
15243 * textmodes/flyspell.el (flyspell-mode):
15244 * textmodes/ispell.el (ispell-minor-mode):
15245 * textmodes/nroff-mode.el (nroff-electric-mode):
15246 * textmodes/paragraphs.el (use-hard-newlines):
15247 * textmodes/refill.el (refill-mode):
15248 * textmodes/reftex.el (reftex-mode):
15249 * textmodes/rst.el (rst-minor-mode):
15250 * textmodes/sgml-mode.el (html-autoview-mode)
15251 (sgml-electric-tag-pair-mode):
15252 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
15253 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
15254 * emulation/crisp.el (crisp-mode):
15255 * emacs-lisp/eldoc.el (eldoc-mode):
15256 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
15257 minor mode behavior.
15258
15259 2011-10-19 Juri Linkov <juri@jurta.org>
15260
15261 * descr-text.el (describe-char): Add #x2010 and #x2011 to
15262 the list of hard-coded chars with escape-glyph face.
15263
15264 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
15265
15266 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
15267
15268 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
15269
15270 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
15271 running process.
15272
15273 2011-10-19 Glenn Morris <rgm@gnu.org>
15274
15275 * vc/vc-bzr.el (vc-bzr-after-dir-status):
15276 Ignore ignored files. (Bug#9726)
15277
15278 2011-10-19 Chong Yidong <cyd@gnu.org>
15279
15280 Doc fix for minor modes, stating that an omitted argument enables
15281 the mode unconditionally when called from Lisp.
15282
15283 * abbrev.el (abbrev-mode):
15284 * allout.el (allout-mode):
15285 * autoinsert.el (auto-insert-mode):
15286 * autoarg.el (autoarg-mode, autoarg-kp-mode):
15287 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
15288 (global-auto-revert-mode):
15289 * battery.el (display-battery-mode):
15290 * composite.el (global-auto-composition-mode)
15291 (auto-composition-mode):
15292 * delsel.el (delete-selection-mode):
15293 * desktop.el (desktop-save-mode):
15294 * dired-x.el (dired-omit-mode):
15295 * dirtrack.el (dirtrack-mode):
15296 * doc-view.el (doc-view-minor-mode):
15297 * double.el (double-mode):
15298 * electric.el (electric-indent-mode, electric-pair-mode):
15299 * emacs-lock.el (emacs-lock-mode):
15300 * epa-hook.el (auto-encryption-mode):
15301 * follow.el (follow-mode):
15302 * font-core.el (font-lock-mode):
15303 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
15304 * help.el (temp-buffer-resize-mode):
15305 * hilit-chg.el (highlight-changes-mode)
15306 (highlight-changes-visible-mode):
15307 * hi-lock.el (hi-lock-mode):
15308 * hl-line.el (hl-line-mode, global-hl-line-mode):
15309 * icomplete.el (icomplete-mode):
15310 * ido.el (ido-everywhere):
15311 * image-file.el (auto-image-file-mode):
15312 * image-mode.el (image-minor-mode):
15313 * iswitchb.el (iswitchb-mode):
15314 * jka-cmpr-hook.el (auto-compression-mode):
15315 * linum.el (linum-mode):
15316 * longlines.el (longlines-mode):
15317 * master.el (master-mode):
15318 * mb-depth.el (minibuffer-depth-indicate-mode):
15319 * menu-bar.el (menu-bar-mode):
15320 * minibuf-eldef.el (minibuffer-electric-default-mode):
15321 * mouse-sel.el (mouse-sel-mode):
15322 * msb.el (msb-mode):
15323 * mwheel.el (mouse-wheel-mode):
15324 * outline.el (outline-minor-mode):
15325 * paren.el (show-paren-mode):
15326 * recentf.el (recentf-mode):
15327 * reveal.el (reveal-mode, global-reveal-mode):
15328 * rfn-eshadow.el (file-name-shadow-mode):
15329 * ruler-mode.el (ruler-mode):
15330 * savehist.el (savehist-mode):
15331 * scroll-all.el (scroll-all-mode):
15332 * scroll-bar.el (scroll-bar-mode):
15333 * server.el (server-mode):
15334 * shell.el (shell-dirtrack-mode):
15335 * simple.el (auto-fill-mode, transient-mark-mode)
15336 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
15337 (line-number-mode, column-number-mode, size-indication-mode)
15338 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
15339 * strokes.el (strokes-mode):
15340 * time.el (display-time-mode):
15341 * t-mouse.el (gpm-mouse-mode):
15342 * tool-bar.el (tool-bar-mode):
15343 * tooltip.el (tooltip-mode):
15344 * type-break.el (type-break-mode-line-message-mode)
15345 (type-break-query-mode):
15346 * view.el (view-mode):
15347 * whitespace.el (whitespace-mode, whitespace-newline-mode)
15348 (global-whitespace-mode, global-whitespace-newline-mode):
15349 * xt-mouse.el (xterm-mouse-mode): Doc fix.
15350
15351 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
15352 Fix autogenerated docstring.
15353
15354 2011-10-19 Juri Linkov <juri@jurta.org>
15355
15356 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
15357 by checking environment variables "DESKTOP_SESSION" and
15358 "XDG_CURRENT_DESKTOP". (Bug#9779)
15359
15360 2011-10-19 Juri Linkov <juri@jurta.org>
15361
15362 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
15363 (browse-url-chromium-program, browse-url-chromium-arguments):
15364 New defcustoms.
15365 (browse-url-default-browser): Check for `browse-url-chromium' and
15366 call `browse-url-chromium-program'.
15367 (browse-url-chromium): New command. (Bug#9779)
15368
15369 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
15370
15371 * facemenu.el (list-colors-duplicates): On Windows, detect more
15372 duplicates by assuming that only colors matching "^System" are
15373 special "system colors". (Bug#9722)
15374
15375 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
15376
15377 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
15378 to distinguish the author from the committer.
15379
15380 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
15381
15382 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
15383
15384 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
15385
15386 * international/mule.el (sgml-html-meta-auto-coding-function):
15387 Add support for detecting encoding in HTML5 specified only as
15388 <meta charset="UTF-8">. Implementation just makes http-equiv and
15389 content-type parts from HTML4 encoding string optional. (Bug#9716)
15390
15391 2011-10-18 Glenn Morris <rgm@gnu.org>
15392
15393 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
15394
15395 2011-10-18 Chong Yidong <cyd@gnu.org>
15396
15397 * faces.el (cursor): Doc fix.
15398
15399 2011-10-17 Chong Yidong <cyd@gnu.org>
15400
15401 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
15402
15403 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
15404
15405 * dirtrack.el (dirtrack): Support shell buffers with path
15406 prefixes, e.g. tramp-based remote shells. (Bug#9647)
15407
15408 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
15409
15410 * json.el: Bump version to 1.3 and note change in History.
15411 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
15412
15413 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
15414
15415 * comint.el (comint-insert-input, comint-send-input)
15416 (comint-get-old-input-default, comint-backward-matching-input)
15417 (comint-next-prompt): Use nil instead of `input' for field property of
15418 past user input (bug#114).
15419
15420 * minibuffer.el (completion--replace): Inherit surrounding properties
15421 (bug#114).
15422 (minibuffer-complete-and-exit): Use it.
15423
15424 * comint.el (comint--table-subvert): Quote the all-completions output
15425 (bug#9160).
15426
15427 2011-10-17 Martin Rudalics <rudalics@gmx.at>
15428
15429 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
15430
15431 * menu-bar.el (menu-bar-file-menu): Add entry for making new
15432 window on right of selected. (Bug#9350) Reword other window
15433 entries and separate them from frame entries.
15434
15435 2011-10-15 Glenn Morris <rgm@gnu.org>
15436
15437 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
15438 Doc fixes.
15439
15440 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
15441
15442 * net/network-stream.el (network-stream-open-starttls):
15443 Improve detection of failure due to lack of TLS support.
15444
15445 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
15446 putting the input text in front and in bold.
15447
15448 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
15449
15450 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
15451
15452 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
15453 empty buffer.
15454
15455 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
15456 unread-command-events rather than pushing yet-another event.
15457
15458 2011-10-14 Eli Zaretskii <eliz@gnu.org>
15459
15460 * mail/sendmail.el (sendmail-query-once): Improve the wording of
15461 the explanation of the possible choices. Make the options passed
15462 to completing-read shorter.
15463
15464 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15465
15466 * textmodes/flyspell.el (flyspell-large-region): Make sure
15467 extended character mode is used if defined (Bug#1339).
15468
15469 2011-10-13 Eli Zaretskii <eliz@gnu.org>
15470
15471 * simple.el (what-cursor-position): Fix the display of the
15472 character info for LRE, LRO, RLE, and RLO characters by appending
15473 an invisible PDF.
15474
15475 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
15476
15477 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
15478 even in case of error; add debug spec; simplify data flow.
15479 (with-timeout-handler): Remove.
15480
15481 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
15482
15483 Fix Bug#6019, Bug#9315.
15484
15485 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
15486 complete `buffer-file-name', the local file name part could look
15487 remotely (for example on VMS).
15488
15489 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
15490 `tramp-run-real-handler'.
15491 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
15492 already quoted by '"'.
15493
15494 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
15495 Let `file-name-handler-alist' be nil, the local file name part
15496 could look remotely (for example on VMS).
15497
15498 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
15499
15500 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
15501 from here...
15502 (flyspell-post-command-hook): ...to here.
15503
15504 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
15505
15506 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
15507 if not needed.
15508 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
15509 using completion. Protect against "slow" callers.
15510 Remove the "message hack".
15511
15512 2011-10-11 Juri Linkov <juri@jurta.org>
15513
15514 * isearch.el (isearch-lazy-highlight-word): New variable.
15515 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
15516 Use it. (Bug#9727)
15517
15518 2011-10-11 Glenn Morris <rgm@gnu.org>
15519
15520 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
15521 like f90-previous-statement does.
15522
15523 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15524
15525 * eshell/eshell.el (eshell-command): History should be saved
15526 only in interactive use, to avoid error.
15527
15528 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
15529
15530 * minibuffer.el (completion-file-name-table): Fix last change,
15531 i.e. ignore normal errors but not the other ones.
15532
15533 2011-10-10 Martin Rudalics <rudalics@gmx.at>
15534
15535 * window.el (special-display-buffer-names)
15536 (special-display-regexps): Remove some remnants of earlier
15537 changes from doc-strings.
15538 (quit-windows-on): New function.
15539
15540 * vc/vc.el (vc-revert, vc-rollback):
15541 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
15542 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
15543 (Bug#6183) (Bug#7074) (Bug#7447)
15544
15545 2011-10-09 Martin Rudalics <rudalics@gmx.at>
15546
15547 * window.el (frame-auto-hide-function): Add version tag.
15548 (Bug#9699)
15549
15550 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
15551
15552 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
15553 condition.
15554
15555 2011-10-09 Leo Liu <sdl.web@gmail.com>
15556
15557 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
15558 (Bug#9701)
15559
15560 2011-10-08 Glenn Morris <rgm@gnu.org>
15561
15562 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
15563 before the first code statement zero indent. (Bug#9690)
15564
15565 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
15566
15567 * simple.el (count-words-region): Always count in the region.
15568 Report the number of lines and characters too.
15569 (count-words): New command, which counts in the buffer if the
15570 region is inactive, as count-words-region used to.
15571 (count-words--message): New function. Handle plurals.
15572 (count-lines-region): Make it an alias for count-words-region.
15573
15574 * bindings.el (esc-map): Replace count-lines-region with
15575 count-words-region.
15576
15577 2011-10-08 Martin Rudalics <rudalics@gmx.at>
15578
15579 * window.el (window--delete): Delete dedicated frame
15580 unconditionally when argument KILL is non-nil. (Bug#9699)
15581 (switch-to-buffer): Fix doc-string typo.
15582
15583 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15584
15585 * eshell/eshell.el (eshell-command): Avoid using hooks.
15586
15587 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
15588
15589 * bindings.el ([M-left],[M-right]): Bind to left-word and
15590 right-word respectively.
15591
15592 2011-10-07 Glenn Morris <rgm@gnu.org>
15593
15594 * cus-start.el (debug-on-quit): Fix custom type.
15595
15596 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15597
15598 * subr.el (define-key-after): Clarify that the function is not
15599 useful for non-menu keymaps.
15600
15601 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
15602
15603 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15604
15605 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
15606 in current minibuffer (Fix bug with recursive minibuffers).
15607
15608 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
15609
15610 * progmodes/gdb-mi.el (gdb): Doc fix.
15611
15612 2011-10-05 Martin Rudalics <rudalics@gmx.at>
15613
15614 * window.el (frame-auto-hide-function): New option replacing
15615 frame-auto-delete. Suggested by Stefan Monnier.
15616 (window--delete): Call frame-auto-hide-function instead of
15617 investigating frame-auto-delete.
15618 (window-point-1, set-window-point-1): New functions.
15619 (window-in-direction, record-window-buffer, window-state-get-1)
15620 (display-buffer-record-window): Use window-point-1 instead of
15621 window-point.
15622 (set-window-buffer-start-and-point): Use set-window-point-1.
15623
15624 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
15625
15626 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
15627
15628 2011-10-05 Glenn Morris <rgm@gnu.org>
15629
15630 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
15631 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
15632
15633 2011-10-05 Leo Liu <sdl.web@gmail.com>
15634
15635 * subr.el (read-char-choice): Fix argument to buffer-live-p which
15636 works with buffer object.
15637
15638 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
15639
15640 * mpc.el (mpc-tool-bar-map): Add labels.
15641
15642 2011-10-04 Glenn Morris <rgm@gnu.org>
15643
15644 * calendar/holidays.el (calendar-check-holidays): Doc fix.
15645
15646 2011-10-04 Martin Rudalics <rudalics@gmx.at>
15647
15648 * window.el (window--delete): New function.
15649 (frame-auto-delete): Resuscitate option.
15650 (bury-buffer, replace-buffer-in-windows)
15651 (quit-window): Rewrite using window--delete.
15652 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
15653 Pass display-buffer-mark-dedicated to window--display-buffer-2
15654 (Bug#9639).
15655
15656 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
15657
15658 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
15659 returns a list (bug#9554). Add remote file name completion.
15660 * comint.el (comint--table-subvert): Curry and get quote&unquote
15661 functions as arguments.
15662 (comint--complete-file-name-data): Adjust call accordingly.
15663 * pcomplete.el (pcomplete--table-subvert): Remove.
15664 (pcomplete-completions-at-point): Use comint--table-subvert instead.
15665
15666 * minibuffer.el (completion-table-case-fold): Use currying.
15667 (completion--styles-type, completion--cycling-threshold-type):
15668 New constants.
15669 (completion-styles, completion-category-overrides)
15670 (completion-cycle-threshold): Use them.
15671 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
15672 completion-table-case-fold.
15673
15674 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
15675
15676 * minibuffer.el (completion-category-overrides): Fix type of styles
15677 and add more user friendly tags (bug#9660).
15678
15679 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
15680
15681 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
15682 (mule-input-method-string): New widget.
15683 (default-input-method, language-info-custom-alist): Use it.
15684
15685 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
15686
15687 * pcomplete.el: Require comint.
15688 (pcomplete--common-suffix): Remove.
15689 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
15690 (pcomplete--table-subvert): Sync with comint--table-subvert.
15691 (pcomplete--entries): Use comint-completion-file-name-table.
15692 * comint.el (comint-unquote-filename): Simplify.
15693 (comint-completion-file-name-table): New function (bug#9616).
15694 (comint--complete-file-name-data): Use it.
15695
15696 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
15697 (pcmpl-gnu-tar-buffer): Remove.
15698 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
15699 around. Make sure pcomplete-suffix-list is only changed temporarily.
15700 Don't look inside the tar's file if it's too large.
15701
15702 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
15703
15704 * cus-edit.el (custom-mode-map):
15705 * epa.el (epa-key-list-mode-map):
15706 * man.el (Man-mode-map):
15707 * startup.el (splash-screen-keymap):
15708 * simple.el (special-mode-map): Use scroll-up-command and
15709 scroll-down-command.
15710
15711 * progmodes/idlw-help.el (idlwave-help-mode-map):
15712 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
15713 * net/newst-plainview.el (newsticker-mode-map):
15714 * emulation/ws-mode.el (wordstar-mode-map):
15715 * emulation/vi.el (vi-com-map):
15716 * calc/calc-graph.el (calc-graph-show-dumb):
15717 * term/sun.el (terminal-init-sun):
15718 * term/ns-win.el (global-map):
15719 * progmodes/grep.el (grep-mode-map):
15720 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
15721 * mail/rmail.el (rmail-mode-map):
15722 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
15723
15724 * custom.el (custom-safe-themes, load-theme): Treat value of t for
15725 custom-safe-themes as special.
15726
15727 2011-10-01 Julien Danjou <julien@danjou.info>
15728
15729 * notifications.el (notifications-notify): Fix docstring.
15730
15731 2011-10-01 Per Starbäck <per@starback.se>
15732
15733 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
15734
15735 2011-09-30 Martin Rudalics <rudalics@gmx.at>
15736
15737 * startup.el (command-line-1): Fix last fix by inserting
15738 initial-scratch-message into *scratch* before displaying it.
15739 (Bug#9605) and (Bug#9636)
15740
15741 2011-09-29 Eli Zaretskii <eliz@gnu.org>
15742
15743 * simple.el (line-move): If auto-hscroll-mode is disabled and the
15744 window is hscrolled, move by logical lines. (Bug#9607)
15745 (line-move-visual): Update the doc string to the above effect.
15746
15747 2011-09-29 Martin Rudalics <rudalics@gmx.at>
15748
15749 * window.el (display-buffer-record-window): When WINDOW is the
15750 selected window use `point' instead of `window-point'. (Bug#9626)
15751
15752 * startup.el (command-line-1): Use insert-before-markers when
15753 inserting initial-scratch-message. (Bug#9605)
15754
15755 * help.el (help-window): Remove variable.
15756
15757 2011-09-29 Glenn Morris <rgm@gnu.org>
15758
15759 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
15760
15761 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
15762
15763 * descr-text.el (describe-char-categories): Accept category
15764 descriptions more than one line long.
15765
15766 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
15767
15768 * simple.el (delete-trailing-whitespace): Fix last change.
15769
15770 * progmodes/perl-mode.el (perl-syntax-propertize-function):
15771 Don't confuse "y => 3" as the beginning of a `y' operation.
15772
15773 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
15774 object has more than 4 slots (bug#9613).
15775
15776 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
15777
15778 * subr.el (with-output-to-temp-buffer):
15779 * net/quickurl.el (quickurl, quickurl-browse-url):
15780 Fix typos in docstrings.
15781
15782 2011-09-27 Eli Zaretskii <eliz@gnu.org>
15783
15784 * minibuffer.el (completion-styles)
15785 (completion-category-overrides): Cross reference each other in doc
15786 strings.
15787
15788 2011-09-27 Glenn Morris <rgm@gnu.org>
15789
15790 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
15791 to split-string. (Bug#9606)
15792
15793 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
15794
15795 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
15796 (bug#9615).
15797
15798 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
15799
15800 * emacs-lisp/package.el (list-packages): Fix echo area message.
15801
15802 2011-09-27 Leo Liu <sdl.web@gmail.com>
15803
15804 * ido.el (ido-read-internal): Accept cons cell HIST arg.
15805
15806 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
15807
15808 * net/dbus.el (dbus-unregister-object): Don't release services for
15809 registered signals. (Bug#9581)
15810
15811 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
15812
15813 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
15814 function that picks between cfengine 2 and 3 support
15815 automatically. Update docs accordingly.
15816
15817 2011-09-22 Kenichi Handa <handa@m17n.org>
15818
15819 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
15820 ZERO.
15821 (indian-itrans-v5-table-for-tamil): New variable.
15822 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
15823
15824 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
15825
15826 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
15827 that's true if the current command involved collapsing of text.
15828 It's reset to false at the beginning of the next command.
15829 (allout-post-command-business): Move the cursor to the beginning
15830 of entry if the cursor is hidden and collapsing activity just
15831 happened.
15832
15833 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
15834
15835 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
15836 tracking (Bug#9541).
15837
15838 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
15839
15840 * net/newst-reader.el (newsticker-html-renderer)
15841 (newsticker-show-news): Automatically load html rendering package
15842 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
15843 because w3m-fill-column is let-bound" and the error "Symbol's value
15844 as variable is void: w3m-fill-column".
15845
15846 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
15847
15848 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
15849 Release services only if they are defined. (Bug#9581)
15850
15851 2011-09-23 Richard Stallman <rms@gnu.org>
15852
15853 * textmodes/paragraphs.el (forward-sentence): For backwards case,
15854 distinguish start of paragraph from start of its text.
15855
15856 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
15857
15858 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
15859 (rmail-generate-viewer-buffer): Put that hook on view buffer.
15860 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
15861
15862 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
15863
15864 * international/mule-diag.el (mule-diag): Insert a newline after
15865 each fontset description.
15866
15867 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
15868
15869 * simple.el (delete-trailing-whitespace):
15870 Document last change; simplify.
15871
15872 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
15873
15874 * simple.el (delete-trailing-whitespace): Also delete
15875 extra newlines at the end of the buffer.
15876
15877 * textmodes/picture.el: Make motion commands obey shift-select-mode.
15878 (picture-newline): Use forward-line so as to ignore fields.
15879
15880 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
15881
15882 * subr.el (with-wrapper-hook): Fix edebug spec.
15883
15884 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
15885
15886 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
15887 (bug#4538).
15888
15889 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
15890
15891 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
15892 Fix nasty bug using wrong cached values.
15893
15894 2011-09-23 Alan Mackenzie <acm@muc.de>
15895
15896 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
15897
15898 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
15899
15900 * window.el (pop-to-buffer): Ensure right window is selected if we
15901 chose another frame.
15902
15903 2011-09-22 Eli Zaretskii <eliz@gnu.org>
15904
15905 * simple.el (what-cursor-position): Use get-char-property-change
15906 and next-single-char-property-change, to be able to show display
15907 properties that come from overlays as well as text properties.
15908
15909 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
15910
15911 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
15912
15913 * cmuscheme.el (run-scheme, switch-to-scheme):
15914 * cus-edit.el (customize-group, custom-buffer-create)
15915 (customize-browse):
15916 * info.el (info):
15917 * shell.el (shell):
15918 * mail/sendmail.el (mail):
15919 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
15920
15921 2011-09-22 Richard Stallman <rms@gnu.org>
15922
15923 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
15924 move back only to line beg, don't move back over blank lines.
15925
15926 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
15927
15928 * files.el (copy-directory): Set directory attributes only in case
15929 they could be retrieved from the source directory. (Bug#9565)
15930
15931 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
15932
15933 * progmodes/hideshow.el (hs-looking-at-block-start-p)
15934 (hs-find-block-beginning, hs-hide-level-recursive):
15935 Ignore strings as well as comments. (Bug#9502)
15936
15937 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
15938
15939 * progmodes/sql.el (sql-comint-postgres):
15940 Convert port number to a string. (Bug#9566)
15941
15942 2011-09-22 Martin Rudalics <rudalics@gmx.at>
15943
15944 * window.el (quit-window): Undedicate window when switching to
15945 previous buffer. Reported by Thierry Volpiatto
15946 <thierry.volpiatto@gmail.com>.
15947 (special-display-popup-frame): When popping up a new frame reset
15948 its previous buffers to nil. Simplify code.
15949
15950 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
15951
15952 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
15953 and process filter, as done also in `shell-command'.
15954
15955 2011-09-21 Martin Rudalics <rudalics@gmx.at>
15956
15957 * window.el (set-window-buffer-start-and-point):
15958 Call set-window-start with NOFORCE argument t.
15959 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
15960 (quit-window): Reword doc-string. Handle new format of
15961 quit-restore parameter. Don't delete window if it has a
15962 previous buffer we can show instead of the present one.
15963 (display-buffer-record-window): Rewrite using a new format for
15964 the quit-restore window parameter
15965 (special-display-popup-frame, display-buffer-same-window)
15966 (display-buffer-reuse-window, display-buffer-pop-up-frame)
15967 (display-buffer-pop-up-window, display-buffer-use-some-window):
15968 Adapt symbol passed to display-buffer-record-window.
15969 * help.el (help-window-setup): Handle new format of quit-restore
15970 parameter.
15971
15972 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
15973
15974 * faces.el (face-list): Fix docstring (bug#9564).
15975
15976 * window.el (display-buffer--action-function-custom-type):
15977 Don't include internal functions in the Custom interface.
15978
15979 2011-09-20 Juri Linkov <juri@jurta.org>
15980
15981 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
15982 (Info-forward-node, Info-backward-node, Info-next-preorder)
15983 (Info-last-preorder): Use it. (Bug#9528)
15984
15985 2011-09-20 Juri Linkov <juri@jurta.org>
15986
15987 * info.el (Info-last-preorder): Visit last menu item only when
15988 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
15989
15990 2011-09-20 Julien Danjou <julien@danjou.info>
15991
15992 * password-cache.el (password-cache-remove): Remove entries even if the
15993 value is nil, so that password with a nil value (negative caching) is
15994 possible to invalidate.
15995
15996 2011-09-20 Lawrence Mitchell <wence@gmx.li>
15997
15998 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
15999 all whitespace around breakpoint. (Bug#9553)
16000 (f90-find-breakpoint): Only break at whitespace inside a comment.
16001
16002 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
16003
16004 * minibuffer.el (completion-file-name-table): Keep track of errors.
16005 (completion-table-with-predicate): Handle the case where pred1 is nil.
16006 * pcomplete.el (pcomplete-completions-at-point): Simplify.
16007
16008 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
16009
16010 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
16011 (debugger-return-value): Signal an error if the debugging context does
16012 not await any return value.
16013
16014 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
16015 * image-mode.el (image-toggle-display-text)
16016 (image-toggle-display-image): Stay away from evil `intangible'.
16017
16018 2011-09-19 Leo Liu <sdl.web@gmail.com>
16019
16020 * replace.el (occur-revert-arguments): Make it permanent-local.
16021 (occur-mode): Don't call font-lock-defontify.
16022
16023 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
16024
16025 * net/ldap.el (ldap-search-internal): Don't push empty search
16026 result (Bug#9508).
16027
16028 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
16029
16030 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
16031
16032 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
16033
16034 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
16035 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
16036
16037 2011-09-18 Juri Linkov <juri@jurta.org>
16038
16039 * buff-menu.el (Buffer-menu-mode-map):
16040 * dired.el (dired-mode-map):
16041 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
16042 (lisp-interaction-mode-map):
16043 * emacs-lisp/package.el (package-menu-mode-map):
16044 * epa.el (epa-key-list-mode-map):
16045 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
16046 (menu-bar-options-menu):
16047 * outline.el (outline-mode-menu-bar-map):
16048 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
16049 * vc/vc-dir.el (vc-dir-menu-map):
16050 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
16051 Capitalize non-function content words in menu item strings.
16052
16053 * dired.el (dired-mode-map): Add menu item for
16054 `image-dired-dired-toggle-marked-thumbs'.
16055
16056 2011-09-18 Juri Linkov <juri@jurta.org>
16057
16058 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
16059 to `isearch-case-fold-search' and restore its original value
16060 after the `isearch-mode' call.
16061
16062 2011-09-18 Juri Linkov <juri@jurta.org>
16063
16064 * progmodes/grep.el (grep-process-setup): Don't check code for 1
16065 because `zgrep' returns 1 for successful matches (bug#9226).
16066
16067 2011-09-18 Juri Linkov <juri@jurta.org>
16068
16069 * info.el (Info-extract-menu-node-name): Check the second match
16070 for empty string (second test-case of bug#9528).
16071 (Info-last-preorder): Let-bind `Info-history' to nil to not add
16072 intermediate nodes to the history (first test-case of bug#9528).
16073
16074 2011-09-18 Juri Linkov <juri@jurta.org>
16075
16076 * info.el (Info-mode-syntax-table): New variable.
16077 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
16078
16079 2011-09-18 Juri Linkov <juri@jurta.org>
16080
16081 * info.el (Info-file-supports-index-cookies):
16082 Increment line-beginning-position's arg from 3 to 4 because makeinfo
16083 outputs one more line for long file names (bug#4142).
16084
16085 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
16086
16087 * newcomment.el (comment-normalize-vars): If prompting for
16088 comment-start, set comment-start-skip too (Bug#8424).
16089
16090 2011-09-18 Johan Bockgård <bojohan@gnu.org>
16091
16092 * icomplete.el: Fix previous fix of Bug#5849.
16093 (icomplete-mode): Don't set completion-show-inline-help.
16094 (icomplete-minibuffer-setup): Set completion-show-inline-help
16095 locally during icompletion.
16096
16097 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
16098
16099 * woman.el (woman2-process-escapes): Don't delete unrecognized
16100 escapes (Bug#7843).
16101
16102 * files.el (inhibit-first-line-modes-regexps): Add image files.
16103 (hack-local-variables-prop-line): Return nil for malformed
16104 prop-lines (Bug#9044).
16105
16106 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
16107
16108 * net/tramp.el (top): Don't require 'shell.
16109 (tramp-methods): Fix docstring.
16110 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
16111 Return complete remote file name. Handle "smb" case.
16112 Use `tramp-tmpdir', if defined for the respective method.
16113 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
16114
16115 * net/tramp-compat.el (top): Require 'shell.
16116
16117 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
16118 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
16119 `tramp-current-host'.
16120 (tramp-get-remote-tmpdir): Remove.
16121
16122 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
16123 `tramp-tmpdir' entries.
16124 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
16125 (tramp-smb-handle-file-attributes): Ignore errors.
16126 (tramp-smb-wait-for-output): Check also for process end.
16127
16128 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
16129
16130 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
16131 when sending QUIT (bug#9312).
16132
16133 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
16134
16135 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
16136 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
16137 occur-mode-display-occurrence.
16138 (occur-edit-mode): Add usage message.
16139 (occur-cease-edit): New command.
16140 (occur-after-change-function): Use text properties to find the
16141 position of the prefix text.
16142 (occur-engine): Set stickiness of prefix text properties.
16143
16144 2011-09-17 Glenn Morris <rgm@gnu.org>
16145
16146 * progmodes/etags.el (complete-tag):
16147 Fix call to completion-in-region. (Bug#9526)
16148
16149 2011-09-17 Juri Linkov <juri@jurta.org>
16150
16151 * textmodes/ispell.el (ispell-word): Add to the error message
16152 the word, ispell program name and current dictionary (bug#9121).
16153 (ispell-tex-arg-end): Capitalize "error" in the error message.
16154
16155 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
16156
16157 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
16158 check. (Bug#4251)
16159
16160 2011-09-17 Juri Linkov <juri@jurta.org>
16161
16162 * window.el (window-safe-min-height, window-safe-min-width):
16163 Fix typos (followup to bug#9522).
16164
16165 2011-09-17 Sven Joachim <svenjoac@gmx.de>
16166
16167 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
16168
16169 2011-09-16 Eli Zaretskii <eliz@gnu.org>
16170
16171 * simple.el (line-move): If goal-column is set, move by logical
16172 lines, not by display lines. (Bug#971)
16173 (next-line, previous-line, goal-column, line-move-visual): Doc fix
16174 to reflect the above change.
16175
16176 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
16177
16178 * image.el (imagemagick-register-types): Use regexp-opt.
16179
16180 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
16181
16182 * window.el (display-buffer-base-action): Rename from
16183 display-buffer-default-action. Make default value empty.
16184 (display-buffer-overriding-action): Convert to defvar.
16185 (display-buffer-fallback-action): New var.
16186
16187 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
16188
16189 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
16190 declaration.
16191 (package--add-to-archive-contents): If there is a duplicate entry
16192 with an older version, remove it.
16193 (package-menu-mark-delete, package-menu-mark-install)
16194 (package-menu-mark-unmark): Make unused args optional.
16195 (package-menu-mark-obsolete-for-deletion):
16196 Use package-menu-get-status instead of a regexp search.
16197 (package-menu-get-status): Use tabulated-list-entry.
16198 (package-menu-mark-upgrades): New command.
16199 (package-menu-mode-map): Bind it to U. Add it to menu bar.
16200 (package-menu-execute): Do installation before deletion.
16201 (package-menu-refresh, package-menu-execute): Use derived-mode-p
16202 instead of checking major-mode.
16203 (package-menu--find-upgrades): New function.
16204
16205 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
16206
16207 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
16208 passwords in the log buffer.
16209 (smtpmail-process-filter): Update the process marker so that the
16210 "broken by peer" status message is inserted in the right place.
16211
16212 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
16213
16214 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
16215 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
16216 bibtex-completion-at-point-function.
16217 (bibtex-completion-at-point-function): Use them.
16218
16219 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
16220
16221 * mpc.el (mpc-constraints-tag-lookup): New function.
16222 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
16223 also to browser "album|playlist".
16224
16225 2011-09-14 Juri Linkov <juri@jurta.org>
16226
16227 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
16228 (isearch-edit-string): Use length of `isearch-string' when
16229 `isearch-fail-pos' returns nil.
16230 (isearch-message): Remove duplicate code and call
16231 `isearch-fail-pos' with arg `t'.
16232
16233 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
16234
16235 * replace.el (occur-mode-goto-occurrence): Don't force using other
16236 window (Bug#9499).
16237
16238 * dired-aux.el (dired-do-chmod): Don't provide initial input.
16239
16240 2011-09-14 Martin Rudalics <rudalics@gmx.at>
16241
16242 * window.el (display-buffer-window): Remove.
16243 (display-buffer-record-window): Use help-setup window parameter
16244 instead of variable display-buffer-window.
16245 (display-buffer-function, special-display-buffer-names)
16246 (special-display-function): Mention help-setup parameter instead
16247 of display-buffer-window in doc-string.
16248 * help.el (help-window-setup): New argument help-window.
16249 Use help-window-setup parameter instead of display-buffer-window.
16250 Reword some messages.
16251 (with-help-window): Pass window used for displaying the buffer
16252 to help-window-setup. Don't set display-buffer-window.
16253
16254 2011-09-13 Glenn Morris <rgm@gnu.org>
16255
16256 * emacs-lisp/debug.el (debugger-make-xrefs):
16257 Preserve point. (Bug#9462)
16258
16259 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
16260
16261 * window.el (window-deletable-p): Use next-frame.
16262
16263 2011-09-13 Martin Rudalics <rudalics@gmx.at>
16264
16265 * window.el (window-auto-delete): Remove.
16266 (window-deletable-p): Remove argument FORCE. Don't deal with
16267 dedication and previous buffers.
16268 (switch-to-prev-buffer): Don't delete window.
16269 (delete-windows-on): Delete a window's frame if and only if the
16270 window is dedicated.
16271 (replace-buffer-in-windows): Delete buffer's window or frame if
16272 and only if window is dedicated.
16273 (quit-window): Handle quit-restore as before last change.
16274 (bury-buffer): Delete window only if window-deletable-p returns t.
16275
16276 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
16277
16278 * window.el (window-deletable-p): Never delete the last frame on a
16279 given terminal.
16280
16281 2011-09-13 Glenn Morris <rgm@gnu.org>
16282
16283 * help.el (describe-key-briefly): Copy previous standard-output change.
16284
16285 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
16286
16287 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
16288
16289 2011-09-13 Glenn Morris <rgm@gnu.org>
16290
16291 * emacs-lisp/lisp-mode.el (lisp-indent-function):
16292 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
16293
16294 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
16295
16296 * dired-aux.el (dired-mark-read-string): Don't return default
16297 value on empty input (Bug#9361).
16298 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
16299 Omit initial minibuffer contents.
16300 (dired-do-chmod): Signal an error on empty input.
16301 (dired-mark-read-string): Don't return default on empty input.
16302
16303 * files.el (file-modes-symbolic-to-number): Doc fix.
16304
16305 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
16306
16307 * international/mule-cmds.el (ucs-completions): Remove.
16308 (read-char-by-name): Use complete-with-action instead; add metadata.
16309
16310 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
16311
16312 * window.el (display-buffer--action-function-custom-type)
16313 (display-buffer--action-custom-type): New vars.
16314 (display-buffer-alist, display-buffer-default-action)
16315 (display-buffer-overriding-action): Add defcustom types.
16316
16317 * frame.el (delete-other-frames): Doc fix (Bug#276).
16318
16319 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16320
16321 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
16322
16323 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
16324
16325 Change modes that used same-window-* vars to use switch-to-buffer.
16326
16327 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
16328 Use switch-to-buffer.
16329
16330 * cus-edit.el (customize-group, custom-buffer-create)
16331 (customize-browse, custom-buffer-create-other-window):
16332 Use switch-to-buffer or switch-to-buffer-other-window.
16333
16334 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
16335 (Info-prev, Info-up, Info-speedbar-goto-node)
16336 (info-display-manual): Use switch-to-buffer.
16337 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
16338
16339 * mail/sendmail.el (mail): Use switch-to-buffer.
16340 (mail-recover): Use switch-to-buffer-other-window.
16341
16342 * cmuscheme.el (run-scheme, switch-to-scheme):
16343 * ielm.el (ielm):
16344 * shell.el (shell):
16345 * net/rlogin.el (rlogin):
16346 * net/telnet.el (telnet, rsh):
16347 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
16348
16349 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
16350
16351 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
16352
16353 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16354
16355 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
16356 so don't mention it (bug#9301).
16357 (dired-sort-toggle-or-edit): Clarify string further.
16358
16359 * faces.el (face-spec-set-match-display): Make `(type graphic)'
16360 match `x', `w32' and `ns', like the manual says (bug#9029).
16361
16362 * subr.el (eval-after-load): Doc string clarification (bug#9125).
16363 (process-kill-buffer-query-function): Mention the buffer name in
16364 the query.
16365
16366 * image-mode.el (image-next-line): The line parameter is mandatory
16367 (bug#9258).
16368
16369 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
16370 which can be useful (bug#9301).
16371
16372 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
16373
16374 * subr.el (match-string): Mention that the current buffer should
16375 be the same as the search was done in (bug#9282).
16376
16377 * facemenu.el: Disable the remove-* commands if the mark isn't
16378 active (bug#9162).
16379
16380 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
16381
16382 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
16383 of display-buffer.
16384 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
16385
16386 * replace.el (occur-mode-goto-occurrence)
16387 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
16388 and display-buffer.
16389
16390 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
16391 display-buffer.
16392
16393 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
16394 special-display and same-window variables.
16395 (mail-other-window): Use switch-to-buffer-other-window.
16396 (mail-other-frame): USe switch-to-buffer-other-frame.
16397
16398 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
16399 Use display-buffer-other-frame.
16400 (gdb-display-gdb-buffer): Use pop-to-buffer.
16401
16402 * progmodes/gud.el (gud-goto-info): Use info-other-window.
16403
16404 * progmodes/python.el: Don't set same-window-buffer-names.
16405
16406 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
16407
16408 * window.el (display-buffer-alist): Add *Python*.
16409
16410 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
16411
16412 * window.el (display-buffer-alist): Add entry for buffers
16413 previously handled same-window-*.
16414 (display-buffer-alist, display-buffer-default-action)
16415 (display-buffer-overriding-action): Mark as risky.
16416 (display-buffer-alist): Document action function changes.
16417 (display-buffer--same-window-action)
16418 (display-buffer--other-frame-action): New variables.
16419 (switch-to-buffer, display-buffer-other-frame): Use them.
16420 (display-buffer): Rename reuse-frame entry to reusable-frames.
16421 (display-buffer-reuse-selected-window): Function deleted.
16422 (display-buffer-reuse-window): Handle reusable-frames alist entry.
16423 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
16424 (display-buffer-special): New function.
16425 (display-buffer--maybe-pop-up-frame-or-window): Rename from
16426 display-buffer-reuse-or-pop-window. Split off special-display
16427 part into display-buffer-special.
16428 (display-buffer-use-some-window): Don't perform any special
16429 pop-up-frames handling.
16430 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
16431 (display-buffer--maybe-same-window): Rename from
16432 display-buffer-maybe-same-window.
16433
16434 * info.el: Don't set same-window-regexps.
16435 (info-setup): New function.
16436 (info-other-window, info): Call it.
16437
16438 * cus-edit.el: Don't set same-window-regexps.
16439 (customize-group): New argument.
16440 (customize-group-other-window): Use it.
16441 (customize-face, customize-face-other-window): Likewise.
16442 (custom-buffer-create-other-window): Use pop-to-buffer directly.
16443
16444 * net/rlogin.el:
16445 * net/telnet.el:
16446 * progmodes/gud.el: Don't set same-window-regexps.
16447
16448 * cmuscheme.el:
16449 * ielm.el:
16450 * shell.el:
16451 * mail/sendmail.el:
16452 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
16453
16454 2011-09-10 Juri Linkov <juri@jurta.org>
16455
16456 * isearch.el (isearch-edit-string): Remove obsolete mention of
16457 `C-w' (`isearch-yank-word-or-char') from docstring.
16458 (isearch-query-replace): Fix typo in docstring (bug#9466).
16459
16460 2011-09-10 Juri Linkov <juri@jurta.org>
16461
16462 * paren.el (show-paren-function): Don't show escaped parens.
16463 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
16464
16465 2011-09-10 Eli Zaretskii <eliz@gnu.org>
16466
16467 * mail/sendmail.el (mml-to-mime, mml-attach-file)
16468 (mm-default-file-encoding): Remove autoload forms, they are
16469 replaced with autoload cookies in mml.el and mm-encode.el.
16470 (mail-add-attachment): New command.
16471 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
16472 (mail-mode): Mention mail-insert-file and mail-add-attachment in
16473 the doc string.
16474 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
16475
16476 2011-09-10 Reuben Thomas <rrt@sc3d.org>
16477
16478 * simple.el (count-words-region): Use buffer if there's no region
16479 (bug#9429).
16480
16481 2011-09-09 Juri Linkov <juri@jurta.org>
16482
16483 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
16484 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
16485 (wdired-isearch-filter-read-only): New function. (Bug#6362)
16486
16487 2011-09-09 Alan Mackenzie <acm@muc.de>
16488
16489 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
16490 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
16491
16492 2011-09-09 Eli Zaretskii <eliz@gnu.org>
16493
16494 Fix for Savannah bug#9392.
16495 * simple.el (mail-encode-mml): New defvar.
16496
16497 * mail/rmail.el (mail-encode-mml): Add a defvar.
16498 (rmail-enable-mime-composing): Default to t.
16499 (rmail-forward): Use MIME method of forwarding only if both
16500 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
16501 Set mail-encode-mml non-nil if the MIME method was used.
16502
16503 * mail/sendmail.el (mml-to-mime): Add autoload form.
16504 (mail-encode-mml): Add a defvar.
16505 (mail-mode): Make mail-encode-mml buffer-local and initialize it
16506 to nil.
16507 (mail-send): If mail-encode-mml is non-nil, run the outgoing
16508 message through mml-to-mime, and reset mail-encode-mml to nil.
16509
16510 2011-09-09 Glenn Morris <rgm@gnu.org>
16511
16512 * woman.el (woman-if-body): When processing an .el block,
16513 do not delete the next .el block as well. (Bug#9447)
16514 (woman-special-characters): Add oq, cq, and hy characters.
16515
16516 2011-09-08 Martin Rudalics <rudalics@gmx.at>
16517
16518 * window.el (window-deletable-p): Make sure window is live before
16519 invoking window-prev-buffers.
16520
16521 2011-09-08 Leo Liu <sdl.web@gmail.com>
16522
16523 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
16524
16525 2011-09-08 Juri Linkov <juri@jurta.org>
16526
16527 * progmodes/compile.el (compilation-environment): Make it
16528 a defcustom (bug#8340).
16529
16530 2011-09-08 Martin Rudalics <rudalics@gmx.at>
16531
16532 * window.el (frame-auto-delete): Rename to window-auto-delete.
16533 Make it control auto-deletion of windows and/or frames.
16534 (window-deletable-p): New argument FORCE. Rewrite conditions
16535 for deleting window/frame. (Bug#9419)
16536 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
16537 Rewrite handling of case when window/frame can be deleted.
16538 (delete-windows-on): Call window-deletable-p with new FORCE
16539 argument t. (Bug#9456)
16540
16541 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
16542
16543 * help-mode.el (help-mode): Restore autoload.
16544
16545 2011-09-07 Juri Linkov <juri@jurta.org>
16546
16547 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
16548 `compilation-environment'. Set buffer-local
16549 `compilation-environment' to `thisenv' later after (funcall mode).
16550 (Bug#8340)
16551
16552 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
16553 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
16554 instead of replacing its value. (Bug#8340)
16555
16556 2011-09-07 Juri Linkov <juri@jurta.org>
16557
16558 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
16559 based on text properties put by `grep-filter' instead of matching
16560 escape sequences.
16561 (grep-mode): Set buffer-local `compilation-error-screen-columns'
16562 to the value of `grep-error-screen-columns' (bug#9438).
16563
16564 2011-09-07 Juri Linkov <juri@jurta.org>
16565
16566 * simple.el (next-error-highlight, next-error-highlight-no-select):
16567 Doc fix (bug#9432).
16568
16569 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
16570
16571 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
16572 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
16573
16574 2011-09-07 Leo Liu <sdl.web@gmail.com>
16575
16576 * net/rcirc.el (rcirc-mode): Conditionally initialize
16577 rcirc-input-ring.
16578
16579 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
16580
16581 * emacs-lisp/find-func.el (find-function-C-source): Only set
16582 find-function-C-source-directory after checking that we found a source
16583 file there (bug#9440).
16584
16585 2011-09-06 Alan Mackenzie <acm@muc.de>
16586
16587 * isearch.el (isearch-other-meta-char): Wherever a key list is
16588 unread, "unread" the prefix arg, too. This fixes bug #8901.
16589
16590 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
16591
16592 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
16593
16594 2011-09-05 Juri Linkov <juri@jurta.org>
16595
16596 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
16597
16598 2011-09-05 Juri Linkov <juri@jurta.org>
16599
16600 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
16601 keeping point where processing of grep matches begins, and
16602 continue to delete remaining escape sequences from the same point.
16603 (grep-filter): Make leading zero optional in "0?1;31m" because
16604 git-grep emits "\033[1;31m" escape sequences unlike expected
16605 "\033[01;31m" as GNU Grep does (bug#9408).
16606 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
16607
16608 2011-09-05 Juri Linkov <juri@jurta.org>
16609
16610 * subr.el (y-or-n-p): Capitalize "yes".
16611
16612 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
16613
16614 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
16615 `tramp-cache-unload-hook' where appropriate.
16616 (tramp-methods): Rename `tramp-remote-sh' to
16617 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
16618 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
16619
16620 * net/tramp-sh.el (top): Don't require 'shell.
16621 (tramp-methods): Add `tramp-remote-shell' and
16622 `tramp-remote-shell-args' entries.
16623 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
16624 (tramp-sh-handle-shell-command): Remove.
16625 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
16626 Use `tramp-remote-shell'.
16627
16628 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
16629
16630 * mail/sendmail.el (sendmail-query-once-function): Delete.
16631 (sendmail-query-once): Save directly to send-mail-function.
16632 Update message-send-mail-function too.
16633
16634 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
16635
16636 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
16637
16638 * progmodes/python.el (python-mode-map): Use correct function to
16639 start python interpreter from menu-bar (as reported by Geert
16640 Kloosterman).
16641 (inferior-python-mode-map): Fix typo.
16642 (python-shell-map): Remove.
16643
16644 2011-09-03 Deniz Dogan <deniz@dogan.se>
16645
16646 * net/rcirc.el (rcirc-print): Simplify code for
16647 rcirc-scroll-show-maximum-output. There is no need to walk
16648 through all windows to find the right one.
16649
16650 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
16651
16652 * help.el (help-return-method): Doc fix.
16653
16654 2011-09-03 Martin Rudalics <rudalics@gmx.at>
16655
16656 * window.el (window-deletable-p): Don't return a non-nil value
16657 when there's a buffer that was shown in the window before.
16658 (Bug#9419)
16659 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
16660 Set window's previous buffers to nil.
16661
16662 2011-09-03 Eli Zaretskii <eliz@gnu.org>
16663
16664 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
16665 newline before and after the tag line, so it doesn't interfere
16666 with determining the paragraph direction of bidirectional text.
16667
16668 2011-09-03 Leo Liu <sdl.web@gmail.com>
16669
16670 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
16671
16672 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
16673
16674 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
16675 (pop-to-buffer): Change interactive spec. Pass second argument
16676 directly to display-buffer.
16677 (display-buffer): Fix interactive spec. Use functionp to
16678 distinguish between a function and a list of functions.
16679
16680 * abbrev.el (edit-abbrevs):
16681 * arc-mode.el (archive-extract):
16682 * autoinsert.el (auto-insert):
16683 * bookmark.el (bookmark-bmenu-list):
16684 * files.el (find-file):
16685 * view.el (view-buffer):
16686 * progmodes/compile.el (compilation-goto-locus):
16687 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
16688
16689 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
16690
16691 * window.el (display-buffer-alist): Doc fix.
16692 (display-buffer): Add docstring. Don't treat
16693 display-buffer-default specially.
16694 (display-buffer-reuse-selected-window)
16695 (display-buffer-same-window, display-buffer-maybe-same-window)
16696 (display-buffer-reuse-window, display-buffer-pop-up-frame)
16697 (display-buffer-pop-up-window)
16698 (display-buffer-reuse-or-pop-window)
16699 (display-buffer-use-some-window): New functions.
16700 (display-buffer-default-action): Use them.
16701 (display-buffer-default): Delete.
16702 (pop-to-buffer-1): Fix choice of actions.
16703
16704 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
16705
16706 * minibuffer.el (completion--insert-strings): Don't get confused by
16707 completion entries that end with an LF char.
16708
16709 2011-09-01 Eli Zaretskii <eliz@gnu.org>
16710
16711 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
16712
16713 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
16714
16715 * window.el (display-buffer): Restore interactive spec.
16716 (display-buffer-same-window, display-buffer-other-window):
16717 New functions.
16718 (pop-to-buffer-1): New function. Use the above.
16719 (pop-to-buffer, pop-to-buffer-same-window): Use it.
16720 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
16721
16722 * view.el (view-buffer-other-window, view-buffer-other-frame):
16723 Just use pop-to-buffer.
16724
16725 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16726
16727 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
16728
16729 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
16730
16731 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
16732
16733 2011-08-31 Richard Stallman <rms@gnu.org>
16734
16735 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
16736 of the separation of rmail-view-buffer from rmail-buffer.
16737 If you say no to "replace original", the decrypt is in the
16738 view buffer. If you say yes, the decrypt goes into the
16739 rmail buffer also.
16740
16741 2011-08-31 Martin Rudalics <rudalics@gmx.at>
16742
16743 * window.el (display-buffer-window): Rewrite doc-string.
16744 (display-buffer-record-window): New function.
16745 (display-buffer-macro-specifiers)
16746 (display-buffer-even-window-sizes, display-buffer-set-height)
16747 (display-buffer-set-width, display-buffer-in-window)
16748 (display-buffer-reuse-window, display-buffer-split-specifiers)
16749 (display-buffer-side-specifiers, display-buffer-split-window-1)
16750 (display-buffer-split-window, display-buffer-split-atom-window)
16751 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
16752 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
16753 (display-buffer-other-window-means-other-frame)
16754 (display-buffer-normalize-special)
16755 (display-buffer-normalize-default)
16756 (display-buffer-normalize-argument)
16757 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
16758 (display-buffer-normalize-specifiers, display-buffer-frame)
16759 (display-buffer-same-window, display-buffer-same-frame)
16760 (display-buffer-other-window)
16761 (display-buffer-same-frame-other-window)
16762 (display-buffer-other-frame, pop-to-buffer-same-window)
16763 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
16764 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
16765 (switch-to-buffer-same-frame)
16766 (switch-to-buffer-other-window-same-frame)
16767 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
16768 (display-buffer-alist-set-1, display-buffer-alist-set-2)
16769 (display-buffer-alist-set): Remove.
16770 (display-buffer-function, special-display-buffer-names)
16771 (special-display-regexps, special-display-function):
16772 In doc-string refer to display-buffer-window and quit-restore
16773 parameter.
16774 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
16775 (special-display-frame-alist, special-display-popup-frame)
16776 (same-window-buffer-names, same-window-regexps, same-window-p)
16777 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16778 (split-window-preferred-function, split-height-threshold)
16779 (split-width-threshold, window-splittable-p)
16780 (split-window-sensibly, window--try-to-split-window)
16781 (window--frame-usable-p, even-window-heights)
16782 (window--even-window-heights, window--display-buffer-1)
16783 (window--display-buffer-2, display-buffer-other-frame):
16784 Restore old Emacs 23 code, order and doc-strings where applicable.
16785 (display-buffer-default, display-buffer-assq-regexp): New functions.
16786 (display-buffer-alist): Rewrite doc-string.
16787 (display-buffer-default-action)
16788 (display-buffer-overriding-action): New variables.
16789 (display-buffer, switch-to-buffer): Rewrite.
16790 (pop-to-buffer): Restore Emacs 23 behavior but use
16791 window-normalize-buffer-to-display.
16792 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
16793 Restore Emacs 23 behavior but use
16794 window-normalize-buffer-to-switch-to.
16795 (pop-to-buffer-same-window): Rewrite.
16796 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
16797 Rewrite using Emacs 23 options.
16798
16799 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
16800
16801 * net/tramp.el (tramp-root-regexp): Remove.
16802 (tramp-completion-file-name-regexp-unified)
16803 (tramp-completion-file-name-regexp-separate)
16804 (tramp-completion-file-name-regexp-url): Don't use leading volume
16805 letter on w32 systems. (Bug#5303, Bug#9311)
16806 (tramp-drop-volume-letter): Simplify definition.
16807 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
16808
16809 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
16810
16811 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
16812 (bug#9356).
16813
16814 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
16815
16816 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
16817
16818 2011-08-29 Juri Linkov <juri@jurta.org>
16819
16820 * isearch.el (isearch-done): Don't display message "Mark saved"
16821 when arg `edit' is non-nil to prevent its flicker in the echo area.
16822
16823 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
16824
16825 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
16826 obsolete packages for deletion.
16827
16828 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
16829
16830 * help-mode.el (help-mode-map): Add special-mode-map to parent.
16831 (help-mode): Derive help-mode from special-mode. Don't invoke
16832 view-mode from help-mode.
16833 (help-xref-override-view-map): Remove.
16834 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
16835 view-mode is not used anymore.
16836
16837 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
16838
16839 * server.el (server-port): Doc fix.
16840
16841 * cus-theme.el (custom-theme-choose-mode): Inherit from
16842 special-mode (Bug#9124).
16843 (custom-theme-choose-mode-map): Add special-mode to parent.
16844
16845 2011-08-28 Alan Mackenzie <acm@muc.de>
16846
16847 * progmodes/cc-fonts.el
16848 (c-make-font-lock-BO-decl-search-function): New function.
16849 (c-basic-matchers-after - "Fontify the clauses after various
16850 keywords"): Extract the three keyword lists for the 3 erroneous
16851 constructs from the list of four, and use the new function above
16852 in place of an old one.
16853
16854 2011-08-28 Deniz Dogan <deniz@dogan.se>
16855
16856 * net/rcirc.el (rcirc-insert-prev-input)
16857 (rcirc-insert-next-input): Remove unused argument.
16858
16859 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
16860
16861 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
16862
16863 2011-08-27 Alan Mackenzie <acm@muc.de>
16864
16865 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
16866 handle function pointer parameters properly.
16867
16868 2011-08-27 Martin Rudalics <rudalics@gmx.at>
16869
16870 * window.el (display-buffer-reuse-window): Fix case where
16871 selected window was reused with non-nil OTHER-WINDOW argument.
16872 (Bug#9381)
16873
16874 2011-08-27 Deniz Dogan <deniz@dogan.se>
16875
16876 * net/rcirc.el (rcirc-check-auth-status): Adding support for
16877 oftc's NickServ messages.
16878
16879 2011-08-27 Glenn Morris <rgm@gnu.org>
16880
16881 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
16882
16883 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
16884
16885 * emacs-lisp/package.el (package-install): Call package-initialize
16886 if called interactively.
16887
16888 2011-08-26 Leo Liu <sdl.web@gmail.com>
16889
16890 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
16891
16892 2011-08-25 Juri Linkov <juri@jurta.org>
16893
16894 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
16895 `search-whitespace-regexp' (bug#9364).
16896
16897 2011-08-25 Juri Linkov <juri@jurta.org>
16898
16899 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
16900 `regexp-search-ring' to their global values to protect from
16901 updating by `read-from-minibuffer' (bug#9185).
16902
16903 2011-08-25 Juri Linkov <juri@jurta.org>
16904
16905 * textmodes/ispell.el (ispell-command-loop): Add newline
16906 at the end of the "Use option `i'..." line.
16907
16908 2011-08-25 Juri Linkov <juri@jurta.org>
16909
16910 * battery.el (display-battery-mode): If `battery-status-function'
16911 or `battery-mode-line-format' is nil, display the message and set
16912 `display-battery-mode' to nil (bug#9363).
16913
16914 2011-08-25 Eli Zaretskii <eliz@gnu.org>
16915
16916 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
16917 bidi-string-mark-left-to-right; they are unnecessary now.
16918
16919 2011-08-25 Deniz Dogan <deniz@dogan.se>
16920
16921 * net/quickurl.el: Documentation typo fixes.
16922
16923 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
16924
16925 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
16926
16927 2011-08-25 Glenn Morris <rgm@gnu.org>
16928
16929 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
16930
16931 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
16932 (smtpmail-via-smtp): Handle nil response from smtp.
16933
16934 2011-08-24 Juri Linkov <juri@jurta.org>
16935
16936 * proced.el (proced-marked): Inherit from `error' instead of
16937 `font-lock-warning-face'.
16938
16939 * ibuffer.el (ibuffer-marked-face): Change default face from
16940 `font-lock-warning-face' to `warning'.
16941 (ibuffer-deletion-face): Change default face from
16942 `font-lock-type-face' to `error'.
16943
16944 * battery.el (battery-update): Use the face `error' instead of
16945 `font-lock-warning-face' (bug#6117).
16946
16947 2011-08-24 Juri Linkov <juri@jurta.org>
16948
16949 * faces.el (success): Change face color from "Green3" to
16950 "ForestGreen" on light background (bug#9353).
16951
16952 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
16953
16954 * window.el (quit-window): Rename from quit-restore-window.
16955 Use same arglist as old quit-window.
16956 (frame-auto-delete): Doc fix.
16957
16958 * view.el (view-mode-exit): Use quit-window.
16959
16960 2011-08-24 Juri Linkov <juri@jurta.org>
16961
16962 * isearch.el (isearch-ring-adjust1): Start visiting previous
16963 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
16964 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
16965 for empty search string (when the last search string is reused
16966 automatically) to adjust the isearch ring to the last element and
16967 prepare the correct index for further M-p commands (bug#9185).
16968
16969 2011-08-24 Kenichi Handa <handa@m17n.org>
16970
16971 * international/ucs-normalize.el: If decomposition property of
16972 CHAR is the default one (i.e. a list of CHAR itself), treat it as
16973 nil.
16974 (nfd, nfkd): Likewise.
16975
16976 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
16977
16978 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
16979 from process filters aren't reliably transmitted to the surrounding
16980 accept-process-output.
16981 (mpc-proc-check): New function.
16982 (mpc-proc-sync): Use it (bug#8293)
16983
16984 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
16985
16986 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
16987 Add compatibility functions (bug#9313).
16988
16989 2011-08-23 Eli Zaretskii <eliz@gnu.org>
16990
16991 * cus-start.el (all): Add entry for bidi-paragraph-direction.
16992
16993 * international/uni-bidi.el: Regenerate.
16994
16995 2011-08-23 Kenichi Handa <handa@m17n.org>
16996
16997 * international/charprop.el:
16998 * international/uni-bidi.el:
16999 * international/uni-category.el:
17000 * international/uni-combining.el:
17001 * international/uni-comment.el:
17002 * international/uni-decimal.el:
17003 * international/uni-decomposition.el:
17004 * international/uni-digit.el:
17005 * international/uni-lowercase.el:
17006 * international/uni-mirrored.el:
17007 * international/uni-name.el:
17008 * international/uni-numeric.el:
17009 * international/uni-old-name.el:
17010 * international/uni-titlecase.el:
17011 * international/uni-uppercase.el: Regenerate.
17012
17013 2011-08-23 Martin Rudalics <rudalics@gmx.at>
17014
17015 * help.el (help-window-setup): Fix message displayed when other
17016 window is reused. (Bug#9341)
17017
17018 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
17019
17020 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
17021 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
17022
17023 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
17024 Mark obsolete.
17025 * shell.el (shell-parse-pcomplete-arguments): New function.
17026 (shell-completion-vars): Use it instead (bug#9160).
17027
17028 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
17029
17030 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
17031 strings and comments (bug#9333).
17032
17033 * emacs-lisp/debug.el (debug-arglist): New function.
17034 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
17035 (debug-on-entry-1): Handle interpreted closures (bug#9120).
17036
17037 2011-08-22 Juri Linkov <juri@jurta.org>
17038
17039 * progmodes/compile.el (compilation-mode-font-lock-keywords):
17040 Revert regexp that highlights output switches to its old
17041 pre-2010-10-28 value and remove one `?' from it (bug#9319).
17042
17043 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
17044 to check for empty output (bug#9226).
17045
17046 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
17047
17048 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
17049 symbol-constituent as the default, as that stops font-lock from
17050 working properly (Bug#8843).
17051
17052 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17053
17054 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
17055 `coding-system-for-*' around the process open call to avoid
17056 auth-source side effects.
17057 (smtpmail-try-auth-methods): Expand the secret password.
17058 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
17059 probe hangs.
17060
17061 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
17062
17063 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
17064
17065 * emacs-lisp/find-func.el (find-function-noselect): New arg
17066 lisp-only.
17067
17068 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
17069 signal an error for built-in functions (Bug#6664).
17070
17071 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17072
17073 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
17074 (smtpmail-try-auth-methods): Use it.
17075
17076 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
17077
17078 * font-lock.el (font-lock-fontify-region)
17079 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
17080 (font-lock-default-unfontify-buffer)
17081 (font-lock-default-fontify-region)
17082 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
17083
17084 * progmodes/compile.el (compilation-error-properties):
17085 Fix confusion between file struct and message struct (Bug#9319).
17086 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
17087 `ant' regexp.
17088
17089 * net/browse-url.el (browse-url-firefox): Don't call
17090 browse-url-firefox-sentinel unless using -remote (Bug#9328).
17091
17092 2011-08-20 Glenn Morris <rgm@gnu.org>
17093
17094 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
17095
17096 * tutorial.el (tutorial--default-keys): Update some default bindings.
17097
17098 * files.el (hack-local-variables): Fully ignore case for "mode:".
17099
17100 2011-08-20 Alan Mackenzie <acm@muc.de>
17101
17102 Resolve invalid use of a regexp in regexp-opt.
17103
17104 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
17105 detection for a java annotation.
17106
17107 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
17108 detection for a java annotation.
17109
17110 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
17111 handling for java.
17112 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
17113
17114 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
17115
17116 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
17117 (Bug#9274).
17118
17119 2011-08-20 Alan Mackenzie <acm@muc.de>
17120
17121 Fontify CPP expressions correctly when starting in the middle of
17122 such a construct. Mainly for when jit-lock etc. starts a chunk
17123 here.
17124
17125 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
17126 variable.
17127 (c-make-font-lock-search-form): New function, extracted from
17128 c-make-font-lock-search-function.
17129 (c-make-font-lock-search-function): Use the above function.
17130 (c-make-font-lock-context-search-function): New function.
17131 (c-cpp-matchers): Enhance the preprocessor expression case with
17132 the above function
17133 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
17134 which takes an expression.
17135
17136 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
17137
17138 2011-08-20 Martin Rudalics <rudalics@gmx.at>
17139
17140 * window.el (display-buffer-reuse-window)
17141 (display-buffer-pop-up-window): Don't reuse or split a side
17142 window.
17143
17144 2011-08-19 Glenn Morris <rgm@gnu.org>
17145
17146 * files.el (hack-local-variables-prop-line, hack-local-variables):
17147 Downcase "Mode:". (Bug#9331)
17148
17149 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
17150
17151 * international/characters.el: Add L and R categories.
17152
17153 * subr.el (bidi-string-mark-left-to-right): Rename from
17154 string-mark-left-to-right. Use category search.
17155
17156 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
17157
17158 2011-08-18 Juri Linkov <juri@jurta.org>
17159
17160 * faces.el (error, warning, success): New faces with definitions
17161 copied from old default values of `font-lock-warning-face',
17162 `compilation-warning', `compilation-info' (bug#6117).
17163
17164 * font-lock.el (font-lock-warning-face): Inherit from `error'.
17165
17166 * progmodes/compile.el (compilation-error): Inherit from `error'.
17167 (compilation-warning): Inherit from `warning'.
17168 (compilation-info): Inherit from `success'.
17169
17170 * dired.el (dired-marked): Inherit from `warning'.
17171 (dired-flagged): Inherit from `error'.
17172
17173 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
17174
17175 * mail/smtpmail.el (auth-source): Require to avoid problems with
17176 binding variables (bug#9298). Also clean up some unused
17177 autoloads.
17178
17179 * net/network-stream.el (network-stream-open-starttls):
17180 Support using starttls.el without using gnutls-cli.
17181
17182 2011-08-17 Juri Linkov <juri@jurta.org>
17183
17184 * progmodes/grep.el (rgrep): Handle the case when
17185 `grep-find-command' is a cons cell (bug#9278).
17186
17187 2011-08-17 Martin Rudalics <rudalics@gmx.at>
17188
17189 * window.el (display-buffer-pop-up-frame): Run frame creation
17190 function with BUFFER current (as special-display-popup-frame
17191 does). Reported by Drew Adams.
17192
17193 2011-08-17 Daiki Ueno <ueno@unixuser.org>
17194
17195 * epa-mail.el: Simplify GnuPG group expansion using
17196 epg-expand-group.
17197 (epa-mail-group-alist, epa-mail-group-modtime)
17198 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
17199 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
17200 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
17201 Remove.
17202
17203 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
17204
17205 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
17206
17207 2011-08-16 Alan Mackenzie <acm@muc.de>
17208
17209 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
17210 Correct, to avoid the inside of macros.
17211
17212 2011-08-16 Richard Stallman <rms@gnu.org>
17213
17214 * epa-mail.el: Handle GnuPG group definitions.
17215 (epa-mail-group-alist, epa-mail-group-modtime)
17216 (epa-mail-gnupg-conf-file): New variables.
17217 (epa-mail-parse-groups, epa-mail-sync-groups)
17218 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
17219 (epa-mail-expand-recipients): New functions.
17220 (epa-mail-encrypt): Call epa-mail-expand-recipients.
17221
17222 * mail/rmail.el (rmail-epa-decrypt): New command.
17223
17224 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
17225 Don't bind buffer-read-only, just inhibit-read-only.
17226 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
17227 (epa-decrypt-armor-in-region): Make error message clearer.
17228
17229 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
17230
17231 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
17232 and "a2b" to "ab" for `prefix'.
17233
17234 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
17235
17236 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
17237 filter groups.
17238 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
17239 Fourquet (Bug#8804).
17240
17241 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
17242
17243 * startup.el (argi): Declare as global variable (bug#9275).
17244
17245 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
17246
17247 * subr.el (string-mark-left-to-right): Search the entire string
17248 for RTL script, not just the terminating character. Doc fix.
17249
17250 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
17251
17252 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
17253 New function.
17254 (js--regexp-literal, js-syntax-propertize-function): Remove.
17255 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
17256 (js-mode-map): Don't rebind electric keys.
17257 (js-insert-and-indent): Remove.
17258 (js-mode): Setup electric-layout and electric-indent instead.
17259
17260 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
17261
17262 2011-08-12 Daiki Ueno <ueno@unixuser.org>
17263
17264 * epa.el (epa-progress-callback-function): Fix the logic of
17265 displaying progress.
17266 * epa-file.el (epa-file-insert-file-contents): Make progress
17267 display more user-friendly.
17268 (epa-file-write-region): Ditto.
17269
17270 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
17271
17272 * subr.el (string-mark-left-to-right): New function.
17273
17274 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
17275 Use string-mark-left-to-right.
17276 (list-buffers-noselect): Caller changed.
17277
17278 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
17279 Use string-mark-left-to-right.
17280 (tabulated-list-print): Recenter after moving point.
17281
17282 2011-08-10 Juri Linkov <juri@jurta.org>
17283
17284 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
17285 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
17286 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
17287
17288 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
17289
17290 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
17291 (Bug#7554).
17292
17293 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
17294
17295 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
17296 character. (Bug#6594)
17297
17298 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
17299
17300 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
17301 (image-dired--with-db-file): New macro.
17302 (image-dired-write-tags, image-dired-remove-tag)
17303 (image-dired-create-gallery-lists, image-dired-write-comments)
17304 (image-dired-get-comment, image-dired-mark-tagged-files)
17305 (image-dired-list-tags, image-dired-gallery-generate): Use it.
17306 (image-dired-gallery-generate): Use insert-file-contents.
17307
17308 * time.el (display-time-world-list, display-time-world-display):
17309 * time-stamp.el (time-stamp-string):
17310 * vc/add-log.el (add-change-log-entry): Use setenv instead of
17311 set-time-zone-rule (Bug#7337).
17312
17313 2011-08-08 Daiki Ueno <ueno@unixuser.org>
17314
17315 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
17316 (epg-error-to-string, epg-errors-to-string): New function.
17317 (epg-wait-for-completion): Reverse errors list.
17318 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
17319 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
17320 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
17321 (epg-sign-keys, epg-generate-key-from-file)
17322 (epg-generate-key-from-string): Format errors by using
17323 epg-errors-to-string (bug#9255).
17324 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
17325
17326 2011-08-07 Juri Linkov <juri@jurta.org>
17327
17328 * faces.el (list-faces-display): Remove extra angle bracket
17329 from `help-mode-map'.
17330
17331 * info.el (Info-history-toc-nodes): Doc fix.
17332
17333 * longlines.el (longlines-mode): Doc fix.
17334
17335 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
17336
17337 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
17338 of statements and in a few more cases (bug#9183).
17339
17340 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
17341 New functions.
17342 (cl-transform-lambda): Use them (bug#9239).
17343
17344 2011-08-05 Martin Rudalics <rudalics@gmx.at>
17345
17346 * window.el (display-buffer-same-window)
17347 (display-buffer-same-frame, display-buffer-other-window)
17348 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
17349 (pop-to-buffer-other-window)
17350 (pop-to-buffer-same-frame-other-window)
17351 (pop-to-buffer-other-frame): Make them defuns.
17352 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
17353
17354 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
17355
17356 * subr.el (make-composed-keymap): Move from C. Change calling
17357 convention, and improve docstring to bring attention to a subtle point.
17358 * minibuffer.el (completing-read-default): Adjust accordingly.
17359
17360 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
17361
17362 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
17363 (tramp-open-shell): Use `tramp-shell-quote-argument'.
17364
17365 * net/trampver.el: Update release number.
17366
17367 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
17368
17369 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
17370 "in" (bug#9190).
17371
17372 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17373
17374 * mail/sendmail.el (sendmail-query-once): Restore the current
17375 buffer after querying (bug#9074).
17376
17377 * dired.el (dired-flagged): Use different faces for marked and
17378 flagged files (bug#6117).
17379
17380 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
17381 (bug#4433).
17382
17383 * ido.el (ido-mode): Switch off the message if called
17384 non-interactively.
17385
17386 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
17387 before 587, since it appears that that's more likely to work for
17388 more people.
17389
17390 * cus-edit.el (custom-file): When running under emacs -q, always
17391 refuse to save the customizations, even if the .emacs file doesn't
17392 exist.
17393
17394 * info.el: Remove the `Info-beginning-of-buffer' function
17395 (bug#8325).
17396
17397 * net/network-stream.el (network-stream-open-starttls):
17398 Use `starttls-available-p' to see whether starttls.el can be used.
17399
17400 2011-08-01 Martin Rudalics <rudalics@gmx.at>
17401
17402 * window.el (display-buffer-in-window): Don't set dedicated status
17403 of window here (Bug#9215).
17404 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
17405 (display-buffer-pop-up-side-window)
17406 (display-buffer-in-side-window): Set dedicated status of window here.
17407
17408 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
17409
17410 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
17411 before binding generated-autoload-file.
17412
17413 2011-08-01 Deniz Dogan <deniz@dogan.se>
17414
17415 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
17416
17417 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
17418
17419 Sync with Tramp 2.2.2.
17420
17421 * net/trampver.el: Update release number.
17422
17423 2011-07-30 Juri Linkov <juri@jurta.org>
17424
17425 * dired-aux.el (dired-touch-initial): Remove function.
17426 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
17427 current time, and `default' to the last modification time of the
17428 current marked file (bug#6887).
17429
17430 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
17431
17432 * simple.el (goto-line): Use string-to-number to provide a
17433 numeric argument to read-number (bug#9163).
17434
17435 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
17436
17437 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
17438 connection process, it could be nil.
17439
17440 2011-07-27 Leo Liu <sdl.web@gmail.com>
17441
17442 Simplify url handling in rcirc-mode.
17443
17444 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
17445 (rcirc-browse-url-at-mouse): Remove.
17446 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
17447
17448 2011-07-26 Alan Mackenzie <acm@muc.de>
17449
17450 Fontify bitfield declarations properly.
17451
17452 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
17453 (c-symbol-chars): Now exported as a lang variable.
17454 (c-not-primitive-type-keywords): New lang variable.
17455
17456 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
17457 QT keyword "more" to prevent "more slots: ...." being spuriously
17458 parsed as a bitfield declaration.
17459
17460 * progmodes/cc-engine.el (c-beginning-of-statement-1):
17461 Refactor and enhance to handle bitfield declarations.
17462 (c-punctuation-in): New function.
17463 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
17464 declarations properly.
17465
17466 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
17467
17468 * calendar/icalendar.el (icalendar--all-events): Take care of
17469 multiple vcalendars in a single file.
17470 (icalendar--convert-float-to-ical): Checkdoc fixes.
17471
17472 2011-07-25 Deniz Dogan <deniz@dogan.se>
17473
17474 * image.el (insert-image): Clarifying docstring.
17475
17476 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
17477
17478 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
17479 `tramp-send-command-and-check' if there is no error.
17480 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
17481
17482 2011-07-22 Alan Mackenzie <acm@muc.de>
17483
17484 Prevent cc-langs.elc being loaded at run time.
17485
17486 * progmodes/cc-mode.el: Remove two autoload forms which loaded
17487 cc-langs.
17488
17489 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
17490 "(require 'cc-langs)". Quote a form so it will evaluate at
17491 (cc-mode's) compilation time.
17492
17493 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
17494
17495 * net/tramp.el (tramp-file-name-handler): Avoid recursive
17496 loading. (Bug#9114)
17497
17498 2011-07-21 Martin Rudalics <rudalics@gmx.at>
17499
17500 * window.el (display-buffer-pop-up-window)
17501 (display-buffer-pop-up-side-window)
17502 (display-buffer-in-side-window): Call display-buffer-set-height
17503 and display-buffer-set-width after setting the new window's
17504 buffer so `fit-window-to-buffer' and friends work on the right buffer.
17505
17506 2011-07-20 Sam Steingold <sds@gnu.org>
17507
17508 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
17509 (etags-tags-included-tables): Call `convert-standard-filename' on
17510 the file names contained in TAGS so that windows Emacs can handle
17511 TAGS files created by cygwin ctags.
17512
17513 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
17514
17515 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
17516 which apparently didn't work.
17517
17518 2011-07-19 Roland Winkler <winkler@gnu.org>
17519
17520 * proced.el (proced-send-signal): For *Marked Processes* buffer
17521 put point at beginning of buffer.
17522
17523 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
17524
17525 * proced.el (proced-format): Make header lines align with the text
17526 (bug#1779).
17527
17528 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
17529
17530 * view.el (view-buffer): Allow running in `special' modes if we're
17531 visiting a file (bug#8615).
17532
17533 2011-07-19 Martin Rudalics <rudalics@gmx.at>
17534
17535 * window.el (display-buffer-alist-of-strings-p)
17536 (display-buffer-alist-set-1, display-buffer-alist-set-2):
17537 New functions.
17538 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
17539 more accurately.
17540
17541 2011-07-18 Alan Mackenzie <acm@muc.de>
17542
17543 Fontify declarators properly when, e.g., a jit-lock chunk begins
17544 inside a declaration.
17545
17546 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
17547
17548 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
17549 New function.
17550 (c-complex-decl-matchers): Insert reference to
17551 c-font-lock-enclosing-decls.
17552
17553 * progmodes/cc-engine.el (c-backward-single-comment):
17554 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
17555 to nil around calls to (forward-comment -1).
17556
17557 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
17558
17559 * image.el (put-image): Doc typo fix.
17560
17561 * progmodes/etags.el (tags-search): Doc typo fix.
17562
17563 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
17564 password if we get errors 550 to 554.
17565
17566 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
17567
17568 * net/gnutls.el (gnutls-log-level): Remove.
17569
17570 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
17571 indentation character (bug#6380).
17572
17573 * files.el (buffer-offer-save): Made permanently local (bug#6241).
17574
17575 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
17576 to clarify what the problem is (bug#4291).
17577
17578 * simple.el (current-kill): Clarify what
17579 `interprogram-paste-function' does (bug#7500).
17580 (auto-fill-mode): Document `auto-fill-function' in relation to
17581 `auto-fill-mode' (bug#2470).
17582
17583 2011-07-16 Lawrence Mitchell <wence@gmx.li>
17584
17585 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
17586 method if slot is read-only (bug#9035).
17587
17588 2011-07-16 Martin Rudalics <rudalics@gmx.at>
17589
17590 * frame.el (select-frame-set-input-focus): New argument NORECORD.
17591 * window.el (pop-to-buffer): Select window used even if it was
17592 selected before, see discussion of (Bug#8615), (Bug#6954).
17593 Pass argument NORECORD on to select-frame-set-input-focus.
17594
17595 2011-07-15 Glenn Morris <rgm@gnu.org>
17596
17597 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
17598 Respect help-form.
17599
17600 2011-07-09 Lawrence Mitchell <wence@gmx.li>
17601
17602 * net/gnutls.el (gnutls-min-prime-bits): New variable.
17603 (gnutls-negotiate): Use it.
17604
17605 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
17606
17607 * net/gnutls.el (gnutls-negotiate):
17608 Upcase `gnutls-algorithm-priority'.
17609
17610 2011-07-15 Glenn Morris <rgm@gnu.org>
17611
17612 * jka-compr.el (jka-compr-verbose): Move from here...
17613 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
17614 Add missing :version tag.
17615 * info.el: No need to require jka-compr when compiling.
17616
17617 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
17618
17619 * net/gnutls.el (gnutls-algorithm-priority): New variable.
17620 (gnutls-negotiate): Use it.
17621
17622 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
17623
17624 * info.el (Info-beginning-of-buffer): New command.
17625 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
17626 announcing `b' as the key (bug#8325).
17627 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
17628
17629 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
17630
17631 * international/mule-cmds.el
17632 (describe-specified-language-support): Make the error message
17633 clearer (bug#8905).
17634
17635 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
17636
17637 * isearch.el (isearch-barrier): Add a doc string, since it's
17638 mentioned in a function doc string (bug#8678).
17639
17640 2011-07-15 Martin Rudalics <rudalics@gmx.at>
17641
17642 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
17643 buffer argument (Bug#9083) and self-identifying label argument.
17644
17645 2011-07-15 Glenn Morris <rgm@gnu.org>
17646
17647 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
17648
17649 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
17650
17651 * man.el (Man-fontify-manpage): Fix message when formatting the
17652 man page (bug#7929).
17653
17654 2011-07-14 Eli Zaretskii <eliz@gnu.org>
17655
17656 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
17657 argument LRM; if non-nil, append an invisible LRM character to the
17658 buffer name.
17659 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
17660 last argument non-nil, when formatting buffer names.
17661 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
17662 paragraph direction.
17663
17664 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
17665
17666 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
17667 the man page name (bug#7929).
17668
17669 * image.el (put-image): Mention the `put-image' overlay property
17670 (bug#7834).
17671
17672 * scroll-bar.el (set-scroll-bar-mode): Mention that
17673 `scroll-bar-mode' lists the values (bug#7772).
17674
17675 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
17676 command (bug#7729).
17677
17678 * rect.el (apply-on-rectangle): Return the point after the last
17679 operation.
17680 (string-rectangle): Go to the point after the last operation
17681 (bug#7522).
17682
17683 * printing.el (pr-toggle-region): Clarify the documentation
17684 slightly (bug#7493).
17685
17686 * time.el (display-time-update):
17687 Allow `display-time-mail-function' to return nil (bug#7158).
17688 Fix suggested by Detlev Zundel.
17689
17690 * vc/diff.el (diff): Clarify the order the file names are read
17691 (bug#7111).
17692
17693 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
17694 the doc string (bug#7015).
17695
17696 * font-lock.el (font-lock-maximum-decoration): Mention what
17697 numeric levels mean (bug#6935).
17698
17699 * startup.el (initial-buffer-choice): Don't mention the `none'
17700 selection, which is against policy.
17701
17702 2011-07-14 Martin Rudalics <rudalics@gmx.at>
17703
17704 * window.el (display-buffer-normalize-special):
17705 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
17706
17707 2011-07-14 Eli Zaretskii <eliz@gnu.org>
17708
17709 * subr.el (version<, version<=, version=): Mention "-CVS" and
17710 "-12345" alpha version numbers.
17711
17712 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
17713
17714 * bindings.el: Add advertised binding for set-mark-command
17715 (Bug#5772).
17716
17717 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
17718
17719 * bindings.el (mode-line-other-buffer):
17720 * bookmark.el (bookmark-bmenu-2-window):
17721 * bs.el (bs-cycle-next, bs-cycle-previous):
17722 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
17723 switch-to-buffer.
17724
17725 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
17726 Delete.
17727
17728 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
17729
17730 * follow.el (follow-debug-message, follow-redisplay):
17731 * jka-cmpr-hook.el (with-auto-compression-mode):
17732 Fix typos in docstrings.
17733
17734 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17735
17736 * subr.el (with-silent-modifications): Clarify somewhat what the
17737 macro inhibits (bug#6525).
17738
17739 * simple.el (eval-expression): Note what it does if called
17740 interactively (bug#6495).
17741
17742 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
17743
17744 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
17745 Use pop-to-buffer buffer-or-name if it is nil.
17746
17747 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17748 Remove switch-to-buffer.
17749
17750 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17751
17752 * files.el (make-directory): Clarify that an error will be raised
17753 if there's an error (bug#6397).
17754
17755 * startup.el (initial-buffer-choice): Add `none' as a choice
17756 (bug#6234).
17757
17758 * subr.el (add-hook): Clarify section about buffer-local hooks
17759 (bug#6218).
17760
17761 * dired.el (dired-flagged): Clarify doc string (bug#6117).
17762
17763 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
17764
17765 * tabify.el (untabify): Preserve the current column so that point
17766 doesn't move (bug#6032).
17767
17768 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17769
17770 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
17771 Rewrite to avoid awkward possessive "s" (bug#5986).
17772
17773 2011-07-13 Glenn Morris <rgm@gnu.org>
17774
17775 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
17776 (dired-insert-directory): Give a message the first time
17777 if ls is found not to support --dired.
17778
17779 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17780
17781 * simple.el (toggle-truncate-lines): Clarify what is toggled
17782 (bug#5580). Text by Drew Adams.
17783
17784 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
17785
17786 * simple.el (blink-matching-open): Make the error message from the
17787 last change less verbose.
17788
17789 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
17790
17791 * font-lock.el (font-lock-comment-face): Use the high contrast
17792 "yellow" color for font-lock-comment-face on low color terminals
17793 using a dark background color (bug#4221).
17794
17795 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17796
17797 * dired.el (dired-insert-set-properties): Make the doc string
17798 reflect what it does now (bug#5325).
17799
17800 * simple.el (blink-matching-open): Say that we were unable to find
17801 the match within the limit, if we're limited (bug#5122).
17802
17803 * international/mule-cmds.el (prefer-coding-system): Add an
17804 example (bug#4869).
17805
17806 * progmodes/etags.el (tags-search): Document `file-list-form'
17807 (bug#4731).
17808
17809 2011-07-13 Lawrence Mitchell <wence@gmx.li>
17810
17811 * net/browse-url.el (browse-url-default-browser)
17812 (browse-url-browser-function): Make the default browser choice a
17813 bit more logical (bug#4300). Also clean up the doc string.
17814
17815 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
17816
17817 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
17818 binary endings (bug#4440).
17819
17820 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17821
17822 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
17823 which can be pretty annoying (bug#8971).
17824
17825 * jka-compr.el (jka-compr-verbose): New variable, and use
17826 throughout (bug#8971).
17827
17828 * info.el (Info-find-file): Fall back on the installation
17829 directory if we can't find the info node anywhere else.
17830
17831 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
17832
17833 * vc/vc.el (vc-revert-file):
17834 Don't set file time-stamp in the past. (Bug#5181)
17835
17836 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
17837
17838 * files.el (after-find-file): Give a better error message when
17839 trying to find a symlink that points to a file that doesn't exist
17840 (bug#4398).
17841
17842 * progmodes/cc-vars.el: Remove (probably) misleading comment
17843 (bug#4396).
17844
17845 2011-07-12 Johan Bockgård <bojohan@gnu.org>
17846
17847 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
17848
17849 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
17850
17851 * mouse-sel.el: Hack restoring functionality, while keeping
17852 compatibility with 2010-07-03 changes to mouse selection.
17853 (mouse-sel-primary-overlay): New var.
17854 (mouse-sel-selection-alist): Use it.
17855 (mouse-sel-mode): Doc fix; remove points that are default features
17856 of mouse.el.
17857
17858 2011-07-12 Johan Bockgård <bojohan@gnu.org>
17859
17860 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17861 Fix previous fix (bug#2490).
17862
17863 2011-07-12 Roland Winkler <winkler@gnu.org>
17864
17865 * textmodes/bibtex.el (bibtex-initialize):
17866 Use pop-to-buffer-same-window.
17867 (bibtex-search-entries): Fix interactive call.
17868
17869 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
17870
17871 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17872 Fontise bytecomp Error lines more correctly (bug#2490).
17873 Fix suggested by Johan Bockgård.
17874
17875 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
17876
17877 * dired-x.el (dired-guess-default): Use `delete-dups'.
17878
17879 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
17880
17881 * dired.el (dired-mark-prompt):
17882 * dired-aux.el (dired-read-shell-command): Doc fix.
17883
17884 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17885
17886 * mail/sendmail.el (sendmail-query-once):
17887 Use `customize-save-variable' unconditionally, now that it works under
17888 emacs -Q.
17889
17890 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
17891
17892 * cus-edit.el (custom-file): Take an optional no-error variable.
17893 (customize-save-variable): Set the variable, and give a warning if
17894 running under "emacs -q".
17895
17896 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
17897
17898 * loadhist.el (unload-feature-special-hooks):
17899 Add `auto-coding-functions', `fill-nobreak-predicate' and
17900 `find-directory-functions' (bug#5327).
17901
17902 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17903
17904 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
17905
17906 * cus-edit.el (custom-guess-name-alist): -alist variables should
17907 use the `alist' type (bug#3120). Suggested by Drew Adams.
17908
17909 * printing.el: Add documentation to all the `pr-toggle-' commands.
17910
17911 2011-07-11 Leo Liu <sdl.web@gmail.com>
17912
17913 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
17914 backends where it makes sense (bug#2623).
17915
17916 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17917
17918 * dired-x.el (dired-guess-default): Remove duplicate shell command
17919 entries (bug#2028).
17920 (dired-guess-default): Fix grammar in doc string (bug#2028).
17921 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
17922
17923 * subr.el (remove-duplicates): New conveniency function.
17924
17925 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
17926
17927 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
17928 (bug#1526).
17929
17930 2011-07-10 Martin Rudalics <rudalics@gmx.at>
17931
17932 * window.el (display-buffer-normalize-default): Don't invert
17933 meaning of even-window-heights. Reported by Eli Zaretskii
17934 <eliz@gnu.org>.
17935
17936 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
17937
17938 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
17939
17940 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
17941
17942 * window.el (display-buffer): Fix arguments to
17943 display-buffer-reuse-window in last change.
17944
17945 * faces.el (link): Use a less saturated blue on light backgrounds.
17946
17947 * startup.el (fancy-startup-text, fancy-about-text)
17948 (fancy-startup-tail): Use font-lock faces, for background safety.
17949
17950 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
17951
17952 * emulation/viper-cmd.el (viper-change-state-to-vi):
17953 Limit triggering of abbrev expansion (Bug#9038).
17954
17955 2011-07-09 Martin Rudalics <rudalics@gmx.at>
17956
17957 * window.el (display-buffer-default-specifiers): Remove.
17958 (display-buffer-macro-specifiers): Remove default specifiers.
17959 (display-buffer-alist): Default to nil.
17960 (display-buffer-reuse-window): New optional argument other-window.
17961 (display-buffer-pop-up-window): Allow splitting internal
17962 windows. Check whether a live window was created.
17963 (display-buffer-other-window-means-other-frame)
17964 (display-buffer-normalize-arguments): Rename to
17965 display-buffer-normalize-argument and rewrite. Set the
17966 other-window specifier.
17967 (display-buffer-normalize-special): New function.
17968 (display-buffer-normalize-options): Rename to
17969 display-buffer-normalize-default and rewrite.
17970 (display-buffer-normalize-options-inhibit): Remove.
17971 (display-buffer-normalize-specifiers): Rewrite.
17972 (display-buffer): Process other-window specifier and call
17973 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
17974 more faithfully.
17975 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
17976 (display-buffer-alist-set): Don't handle 'unset default values.
17977 (display-buffer-in-window, display-buffer-alist-set):
17978 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
17979 <tassilo@member.fsf.org>.
17980
17981 2011-07-09 Leo Liu <sdl.web@gmail.com>
17982
17983 * register.el (insert-register): Restore accidental change on
17984 2011-06-26. (Bug#9028)
17985
17986 2011-07-09 Glenn Morris <rgm@gnu.org>
17987
17988 * subr.el (remq): Handle the empty list. (Bug#9024)
17989
17990 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
17991
17992 * mail/sendmail.el (send-mail-function): No longer delay custom
17993 initialization.
17994 * custom.el (custom-initialize-delay): Doc fix.
17995
17996 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
17997
17998 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
17999
18000 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
18001
18002 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
18003 human-friendly prompt.
18004
18005 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
18006
18007 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
18008 provided by a particular plugin.
18009
18010 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
18011
18012 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
18013 save customizations (with "emacs -Q"), just set the variable
18014 instead of erroring out.
18015
18016 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
18017
18018 2011-07-08 Juri Linkov <juri@jurta.org>
18019
18020 * arc-mode.el (archive-zip-expunge, archive-zip-update)
18021 (archive-zip-update-case): Use 7z if found by `executable-find'.
18022 The order of searching the available programs is the same as in
18023 `archive-zip-extract' (bug#8968).
18024
18025 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
18026
18027 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
18028 (menu-bar-options-menu): Tweak descriptions.
18029
18030 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
18031
18032 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
18033 menu items into verb phrases (bug#1421). Also refill to fit under
18034 80 columns.
18035
18036 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
18037
18038 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
18039 (Info-read-node-name): Doc fix (Bug#1084).
18040
18041 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
18042 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
18043 (end-of-sexp, beginning-of-sexp)
18044 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
18045 (forward-symbol, forward-same-syntax, word-at-point)
18046 (sentence-at-point): Doc fix (Bug#1144).
18047
18048 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
18049
18050 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
18051 should cover it (bug#1281).
18052
18053 * cus-edit.el (custom-show): Mark as obsolete.
18054
18055 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
18056 negotiation fails, then possibly try again with a non-encrypted
18057 connection (bug#9017).
18058
18059 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
18060 be used.
18061
18062 2011-07-07 Richard Stallman <rms@gnu.org>
18063
18064 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
18065 property, and handle its changed format.
18066 Look for the correct line number.
18067 Use file's line contents (but not past first =) to find
18068 correct line in message.
18069
18070 2011-07-07 Kenichi Handa <handa@m17n.org>
18071
18072 * international/characters.el (build-unicode-category-table):
18073 Delete it.
18074 (unicode-category-table): Set it by unicode-property-table-internal.
18075
18076 * international/mule-cmds.el (char-code-property-alist): Move to
18077 to src/chartab.c.
18078 (get-char-code-property): Call unicode-property-table-internal to
18079 load a file. Call get-unicode-property-internal where necessary.
18080 (put-char-code-property): Call unicode-property-table-internal to
18081 load a file. Call put-unicode-property-internal where necessary.
18082 put-unicode-property-internal where necessary.
18083 (char-code-property-description):
18084 Call unicode-property-table-internal to load a file.
18085
18086 * international/charprop.el:
18087 * international/uni-bidi.el:
18088 * international/uni-category.el:
18089 * international/uni-combining.el:
18090 * international/uni-comment.el:
18091 * international/uni-decimal.el:
18092 * international/uni-decomposition.el:
18093 * international/uni-digit.el:
18094 * international/uni-lowercase.el:
18095 * international/uni-mirrored.el:
18096 * international/uni-name.el:
18097 * international/uni-numeric.el:
18098 * international/uni-old-name.el:
18099 * international/uni-titlecase.el:
18100 * international/uni-uppercase.el: Regenerate.
18101
18102 * loadup.el: Load international/charprop.el before
18103 international/characters.
18104
18105 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
18106
18107 * window.el (next-buffer, previous-buffer): Signal an error if
18108 called from a minibuffer window.
18109
18110 * bindings.el: Revert 2011-07-04 change.
18111
18112 2011-07-06 Richard Stallman <rms@gnu.org>
18113
18114 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
18115 (rmail-mime-insert-bulk, rmail-mime-insert-text):
18116 Treat markers like ints.
18117 (rmail-mime-entity): Doc fix.
18118
18119 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
18120
18121 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
18122 defcustom again for backwards compatibility.
18123
18124 * simple.el (shell-command-on-region): Fill.
18125
18126 * dired-aux.el (dired-kill-line): Add a doc string.
18127
18128 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
18129 to "\\sw\\|\\s_" (bug#358).
18130
18131 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
18132 (dired-unmark-backward): Ditto.
18133 (dired-flag-backup-files): Ditto.
18134
18135 * dired-x.el (dired-mark-sexp): Ditto.
18136
18137 2011-07-06 Richard Stallman <rms@gnu.org>
18138
18139 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
18140 (rmail-mime-entity): New arg TRUNCATED.
18141 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
18142 New functions.
18143 (rmail-mime-save): Warn if entity is truncated.
18144 (rmail-mime-toggle-hidden): Likewise, for showing.
18145 (rmail-mime-process-multipart): Record when an entity is truncated.
18146
18147 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
18148 if ENTITY is a string.
18149
18150 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
18151
18152 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
18153 of faces when `M-C-x'-ing their definitions (bug#8378).
18154 Also clean up the code slightly.
18155
18156 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
18157 because that makes the colors go away.
18158
18159 * mail/sendmail.el (send-mail-function): Change the default to
18160 `sendmail-query-once'.
18161 (sendmail-query-once): Add an autoload cookie.
18162
18163 * net/network-stream.el (network-stream-open-starttls): Try using
18164 a plain connection even if the server offered STARTTLS, and we
18165 kinda wanted to use it, if Emacs doesn't have any STARTTLS
18166 capability. This should make smtpmail.el work in slightly more
18167 configurations.
18168
18169 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
18170
18171 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
18172 New defun.
18173 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
18174
18175 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
18176
18177 * progmodes/sql.el: Version 3.0
18178 (sql-product-alist): Add product :completion-object,
18179 :completion-column, and :statement attributes.
18180 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
18181 (sql-mode-syntax-table): Mark all punctuation.
18182 (sql-font-lock-keywords-builder): Temporarily remove fallback on
18183 ansi keywords.
18184 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
18185 (sql-mode-oracle-font-lock-keywords): Improve.
18186 (sql-oracle-show-reserved-words): New function for development.
18187 (sql-product-font-lock): Simplify for source code buffers.
18188 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
18189 New functions.
18190 (sql-highlight-product): Set product specific syntax table.
18191 (sql-mode-map): Add statement movement functions.
18192 (sql-ansi-statement-starters, sql-oracle-statement-starters):
18193 New variable.
18194 (sql-statement-regexp, sql-beginning-of-statement)
18195 (sql-end-of-statement, sql-signum): New functions.
18196 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
18197 (sql-show-sqli-buffer): Bug fix.
18198 (sql-interactive-mode): Store connection data as buffer local.
18199 (sql-connect): Add NEW-NAME parameter. Redesign interaction
18200 with sql-interactive-mode.
18201 (sql-save-connection): Save buffer local settings.
18202 (sql-connection-menu-filter): Change menu entry name.
18203 (sql-product-interactive): Bug fix.
18204 (sql-preoutput-hold): New variable.
18205 (sql-interactive-remove-continuation-prompt): Bug fixes.
18206 (sql-debug-redirect): New variable.
18207 (sql-str-literal): New function.
18208 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
18209 Redesign.
18210 (sql-oracle-save-settings, sql-oracle-restore-settings)
18211 (sql-oracle-list-all, sql-oracle-list-table): New functions.
18212 (sql-completion-object, sql-completion-column)
18213 (sql-completion-sqlbuf): New variables.
18214 (sql-build-completions-1, sql-build-completions)
18215 (sql-try-completion): New functions.
18216 (sql-read-table-name): Use them.
18217 (sql-contains-names): New buffer local variable.
18218 (sql-list-all, sql-list-table): Use it.
18219 (sql-oracle-completion-types): New variable.
18220 (sql-oracle-completion-object, sql-sqlite-completion-object)
18221 (sql-postgres-completion-object): New functions.
18222
18223 2011-07-06 Glenn Morris <rgm@gnu.org>
18224
18225 * window.el (pop-to-buffer): Doc fix.
18226
18227 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
18228
18229 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
18230
18231 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
18232
18233 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
18234
18235 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
18236
18237 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
18238
18239 * button.el (button): Inherit from link face. Suggested by Dan
18240 Nicolaescu.
18241
18242 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
18243
18244 * progmodes/gdb-mi.el: Fit in 80 columns.
18245 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
18246 switch-to-buffer.
18247
18248 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
18249 if imenu is simply not configured (bug#8941).
18250
18251 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
18252
18253 * allout.el (allout-post-undo-hook): New allout outline-change
18254 event hook to signal undo activity.
18255 (allout-post-command-business): Run allout-post-undo-hook if an
18256 undo just occurred.
18257 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
18258 * allout-widgets.el (allout-widgets-after-undo-function):
18259 Ensure the integrity of the current item's decoration after it has been
18260 in the vicinity of an undo.
18261 (allout-widgets-mode): Include allout-widgets-after-undo-function
18262 on the new allout-post-undo-hook.
18263
18264 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
18265
18266 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
18267 Let define-derived-mode define it.
18268 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
18269 cycles of abbrev-table inheritance (bug#8998).
18270
18271 2011-07-05 Roland Winkler <winkler@gnu.org>
18272
18273 * textmodes/bibtex.el: Add support for biblatex.
18274 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
18275 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
18276 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
18277 (bibtex-entry-alist, bibtex-field-alist): New variables.
18278 (bibtex-entry-field-alist): Obsolete alias for
18279 bibtex-BibTeX-entry-alist.
18280 (bibtex-entry-alist, bibtex-field-alist): New widgets.
18281 (bibtex-set-dialect): New command.
18282 (bibtex-entry-type, bibtex-entry-head)
18283 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
18284 Bind via bibtex-set-dialect.
18285 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
18286 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
18287 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
18288 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
18289 Define via bibtex-set-dialect.
18290 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
18291 Obey bibtex-no-opt-remove-re.
18292 (bibtex-vec-push, bibtex-vec-incr): New functions.
18293 (bibtex-format-entry, bibtex-field-list)
18294 (bibtex-print-help-message, bibtex-validate)
18295 (bibtex-search-entries): Use new format of bibtex-entry-alist.
18296
18297 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
18298
18299 * progmodes/compile.el (compilation-goto-locus):
18300 * net/tramp-cmds.el (tramp-append-tramp-buffers):
18301 * bs.el (bs-cycle-next, bs-cycle-previous):
18302 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
18303 * bindings.el (mode-line-other-buffer):
18304 * autoinsert.el (auto-insert):
18305 * arc-mode.el (archive-extract):
18306 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
18307
18308 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
18309
18310 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
18311 Fix check of `emacs-lock-unlockable-modes'.
18312 Coerce true values of `emacs-lock--try-unlocking' to t.
18313
18314 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
18315
18316 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
18317 * emacs-lock.el: New file.
18318
18319 2011-07-05 Julien Danjou <julien@danjou.info>
18320
18321 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
18322 than `boundp' to check if face is set.
18323
18324 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
18325
18326 * register.el (registerv-make):
18327 * window.el (window-min-height): Fix typos in docstrings.
18328
18329 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
18330
18331 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
18332 Update doc string.
18333
18334 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
18335
18336 * server.el (server-execute): Catch quit and call
18337 `server-return-error' to pass the error back to emacsclient and
18338 close the connection (bug#8942).
18339
18340 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
18341
18342 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
18343 insecure exception for current topic. Also note that auto-saves
18344 are handled differently.
18345
18346 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
18347 State variables for tracking auto-save inhibition situation.
18348
18349 (allout-write-contents-hook-handler): Rename from
18350 'allout-write-file-hook-handler', and describe how it depends on
18351 write-contents-functions sensitivity to non-nil value to prevent
18352 file write.
18353
18354 (allout-auto-save-hook-handler): Remove. auto-save does not check
18355 this in individual buffers, only in the starting buffer, so this
18356 is not the right way for us to inhibit auto-save in a buffer
18357 according to its condition.
18358
18359 (allout-mode): Use new allout-write-contents-hook-handler, and
18360 only with write-contents-functions. Remove auto-save provisions -
18361 they're implemented elsewhere.
18362
18363 (allout-before-change-handler): If undo is in progress, note that
18364 for attention of allout-post-command-business.
18365
18366 (allout-post-command-business): If the command we're following was
18367 an undo, check for change in the status of encrypted items and
18368 adjust auto-save inhibitions accordingly.
18369
18370 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
18371 according to whether there are or aren't any plain-text topics
18372 pending encryption.
18373
18374 (allout-inhibit-auto-save-info-for-decryption):
18375 Adjust buffer-saved-size and some allout state to inhibit auto-saves
18376 if there are plain-text topics pending encryption.
18377
18378 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
18379 buffer-saved-size and some allout state to not inhibit auto-saves
18380 if there are no longer any plain-text topics pending encryption.
18381
18382 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
18383 No longer provide for exemption of the current topic.
18384
18385 2011-07-04 Juri Linkov <juri@jurta.org>
18386
18387 Add 7z operations to delete and save changed members (bug#8968).
18388 * arc-mode.el (archive-7z-expunge, archive-7z-update):
18389 New defcustoms.
18390 (archive-7z-write-file-member): New function.
18391 (archive-7z-summarize): Fix the number of dashes in the
18392 listing output.
18393
18394 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
18395
18396 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
18397 (bug#8958).
18398
18399 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
18400
18401 * bindings.el: Ignore next-buffer and previous-buffer in
18402 minibuffer-local-map.
18403
18404 * font-lock.el (font-lock-builtin-face): Change light background
18405 color to dark slate blue (Bug#6693).
18406
18407 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
18408
18409 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
18410
18411 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
18412
18413 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
18414 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18415 Add switch-to-buffer.
18416
18417 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
18418
18419 * isearch.el (isearch-search-fun-function): Clarify further the
18420 meaning of the function returned.
18421
18422 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
18423
18424 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
18425
18426 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
18427 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
18428 Use it.
18429 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
18430 `tramp-default-remote-path' does not exist.
18431 (tramp-send-command-and-read): New optional argument NOERROR.
18432 (tramp-open-connection-setup-interactive-shell)
18433 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
18434 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
18435 (tramp-process-sentinel): Flush also process' connection property.
18436 (tramp-sh-handle-start-file-process): Do not set process
18437 sentinel. It is done now ...
18438 (tramp-maybe-open-connection): ... here. (Bug#8929)
18439
18440 2011-07-04 MON KEY <monkey@sandpframing.com>
18441
18442 * play/animate.el (animate-string): Doc fixes and allow changing
18443 the buffer name (bug#5417).
18444
18445 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
18446
18447 * play/animate.el (animation-buffer-name): Rename from *animate*.
18448
18449 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
18450
18451 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
18452 This is simpler and helps future-proof the code.
18453 (timer-until): Use time-subtract and float-time.
18454 (timer--time-less-p): Use time-less-p.
18455
18456 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
18457
18458 * type-break.el (timep): Use the value of `float-time' to avoid a
18459 byte-compiler warning.
18460
18461 * server.el (server-eval-and-print): Return any result, even nil.
18462
18463 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
18464
18465 * type-break.el: Accept time formats that the builtins accept.
18466 (timep, type-break-time-difference): Accept any format that
18467 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
18468 This is simpler and helps future-proof the code.
18469 (type-break-time-difference): Round rather than ignoring
18470 subseconds components.
18471
18472 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18473
18474 * info.el (Info-apropos-matches): Make non-interactive, since it
18475 doesn't seem to do anything useful as a command (bug#8829).
18476
18477 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
18478
18479 * frame.el (frame-background-mode, frame-set-background-mode):
18480 Move from faces.el.
18481 (frame-default-terminal-background): New function.
18482
18483 * custom.el (custom-push-theme): Don't record faces in `changed'
18484 theme; this doesn't work correctly for per-frame face settings.
18485 (disable-theme): Use face-set-after-frame-default to reset faces.
18486 (custom--frame-color-default): New function.
18487
18488 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18489
18490 * dired.el (dired-flagging-regexp): Remove unused variable
18491 (bug#8769).
18492
18493 2011-03-29 Kevin Ryde <user42@zip.com.au>
18494
18495 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18496 `perl-Test2' extend to match possible "fail #N" rep count
18497 (bug#8377).
18498
18499 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18500
18501 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
18502 `smtpmail-via-smtp' now returns the error instead of nil.
18503
18504 * isearch.el (isearch-search-fun-function): Clarify the doc string
18505 (bug#8101).
18506
18507 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
18508
18509 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
18510 unnecessary spaces (bug#8987).
18511
18512 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18513
18514 * net/network-stream.el (open-network-stream): Use the
18515 :end-of-capability command thoughout.
18516
18517 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
18518
18519 * net/network-stream.el (open-network-stream): Add the
18520 :end-of-capability command parameter, used by pop3.el.
18521
18522 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18523
18524 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
18525
18526 * fringe.el (fringe-query-style): Remove redundant text " (type ?
18527 for list)" (bug#6475).
18528
18529 * files.el (file-expand-wildcards): Ignore non-readable
18530 sub-directories while trying to find matches instead of signaling
18531 an error (bug#6297).
18532
18533 * man.el (Man-reference-regexp): Allow matching possible
18534 word-wrapped references (bug#6289).
18535
18536 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
18537 for consistency with the other vc buffers (bug#6197).
18538 (vc-checkin): Ditto.
18539
18540 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
18541
18542 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
18543
18544 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18545
18546 * custom.el (defcustom): Clarify that :set is only used in the
18547 Customize user interface (bug#6089).
18548
18549 * progmodes/flymake.el (flymake-mode): If the buffer isn't
18550 associated with a file, refuse to run instead of erroring out
18551 (bug#6084).
18552
18553 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
18554 the doc string, since it appears that using `fill-column' always
18555 controls the width (bug#7845).
18556
18557 * simple.el (shell-command-on-region): Say where the error output
18558 went if `shell-command-default-error-buffer' is set (bug#6857).
18559
18560 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
18561
18562 * allout.el (allout-yank-processing): Adjust cursor position for
18563 backwards-deleted space.
18564
18565 (allout-rebullet-heading): Register changes with
18566 allout-exposure-changed-hook, so the modified topic is properly
18567 decorated.
18568
18569 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18570
18571 * minibuffer.el (completion-in-region): Document PREDICATE
18572 (bug#7136).
18573
18574 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
18575 of keyword/argument pairs (bug#6904).
18576
18577 * replace.el (multi-occur):
18578 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
18579
18580 2011-07-02 Drew Adams <drew.adams@oracle.com>
18581
18582 * dired.el (dired-mark-if): Make the message about whether it's
18583 marking or unmarking clearer (bug#8523).
18584
18585 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18586
18587 * disp-table.el (display-table-print-array): New function.
18588 (describe-display-table): Use it to print the vectors more pretty
18589 (Bug#8859).
18590
18591 2011-07-02 Martin Rudalics <rudalics@gmx.at>
18592
18593 * window.el (window-state-get-1): Don't assign clone numbers.
18594 Add clone-of item to list of window parameters.
18595 (window-state-put-2): Don't process clone numbers.
18596 (display-buffer-alist): Fix doc-string.
18597
18598 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
18599
18600 * subr.el (remq): Don't allocate if it's not needed.
18601 (keymap--menu-item-binding, keymap--menu-item-with-binding)
18602 (keymap--merge-bindings): New functions.
18603 (keymap-canonicalize): Use them to refine the canonicalization.
18604 * minibuffer.el (minibuffer-local-completion-map)
18605 (minibuffer-local-must-match-map): Move initialization from C.
18606 (minibuffer-local-filename-completion-map): Move initialization from C;
18607 don't inherit from anything here.
18608 (minibuffer-local-filename-must-match-map): Make obsolete.
18609 (completing-read-default): Use make-composed-keymap to combine
18610 minibuffer-local-filename-completion-map with either
18611 minibuffer-local-must-match-map or
18612 minibuffer-local-filename-completion-map.
18613
18614 2011-07-01 Glenn Morris <rgm@gnu.org>
18615
18616 * type-break.el (type-break-time-sum): Use dolist.
18617
18618 * textmodes/flyspell.el (flyspell-word-search-backward):
18619 Replace CL function.
18620
18621 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
18622
18623 * mouse.el (mouse--strip-first-event): New function.
18624 (function-key-map): Use it to map fringe clicks to normal clicks
18625 by default.
18626
18627 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
18628 (vc-bzr-revision-completion-table): Add support for annotate and date.
18629
18630 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
18631 inherit from parent.
18632
18633 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
18634
18635 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
18636 (dired-show-file-type): Doc fixup (bug#8818).
18637
18638 * dired.el (dired-mode): Fix up the doc string as suggested by
18639 Drew Adams (bug#8817).
18640
18641 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
18642 cookie, since the manual says that it should be possible to add
18643 this function to `find-file-hook' (bug#8709).
18644
18645 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
18646
18647 * progmodes/cfengine.el: Moved all cfengine3.el functionality
18648 here. Noted Ted Zlatanov as the maintainer.
18649 (cfengine-common-settings, cfengine-common-syntax): New functions
18650 to set up common things between `cfengine-mode' and
18651 `cfengine3-mode'.
18652 (cfengine3-mode): New mode.
18653 (cfengine3-defuns cfengine3-defuns-regex
18654 (cfengine3-class-selector-regex cfengine3-category-regex)
18655 (cfengine3-vartypes cfengine3-font-lock-keywords)
18656 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
18657 (cfengine3-indent-line): Add from cfengine3.el.
18658
18659 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
18660
18661 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
18662
18663 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
18664
18665 2011-07-01 Martin Rudalics <rudalics@gmx.at>
18666
18667 * window.el (same-window-buffer-names, same-window-regexps)
18668 (same-window-p, special-display-frame-alist)
18669 (special-display-popup-frame, special-display-function)
18670 (special-display-buffer-names, special-display-regexps)
18671 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
18672 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18673 (split-window-preferred-function, split-height-threshold)
18674 (split-width-threshold, even-window-heights)
18675 (display-buffer-mark-dedicated, window-splittable-p)
18676 (split-window-sensibly, window-safely-shrinkable-p):
18677 Un-obsolete.
18678 (display-buffer): Don't spread args with function specifier
18679 because special-display-popup-frame won't like it.
18680
18681 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
18682
18683 Time-stamp simplifications and fixes.
18684 These improve accuracy slightly, and future-proof the code
18685 against some potential changes to current-time format.
18686
18687 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
18688 by using time-since and float-time.
18689
18690 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
18691 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
18692 + NNN microseconds".
18693
18694 * type-break.el (type-break-time-sum): Rewrite using time-add.
18695
18696 * play/hanoi.el (hanoi-current-time-float): Remove.
18697 All uses replaced by float-time.
18698
18699 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
18700 This yields a more-accurate answer.
18701 (rng-time-to-float): Remove; no longer needed.
18702
18703 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
18704
18705 * calendar/timeclock.el (timeclock-seconds-to-time):
18706 Defalias to seconds-to-time, since they're the same thing.
18707
18708 * emacs-lisp/elp.el (elp-elapsed-time):
18709 * emacs-lisp/benchmark.el (benchmark-elapse):
18710 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
18711
18712 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
18713
18714 * window.el (bury-buffer): Don't iconify the only frame.
18715 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
18716 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
18717
18718 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
18719
18720 * eshell/em-smart.el (eshell-smart-display-navigate-list):
18721 Add mouse-yank-primary.
18722
18723 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
18724
18725 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
18726
18727 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
18728
18729 * emacs-lisp/find-func.el (find-library--load-name): New fun.
18730 (find-library-name): Use it to find relative load names when provided
18731 absolute file name (bug#8803).
18732
18733 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
18734
18735 * textmodes/flyspell.el (flyspell-word): Consider words that
18736 differ only in case as potential doublons (bug#5687).
18737
18738 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
18739 Remove two rather uninteresting debugging-like messages to make
18740 debbugs.el more silent.
18741
18742 * comint.el (comint-password-prompt-regexp): Accept "Response" as
18743 a password-like phrase.
18744
18745 2011-06-30 Masatake YAMATO <yamato@redhat.com>
18746
18747 * progmodes/cc-guess.el: New file.
18748
18749 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
18750
18751 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
18752 derived from `c-basic-common-init'.
18753
18754 * progmodes/cc-mode.el (top-level): Require cc-guess.
18755 (c-basic-common-init): Use `cc-choose-style-for-mode'.
18756
18757 2011-06-30 Lawrence Mitchell <wence@gmx.li>
18758
18759 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
18760
18761 2011-06-30 Alan Mackenzie <acm@muc.de>
18762
18763 * progmodes/cc-engine.el (c-guess-continued-construct):
18764 Correct the handling of template-args-cont, particularly for when font
18765 lock is disabled. Name this case as "CASE G".
18766
18767 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
18768
18769 * allout.el (allout-yank-processing): Fix injection of extra space
18770 between bullet and non-whitespace character in first topic when
18771 pasting, ensuring that the actual spacing in the pasted topic
18772 following the bullet char is preserved. This extra space was
18773 causing pasted encrypted topics to get a decrypted status even
18774 when the content was actually still encrypted. Now the decryption
18775 status from before the paste is preserved.
18776
18777 (allout-flag-region): Set all allout overlays so they evaporate
18778 when reduced to zero length (evanescent), to prevent overlay
18779 leakage.
18780
18781 2011-06-30 Glenn Morris <rgm@gnu.org>
18782
18783 * w32-fns.el (w32-charset-info-alist): Declare.
18784
18785 * find-dired.el (find-grep-options): Simplify.
18786
18787 * term/ns-win.el (ns-set-resource): Declare.
18788
18789 * ses.el (row, col): Declare dynamic variables honestly.
18790
18791 * textmodes/reftex-parse.el (index-tags): Declare.
18792
18793 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
18794
18795 * cus-edit.el (customize-push-and-save): New function.
18796
18797 * files.el (hack-local-variables-confirm): Use it.
18798
18799 * custom.el (load-theme): New arg NO-CONFIRM.
18800 Use customize-push-and-save (Bug#8720).
18801 (custom-enabled-themes): Doc fix.
18802
18803 * cus-theme.el (customize-create-theme)
18804 (custom-theme-merge-theme): Callers to load-theme changed.
18805
18806 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
18807
18808 * thingatpt.el (thing-at-point-short-url-regexp): Require that
18809 short URLs have at least one dot in them (bug #7614).
18810
18811 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
18812 nil, because using a pty is apparently too slow (bug #895).
18813
18814 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
18815
18816 * mail/sendmail.el (sendmail-query-once): New function.
18817 (sendmail-query-once-function): New variable.
18818
18819 2011-06-29 Glenn Morris <rgm@gnu.org>
18820
18821 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
18822
18823 * ses.el (top-level): Require cl when compiling.
18824 (ses-set-localvars): Fix error statement.
18825 Call it at compile time to silence a storm of warnings.
18826
18827 2011-06-29 Martin Rudalics <rudalics@gmx.at>
18828
18829 * window.el (normalize-live-buffer): Rename to
18830 window-normalize-buffer.
18831 (normalize-live-frame): Rename to window-normalize-frame.
18832 (normalize-any-window): Rename to window-normalize-any-window.
18833 (normalize-live-window): Rename to window-normalize-live-window.
18834 (make-window-atom): Rename to window-make-atom.
18835 (window-resize-reset): Rename to window--resize-reset.
18836 (window-resize-reset-1): Rename to window--resize-reset-1.
18837 (resize-mini-window): Rename to window--resize-mini-window.
18838 (resize-subwindows-skip-p): Rename to
18839 window--resize-subwindows-skip-p.
18840 (resize-subwindows-normal): Rename to
18841 window--resize-subwindows-normal.
18842 (resize-subwindows): Rename to window--resize-subwindows.
18843 (resize-other-windows): Rename to window--resize-siblings.
18844 (resize-this-window): Rename to window--resize-this-window.
18845 (resize-root-window): Rename to window--resize-root-window.
18846 (resize-root-window-vertically): Rename to
18847 window--resize-root-window-vertically.
18848 (normalize-buffer-to-display): Rename to
18849 window-normalize-buffer-to-display.
18850 (normalize-buffer-to-switch-to): Rename to
18851 window-normalize-buffer-to-switch-to.
18852 Correspondingly update all callers of the functions listed
18853 above.
18854 (display-buffer-alist, display-buffer-normalize-arguments)
18855 (display-buffer-normalize-options, display-buffer)
18856 (display-buffer-alist-set): Use "function" instead of
18857 "fun-with-args".
18858
18859 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
18860
18861 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
18862 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
18863 debbugs.gnu.org. Mention acknowledgment email.
18864
18865 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
18866
18867 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
18868 buffer multibyteness, since it shouldn't matter.
18869
18870 2011-06-28 Martin Rudalics <rudalics@gmx.at>
18871
18872 * window.el (display-buffer-in-side-window): Handle dedicated
18873 windows as in display-buffer-reuse-window.
18874 (display-buffer-normalize-alist): Use value of override
18875 specifier.
18876 (display-buffer-normalize-specifiers): Use value of
18877 other-window-means-other-frame specifier.
18878 (display-buffer-alist): Rewrite some texts in widgets.
18879 (display-buffer): Spread arguments when calling function
18880 specified by fun-with-args.
18881
18882 2011-06-28 Deniz Dogan <deniz@dogan.se>
18883
18884 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
18885 Unnest `let'.
18886
18887 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
18888 selectors (Bug#5732).
18889 (css-proprietary-nmstart-re): Use `regexp-opt'.
18890
18891 2011-06-27 Jari Aalto <jari.aalto@cante.net>
18892
18893 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
18894 (eshell-ls-date-format): New defcustom.
18895 (eshell-ls-file): Use it.
18896
18897 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
18898
18899 * help-fns.el (describe-variable): Fix message for terminal-local vars.
18900
18901 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
18902
18903 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
18904 (ange-ftp-make-tmp-name): New arg.
18905 (ange-ftp-file-local-copy): Use it.
18906
18907 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
18908
18909 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
18910 no-conversion (Bug#8870).
18911
18912 2011-06-27 Martin Rudalics <rudalics@gmx.at>
18913
18914 * window.el (window-right, window-left, window-child)
18915 (window-child-count, window-last-child)
18916 (window-iso-combination-p, walk-window-tree-1)
18917 (window-atom-check-1, window-tree-1, delete-window)
18918 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
18919 new naming conventions - window-vchild, window-hchild,
18920 window-next and window-prev are now called window-top-child,
18921 window-left-child, window-next-sibling and window-prev-sibling
18922 respectively.
18923 (resize-window-reset): Rename to window-resize-reset.
18924 (resize-window-reset-1): Rename to window-resize-reset-1.
18925 (resize-window): Rename to window-resize.
18926 (window-min-height, window-min-width)
18927 (resize-mini-window, resize-this-window, resize-root-window)
18928 (resize-root-window-vertically, adjust-window-trailing-edge)
18929 (enlarge-window, shrink-window, maximize-window)
18930 (minimize-window, delete-window, quit-restore-window)
18931 (split-window, balance-windows, balance-windows-area-adjust)
18932 (balance-windows-area, window-state-put-2)
18933 (display-buffer-even-window-sizes, display-buffer-set-height)
18934 (display-buffer-set-width, set-window-text-height)
18935 (fit-window-to-buffer): Rename all "resize-window" prefixed
18936 calls to use the "window-resize" prefix convention.
18937 (display-buffer-alist): Fix symbol for label specifier.
18938 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
18939 corresponding specifier.
18940 Reported by Juanma Barranquero <lekktu@gmail.com>.
18941
18942 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
18943
18944 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
18945 convention.
18946 (ses-call-printer): Does not pass an empty string to formatter when the
18947 cell is empty to keep from barking printer Calc math-format-value.
18948
18949 2011-06-27 Richard Stallman <rms@gnu.org>
18950
18951 * battery.el (battery-mode-line-limit): New variable.
18952 (battery-update): Handle it.
18953
18954 * mail/rmailmm.el (rmail-mime-process-multipart):
18955 Handle truncated messages.
18956
18957 2011-06-27 Glenn Morris <rgm@gnu.org>
18958
18959 * progmodes/flymake.el (flymake-err-line-patterns):
18960 Allow for column numbers in the ant/javac pattern. (Bug#8866)
18961
18962 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
18963
18964 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
18965 (ses--clean-!, ses--clean-_): New functions.
18966 (ses-range): Add configurability of readout order, and conversion
18967 to Calc vector.
18968
18969 * ses.el (ses-repair-cell-reference-all): New function.
18970 (ses-cell-symbol): Set macro as safe, so that it can be used in
18971 formulas.
18972
18973 * ses.el: Update cycle detection algorithm.
18974 (ses-localvars): Add ses--Dijkstra-attempt-nb and
18975 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
18976 (ses-set-localvars): New function.
18977 (ses-make-cell): Add property-list as a cell element.
18978 (ses-cell-property-get-fun, ses-cell-property-get)
18979 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
18980 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
18981 New functions.
18982 (ses-cell-property-set, ses-cell-property-pop)
18983 (ses-cell-property-get-handle): New macro.
18984 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
18985 New aliases, used for code readability.
18986 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
18987 cycle detection.
18988 (ses-self-reference-early-detection): New defcustom.
18989 (ses-formula-references): Robustify against self-referring cells.
18990 (ses-mode): Use ses-set-localvars.
18991 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
18992 before lauching the update processing.
18993 (ses-initialize-Dijkstra-attempt): New function.
18994 (ses-recalculate-cell): Update for cycle detection based on
18995 Dijkstra algorithm.
18996
18997 * ses.el: Fix commenting and indenting convention.
18998
18999 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
19000
19001 * bs.el (bs-cycle-next): Complete last change.
19002
19003 2011-06-27 Drew Adams <drew.adams@oracle.com>
19004
19005 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
19006
19007 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
19008
19009 * net/network-stream.el (network-stream-open-starttls):
19010 Don't re-get capabilities unless we've reestablished connection.
19011 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
19012
19013 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
19014 to binary to possibly avoid line encoding issues on Windows (among
19015 other things).
19016
19017 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
19018
19019 * net/network-stream.el (open-network-stream): Return an :error
19020 saying what the problem was, if possible.
19021
19022 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
19023 server.
19024
19025 * net/network-stream.el (network-stream-open-starttls): If we
19026 wanted to use STARTTLS, and the server offered it, but we weren't
19027 able to because we had no STARTTLS support, then close the connection.
19028 (open-network-stream): Return an :error element, if present.
19029
19030 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
19031
19032 * hl-line.el (hl-line-sticky-flag): Doc fix.
19033 (global-hl-line-sticky-flag): New option (Bug#8323).
19034 (global-hl-line-highlight): Obey it.
19035
19036 * vc/vc.el (vc-revert-show-diff): Default to t.
19037
19038 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
19039
19040 * allout-widgets.el (allout-widgets-post-command-business):
19041 Stop decorating intermediate isearch matches. They're not being
19042 undecorated when an isearch is continued past, and isearch
19043 automatically collapses them. This leads to "widget leaks", where
19044 decorated items accumulate in collapsed areas. Lines with lots of
19045 hidden widgets can slow down cursor travel, substantially.
19046 Too much complicated machinery would be needed to ensure undecoration,
19047 so we're doing without this nicety.
19048
19049 (allout-widgets-tally-string): Don't try to do a hash-table-count
19050 of allout-widgets-tally when it's nil. This eliminates spurious "Error
19051 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
19052 *Messages* when allout-widgets-maintain-tally is t.
19053
19054 2011-06-26 Martin Rudalics <rudalics@gmx.at>
19055
19056 * window.el (display-buffer-normalize-argument): Rename to
19057 display-buffer-normalize-arguments. Handle special meaning of
19058 LABEL argument. Respect special-display-function when popping up
19059 a new frame. Fix code searching for a window showing the buffer
19060 on another frame.
19061 (display-buffer-normalize-specifiers):
19062 Call display-buffer-normalize-arguments.
19063 (display-buffer-in-window): Don't undedicate the window if its
19064 buffer remains the same.
19065 Reported by Drew Adams <drew.adams@oracle.com>.
19066 (display-buffer-alist): Add choice for same-window macro
19067 specfier.
19068 (display-buffer): Mention special meaning of LABEL argument in
19069 doc-string. Fix quoting. Don't pop up a new frame even as
19070 fallback.
19071
19072 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
19073
19074 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
19075 avoid deleting the current window in some cases (bug#8911).
19076
19077 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
19078
19079 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
19080 (Bug#8934)
19081
19082 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
19083
19084 * net/network-stream.el (network-stream-open-starttls):
19085 Use built-in TLS support if `gnutls-available-p' is true.
19086 (network-stream-open-tls): Ditto.
19087
19088 2011-06-26 Leo Liu <sdl.web@gmail.com>
19089
19090 * register.el (registerv): New struct.
19091 (registerv-make): New function.
19092 (jump-to-register, describe-register-1, insert-register):
19093 Support the jump-func, print-func and insert-func slot of a registerv
19094 struct. (Bug#8415)
19095
19096 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
19097
19098 * vc/vc.el (vc-revert-show-diff): New defcustom.
19099 (vc-diff-internal): New arg specifying diff buffer.
19100 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
19101 reuse an existing *vc-diff* buffer (Bug#8927).
19102
19103 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
19104
19105 2011-06-26 Glenn Morris <rgm@gnu.org>
19106
19107 * progmodes/f90.el (f90-critical-indent): New option.
19108 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
19109 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
19110 (f90-mode): Doc fix.
19111 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
19112 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
19113 (f90-beginning-of-block, f90-next-block, f90-indent-region)
19114 (f90-match-end): Handle block, critical.
19115
19116 2011-06-25 Glenn Morris <rgm@gnu.org>
19117
19118 * calendar/diary-lib.el (diary-included-files): Doc fix.
19119 (diary-include-files): New function, extracted from
19120 diary-include-other-diary-files and diary-mark-included-diary-files.
19121 (diary-include-other-diary-files, diary-mark-included-diary-files):
19122 Just call diary-include-files.
19123 (diary-mark-entries): Reset diary-included-files on first call.
19124
19125 * calendar/diary-lib.el (diary-mark-entries)
19126 (diary-mark-included-diary-files):
19127 Visit included diary-files in temp buffers.
19128
19129 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
19130 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
19131 (f90-start-block-re, f90-imenu-generic-expression)
19132 (f90-looking-at-program-block-start, f90-no-block-limit):
19133 Add support for submodules.
19134
19135 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
19136 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
19137
19138 2011-06-25 Eli Zaretskii <eliz@gnu.org>
19139
19140 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
19141 buffer-file-type before setting its value, to avoid disastrous
19142 global effects on decoding files for DOS/Windows systems. (Bug#8780)
19143
19144 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
19145
19146 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
19147
19148 * ses.el (ses-unload-function):
19149 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
19150
19151 * proced.el (proced-unload-function):
19152 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
19153
19154 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
19155
19156 * server.el (server-create-window-system-frame): Add parameters arg.
19157 (server-process-filter): Doc fix. Handle frame-parameters.
19158
19159 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
19160
19161 Fix bug#8730, bug#8781.
19162
19163 * loadhist.el (unload--set-major-mode): New function.
19164 (unload-feature): Use it.
19165
19166 * progmodes/python.el (python-after-info-look): Add autoload cookie.
19167 (python-unload-function): New function.
19168
19169 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
19170
19171 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
19172
19173 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
19174
19175 * net/browse-url.el (browse-url-firefox-program): Add icecat to
19176 the candidates list.
19177
19178 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
19179
19180 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
19181
19182 2011-06-23 Richard Stallman <rms@gnu.org>
19183
19184 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
19185 (rmail-variables): Set next-error-move-function.
19186 (rmail-what-message): Take argument POS.
19187 (rmail-next-error-move): New function.
19188
19189 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
19190
19191 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
19192 messages for adjacent non-terminals.
19193
19194 2011-06-23 Richard Stallman <rms@gnu.org>
19195
19196 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
19197 (rmail-show-message-1): Preserve buffer modified flag.
19198 (rmail-start-mail): Don't specify use of rmail-mail-return;
19199 that's done by mail-bury now.
19200 (rmail-mail-return): Handle arg NEWBUF.
19201
19202 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
19203
19204 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
19205 SIZE is a number.
19206
19207 2011-06-23 Martin Rudalics <rudalics@gmx.at>
19208
19209 * window.el (get-lru-window, get-mru-window)
19210 (get-largest-window): Never return a minibuffer window.
19211 (display-buffer-pop-up-window): Fix a bug that could lead to
19212 reusing the minibuffer window.
19213 (display-buffer): Pass original specifier argument to
19214 display-buffer-function instead of the normalized one.
19215 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
19216
19217 2011-06-22 Leo Liu <sdl.web@gmail.com>
19218
19219 * minibuffer.el (completing-read-function)
19220 (completing-read-default): Move from minibuf.c.
19221
19222 2011-06-22 Richard Stallman <rms@gnu.org>
19223
19224 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
19225 to Rmail even if not started by a special Rmail command.
19226
19227 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
19228 Copy the buffer currently showing just one message.
19229
19230 2011-06-22 Roland Winkler <winkler@gnu.org>
19231
19232 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
19233 (bibtex-clean-entry): First delete the old key so that a
19234 customized algorithm for generating the new key does not get
19235 confused by the old key.
19236 (bibtex-url): Obey regexp of first step.
19237 (bibtex-search-entries): Do not use add-to-list with local
19238 list-var.
19239
19240 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
19241
19242 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
19243 stored a user name, then query for the password first, instead of
19244 waiting for SMTP to give an error message and the trying again.
19245
19246 2011-06-22 Lawrence Mitchell <wence@gmx.li>
19247
19248 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
19249 BUFFER in call-process.
19250
19251 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
19252
19253 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
19254 QUIT twice.
19255 (smtpmail-try-auth-methods): Require user name and password from
19256 auth-source.
19257
19258 2011-06-22 Martin Rudalics <rudalics@gmx.at>
19259
19260 * window.el (display-buffer-default-specifiers)
19261 (display-buffer-alist): Remove entries for pop-up-frame-alist.
19262 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
19263 (split-window): Normalize SIDE argument (Bug#8916).
19264
19265 * frame.el (pop-up-frame-alist, pop-up-frame-function)
19266 (special-display-frame-alist, special-display-popup-frame):
19267 Remove duplicate declarations. These are now in window.el.
19268
19269 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19270
19271 * mail/smtpmail.el (smtpmail-via-smtp):
19272 Set :use-starttls-if-possible so that we always use STARTTLS if the
19273 server supports it. SMTP servers that support STARTTLS commonly
19274 require it.
19275
19276 * net/network-stream.el (network-stream-open-starttls): Support
19277 upgrading to STARTTLS always, even if we don't have built-in support.
19278 (open-network-stream): Add the :always-query-capabilities keyword.
19279
19280 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
19281 upgrades with `open-network-stream', and rely solely on
19282 auth-source for all credentials. Big changes throughout the file,
19283 but in particular:
19284 (smtpmail-auth-credentials): Remove.
19285 (smtpmail-starttls-credentials): Remove.
19286 (smtpmail-via-smtp): Check for servers saying they want AUTH after
19287 MAIL FROM, too.
19288
19289 * net/network-stream.el (network-stream-open-starttls):
19290 Provide support for client certificates both for external and built-in
19291 STARTTLS.
19292 (auth-source): Require.
19293 (open-network-stream): Document the :client-certificate keyword.
19294 (network-stream-certificate): Change cert-cert to cert and
19295 cert-key to key.
19296
19297 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
19298
19299 * net/tramp-cache.el (top): Don't load the persistency file when
19300 "emacs -Q" has been called.
19301
19302 2011-06-21 Tim Harper <timcharper@gmail.com>
19303
19304 * term/ns-win.el (ns-initialize-window-system):
19305 Set application-specific `ApplePressAndHoldEnabled' system
19306 resource to NO as it is not yet supported by the NS port.
19307
19308 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
19309
19310 * misc.el (list-dynamic-libraries--refresh): Compute header here...
19311 (list-dynamic-libraries): ...not here.
19312
19313 2011-06-21 Leo Liu <sdl.web@gmail.com>
19314
19315 * subr.el (sha1): Implement sha1 using secure-hash.
19316
19317 2011-06-21 Martin Rudalics <rudalics@gmx.at>
19318
19319 * window.el (display-buffer-alist): In default value do not
19320 enforce searching a window on any but the selected frame.
19321 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
19322 (display-buffer-select-window): Remove function.
19323 (display-buffer-in-window): When a window on another frame gets
19324 reused, do not select it any more but just raise its frame if
19325 necessary (Bug#8851) and (Bug#8856).
19326 (display-buffer-normalize-options): Handle pop-up-frames related
19327 options more faithfully.
19328 (pop-to-buffer): Don't rely on `display-buffer' selecting the
19329 window if it is on another frame.
19330 (display-buffer-alist, display-buffer-default-specifiers):
19331 Don't make new frame unsplittable by default.
19332 (display-buffer-normalize-argument): Fix doc-string typo and use
19333 'same-frame-other-window instead of 'other-window when associating
19334 with display-buffer-macro-specifiers.
19335
19336 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
19337
19338 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
19339 New functions.
19340 (5x5-mode-map, 5x5-mode-menu): Bind them.
19341 (5x5-draw-grid): Tweak the solver's rendering.
19342
19343 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
19344
19345 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
19346 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
19347
19348 2011-06-21 Drew Adams <drew.adams@oracle.com>
19349
19350 * menu-bar.el: Use function variable instead of switch-to-buffer.
19351 (menu-bar-select-buffer-function): New variable.
19352 (menu-bar-update-buffers): Use it (bug#8876).
19353
19354 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
19355
19356 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
19357 variable's status.
19358
19359 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
19360
19361 * x-dnd.el (x-dnd-version-from-flags)
19362 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
19363 and long as number (Bug#8899).
19364 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
19365
19366 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
19367
19368 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
19369 (completion-try-completion, completion-all-completions): Compute the
19370 metadata argument if it's missing; make it optional (bug#8795).
19371
19372 * wid-edit.el: Use lex-bind and move towards completion-at-point.
19373 (widget-complete): Use new :completion-function property.
19374 (widget-completions-at-point): New function.
19375 (default): Use :completion-function instead of :complete.
19376 (widget-default-completions): Rename from widget-default-complete;
19377 Rewrite.
19378 (widget-string-complete, widget-file-complete, widget-color-complete):
19379 Remove functions.
19380 (file, symbol, function, variable, coding-system, color):
19381 * international/mule-cmds.el (default-input-method, charset)
19382 (language-info-custom-alist):
19383 * cus-edit.el (face): Use new property :completions.
19384
19385 * progmodes/pascal.el (pascal-completions-at-point): New function.
19386 (pascal-mode): Use it.
19387 (pascal-mode-map): Use completion-at-point.
19388 (pascal-toggle-completions): Make obsolete.
19389 (pascal-complete-word, pascal-show-completions):
19390 * progmodes/octave-mod.el (octave-complete-symbol):
19391 Redefine as obsolete alias.
19392 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
19393 Signal absence of completion info for old Octave,
19394 (inferior-octave-complete): Redefine as obsolete alias.
19395 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
19396 (meta-completions-at-point): Rename from meta-complete-symbol and
19397 adapt it for use on completion-at-point-functions.
19398 (meta-common-mode): Use it.
19399 (meta-looking-at-backward, meta-match-buffer): Remove.
19400 (meta-complete-symbol): Redefine as obsolete alias.
19401 (meta-common-mode-map): Use completion-at-point.
19402 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
19403 (makefile-mode-map): Use completion-at-point.
19404 (makefile-completions-at-point): Rename from makefile-complete and
19405 adapt it for use on completion-at-point-functions.
19406 (makefile-mode): Use it.
19407 (makefile-complete): Redefine as obsolete alias.
19408
19409 2011-06-20 Deniz Dogan <deniz@dogan.se>
19410
19411 * net/rcirc.el: Delete trailing whitespaces once and for all.
19412
19413 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
19414
19415 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
19416
19417 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
19418
19419 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
19420
19421 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
19422
19423 2011-06-19 Martin Rudalics <rudalics@gmx.at>
19424
19425 * window.el (display-buffer-other-window-means-other-frame):
19426 Call display-buffer-normalize-alist.
19427 (display-buffer-normalize-specifiers-1): Rename to
19428 display-buffer-normalize-argument. New argument other-frame.
19429 Rewrite.
19430 (display-buffer-normalize-specifiers-2): Rename to
19431 display-buffer-normalize-options.
19432 (display-buffer-normalize-alist-1): New function.
19433 (display-buffer-normalize-specifiers-3): Rename to
19434 display-buffer-normalize-alist.
19435 Call display-buffer-normalize-alist-1.
19436 (display-buffer-normalize-options-inhibit): New variable.
19437 (display-buffer-normalize-specifiers): Rewrite calling
19438 display-buffer-normalize-alist,
19439 display-buffer-normalize-argument, and
19440 display-buffer-normalize-options. Don't call the latter if
19441 display-buffer-normalize-options-inhibit is non-nil.
19442 (frame-auto-delete): New option.
19443 (window-deletable-p): Use frame-auto-delete.
19444 (window-list-no-nils, window-state-ignored-parameters)
19445 (window-state-get-1, window-state-get, window-state-put-list)
19446 (window-state-put-1, window-state-put-2, window-state-put):
19447 New functions.
19448 (display-buffer-normalize-options): Move special-display-p group
19449 after pop-up-frame group (Bug#8851) and (Bug#8856).
19450
19451 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
19452
19453 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
19454 groups (Bug#8776).
19455 (rx-submatch-n): New function.
19456 (rx): Document it.
19457
19458 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
19459 (Bug#8768).
19460
19461 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
19462
19463 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
19464
19465 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
19466 anytime existing face settings are present (Bug#8889).
19467
19468 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
19469 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
19470 Remove unused argument.
19471
19472 2011-06-18 Martin Rudalics <rudalics@gmx.at>
19473
19474 * window.el (display-buffer-default-specifiers):
19475 Remove pop-up-frame. Add pop-up-window-min-height,
19476 pop-up-window-min-width, and another reuse-window specifier
19477 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
19478 (display-buffer-normalize-specifiers-2):
19479 Handle split-height-threshold and split-width-threshold also when
19480 pop-up-windows is unset. Add a reuse-window specifier for the
19481 case popping up a new window fails.
19482 (special-display-popup-frame): Remove double quoting.
19483 (display-buffer-normalize-specifiers-1): Fix thinko.
19484
19485 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
19486
19487 * shell.el (shell-completion-vars): Set pcomplete-termination-string
19488 according to comint-completion-addsuffix.
19489
19490 * pcomplete.el: Convert to lexical binding and fix bug#8819.
19491 (pcomplete-suffix-list): Mark as obsolete.
19492 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
19493 pcomplete-seen in the closure.
19494 (pcomplete-comint-setup): Setup completion-at-point as well.
19495 (pcomplete--entries): New function.
19496 (pcomplete--env-regexp): New var.
19497 (pcomplete-entries): Rewrite to work with partial-completion and
19498 without relying on pcomplete-suffix-list.
19499 (pcomplete-pare-list): Remove, unused.
19500
19501 2011-06-17 Martin Rudalics <rudalics@gmx.at>
19502
19503 * window.el (display-buffer-alist): Set pop-up-window-min-height
19504 and pop-up-window-min-width in default value. Reported by
19505 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
19506 other-window-means-other-frame.
19507 (display-buffer-macro-specifiers): Comment out entry for
19508 other-window specifier.
19509 (display-buffer-other-window-means-other-frame): New function.
19510 (display-buffer-normalize-specifiers-1): New arguments
19511 buffer-name and label. Treat other-window case specially.
19512 (display-buffer-normalize-specifiers-2): Treat other-window case
19513 specially.
19514 (display-buffer-normalize-specifiers-3): New function.
19515 (display-buffer-normalize-specifiers):
19516 Call display-buffer-normalize-specifiers-3.
19517
19518 2011-06-17 Martin Rudalics <rudalics@gmx.at>
19519
19520 * window.el (same-window-p): Fix two typos introduced when
19521 adding with-no-warnings.
19522 (display-buffer-normalize-specifiers-1): Don't check
19523 pop-up-frames for 'unset initialization.
19524 (display-buffer-normalize-specifiers-2): Major rewrite using
19525 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
19526 (pop-up-frames, display-buffer-reuse-frames)
19527 (display-buffer-mark-dedicated): Don't initialize to 'unset.
19528 Suggested by David Engster <deng@randomsample.de>.
19529 (even-window-heights): Initialize to 'unset.
19530 (display-buffer-alist-set): Handle new 'unset initializations.
19531 (display-buffer-macro-specifiers): Don't pop up a new frame in the
19532 other window case.
19533
19534 2011-06-16 Martin Rudalics <rudalics@gmx.at>
19535
19536 * window.el (display-buffer-normalize-specifiers-1):
19537 Respect current value of pop-up-frames for most reasonable values of
19538 second argument of display-buffer (Bug#8865).
19539 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
19540 (switch-to-buffer-other-window-same-frame)
19541 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
19542 Adams (Bug#8875).
19543 (display-buffer): Don't check noninteractive when calling
19544 display-buffer-pop-up-frame.
19545 (display-buffer-pop-up-frame): Never pop up a frame in
19546 noninteractive mode (Bug#8857).
19547 (enlarge-window, shrink-window): Don't report an error when the
19548 window can't be resized as requested (Bug#8862).
19549
19550 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
19551
19552 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
19553
19554 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
19555
19556 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
19557
19558 2011-06-15 Alan Mackenzie <acm@muc.de>
19559
19560 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
19561 for declarators, disable knr checking to speed up for normal files.
19562 2: Refactor, replacing a sequence of nested if forms by a cond form.
19563
19564 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
19565
19566 * net/network-stream.el (open-network-stream): Add the keyword
19567 :always-query-capabilities for the case where you want to force a
19568 `plain' network connection, but the protocol still requires the
19569 capabilitiy command (i.e., SMTP and EHLO).
19570
19571 * subr.el (process-live-p): Rename from `process-alive-p' for
19572 consistency with other `-live-p' functions.
19573
19574 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
19575
19576 * window.el (same-window-buffer-names, same-window-regexps)
19577 (special-display-frame-alist, special-display-popup-frame)
19578 (special-display-function, special-display-buffer-names)
19579 (special-display-regexps, pop-up-frame-alist)
19580 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
19581 (pop-up-windows, split-window-preferred-function)
19582 (split-height-threshold, split-width-threshold, even-window-heights)
19583 (display-buffer-mark-dedicated): Don't encourage the use of
19584 display-buffer-alist from Elisp code.
19585
19586 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
19587
19588 * progmodes/python.el (python-mode): Derive from prog-mode.
19589 * progmodes/ps-mode.el (ps-mode):
19590 * progmodes/mixal-mode.el (mixal-mode):
19591 * progmodes/cfengine.el (cfengine-mode):
19592 * progmodes/ld-script.el (ld-script-mode): Likewise.
19593
19594 2011-06-15 Martin Rudalics <rudalics@gmx.at>
19595
19596 * window.el (display-buffer-alist): Trim default value to avoid
19597 popping up a new frame (Bug#8857) or reusing an arbitrary window
19598 on another frame.
19599 (display-buffer): Do not fall back on popping up a new frame in
19600 batch mode (Bug#8857).
19601
19602 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
19603
19604 * cus-theme.el (describe-theme-1): Use custom-theme-p.
19605 (custom-theme-summary): New function.
19606 (customize-themes): Use it.
19607
19608 2011-06-13 Glenn Morris <rgm@gnu.org>
19609
19610 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
19611
19612 2011-06-13 Martin Rudalics <rudalics@gmx.at>
19613
19614 * help.el (help-window): Remove variable.
19615 (help-window-point-marker, temp-buffer-max-height)
19616 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
19617 (help-print-return-message): Don't set help-window.
19618 (resize-temp-buffer-window): Rewrite cod eand doc-string.
19619 (help-window-setup-finish): Remove.
19620 (help-window-display-message, help-window-setup)
19621 (with-help-window): Major rewrite based on new
19622 display-buffer-window variable.
19623
19624 * help-mode.el (help-mode-finish): Remove help-window related
19625 code.
19626
19627 * view.el (view-exits-all-viewing-windows): Remove reference to
19628 view-return-to-alist in doc-string.
19629 (view-return-to-alist): Make obsolete.
19630 (view-buffer): Call pop-to-buffer-same-window and remove
19631 undo-window code.
19632 (view-buffer-other-window): Call pop-to-buffer-other-window and
19633 simplify code. Ignore second argument.
19634 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
19635 simplify code. Ignore second argument.
19636 (view-return-to-alist-update): Make obsolete.
19637 (view-mode-enter): Rename second argument to QUIT-RESTORE.
19638 Rewrite using quit-restore window parameters.
19639 (view-mode-exit): Rename second argument to EXIT-ONLY.
19640 Rewrite using quit-restore-window.
19641 (View-exit, View-exit-and-edit, View-leave, View-quit)
19642 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
19643 appropriate arguments.
19644 (view-end-message): Use quit-restore window parameter.
19645
19646 * window.el (display-buffer-function): Rewrite doc-string.
19647 (display-buffer-window, display-buffer-alist): New variables.
19648 (display-buffer-split-specifiers)
19649 (display-buffer-side-specifiers)
19650 (display-buffer-macro-specifiers): New constants.
19651 (display-buffer-even-window-sizes, display-buffer-set-height)
19652 (display-buffer-set-width, display-buffer-select-window)
19653 (display-buffer-in-window, display-buffer-reuse-window)
19654 (display-buffer-split-window-1, display-buffer-split-window)
19655 (display-buffer-split-atom-window, display-buffer-pop-up-window)
19656 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
19657 (display-buffer-in-side-window, normalize-buffer-to-display)
19658 (display-buffer-normalize-specifiers-1)
19659 (display-buffer-normalize-specifiers-2)
19660 (display-buffer-normalize-specifiers, display-buffer-frame):
19661 New functions.
19662 (display-buffer): Major rewrite.
19663 (display-buffer-other-window, display-buffer-other-frame)
19664 (pop-to-buffer, switch-to-buffer-other-window)
19665 (switch-to-buffer-other-frame): Rewrite.
19666 (display-buffer-same-window, display-buffer-same-frame)
19667 (display-buffer-same-frame-other-window)
19668 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
19669 (pop-to-buffer-other-window)
19670 (pop-to-buffer-same-frame-other-window)
19671 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
19672 (switch-to-buffer-other-window-same-frame): New functions.
19673 (same-window-p, special-display-p): Rewrite disabling warnings.
19674 Make obsolete.
19675 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
19676 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
19677 Make obsolete
19678 (same-window-buffer-names, same-window-regexps)
19679 (special-display-frame-alist, special-display-popup-frame)
19680 (special-display-function, special-display-buffer-names)
19681 (special-display-regexps, pop-up-frame-alist)
19682 (pop-up-frame-function, split-window-preferred-function)
19683 (split-height-threshold, split-width-threshold)
19684 (even-window-heights): Make obsolete.
19685
19686 2011-06-12 Glenn Morris <rgm@gnu.org>
19687
19688 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
19689 Misc simplifications.
19690
19691 2011-06-12 Martin Rudalics <rudalics@gmx.at>
19692
19693 * window.el (window-safely-shrinkable-p): Restore function which
19694 was inadvertently removed in change from 2011-06-11. Declare as
19695 obsolete.
19696
19697 * calendar/calendar.el (calendar-generate-window):
19698 Use window-iso-combined-p instead of combination of one-window-p and
19699 window-safely-shrinkable-p.
19700
19701 2011-06-12 Glenn Morris <rgm@gnu.org>
19702
19703 * progmodes/fortran.el (fortran-mode-syntax-table):
19704 * progmodes/f90.el (f90-mode-syntax-table):
19705 Set % to punctuation. (Bug#8820)
19706 (f90-find-tag-default): Remove, no longer needed.
19707
19708 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
19709
19710 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
19711
19712 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
19713
19714 * image.el (image-animated-p): Return animation delay in seconds.
19715 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
19716 (image-animate-timeout): Remove DELAY argument. Don't assume
19717 every subimage has the same delay; get it from image-animated-p.
19718 (image-animate): Caller changed.
19719
19720 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
19721
19722 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
19723 to ignored backtrace functions.
19724
19725 2011-06-11 Glenn Morris <rgm@gnu.org>
19726
19727 * calendar/appt.el (appt-disp-window-function): Doc fix.
19728 (appt-check): Handle overlapping appointments. (Bug#8337)
19729
19730 2011-06-11 Martin Rudalics <rudalics@gmx.at>
19731
19732 * window.el (window-tree-1, window-tree): New functions, moving
19733 the latter to window.el.
19734 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
19735 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
19736 (bw-refresh-edges): Remove.
19737 (balance-windows-1, balance-windows-2): New functions.
19738 (balance-windows): Rewrite in terms of window tree functions,
19739 balance-windows-1 and balance-windows-2.
19740 (bw-adjust-window): Remove.
19741 (balance-windows-area-adjust): New function with functionality of
19742 bw-adjust-window but using resize-window.
19743 (set-window-text-height): Rewrite doc-string.
19744 Use normalize-live-window and resize-window.
19745 (enlarge-window-horizontally, shrink-window-horizontally):
19746 Rename argument to DELTA.
19747 (window-buffer-height): New function.
19748 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
19749 Rewrite using new window resize routines.
19750 (kill-buffer-and-window, mouse-autoselect-window-select):
19751 Use ignore-errors instead of condition-case.
19752 (quit-window): Call delete-frame instead of delete-windows-on
19753 for the only buffer on frame.
19754
19755 2011-06-10 Martin Rudalics <rudalics@gmx.at>
19756
19757 * loadup.el (top-level): Load window before files for the sake
19758 of replace-buffer-in-windows.
19759
19760 * files.el (read-buffer-to-switch)
19761 (switch-to-buffer-other-window)
19762 (switch-to-buffer-other-frame, display-buffer-other-frame):
19763 Move to window.el.
19764
19765 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
19766 (previous-buffer): Move to window.el.
19767
19768 * bindings.el (unbury-buffer): Move to window.el.
19769
19770 * window.el (delete-other-windows-vertically): Move after
19771 definition of delete-other-windows.
19772 (other-window, delete-windows-on, replace-buffer-in-windows):
19773 Move here from window.c.
19774 (record-window-buffer, unrecord-window-buffer)
19775 (set-window-buffer-start-and-point, switch-to-prev-buffer)
19776 (switch-to-next-buffer): New functions.
19777 (get-next-valid-buffer, last-buffer, next-buffer): Move here
19778 from simple.el. Call switch-to-next-buffer.
19779 (previous-buffer): Move here from simple.el.
19780 Call switch-to-prev-buffer.
19781 (bury-buffer): Move here from buffer.c. Switch to previous
19782 buffer when window cannot be deleted.
19783 (unbury-buffer): Move here from bindings.el.
19784 (ctl-x-map): Move binding for other-window from window.c to
19785 here.
19786 (read-buffer-to-switch, switch-to-buffer-other-window)
19787 (switch-to-buffer-other-frame): Move here from files.el.
19788 (normalize-buffer-to-switch-to): New functions.
19789 (switch-to-buffer): Move here from buffer.c.
19790 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
19791
19792 2011-06-10 Martin Rudalics <rudalics@gmx.at>
19793
19794 * window.el (window-min-height, window-min-width): Move here
19795 from window.c. Add defcustoms and rewrite doc-strings.
19796 (resize-mini-window, resize-window): New functions.
19797 (adjust-window-trailing-edge, enlarge-window, shrink-window):
19798 Move here from window.c.
19799 (maximize-window, minimize-window): New functions.
19800 (delete-window, delete-other-windows, split-window): Move here
19801 from window.c.
19802 (window-split-min-size): New function.
19803 (split-window-keep-point): Mention split-window-above-each-other
19804 instead of split-window-vertically.
19805 (split-window-above-each-other, split-window-vertically):
19806 Rename split-window-vertically to split-window-above-each-other
19807 and provide defalias for old definition.
19808 (split-window-side-by-side, split-window-horizontally):
19809 Rename split-window-horizontally to split-window-side-by-side
19810 and provide defalias for the old definition.
19811 (ctl-x-map): Move bindings for delete-window,
19812 delete-other-windows and enlarge-window here from window.c.
19813 Replace bindings for split-window-vertically and
19814 split-window-horizontally by bindings for
19815 split-window-above-each-other and split-window-side-by-side.
19816
19817 * cus-start.el (all): Remove entries for window-min-height and
19818 window-min-width. Add entries for window-splits and
19819 window-nest.
19820
19821 2011-06-09 Glenn Morris <rgm@gnu.org>
19822
19823 * calendar/appt.el (appt-mode-line): New function.
19824 (appt-check, appt-disp-window): Use it.
19825
19826 * files.el (hack-one-local-variable-eval-safep):
19827 Allow minor-modes with explicit +/-1 arguments.
19828
19829 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
19830
19831 * term/xterm.el (xterm): Add defgroup.
19832 (xterm-extra-capabilities): Add defcustom to supply known xterm
19833 capabilities, skip querying them, or query them (default).
19834 (terminal-init-xterm): Use it.
19835 (terminal-init-xterm-modify-other-keys): New function to set up
19836 modifyOtherKeys support to simplify `terminal-init-xterm'.
19837
19838 2011-06-09 Martin Rudalics <rudalics@gmx.at>
19839
19840 * window.el (resize-window-reset, resize-window-reset-1)
19841 (resize-subwindows-skip-p, resize-subwindows-normal)
19842 (resize-subwindows, resize-other-windows, resize-this-window)
19843 (resize-root-window, resize-root-window-vertically)
19844 (window-deletable-p, window-or-subwindow-p)
19845 (frame-root-window-p): New functions.
19846
19847 2011-06-09 Glenn Morris <rgm@gnu.org>
19848
19849 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
19850 (ange-ftp-get-files): Use it.
19851
19852 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
19853
19854 * mail/sendmail.el (mail-recover-1, mail-recover):
19855 * files.el (recover-file, recover-session):
19856 Handle dired-listing-switches not being just a single short option.
19857
19858 2011-06-09 Glenn Morris <rgm@gnu.org>
19859
19860 * calendar/appt.el (appt-display-message, appt-disp-window):
19861 Handle lists of appointments.
19862
19863 2011-06-08 Martin Rudalics <rudalics@gmx.at>
19864
19865 * window.el (one-window-p): Move down in code.
19866 Rewrite doc-string.
19867 (window-current-scroll-bars): Rewrite doc-string.
19868 Normalize live window argument.
19869 (walk-windows, get-window-with-predicate, count-windows):
19870 Rewrite doc-string. Use window-list-1.
19871 (window-in-direction-2, window-in-direction, get-mru-window):
19872 New functions.
19873
19874 2011-06-08 Reuben Thomas <rrt@sc3d.org>
19875
19876 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
19877 Doc fix (Bug#8713).
19878
19879 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
19880
19881 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
19882
19883 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
19884
19885 * loadhist.el (unload-feature-special-hooks):
19886 Add `comint-output-filter-functions'.
19887
19888 2011-06-08 Ivan Kanis <gnu@kanis.fr>
19889
19890 * calendar/appt.el (appt-check): Move some initializations into the let.
19891
19892 2011-06-08 Martin Rudalics <rudalics@gmx.at>
19893
19894 * window.el (window-height): Defalias to window-total-height.
19895 (window-width): Defalias to window-body-width.
19896
19897 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
19898
19899 * image-mode.el (image-toggle-animation): New command.
19900 (image-mode-map): Bind it to RET.
19901 (image-mode): Update message.
19902 (image-toggle-display-image): Avoid a spurious cache flush.
19903 (image-transform-rotation): Doc fix.
19904 (image-transform-properties): Return quickly in the normal case.
19905 (image-animate-loop): Rename from image-animate-max-time.
19906
19907 * image.el (image-animate-max-time): Move to image-mode.el.
19908 (create-animated-image): Remove unnecessary function.
19909 (image-animate): Rename from image-animate-start. New arg.
19910 (image-animate-stop): Remove; just use image-animate-timer.
19911 (image-animate-timer): Use car-safe.
19912 (image-animate-timeout): Rename argument.
19913
19914 2011-06-07 Martin Rudalics <rudalics@gmx.at>
19915
19916 * window.el (get-lru-window, get-largest-window): Move here from
19917 window.c. Rename first argument to ALL-FRAMES.
19918 Rephrase doc-strings.
19919 (get-buffer-window-list): Rewrite using window-list-1.
19920 Rephrase doc-string.
19921 (window-safe-min-height, window-safe-min-width): New constants.
19922 (window-size-ignore, window-min-size, window-min-size-1)
19923 (window-sizable, window-sizable-p, window-size-fixed-1)
19924 (window-size-fixed-p, window-min-delta-1, window-min-delta)
19925 (window-max-delta-1, window-max-delta, window-resizable)
19926 (window-resizable-p, window-total-height, window-total-width)
19927 (window-body-width): New functions.
19928 (window-full-height-p, window-full-width-p): Rewrite using
19929 window-total-size.
19930 (window-body-height): Rewrite using window-body-size.
19931
19932 2011-06-06 Martin Rudalics <rudalics@gmx.at>
19933
19934 * window.el (window-right, window-left, window-child)
19935 (window-child-count, window-last-child, window-any-p)
19936 (normalize-live-buffer, normalize-live-frame)
19937 (normalize-any-window, normalize-live-window)
19938 (window-iso-combination-p, window-iso-combined-p)
19939 (window-iso-combinations)
19940 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
19941 (windows-with-parameter, window-with-parameter)
19942 (window-atom-root, make-window-atom, window-atom-check-1)
19943 (window-atom-check, window-side-check, window-check):
19944 New functions.
19945 (ignore-window-parameters, window-sides, window-sides-vertical)
19946 (window-sides-slots): New variables.
19947 (window-size-fixed): Move down in code. Minor doc-string fix.
19948
19949 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
19950
19951 * comint.el (comint-dynamic-complete-as-filename)
19952 (comint-dynamic-complete-filename): Correctly call
19953 completion-in-region.
19954
19955 2011-06-05 Deniz Dogan <deniz@dogan.se>
19956
19957 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
19958 in last change.
19959
19960 2011-06-05 Deniz Dogan <deniz@dogan.se>
19961
19962 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
19963 (rcirc): Use it to prompt for encryption.
19964
19965 2011-06-05 Roland Winkler <winkler@gnu.org>
19966
19967 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
19968 (bibtex-search-entries): New command bound to C-c C-a.
19969 (bibtex-display-entries): New function.
19970
19971 2011-06-05 Roland Winkler <winkler@gnu.org>
19972
19973 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
19974 (bibtex-insert-kill): After yanking insert newline if necessary.
19975 (bibtex-initialize): Call bibtex-string-files-init only once.
19976 (bibtex-mode): Do not call easy-menu-add.
19977 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
19978 (bibtex-yank): Set arg properly if nil.
19979
19980 2011-06-05 Roland Winkler <winkler@gnu.org>
19981
19982 * textmodes/bibtex.el (bibtex-search-entry-globally):
19983 New variable.
19984 (bibtex-search-entry): Use it.
19985
19986 2011-06-05 Roland Winkler <winkler@gnu.org>
19987
19988 * textmodes/bibtex.el (bibtex-entry-format): New option
19989 sort-fields.
19990 (bibtex-format-entry, bibtex-reformat): Honor this option.
19991 (bibtex-parse-entry): Return fields in proper order.
19992
19993 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
19994
19995 * doc-view.el (doc-view-remove-if): Move computation of result out
19996 of `dolist' to silence misleading lexical-binding warning.
19997
19998 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
19999
20000 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
20001 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
20002
20003 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
20004
20005 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
20006 "SunOS 5.10".
20007
20008 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
20009
20010 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
20011 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
20012 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
20013 (tramp-parse-putty):
20014 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
20015 (tramp-completion-function-alist-ssh)
20016 (tramp-completion-function-alist-telnet)
20017 (tramp-completion-function-alist-su)
20018 (tramp-completion-function-alist-putty): Set `tramp-autoload'
20019 cookie.
20020
20021 * net/tramp-ftp.el:
20022 * net/tramp-sh.el:
20023 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
20024 load "tramp.el" `tramp-set-completion-function'.
20025
20026 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
20027
20028 * shell.el: Require and use pcomplete.
20029 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
20030 (shell-completion-vars): Set pcomplete-default-completion-function.
20031
20032 2011-06-04 Deniz Dogan <deniz@dogan.se>
20033
20034 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
20035 `memq' (Bug#8799).
20036
20037 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
20038
20039 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
20040
20041 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
20042
20043 * bs.el (bs--mark-unmark, bs--nth-wrapper):
20044 * mpc.el (mpc-select-extend, mpc-songpointer-context):
20045 * vc/log-view.el (log-view-beginning-of-defun):
20046 * vc/smerge-mode.el (smerge-apply-resolution-patch)
20047 (smerge-refine-forward, smerge-refine-chopup-region):
20048 Silence warning for unused `dotimes' counter variables.
20049
20050 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
20051
20052 * net/tramp.el (tramp-with-progress-reporter): Rename from
20053 with-progress-reporter. Use `declare'.
20054 * net/tramp-smb.el:
20055 * net/tramp-sh.el:
20056 * net/tramp-gvfs.el: Update all uses.
20057
20058 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
20059
20060 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
20061 buffer isn't killed before making it current.
20062
20063 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
20064
20065 Silence various byte-compiler warnings.
20066 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
20067 `access-type' and new obsolescence format.
20068 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
20069 new format.
20070 (byte-compile-check-variable): New `access-type' argument.
20071 Only warn if the access-type is obsolete.
20072 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
20073 (byte-compile-variable-set): Adjust callers.
20074 * help-fns.el (describe-variable): Adjust to new obsolescence format.
20075 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
20076 setting it as obsolete.
20077 * simple.el (minibuffer-completing-symbol):
20078 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
20079 access as obsolete.
20080 * minibuffer.el (minibuffer-completing-file-name): Don't make it
20081 obsolete yet.
20082 * international/quail.el (quail-mouse-choose-completion): Remove unused
20083 code referring to obsolete var.
20084 (quail-choose-completion-string): Remove.
20085 * server.el (server-clients-with, server-kill-buffer-query-function)
20086 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
20087 * proced.el (proced-send-signal):
20088 * emacs-lisp/lisp.el (lisp-complete-symbol):
20089 Replace completion-annotate-function with completion-extra-properties.
20090
20091 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
20092
20093 * simple.el (goto-line): Use read-number.
20094 (overriding-map-is-bound): Remove.
20095 (saved-overriding-map): Change default.
20096 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
20097 Take the map as argument.
20098 (universal-argument, negative-argument, digit-argument): Use it.
20099 (restore-overriding-map): Adjust.
20100 (do-auto-fill): Use fill-forward-paragraph.
20101 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
20102
20103 * minibuffer.el (minibuffer-inactive-mode-map): New var.
20104 (minibuffer-inactive-mode): New major mode.
20105 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
20106 the *Messages* buffer" hack.
20107 (mouse-popup-menubar): Don't burp if the event is a normal key.
20108
20109 Miscellaneous tweaks.
20110 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
20111 lexical scoping as in subr.el's dolist and dotimes.
20112 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
20113 Silence compiler warning.
20114 * thingatpt.el (forward-whitespace): Trivial coding style fix.
20115 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
20116 * international/ccl.el (ccl-compile): Trivial simplification.
20117 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
20118 * emacs-lisp/testcover.el (testcover-end): Remove spurious
20119 `printflag' argument.
20120 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
20121 Purecopy the whole obsolescence data.
20122
20123 2011-06-01 Leo Liu <sdl.web@gmail.com>
20124
20125 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
20126 improve doc-string as suggested by Marco Pessotto
20127 <melmothx@gmail.com>.
20128 (rcirc-print): Fix last change.
20129
20130 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
20131
20132 * minibuffer.el (complete-with-action): Return nil for the metadata and
20133 boundaries of non-functional tables.
20134 (completion-table-dynamic): Return nil for the metadata.
20135 (completion-table-with-terminator): Add default case, using
20136 complete-with-action.
20137 (completion--metadata): New function.
20138 (completion-all-sorted-completions, minibuffer-completion-help): Use it
20139 to try and avoid pathological performance problems.
20140 (completion--embedded-envvar-table): Return `category' metadata.
20141
20142 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
20143
20144 * subr.el (process-alive-p): New tiny convenience function.
20145
20146 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
20147
20148 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
20149 content but also its previous major mode.
20150
20151 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
20152
20153 * emacs-lisp/debug.el (debug): Restore the previous content of the
20154 *Backtrace* buffer when we exit with C-M-c.
20155
20156 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
20157
20158 * minibuffer.el: Add metadata method to completion tables.
20159 (completion-category-overrides): New defcustom.
20160 (completion-metadata, completion--field-metadata)
20161 (completion-metadata-get, completion--styles)
20162 (completion--cycle-threshold): New functions.
20163 (completion-try-completion, completion-all-completions):
20164 Add `metadata' argument to choose completion-styles.
20165 (completion--do-completion): Use metadata to choose cycling.
20166 (completion-all-sorted-completions): Use metadata for sorting.
20167 Remove :completion-cycle-penalty which is not needed any more.
20168 (completion--try-word-completion): Add `metadata' argument.
20169 (minibuffer-completion-help): Check metadata for annotation function
20170 and sorting.
20171 (completion-file-name-table): Return `category' metadata.
20172 (minibuffer-completing-file-name): Make obsolete.
20173 * simple.el (minibuffer-completing-symbol): Make obsolete.
20174 * icomplete.el (icomplete-completions): Pass new `metadata' param to
20175 completion-try-completion.
20176
20177 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
20178
20179 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
20180
20181 2011-05-30 Leo Liu <sdl.web@gmail.com>
20182
20183 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
20184 (rcirc-print): Decode all incoming messages (bug#8744).
20185 (rcirc-decode-coding-system): Allow value nil for automatic coding
20186 system detection.
20187
20188 2011-06-01 Glenn Morris <rgm@gnu.org>
20189
20190 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
20191
20192 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
20193
20194 * image.el (image-animate-max-time): Allow nil and t values.
20195 Default to nil.
20196 (create-animated-image): Doc fix.
20197 (image-animate-start): Remove second arg; just use
20198 image-animate-max-time.
20199 (image-animate-timeout): Doc fix. Args changed.
20200
20201 * image-mode.el (image-toggle-display-image): Ensure that the
20202 image spec passed to the animate timer is the same object as in
20203 the buffer's display property (Bug#6981).
20204 (image-transform-properties): Doc fix.
20205
20206 * image.el (image-animate-max-time): Default to nil.
20207
20208 2011-05-29 Martin Rudalics <rudalics@gmx.at>
20209
20210 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
20211 entire buffer list (Bug#8184).
20212
20213 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
20214
20215 * image.el (imagemagick-types-inhibit)
20216 (imagemagick-register-types): Doc fix.
20217
20218 2011-05-29 Deniz Dogan <deniz@dogan.se>
20219
20220 * net/rcirc.el (rcirc): Use the user's stored encryption method by
20221 default.
20222
20223 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
20224
20225 * select.el: Don't perform clipboard-manager saving in hooks;
20226 leave the hooks empty.
20227
20228 2011-05-28 Leo Liu <sdl.web@gmail.com>
20229
20230 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
20231 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
20232 (occur-edit-mode): New major mode (Bug#8463).
20233 (occur-after-change-function): New function.
20234 (occur-engine): Give Occur tags a read-only property.
20235
20236 2011-05-28 Kevin Ryde <user42@zip.com.au>
20237
20238 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
20239
20240 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
20241
20242 * bindings.el (help-echo): Make the initial non-indicator dash
20243 empty on graphical terminals (Bug#7295).
20244
20245 * files.el (auto-mode-alist): Move config rule after the
20246 in-stripping one (Bug#8547).
20247
20248 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
20249
20250 * startup.el (normal-splash-screen): Remove gratuitous mode-line
20251 setting (Bug#8740).
20252
20253 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
20254
20255 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
20256 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
20257 (Bug#8539).
20258
20259 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
20260
20261 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
20262
20263 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
20264
20265 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
20266 (hs-hide-block-at-point, hs-find-block-beginning)
20267 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
20268 (Bug#8279).
20269
20270 2011-05-28 Glenn Morris <rgm@gnu.org>
20271
20272 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
20273
20274 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
20275
20276 * help-fns.el (describe-function-1): If the function is a derived
20277 major mode, print the parent mode.
20278
20279 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
20280 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
20281
20282 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
20283
20284 * minibuffer.el (completion--capf-wrapper): Check applicability before
20285 returning non-nil for non-exclusive completion data.
20286 * progmodes/etags.el (tags-completion-at-point-function):
20287 * info-look.el (info-lookup-completions-at-point): Mark as
20288 non-exclusive.
20289 (info-complete): Adjust accordingly.
20290
20291 * info-look.el: Convert to lexical-binding and completion-at-point.
20292 (info-lookup-completions-at-point): New function.
20293 (info-complete): Use it and completion-in-region.
20294
20295 2011-05-28 Drew Adams <drew.adams@oracle.com>
20296
20297 * isearch.el: Let M-e start with point at the first mismatched char.
20298 (isearch-fail-pos): New function.
20299 (isearch-edit-string): Use it.
20300
20301 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
20302
20303 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
20304
20305 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
20306
20307 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
20308 traversal functions for avl-trees.
20309 (avl-tree--stack): New struct.
20310 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
20311 (avl-tree-enter): Add optional `updatefun' arg.
20312 (avl-tree--do-enter): Add optional `updatefun' arg.
20313 Change return value.
20314 (avl-tree-delete): Add optional `test' and `nilflag' args.
20315 (avl-tree--do-delete): Add `test' and `nilflag' args.
20316 Change return value.
20317 (avl-tree-member): Add optional `nilflag'
20318 (avl-tree-member-p): New function.
20319 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
20320 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
20321 (avl-tree-stack-empty-p): New functions.
20322
20323 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
20324 avl-tree--del-balance1 and make it work both ways.
20325 (avl-tree--del-balance2): Remove.
20326 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
20327 make it work both ways.
20328 (avl-tree--enter-balance2): Remove.
20329 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
20330 New macros.
20331 (avl-tree--mapc, avl-tree-map): Add direction argument.
20332
20333 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
20334
20335 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
20336
20337 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
20338
20339 * select.el: Support clipboard managers with built-in function
20340 x-clipboard-manager-save, via delete-frame-functions and
20341 kill-emacs-hook.
20342 (xselect-convert-to-targets): Add MULTIPLE target to list.
20343 (xselect-convert-to-save-targets): New function.
20344
20345 2011-05-27 Kenichi Handa <handa@m17n.org>
20346
20347 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
20348 let-binding rfc2047-encode-encoded-words to nil.
20349
20350 2011-05-27 Glenn Morris <rgm@gnu.org>
20351
20352 * mail/emacsbug.el: Don't require url-util.
20353
20354 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
20355
20356 * files.el (set-auto-mode):
20357 Also respect mode: entries at the end of the file. (Bug#8586)
20358
20359 2011-05-26 Glenn Morris <rgm@gnu.org>
20360
20361 * files.el (hack-local-variables-prop-line, hack-local-variables):
20362 Downcase mode names, as seems to be traditional.
20363 (hack-local-variables, hack-local-variables-apply): Doc fixes.
20364
20365 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
20366 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
20367
20368 2011-05-25 Julien Danjou <julien@danjou.info>
20369
20370 * textmodes/rst.el (rst-define-level-faces): Do not define face
20371 symbol if it is already defined.
20372
20373 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
20374
20375 * play/5x5.el (5x5-new-game, 5x5-randomize):
20376 Reset 5x5-solver-output to nil when a new grid is cast.
20377 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
20378 these debugging traces, as defmacro breaks the compiled code.
20379
20380 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
20381
20382 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
20383
20384 2011-05-24 Leo Liu <sdl.web@gmail.com>
20385
20386 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
20387 (vc-bzr-sha1): Adapt.
20388
20389 * sha1.el: Remove. Function `sha1' is now builtin.
20390
20391 * bindings.el: Provide sha1 feature.
20392
20393 2011-05-24 Kenichi Handa <handa@m17n.org>
20394
20395 * mail/sendmail.el: Require `rfc2047'.
20396 (mail-insert-from-field): Do not perform RFC2047 encoding.
20397 (mail-encode-header): New function.
20398 (sendmail-send-it): Set buffer-file-coding-system of the work
20399 buffer to the return value of select-message-coding-system.
20400 Call mail-encode-header.
20401
20402 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
20403
20404 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
20405
20406 * mail/supercite.el (sc-default-cite-frame):
20407 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
20408
20409 2011-05-24 Glenn Morris <rgm@gnu.org>
20410
20411 * progmodes/python.el (brm-menu): Declare.
20412
20413 * emulation/viper.el (viper-set-hooks): Declare.
20414
20415 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
20416 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
20417 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
20418 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
20419 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
20420 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
20421
20422 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
20423
20424 Add an :exit-function for completion-at-point.
20425
20426 * minibuffer.el (completion--done): New fun.
20427 (completion--do-completion): Use it. New arg `expect-exact'.
20428 (minibuffer-complete, minibuffer-complete-word): Don't output message,
20429 since completion--do-completion does it for us now.
20430 (minibuffer-force-complete): Use completion--done and
20431 completion--replace. Handle sole-completion case with more care.
20432 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
20433 (completion-extra-properties): New var.
20434 (completion-annotate-function): Make obsolete.
20435 (minibuffer-completion-help): Adjust accordingly.
20436 Use completion-list-insert-choice-function.
20437 (completion-at-point, completion-help-at-point):
20438 Bind completion-extra-properties.
20439 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
20440 * simple.el (completion-list-insert-choice-function): New var.
20441 (completion-setup-function): Preserve it.
20442 (choose-completion): Pay attention to it, shuffle the code a bit.
20443 (choose-completion-string): New arg `insert-function'.
20444
20445 * textmodes/bibtex.el: Convert to lexical binding.
20446 (bibtex-mode-map): Use completion-at-point.
20447 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
20448 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
20449 (bibtex-complete): Define as obsolete alias.
20450 (bibtex-complete-internal): Remove.
20451 (bibtex-format-entry): Remove unused sub-group in regexp.
20452 * shell.el (shell--command-completion-data)
20453 (shell-environment-variable-completion):
20454 * pcomplete.el (pcomplete-completions-at-point):
20455 * comint.el (comint--complete-file-name-data): Use :exit-function
20456 instead of completion-table-with-terminator so it also works for
20457 choose-completion.
20458
20459 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
20460
20461 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
20462
20463 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
20464 (bug#8710).
20465
20466 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
20467
20468 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
20469
20470 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
20471 customization variable and implement: If non-nil, auto-fill will
20472 be inhibited while on topic's header line.
20473
20474 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
20475
20476 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
20477 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
20478 always have a solution in grid size = 5 cases.
20479 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
20480 (5x5-solver-output, 5x5-log-buffer): New vars.
20481 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
20482 Make these variables buffer local to achieve 5x5 multi-session-ness.
20483 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
20484 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
20485 (5x5-solve-suggest): New funs.
20486 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
20487 randomize a grid so that we ensure that there is always a solution.
20488 (5x5-make-random-grid): Allow other movement than flipping.
20489
20490 2011-05-23 Kevin Ryde <user42@zip.com.au>
20491
20492 * emacs-lisp/advice.el (ad-read-advised-function):
20493 Use `function-called-at-point' as the default, if it has
20494 advice and passes PREDICATE.
20495
20496 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
20497
20498 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
20499 byte-compile-lambda if it's actually a lambda.
20500
20501 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
20502 Fix function quoting. Use backquote better.
20503
20504 2011-05-22 Yuanle Song <sylecn@gmail.com>
20505
20506 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
20507 matching (Bug#8516).
20508
20509 2011-01-22 Jari Aalto <jari.aalto@cante.net>
20510
20511 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
20512 different face (Bug#8178).
20513
20514 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
20515
20516 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
20517 defface (Bug#8144).
20518
20519 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
20520
20521 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
20522 funcall as well (bug#8712). Warn when performing those conversions.
20523 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
20524
20525 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
20526
20527 2011-05-22 Glenn Morris <rgm@gnu.org>
20528
20529 * files.el (hack-local-variables-prop-line): Small simplifications.
20530 (hack-local-variables, hack-local-variables-prop-line):
20531 If MODE-ONLY, return the mode, rather than just `t'.
20532
20533 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
20534
20535 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
20536
20537 2011-05-21 Glenn Morris <rgm@gnu.org>
20538
20539 * files.el (hack-local-variables-prop-line, hack-local-variables):
20540 If only interested in the mode, don't bother doing the other stuff.
20541
20542 * image-mode.el (image-after-revert-hook):
20543 Redraw all frames on which the image is visible. (Bug#8567)
20544
20545 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
20546
20547 * wid-edit.el (widget-checklist-match-inline):
20548 Fix 2011-04-19 change. (Bug#8649)
20549
20550 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
20551
20552 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
20553 Also allow singlespace after single-letter capitals followed by a dot.
20554
20555 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
20556 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
20557
20558 2011-05-20 Nix <nix@esperi.org.uk>
20559
20560 * files.el (basic-save-buffer-2):
20561 Fix handling of break-hardlink-on-save with non-existent files.
20562
20563 2011-05-19 Deniz Dogan <deniz@dogan.se>
20564
20565 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
20566 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
20567
20568 2011-05-19 Glenn Morris <rgm@gnu.org>
20569
20570 * progmodes/f90.el (f90-type-def-re):
20571 Handle "type, bind(c)". (Bug#8691)
20572
20573 * emacs-lisp/autoload.el (batch-update-autoloads):
20574 Set autoload-excludes by parsing loadup.el rather than Makefiles.
20575
20576 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
20577
20578 * net/tramp.el (tramp-process-actions): Set "first-password-request"
20579 property for the correct connection in case of multihops.
20580
20581 2011-05-18 Glenn Morris <rgm@gnu.org>
20582
20583 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
20584 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
20585
20586 Rationalize calendar handling of day and month abbrev-arrays.
20587 * calendar/calendar.el (calendar-customized-p): New function.
20588 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
20589 (calendar-day-name-array, calendar-month-name-array): Doc fix.
20590 Add :set function.
20591 (calendar-abbrev-length, calendar-day-abbrev-array)
20592 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
20593 (calendar-day-abbrev-array, calendar-month-abbrev-array):
20594 Elements may no longer be nil.
20595 (calendar-day-name, calendar-month-name):
20596 Update for changed nature of abbrev arrays.
20597 * calendar/diary-lib.el (diary-name-pattern):
20598 Update for changed nature of abbrev arrays.
20599 (diary-mark-entries-1): Update calendar-make-alist calls.
20600 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
20601 * calendar/cal-html.el (cal-html-day-abbrev-array):
20602 Simply inherit from calendar-day-abbrev-array.
20603
20604 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
20605
20606 * progmodes/grep.el (grep-mode): Disable default
20607 compilation-directory-matcher setting (bug#8684).
20608
20609 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
20610
20611 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
20612 instead of "head" and "tail". There were problems with SunOS 5.9,
20613 and it performs better.
20614
20615 2011-05-17 Glenn Morris <rgm@gnu.org>
20616
20617 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
20618
20619 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
20620 Replace obsolete function.
20621
20622 * shell.el (pcomplete-parse-arguments-function): Declare.
20623
20624 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
20625 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
20626 (appt-check): Doc fixes.
20627 (appt-disp-window-function, appt-delete-window-function):
20628 Remove needless special case in custom :type.
20629 (appt-display-count): Default to 0, not nil.
20630 (appt-check): Reset appt-display-count to 0, not nil.
20631
20632 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
20633
20634 * progmodes/python.el (python-font-lock-keywords):
20635 Add the Python 3.X keyword "nonlocal" (bug#8639).
20636
20637 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
20638
20639 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
20640
20641 2011-05-16 Kevin Ryde <user42@zip.com.au>
20642
20643 * info-look.el (makefile-automake-mode): New setups, looking in
20644 automake manual, then makefile-mode.
20645 (makefile-mode): Remove automake manual, have it just in
20646 makefile-automake-mode since there's various things different or
20647 not relevant to plain make.
20648 (makefile-mode): Remove "other-modes" non-existent automake-mode,
20649 believe a hypothetical automake-mode would go to makefile-mode,
20650 not the other way around.
20651
20652 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
20653
20654 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
20655 hunk-end tags (Bug#8672).
20656
20657 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
20658 vc-annotate-show-diff-revision-at-line (Bug#8671).
20659
20660 2011-05-14 Glenn Morris <rgm@gnu.org>
20661
20662 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
20663 in the middle of an existing one with multiple authors. (Bug#8645)
20664 (change-log-font-lock-keywords): Also handle multiple author lines
20665 with leading tabs. (Bug#8644)
20666
20667 * calendar/appt.el (appt-check): Rename some local variables.
20668 Some simplification/reordering.
20669
20670 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
20671 (feedmail-sendmail-f-doesnt-sell-me-out)
20672 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
20673 (feedmail-debug-sit-for, feedmail-queue-express-hook)
20674 (feedmail-queue-runner-message-sender): Set :version.
20675 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
20676 (bbdb-dwim-net-address, vm-mail): Declare.
20677 (feedmail-binmail-gnulinuxish-template):
20678 Rename from feedmail-binmail-linuxish-template.
20679 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
20680 Use insert-buffer-substring.
20681
20682 2011-05-14 Bill Carpenter <bill@carpenter.org>
20683
20684 * mail/feedmail.el (feedmail-patch-level): Increase.
20685 (feedmail-debug): New custom group.
20686 (feedmail-confirm-outgoing-timeout)
20687 (feedmail-sendmail-f-doesnt-sell-me-out)
20688 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
20689 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
20690 (feedmail-sender-line, feedmail-from-line)
20691 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
20692 (feedmail-spray-this-address)
20693 (feedmail-spray-address-fiddle-plex-list)
20694 (feedmail-queue-use-send-time-for-date)
20695 (feedmail-queue-use-send-time-for-message-id)
20696 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
20697 (feedmail-buffer-eating-function):
20698 Doc fixes.
20699 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
20700 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
20701 (feedmail-message-action-scroll-down): New functions.
20702 (feedmail-queue-directory, feedmail-queue-draft-directory):
20703 Use expand-file-name.
20704 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
20705 Remove C-v help entry.
20706 (feedmail-queue-buffer-file-name): New variable.
20707 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
20708 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
20709 (feedmail-message-action-send-strong, feedmail-message-action-edit)
20710 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
20711 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
20712 (feedmail-message-action-toggle-spray)
20713 (feedmail-run-the-queue-no-prompts)
20714 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
20715 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
20716 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
20717 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
20718 (feedmail-envelope-deducer, feedmail-fiddle-from)
20719 (feedmail-fiddle-sender, feedmail-default-date-generator)
20720 (feedmail-fiddle-date, feedmail-fiddle-message-id)
20721 (feedmail-fiddle-spray-address)
20722 (feedmail-fiddle-list-of-spray-fiddle-plexes)
20723 (feedmail-fiddle-list-of-fiddle-plexes)
20724 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
20725 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
20726 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
20727 Change default. Doc fix.
20728 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
20729 (feedmail-binmail-linuxish-template): New constant.
20730 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
20731 Respect feedmail-sendmail-f-doesnt-sell-me-out.
20732 (feedmail-send-it): Add debug call.
20733 Use feedmail-queue-buffer-file-name, and
20734 feedmail-send-it-immediately-wrapper.
20735 (feedmail-message-action-send): Add debug call.
20736 Use feedmail-send-it-immediately-wrapper.
20737 (feedmail-queue-express-to-queue): Add debug call.
20738 Run feedmail-queue-express-hook.
20739 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
20740 (feedmail-message-action-help-blat):
20741 Rename from feedmail-queue-send-edit-prompt-help-first.
20742 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
20743 Check line-endings. Handle errors better.
20744 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
20745 Doc fix. Add debug call.
20746 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
20747 Use feedmail-queue-send-edit-prompt-inner.
20748 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
20749 (feedmail-queue-send-edit-prompt-inner): New function, extracted
20750 from feedmail-queue-send-edit-prompt.
20751 (feedmail-queue-send-edit-prompt-help)
20752 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
20753 (feedmail-tidy-up-slug): Add debug call.
20754 Respect feedmail-queue-slug-suspect-regexp.
20755 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
20756 (feedmail-dump-message-to-queue): Add debug call.
20757 Expand queue-directory.
20758 (feedmail-dump-message-to-queue): Change message slightly.
20759 Use feedmail-say-chatter.
20760 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
20761 (feedmail-send-it-immediately-wrapper): New function.
20762 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
20763 Insert empty string rather than newline. Handle full-frame case.
20764 Use catch/throw. Use feedmail-say-chatter.
20765 (feedmail-fiddle-from): Try mail-host-address.
20766 (feedmail-default-message-id-generator): Doc fix.
20767 Bind system-time-locale. Handle missing end.
20768 (feedmail-fiddle-x-mailer): Add debug call.
20769 Handle feedmail-x-mailer-line being nil.
20770 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
20771 Add debug call. Use buffer-substring-no-properties.
20772 (feedmail-say-debug, feedmail-say-chatter): New functions.
20773 (feedmail-find-eoh): Give an explicit error.
20774
20775 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
20776
20777 * net/newst-treeview.el (newsticker-treeview-face): Change default
20778 family from helvetica to sans.
20779 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
20780 etc/images/newsticker.
20781
20782 * net/newst-reader.el (newsticker-feed-face): Change default
20783 family from helvetica to sans.
20784
20785 * net/newst-plainview.el (newsticker-new-item-face)
20786 (newsticker-old-item-face, newsticker-immortal-item-face)
20787 (newsticker-obsolete-item-face, newsticker-date-face)
20788 (newsticker-statistics-face): Change default family from
20789 helvetica to sans.
20790 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
20791 etc/images/newsticker.
20792
20793 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
20794 (newsticker--process-auto-mark-filter-match): Tell user about
20795 auto-marking.
20796
20797 2011-05-13 Didier Verna <didier@xemacs.org>
20798
20799 Common Lisp indentation improvements on defmethod and lambda-lists.
20800 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
20801 TODO entries.
20802 (lisp-lambda-list-keyword-parameter-indentation)
20803 (lisp-lambda-list-keyword-parameter-alignment)
20804 (lisp-lambda-list-keyword-alignment): New customizable user options.
20805 (lisp-indent-defun-method): Improve docstring.
20806 (extended-loop-p): Fix comment.
20807 (lisp-indent-lambda-list-keywords-regexp): New variable.
20808 (lisp-indent-lambda-list): New function.
20809 (lisp-indent-259): Use it.
20810 (lisp-indent-defmethod): Support for more than one
20811 method qualifier and properly indent methods lambda-lists.
20812 (defgeneric): Provide a missing common-lisp-indent-function property.
20813
20814 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
20815
20816 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
20817 bounds for the empty string (bug#8667).
20818
20819 2011-05-13 Glenn Morris <rgm@gnu.org>
20820
20821 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
20822
20823 * mail/sendmail.el (sendmail-program): Try executable-find first.
20824 (sendmail-send-it): `sendmail-program' cannot be unbound.
20825
20826 * calendar/appt.el (appt-make-list): Simplify.
20827 (appt-time-msg-list): Doc fix.
20828 (appt-check): Change mode-line message at the time of the appointment.
20829
20830 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
20831
20832 * progmodes/ld-script.el (ld-script-keywords)
20833 (ld-script-builtins): Update keywords list.
20834
20835 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
20836
20837 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
20838
20839 * shell.el (shell-completion-vars): New function.
20840 (shell-mode):
20841 * simple.el (read-shell-command): Use it.
20842 (blink-matching-open): No need for " [...]" in minibuffer-message.
20843
20844 2011-05-12 Glenn Morris <rgm@gnu.org>
20845
20846 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
20847 (appt-check): Simplify.
20848
20849 2011-05-12 Eli Zaretskii <eliz@gnu.org>
20850
20851 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
20852 literal "/dev/null".
20853
20854 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
20855
20856 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
20857 Fix typo.
20858
20859 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
20860
20861 * progmodes/which-func.el (which-function):
20862 Use add-log-current-defun instead of add-log-current-defun-function,
20863 which might not be defined (Bug#8260).
20864
20865 2011-05-12 Glenn Morris <rgm@gnu.org>
20866
20867 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
20868 Let byte-compile-initial-macro-environment always take precedence.
20869
20870 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
20871
20872 * net/rcirc.el: Add support for SSL/TLS connections.
20873 (rcirc-server-alist): New field `encryption'.
20874 (rcirc): Check `encryption' settings.
20875 (rcirc-connect): New arg `encryption'. Use open-network-stream.
20876 Merge make-local-variable into `set'.
20877 (rcirc--connection-open-p): New function.
20878 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
20879 the process is not a network process (e.g. running gnutls-cli).
20880 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
20881 Make rcirc-(en|de)code-coding-system local here.
20882 (rcirc-mode): Merge make-local-variable into `set'.
20883 (rcirc-parent-buffer): Make permanent buffer-local.
20884 (rcirc-multiline-minor-mode): Don't do it here.
20885 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
20886 there's no server buffer.
20887
20888 2011-05-11 Glenn Morris <rgm@gnu.org>
20889
20890 * newcomment.el (comment-kill): Prefix "unused" local.
20891
20892 * term/w32console.el (get-screen-color): Declare.
20893
20894 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
20895 Handle symbol elements of byte-compile-initial-macro-environment.
20896
20897 2011-05-10 Leo Liu <sdl.web@gmail.com>
20898
20899 * bookmark.el (bookmark-bmenu-mode-map):
20900 Bind bookmark-bmenu-search to `/'.
20901
20902 * mail/footnote.el: Convert to utf-8 encoding.
20903 (footnote-unicode-string, footnote-unicode-regexp): New variable.
20904 (Footnote-unicode): New function.
20905 (footnote-style-alist): Add unicode style to the list.
20906 (footnote-style): Doc fix.
20907
20908 2011-05-10 Jim Meyering <meyering@redhat.com>
20909
20910 Fix doubled-word typos.
20911 * international/quail.el (quail-insert-kbd-layout): and and -> and
20912 * kermit.el: and and -> and
20913 * net/ldap.el (ldap-search-internal): to to -> to
20914 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
20915 * progmodes/js.el (js-mode): and and -> and
20916 * textmodes/artist.el (artist-move-to-xy): at at -> at
20917 (artist-draw-region-trim-line-endings): if if -> if
20918 And Safetyc -> Safety.
20919 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
20920
20921 2011-05-10 Glenn Morris <rgm@gnu.org>
20922 Stefan Monnier <monnier@iro.umontreal.ca>
20923
20924 * files.el (hack-one-local-variable-eval-safep):
20925 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
20926
20927 2011-05-10 Glenn Morris <rgm@gnu.org>
20928
20929 * calendar/diary-lib.el (diary-list-entries-hook)
20930 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
20931 (diary-nongregorian-marking-hook, diary-list-entries)
20932 (diary-include-other-diary-files, diary-mark-entries)
20933 (diary-mark-included-diary-files): Doc fixes.
20934
20935 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
20936
20937 * misc.el: Require tabulated-list.el during compilation.
20938
20939 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
20940
20941 * progmodes/compile.el (compilation-start):
20942 Run compilation-filter-hook for the async case too.
20943 (compilation-filter-hook): Doc fix.
20944
20945 2011-05-09 Deniz Dogan <deniz@dogan.se>
20946
20947 * wdired.el: Remove outdated installation comment. Fix usage
20948 comment.
20949
20950 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
20951
20952 * misc.el: Implement new command `list-dynamic-libraries'.
20953 (list-dynamic-libraries--loaded-only-p): New variable.
20954 (list-dynamic-libraries--refresh): New function.
20955 (list-dynamic-libraries): New command.
20956
20957 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
20958
20959 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20960 Fix the ant regexp to handle end-line and end-column info from jikes.
20961 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
20962 higher priority to avoid clobbering by gnu.
20963
20964 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
20965
20966 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
20967 if the face has existing theme settings (Bug#8454).
20968
20969 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
20970
20971 * progmodes/perl-mode.el (perl-imenu-generic-expression):
20972 Only match variables declared via `my' or `our' (Bug#8261).
20973
20974 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
20975 special file names `.' and `..' (Bug#8259).
20976
20977 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
20978
20979 * progmodes/grep.el (grep-mode-font-lock-keywords):
20980 Remove buffer-changing entries.
20981 (grep-filter): New function.
20982 (grep-mode): Add it to compilation-filter-hook.
20983
20984 * progmodes/compile.el (compilation-filter-hook)
20985 (compilation-filter-start): New defvars.
20986 (compilation-filter): Call compilation-filter-hook prior to
20987 updating the process mark.
20988
20989 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
20990
20991 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
20992
20993 2011-05-07 Eli Zaretskii <eliz@gnu.org>
20994
20995 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
20996 mailclient-send-it even if window-system is nil. (Bug#8595)
20997
20998 * term/w32console.el (terminal-init-w32console):
20999 Call get-screen-color and use its output to set the frame
21000 background-mode. (Bug#8597)
21001
21002 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
21003
21004 Make bytecomp.el understand that defmethod defines funs (bug#8631).
21005 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
21006 New functions.
21007 (defgeneric, eieio--defmethod): Use them.
21008 (eieio-defgeneric): Remove.
21009 (defmethod): Call defgeneric in a way visible to the byte-compiler.
21010
21011 2011-05-07 Glenn Morris <rgm@gnu.org>
21012
21013 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
21014 Use let rather than let*.
21015 (timeclock-find-discrep): Remove unused local.
21016
21017 * calendar/diary-lib.el (diary-comment-start): Doc fix.
21018
21019 * calendar/appt.el (appt-time-msg-list): Doc fix.
21020
21021 2011-05-06 Noah Friedman <friedman@splode.com>
21022
21023 * apropos.el (apropos-print-doc): Only use
21024 emacs-lisp-docstring-fill-column when it is bound to an integer,
21025 per that variable's documentation.
21026
21027 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
21028
21029 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
21030 and warnings are not silently discarded (e.g. use -d instead of -P).
21031
21032 2011-05-06 Glenn Morris <rgm@gnu.org>
21033
21034 * calendar/appt.el (appt-message-warning-time): Doc fix.
21035 (appt-warning-time-regexp): New option.
21036 (appt-make-list): Respect appt-message-warning-time.
21037
21038 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
21039 New options.
21040 (diary-add-to-list): Strip comments from the displayed string.
21041 (diary-mode): Set comment-start and comment-end.
21042
21043 * vc/diff-mode.el (smerge-refine-subst): Declare.
21044 (diff-refine-hunk): Don't require smerge-mode when compiling.
21045
21046 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
21047
21048 * simple.el (list-processes): Return nil as the docstring says.
21049
21050 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
21051
21052 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
21053 to "".
21054 (ange-ftp-write-region, ange-ftp-insert-file-contents)
21055 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
21056 determining of binary transfer. (Bug#7383)
21057
21058 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
21059
21060 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
21061 Fix port computation bug. (Bug#8618)
21062
21063 2011-05-05 Glenn Morris <rgm@gnu.org>
21064
21065 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
21066
21067 * simple.el (shell-dynamic-complete-functions)
21068 (comint-dynamic-complete-functions): Declare.
21069
21070 * net/network-stream.el (gnutls-negotiate):
21071 * simple.el (tabulated-list-print): Fix declarations.
21072
21073 * progmodes/gud.el (syntax-symbol, syntax-point):
21074 Remove unnecessary and incorrect declarations.
21075
21076 * emacs-lisp/check-declare.el (check-declare-scan):
21077 Handle byte-compile-initial-macro-environment in bytecomp.el.
21078
21079 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
21080
21081 Fix earlier half-done eieio-defmethod change (bug#8338).
21082 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
21083 Streamline and change calling convention.
21084 (defmethod): Adjust accordingly and simplify.
21085 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
21086 new eieio--defmethod.
21087 (slot-boundp): Minor CSE simplification.
21088
21089 2011-05-05 Milan Zamazal <pdm@zamazal.org>
21090
21091 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
21092 (glasses-make-readable): Use glasses-separate-capital-groups.
21093
21094 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
21095
21096 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
21097 (warning-series): Doc fix.
21098 (display-warning): Don't try to create the buffer if we just found it.
21099
21100 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
21101
21102 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
21103 (autoload-find-generated-file): New function.
21104 (generate-file-autoloads): Bind generated-autoload-file to
21105 buffer-file-name.
21106 (update-file-autoloads, update-directory-autoloads):
21107 Use autoload-find-generated-file. If called interactively, prompt for
21108 output file (Bug#7989).
21109 (batch-update-autoloads): Doc fix.
21110
21111 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
21112
21113 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
21114
21115 2011-05-04 Glenn Morris <rgm@gnu.org>
21116
21117 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
21118 function, so it follows changes in calendar-date-style.
21119 (diary-fancy-date-matcher): New function.
21120 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
21121 (diary-fancy-font-lock-fontify-region-function):
21122 Use diary-fancy-date-pattern as a function.
21123
21124 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
21125 non-numbers for `year' etc pseudo-variables. (Bug#8583)
21126
21127 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
21128
21129 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
21130 instead of positional arguments. Allow :keylist and :crlfiles
21131 arguments.
21132 (open-gnutls-stream): Call it.
21133
21134 * net/network-stream.el (network-stream-open-starttls): Adjust to
21135 call `gnutls-negotiate' with :process and :hostname arguments.
21136
21137 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
21138
21139 * minibuffer.el (completion--message): New function.
21140 (completion--do-completion, minibuffer-complete)
21141 (minibuffer-force-complete, minibuffer-complete-word): Use it.
21142 (completion--do-completion): Don't ignore completion-auto-help when in
21143 icomplete-mode.
21144
21145 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
21146 internal encoding (e.g. tibetan zero is not whitespace).
21147 (global-whitespace-mode): Prefer save-current-buffer.
21148 (whitespace-trailing-regexp): Remove useless save-match-data.
21149 (whitespace-empty-at-bob-regexp): Minor simplification.
21150
21151 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
21152
21153 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
21154
21155 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
21156
21157 * textmodes/ispell.el (ispell-add-per-file-word-list):
21158 Use `concat' to create string for insertion.
21159
21160 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
21161
21162 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
21163 Avoid open-line which runs post-self-insert-hook.
21164 (bibtex-fill-entry): Remove unused `end' var.
21165
21166 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
21167
21168 * textmodes/ispell.el (ispell-add-per-file-word-list):
21169 Protect against `nil' value of `comment-start' (Bug#8579).
21170
21171 2011-05-03 Leo Liu <sdl.web@gmail.com>
21172
21173 * isearch.el (isearch-yank-pop): New command.
21174 (isearch-mode-map): Bind it to `M-y'.
21175 (isearch-forward): Mention it.
21176
21177 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
21178
21179 * simple.el (minibuffer-complete-shell-command): Remove.
21180 (minibuffer-local-shell-command-map): Use completion-at-point.
21181 (read-shell-command): Setup completion vars here instead.
21182 (read-expression-map): Bind TAB to symbol completion.
21183
21184 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
21185 error directly rather via storing it into `results'.
21186
21187 2011-05-02 Leo Liu <sdl.web@gmail.com>
21188
21189 * vc/diff.el: Fix description.
21190
21191 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21192
21193 * server.el (server-eval-at): New function.
21194
21195 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
21196
21197 * net/network-stream.el (open-network-stream): Take a :nowait
21198 parameter and pass it on to `make-network-process'.
21199 (network-stream-open-plain): Ditto.
21200
21201 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
21202
21203 * faces.el (face-spec-set-match-display): Don't match toolkit
21204 options on terminal frames.
21205
21206 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
21207
21208 * progmodes/pascal.el: Use lexical binding.
21209 (pascal-mode-map): Remove author preferences.
21210
21211 * pcomplete.el (pcomplete-std-complete): Don't abuse
21212 completion-at-point.
21213
21214 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
21215
21216 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
21217 removing code that has been dead since 1991 or so.
21218
21219 * startup.el (command-line): When warning about "_emacs", use a
21220 delayed warning to allow the user to filter it out.
21221
21222 2011-04-28 Deniz Dogan <deniz@dogan.se>
21223
21224 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
21225 user has not joined.
21226
21227 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
21228
21229 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
21230 aren't any completions at point.
21231
21232 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
21233
21234 * subr.el (display-delayed-warnings): New function.
21235 (delayed-warnings-hook): New variable.
21236
21237 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
21238
21239 * minibuffer.el (completion-at-point, completion-help-at-point):
21240 Don't presume that a given completion-at-point-function will always
21241 use the same calling convention.
21242
21243 * pcomplete.el (pcomplete-completions-at-point):
21244 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
21245 pcomplete-seen is non-nil.
21246 (pcomplete-comint-setup): Also recognize the new comint/shell
21247 completion functions.
21248 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
21249 pcomplete-seen is non-nil.
21250
21251 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
21252
21253 * calendar/icalendar.el (diary-lib): Add require statement.
21254 (icalendar--create-uid): Read out a uid from a text-property on
21255 the first character in the entry. This allows for code to add its
21256 own uid to the entry.
21257 (icalendar--convert-float-to-ical): Add export of
21258 `diary-float'-entries save for those with the optional DAY
21259 argument.
21260
21261 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
21262
21263 * subr.el (shell-quote-argument): Use alternate escaping strategy
21264 when we spot a variable reference in a string.
21265
21266 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
21267
21268 * cus-start.el (all): Define customization for debug-on-event.
21269
21270 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
21271
21272 * subr.el (shell-quote-argument): Escape correctly under Windows.
21273
21274 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
21275
21276 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
21277
21278 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
21279
21280 * net/tramp.el (tramp-process-actions): Add POS argument.
21281 Delete region between POS and (pos).
21282
21283 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
21284 Use `nil' position in `tramp-process-actions' call.
21285 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
21286
21287 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
21288 position in `tramp-process-actions' call.
21289
21290 * net/trampver.el: Update release number.
21291
21292 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
21293
21294 * custom.el (defcustom): Obey lexical-binding.
21295
21296 Fix octave-inf completion problems reported by Alexander Klimov.
21297 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
21298 Inherit from octave-mode-syntax-table.
21299 (inferior-octave-mode): Set info-lookup-mode.
21300 (inferior-octave-completion-at-point): New function.
21301 (inferior-octave-complete): Use it and completion-in-region.
21302 (inferior-octave-dynamic-complete-functions): Use it as well, and use
21303 comint-filename-completion.
21304 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
21305 symbol elements which shouldn't be word elements.
21306 (octave-font-lock-keywords, octave-beginning-of-defun)
21307 (octave-function-header-regexp): Adjust regexps accordingly.
21308 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
21309
21310 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
21311
21312 * net/gnutls.el (gnutls-errorp): Declare before first use.
21313
21314 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
21315
21316 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
21317 verify-error, and verify-hostname-error parameters. Check whether
21318 default trustfile exists before going to use it. Add missing
21319 argument to gnutls-message-maybe call. Return value.
21320 Reported by Claudio Bley <claudio.bley@gmail.com>.
21321 (open-gnutls-stream): Add usage example.
21322
21323 * net/network-stream.el (network-stream-open-starttls): Give host
21324 parameter to `gnutls-negotiate'.
21325 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
21326 * subr.el (shell-quote-argument): Escape correctly under Windows.
21327
21328 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
21329
21330 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
21331 Use correct match group (bug#8438).
21332
21333 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
21334
21335 * emacs-lisp/package.el (package-built-in-p): Fix typo.
21336 (package-menu--generate): New arg specifying packages to show.
21337 (package-menu-refresh, package-menu-execute, list-packages):
21338 Callers changed.
21339 (package-show-package-list): New function, replacing deleted
21340 package--list-packages (renamed because it is non-internal).
21341
21342 * finder.el (finder-list-matches): Use package-show-package-list
21343 instead of deleted package--list-packages.
21344
21345 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
21346 Based on a previous implementation by Juanma Barranquero (Bug#8366).
21347 (vc-annotate-mode-map): Bind it to RET.
21348
21349 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
21350
21351 * progmodes/etags.el (next-file): Don't use set-buffer to change
21352 buffers (Bug#8478).
21353
21354 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
21355
21356 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
21357
21358 * apropos.el (apropos-label-face): Avoid variable-pitch face.
21359 (apropos-accumulator): Doc fix.
21360 (apropos-function, apropos-macro, apropos-command)
21361 (apropos-variable, apropos-face, apropos-group, apropos-widget)
21362 (apropos-plist): Add face property.
21363 (apropos-symbols-internal): Fix indentation.
21364 (apropos-print): Simplify help, and recognize apropos-multi-type.
21365 (apropos-print-doc): Use button-type-get to extract the button's
21366 face property. Fill docstring (Bug#8352).
21367
21368 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
21369
21370 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
21371
21372 * play/mpuz.el (mpuz-silent): Doc fix.
21373 (mpuz-mode-map): Use mapc.
21374 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
21375 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
21376 Fix typos in docstrings.
21377
21378 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
21379 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
21380
21381 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
21382
21383 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
21384
21385 * minibuffer.el (completion--do-completion): Avoid the "Next char
21386 not unique" prompt if icomplete-mode is enabled (Bug#5849).
21387
21388 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
21389 mouse-2 into unread-command-events, it is interpreted correctly.
21390
21391 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
21392 (image-toggle-display): Doc fix.
21393
21394 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
21395
21396 * textmodes/page.el (what-page): Use line-number-at-pos to
21397 calculate line number (Bug#6825).
21398
21399 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
21400
21401 * eshell/esh-mode.el (find-tag-interactive): Declare function.
21402 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
21403 Pass argument NO-DEFAULT to `find-tag-interactive'.
21404
21405 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
21406
21407 Lexical-binding cleanup.
21408
21409 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
21410 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
21411 * progmodes/ada-prj.el (ada-prj-initialize-values)
21412 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
21413 (ada-prj-show-value):
21414 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
21415 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
21416 (antlr-invalidate-context-cache, antlr-options-menu-filter)
21417 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
21418 * progmodes/bug-reference.el (bug-reference-push-button):
21419 * progmodes/fortran.el (fortran-line-length):
21420 * progmodes/glasses.el (glasses-change):
21421 * progmodes/octave-mod.el (octave-fill-paragraph):
21422 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
21423 (python-pdbtrack-grub-for-buffer, python-sentinel):
21424 * progmodes/sql.el (sql-save-connection):
21425 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
21426 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
21427 Mark unused parameters.
21428
21429 * progmodes/compile.el (compilation--flush-directory-cache)
21430 (compilation--flush-parse, compile-internal): Mark unused parameters.
21431 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
21432 (compilation-next-error-function): Remove unused variable `timestamp'.
21433
21434 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
21435 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
21436
21437 * progmodes/dcl-mode.el (dcl-end-of-command):
21438 Remove unused variable `start'.
21439 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
21440 (dcl-option-value-basic, dcl-option-value-offset)
21441 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
21442 Mark unused parameters.
21443 (dcl-save-local-variable): Remove unused variable `val'.
21444 (mode): Declare.
21445
21446 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
21447 Mark unused parameters.
21448 (delphi-ignore-changes): Move before first use.
21449 (delphi-charset-token-at): Remove unused variable `start'.
21450 (delphi-else-start): Remove unused variable `if-count'.
21451 (delphi-comment-block-start, delphi-comment-block-end):
21452 Remove unused variable `kind'.
21453 (delphi-indent-line): Remove unused variable `new-point'.
21454
21455 * progmodes/ebrowse.el (ebrowse-files-list)
21456 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
21457 Mark unused parameters. Don't quote `lambda'.
21458 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
21459 Don't quote `lambda'.
21460 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
21461 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
21462 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
21463 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
21464 Use `ignore-errors'.
21465 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
21466 (ebrowse-view/find-file-and-search-pattern)
21467 (ebrowse-view/find-member-declaration/definition):
21468 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
21469 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
21470 Rename parameter PREFIX-ARG to PREFIX.
21471 (ebrowse-tags-read-name): Remove unused variables `start' and
21472 `member-info'.
21473 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
21474 to `tags-file'.
21475
21476 * progmodes/etags.el (local-find-tag-hook): Declare.
21477 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
21478 Mark unused parameters.
21479
21480 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
21481 (executable-interpret): Mark unused parameter.
21482
21483 * progmodes/flymake.el (flymake-process-sentinel)
21484 (flymake-after-change-function)
21485 (flymake-create-temp-with-folder-structure)
21486 (flymake-get-include-dirs-dot): Mark unused parameters.
21487 (flymake-safe-delete-directory): Remove unused variable `err'.
21488
21489 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
21490 (speedbar-timer-fn, speedbar-line-text)
21491 (speedbar-change-expand-button-char, speedbar-delete-subblock)
21492 (speedbar-center-buffer-smartly): Declare functions.
21493 (gdb-find-watch-expression): Remove unused variable `array'.
21494 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
21495 (gdb-starting): Mark unused parameters.
21496 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
21497 (gdb-table-string): Remove unused variable `res'.
21498 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
21499 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
21500 (gdb-display-buffer): Remove unused variable `cur-size'.
21501
21502 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
21503 allow lexical-binding compilation.
21504 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
21505 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
21506 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
21507 Mark unused parameters.
21508 (gud-gdb-marker-filter): Remove unused variable `match'.
21509 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
21510 lambda expressions and funcall them, instead of using `fset'.
21511
21512 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
21513 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
21514
21515 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
21516 variable `header-beg'; use `let'.
21517
21518 * progmodes/icon.el (indent-icon-exp): Remove unused variables
21519 `restart', `last-sexp' and `at-do'.
21520
21521 * progmodes/js.el (js--debug): Mark unused parameter.
21522 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
21523 (js--splice-into-items): Remove unused variable `item'.
21524 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
21525
21526 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
21527 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
21528 (makefile-complete): Remove unused variable `try'.
21529 (makefile-fill-paragraph, makefile-match-function-end):
21530 Mark unused parameters.
21531
21532 * progmodes/octave-inf.el (inferior-octave-complete):
21533 Remove unused variable `proc'.
21534 (inferior-octave-output-digest): Mark unused parameter.
21535
21536 * progmodes/perl-mode.el (perl-calculate-indent):
21537 Remove unused variable `err'.
21538
21539 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
21540 (prolog-indent-line): Mark unused parameters.
21541 (prolog-indent-line): Remove unused variable `beg'.
21542
21543 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
21544 (reporter-dont-compact-list): Declare.
21545
21546 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
21547 Remove unused variable `char'.
21548 (sh-debug): Mark unused parameter.
21549 (sh-get-indent-info): Remove unused variable `start'.
21550 (sh-calculate-indent): Remove unused variable `var'.
21551
21552 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
21553 (simula-electric-keyword): Remove unused variable `null'.
21554 (simula-search-backward, simula-search-forward): Remove unused
21555 variables `begin' and `end'.
21556
21557 * progmodes/vera-mode.el (vera-guess-basic-syntax):
21558 Remove unused variable `pos'.
21559 (vera-electric-tab, vera-comment-uncomment-region):
21560 Mark unused parameters.
21561 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
21562
21563 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
21564
21565 * emacs-lisp/package.el (package--builtins, package-alist)
21566 (package-load-descriptor, package-built-in-p, package-activate)
21567 (define-package, package-installed-p)
21568 (package-compute-transaction, package-buffer-info)
21569 (package--push): Doc fix. Distinguish more clearly between
21570 version strings and version lists.
21571
21572 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
21573
21574 Lexical-binding cleanup.
21575
21576 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
21577 (5x5-make-mutate-best):
21578 * play/fortune.el (fortune-in-buffer):
21579 * play/gomoku.el (gomoku-init-display):
21580 * play/solitaire.el (solitaire, solitaire-do-check):
21581 * play/tetris.el (tetris-default-update-speed-function):
21582 Mark unused parameters.
21583
21584 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
21585 (bubbles--shift): Remove unused variable `char-org'.
21586 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
21587 (bubbles--show-images): Remove unused variable `char'.
21588
21589 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
21590 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
21591 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
21592 (decipher-analyze-buffer): Use ?\s.
21593 (decipher-make-checkpoint): Remove unused variable `mapping'.
21594
21595 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
21596
21597 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
21598 Remove unused variable `result'; use `let'.
21599
21600 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
21601 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
21602 (gametree-children-shown-p, gametree-compute-reduced-score):
21603 Use `ignore-errors'.
21604
21605 * play/handwrite.el (ps-lpr-switches): Declare.
21606 (handwrite): Remove unused variables `pmin' and `lastp'.
21607
21608 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
21609
21610 * play/landmark.el (landmark-init-display)
21611 (landmark-update-naught-weights): Mark unused parameters.
21612 (landmark-y): Remove unused variable `noise'. Simplify.
21613 (landmark-human-plays): Remove unused variable `score'.
21614
21615 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
21616 (mpuz-try-proposal): Remove unused variable `game'.
21617
21618 * play/zone.el (life-patterns): Declare.
21619
21620 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
21621
21622 * vc/vc.el (ediff-vc-internal): Declare function.
21623
21624 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
21625
21626 * shell.el: Use lexical-binding and std completion UI.
21627 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
21628 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
21629 comint-preoutput-filter-functions rather than on
21630 comint-output-filter-functions.
21631 (shell-command-completion, shell--command-completion-data)
21632 (shell-filename-completion, shell-environment-variable-completion)
21633 (shell-c-a-p-replace-by-expanded-directory): New functions.
21634 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
21635 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
21636 (shell-dynamic-complete-environment-variable): Use them.
21637 (shell-dynamic-complete-as-environment-variable)
21638 (shell-dynamic-complete-as-command): Remove.
21639 (shell-match-partial-variable): Match past point.
21640 * comint.el: Clean up use of completion-at-point-functions.
21641 (comint-completion-at-point): New function.
21642 (comint-mode): Use it completion-at-point-functions.
21643 (comint-dynamic-complete): Make it obsolete.
21644 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
21645 (comint-c-a-p-replace-by-expanded-history): New function.
21646 (comint-dynamic-complete-functions)
21647 (comint-replace-by-expanded-history): Use it.
21648 * minibuffer.el (completion-table-with-terminator): Allow dynamic
21649 termination strings. Try harder to avoid second try-completion.
21650 (completion-in-region-mode-map): Disable bindings that don't work yet.
21651
21652 * comint.el: Use lexical-binding. Require CL.
21653 (comint-dynamic-complete-functions): Use comint-filename-completion.
21654 (comint-completion-addsuffix): Tweak custom type.
21655 (comint-filename-completion, comint--common-suffix)
21656 (comint--common-quoted-suffix, comint--table-subvert)
21657 (comint--complete-file-name-data): New functions.
21658 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
21659 (comint-dynamic-list-filename-completions): Use them.
21660 (comint-dynamic-simple-complete): Make obsolete.
21661
21662 * minibuffer.el (completion-in-region-mode):
21663 Keep completion-in-region-mode--predicate global.
21664 (completion-in-region--postch):
21665 Assume completion-in-region-mode--predicate is not null.
21666
21667 * progmodes/flymake.el (flymake-start-syntax-check-process):
21668 Obey `dir'. Simplify.
21669
21670 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
21671 we're in VC after all.
21672
21673 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
21674
21675 * vc/vc.el (vc-diff-build-argument-list-internal)
21676 (vc-version-ediff, vc-ediff): New commands.
21677 (vc-version-diff): Use vc-diff-build-argument-list-internal.
21678
21679 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
21680
21681 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
21682 add sanity check.
21683
21684 * obsolete/erc-hecomplete.el: Make obsolete.
21685 * obsolete/: Standardize obsolescence info in the header.
21686
21687 2011-04-20 Glenn Morris <rgm@gnu.org>
21688
21689 * calendar/solar.el (solar-horizontal-coordinates):
21690 Use the longitude argument rather than `calendar-longitude'.
21691 (solar-date-next-longitude): Remove unused locals.
21692
21693 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
21694
21695 * whitespace.el: New version 13.2.1.
21696
21697 2011-04-20 felix <EmacsWiki> (tiny change)
21698
21699 * whitespace.el (global-whitespace-mode): Keep highlight when
21700 switching between major modes on a file.
21701
21702 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
21703
21704 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
21705 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
21706 multi-line comments as well.
21707
21708 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
21709
21710 Lexical-binding cleanup.
21711
21712 * arc-mode.el (archive-mode-revert):
21713 * cmuscheme.el (scheme-interactively-start-process):
21714 * custom.el (custom-initialize-delay):
21715 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
21716 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
21717 * emacs-lock.el (emacs-lock-clear-sentinel):
21718 * ezimage.el (defezimage):
21719 * follow.el (follow-avoid-tail-recenter):
21720 * fringe.el (set-fringe-mode-1):
21721 * generic-x.el (bat-generic-mode-compile):
21722 * help-mode.el (help-info-variable, help-do-xref)
21723 (help-mode-revert-buffer):
21724 * help.el (view-emacs-todo):
21725 * iswitchb.el (iswitchb-completion-help):
21726 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
21727 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
21728 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
21729 * locate.el (locate-update):
21730 * longlines.el (longlines-encode-region)
21731 (longlines-after-change-function):
21732 * outline.el (outline-isearch-open-invisible):
21733 * ps-def.el (declare-function, charset-dimension, char-width)
21734 (encode-char):
21735 * ps-mule.el (ps-mule-plot-string):
21736 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
21737 (recentf-edit-list-select, recentf-edit-list-validate)
21738 (recentf-open-files-action):
21739 * rect.el (delete-whitespace-rectangle-line)
21740 (rectangle-number-line-callback):
21741 * register.el (window-configuration-to-register)
21742 (frame-configuration-to-register):
21743 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
21744 * select.el (xselect-convert-to-string, xselect-convert-to-length)
21745 (xselect-convert-to-targets, xselect-convert-to-delete)
21746 (xselect-convert-to-filename, xselect-convert-to-charpos)
21747 (xselect-convert-to-lineno, xselect-convert-to-colno)
21748 (xselect-convert-to-os, xselect-convert-to-host)
21749 (xselect-convert-to-user, xselect-convert-to-class)
21750 (xselect-convert-to-name, xselect-convert-to-integer)
21751 (xselect-convert-to-atom, xselect-convert-to-identity):
21752 * subr.el (declare, ignore, process-kill-without-query)
21753 (text-clone-maintain):
21754 * terminal.el (te-get-char, te-tic-sentinel):
21755 * tool-bar.el (tool-bar-make-keymap):
21756 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
21757 * type-break.el (type-break-mode, type-break-noninteractive-query):
21758 * view.el (View-back-to-mark):
21759 * wid-browse.el (widget-browse-action, widget-browse-widget)
21760 (widget-browse-widgets, widget-browse-sexp):
21761 * widget.el (define-widget-keywords):
21762 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
21763 Mark unused parameters.
21764
21765 * align.el (align-adjust-col-for-rule): Mark unused parameter.
21766 (align-areas): Remove unused variable `look'.
21767 (align-region): Remove unused variables `real-end' and `pos-list'.
21768
21769 * apropos.el (apropos-score-doc): Remove unused variable `i'.
21770
21771 * bindings.el (mode-line-modified, mode-line-remote):
21772 Mark unused parameters.
21773 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
21774
21775 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
21776 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
21777
21778 * comint.el (comint-history-isearch-pop-state)
21779 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
21780 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
21781 (comint-substitute-in-file-name): Doc fix.
21782
21783 * completion.el (cmpl-statistics-block): Mark unused parameter.
21784 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
21785 (save-completions-to-file, load-completions-from-file):
21786 Remove unused local variable `e'.
21787
21788 * composite.el (compose-chars): Remove unused variable `len'.
21789 (lgstring-insert-glyph): Remove unused variable `g'.
21790 (compose-glyph-string): Remove unused variables `ascent',
21791 `descent', `lbearing' and `rbearing'.
21792 (compose-glyph-string-relative): Remove unused variables
21793 `lbearing', `rbearing' and `wadjust'.
21794 (compose-gstring-for-graphic): Remove unused variables `header',
21795 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
21796 (compose-gstring-for-terminal): Remove unused variables `header'
21797 and `nchars'. Use `let', not `let*'.
21798
21799 * cus-edit.el (Custom-set, Custom-save, custom-reset)
21800 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
21801 (Custom-buffer-done, custom-buffer-create-internal)
21802 (custom-browse-visibility-action, custom-browse-group-tag-action)
21803 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
21804 (widget-magic-mouse-down-action, custom-toggle-parent)
21805 (custom-add-parent-links, custom-toggle-hide-variable)
21806 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
21807 (custom-toggle-hide-face, face, hook, custom-group-link-action)
21808 (custom-face-menu-create, custom-variable-menu-create, get)
21809 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
21810 (custom-reset-standard-save-and-update): Remove unused variable `value'.
21811 (customize-apropos): Remove unused variable `tests'.
21812 (custom-group-value-create): Remove unused variable `hidden-p'.
21813 (sort-fold-case): Declare.
21814
21815 * cus-theme.el (custom-reset-standard-faces-list)
21816 (custom-reset-standard-variables-list): Declare.
21817 (customize-create-theme, custom-theme-revert, custom-theme-write)
21818 (custom-theme-choose-mode, customize-themes, custom-theme-save):
21819 Mark unused parameters.
21820
21821 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
21822
21823 * delim-col.el (delimit-columns-max): Move defvar before first use.
21824
21825 * descr-text.el (describe-char-categories): Don't quote `lambda'.
21826 (describe-char): Don't quote `lambda'. Mark unused parameter.
21827
21828 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
21829 (auto-insert): Declare.
21830 (desktop-restore-file-buffer): Rename desktop-* parameters;
21831 mark unused ones.
21832 (desktop-create-buffer): Rename desktop-* parameters and bind them.
21833 (desktop-buffer): Rename desktop-* parameters.
21834
21835 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
21836 (dframe-reposition-frame-xemacs, dframe-help-echo)
21837 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
21838 Mark unused parameters.
21839
21840 * dired-aux.el (backup-extract-version-start, overwrite-query)
21841 (overwrite-backup-query, rename-regexp-query)
21842 (rename-non-directory-query): Declare.
21843 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
21844 (dired-add-entry): Remove unused variable `orig-file-name'.
21845 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
21846 Use parameter PRESERVE-TIME instead of accessing dynamic variable
21847 `dired-copy-preserve-time' directly.
21848 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
21849 (dired-insert-subdir-newpos): Rename unused variable `pos'.
21850
21851 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
21852 (dired-virtual-revert, dired-make-relative-symlink):
21853 Mark unused parameters.
21854 (manual-program): Declare.
21855 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
21856 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
21857 wrapped in `with-no-warnings' to avoid replacing one warning by another.
21858
21859 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
21860
21861 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
21862
21863 * echistory.el (electric-history-in-progress, Helper-return-blurb):
21864 Declare.
21865
21866 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
21867
21868 * electric.el (Electric-command-loop): Rename parameter
21869 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
21870
21871 * expand.el (expand-in-literal): Remove unused variable `here'.
21872
21873 * facemenu.el (facemenu-add-new-color):
21874 Remove unused variable `docstring'.
21875
21876 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
21877 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
21878 (face-attr-construct): Mark unused parameter. Doc fix.
21879 (read-color): Remove unused variable `hex-string'.
21880
21881 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
21882 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
21883 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
21884 (display-buffer-other-frame): Remove unused variable `old-window'.
21885 (kill-buffer-hook): Declare.
21886 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
21887 Mark unused parameters.
21888 (after-find-file): Pass 1 to `auto-save-mode', not t.
21889
21890 * files-x.el (auto-insert): Declare.
21891 (modify-file-local-variable-prop-line): Remove unused variable `val'.
21892
21893 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
21894 variable `buf'. Mark unused parameter.
21895 (find-lisp-insert-directory): Mark unused parameter.
21896
21897 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
21898 (format-encode-region): Remove unused variables `cur-buf' and `result'.
21899 (format-common-tail): Remove, unused.
21900 (format-deannotate-region): Remove unused variable `loc'.
21901 (format-annotate-region): Remove unused variable `p'.
21902 (format-annotate-single-property-change): Remove unused variables
21903 `default' and `tail'.
21904
21905 * forms.el (read-file-filter): Declare.
21906 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
21907
21908 * frame.el (frame-creation-function-alist): Mark unused parameter.
21909 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
21910
21911 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
21912 Remove unused parameters.
21913 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
21914 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
21915
21916 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
21917 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
21918 (hfy-prepare-tag-map): Mark unused parameters.
21919 (htmlfontify-buffer): Use `called-interactively-p'.
21920
21921 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
21922 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
21923 (ibuffer-do-occur): Mark unused parameters.
21924 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
21925 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
21926
21927 * ibuffer.el: Don't quote `lambda'.
21928 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
21929 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
21930 Mark unused parameters.
21931
21932 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
21933 (ido-completing-read): Mark unused parameters.
21934 (ido-copy-current-word): Mark unused parameters;
21935 remove unused variable `name'.
21936 (ido-sort-merged-list): Remove unused parameter `dirs'.
21937
21938 * ielm.el (ielm-input-sender): Mark unused parameter.
21939 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
21940 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
21941 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
21942 `ielm-string' as a dynamic variable accessible from the IELM prompt.
21943 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
21944
21945 * image-dired.el (image-dired-display-thumbs): Remove unused
21946 variables `curr-file' and `count'.
21947 (image-dired-remove-tag): Remove unused variable `start'.
21948 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
21949 variable `curr-file'
21950 (image-dired-rotate-original): Remove unused variable `temp-file'.
21951 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
21952 Remove unused variable `file'.
21953 (image-dired-gallery-generate): Remove unused variable `curr'.
21954 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
21955
21956 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
21957
21958 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
21959
21960 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
21961
21962 * isearch.el (minibuffer-history-symbol): Declare.
21963 (isearch-edit-string): Remove unused variable `err'.
21964 (isearch-message-prefix, isearch-message-suffix):
21965 Mark unused parameters.
21966
21967 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
21968
21969 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
21970
21971 * makesum.el (double-column): Remove unused variable `cnt'.
21972
21973 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
21974 (ido-ignore-item-temp-list): Declare.
21975
21976 * mouse-drag.el (mouse-drag-throw): Remove unused variables
21977 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
21978 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
21979 (mouse-drag-drag): Remove unused variables `mouse-delta' and
21980 `mouse-col-delta'.
21981
21982 * mouse-sel.el (mouse-extend-internal):
21983 Remove unused variable `orig-window-frame'.
21984
21985 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
21986 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
21987 Move declarations before first use.
21988 (pcomplete-opt): Mark unused parameters; doc fix.
21989
21990 * proced.el (proced-revert): Mark unused parameter.
21991 (proced-send-signal): Remove unused variable `err'.
21992
21993 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
21994 Rename parameter PREFIX-ARG to ARG.
21995 (ps-basic-plot-string, ps-basic-plot-whitespace):
21996 Mark unused parameters.
21997
21998 * replace.el (replace-count): Define.
21999 (occur-revert-function): Mark unused parameters.
22000 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
22001 (isearch-case-fold-search, isearch-string): Declare.
22002 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
22003 bind `case-fold-search'. Remove unused variables `beg' and `end',
22004 and simplify.
22005 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
22006 COUNT and bind `replace-count'.
22007 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
22008 to COUNT.
22009
22010 * savehist.el (print-readably, print-string-length): Declare.
22011
22012 * shadowfile.el (shadow-expand-cluster-in-file-name):
22013 Remove unused variable `cluster'.
22014 (shadow-copy-file): Remove unused variable `i'.
22015 (shadow-noquery, shadow-clusters, shadow-site-cluster)
22016 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
22017 (shadow-define-literal-group, shadow-define-regexp-group)
22018 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
22019
22020 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
22021 (shell): Use `called-interactively-p'.
22022 (shell-directory-tracker): Remove unused variable `chdir-failure'.
22023
22024 * simple.el (compilation-context-lines, comint-file-name-quote-list)
22025 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
22026 (delete-backward-char): Remove unused variable `ocol'.
22027 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
22028 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
22029 (event-apply-hyper-modifier, event-apply-shift-modifier)
22030 (event-apply-control-modifier, event-apply-meta-modifier):
22031 Mark unused parameters.
22032 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
22033 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
22034
22035 * speedbar.el (speedbar-ignored-directory-expressions)
22036 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
22037 (speedbar-find-file, speedbar-dir-follow)
22038 (speedbar-directory-buttons-follow, speedbar-tag-find)
22039 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
22040 (speedbar-buffers-line-directory, speedbar-buffer-click):
22041 Mark unused parameters.
22042 (speedbar-tag-file): Remove unused variable `mode'.
22043 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
22044
22045 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
22046
22047 * talk.el (talk): Remove unused variable `display'.
22048
22049 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
22050 (tar-write-region-annotate): Mark unused parameter.
22051
22052 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
22053 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
22054 Declare them, wrapped in `with-no-warnings' to avoid replacing one
22055 warning by another.
22056
22057 * time-stamp.el (time-stamp-string-preprocess):
22058 Remove unused variable `require-padding'.
22059
22060 * tree-widget.el (widget-glyph-enable): Declare.
22061 (tree-widget-action): Mark unused parameter.
22062
22063 * w32-fns.el (x-get-selection): Mark unused parameter.
22064 (autoload-make-program, generated-autoload-file): Declare.
22065
22066 * wdired.el (wdired-revert): Mark unused parameters.
22067 (wdired-xcase-word): Remove unused variable `err'.
22068
22069 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
22070 (whitespace-help-scroll): Remove unused variable `data-help'.
22071
22072 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
22073 (widget-image-insert, widget-after-change, default)
22074 (widget-default-format-handler, widget-default-notify)
22075 (widget-default-prompt-value, widget-info-link-action)
22076 (widget-url-link-action, widget-function-link-action)
22077 (widget-variable-link-action, widget-file-link-action)
22078 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
22079 (widget-field-prompt-internal, widget-field-action, widget-field-match)
22080 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
22081 (widget-insert-button-action, widget-delete-button-action, visibility)
22082 (widget-documentation-link-action, widget-documentation-string-action)
22083 (widget-const-prompt-value, widget-regexp-match, symbol)
22084 (widget-coding-system-prompt-value)
22085 (widget-key-sequence-value-to-external, sexp)
22086 (widget-sexp-value-to-internal, character, vector, cons)
22087 (widget-choice-prompt-value, widget-boolean-prompt-value)
22088 (widget-color--choose-action): Mark unused parameters.
22089 (widget-item-match-inline, widget-choice-match-inline)
22090 (widget-checklist-match, widget-checklist-match-inline)
22091 (widget-group-match): Rename parameter VALUES to VALS.
22092 (widget-field-value-set): Remove unused variable `size'.
22093 (widget-color-action): Remove unused variables `value' and `start'.
22094
22095 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
22096 variable `dir'. Doc fix.
22097 (windmove-find-other-window): Don't pass it.
22098
22099 * window.el (count-windows): Mark unused parameter.
22100 (bw-adjust-window): Remove unused variable `err'.
22101
22102 * woman.el (woman-file-name): Remove unused variable `default'.
22103 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
22104 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
22105 (global-font-lock-mode): Declare.
22106 (woman-decode-region): Mark unused parameter.
22107 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
22108
22109 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
22110 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
22111 (x-dnd-handle-moz-url): Remove unused variable `title'.
22112 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
22113
22114 * xml.el (xml-parse-tag, xml-parse-attlist):
22115 Remove unused variable `pos'.
22116
22117 2011-04-19 Glenn Morris <rgm@gnu.org>
22118
22119 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
22120 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
22121 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
22122 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
22123 * calendar/cal-html.el (cal-html-insert-minical):
22124 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
22125 (calendar-mark-date-pattern):
22126 Prefix "unused" locals.
22127
22128 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
22129 optional argument `style'.
22130
22131 * calendar/appt.el (appt-make-list):
22132 * calendar/cal-china.el (calendar-chinese-date-string):
22133 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
22134 (diary-hebrew-yahrzeit):
22135 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
22136 * calendar/calendar.el (calendar-generate-window):
22137 * calendar/time-date.el (time-to-days):
22138 Remove unused local variables.
22139
22140 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
22141
22142 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
22143 glyphless-char-display table.
22144 (tabulated-list-glyphless-char-display): New var.
22145
22146 2011-04-18 Sam Steingold <sds@gnu.org>
22147
22148 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
22149 to acknowledgments.
22150
22151 2011-04-17 Glenn Morris <rgm@gnu.org>
22152
22153 * calendar/diary-lib.el (diary-sexp-entry):
22154 * calendar/holidays.el (holiday-sexp):
22155 Set debug-on-error rather than the removed stack-trace-on-error.
22156
22157 2011-04-16 Glenn Morris <rgm@gnu.org>
22158
22159 * progmodes/f90.el: Use lexical-binding.
22160 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
22161
22162 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
22163
22164 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
22165 (mail-mode): Setup mailalias completion here instead.
22166 * mail/mailalias.el: Use lexical-binding.
22167 (pattern, mailalias-done): Declare dynamic.
22168 (mail-completion-at-point-function): New function, from mail-complete.
22169 (mail-complete): Use it.
22170 (mail-completion-expand): New function.
22171 (mail-get-names): Use it.
22172 (mail-directory, mail-directory-process, mail-directory-stream):
22173 Don't use `pattern' for lexically bound arg.
22174
22175 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
22176
22177 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
22178 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
22179 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
22180
22181 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
22182 (byte-save-window-excursion, byte-temp-output-buffer-setup)
22183 (byte-interactive-p): Define them again, for use when inlining
22184 old code.
22185
22186 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
22187
22188 * loadup.el: Use `string-to-number', not `string-to-int'.
22189
22190 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
22191
22192 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
22193 gud-gdb-complete-command.
22194 (gud-gdb-completions): New function, from gud-gdb-complete-command.
22195 (gud-gdb-completion-at-point): New function.
22196 (gud-gdb-completions): Remove.
22197
22198 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
22199
22200 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
22201 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
22202 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
22203 whether `executable-find' is bound.
22204
22205 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
22206
22207 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
22208
22209 * minibuffer.el (completion-in-region-mode-predicate)
22210 (completion-in-region-mode--predicate): New vars.
22211 (completion-in-region, completion-in-region--postch)
22212 (completion-in-region-mode): Use them.
22213 (completion--capf-wrapper): Also return the hook function.
22214 (completion-at-point, completion-help-at-point):
22215 Adjust and provide a predicate.
22216
22217 Preserve arg names for advice of subr and lexical functions (bug#8457).
22218 * help-fns.el (help-function-arglist): Consolidate the subr and
22219 new-byte-code cases. Add argument `preserve-names' to extract names
22220 from the docstring when needed.
22221 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
22222 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
22223 (ad-arglist): Use help-function-arglist's new arg.
22224 (ad-definition-type): Use cond.
22225
22226 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
22227
22228 * autorevert.el (auto-revert-handler):
22229 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
22230 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
22231 Don't quote lambda.
22232
22233 * image-mode.el (image-transform-set-scale):
22234 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
22235
22236 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
22237
22238 * net/network-stream.el (network-stream-open-starttls): Only do
22239 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
22240 Upgrades via gnutls-cli are too slow to be done opportunistically.
22241
22242 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
22243
22244 * dframe.el (dframe-current-frame): Remove spurious quote.
22245
22246 2011-04-12 Glenn Morris <rgm@gnu.org>
22247
22248 * calendar/cal-tex.el (cal-tex-end-document):
22249 Try to automatically use latin1 input if needed.
22250
22251 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
22252 Don't try to cons a mark onto an empty element.
22253
22254 2011-04-11 Leo Liu <sdl.web@gmail.com>
22255
22256 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
22257 buffers.
22258 (ido-kill-buffer-at-head): Support killing virtual buffers.
22259
22260 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
22261
22262 * minibuffer.el (completion-show-inline-help): New var.
22263 (completion--do-completion, minibuffer-complete)
22264 (minibuffer-force-complete, minibuffer-complete-word):
22265 Inhibit minibuffer messages if completion-show-inline-help is nil.
22266
22267 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
22268 to avoid interference from inline help (Bug#5849).
22269
22270 2011-04-10 Leo Liu <sdl.web@gmail.com>
22271
22272 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
22273 Fix typo.
22274
22275 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
22276
22277 * image-mode.el (image-toggle-display-image): Signal an error if
22278 not in Image mode.
22279 (image-transform-mode, image-transform-resize)
22280 (image-transform-set-rotation): Doc fix.
22281 (image-transform-set-resize): Delete.
22282 (image-transform-set-scale, image-transform-fit-to-height)
22283 (image-transform-fit-to-width): Handle image-toggle-display-image
22284 and image-transform-resize directly.
22285
22286 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
22287
22288 * doc-view.el (doc-view-fit-width-to-window)
22289 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
22290 New functions for fitting the shown image to the Emacs window size.
22291 (doc-view-mode-map): Add bindings for the new functions.
22292
22293 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
22294
22295 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
22296 Fix typo in docstring.
22297
22298 2011-04-08 Eli Zaretskii <eliz@gnu.org>
22299
22300 * files.el (file-size-human-readable): Produce one digit after
22301 decimal, like "ls -lh" does.
22302
22303 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
22304 the file size representation.
22305
22306 * simple.el (list-processes): If async subprocesses are not
22307 available, error out with a clear error message.
22308
22309 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
22310
22311 * help.el (help-form-show): New function, to be called from C.
22312 Put help-form output in a buffer named differently than *Help*.
22313
22314 2011-04-08 Eli Zaretskii <eliz@gnu.org>
22315
22316 * files.el (file-size-human-readable): New function.
22317
22318 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
22319 computing the representation inline. Don't require `cl'.
22320
22321 2011-04-08 Glenn Morris <rgm@gnu.org>
22322
22323 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
22324
22325 * net/browse-url.el (browse-url-firefox):
22326 Test system-type, not system-configuration.
22327
22328 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
22329 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
22330 Use log-edit-empty-buffer-p. (Bug#7598)
22331
22332 * net/rlogin.el (rlogin-process-connection-type): Simplify.
22333 (rlogin-mode-map): Initialize in the defvar.
22334 (rlogin): Use ignore-errors.
22335
22336 * replace.el (occur-mode-map): Some fixes for menu items.
22337
22338 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
22339
22340 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
22341
22342 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
22343
22344 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
22345 issuing unused warnings.
22346
22347 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
22348 macro directly.
22349
22350 * simple.el: Lisp reimplement of list-processes. Based on an
22351 earlier reimplementation by Leo Liu, but using tabulated-list.el.
22352 (process-menu-mode): New major mode.
22353 (list-processes--refresh, list-processes):
22354 (process-menu-visit-buffer): New functions.
22355
22356 * files.el (save-buffers-kill-emacs): Don't assume any return
22357 value of list-processes, which is undocumented anyway.
22358
22359 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
22360
22361 * emacs-lisp/tabulated-list.el: New file.
22362
22363 * emacs-lisp/package.el: Use Tabulated List mode.
22364 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
22365 (package-menu-mode): Derive from tabulated-list-mode. Set up the
22366 table format using Tabulated List mode variables.
22367 (package--push): New macro, replacing package-list-maybe-add.
22368 (package-menu--generate): Use package--push. Renamed from
22369 package--generate-package-list.
22370 (package-menu-refresh, list-packages): Use it.
22371 (package-menu--print-info): Rename from package-print-package.
22372 Return insertion data instead of inserting it directly.
22373 (package-menu-describe-package, package-menu-execute):
22374 Use tabulated-list-get-id.
22375 (package-menu-mark-delete, package-menu-mark-install)
22376 (package-menu-mark-unmark, package-menu-backup-unmark)
22377 (package-menu-mark-obsolete-for-deletion):
22378 Use tabulated-list-put-tag.
22379 (package--list-packages, package-menu-revert)
22380 (package-menu-get-package, package-menu-get-version)
22381 (package-menu-sort-by-column): Functions deleted.
22382 (package-menu-package-list, package-menu-sort-key): Vars deleted.
22383 (package-menu--status-predicate, package-menu--version-predicate)
22384 (package-menu--name-predicate)
22385 (package-menu--description-predicate): Handle arguments in the
22386 Tabulated List format.
22387 (package-list-packages-no-fetch): Call list-packages.
22388
22389 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
22390
22391 * files.el (after-find-file-from-revert-buffer): Remove variable.
22392 (after-find-file): Don't bind it.
22393 (revert-buffer-in-progress-p): New variable.
22394 (revert-buffer): Bind it.
22395 Pass nil for `after-find-file-from-revert-buffer'.
22396
22397 * saveplace.el (save-place-find-file-hook): Use new variable
22398 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
22399
22400 2011-04-06 Glenn Morris <rgm@gnu.org>
22401
22402 * Makefile.in (AUTOGEN_VCS): New variable.
22403 (autoloads): Use $AUTOGEN_VCS.
22404
22405 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
22406 * calendar/calendar.el (calendar-mode-map):
22407 Check for toolkit scroll bars. (Bug#8305)
22408
22409 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
22410
22411 * minibuffer.el (completion-in-region--postch)
22412 (completion-in-region-mode): Remove unnecessary messages.
22413
22414 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
22415
22416 * font-lock.el (font-lock-refresh-defaults):
22417 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
22418 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
22419
22420 * info.el (Info-directory-list, Info-read-node-name-2)
22421 (Info-split-parameter-string): Doc fixes.
22422 (Info-virtual-nodes): Reflow docstring.
22423 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
22424 (Info-apropos-toc-nodes, info-finder, Info-get-token)
22425 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
22426 Fix typos in docstrings.
22427 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
22428 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
22429 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
22430 (Info-restore-desktop-buffer): Mark unused parameters.
22431 (Info-directory-find-file, Info-directory-find-node)
22432 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
22433 (Info-virtual-index-find-node, Info-apropos-find-file)
22434 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
22435 Mark unused parameters; fix typos in docstrings.
22436 (Info-virtual-index): Remove unused local variable `nodename'.
22437
22438 2011-04-05 Deniz Dogan <deniz@dogan.se>
22439
22440 * net/rcirc.el: Update my e-mail address.
22441 (rcirc-mode-map): Remove M-o binding.
22442
22443 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
22444
22445 * startup.el (command-line): Save the cursor's theme-face
22446 directly, instead of using face-override-spec.
22447
22448 * custom.el (load-theme): Minor optimization in assigning faces.
22449
22450 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
22451
22452 * help-fns.el (describe-variable): Complete all variables having
22453 documentation, including keywords.
22454 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
22455
22456 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
22457
22458 Convert to lexical-binding.
22459
22460 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
22461 (bs--get-marked-string, bs--get-modified-string)
22462 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
22463 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
22464 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
22465
22466 * ehelp.el (electric-help-execute-extended)
22467 (electric-help-ctrl-x-prefix):
22468 * hexl.el (hexl-revert-buffer-function):
22469 * linum.el (linum-after-change, linum-after-scroll):
22470 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
22471
22472 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
22473
22474 2011-04-04 Daiki Ueno <ueno@unixuser.org>
22475
22476 * epa-dired.el:
22477 * epa-mail.el:
22478 * epa-hook.el:
22479 * epa-file.el:
22480 * epa.el:
22481 * epg.el: Use lexical binding.
22482
22483 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
22484
22485 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
22486
22487 * textmodes/flyspell.el (flyspell-word): Recognize default
22488 dictionary case for flyspell-mark-duplications-exceptions.
22489 Use regexp matching for languages.
22490 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
22491 default dictionary (Bug#7926).
22492
22493 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
22494
22495 * emacs-lisp/package.el (package--with-work-buffer):
22496 Recognize https URLs.
22497
22498 * net/network-stream.el: Move from gnus/proto-stream.el.
22499 Change prefix to network-stream throughout.
22500 (open-protocol-stream): Merge into open-network-stream, leaving
22501 open-protocol-stream as an alias. Handle nil BUFFER args.
22502
22503 * subr.el (open-network-stream): Move to net/network-stream.el.
22504
22505 2011-04-02 Glenn Morris <rgm@gnu.org>
22506
22507 * find-dired.el (find-exec-terminator): New option.
22508 (find-ls-option): Test for -ls support.
22509 (find-ls-subdir-switches): Test for -b in find-ls-option.
22510 (find-dired, find-grep-dired): Doc fixes.
22511 (find-dired): Use find-exec-terminator.
22512
22513 * find-dired.el (find-ls-option, find-ls-subdir-switches)
22514 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
22515 (find-name-arg): Remove purecopy.
22516
22517 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
22518 (grep-compute-defaults): Check for `-exec COMMAND +' support.
22519 Set grep-find-use-xargs, grep-find-command, and grep-find-template
22520 accordingly. Don't add the null-device if not needed.
22521
22522 * files.el (save-some-buffers): Doc fix.
22523
22524 2011-04-02 Eli Zaretskii <eliz@gnu.org>
22525
22526 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
22527
22528 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
22529
22530 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
22531 Use `dolist' rather than `mapcar'.
22532
22533 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
22534
22535 Add lexical binding.
22536
22537 * subr.el (apply-partially): Use new closures rather than CL.
22538 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
22539 (dolist, dotimes): Use slightly different expansion for lexical code.
22540 (functionp): Move to C.
22541 (letrec): New macro.
22542 (with-wrapper-hook): Use it and apply-partially instead of CL.
22543 (eval-after-load): Preserve lexical-binding.
22544 (save-window-excursion, with-output-to-temp-buffer): Turn them
22545 into macros.
22546
22547 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
22548
22549 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
22550 than the arglist.
22551 (help-add-fundoc-usage): Don't add `Not documented'.
22552 (help-function-arglist): Handle closures, subroutines, and new
22553 byte-code-functions.
22554 (help-make-usage): Remove leading underscores.
22555 (describe-function-1): Handle closures.
22556 (describe-variable): Use special-variable-p for completion.
22557
22558 * files.el (lexical-binding): Declare safe.
22559
22560 * emacs-lisp/pcase.el: Don't use destructuring-bind.
22561 (pcase--memoize): Rename from pcase-memoize. Change weakness.
22562 (pcase): Add `let' pattern.
22563 Change memoization so it actually works.
22564 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
22565 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
22566 <let>: New case.
22567
22568 * emacs-lisp/macroexp.el: Use lexical binding.
22569 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
22570 Don't convert ' to #' without checking that it's indeed quoting
22571 a lambda.
22572
22573 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
22574 Use eval-sexp-add-defvars.
22575 (eval-sexp-add-defvars): New fun.
22576
22577 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
22578
22579 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
22580 Don't autoload.
22581 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
22582 than the internal `byte-compile-lambda'.
22583 (defmethod): Don't hide code under quotes.
22584 (eieio-defmethod): New `code' argument.
22585
22586 * emacs-lisp/eieio-comp.el: Remove.
22587
22588 * emacs-lisp/edebug.el (edebug-eval-defun)
22589 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
22590 (edebug-toggle): Avoid `eval'.
22591
22592 * emacs-lisp/disass.el (disassemble-internal): Handle new
22593 `closure' objects.
22594 (disassemble-1): Handle new byte codes.
22595
22596 * emacs-lisp/cl.el (pushnew): Silence warning.
22597
22598 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
22599 (cl-byte-compile-throw): Remove.
22600 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
22601
22602 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
22603 closures.
22604
22605 * emacs-lisp/cconv.el: New file.
22606
22607 * emacs-lisp/bytecomp.el: Use lexical binding instead of
22608 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
22609 (byte-compile-initial-macro-environment):
22610 Handle declare-function here.
22611 (byte-compile--lexical-environment): New var.
22612 (byte-stack-ref, byte-stack-set, byte-discardN)
22613 (byte-discardN-preserve-tos): New lap codes.
22614 (byte-interactive-p): Don't use any more.
22615 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
22616 New macros.
22617 (byte-compile-lapcode): Use them and handle new lap codes.
22618 (byte-compile-obsolete): Remove.
22619 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
22620 (byte-compile-arglist-warn): Check late def of inlinable funs.
22621 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
22622 since they should have been expanded by now.
22623 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
22624 (byte-compile-from-buffer): Remove unused second arg.
22625 (byte-compile-preprocess): New function.
22626 (byte-compile-toplevel-file-form): New function to distinguish
22627 file-form calls from outside from file-form calls from hunk-handlers.
22628 (byte-compile-file-form): Simplify.
22629 (byte-compile-file-form-defsubst): Remove.
22630 (byte-compile-file-form-defmumble): Simplify now that
22631 byte-compile-lambda always returns a byte-code-function.
22632 (byte-compile): Preprocess.
22633 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
22634 Remove, not used any more.
22635 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
22636 (byte-compile-make-args-desc): New funs.
22637 (byte-compile-lambda): Handle lexical functions. Always return
22638 a byte-code-function.
22639 (byte-compile-reserved-constants): New var, to make up room for
22640 closed-over variables.
22641 (byte-compile-constants-vector): Obey it.
22642 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
22643 (byte-compile-macroexpand-declare-function): New function.
22644 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
22645 byte-code-functions.
22646 (byte-compile-form): Check obsolescence here.
22647 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
22648 (byte-compile-variable-ref): Remove.
22649 (byte-compile-dynamic-variable-op): New fun.
22650 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
22651 (byte-compile-variable-set): New funs.
22652 (byte-compile-discard): Add 2 args.
22653 (byte-compile-stack-ref, byte-compile-stack-set)
22654 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
22655 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
22656 macroexpand-all instead.
22657 (byte-compile-quote-form): Remove.
22658 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
22659 (byte-compile-bind, byte-compile-unbind): New funs.
22660 (byte-compile-let): Handle let* and lexical binding.
22661 (byte-compile-let*): Remove.
22662 (byte-compile-catch, byte-compile-unwind-protect)
22663 (byte-compile-track-mouse, byte-compile-condition-case):
22664 Handle a new :fun-body form, used for lexical scoping.
22665 (byte-compile-save-window-excursion)
22666 (byte-compile-with-output-to-temp-buffer): Remove.
22667 (byte-compile-defun): Simplify.
22668 (byte-compile-stack-adjustment): New fun.
22669 (byte-compile-out): Use it.
22670 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
22671
22672 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
22673 handler any more.
22674
22675 * emacs-lisp/byte-opt.el: Use lexical binding.
22676 (byte-inline-lapcode): Remove (to bytecomp).
22677 (byte-compile-inline-expand): Pay attention to inlining to/from
22678 lexically bound code.
22679 (byte-compile-unfold-lambda): Don't handle byte-code-functions
22680 any more.
22681 (byte-optimize-form-code-walker): Don't handle save-window-excursion
22682 any more and don't call compiler-macros.
22683 (byte-compile-splice-in-already-compiled-code): Remove.
22684 (byte-code): Don't inline any more.
22685 (disassemble-offset): Receive `bytes' as argument rather than via
22686 dynamic scoping.
22687 (byte-compile-tag-number): Declare before first use.
22688 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
22689 `return' even if make-spliceable.
22690 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
22691 obsolete interactive-p.
22692 (byte-optimize-lapcode): Optimize new lap-codes.
22693 Don't trip up on new form of `byte-constant' lap code.
22694
22695 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
22696
22697 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
22698
22699 * custom.el (custom-initialize-default, custom-declare-variable):
22700 Use `defvar'.
22701
22702 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
22703 New variables.
22704 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
22705 (COMPILE_FIRST): Add macroexp and cconv.
22706 * makefile.w32-in: Mirror changes in Makefile.in.
22707
22708 * vc/cvs-status.el:
22709 * vc/diff-mode.el:
22710 * vc/log-edit.el:
22711 * vc/log-view.el:
22712 * vc/smerge-mode.el:
22713 * textmodes/bibtex-style.el:
22714 * textmodes/css-mode.el:
22715 * startup.el:
22716 * uniquify.el:
22717 * minibuffer.el:
22718 * newcomment.el:
22719 * reveal.el:
22720 * server.el:
22721 * mpc.el:
22722 * emacs-lisp/smie.el:
22723 * doc-view.el:
22724 * dired.el:
22725 * abbrev.el: Use lexical binding.
22726
22727 2011-04-01 Eli Zaretskii <eliz@gnu.org>
22728
22729 * info.el (info-display-manual): New function.
22730
22731 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
22732
22733 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
22734
22735 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
22736
22737 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
22738 an entry for that server in rcirc-authinfo. (Bug#8385)
22739
22740 2011-03-31 Glenn Morris <rgm@gnu.org>
22741
22742 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
22743
22744 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
22745
22746 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
22747
22748 * progmodes/python.el (python-default-interpreter)
22749 (python-python-command-args, python-jython-command-args)
22750 (python-which-shell, python-which-args, python-which-bufname)
22751 (python-file-queue, python-comint-output-filter-function)
22752 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
22753 variables and functions.
22754
22755 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
22756
22757 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
22758 (completion-in-region-mode): New minor mode.
22759 (completion-in-region): Use it.
22760 (completion-in-region--data, completion-in-region-mode-map): New vars.
22761 (completion-in-region--postch): New function.
22762 (completion--capf-misbehave-funs, completion--capf-safe-funs):
22763 New vars.
22764 (completion--capf-wrapper): New function.
22765 (completion-at-point): Use it to track well-behavedness of
22766 hook functions.
22767 (completion-help-at-point): New command.
22768
22769 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
22770
22771 * vc/add-log.el (add-change-log-entry): Don't use whitespace
22772 syntax class to search for whitespace on a single line
22773 (Message-ID: <4D938140.4030905@redhat.com>).
22774
22775 2011-03-30 Leo Liu <sdl.web@gmail.com>
22776
22777 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
22778 New commands.
22779 (edit-abbrevs-map): Bind them here.
22780 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
22781
22782 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
22783
22784 * allout.el (allout-hide-by-annotation, allout-flag-region):
22785 Reduce possibility of overlay leakage by making them volatile.
22786
22787 * allout-widgets.el (allout-widgets-tally): Define as nil so the
22788 hash is not shared between buffers. Mode initialization is
22789 responsible for giving it a useful starting value.
22790 (allout-item-span): Reduce possibility of overlay leakage by
22791 making them volatile.
22792 (allout-widgets-count-buttons-in-region): Add diagnostic function
22793 for tracking down button overlay leaks.
22794
22795 2011-03-29 Leo Liu <sdl.web@gmail.com>
22796
22797 * ido.el (ido-read-internal): Use the default history var
22798 minibuffer-history if no HISTORY is specified.
22799
22800 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
22801
22802 * net/imap.el (imap-shell-open, imap-process-connection-type):
22803 Use imap-process-connection-type for 'shell' streams as well as
22804 Kerberos, SSL, other subprocesses.
22805
22806 2011-03-28 Leo Liu <sdl.web@gmail.com>
22807
22808 * abbrev.el (abbrev-table-empty-p): New function.
22809 (prepare-abbrev-list-buffer): Place empty abbrev tables after
22810 nonempty ones. (Bug#5937)
22811
22812 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
22813
22814 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
22815
22816 2011-03-27 Leo Liu <sdl.web@gmail.com>
22817
22818 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
22819 for foreground and background colors.
22820 (ansi-color-make-color-map): Adapt.
22821
22822 2011-03-25 Leo Liu <sdl.web@gmail.com>
22823
22824 * midnight.el (midnight-time-float): Remove. Note it calculates
22825 the microsecond component incorrectly and seconds-to-time does the
22826 same job.
22827 Remove redundant (require 'timer).
22828
22829 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
22830 (ido-completions): Remove unused arguments. (Bug#8329)
22831
22832 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
22833
22834 * minibuffer.el (completion--flush-all-sorted-completions):
22835 Remove itself from hook.
22836 (completion-at-point): Let the functions perform the completion
22837 immediately and return nil or t.
22838 * comint.el (comint-dynamic-complete-functions): Now identical to
22839 completion-at-point-functions.
22840 (comint-dynamic-list-input-ring): Remove unused var `index'.
22841 (comint--match-partial-filename, comint--unquote&expand-filename):
22842 New funs, split from comint-match-partial-filename.
22843 (comint-dynamic-complete): Use completion-at-point.
22844 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
22845
22846 2011-03-24 Drew Adams <drew.adams@oracle.com>
22847
22848 * thingatpt.el: Support `defun'.
22849
22850 2011-03-23 Leo Liu <sdl.web@gmail.com>
22851
22852 * abbrevlist.el: Move to obsolete/abbrevlist.el.
22853
22854 * help-mode.el (help-mode-finish): Tweak regexp.
22855
22856 2011-03-23 Glenn Morris <rgm@gnu.org>
22857
22858 * eshell/esh-opt.el (eshell-eval-using-options):
22859 Do not bind unused local variable `eshell-option-stub'.
22860
22861 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
22862
22863 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
22864
22865 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
22866 keymap variable in `with-no-warnings' to avoid a warning when the
22867 keymap has been already `defconst'ed.
22868
22869 2011-03-22 Leo Liu <sdl.web@gmail.com>
22870
22871 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
22872 encode all chars in abbrevs; otherwise use emacs-mule or
22873 utf-8-emacs. (Bug#8308)
22874
22875 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
22876
22877 * simple.el (backward-delete-char-untabify):
22878 Avoid warning about using `delete-backward-char'.
22879
22880 * image.el (image-type-file-name-regexps): Make it variable.
22881 `imagemagick-register-types' modifies it, and the user may want
22882 to add new extensions for known image types.
22883 (imagemagick-register-types): Throw error if not using ImageMagick.
22884
22885 2011-03-22 Leo Liu <sdl.web@gmail.com>
22886
22887 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
22888 located before rcirc-prompt-end-marker.
22889 (rcirc-complete): Error if point is not after rcirc prompt.
22890 Handle the case when table is nil.
22891 (rcirc-user-authenticated): Define to fix compiler warning.
22892
22893 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
22894
22895 * custom.el (custom--inhibit-theme-enable): Make it affect only
22896 custom-theme-set-variables and custom-theme-set-faces.
22897 (provide-theme): Ignore custom--inhibit-theme-enable.
22898 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
22899 (custom-enabling-themes): Delete variable.
22900 (enable-theme): Accept only loaded themes as arguments.
22901 Ignore the special custom-enabled-themes variable.
22902 (custom-enabled-themes): Forbid themes from setting this.
22903 Eliminate use of custom-enabling-themes.
22904 (custom-push-theme): Quote "changed" custom var entry.
22905
22906 2011-03-21 Leo Liu <sdl.web@gmail.com>
22907
22908 * ido.el (ido-read-internal): Add ido-selected to history instead
22909 of user input.
22910
22911 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
22912
22913 * subr.el (deferred-action-list, deferred-action-function):
22914 Mark obsolete.
22915
22916 2011-03-21 Leo Liu <sdl.web@gmail.com>
22917
22918 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
22919 change on 2011-02-13 (bug#8309).
22920
22921 * minibuffer.el (read-file-name-function): Change default value.
22922 (read-file-name--defaults): Rename from read-file-name-defaults.
22923 (read-file-name-default): Rename from read-file-name.
22924 (read-file-name): Call read-file-name-function.
22925
22926 2011-03-21 Glenn Morris <rgm@gnu.org>
22927
22928 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
22929 Doc fixes.
22930
22931 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
22932
22933 * cus-theme.el: Add missing provide statement.
22934 (customize-create-theme): Extract theme value correctly.
22935 (custom-theme-visit-theme): Autoload.
22936 (customize-create-theme): Prompt before inserting default faces.
22937
22938 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
22939
22940 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
22941 units and musical notes.
22942
22943 2011-03-20 Leo Liu <sdl.web@gmail.com>
22944
22945 * ido.el (ido-read-internal): Use completing-read-default.
22946 (ido-completing-read): Fix compatibility with completing-read.
22947
22948 2011-03-20 Christian Ohler <ohler@gnu.org>
22949
22950 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
22951 (ert-delete-all-tests): Use `called-interactively-p' rather than
22952 `interactive-p'.
22953 (ert--make-xrefs-region): Respect END.
22954
22955 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
22956
22957 * dired-aux.el (dired-create-directory): Signal an error if the
22958 directory already exists (Bug#8246).
22959
22960 * facemenu.el (list-colors-display): Call list-faces-display
22961 inside with-help-window.
22962 (list-colors-print): Use display property to align the final
22963 column, instead of checking window-width.
22964
22965 2011-03-19 Eli Zaretskii <eliz@gnu.org>
22966
22967 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
22968 windows-nt systems.
22969 (emerge-protect-metachars): Quote correctly for ms-dos and
22970 windows-nt systems.
22971
22972 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
22973
22974 * info.el (info-initialize): Replace all uses of `:' with
22975 path-separator for compatibility with non-Unix systems.
22976 Cache quoting of path-separator. (Bug#8258)
22977
22978 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
22979
22980 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
22981 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
22982 (mouse-avoidance-mode): Fix typos in docstrings.
22983
22984 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
22985
22986 * startup.el (package-subdirectory-regexp): Move from package.el.
22987 Omit \\` and \\', and let callers add them.
22988
22989 * emacs-lisp/package.el (package-strip-version)
22990 (package-load-all-descriptors): Add \\` and \\' to
22991 package-subdirectory-regexp before using it.
22992 (package-untar-buffer): New arg DIR; ensure that file untars only
22993 into this expected directory. Remove superfluous delete-region.
22994 (package-unpack): Caller changed.
22995 (package-tar-file-info): Use package-subdirectory-regexp.
22996
22997 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
22998
22999 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
23000 diff-mode-shared-map (bug#8284).
23001 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
23002
23003 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
23004
23005 * calendar/time-date.el (format-seconds): Use assoc instead of
23006 assoc-string, since assoc-string doesn't exist in XEmacs.
23007
23008 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
23009
23010 * custom.el (custom-known-themes): Reflow docstring.
23011 (custom-theme-load-path): Fix typo in docstring.
23012 (load-theme): Fix typo in error message.
23013 (custom-available-themes, custom-variable-theme-value):
23014 Use `let', not `let*'.
23015
23016 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
23017
23018 * calc/README: Mention inclusion of musical notes.
23019
23020 * calc/calc-units.el (calc-lu-quant): Rename from
23021 `calc-logunits-quantity'.
23022 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
23023 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
23024 (calc-db): Rename from `calc-dblevel'.
23025 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
23026 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
23027 (calc-np): Rename from `calc-nplevel'.
23028 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
23029 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
23030 (calc-lu-plus): Rename from `calc-logunits-add'.
23031 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
23032 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
23033 (calc-lu-minus): Rename from `calc-logunits-sub'.
23034 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
23035 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
23036 (calc-lu-times): Rename from `calc-logunits-mul'.
23037 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
23038 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
23039 (calc-lu-divide): Rename from `calc-logunits-div'.
23040 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
23041 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
23042
23043 * calc/calc-ext.el (calc-init-extensions): Update the names of the
23044 functions being autoloaded.
23045
23046 * calc/calc.el (calc-lu-power-reference): Rename from
23047 `calc-logunits-power-reference'.
23048 (calc-lu-field-reference): Rename from
23049 `calc-logunits-field-reference'.
23050
23051 * calc/calc-help.el (calc-l-prefix-help):
23052 Mention musical note functions.
23053
23054 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
23055
23056 * minibuffer.el (completion-all-sorted-completions):
23057 Use :completion-cycle-penalty text property if present.
23058
23059 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
23060
23061 * allout.el (allout-yank-processing): Adjust for new rebulleting
23062 regime so bullet being yanked is used without prompting the user
23063 for a choice.
23064
23065 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
23066
23067 * startup.el (command-line): Warn the user that _emacs is deprecated.
23068
23069 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
23070
23071 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
23072 (delphi-verbose, delphi-comment-face, delphi-string-face)
23073 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
23074 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
23075 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
23076 (delphi-new-comment-line, delphi-font-lock-defaults)
23077 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
23078 Fix typos in docstrings.
23079
23080 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
23081
23082 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
23083 Invert the roles of character and string values for INSTEAD, so a
23084 string is used for the more common case of a defaulting prompt.
23085
23086 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
23087
23088 * progmodes/ruby-mode.el (ruby-backward-sexp):
23089 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
23090 * play/gamegrid.el (gamegrid-make-face):
23091 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
23092 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
23093 * notifications.el (notifications-notify):
23094 * net/xesam.el (xesam-search-engines):
23095 * net/quickurl.el (quickurl-list-insert):
23096 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
23097
23098 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
23099
23100 * startup.el (command-line): Update package subdirectory regexp.
23101
23102 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
23103
23104 * allout.el (allout-abbreviate-flattened-numbering)
23105 (allout-mode-deactivate-hook): Fix up obsolescence "date".
23106
23107 * subr.el (read-char-choice): Only show the cursor after the prompt,
23108 not after the answer.
23109
23110 2011-03-15 Kevin Ryde <user42@zip.com.au>
23111
23112 * help-fns.el (variable-at-point): Skip leading quotes, if any
23113 (bug#8253).
23114
23115 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
23116
23117 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
23118 warning message.
23119
23120 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
23121
23122 * shell.el (shell): When called interactively, offer to change the
23123 shell file name on remote hosts.
23124
23125 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
23126
23127 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
23128 integration for LDAP parameters. The host, base, user or binddn,
23129 and secret tokens can be specified in a netrc file, for instance.
23130 This is optional because an `auth-source' parameter must be
23131 specified in the search attributes.
23132
23133 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
23134
23135 * help.el (describe-mode): Link to the mode's definition (bug#8185).
23136
23137 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
23138
23139 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
23140 into declaration. Remove redundant and harmful binding.
23141
23142 2011-03-12 Eli Zaretskii <eliz@gnu.org>
23143
23144 * files.el (file-ownership-preserved-p): Pass `integer' as an
23145 explicit 2nd argument to `file-attributes'. If the file's owner
23146 is the Administrators group on Windows, and the current user is
23147 Administrator, consider that a match.
23148
23149 * server.el (server-ensure-safe-dir): Consider server directory
23150 safe on MS-Windows if its owner is the Administrators group while
23151 the current Emacs user is Administrator. Use `=' to compare
23152 numerical UIDs, since they could be integers or floats.
23153
23154 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
23155
23156 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
23157
23158 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
23159
23160 Sync with Tramp 2.2.1.
23161
23162 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
23163
23164 * net/trampver.el: Update release number.
23165
23166 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
23167
23168 * progmodes/compile.el (compilation--previous-directory): Fix up
23169 various nil/dead-marker mismatches (bug#8014).
23170 (compilation-directory-properties, compilation-error-properties):
23171 Don't call it at a position past the one we're about to change.
23172
23173 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
23174 Disable obsolescence warnings in the file that declares it.
23175
23176 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
23177
23178 * allout-widgets.el (allout-widgets-tally):
23179 Initialize allout-widgets-tally as a hash table rather than nil to
23180 prevent mode-line redisplay warnings. Also, clarify the module
23181 description and fix a comment typo.
23182
23183 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
23184
23185 * help-fns.el (describe-variable): Don't complete keywords.
23186 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
23187
23188 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
23189
23190 * emacs-lisp/package.el (package-version-join): Impose a standard
23191 string representation for pre/alpha/beta version lists.
23192 (package-unpack-single): Standardize the directory name by passing
23193 it through package-version-join.
23194 (package-strip-rcs-id): Accept any version string that does not
23195 signal an error in version-to-list.
23196
23197 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
23198
23199 * simple.el (delete-trailing-whitespace): Return nil for the
23200 benefit of `write-file-functions'.
23201
23202 2011-03-10 Glenn Morris <rgm@gnu.org>
23203
23204 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
23205
23206 * vc/vc-git.el (vc-git-program): New option.
23207 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
23208 (vc-git--call): Use it.
23209
23210 * eshell/esh-util.el (eshell-condition-case): Doc fix.
23211
23212 * cus-edit.el (Custom-newline): If no button at point, look
23213 for a subgroup button at start-of-line. (Bug#2298)
23214
23215 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
23216
23217 2011-03-10 Julien Danjou <julien@danjou.info>
23218
23219 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
23220 `cursor-type' is nil.
23221
23222 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
23223
23224 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
23225
23226 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
23227
23228 * allout.el: Change so yank of distinctive-bullet items
23229 preserves the existing header prefix, rebulleting it if necessary,
23230 rather than replacing it. This is necessary for proper operation
23231 of cooperative addons like allout-widgets.
23232 (allout-make-topic-prefix, allout-rebullet-heading):
23233 Change SOLICIT arg to INSTEAD, and interpret additionally a string
23234 value as alternate bullet to be used, instead of prompting the user
23235 for a bullet character.
23236
23237 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
23238
23239 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23240 Do not use `tramp-file-name-port', because this returns also
23241 `tramp-default-port'.
23242
23243 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
23244
23245 * net/rcirc.el (rcirc-handler-001): Remove useless
23246 with-rcirc-process-buffer.
23247 (rcirc-check-auth-status): Swap arguments to string-match.
23248
23249 2011-03-09 Glenn Morris <rgm@gnu.org>
23250
23251 * shell.el (shell-mode):
23252 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
23253
23254 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
23255 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
23256
23257 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
23258
23259 * emacs-lisp/package.el (package-refresh-contents)
23260 (package-menu-execute): Use condition-case-no-debug.
23261
23262 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
23263
23264 * simple.el (shell-command-to-string): Use `process-file'.
23265
23266 * emacs-lisp/package.el (package-tar-file-info): Handle also
23267 remote files.
23268
23269 * emacs-lisp/package-x.el (package-upload-buffer-internal):
23270 Use `equal' for upload base check.
23271
23272 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
23273
23274 * textmodes/texinfo.el (texinfo-environments):
23275 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
23276
23277 2011-03-08 Glenn Morris <rgm@gnu.org>
23278
23279 * cus-start.el (cursor-in-non-selected-windows):
23280 Fix :set quoting oddness. (Bug#8192)
23281
23282 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
23283 in some setf expressions. (Bug#2159)
23284
23285 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
23286
23287 * custom.el (custom-available-themes): Return themes in
23288 alphabetical order.
23289
23290 See ChangeLog.15 for earlier changes.
23291
23292 ;; Local Variables:
23293 ;; coding: utf-8
23294 ;; End:
23295
23296 Copyright (C) 2011-2013 Free Software Foundation, Inc.
23297
23298 This file is part of GNU Emacs.
23299
23300 GNU Emacs is free software: you can redistribute it and/or modify
23301 it under the terms of the GNU General Public License as published by
23302 the Free Software Foundation, either version 3 of the License, or
23303 (at your option) any later version.
23304
23305 GNU Emacs is distributed in the hope that it will be useful,
23306 but WITHOUT ANY WARRANTY; without even the implied warranty of
23307 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23308 GNU General Public License for more details.
23309
23310 You should have received a copy of the GNU General Public License
23311 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.